/* ============================================================
   Dra. Natalia Zavala — Odontología Biológica y Estética
   Visual system rooted in her brand: ivory neutrals,
   deep olive green, mustard gold, elegant serif + script.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Great+Vibes&family=Marcellus&family=Mulish:wght@300;400;500;600;700&family=Parisienne&display=swap');

:root {
  /* Neutrals */
  --ivory:      #FBF8F2;
  --cream:      #F4EDE1;
  --sand:       #EAE0CF;
  --taupe:      #C9BCA6;
  --taupe-deep: #A99B82;

  /* Brand */
  --olive:      #4B583A;
  --olive-deep: #3A4530;
  --olive-soft: #5E6C46;
  --gold:       #B0913A;
  --gold-soft:  #C9B06A;
  --gold-pale:  #E6D9B0;

  /* Ink */
  --ink:        #2E2A23;
  --ink-soft:   #574F44;
  --muted:      #8A8073;
  --line:       #E2D8C7;

  --serif:  'Cormorant Garamond', Georgia, serif;
  --head:   'Marcellus', Georgia, serif;
  --script: 'Great Vibes', 'Parisienne', cursive;
  --body:   'Mulish', system-ui, sans-serif;

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--ivory);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; }

p { margin: 0; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- Shared type helpers ---------- */
.eyebrow {
  font-family: var(--head);
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.01em;
}
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.08;
}
.lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-style: italic;
  color: var(--olive);
  line-height: 1.5;
}
.script {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
}
.muted { color: var(--muted); }
.em-gold { color: var(--gold); }
.em-olive { color: var(--olive); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s cubic-bezier(.2,.7,.3,1);
}
.btn svg { width: 17px; height: 17px; }
.btn-gold {
  background: var(--olive);
  color: var(--ivory);
}
.btn-gold:hover { background: var(--olive-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--taupe-deep);
}
.btn-ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-light {
  background: var(--ivory);
  color: var(--olive-deep);
}
.btn-light:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gut);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.scrolled {
  background: rgba(251,248,242,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: auto; height: 44px; }
.brand-text { line-height: 1; }
.brand-text .name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 27px;
  color: var(--ink);
  display: block;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: .005em;
}
.brand-text .sub {
  font-family: var(--head);
  font-size: 8.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-top: 2px;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--head);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--head); font-size: 13.5px; letter-spacing: .1em;
  padding: 13px 28px; border-radius: 999px;
  background: var(--olive); color: #fff;
  line-height: 1;
  box-shadow: 0 8px 20px -10px rgba(75,88,58,.7);
  transition: background .3s, transform .3s, box-shadow .3s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(176,145,58,.7); }
.nav-cta svg { width: 16px; height: 16px; flex: none; }
/* Override the generic .nav-links a rules (higher specificity) so the CTA keeps its color + padding */
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover { color: #fff; padding: 13px 28px; }
.nav-links a.nav-cta::after { display: none; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
  background: var(--cream);
  overflow: hidden;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px var(--gut) 80px;
  position: relative;
  z-index: 2;
}
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero h1 { margin-bottom: 26px; color: var(--ink); }
.hero h1 .accent { font-style: italic; color: var(--olive); }
.hero-copy p.intro {
  max-width: 30rem;
  font-size: 1.06rem;
  color: var(--ink-soft);
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-media { position: relative; }
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--cream) 0%, transparent 22%);
}
.hero-badge {
  position: absolute;
  left: 0; bottom: 48px;
  z-index: 3;
  background: var(--ivory);
  padding: 22px 30px 22px var(--gut);
  border-radius: 0 18px 18px 0;
  box-shadow: 0 24px 60px -30px rgba(46,42,35,.4);
  display: flex; align-items: center; gap: 22px;
}
.hero-badge .num { font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 1; }
.hero-badge .lbl { font-size: .82rem; color: var(--ink-soft); line-height: 1.4; max-width: 11rem; }
.hero-scroll {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 3;
  font-family: var(--head); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hero-scroll .chev { width: 18px; height: 18px; animation: scrollbob 1.8s infinite; }
@keyframes scrollbob { 0%,100%{ transform: translateY(0); opacity: .45; } 50%{ transform: translateY(5px); opacity: 1; } }

/* ============================================================
   SECTION BASICS
   ============================================================ */
section { position: relative; }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 22px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.bg-olive { background: var(--olive-deep); color: var(--ivory); }
.bg-olive .h2, .bg-olive .display { color: var(--ivory); }
.bg-olive .muted { color: var(--gold-pale); }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }

/* ============================================================
   SOBRE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-figure { position: relative; }
.about-figure .photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(46,42,35,.6);
}
.about-figure .photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-figure .frame {
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold-soft);
  border-radius: 14px;
  z-index: -1;
}
.about-figure .tag {
  position: absolute;
  right: -18px; bottom: 34px;
  background: var(--ivory);
  border-radius: 12px;
  padding: 16px 22px;
  box-shadow: 0 24px 50px -30px rgba(46,42,35,.5);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--olive);
  font-size: 1.4rem;
}
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; }
.creds {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.creds li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.creds li .yr { font-family: var(--head); color: var(--gold); font-size: .95rem; white-space: nowrap; }
.creds li .txt { color: var(--ink-soft); font-size: .98rem; }
.signature { margin-top: 30px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 2.4rem; color: var(--olive); }

/* ============================================================
   FILOSOFÍA — pillars
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid rgba(230,217,176,.25);
}
.pillar {
  padding: 40px 26px 34px;
  border-right: 1px solid rgba(230,217,176,.22);
}
.pillar:last-child { border-right: 0; }
.pillar .n { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-soft); display: block; margin-bottom: 22px; }
.pillar h3 { font-family: var(--head); font-size: 1.18rem; color: var(--ivory); margin-bottom: 14px; line-height: 1.25; }
.pillar p { font-size: .92rem; color: var(--gold-pale); opacity: .85; }
.philo-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px,6vw,80px);
  align-items: end;
  margin-bottom: 60px;
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 30px 30px;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s, border-color .4s;
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(46,42,35,.55); border-color: var(--gold-soft); }
.svc .ic {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--cream);
  margin-bottom: 24px;
  color: var(--olive);
}
.svc:hover .ic { background: var(--olive); color: var(--gold-pale); }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-family: var(--head); font-size: 1.28rem; margin-bottom: 12px; }
.svc p { color: var(--ink-soft); font-size: .95rem; }

/* ============================================================
   DIFERENCIALES — split
   ============================================================ */
.diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px,6vw,90px);
}
.diff-media { position: relative; border-radius: 16px; overflow: hidden; }
.diff-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.diff-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 26px; }
.diff-list li { display: grid; grid-template-columns: auto 1fr; gap: 20px; }
.diff-list .check {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  display: grid; place-items: center;
  color: var(--gold);
}
.diff-list .check svg { width: 20px; height: 20px; }
.diff-list h4 { font-family: var(--head); font-size: 1.15rem; margin-bottom: 6px; }
.diff-list p { color: var(--ink-soft); font-size: .95rem; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.testi {
  background: var(--ivory);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.testi .quote { font-family: var(--serif); font-size: 3.4rem; color: var(--gold-soft); line-height: .6; height: 28px; }
.testi p { font-family: var(--serif); font-size: 1.22rem; font-style: italic; color: var(--ink); line-height: 1.5; margin-bottom: 26px; }
.testi .who { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.testi .av { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-family: var(--head); color: var(--olive); font-size: 1rem; }
.testi .who .nm { font-family: var(--head); font-size: 1rem; }
.testi .who .rl { font-size: .82rem; color: var(--muted); }

/* ============================================================
   GALERÍA
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: 12px; position: relative; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.3,1); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.post { display: flex; flex-direction: column; cursor: pointer; }
.post .thumb { border-radius: 14px; overflow: hidden; aspect-ratio: 3/2; margin-bottom: 20px; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.post:hover .thumb img { transform: scale(1.05); }
.post .cat { font-family: var(--head); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.post h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 10px; line-height: 1.2; }
.post p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 14px; }
.post .more { font-family: var(--head); font-size: 13px; letter-spacing: .08em; color: var(--olive); display: inline-flex; gap: 8px; align-items: center; }
.post:hover .more { gap: 14px; }

/* ============================================================
   CTA / CONTACTO
   ============================================================ */
.cta-band {
  background: var(--olive-deep);
  color: var(--ivory);
  border-radius: 22px;
  padding: clamp(40px,6vw,72px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band .h2 { color: var(--ivory); margin-bottom: 18px; }
.cta-band p { color: var(--gold-pale); margin-bottom: 30px; }
.cta-leaf { position: absolute; right: 36px; top: -18px; width: 150px; opacity: .22; color: var(--gold-soft); transform: rotate(14deg); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); align-items: start; }
.contact-info { display: grid; gap: 4px; }
.cinfo {
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.cinfo:first-child { border-top: 1px solid var(--line); }
.cinfo .ic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold-soft); display: grid; place-items: center; color: var(--gold); }
.cinfo .ic svg { width: 20px; height: 20px; }
.cinfo .lbl { font-family: var(--head); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cinfo .val { font-size: 1.05rem; color: var(--ink); }
.cinfo a.val:hover { color: var(--gold); }
.map-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px -50px rgba(46,42,35,.5); }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.3) sepia(.08); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--cream); padding-block: 64px 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer .brand .name { color: var(--cream); }
.footer .brand .mark path { stroke: var(--gold-soft); }
.footer-col h4 { font-family: var(--head); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; color: rgba(244,237,225,.7); font-size: .95rem; margin-bottom: 12px; transition: color .3s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-about p { color: rgba(244,237,225,.6); font-size: .95rem; max-width: 24rem; margin-top: 20px; }
.footer-bottom { border-top: 1px solid rgba(244,237,225,.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: rgba(244,237,225,.5); }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(244,237,225,.2); display: grid; place-items: center; color: var(--cream); transition: .3s; }
.socials a:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Brand sign-off ---------- */
.logo-signoff { padding-block: clamp(54px, 8vw, 96px); text-align: center; border-top: 1px solid var(--line); }
.signoff-logo { width: 270px; max-width: 62%; height: auto; margin-inline: auto; display: block; opacity: .96; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.6);
  transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Hero entrance ---------- */
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroImg { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: heroUp .95s cubic-bezier(.2,.7,.3,1) both; }
.hero-copy .eyebrow { animation-delay: .15s; }
.hero h1 { animation-delay: .28s; }
.hero-copy p.intro { animation-delay: .44s; }
.hero-actions { animation-delay: .58s; }
.hero-media img { animation: heroImg 1.4s cubic-bezier(.2,.7,.3,1) both; }
.hero-badge { animation: heroUp 1s cubic-bezier(.2,.7,.3,1) both .7s; }
.hero-scroll { animation: heroUp 1s both 1s; }

/* ---------- Leaf ornament (brand motif) ---------- */
.eyebrow.center::before, .eyebrow.center::after { display: none; }
.leaf-orn-wrap { display: flex; justify-content: center; margin: 16px 0 2px; }
.leaf-orn { width: 156px; height: 18px; display: block; }

/* ---------- Pull quote ---------- */
.pull { text-align: center; }
.pull-inner { max-width: 880px; margin-inline: auto; }
.pull-quote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.22;
  color: var(--olive-deep); margin: 26px 0 24px; letter-spacing: -.005em;
  text-wrap: balance;
}
.pull-cite {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 1.5rem; color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
  white-space: nowrap;
}
.pull-cite::before { content: ""; width: 30px; height: 1px; background: var(--gold-soft); display: inline-block; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2,1fr); }
  .pillar { border-bottom: 1px solid rgba(230,217,176,.22); }
  .svc-grid, .testi-grid, .blog-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav { background: rgba(251,248,242,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory); padding: 18px var(--gut) 28px;
    box-shadow: 0 20px 40px -24px rgba(46,42,35,.4);
  }
  .nav-links.open a {
    padding: 15px 4px; border-bottom: 1px solid var(--line);
    font-size: 1.05rem; color: var(--ink);
  }
  .nav-links.open a::after { display: none; }
  .nav-links.open .nav-cta {
    justify-content: center; border-bottom: 0; margin-top: 16px;
    padding: 16px 24px; font-size: 14px; color: #fff;
  }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { min-height: 56vh; order: -1; }
  .hero-media::after { background: linear-gradient(180deg, transparent 55%, var(--cream)); }
  .hero-copy { padding-top: 38px; padding-bottom: 36px; }
  .hero-scroll { display: none; }
  .hero-badge {
    position: static; order: 3;
    margin: 0 var(--gut) 44px; border-radius: 14px;
    padding: 20px 24px;
  }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .gallery .tall { grid-row: auto; }
  .gallery .wide { grid-column: auto; }
  .about-grid, .diff, .philo-lead, .cta-band, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .cta-band { gap: 26px; }
  .footer-top { gap: 30px; }
}
@media (max-width: 620px) {
  .svc-grid, .testi-grid, .blog-grid, .pillars { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 168px; }
  .hero-badge { padding: 18px 22px; }
  .about-figure .tag { right: 8px; }
  .about-figure .frame { inset: 16px -16px -16px 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
