/* Simon's Bike Repair - Child Theme Styles */
/* Edit content via Appearance > Customize > Simon Bike Theme */
/* Edit colors/CSS via Appearance > Customize > Theme Styling */

:root {
  --charcoal: #1A1A1A;
  --panel: #2A2A2A;
  --panel-2: #222222;
  --paper: #FFFFFF;
  --paper-dim: #FFDDC1;
  --moss-dim: #7a7a7a;
  --ink: #1A1A1A;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 2px;
  --rust: #FF6420;
  --rust-dark: #E55A1C;
  --moss: #7c8d64;
  --chrome: #b0a8a0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--charcoal);
  color: var(--paper);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

h1,
h2,
h3,
.display {
  font-family: "Open Sans", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.25;
  font-weight: 400;
}
h1 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.15;
}
p {
  line-height: 1.65;
  font-weight: 400;
}
h1, h2, h3, h4, p, li {
  overflow-wrap: break-word;
}
.mono {
  font-family: "Open Sans", sans-serif;
}
.eyebrow {
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--section-accent, var(--rust));
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--section-accent, var(--rust));
  display: inline-block;
  flex-shrink: 0;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
}

section {
  padding: 144px 0;
}

/* ---------- SKIP LINK (accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -1000px;
  left: 8px;
  z-index: 9999;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 20px;
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-photo img { animation: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- FOCUS VISIBLE (accessibility) ---------- */
:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* ---------- RESPONSIVE TYPOGRAPHY ---------- */
@media (max-width: 600px) {
  body { font-size: 15px; }
  .eyebrow { font-size: 0.65rem; gap: 6px; }
  .eyebrow::before { width: 16px; }
}

/* ---------- RESPONSIVE SPACING ---------- */
@media (max-width: 1024px) { section { padding: 96px 0; } }
@media (max-width: 720px)  { section { padding: 76px 0; } }
@media (max-width: 480px)  { section { padding: 56px 0; } .wrap { padding: 0 18px; } }

/* ---------- GLOBAL MOBILE TYPOGRAPHY ---------- */
@media (max-width: 480px) {
  h1 { font-size: clamp(1.6rem, 9vw, 2.2rem); }
  h2 { font-size: clamp(1.4rem, 7vw, 1.9rem); }
  h3 { font-size: clamp(1.1rem, 5.5vw, 1.4rem); }
}

/* ---------- NAV ---------- */
header.site {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(24, 28, 24, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1), background 0.3s ease;
}
header.site.sticky {
  position: fixed;
  transform: translateY(0);
  animation: slideDown 0.4s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  background: rgba(24, 28, 24, 0.96);
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
  gap: 16px;
  position: relative;
}
.brand {
  font-family: "Open Sans", sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
}
.brand svg {
  width: 38px;
  height: 38px;
  flex: none;
}
.brand img.custom-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.brand .custom-logo-link {
  display: flex;
  align-items: center;
}
.brand-title {
  font-weight: 600;
  font-size: inherit;
  color: inherit;
  line-height: 1.2;
  overflow-wrap: break-word;
  min-width: 0;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  font-family: "Open Sans", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--rust);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--rust);
  color: var(--paper) !important;
  padding: 10px 18px !important;
  font-weight: 600;
}
.nav-cta::after { display: none; }
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--hamburger-bg, transparent);
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  transition: background 0.2s ease;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--hamburger-color, var(--paper));
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.2s ease;
}
.burger[aria-expanded="true"],
.burger:active {
  background: var(--hamburger-bg-active, var(--hamburger-bg, transparent));
}
@media (hover: hover) {
  .burger:hover {
    background: var(--hamburger-bg-hover, rgba(255,255,255,0.08));
  }
  .burger:hover span {
    background: var(--hamburger-color-hover, var(--paper));
  }
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav {
    padding: 14px 18px;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--panel);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform 0.35s ease, visibility 0.35s ease;
    z-index: 99;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    visibility: hidden;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .burger {
    display: flex;
    flex-shrink: 0;
    z-index: 101;
    margin-left: auto;
  }
  .nav-links a {
    padding: 14px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links a:last-of-type:not(.nav-cta) { border-bottom: none; }
  .nav-links .nav-cta {
    display: none;
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 15px 26px;
  border: 1px solid var(--section-btn-bg, var(--section-accent, var(--rust)));
  background: transparent;
  color: var(--section-btn-text, var(--paper));
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
  text-decoration: none;
  line-height: 1;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.btn.solid {
  background: var(--section-btn-bg, var(--section-accent, var(--rust)));
  color: var(--section-btn-text, var(--paper));
  border-color: var(--section-btn-bg, var(--section-accent, var(--rust)));
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn.solid:hover {
    background: var(--section-btn-hover-bg, var(--section-accent-hover, var(--rust-dark)));
    color: var(--section-btn-hover-text, var(--section-btn-text, var(--paper)));
  }
  .btn:not(.solid):hover {
    background: color-mix(in srgb, var(--section-btn-bg, var(--section-accent, var(--rust))), transparent 88%);
    color: var(--section-btn-hover-text, var(--section-btn-text, var(--paper)));
  }
}
.btn:active { transform: translateY(0) scale(0.98); }

@media (max-width: 480px) {
  .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 0.78rem; }
  .hero-ctas .btn { width: auto; flex: 1; min-width: 0; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  background: radial-gradient(ellipse at 80% 15%, rgba(224, 99, 45, 0.16), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(124, 141, 100, 0.14), transparent 50%), var(--charcoal);
  overflow: hidden;
  content-visibility: auto;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--charcoal) 24%, rgba(24, 28, 24, 0.55) 55%, rgba(24, 28, 24, 0.25) 100%),
    linear-gradient(0deg, var(--charcoal) 0%, transparent 30%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: end;
  min-width: 0;
}
.hero-grid > div {
  min-width: 0;
}
.hero h1 {
  font-size: clamp(2rem, 6.4vw, 4.6rem);
  color: var(--paper);
  margin: 18px 0 8px;
  word-break: break-word;
}
.hero-desc {
  max-width: 600px;
  color: var(--paper-dim);
  font-size: 1.05rem;
  margin-bottom: 34px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .hero { min-height: 90vh; min-height: 90dvh; padding-top: 80px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: 1.2; }
  .hero-desc { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
@media (max-width: 400px) {
  .hero { padding-top: 70px; padding-bottom: 30px; }
  .hero h1 { font-size: 1.5rem; margin: 12px 0 6px; line-height: 1.25; }
  .hero-desc { font-size: 0.9rem; margin-bottom: 18px; }
}

/* ---------- SECTION HEADERS ---------- */
.sec-head {
  margin-bottom: 48px;
  max-width: 640px;
}
.sec-head h2,
.sec-head h1 {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  margin-top: 14px;
  color: var(--paper);
  line-height: 1.2;
}
@media (max-width: 480px) {
  .sec-head { margin-bottom: 32px; }
  .sec-head h2,
  .sec-head h1 { font-size: clamp(1.4rem, 7vw, 2rem); }
}
.sec-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.centered .eyebrow { justify-content: center; }
.sec-head.centered .eyebrow::before { display: none; }

/* ---------- SERVICES ---------- */
.services { background: var(--charcoal); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 28px;
}
@media (max-width: 820px) { .service-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .service-grid { gap: 20px; } }
.ticket {
  min-width: 0;
}
.ticket {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 0 0 32px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .ticket:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
  .ticket:hover .ticket-photo img { transform: scale(1.06); }
}
.ticket-photo {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.ticket-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  will-change: transform;
}
.ticket-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--panel) 0%, transparent 35%);
}
.ticket-body { padding: 26px 32px 0; min-width: 0; }
.ticket::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 32px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-top: none;
  z-index: 2;
}
.ticket .icon {
  width: 36px;
  height: 36px;
  color: var(--section-accent, var(--rust));
  margin-bottom: 18px;
  flex-shrink: 0;
}
.ticket h3 {
  font-size: 1.4rem;
  color: var(--paper);
  margin-bottom: 14px;
  line-height: 1.3;
  overflow-wrap: break-word;
}
.ticket div,
.ticket p {
  color: var(--paper-dim);
  margin-bottom: 22px;
  line-height: 1.55;
  overflow-wrap: break-word;
}
.ticket .tear { border-top: 1px dashed var(--line); margin: 20px 0; }

@media (max-width: 600px) {
  .ticket-body { padding: 20px 22px 0; }
  .ticket h3 { font-size: 1.2rem; line-height: 1.3; }
  .ticket p { font-size: 0.9rem; line-height: 1.55; }
}
@media (max-width: 400px) {
  .ticket-body { padding: 16px 16px 0; }
  .ticket h3 { font-size: 1.05rem; }
}

/* ---------- ABOUT ---------- */
.about { background: var(--paper); color: var(--ink); }
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
  min-width: 0;
}
.about-copy {
  min-width: 0;
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 480px) {
  .about-grid { gap: 28px; }
  .about-copy div,
  .about-copy p { font-size: 0.95rem; }
  .patch { max-width: 220px; margin: 0 auto; }
  .patch-inner .p1 { font-size: 0.95rem; }
}
.patch {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 300px;
  border-radius: 50%;
  background: conic-gradient(from 220deg, var(--moss), var(--rust) 40%, var(--moss-dim) 75%, var(--moss));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: var(--shadow);
}
.patch-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  text-align: center;
  padding: 18px;
  border: 2px dashed rgba(242, 237, 225, 0.25);
}
.patch-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.patch-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(21, 23, 15, 0.35) 0%, rgba(21, 23, 15, 0.86) 72%);
}
.patch-inner > * { position: relative; z-index: 1; }
.patch-inner svg {
  width: 56px;
  height: 56px;
  color: var(--section-accent, var(--rust));
  margin-bottom: 10px;
}
.patch-inner .p1 {
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.patch-inner .p2 {
  font-family: "Open Sans", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--chrome);
  margin-top: 6px;
}
.about-copy div,
.about-copy p {
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
}
.about-copy div:last-child,
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong {
  color: var(--section-accent-hover, var(--rust-dark));
}

/* ---------- WHAT I DO ---------- */
.whatido { background: var(--charcoal); }
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 38px;
  min-width: 0;
}
.service-detail > div {
  min-width: 0;
}
.service-detail:last-child { margin-bottom: 0; }
@media (max-width: 820px) {
  .service-detail { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
}
@media (max-width: 480px) {
  .service-detail { padding: 22px 18px; margin-bottom: 24px; }
  .service-detail h3 { font-size: 1.1rem; word-break: break-word; }
}
.service-detail h3 {
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: 14px;
}
@media (max-width: 600px) { .service-detail h3 { font-size: 1.25rem; line-height: 1.3; } }
.service-detail p {
  color: var(--paper-dim);
  line-height: 1.6;
  margin-bottom: 14px;
}
.service-detail p:last-child { margin-bottom: 0; }
.checklist { margin-top: 18px; }
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: "Open Sans", sans-serif;
  font-size: 0.82rem;
  color: var(--chrome);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.checklist li svg {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: var(--section-accent, var(--rust));
  flex: none;
}
.note-box {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 2px solid var(--section-accent, var(--rust));
  background: rgba(224, 99, 45, 0.07);
  color: var(--paper-dim);
  font-size: 0.9rem;
}

/* ---------- PRICING ---------- */
.pricing { background: var(--paper); color: var(--ink); }
.pricing .sec-head h2,
.pricing .sec-head h1 { color: var(--ink); }
.receipt {
  background: #fbf9f2;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  padding: 40px 36px 34px;
  position: relative;
  min-width: 0;
}
 @media (max-width: 600px) {
  .receipt { padding: 30px 22px 28px; }
  .receipt-row { font-size: 0.85rem; padding: 8px 0; gap: 8px; }
  .receipt-head h2 { font-size: 1.3rem; }
}
@media (max-width: 520px) {
  .receipt { padding: 24px 16px; }
  .receipt-row {
    flex-wrap: wrap;
    gap: 4px 8px;
    padding: 8px 0;
  }
  .receipt-row .item {
    flex: 1 1 auto;
    min-width: 0;
  }
  .receipt-row .price {
    flex: 0 1 auto;
    white-space: normal;
    text-align: right;
    word-break: break-word;
  }
  .receipt-foot .free { font-size: 0.75rem; }
}
.receipt::before, .receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background: radial-gradient(circle at 10px 50%, var(--paper) 7px, transparent 7.5px) repeat-x;
  background-size: 20px 14px;
}
.receipt::before { top: -7px; }
.receipt::after { bottom: -7px; transform: rotate(180deg); }
.receipt-head {
  text-align: center;
  border-bottom: 1px dashed var(--ink);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.receipt-head h2 { font-size: 1.7rem; margin-top: 8px; }
.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: "Open Sans", sans-serif;
  font-size: 0.92rem;
  padding: 10px 0;
  border-bottom: 1px dotted var(--ink);
  gap: 12px;
  flex-wrap: wrap;
}
.receipt-row .item { color: var(--ink); flex: 1; line-height: 1.5; min-width: 0; }
.receipt-row .price {
  color: var(--section-accent-hover, var(--rust-dark));
  white-space: normal;
  text-align: right;
  min-width: 0;
  line-height: 1.65;
}
.receipt-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.receipt-foot .free {
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  color: var(--moss-dim);
}
.stamp-approved {
  border: 2px solid var(--section-accent, var(--rust));
  color: var(--section-accent-hover, var(--rust-dark));
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 6px 12px;
  transform: rotate(-6deg);
}
.pricing-cta { text-align: center; margin-top: 36px; }

/* ---------- WHY ---------- */
.why { background: var(--charcoal); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { background: var(--panel); padding: 32px 26px; min-width: 0; }
@media (max-width: 600px) {
  .why-item { padding: 24px 20px; }
  .why-item h3 { font-size: 0.95rem; line-height: 1.3; }
  .why-item p { font-size: 0.85rem; line-height: 1.5; }
}
@media (max-width: 400px) { .why-item { padding: 20px 16px; } }
.why-item svg {
  width: 30px;
  height: 30px;
  color: var(--section-accent, var(--rust));
  margin-bottom: 16px;
  flex-shrink: 0;
}
.why-item h3 {
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--paper);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  overflow-wrap: break-word;
}
.why-item div,
.why-item p { color: var(--chrome); font-size: 0.9rem; line-height: 1.55; overflow-wrap: break-word; text-transform: none; }

/* ---------- SECTION IMAGES ---------- */
.section-image img { width: 100%; max-height: 300px; object-fit: cover; }
@media (max-width: 600px) { .section-image img { max-height: 200px; } }

/* ---------- CONTACT ---------- */
.contact {
  background: radial-gradient(ellipse at 15% 0%, rgba(224, 99, 45, 0.14), transparent 55%), var(--panel-2);
  border-top: 1px solid var(--line);
}
.contact-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 44px;
  min-width: 0;
}
.contact-head .eyebrow { justify-content: center; }
.contact-head .eyebrow::before { display: none; }
.contact-head h2 { font-size: clamp(1.7rem, 6vw, 2.8rem); margin: 14px 0; line-height: 1.2; }
@media (max-width: 480px) {
  .contact-head { margin-bottom: 28px; }
  .contact-head div,
  .contact-head p { font-size: 0.95rem; }
}
.contact-head div,
.contact-head p {
  color: var(--paper-dim);
  line-height: 1.6;
  margin-bottom: 14px;
}
.contact-head div:last-child,
.contact-head p:last-child { margin-bottom: 0; }
.work-order {
  max-width: 640px;
  margin: 0 auto;
  background: var(--paper);
  color: var(--ink);
  padding: 38px 34px 34px;
  box-shadow: var(--shadow);
}
@media (max-width: 600px) {
  .work-order { padding: 28px 20px 24px; }
  .wo-top { flex-wrap: wrap; gap: 8px; }
  .wo-top .wo-num { text-align: left; }
  .check-pill { padding: 10px 14px; font-size: 0.74rem; }
  .check-grid { gap: 8px; }
}
@media (max-width: 480px) {
  .work-order { padding: 24px 16px; }
  .field input[type="text"],
  .field input[type="tel"],
  .field textarea { font-size: 16px; }
  .check-grid { gap: 6px; }
  .check-pill { padding: 8px 12px; font-size: 0.72rem; }
}
.wo-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 24px;
}
.wo-top h3 { font-size: 1.3rem; }
.wo-top .wo-num {
  font-family: "Open Sans", sans-serif;
  font-size: 0.72rem;
  color: var(--section-accent-hover, var(--rust-dark));
  text-align: right;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5c5f52;
  margin-bottom: 8px;
}
.field input[type="text"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #b8b2a0;
  background: transparent;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  padding: 8px 2px;
  outline: none;
  transition: border-color 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--section-accent, var(--rust));
}
.field textarea { resize: vertical; min-height: 80px; }
.check-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.check-pill {
  font-family: "Open Sans", sans-serif;
  font-size: 0.78rem;
  border: 1px solid #b8b2a0;
  padding: 9px 14px;
  cursor: pointer;
  user-select: none;
  transition: all 0.18s ease;
}
.check-pill input { position: absolute; opacity: 0; pointer-events: none; }
.check-pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.part-input { margin-top: 10px; display: none; }
.part-input.show { display: block; }
.wo-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  background: var(--section-btn-bg, var(--ink));
  border-color: var(--section-btn-bg, var(--ink));
  color: var(--section-btn-text, var(--paper));
}
.wo-submit:hover {
  background: var(--section-btn-hover-bg, var(--section-accent-hover, var(--rust-dark)));
  border-color: var(--section-btn-hover-bg, var(--section-accent-hover, var(--rust-dark)));
  color: var(--section-btn-hover-text, var(--section-btn-text, var(--paper)));
}
.wo-note {
  font-size: 0.78rem;
  color: #6b6e5f;
  margin-top: 14px;
  text-align: center;
  line-height: 1.5;
}
.wo-status {
  font-size: 0.85rem;
  margin-top: 14px;
  text-align: center;
  color: var(--moss-dim);
  font-family: "Open Sans", sans-serif;
  display: none;
  line-height: 1.5;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  padding: 36px 0;
  text-align: center;
}
footer .brand { justify-content: center; margin-bottom: 8px; }
footer div,
footer p {
  color: var(--chrome);
  font-size: 0.8rem;
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  margin-top: 10px;
}
footer div:first-of-type,
footer p:first-of-type { margin-top: 0; }
.footer-contact {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--chrome);
  font-size: 0.85rem;
  font-family: "Open Sans", sans-serif;
  transition: color 0.2s ease;
  text-decoration: none;
}
.footer-contact a:hover { color: var(--rust); }
.footer-contact a svg { flex-shrink: 0; }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--chrome);
  transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--rust); }
@media (max-width: 480px) {
  footer { padding: 28px 0; }
  footer div,
  footer p { font-size: 0.72rem; }
  .footer-contact { gap: 16px; flex-direction: column; align-items: center; }
  .footer-contact a { font-size: 0.78rem; }
  .footer-social { gap: 12px; }
  .footer-social a { width: 32px; height: 32px; }
}
