/* =========================================================
   Broken Arrow Elite Drywall — styles
   Mobile-first. Edit colors and fonts in :root below.
   ========================================================= */

:root {
  /* Color */
  --brand: #0B4EA2;         /* logo blue: buttons, links, accents */
  --brand-dark: #083B7C;    /* hover */
  --brand-deeper: #062E61;  /* pressed */
  --brand-tint: #EAF1FA;    /* light blue wash */
  --navy: #0B1F3A;          /* headings, hero overlay, footer */
  --text: #1F2937;          /* body copy */
  --muted: #566070;         /* secondary copy */
  --alt: #F3F5F8;           /* alternating section background */
  --white: #FFFFFF;
  --border: #E1E5EB;

  /* Type */
  --font-head: "Plus Jakarta Sans", "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Spacing */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4rem;
  --s9: 5.5rem;

  --gutter: 1rem;
  --radius: 14px;
  --photo-ratio: 16 / 9;     /* every content photo uses this shape */
  --radius-sm: 8px;
  --header-h: 68px;         /* sticky header height; used for anchor offsets */

  /* Depth: base → raised → floating */
  --shadow-1: 0 1px 2px rgba(11, 31, 58, 0.05), 0 4px 12px -4px rgba(11, 31, 58, 0.08);
  --shadow-2: 0 2px 4px rgba(11, 31, 58, 0.05), 0 16px 32px -12px rgba(11, 31, 58, 0.18);
  --shadow-3: 0 4px 8px rgba(6, 18, 36, 0.12), 0 30px 60px -20px rgba(6, 18, 36, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.35, 0.64, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
p, ul, ol, figure { margin: 0; }
a { color: var(--brand); text-underline-offset: 0.18em; }
a:hover { color: var(--brand-dark); }
a:active { color: var(--brand-deeper); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--navy);
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--s4);
  top: -100px;
  z-index: 100;
  padding: var(--s2) var(--s4);
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--s2); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.icon { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease), background-color 0.2s var(--ease);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.2), 0 8px 18px -8px rgba(11, 78, 162, 0.7);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(11, 31, 58, 0.2), 0 12px 24px -10px rgba(11, 78, 162, 0.75); }
.btn-primary:active { background: var(--brand-deeper); color: #fff; transform: translateY(0); }
.btn-lg { min-height: 54px; padding: 0.9rem 1.6rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border), 0 6px 20px -16px rgba(11, 31, 58, 0.4);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 68px;
}
.brand { display: block; border-radius: 4px; }
.brand img { height: 38px; width: auto; }

.header-actions { display: flex; align-items: center; gap: var(--s2); }

/* Phone: icon button on phones, secondary text link on desktop */
.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.25s var(--ease-spring);
}
.header-phone .icon { width: 1.2rem; height: 1.2rem; }
.header-phone-text { display: none; }
.header-phone:hover { background: var(--brand-dark); color: #fff; }
.header-phone:active { background: var(--brand-deeper); color: #fff; transform: scale(0.97); }

.header-cta { display: none; }

/* Menu button (phones/tablets) */
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.menu-toggle:hover { background: var(--alt); border-color: #C8CFD8; }
.menu-toggle:active { background: #E6EAF0; }
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { transform: translateY(-6px); }
.menu-bars::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: rotate(45deg); background: var(--navy); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: rotate(-45deg); background: var(--navy); }

/* Section nav: dropdown panel on phones/tablets, inline on desktop */
.section-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 18px 30px -18px rgba(11, 31, 58, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.section-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}
.section-nav ul { list-style: none; margin: 0; padding: var(--s2) var(--gutter) var(--s4); }
.section-nav li + li { border-top: 1px solid var(--border); }
.section-nav a {
  position: relative;
  display: block;
  padding: 0.85rem 0;
  color: var(--navy);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.section-nav a:hover { color: var(--brand); }
.section-nav a:active { color: var(--brand-deeper); }
.section-nav a[aria-current="true"] { color: var(--brand); }

@media (max-width: 379px) {
  .brand img { height: 32px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--s7) 0 var(--s8);
  background: var(--navy);
  color: #E8EDF4;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 22, 44, 0.88) 0%, rgba(8, 22, 44, 0.82) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "rest"
    "form";
  row-gap: var(--s6);
}
.hero-head { grid-area: head; }
.estimate-form { grid-area: form; }
.hero-rest { grid-area: rest; }

h1 {
  font-size: clamp(2rem, 1.35rem + 3vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero-intro {
  margin-top: var(--s5);
  font-size: 1.125rem;
  line-height: 1.65;
  color: #F1F4F8;
  max-width: 62ch;
}
.hero-rest p { max-width: 62ch; color: #C9D3E0; }
.hero-rest p + p { margin-top: var(--s4); }
.hero-call { display: none; margin-top: var(--s6); }
.hero :focus-visible { outline-color: #fff; }

/* ---------- Form ---------- */
.estimate-form {
  padding: var(--s5) var(--s4);
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  scroll-margin-top: calc(var(--header-h) + var(--s4));
}
.form-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.form-note { margin-top: var(--s2); color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.field-row { display: grid; gap: 0 var(--s3); }
.field { margin-top: var(--s4); }
.field label { display: block; margin-bottom: 0.35rem; font-size: 0.9375rem; font-weight: 600; color: var(--navy); }
.req { color: #C2410C; }
.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #CDD3DB;
  border-radius: var(--radius-sm);
  background: #F7F8FA;
  color: var(--text);
  font: inherit;
  font-size: 1rem; /* 16px+ prevents iOS zoom */
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #9CA6B4; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 78, 162, 0.15);
}
.field ::placeholder { color: #8A93A1; }
.estimate-form .btn { margin-top: var(--s5); min-height: 54px; font-size: 1.0625rem; }
.estimate-form :focus-visible { outline-color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: var(--s8) 0; }
.section-alt { background: var(--alt); }
.section-head { max-width: 46rem; }
.section-head p { margin-top: var(--s4); color: var(--muted); }

/* Alternating photo + text rows */
.rows { margin-top: var(--s7); display: grid; gap: var(--s8); }
.row { display: grid; gap: var(--s5); align-items: center; }
.row-media {
  aspect-ratio: var(--photo-ratio);
  border-radius: var(--radius);
  overflow: hidden;
  background: #E4E7EB;
  box-shadow: var(--shadow-2);
}
.row-media img { width: 100%; height: 100%; object-fit: cover; }
.row-text > * + * { margin-top: var(--s4); }
.row-text p { color: var(--muted); }

/* Lists */
.dash-list { list-style: none; padding: 0; }
.dash-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
  color: var(--text);
}
.dash-list li + li { margin-top: 0.5rem; }
.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.7rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.dash-list strong { color: var(--navy); font-weight: 600; }

/* Split heading: intro + image */
.split-head { display: grid; gap: var(--s6); align-items: center; }
.split-media {
  aspect-ratio: var(--photo-ratio);
  border-radius: var(--radius);
  overflow: hidden;
  background: #E4E7EB;
  box-shadow: var(--shadow-2);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Cards */
.card-grid { display: grid; gap: var(--s5); margin-top: var(--s7); }
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.card-media { aspect-ratio: var(--photo-ratio); background: #E4E7EB; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: var(--s5) var(--s5) var(--s6); }
.card-body > * + * { margin-top: var(--s4); }
.card-body p { color: var(--muted); }
.card-body h3 { font-size: 1.25rem; }

/* Why us */
.check-list {
  list-style: none;
  padding: 0;
  margin-top: var(--s7);
  display: grid;
  border-top: 1px solid var(--border);
}
.check-list li {
  position: relative;
  padding: var(--s5) 0 var(--s5) 3rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  line-height: 1.6;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--s5) + 0.05rem);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4EA2' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 55% no-repeat;
}
.check-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--navy);
}

/* Materials */
.prose { margin-top: var(--s5); max-width: 46rem; }
.prose > * + * { margin-top: var(--s4); }
.prose p { color: var(--muted); }

/* Timeline */
.timeline { display: grid; gap: var(--s7); margin-top: var(--s7); }
.timeline-steps > * + * { margin-top: var(--s4); }
.timeline-steps > p { color: var(--muted); }
.stages { list-style: none; padding: 0; counter-reset: stage; }
.timeline-steps > .stages { margin-top: var(--s5); }
.stages li {
  counter-increment: stage;
  position: relative;
  padding: 0 0 var(--s5) 3rem;
  line-height: 1.6;
  color: var(--muted);
}
.stages li strong { color: var(--navy); font-weight: 600; }
.stages li::before {
  content: counter(stage);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1;
}
.stages li::after {
  content: "";
  position: absolute;
  left: calc(1rem - 1px);
  top: 2.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--border);
}
.stages li:last-child { padding-bottom: 0; }
.stages li:last-child::after { display: none; }

.timeline-table {
  align-self: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.durations { width: 100%; border-collapse: collapse; }
.durations th,
.durations td { padding: 0.95rem var(--s5); text-align: left; }
.durations thead th {
  background: var(--navy);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
}
.durations tbody tr + tr th,
.durations tbody tr + tr td { border-top: 1px solid var(--border); }
.durations tbody th { font-weight: 600; color: var(--navy); }
.durations td { color: var(--brand); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-note { padding: var(--s4) var(--s5) var(--s5); border-top: 1px solid var(--border); background: var(--alt); font-size: 0.9375rem; color: var(--muted); }

/* Phones: each table row stacks into its own block instead of a squeezed two-column table */
@media (max-width: 559px) {
  .durations thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .durations tbody tr { display: block; padding: var(--s4) var(--s5); }
  .durations tbody tr + tr { border-top: 1px solid var(--border); }
  .durations tbody th,
  .durations td { display: block; padding: 0; border: 0 !important; }
  .durations td { margin-top: 0.15rem; }
  .durations td::before { content: "Typical duration: "; color: var(--muted); font-weight: 400; }
}

/* Pricing */
.pricing-body { margin-top: var(--s6); max-width: 50rem; }
.pricing-body > * + * { margin-top: var(--s4); }
.pricing-body > p { color: var(--muted); }
.pricing-body > .callout { margin-top: var(--s6); }
.callout {
  padding: var(--s5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.callout .btn { margin-top: var(--s5); }

/* Service area */
.area { display: grid; gap: var(--s6); align-items: center; }
.map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  background: #E4E7EB;
}
.map iframe { display: block; width: 100%; height: 100%; }

/* FAQ */
.faq-list { margin-top: var(--s6); max-width: 52rem; display: grid; gap: var(--s3); }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-1);
}
.faq-list summary {
  position: relative;
  display: block;
  list-style: none;
  padding: var(--s4) 3.25rem var(--s4) var(--s5);
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}
.faq-list summary:hover h3 { color: var(--brand); }
.faq-list summary:active h3 { color: var(--brand-deeper); }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: var(--s4);
  top: 50%;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: -0.625rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4EA2' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s var(--ease-spring);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 var(--s5) var(--s5); color: var(--muted); }
.faq-a > * + * { margin-top: var(--s4); }
.tel-link { font-weight: 600; white-space: nowrap; }

/* Footer */
.site-footer { background: var(--navy); color: #A9B4C4; padding: var(--s8) 0 0; }
.footer-inner { display: grid; gap: var(--s6); padding-bottom: var(--s7); }
.footer-logo { display: inline-block; border-radius: 4px; }
.footer-logo img { height: 44px; width: auto; }
.footer-tagline { margin-top: var(--s4); max-width: 22rem; font-size: 0.9375rem; line-height: 1.65; }
.footer-heading {
  margin-bottom: var(--s4);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; font-size: 0.9375rem; }
.footer-col a { color: #C9D3E0; text-decoration: none; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col a:active { color: #A9B4C4; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-bottom { padding-block: var(--s5); border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.875rem; }

/* Mobile sticky CTA bar */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
  padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom));
  background: var(--white);
  box-shadow: 0 -1px 0 var(--border), 0 -10px 24px -14px rgba(11, 31, 58, 0.35);
}
.mobile-cta .btn { min-height: 50px; padding-inline: var(--s3); }
.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid #CDD3DB;
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-outline:active { background: var(--alt); color: var(--navy); }
body { padding-bottom: 76px; }

/* =========================================================
   ≥ 560px
   ========================================================= */
@media (min-width: 560px) {
  :root { --gutter: 1.5rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .estimate-form { padding: var(--s6); }
  .dash-list-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s5); row-gap: 0.5rem; }
  .dash-list-2col li + li { margin-top: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =========================================================
   ≥ 768px
   ========================================================= */
@media (min-width: 768px) {
  .section { padding: var(--s9) 0; }
  .brand img { height: 44px; }
  .hero-call { display: inline-flex; }
  .card-grid-2 { grid-template-columns: 1fr 1fr; }
  .check-list { grid-template-columns: 1fr 1fr; column-gap: var(--s7); }
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s7); }
  .footer-brand { grid-column: auto; }
}

/* =========================================================
   ≥ 1024px — desktop
   ========================================================= */
@media (min-width: 1024px) {
  :root { --gutter: 2rem; --header-h: 80px; }
  .header-bar { min-height: 80px; gap: var(--s6); }
  .brand img { height: 50px; }
  .menu-toggle { display: none; }
  .section-nav {
    position: static;
    margin-left: auto;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .section-nav ul { display: flex; gap: var(--s1); padding: 0; }
  .section-nav li + li { border: 0; }
  .section-nav a { padding: 0.5rem 0.75rem; font-size: 0.9375rem; color: var(--text); }
  .section-nav a::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: -0.2rem;
    height: 3px;
    border-radius: 3px;
    background: var(--brand);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease);
  }
  .section-nav a[aria-current="true"]::after { transform: scaleX(1); }
  .header-actions { gap: var(--s5); }
  .header-phone { width: auto; height: auto; padding: 0.4rem 0.25rem; background: none; color: var(--navy); }
  .header-phone:hover { background: none; color: var(--brand); }
  .header-phone:active { background: none; color: var(--brand-deeper); }
  .header-phone .icon { width: 1.1rem; height: 1.1rem; }
  .header-phone-text { display: inline; }
  .header-cta { display: inline-flex; min-height: 48px; }
  .mobile-cta { display: none; }
  body { padding-bottom: 0; }

  .hero { padding: var(--s8) 0 var(--s9); }
  .hero::before {
    background: linear-gradient(90deg, rgba(8, 22, 44, 0.92) 0%, rgba(8, 22, 44, 0.8) 50%, rgba(8, 22, 44, 0.6) 100%);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "head form"
      "rest form";
    column-gap: var(--s8);
    row-gap: var(--s5);
    align-items: start;
  }
  .hero-intro { font-size: 1.1875rem; }

  .row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: var(--s8);
  }
  .row:nth-child(even) .row-media { order: 2; }

  .split-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card-body { padding: var(--s6); }

  .timeline { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: var(--s8); }
  .area { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s8); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
