/* =====================================================================
   Landing page sections
   ===================================================================== */

/* ---- Top nav ------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem var(--gutter);
  transition: background .35s, box-shadow .35s, padding .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); border-color: var(--line); }
.nav .brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; line-height: 1; text-decoration: none; }
.nav .brand small { display: block; font-family: var(--sans); font-size: .56rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-deep); margin-top: 3px; }
.nav-right { display: flex; align-items: center; gap: 1.6rem; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; opacity: .82; transition: opacity .18s; }
.nav-links a:hover { opacity: 1; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; }
.nav-phone svg { color: var(--accent-deep); }
@media (max-width: 880px) { .nav-links, .nav-phone span.lbl { display: none; } }
/* Phones: shrink the CTA + tighten spacing so the brand lockup stays on
   its own line instead of being crushed into an awkward wrap. */
@media (max-width: 600px) {
  .nav { padding: 0.72rem 16px; }
  .nav-right { gap: 0.55rem; }
  .nav .brand { font-size: 1.06rem; }
  .nav .brand small { font-size: .5rem; letter-spacing: .12em; margin-top: 2px; }
  .nav .btn-primary { padding: .6rem 1rem; font-size: .8rem; white-space: nowrap; }
}

/* ---- Hero ---------------------------------------------------------- */
.hero { padding: clamp(120px, 16vh, 180px) 0 clamp(60px, 9vw, 110px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 1.4rem; line-height: 1.07; text-wrap: pretty; }
.hero h1 .em { font-style: italic; color: var(--accent-deep); }
.hero-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--accent-deep); margin-bottom: .4rem; }
.hero .lede { max-width: 46ch; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; }
.hero-trust { display: flex; gap: 1.6rem; margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-trust .ht { display: flex; flex-direction: column; gap: .15rem; }
.hero-trust .ht b { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.hero-trust .ht span { font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }

.hero-portrait { position: relative; }
.hero-portrait .frame {
  position: relative; border-radius: 240px 240px var(--r-xl) var(--r-xl); overflow: hidden;
  background: linear-gradient(180deg, #eef0ea, #e4e8df); aspect-ratio: 4/4.7; box-shadow: var(--sh-lg);
}
.hero-portrait .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-portrait .badge {
  position: absolute; bottom: 22px; left: -26px; background: var(--paper); border-radius: var(--r-md);
  padding: .9rem 1.15rem; box-shadow: var(--sh-md); border: 1px solid var(--line-soft); max-width: 230px;
}
.hero-portrait .badge .b-name { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; line-height: 1.1; }
.hero-portrait .badge .b-sub { font-size: .74rem; color: var(--accent-deep); font-weight: 700; letter-spacing: .04em; margin-top: 2px; }
.hero-portrait .seal {
  position: absolute; top: -18px; right: -10px; width: 96px; height: 96px; border-radius: 999px;
  background: var(--forest); color: var(--accent); display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: .9rem; line-height: 1.1; box-shadow: var(--sh-md);
  padding: 10px; transform: rotate(-8deg);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-portrait { max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-portrait .badge { left: 0; }
}

/* ---- Marquee credentials ------------------------------------------ */
.trustbar { background: var(--forest); color: #d7e0d3; padding: 1.4rem 0; overflow: hidden; }
.trustbar .row { display: flex; align-items: center; gap: 3.5rem; white-space: nowrap; animation: marquee 38s linear infinite; width: max-content; }
.trustbar .row span { font-family: var(--serif); font-size: 1.25rem; font-style: italic; opacity: .82; display: inline-flex; align-items: center; gap: 3.5rem; }
.trustbar .row span::after { content: "·"; color: var(--accent); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trustbar .row { animation: none; } }

/* ---- Services ------------------------------------------------------ */
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.svc-head .lede { max-width: 42ch; margin: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.svc {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 1.8rem 1.7rem 1.6rem; cursor: pointer; transition: all .25s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; min-height: 230px; text-align: left; font-family: inherit; color: inherit; position: relative; overflow: hidden;
}
.svc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line); }
.svc:hover::after { transform: scaleX(1); }
.svc .num { font-family: var(--serif); font-size: .95rem; color: var(--accent-deep); font-weight: 600; margin-bottom: 1.2rem; letter-spacing: .05em; }
.svc .s-name { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; line-height: 1.08; margin-bottom: .2rem; }
.svc .s-sub { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: .9rem; }
.svc .s-blurb { font-size: .96rem; color: var(--muted); line-height: 1.55; margin-bottom: 1.2rem; flex: 1; }
.svc .s-go { font-size: .85rem; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.svc .s-go .arrow { color: var(--accent-deep); transition: transform .25s; }
.svc:hover .s-go .arrow { transform: translateX(4px); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---- Signature procedure (dark editorial) ------------------------- */
.signature { background: var(--forest); color: #e7ede4; }
.sig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.sig-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--sh-lg); background: #e7ebe2; }
.sig-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sig-note { margin-top: 2rem; padding: 1.5rem 1.6rem; border-left: 2px solid var(--accent); background: rgba(255,255,255,0.03); border-radius: 0 var(--r-md) var(--r-md) 0; }
.sig-note .n-label { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
.sig-note p { font-family: var(--serif); font-style: italic; font-size: 1.18rem; line-height: 1.5; color: #eef2e9; margin: 0 0 .8rem; }
.sig-note .n-sign { font-size: .85rem; color: #aebaa9; font-weight: 600; }
@media (max-width: 900px) { .sig-grid { grid-template-columns: 1fr; } .sig-img { max-width: 460px; } }

/* ---- Doctor -------------------------------------------------------- */
.doctor { background: var(--cream-2); }
.doc-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.doc-portrait { border-radius: var(--r-lg) var(--r-lg) 160px 160px; overflow: hidden; aspect-ratio: 4/4.8; background: #e7ebe2; box-shadow: var(--sh-md); }
.doc-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .4rem; margin: 1.8rem 0; }
.creds li { list-style: none; display: flex; gap: .6rem; align-items: flex-start; padding: .5rem 0; font-size: .92rem; color: var(--ink); }
.creds li svg { color: var(--accent-deep); flex: 0 0 auto; margin-top: 3px; }
.creds-wrap { padding: 0; margin: 0; }
@media (max-width: 820px) { .doc-grid { grid-template-columns: 1fr; } .doc-portrait { max-width: 360px; } .creds { grid-template-columns: 1fr; } }

/* ---- Before / After ------------------------------------------------ */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.6rem; }
.ba-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; position: relative; }
.ba-pair image-slot { width: 100%; aspect-ratio: 3/3.6; }
.ba-pair .tag { position: absolute; top: 10px; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(20,39,28,.62); padding: .25rem .6rem; border-radius: 999px; }
.ba-pair .tag.before { left: 10px; } .ba-pair .tag.after { right: 10px; }
.ba-card .ba-meta { padding: 1rem 1.2rem; }
.ba-card .ba-meta b { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.ba-card .ba-meta span { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---- Process / what to expect ------------------------------------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.step3 { padding: 1.8rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line-soft); }
.step3 .s-num { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--accent); line-height: 1; margin-bottom: 1rem; }
.step3 h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.step3 p { font-size: .96rem; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 820px) { .steps3 { grid-template-columns: 1fr; } }

/* ---- Closing CTA --------------------------------------------------- */
.closing { background: var(--forest); color: #eef2e9; text-align: center; }
.closing .lede { margin: 1.2rem auto 2.2rem; max-width: 50ch; }
.closing .reassure { margin-top: 1.6rem; font-size: .86rem; color: #9fae9c; display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }
.closing .reassure span { display: inline-flex; align-items: center; gap: .4rem; }
.closing .reassure svg { color: var(--accent); }

/* ---- Footer -------------------------------------------------------- */
.footer { background: #0f1d15; color: #aebaa9; padding: clamp(56px, 8vw, 88px) 0 2.4rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer .f-brand { font-family: var(--serif); font-size: 1.7rem; color: #f3f6f0; font-weight: 600; }
.footer .f-tag { font-family: var(--serif); font-style: italic; color: var(--accent); margin-top: .3rem; }
.footer h4 { font-family: var(--sans); font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #7f8e7c; margin: 0 0 1rem; }
.footer a { color: #cdd6c9; text-decoration: none; display: block; margin-bottom: .55rem; transition: color .18s; }
.footer a:hover { color: var(--accent); }
.footer .f-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #74836f; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } }
