/* ==========================================================================
   Korn Concierge Medicine — site stylesheet
   Design system reverse-engineered from sohoconcierge.com (Elementor layout,
   Poppins type scale, dark-navy / light-blue section rhythm) and re-skinned
   with an original palette + serif display face so it reads as its own brand.

   EDIT BRAND QUICKLY: the tokens below drive colour, type and rhythm.
   ========================================================================== */

:root {
  /* ---- colour ---- */
  --ink:        #0F1B23;   /* primary dark (header, dark sections) */
  --ink-deep:   #0A1218;   /* top bar / footer */
  --ink-2:      #18262F;   /* raised surface on dark */
  --paper:      #FFFFFF;
  --sand:       #F7F3ED;   /* warm section background */
  --light:      #E8EDEA;   /* cool section background (mirrors SoHo #E4EBF0) */
  --text:       #33393D;
  --muted:      #6B767E;
  --accent:     #B0623B;   /* clay / terracotta — primary CTA colour */
  --accent-dk:  #8C4A2A;
  --gold:       #C4A063;   /* hairline accents, eyebrows on dark */
  --line:       rgba(15, 27, 35, .12);
  --line-dark:  rgba(255, 255, 255, .14);

  /* ---- type ---- */
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ---- rhythm ---- */
  --container: 1200px;
  --gutter: 24px;
  --section-y: clamp(64px, 7vw, 112px);
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-sm: 0 1px 2px rgba(15, 27, 35, .06), 0 6px 18px rgba(15, 27, 35, .06);
  --shadow-md: 0 18px 48px -18px rgba(15, 27, 35, .35);
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: -.015em; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------------------------------------------------------- utilities -- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--sand { background: var(--sand); }
.section--light { background: var(--light); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .74); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section__head { max-width: 720px; margin-inline: auto; text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.section__head:not(.section__head--left) .eyebrow { justify-content: center; }
.section--dark .eyebrow { color: var(--gold); }
h2.section__title { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.section__lede { margin-top: 20px; font-size: 1.0625rem; color: var(--muted); max-width: 62ch; }
.section__head:not(.section__head--left) .section__lede { margin-inline: auto; }
.section--dark .section__lede { color: rgba(255, 255, 255, .74); }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* -------------------------------------------------------------- links -- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
  color: var(--ink); padding-bottom: 2px; border-bottom: 1px solid rgba(15,27,35,.25);
  transition: color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: 12px; }
.link-arrow:hover svg { transform: translateX(2px); }
.section--dark .link-arrow { color: #fff; border-color: var(--line-dark); }
.section--dark .link-arrow:hover { color: var(--gold); border-color: var(--gold); }

/* ------------------------------------------------------------ buttons -- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  min-height: 54px;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(0,0,0,.5); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--accent { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--accent:hover { --btn-bg: var(--accent-dk); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(15,27,35,.35); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42); }
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--sm { min-height: 44px; padding: 11px 22px; font-size: .6875rem; letter-spacing: .12em; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------ top bar -- */
.topbar {
  background: var(--ink-deep);
  color: rgba(255,255,255,.62);
  font-size: .75rem;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 46px; }
.topbar__note { display: flex; align-items: center; gap: 10px; }
.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(196,160,99,.18); }
.topbar__links { display: flex; align-items: center; gap: 26px; }
.topbar__links a { transition: color .2s var(--ease); }
.topbar__links a:hover { color: #fff; }
.topbar__social { display: flex; gap: 14px; }
.topbar__social svg { width: 14px; height: 14px; }
@media (max-width: 860px) { .topbar__note, .topbar__social { display: none; } .topbar__inner { justify-content: center; } }

/* ------------------------------------------------------------- header -- */
.header {
  position: sticky; top: 0; z-index: 80;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.header.is-stuck {
  background: rgba(15,27,35,.94);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.8);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand__mark {
  width: 42px; height: 42px; flex: none;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1rem; letter-spacing: .02em; color: var(--gold);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-size: 1.15rem; letter-spacing: .01em; }
.brand__sub { font-size: .5625rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 7px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  font-size: .8125rem; font-weight: 500; letter-spacing: .05em; color: rgba(255,255,255,.8);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.nav__link .chev { width: 9px; height: 9px; transition: transform .25s var(--ease); }
.nav__item.is-open > .nav__link { color: #fff; background: rgba(255,255,255,.09); }
.nav__item.is-open .chev { transform: rotate(180deg); }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 500; color: rgba(255,255,255,.72); }
.header__phone svg { width: 14px; height: 14px; color: var(--gold); }
.header__phone:hover { color: #fff; }

/* mega menu — mirrors the SoHo 12-service flyout */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px);
  width: min(880px, 92vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.mega__link {
  display: flex; align-items: baseline; gap: 9px;
  padding: 9px 10px; border-radius: 8px; font-size: .8125rem; font-weight: 500; color: var(--text);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.mega__link span.n { font-size: .5625rem; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.mega__link:hover { background: var(--sand); color: var(--ink); }
.mega__aside { background: var(--ink); border-radius: var(--radius); padding: 24px; color: rgba(255,255,255,.72); display: flex; flex-direction: column; gap: 12px; justify-content: space-between; }
.mega__aside h4 { color: #fff; font-size: 1.125rem; }
.mega__aside p { font-size: .8125rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.22);
  background: transparent; border-radius: 10px; color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__phone { display: none; }
  .header__inner { min-height: 68px; }
}
@media (max-width: 700px) {
  .header__cta > .btn { display: none; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  padding: 22px var(--gutter) 40px; overflow-y: auto;
  transform: translateY(-100%); transition: transform .4s var(--ease);
  visibility: hidden;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.drawer__close { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); background: none; border-radius: 10px; color: #fff; cursor: pointer; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__link { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.09); color: #fff; font-family: var(--display); font-size: 1.375rem; }
.drawer__sub { padding: 8px 0 8px 14px; color: rgba(255,255,255,.62); font-size: .875rem; }
.drawer__actions { margin-top: 28px; display: grid; gap: 12px; }
.drawer__contact { margin-top: 30px; color: rgba(255,255,255,.6); font-size: .875rem; display: grid; gap: 6px; }

/* --------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: flex; align-items: center;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,18,24,.97) 0%, rgba(10,18,24,.92) 34%, rgba(10,18,24,.55) 66%, rgba(10,18,24,.68) 100%),
    linear-gradient(0deg, rgba(10,18,24,.6), transparent 50%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(70px, 9vw, 120px); max-width: 720px; }
.hero__eyebrow { color: var(--gold); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  font-weight: 500;
  font-variation-settings: "SOFT" 40, "WONK" 0;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero__lede { margin-top: 24px; font-size: clamp(1rem, 1.4vw, 1.1875rem); line-height: 1.68; color: rgba(255,255,255,.8); max-width: 56ch; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 30px;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.68);
}
.hero__meta li { display: flex; align-items: center; gap: 9px; }
.hero__meta svg { width: 13px; height: 13px; color: var(--gold); flex: none; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; opacity: .5; }
.hero__scroll svg { width: 18px; height: 18px; color: #fff; animation: bob 2.6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* page header for interior pages */
.pagehead {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  padding-block: clamp(64px, 8vw, 104px);
}
.pagehead__media { position: absolute; inset: 0; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,18,24,.95) 0%, rgba(10,18,24,.85) 46%, rgba(10,18,24,.5) 100%); }
.pagehead__inner { position: relative; z-index: 2; max-width: 760px; }
.pagehead h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.3rem); line-height: 1.06; }
.pagehead p { margin-top: 18px; color: rgba(255,255,255,.74); font-size: 1.0625rem; max-width: 60ch; }
.crumbs { margin-top: 26px; display: flex; gap: 10px; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: rgba(255,255,255,.3); }

/* ----------------------------------------------------- physician block -- */
.physician { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.physician__portrait { position: relative; }
.portrait-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #20303A 0%, #0F1B23 62%, #18262F 100%);
  aspect-ratio: 4 / 5; display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.portrait-card__monogram {
  font-family: var(--display); font-size: clamp(4rem, 9vw, 6.5rem); color: rgba(255,255,255,.9);
  letter-spacing: .04em; line-height: 1;
}
.portrait-card__rule { width: 74px; height: 1px; background: var(--gold); margin: 22px auto 18px; opacity: .8; }
.portrait-card__cap { text-align: center; padding-inline: 28px; }
.portrait-card__cap .n { font-family: var(--display); font-size: 1.25rem; color: #fff; }
.portrait-card__cap .r { margin-top: 8px; font-size: .625rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.portrait-card__hint {
  position: absolute; left: 14px; top: 14px; right: 14px;
  font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.42);
  border-bottom: 1px dashed rgba(255,255,255,.18); padding-bottom: 10px;
}
.physician__badge {
  position: absolute; right: -14px; bottom: 26px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 12px;
  max-width: 230px;
}
.physician__badge svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.physician__badge .t { font-size: .6875rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.physician__badge .s { font-size: .625rem; color: var(--muted); margin-top: 2px; }
.physician h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.physician__role { margin-top: 12px; font-size: .6875rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.physician__bio { margin-top: 22px; display: grid; gap: 16px; color: var(--muted); font-size: .9688rem; line-height: 1.75; }
.physician__bio strong { color: var(--ink); font-weight: 600; }
.physician__facts { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px; border-top: 1px solid var(--line); }
.fact { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fact__k { font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.fact__v { margin-top: 6px; font-size: .875rem; font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .physician { grid-template-columns: 1fr; } .physician__portrait { max-width: 420px; } .physician__badge { right: 10px; } }

/* ---------------------------------------------------- credential band -- */
.creds { border-block: 1px solid var(--line); background: var(--paper); }
.creds__inner { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; padding-block: 46px; }
.creds__label { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); line-height: 1.7; }
.creds__label b { color: var(--ink); font-weight: 600; display: block; font-family: var(--display); font-size: 1.05rem; letter-spacing: 0; text-transform: none; margin-bottom: 6px; }
.creds__marks { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px; }
.cred {
  border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px;
  text-align: center; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
}
.cred:hover { border-color: rgba(176,98,59,.4); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
/* reserve two title lines so single- and multi-line chips share a baseline */
.cred__n { font-family: var(--display); font-size: .9375rem; color: var(--ink); line-height: 1.25; min-height: 2.5em; display: flex; align-items: flex-start; justify-content: center; }
.cred__s { margin-top: auto; padding-top: 8px; font-size: .5625rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .creds__inner { grid-template-columns: 1fr; } .creds__marks { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .creds__marks { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- value cards -- */
.values { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.value {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(176,98,59,.28); }
.value__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; color: var(--accent); }
.value__ico svg { width: 21px; height: 21px; }
.value h3 { font-size: 1.1875rem; }
.value p { font-size: .875rem; color: var(--muted); line-height: 1.7; }
.section--dark .value { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .value p { color: rgba(255,255,255,.62); }
.section--dark .value__ico { background: rgba(196,160,99,.12); color: var(--gold); }
@media (max-width: 980px) { .values { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ----------------------------------------------------- network section -- */
.network { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.network__body h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.network__body p { margin-top: 20px; color: rgba(255,255,255,.64); font-size: 1rem; line-height: 1.8; }
.network__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.network__cell {
  background: var(--ink); padding: 20px 18px;
  font-family: var(--display); font-size: .875rem; color: rgba(255,255,255,.78); line-height: 1.35;
  display: flex; align-items: center; gap: 10px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.network__cell::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .55; flex: none; }
.network__cell:hover { background: var(--ink-2); color: #fff; }
@media (max-width: 900px) { .network { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .network__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- service grid -- */
.svc-grid { margin-top: clamp(40px, 5vw, 60px); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.svc {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 12px; min-height: 210px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(176,98,59,.28); }
.svc__ico { width: 38px; height: 38px; color: var(--accent); }
.svc__ico svg { width: 100%; height: 100%; }
.svc h3 { font-size: 1.125rem; margin-top: 4px; }
.svc p { font-size: .8438rem; color: var(--muted); line-height: 1.65; flex: 1; }
.svc .link-arrow { font-size: .75rem; }
.svc--feature { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.7); }
.svc--feature h3 { color: #fff; }
.svc--feature p { color: rgba(255,255,255,.6); }
.svc--feature .svc__ico { color: var(--gold); }
.svc--feature .link-arrow { color: #fff; border-color: var(--line-dark); }
.svc--feature .link-arrow:hover { color: var(--gold); border-color: var(--gold); }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- FAQ -- */
.faq { margin-top: clamp(36px, 4vw, 54px); max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
  padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--display); font-size: 1.0625rem; color: var(--ink); line-height: 1.35;
}
.faq__q:hover { color: var(--accent); }
.faq__ic { width: 26px; height: 26px; flex: none; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.faq__ic svg { width: 11px; height: 11px; }
.faq__item.is-open .faq__ic { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq__a { overflow: hidden; height: 0; transition: height .35s var(--ease); }
.faq__a-inner { padding-bottom: 26px; color: var(--muted); font-size: .9375rem; line-height: 1.78; max-width: 68ch; }
.section--dark .faq, .section--dark .faq__item { border-color: var(--line-dark); }
.section--dark .faq__q { color: #fff; }
.section--dark .faq__q:hover { color: var(--gold); }
.section--dark .faq__ic { border-color: var(--line-dark); }
.section--dark .faq__a-inner { color: rgba(255,255,255,.62); }

/* ------------------------------------------------------------- pricing -- */
.plans { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; max-width: 900px; margin-inline: auto; }
.plan {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 34px 34px; display: flex; flex-direction: column; gap: 20px; position: relative;
}
.plan--feature { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.7); }
.plan--feature h3, .plan--feature .plan__price { color: #fff; }
.plan--feature .plan__list li { color: rgba(255,255,255,.72); }
.plan--feature .plan__list svg { color: var(--gold); }
.plan__flag {
  position: absolute; top: -13px; left: 34px;
  background: var(--accent); color: #fff; font-size: .5625rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.plan__name { font-size: .6875rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.plan--feature .plan__name { color: var(--gold); }
.plan h3 { font-size: 1.75rem; margin-top: 2px; }
.plan__price { font-family: var(--display); font-size: 2.75rem; color: var(--ink); line-height: 1; margin-top: 6px; }
.plan__price .u { font-family: var(--sans); font-size: .8125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.plan--feature .plan__price .u { color: rgba(255,255,255,.55); }
.plan__desc { font-size: .9375rem; color: var(--muted); line-height: 1.7; }
.plan--feature .plan__desc { color: rgba(255,255,255,.62); }
.plan__list { display: grid; gap: 12px; margin-top: 4px; }
.plan__list li { display: flex; gap: 12px; font-size: .875rem; color: var(--text); line-height: 1.6; }
.plan__list svg { width: 15px; height: 15px; flex: none; color: var(--accent); margin-top: 4px; }
.plan__note { margin-top: auto; font-size: .6875rem; color: var(--muted); letter-spacing: .04em; }
.plan--feature .plan__note { color: rgba(255,255,255,.5); }
.plans__foot { margin-top: 26px; text-align: center; font-size: .8125rem; color: var(--muted); }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- steps -- */
.steps { margin-top: clamp(38px, 4vw, 58px); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step__n {
  font-family: var(--display); font-size: 2.5rem; color: var(--gold); line-height: 1;
  display: flex; align-items: center; gap: 14px;
}
.step__n::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }
.step h3 { font-size: 1.125rem; }
.step p { font-size: .875rem; color: rgba(255,255,255,.62); line-height: 1.7; }
/* steps on a light background */
.section--sand .step p, .section:not(.section--dark) .step p { color: var(--muted); }
.section--sand .step h3, .section:not(.section--dark) .step h3 { color: var(--ink); }
.section--sand .step__n, .section:not(.section--dark) .step__n { color: var(--accent); }
.section--sand .step__n::after, .section:not(.section--dark) .step__n::after { background: var(--line); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .step__n::after { display: none; } }

/* ------------------------------------------------------------ reviews -- */
.reviews__empty {
  margin-top: clamp(38px, 4vw, 56px); max-width: 720px; margin-inline: auto; text-align: center;
  border: 1px dashed rgba(255,255,255,.22); border-radius: var(--radius-lg); padding: 44px 30px;
  color: rgba(255,255,255,.78);
}
.reviews__empty h3 { font-size: 1.25rem; margin-bottom: 12px; }
.reviews__empty p { font-size: .9375rem; color: rgba(255,255,255,.72); line-height: 1.75; }
.reviews__empty .link-arrow { margin-top: 22px; }
.reviews__grid { margin-top: clamp(38px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.review { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review__stars { display: flex; gap: 3px; color: var(--gold); }
.review__stars svg { width: 14px; height: 14px; }
.review__q { font-size: .9375rem; line-height: 1.8; color: rgba(255,255,255,.8); flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line-dark); padding-top: 16px; }
.review__av { width: 34px; height: 34px; border-radius: 50%; background: rgba(196,160,99,.16); color: var(--gold); display: grid; place-items: center; font-size: .75rem; font-weight: 600; }
.review__name { font-size: .8125rem; font-weight: 600; color: #fff; }
.review__meta { font-size: .6875rem; color: rgba(255,255,255,.45); }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- forms -- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.form-intro h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.form-intro p { margin-top: 18px; color: var(--muted); font-size: .9688rem; line-height: 1.8; }
.form-intro__list { margin-top: 26px; display: grid; gap: 14px; }
.form-intro__list li { display: flex; gap: 12px; font-size: .875rem; color: var(--text); }
.form-intro__list svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 4px; }
.form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--text); font-family: var(--sans); font-size: .9375rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176,98,59,.13);
}
.field textarea { resize: vertical; min-height: 118px; }
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: #C0392B; }
.field__err { font-size: .6875rem; color: #C0392B; display: none; }
.field.is-error .field__err { display: block; }
.form__legal { margin-top: 14px; font-size: .6875rem; color: var(--muted); line-height: 1.65; }
.form__status { margin-top: 14px; font-size: .8125rem; border-radius: 10px; padding: 12px 14px; display: none; }
.form__status.is-ok { display: block; background: rgba(46,125,50,.1); color: #256b2a; }
.form__status.is-err { display: block; background: rgba(192,57,43,.1); color: #A93226; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ CTA band -- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(10,18,24,.95) 0%, rgba(10,18,24,.8) 52%, rgba(10,18,24,.55) 100%); }
.cta-band__inner { position: relative; z-index: 2; padding-block: clamp(56px, 7vw, 92px); display: grid; grid-template-columns: 1.2fr auto; align-items: center; gap: 40px; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,.72); max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- footer -- */
.footer { background: var(--ink-deep); color: rgba(255,255,255,.6); padding-block: 68px 30px; font-size: .875rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(30px, 4vw, 60px); }
.footer .brand { margin-bottom: 20px; }
.footer__about { font-size: .8125rem; line-height: 1.8; color: rgba(255,255,255,.52); max-width: 34ch; }
.footer__social { margin-top: 22px; display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%;
  display: grid; place-items: center; transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer__social svg { width: 15px; height: 15px; }
.footer h4 { font-family: var(--sans); font-size: .6875rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 18px; }
.footer__links { display: grid; gap: 9px; }
.footer__links a { font-size: .8125rem; color: rgba(255,255,255,.55); transition: color .2s var(--ease); }
.footer__links a:hover { color: #fff; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact .k { font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.38); }
.footer__contact .v { font-size: .8125rem; color: rgba(255,255,255,.78); line-height: 1.6; }
.footer__contact a:hover { color: var(--gold); }
.footer__bottom {
  margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: .6875rem; color: rgba(255,255,255,.38); letter-spacing: .03em;
}
.footer__legal { display: flex; gap: 18px; }
.footer__legal a:hover { color: rgba(255,255,255,.7); }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------- reveal animation -- */
/* Content is visible by default. Only a JS-enabled page hides it before the
   observer fires, so a slow, blocked or failed script never leaves a blank
   page, and crawlers see the full text. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* --------------------------------------------------------- prose pages -- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.75rem; margin-top: 44px; }
.prose h3 { font-size: 1.25rem; margin-top: 30px; }
.prose p, .prose li { color: var(--muted); font-size: .9688rem; line-height: 1.85; }
.prose p { margin-top: 16px; }
.prose ul { margin-top: 16px; display: grid; gap: 10px; padding-left: 20px; list-style: disc; }
.prose ul li { padding-left: 4px; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(176,98,59,.35); }
.prose a:hover { color: var(--accent-dk); }
.prose__meta { font-size: .75rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

/* -------------------------------------------------------- service detail -- */
.svc-detail { display: grid; grid-template-columns: 1fr 340px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.svc-detail__body h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 14px; }
.svc-detail__body p { color: var(--muted); font-size: .9688rem; line-height: 1.85; margin-top: 14px; }
.svc-detail__body ul { margin-top: 18px; display: grid; gap: 10px; }
.svc-detail__body ul li { display: flex; gap: 12px; font-size: .9375rem; color: var(--text); }
.svc-detail__body ul li svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 5px; }
.svc-aside { position: sticky; top: 100px; background: var(--sand); border-radius: var(--radius-lg); padding: 30px; }
.svc-aside h3 { font-size: 1.25rem; }
.svc-aside p { margin-top: 12px; font-size: .875rem; color: var(--muted); line-height: 1.7; }
.svc-aside .btn { margin-top: 20px; }
.svc-anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.svc-anchor-nav a {
  font-size: .75rem; letter-spacing: .06em; padding: 8px 14px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--muted); transition: all .2s var(--ease);
}
.svc-anchor-nav a:hover { border-color: var(--accent); color: var(--accent); }
.svc-block { padding-top: 56px; border-top: 1px solid var(--line); margin-top: 56px; }
.svc-block:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.svc-block__head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.svc-block__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); flex: none; }
.svc-block__ico svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; } .svc-aside { position: static; } }

/* ------------------------------------------------------------ skip link -- */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 8px;
  font-size: .8125rem; font-weight: 600; box-shadow: var(--shadow-md);
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ print ---- */
@media print {
  .header, .topbar, .hero__scroll, .drawer, .form, .footer__social { display: none !important; }
  body { color: #000; }
  .section { padding-block: 24px; }
}
