/* ==========================================================
   Family Optometry 121 — Main Stylesheet
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --teal-900: #0b3b3c;
  --teal-700: #125e5f;
  --teal-500: #1f8a85;
  --teal-100: #dcefeb;
  --coral: #f2785c;
  --coral-dark: #d95d42;
  --sun: #f6c667;
  --cream: #fbf7f1;
  --white: #ffffff;
  --ink: #1c2526;
  --muted: #5d6b6c;
  --line: #e6e0d6;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 32px;
  --shadow: 0 10px 30px -12px rgba(11, 59, 60, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 59, 60, 0.35);

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--coral-dark); }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--teal-900);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--white { background: var(--white); }
.section--teal { background: var(--teal-900); color: #d7e8e5; }
.section--teal h2, .section--teal h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral-dark); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; }

.section-head { max-width: 680px; margin-bottom: 3.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ''; width: 26px; height: 2px; background: currentColor; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.1rem; }
.section--teal .section-head p { color: #a9c7c3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--coral); color: var(--white); box-shadow: 0 10px 24px -10px var(--coral); }
.btn--primary:hover { background: var(--coral-dark); color: var(--white); }
.btn--ghost { border-color: var(--teal-900); color: var(--teal-900); }
.btn--ghost:hover { background: var(--teal-900); color: var(--white); }
.btn--light { background: var(--white); color: var(--teal-900); }
.btn--light:hover { color: var(--coral-dark); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Top bar & Header ---------- */
.topbar { background: var(--teal-900); color: #b9d3cf; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; flex-wrap: wrap; }
.topbar a { color: var(--white); }
.topbar span { display: inline-flex; gap: .4rem; align-items: center; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, .88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.3); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.logo { display: flex; align-items: center; gap: .7rem; color: var(--teal-900); }
.logo:hover { color: var(--teal-900); }
.logo-mark {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-900));
  display: grid; place-items: center; color: var(--white);
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1; }
.logo-text small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .97rem; position: relative; padding: .3rem 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--coral); transition: width .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--teal-900); font-weight: 700; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--teal-900); margin: 5px auto; transition: .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.hero::before {
  content: ''; position: absolute; width: 620px; height: 620px; right: -180px; top: -160px;
  background: radial-gradient(circle, var(--teal-100) 0%, transparent 68%); z-index: 0;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero h1 em { font-style: italic; color: var(--teal-500); }
.hero-lead { font-size: 1.2rem; color: var(--muted); margin: 1.5rem 0 2.2rem; max-width: 540px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-badges div strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--teal-900); line-height: 1; }
.hero-badges div span { font-size: .9rem; color: var(--muted); }

.hero-visual { position: relative; aspect-ratio: 1 / 1.05; }
.hero-blob {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--teal-500), var(--teal-900));
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center; overflow: hidden;
  animation: morph 14s ease-in-out infinite;
}
.hero-blob svg { width: 70%; }
@keyframes morph {
  0%, 100% { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
  50% { border-radius: 56% 44% 58% 42% / 42% 58% 44% 56%; }
}
.float-card {
  position: absolute; background: var(--white); border-radius: var(--radius);
  padding: 1rem 1.2rem; box-shadow: var(--shadow); display: flex; gap: .8rem; align-items: center;
  font-size: .9rem; animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--teal-900); font-size: .98rem; }
.float-card span { color: var(--muted); font-size: .82rem; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card.one { left: -30px; bottom: 16%; }
.float-card.two { right: -20px; top: 12%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--teal-900); color: #c7dcd8; position: relative; overflow: hidden; }
.page-hero::after {
  content: ''; position: absolute; right: -120px; bottom: -220px; width: 480px; height: 480px;
  border-radius: 50%; border: 70px solid rgba(255,255,255,.05);
}
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero p { max-width: 620px; margin-top: 1.2rem; font-size: 1.15rem; }
.page-hero .eyebrow { color: var(--sun); }
.breadcrumb { font-size: .88rem; margin-bottom: 1.4rem; color: #8fb2ad; }
.breadcrumb a { color: var(--white); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 1.2rem 0 .6rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card .more { display: inline-flex; gap: .4rem; margin-top: 1.2rem; font-weight: 600; font-size: .95rem; }

.icon-wrap {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--teal-100); color: var(--teal-700);
}
.icon-wrap svg { width: 28px; height: 28px; }
.icon-wrap.coral { background: #fde4dc; color: var(--coral-dark); }
.icon-wrap.sun { background: #fdf0d3; color: #b98419; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split-visual {
  border-radius: var(--radius-lg); aspect-ratio: 4 / 3.4; position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--sun), var(--coral));
  display: grid; place-items: center;
}
.split-visual.teal { background: linear-gradient(140deg, var(--teal-100), var(--teal-500)); }
.split-visual svg { width: 62%; }
.check-list { margin: 1.6rem 0 2rem; display: grid; gap: .9rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list li::before {
  content: '✓'; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal-500); color: var(--white); font-size: .8rem; font-weight: 700;
  display: grid; place-items: center; margin-top: .15rem;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 2rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.step::before {
  counter-increment: step; content: '0' counter(step);
  font-family: var(--font-head); font-size: 2.6rem; color: var(--sun); line-height: 1; display: block; margin-bottom: 1rem;
}
.step p { color: #a9c7c3; font-size: .97rem; margin-top: .5rem; }

/* ---------- Article cards ---------- */
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; }
.post-thumb svg { width: 38%; color: var(--white); }
.thumb-a { background: linear-gradient(135deg, #1f8a85, #0b3b3c); }
.thumb-b { background: linear-gradient(135deg, #f6c667, #f2785c); }
.thumb-c { background: linear-gradient(135deg, #8fc9c0, #1f8a85); }
.post-body { padding: 1.6rem 1.8rem 2rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .82rem; color: var(--muted); display: flex; gap: .8rem; margin-bottom: .7rem; }
.tag { background: var(--teal-100); color: var(--teal-700); padding: .15rem .65rem; border-radius: 999px; font-weight: 600; }
.post-body h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.post-body h3 a { color: var(--teal-900); }
.post-body h3 a:hover { color: var(--coral-dark); }
.post-body p { color: var(--muted); font-size: .96rem; flex: 1; }
.post-body .more { margin-top: 1.2rem; font-weight: 600; }

/* ---------- Article page ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; align-items: start; }
.article { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.8rem, 5vw, 4rem); border: 1px solid var(--line); }
.article > * + * { margin-top: 1.3rem; }
.article h2 { font-size: 1.85rem; margin-top: 3rem; scroll-margin-top: 100px; }
.article h3 { margin-top: 2rem; }
.article p, .article li { color: #334142; }
.article ul, .article ol { padding-left: 1.4rem; display: grid; gap: .55rem; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li::marker { color: var(--teal-500); font-weight: 700; }
.article .lead { font-size: 1.25rem; color: var(--ink); line-height: 1.6; }
.article blockquote {
  border-left: 4px solid var(--coral); background: #fff4ef; padding: 1.4rem 1.6rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-head); font-size: 1.2rem; color: var(--teal-900);
}
.callout { background: var(--teal-100); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.callout strong { color: var(--teal-900); display: block; margin-bottom: .3rem; font-size: 1.05rem; }
.article table { width: 100%; border-collapse: collapse; font-size: .95rem; border-radius: var(--radius-sm); overflow: hidden; }
.article th, .article td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.article th { background: var(--teal-900); color: var(--white); font-weight: 600; }
.article tr:nth-child(even) td { background: var(--cream); }
.article-meta { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: .9rem; color: #a9c7c3; margin-top: 1.4rem; }
.disclaimer { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 3rem !important; }

.sidebar { position: sticky; top: 100px; display: grid; gap: 1.5rem; }
.toc, .side-cta { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.toc h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 1rem; }
.toc ol { display: grid; gap: .6rem; counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; gap: .6rem; font-size: .93rem; line-height: 1.4; }
.toc li::before { content: counter(toc, decimal-leading-zero); color: var(--coral); font-weight: 700; font-size: .8rem; padding-top: .1rem; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--coral-dark); }
.side-cta { background: var(--teal-900); color: #c7dcd8; border: 0; }
.side-cta h4 { color: var(--white); font-size: 1.3rem; margin-bottom: .6rem; }
.side-cta p { font-size: .93rem; margin-bottom: 1.2rem; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.avatar {
  width: 120px; height: 120px; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-size: 2.4rem; color: var(--white);
  background: linear-gradient(135deg, var(--teal-500), var(--teal-900)); border: 6px solid var(--teal-100);
}
.team-card .role { color: var(--coral-dark); font-weight: 600; font-size: .9rem; }

/* ---------- Values / Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stats strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--sun); line-height: 1.1; }
.stats span { color: #a9c7c3; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 1rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.6rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; color: var(--teal-900);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; color: var(--coral); line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .9rem; color: var(--muted); }

/* ---------- Service detail ---------- */
.service-row { display: grid; grid-template-columns: 90px 1fr; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row .icon-wrap { width: 80px; height: 80px; border-radius: 22px; }
.service-row .icon-wrap svg { width: 38px; height: 38px; }
.service-row p { color: var(--muted); margin-top: .6rem; }
.pill-list { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.1rem; }
.pill-list li { background: var(--cream); border: 1px solid var(--line); padding: .35rem .9rem; border-radius: 999px; font-size: .87rem; font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.5rem; align-items: start; }
.info-card { background: var(--teal-900); color: #c7dcd8; border-radius: var(--radius-lg); padding: 2.5rem; }
.info-card h3 { color: var(--white); margin-bottom: 1.5rem; }
.info-item { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-item:last-of-type { border-bottom: 0; }
.info-item .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--sun); flex-shrink: 0; }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item strong { color: var(--white); display: block; font-size: .95rem; }
.info-item a { color: #c7dcd8; }
.hours { width: 100%; font-size: .93rem; margin-top: .4rem; }
.hours td { padding: .25rem 0; }
.hours td:last-child { text-align: right; color: var(--white); }

.form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); border: 1px solid var(--line); }
.form h3 { margin-bottom: .4rem; }
.form > p { color: var(--muted); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .45rem; margin-bottom: 1.2rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--teal-900); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .85rem 1rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); background: var(--white); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.form-success { display: none; background: var(--teal-100); color: var(--teal-900); padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-top: 1rem; font-weight: 500; }
.form-success.show { display: block; }

.map-placeholder {
  margin-top: 2.5rem; border-radius: var(--radius-lg); aspect-ratio: 21 / 7; overflow: hidden;
  background:
    linear-gradient(0deg, rgba(31,138,133,.08) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(31,138,133,.08) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--teal-100);
  display: grid; place-items: center; color: var(--teal-700); font-weight: 600; text-align: center; padding: 1rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--coral), #f39a6a 60%, var(--sun));
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255,255,255,.15); right: -80px; top: -120px; }
.cta-band h2 { color: var(--white); max-width: 560px; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.92); margin-top: .7rem; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { background: #082b2c; color: #9ab9b5; padding: 5rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; }
.footer .logo { color: var(--white); margin-bottom: 1.2rem; }
.footer .logo-text small { color: #7fa39e; }
.footer h4 { font-family: var(--font-body); color: var(--white); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer ul { display: grid; gap: .6rem; }
.footer a { color: #9ab9b5; font-size: .95rem; }
.footer a:hover { color: var(--sun); }
.footer p { font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3.5rem; padding-top: 1.8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .87rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-blob, .float-card { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.5rem 1.25rem 2rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .35s, opacity .35s;
  }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .nav .btn { justify-content: center; }

  .hero .container, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 1rem auto 0; width: 100%; }
  .float-card.one { left: 0; }
  .float-card.two { right: 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .split .split-visual { order: -1; }
}

@media (max-width: 560px) {
  .grid-4, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
  .service-row { grid-template-columns: 1fr; gap: 1rem; }
  .map-placeholder { aspect-ratio: 4 / 3; }
}

/* Value cards reuse .step without the number */
.step.no-num::before { display: none; }
