/* =========================================================================
   Dr. Sergey Tonitsky - landing page styles

   Layer 2 of 2. The design-system token files (_ds/.../tokens/*.css) are
   linked BEFORE this file and own every color, type size, space, radius,
   shadow and easing value. This file only composes layout and page-specific
   components out of those tokens - it never invents a value.

   Prefix: .dst-   (avoids collisions with WP/theme class names)
   No inline styles, no !important, no @import.
   ========================================================================= */

:root{
  /* WhatsApp green is a system affordance, not a brand color: it appears
     exclusively on WhatsApp controls. It is the only value not in the DS. */
  --wa-green:#128C4A;
  --wa-green-hover:#0E7A40;
  --header-h:76px;
}

/* ---------- Base additions on top of the DS base layer ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 16px)}
body{overflow-x:hidden;background:var(--white);color:var(--ink-700)}
p:last-child{margin-bottom:0}
ul,ol,dl{margin:0;padding:0;list-style:none}
button,input,select,textarea{font:inherit;color:inherit}

.dst-shell{
  width:min(100% - (var(--gutter) * 2),var(--container-max));
  margin-inline:auto;position:relative;
}
.dst-section{padding-block:var(--section-y)}
.dst-visually-hidden,.dst-honeypot{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
.dst-skip{
  position:absolute;inset-block-start:-999px;inset-inline-start:var(--space-4);z-index:99;
  background:var(--brand);color:var(--on-brand);padding:var(--space-3) var(--space-5);
  border-radius:0 0 var(--radius-sm) var(--radius-sm);text-decoration:none;
}
.dst-skip:focus{inset-block-start:0;color:var(--on-brand)}

/* Teal eyebrow - the one place letter-spacing is opened up */
.dst-eyebrow{
  font-size:var(--text-eyebrow);letter-spacing:var(--ls-eyebrow);text-transform:uppercase;
  color:var(--teal-700);font-weight:var(--fw-semibold);margin-bottom:var(--space-3);
}
.dst-section__head{max-width:var(--measure);margin-bottom:var(--space-9)}
.dst-section__title{font-size:var(--text-display-2);line-height:var(--lh-display-2)}
.dst-section__lead,.dst-lead{
  color:var(--ink-700);font-size:var(--text-lead);line-height:var(--lh-lead);
  margin-top:var(--space-4);max-width:var(--measure);
}

/* ---------- Buttons: pill, 2px lift on hover, .985 press ---------- */
.dst-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);
  min-height:48px;padding:var(--space-3) var(--space-6);border:0;border-radius:var(--radius-pill);
  font-family:var(--font-sans);font-weight:var(--fw-semibold);font-size:var(--text-body);
  text-decoration:none;cursor:pointer;
  transition:background-color var(--dur-fast) var(--ease-standard),
             transform var(--dur-base) var(--ease-standard),
             box-shadow var(--dur-base) var(--ease-standard);
}
.dst-btn:hover{transform:var(--lift-hover)}
.dst-btn:active{transform:scale(var(--press-scale))}
.dst-btn--solid{background:var(--brand);color:var(--on-brand);box-shadow:var(--shadow-sm)}
.dst-btn--solid:hover{background:var(--brand-hover);color:var(--on-brand);box-shadow:var(--shadow-md)}
.dst-btn--solid[disabled]{opacity:.45;cursor:progress;transform:none}
.dst-btn--wa{background:var(--wa-green);color:var(--white);box-shadow:var(--shadow-sm)}
.dst-btn--wa:hover{background:var(--wa-green-hover);color:var(--white);box-shadow:var(--shadow-md)}
.dst-btn--ghost{background:transparent;color:var(--brand);box-shadow:inset 0 0 0 1px var(--border-brand)}
.dst-btn--ghost:hover{background:var(--surface-cool);color:var(--brand)}
.dst-btn--quiet{background:var(--white);color:var(--brand);box-shadow:var(--shadow-xs)}
.dst-btn--quiet:hover{background:var(--navy-50);color:var(--brand)}
.dst-btn--text{background:none;color:var(--text-muted);min-height:44px;padding-inline:var(--space-2);font-weight:var(--fw-medium)}
.dst-btn--text:hover{color:var(--accent);transform:none}
.dst-btn--sm{min-height:42px;padding:var(--space-2) var(--space-5);font-size:var(--text-sm)}
.dst-btn--block{display:flex;width:100%;margin-top:var(--space-6)}
.dst-wa-icon{width:20px;height:20px;flex:none}

/* ---------- 6.1 Header - the only fixed element, translucent glass ---------- */
.dst-header{
  position:fixed;inset-block-start:0;inset-inline:0;z-index:50;
  background:transparent;
  transition:background-color var(--dur-slow) var(--ease-standard),
             box-shadow var(--dur-slow) var(--ease-standard),
             backdrop-filter var(--dur-slow) var(--ease-standard);
}
/* .is-stuck is toggled by main.js after 40px of scroll */
.dst-header.is-stuck{
  background:var(--glass-bg);
  backdrop-filter:var(--blur-glass);
  box-shadow:0 1px 0 var(--border-subtle),var(--shadow-xs);
}
.dst-header__inner{display:flex;align-items:center;gap:var(--space-6);min-height:var(--header-h)}
.dst-logo{display:flex;align-items:center;gap:var(--space-3);text-decoration:none}
.dst-logo img{width:38px;height:38px;flex:none}
.dst-logo__text{display:flex;flex-direction:column;line-height:1.3}
.dst-logo__name{font-family:var(--font-display);font-weight:var(--fw-bold);font-size:var(--text-body);color:var(--text-strong)}
/* Brand descriptor line - part of the lockup, never shortened or rewritten */
.dst-logo__role{font-size:var(--text-xs);color:var(--text-muted)}
.dst-nav{display:flex;gap:var(--space-6);margin-inline-start:auto;font-size:var(--text-sm)}
.dst-nav a{text-decoration:none;color:var(--ink-700);padding-block:var(--space-2);position:relative}
.dst-nav a:hover{color:var(--brand)}
/* Teal active/hover underline - the DS underline device */
.dst-nav a::after{
  content:"";position:absolute;inset-block-end:0;inset-inline:0;height:2px;
  background:var(--accent);transform:scaleX(0);transform-origin:inline-end;
  transition:transform var(--dur-base) var(--ease-standard);
}
.dst-nav a:hover::after{transform:scaleX(1)}
.dst-header__cta{display:flex;align-items:center;gap:var(--space-2);margin-inline-start:var(--space-4)}
.dst-iconbtn{
  display:inline-flex;align-items:center;gap:var(--space-2);min-height:44px;
  padding-inline:var(--space-3);text-decoration:none;color:var(--brand);
  font-weight:var(--fw-semibold);font-size:var(--text-sm);border-radius:var(--radius-pill);
  transition:background-color var(--dur-fast) var(--ease-standard);
}
.dst-iconbtn:hover{background:var(--surface-cool);color:var(--brand)}
.dst-iconbtn svg{width:18px;height:18px}

/* Hamburger: three hairlines that become an X. Hidden above 1024px, where the
   full nav is visible. Sits opposite the logo (inline-end in RTL). */
.dst-burger{
  display:none;margin-inline-start:auto;
  width:44px;height:44px;padding:0;border:0;background:transparent;cursor:pointer;
  border-radius:var(--radius-sm);
  place-items:center;align-content:center;gap:5px;
}
.dst-burger span{
  display:block;width:22px;height:2px;border-radius:2px;background:var(--brand);
  transition:transform var(--dur-base) var(--ease-standard),opacity var(--dur-fast) var(--ease-standard);
}
.dst-burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.dst-burger.is-open span:nth-child(2){opacity:0}
.dst-burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.dst-mobilenav{display:none}

/* ---------- 6.2 Hero - sand gradient, navy circle behind the cut-out ---------- */
.dst-hero{
  position:relative;
  padding-block:calc(var(--header-h) + var(--space-11)) 0;
  background:linear-gradient(180deg,var(--navy-100),var(--navy-50));
  overflow:hidden;
}
.dst-hero__grid{
  display:grid;grid-template-columns:1.05fr .85fr;
  gap:var(--space-10);align-items:end;
}
.dst-hero__copy{padding-block:0 var(--space-11)}
.dst-hero__title{
  font-size:var(--text-display-1);line-height:var(--lh-display-1);
  letter-spacing:var(--ls-tight);max-width:18ch;
}
.dst-hero__title em{font-style:normal;color:var(--brand);display:block}
.dst-hero__sub{
  margin-top:var(--space-5);max-width:52ch;
  font-size:var(--text-lead);line-height:var(--lh-lead);color:var(--ink-700);
}
.dst-chips{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-7)}
.dst-chip{
  background:var(--surface-cool);color:var(--navy-700);border:1px solid var(--navy-100);
  border-radius:var(--radius-pill);padding:var(--space-2) var(--space-4);
  font-size:var(--text-sm);font-weight:var(--fw-medium);
}
.dst-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);margin-top:var(--space-8)}

/* The one geometric ornament in the system: a large navy circle echoing the
   logo mark, sitting behind the cut-out portrait. */
.dst-hero__portrait{position:relative;margin:0;align-self:end}
.dst-hero__portrait::before{
  content:"";position:absolute;z-index:0;
  inset-block-start:0;inset-inline-start:50%;
  width:min(30vw,360px);aspect-ratio:1;transform:translate(50%,-12%);
  background:var(--navy-700);border-radius:var(--radius-circle);
}
/* Intrinsic aspect ratio (518×702) - no object-fit box, so the cut-out's own
   straight bottom crop lands exactly on the hero's baseline instead of
   letterboxing above it. */
.dst-hero__portrait img{
  position:relative;z-index:1;display:block;width:100%;height:auto;
  max-width:460px;margin-inline:auto;
}
.dst-portrait__badge{
  position:absolute;z-index:2;inset-block-end:var(--space-9);inset-inline-start:0;
  background:var(--surface-card);border:1px solid var(--border-subtle);
  border-radius:var(--radius-md);padding:var(--space-3) var(--space-5);
  box-shadow:var(--shadow-md);display:grid;gap:2px;
}
.dst-portrait__badge span{font-size:var(--text-xs);color:var(--text-muted)}
.dst-portrait__badge strong{font-family:var(--font-display);font-size:var(--text-h3);color:var(--text-strong)}

/* ---------- 6.4 Services - 3-up cards with teal medallions ---------- */
.dst-services{background:var(--white)}
.dst-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-5)}
.dst-card{
  background:var(--surface-card);border:1px solid var(--border-subtle);
  border-radius:var(--radius-lg);padding:var(--space-6);box-shadow:var(--shadow-xs);
  display:flex;flex-direction:column;gap:var(--space-3);
  transition:transform var(--dur-base) var(--ease-standard),
             box-shadow var(--dur-base) var(--ease-standard),
             border-color var(--dur-base) var(--ease-standard);
}
.dst-card:hover{transform:var(--lift-hover);box-shadow:var(--shadow-md);border-color:var(--border-brand)}
/* 48px accent-soft medallion holding a 22px teal stroke icon */
.dst-card__icon{
  width:48px;height:48px;border-radius:var(--radius-circle);background:var(--accent-soft);
  display:grid;place-items:center;color:var(--accent);margin-bottom:var(--space-1);
}
.dst-card__icon svg{width:22px;height:22px}
/* Design-system TreatmentIcon glyphs: 64-grid, stroke-only, currentColor */
.dst-card__icon .dst-tico{width:26px;height:26px}
.dst-page__head .dst-card__icon .dst-tico{width:30px;height:30px}
.dst-card h3{font-size:var(--text-h3)}
.dst-card p{color:var(--ink-700);font-size:var(--text-sm);line-height:var(--lh-sm);margin:0}
.dst-card__wa,.dst-card__link{
  margin-block-start:auto;padding-block-start:var(--space-4);
  font-weight:var(--fw-semibold);font-size:var(--text-sm);
  text-decoration:none;min-height:44px;
  display:flex;gap:var(--space-2);
}
.dst-card__wa{align-items:flex-end}
.dst-card__link{align-items:center;justify-content:flex-start}
.dst-card__wa{color:var(--wa-green)}
.dst-card__wa:hover{color:var(--wa-green-hover);text-decoration:underline}
.dst-card__link{color:var(--brand)}
/* Chevron affordance on the internal link, matching the breadcrumb glyph */
/* Chevron is optically centred on the label's x-height, not its baseline */
.dst-card__link::after{content:"\203A";font-size:1.35em;line-height:0;transform:translateY(-1px)}
.dst-card__link:hover{color:var(--accent);text-decoration:underline}

/* ---------- 6.5 About - 2-up text/image pair on sand ---------- */
.dst-about{background:var(--surface-cool)}
.dst-about__grid{display:grid;grid-template-columns:.8fr 1fr;gap:var(--space-10);align-items:center}
.dst-about__media{margin:0;position:relative}
.dst-about__media img{
  border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);
  width:100%;aspect-ratio:4/5;object-fit:cover;object-position:top;
}
.dst-deflist{display:grid;gap:var(--space-4);margin-top:var(--space-7)}
.dst-deflist dt{font-size:var(--text-eyebrow);letter-spacing:var(--ls-eyebrow);text-transform:uppercase;color:var(--teal-700);font-weight:var(--fw-semibold)}
.dst-deflist dd{margin:0;font-weight:var(--fw-medium);color:var(--text-strong)}

/* ---------- 6.6 Second opinion - inverse CTA band, 28px radius ---------- */
.dst-second{background:var(--white)}
.dst-second__band{
  background:var(--surface-inverse);color:var(--text-on-dark);
  border-radius:var(--radius-xl);box-shadow:var(--shadow-brand);
  display:grid;grid-template-columns:1.1fr .9fr;gap:var(--space-9);
  align-items:center;overflow:hidden;
}
.dst-second__copy{padding:var(--space-10)}
.dst-eyebrow--dark{color:var(--teal-300)}
.dst-second__title{font-size:var(--text-display-2);line-height:var(--lh-display-2);color:var(--white)}
.dst-second__lead{
  margin-top:var(--space-4);font-size:var(--text-lead);line-height:var(--lh-lead);
  color:var(--text-on-dark);max-width:46ch;
}
.dst-second__list{display:grid;gap:var(--space-3);margin-block:var(--space-6) var(--space-8)}
.dst-second__list li{
  position:relative;padding-inline-start:var(--space-6);
  font-size:var(--text-sm);color:var(--text-on-dark-muted);
}
.dst-second__list li::before{
  content:"";position:absolute;inset-inline-start:0;inset-block-start:9px;
  width:8px;height:8px;border-radius:var(--radius-circle);background:var(--teal-300);
}
.dst-second__media{margin:0;align-self:stretch}
.dst-second__media img{width:100%;height:100%;object-fit:cover;object-position:top}

/* ---------- 6.7 Testimonials - warm, borderless, rose quote glyph ---------- */
.dst-testimonials{background:var(--white)}
.dst-quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-5)}
.dst-quote{
  background:var(--surface-cool);border-radius:var(--radius-lg);
  padding:var(--space-7) var(--space-6);display:grid;gap:var(--space-4);
  position:relative;
}
/* The single deliberate unicode glyph, set in the display serif, rose */
.dst-quote::before{
  content:"\201D";position:absolute;inset-block-start:var(--space-2);inset-inline-start:var(--space-6);
  font-family:var(--font-display);font-size:56px;line-height:1;color:var(--decor);
}
.dst-quote blockquote{margin:0;font-family:var(--font-display);font-size:var(--text-h3);line-height:1.5;color:var(--text-strong)}
.dst-quote cite{font-style:normal;font-size:var(--text-sm);color:var(--text-muted)}

/* Embedded third-party review widget: white surface, hairline, card radius */
.dst-reviews{
  background:var(--surface-card);border:1px solid var(--border-subtle);
  border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);overflow:hidden;
}
.dst-reviews__frame{display:block;width:100%;height:270px;border:0}
@media (max-width:720px){
  .dst-reviews__frame{height:320px}
}

/* ---------- 6.8 FAQ - accordion on sand ---------- */
.dst-faq{background:var(--surface-cool)}
.dst-faq__shell{width:min(100% - (var(--gutter) * 2),var(--container-narrow))}
.dst-accordion{display:grid;gap:var(--space-3)}
.dst-accordion details{
  background:var(--surface-card);border:1px solid var(--border-subtle);
  border-radius:var(--radius-md);padding-inline:var(--space-6);box-shadow:var(--shadow-xs);
  transition:border-color var(--dur-base) var(--ease-standard);
}
.dst-accordion details:hover{border-color:var(--border-brand)}
.dst-accordion summary{
  cursor:pointer;list-style:none;padding-block:var(--space-5);min-height:44px;
  font-weight:var(--fw-semibold);color:var(--text-strong);
  display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);
}
.dst-accordion summary::-webkit-details-marker{display:none}
/* Chevron: a rotated hairline square - no icon font, no extra request */
.dst-accordion summary::after{
  content:"";width:8px;height:8px;flex:none;
  border-inline-end:2px solid var(--accent);border-block-end:2px solid var(--accent);
  transform:rotate(45deg);transition:transform var(--dur-base) var(--ease-standard);
}
.dst-accordion details[open] summary::after{transform:rotate(225deg)}
.dst-accordion details p{padding-block-end:var(--space-5);color:var(--ink-700);font-size:var(--text-sm);margin:0}

/* ---------- 6.9 Contact - form card + inverse clinic panel ---------- */
.dst-contact{background:var(--white)}
.dst-contact__grid{display:grid;grid-template-columns:1.1fr .9fr;gap:var(--space-9);align-items:start}
.dst-formwrap{
  background:var(--surface-card);border:1px solid var(--border-subtle);
  border-radius:var(--radius-xl);padding:var(--space-8);box-shadow:var(--shadow-lg);
}
.dst-form{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4);margin-top:var(--space-7)}
.dst-field{display:grid;gap:var(--space-2)}
.dst-field--full{grid-column:1/-1}
.dst-field label{font-size:var(--text-sm);font-weight:var(--fw-semibold);color:var(--text-strong)}
.dst-optional{font-weight:var(--fw-regular);color:var(--text-muted)}
.dst-field input,.dst-field select,.dst-field textarea{
  background:var(--white);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);
  padding:var(--space-3) var(--space-4);min-height:48px;width:100%;
  box-shadow:var(--shadow-inset-hair);
  transition:border-color var(--dur-fast) var(--ease-standard),box-shadow var(--dur-fast) var(--ease-standard);
}
.dst-field textarea{min-height:96px;resize:vertical}
/* 3px teal halo inside form fields on focus */
.dst-field input:focus,.dst-field select:focus,.dst-field textarea:focus{
  border-color:var(--teal-500);box-shadow:0 0 0 3px var(--teal-100);outline:none;
}
.dst-field input[aria-invalid="true"],.dst-field select[aria-invalid="true"]{border-color:var(--danger)}
.dst-error{color:var(--danger);font-size:var(--text-sm);margin:0}
.dst-consent{grid-template-columns:auto 1fr;align-items:start;gap:var(--space-3)}
.dst-consent input{width:20px;height:20px;min-height:20px;margin-block-start:4px;accent-color:var(--accent)}
.dst-consent label{font-weight:var(--fw-regular);font-size:var(--text-sm);color:var(--ink-700)}
.dst-form__status{grid-column:1/-1;margin:0;font-weight:var(--fw-semibold);min-height:24px;font-size:var(--text-sm)}
.dst-form__status.is-success{color:var(--success)}
.dst-form__status.is-error{color:var(--danger)}

.dst-clinic{
  background:var(--surface-inverse);color:var(--text-on-dark);
  border-radius:var(--radius-xl);padding:var(--space-8);box-shadow:var(--shadow-brand);
}
.dst-clinic__title{font-size:var(--text-h2);color:var(--white)}
.dst-clinic .dst-deflist dt{color:var(--teal-300)}
.dst-clinic .dst-deflist dd{color:var(--text-on-dark)}
.dst-clinic a{color:var(--white);text-decoration-color:var(--navy-400)}
.dst-clinic a:hover{color:var(--teal-300)}
.dst-map{margin-top:var(--space-6);border-radius:var(--radius-md);overflow:hidden}
.dst-map__frame{display:block;width:100%;height:240px;border:0}

/* ---------- 6.10 Footer - inverse navy band ---------- */
.dst-footer{
  background:var(--surface-inverse);color:var(--text-on-dark-muted);
  padding-block:var(--space-10) var(--space-7);font-size:var(--text-sm);
}
.dst-footer__grid{display:grid;grid-template-columns:1fr auto;gap:var(--space-6)}
.dst-footer__brand{display:flex;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4)}
.dst-footer__brand img{width:34px;height:34px}
.dst-footer__name{font-family:var(--font-display);color:var(--white);font-size:var(--text-body);margin:0}
.dst-footer p{margin:0 0 var(--space-1)}
.dst-footer a{color:var(--text-on-dark);text-decoration-color:var(--navy-500)}
.dst-footer a:hover{color:var(--teal-300)}
.dst-footer__links{display:flex;flex-wrap:wrap;gap:var(--space-5);align-items:flex-start}
.dst-footer__phone a{font-family:var(--font-display);font-size:var(--text-h3);color:var(--white);text-decoration:none}
.dst-footer__phone a:hover{color:var(--teal-300)}
.dst-social{display:flex;gap:var(--space-3);margin-top:var(--space-5)}
.dst-social__link{
  width:44px;height:44px;border-radius:var(--radius-circle);
  display:grid;place-items:center;color:var(--text-on-dark);
  border:1px solid var(--navy-700);
  transition:background-color var(--dur-fast) var(--ease-standard),color var(--dur-fast) var(--ease-standard);
}
.dst-social__link:hover{background:var(--navy-700);color:var(--teal-300)}
.dst-social__link svg{width:20px;height:20px}
.dst-footer__disclaimer,.dst-footer__copy{
  grid-column:1/-1;border-block-start:1px solid var(--navy-700);
  padding-block-start:var(--space-5);max-width:var(--measure);
}
.dst-footer__copy{border:0;padding-block-start:0;font-size:var(--text-xs)}

/* ---------- 6.11 Floating WhatsApp (bottom-left in RTL) ---------- */
.dst-float{
  position:fixed;inset-block-end:var(--space-5);inset-inline-start:var(--space-5);z-index:60;
  width:58px;height:58px;border-radius:var(--radius-circle);
  display:grid;place-items:center;background:var(--wa-green);color:var(--white);
  box-shadow:var(--shadow-lg);
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity var(--dur-slow) var(--ease-out-soft),
             transform var(--dur-slow) var(--ease-out-soft),visibility var(--dur-slow);
}
/* .is-visible is toggled by main.js past 25% scroll depth */
.dst-float.is-visible{opacity:1;visibility:visible;transform:none}
.dst-float:hover{background:var(--wa-green-hover);color:var(--white)}
.dst-float .dst-wa-icon{width:28px;height:28px}

/* =========================================================================
   TREATMENT PAGES (services/*.html)
   ========================================================================= */
.dst-page__hero{
  background:linear-gradient(180deg,var(--navy-100),var(--navy-50));
  padding-block:calc(var(--header-h) + var(--space-9)) var(--space-10);
}
.dst-crumbs{
  display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);
  font-size:var(--text-sm);color:var(--text-muted);margin-bottom:var(--space-7);
}
.dst-crumbs a{text-decoration:none;color:var(--ink-700)}
.dst-crumbs a:hover{color:var(--accent)}
.dst-crumbs span[aria-current]{color:var(--text-strong);font-weight:var(--fw-semibold)}
/* Title block leads (right in RTL); the clinical photo fills the empty half */
.dst-page__hero-grid{display:grid;grid-template-columns:1fr .85fr;gap:var(--space-9);align-items:center}
.dst-page__head{max-width:var(--measure)}
.dst-page__media{margin:0}
.dst-page__media img{
  width:100%;aspect-ratio:3/2;object-fit:cover;object-position:50% 30%;
  border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);
}
.dst-page__head .dst-card__icon{margin-bottom:var(--space-5);width:56px;height:56px}
.dst-page__title{font-size:var(--text-display-2);line-height:var(--lh-display-2)}
.dst-page__lead{
  margin-top:var(--space-4);font-size:var(--text-lead);line-height:var(--lh-lead);color:var(--ink-700);
}
.dst-page__body{background:var(--white)}
.dst-page__grid{display:grid;grid-template-columns:1fr 360px;gap:var(--space-10);align-items:start}

.dst-prose{max-width:var(--measure)}
.dst-prose h2{font-size:var(--text-h2);margin-block:var(--space-9) var(--space-4)}
.dst-prose h2:first-child{margin-block-start:0}
.dst-prose p{color:var(--ink-700)}
.dst-ticks{display:grid;gap:var(--space-3)}
.dst-ticks li{position:relative;padding-inline-start:var(--space-6);color:var(--ink-700)}
.dst-ticks li::before{
  content:"";position:absolute;inset-inline-start:0;inset-block-start:10px;
  width:8px;height:8px;border-radius:var(--radius-circle);background:var(--accent);
}
.dst-note{
  margin-block-start:var(--space-9);padding:var(--space-5) var(--space-6);
  background:var(--surface-cool);border:1px solid var(--navy-100);border-radius:var(--radius-md);
  font-size:var(--text-sm);color:var(--text-muted);
}

/* Sticky booking card - the design system's treatment-page pattern */
.dst-book{
  position:sticky;inset-block-start:96px;
  background:var(--surface-card);border:1px solid var(--border-subtle);
  border-radius:var(--radius-lg);padding:var(--space-6);box-shadow:var(--shadow-md);
}
.dst-book__title{font-size:var(--text-h3)}
.dst-book__lead{margin-top:var(--space-2);font-size:var(--text-sm);color:var(--ink-700)}
.dst-book .dst-btn--block{margin-top:var(--space-3)}
.dst-book .dst-deflist{margin-top:var(--space-6);padding-block-start:var(--space-5);border-block-start:1px solid var(--border-subtle)}
.dst-book .dst-deflist dd{font-size:var(--text-sm)}

.dst-related{background:var(--surface-cool)}
.dst-related .dst-section__title{font-size:var(--text-h2);margin-bottom:var(--space-6)}
.dst-related__list{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-3)}
.dst-related__list a{
  display:flex;align-items:center;gap:var(--space-3);min-height:56px;
  background:var(--surface-card);border:1px solid var(--border-subtle);
  border-radius:var(--radius-md);padding:var(--space-4) var(--space-5);
  text-decoration:none;color:var(--text-strong);font-weight:var(--fw-semibold);
  transition:border-color var(--dur-base) var(--ease-standard),transform var(--dur-base) var(--ease-standard);
}
.dst-related__list a::before{content:"\203A";color:var(--accent);font-size:1.3em;line-height:1}
.dst-related__list a:hover{border-color:var(--border-brand);transform:var(--lift-hover);color:var(--brand)}

/* Compact booking-card form */
.dst-form--compact{grid-template-columns:1fr;gap:var(--space-3);margin-top:var(--space-4)}
.dst-form--compact .dst-field input{min-height:46px}
.dst-book__or{
  display:flex;align-items:center;gap:var(--space-3);
  margin:var(--space-5) 0 0;font-size:var(--text-sm);color:var(--text-muted);
}
.dst-book__or::before,.dst-book__or::after{content:"";height:1px;flex:1;background:var(--border-subtle)}

/* Mobile sticky action bar */
.dst-actionbar{display:none}
@media (max-width:720px){
  .dst-actionbar{
    position:fixed;inset-inline:0;inset-block-end:0;z-index:70;
    display:grid;grid-template-columns:1.4fr 1fr;
    background:var(--white);border-block-start:1px solid var(--border-subtle);
    box-shadow:0 -6px 24px rgba(20,28,38,.10);
    padding:var(--space-2);gap:var(--space-2);
    padding-block-end:calc(var(--space-2) + env(safe-area-inset-bottom));
  }
  .dst-actionbar a{
    display:flex;align-items:center;justify-content:center;gap:var(--space-2);
    min-height:50px;border-radius:var(--radius-pill);
    font-weight:var(--fw-semibold);font-size:var(--text-sm);text-decoration:none;
  }
  .dst-actionbar__wa{background:var(--wa-green);color:var(--white)}
  .dst-actionbar__call{background:var(--surface-cool);color:var(--brand);box-shadow:inset 0 0 0 1px var(--border-brand)}
  .dst-actionbar svg{width:20px;height:20px}
  /* The bubble and the bar would stack; the bar wins on mobile */
  .dst-float{display:none}
  .dst-footer{padding-block-end:calc(var(--space-10) + 60px)}
}

/* Legal pages */
.dst-legal{width:min(100% - (var(--gutter) * 2),var(--container-narrow))}
.dst-legal .dst-prose h2{font-size:var(--text-h3)}
.dst-legal .dst-prose strong{color:var(--text-strong)}

/* ---------- Motion: fades and 2px translations only ---------- */
.dst-reveal{
  opacity:0;transform:translateY(8px);
  transition:opacity var(--dur-reveal) var(--ease-out-soft),transform var(--dur-reveal) var(--ease-out-soft);
}
.dst-reveal.is-in{opacity:1;transform:none}
.dst-hero .dst-reveal:nth-child(1){transition-delay:40ms}
.dst-hero .dst-reveal:nth-child(2){transition-delay:100ms}
.dst-hero .dst-reveal:nth-child(3){transition-delay:160ms}
.dst-hero .dst-reveal:nth-child(4){transition-delay:220ms}
.dst-hero .dst-reveal:nth-child(5){transition-delay:280ms}
.dst-hero__portrait{transition-delay:120ms}

.dst-only-mobile{display:none}

/* ---------- Responsive: 1440 → 1024 → 720 → 375 → 320 ---------- */
@media (max-width:1024px){
  .dst-nav{display:none}
  .dst-burger{display:grid}
  .dst-mobilenav{
    display:block;position:fixed;inset-block-start:var(--header-h);inset-inline:0;z-index:49;
    background:var(--white);border-block-end:1px solid var(--border-subtle);
    box-shadow:var(--shadow-md);
    max-height:0;overflow:hidden;
    transition:max-height var(--dur-slow) var(--ease-standard);
  }
  .dst-mobilenav[hidden]{display:none}
  .dst-mobilenav.is-open{max-height:min(70vh,520px);overflow-y:auto}
  .dst-mobilenav ul{display:grid;padding:var(--space-3) var(--gutter) var(--space-5)}
  .dst-mobilenav a{
    display:flex;align-items:center;min-height:52px;
    color:var(--text-strong);text-decoration:none;font-weight:var(--fw-semibold);
    border-block-end:1px solid var(--border-subtle);
  }
  .dst-mobilenav li:last-child a{border-block-end:0}
  .dst-mobilenav__cta{
    margin-block-start:var(--space-4);justify-content:center;
    background:var(--brand);color:var(--on-brand);border-radius:var(--radius-pill);
  }
  .dst-cards{grid-template-columns:repeat(2,1fr)}
  .dst-quotes{grid-template-columns:1fr}
  .dst-second__band{grid-template-columns:1fr;gap:0}
  .dst-second__copy{padding:var(--space-8);order:2}
  .dst-second__media{order:1}
  .dst-second__media img{aspect-ratio:16/11;height:auto;object-position:50% 22%}
  .dst-hero{padding-block-end:0}
  .dst-hero__grid{grid-template-columns:1fr;gap:var(--space-8)}
  .dst-hero__copy{padding-block:0}
  .dst-hero__portrait{max-width:420px;margin-inline:auto}
  .dst-about__grid{grid-template-columns:1fr}
  .dst-page__hero-grid{grid-template-columns:1fr;gap:var(--space-7)}
  .dst-page__media img{aspect-ratio:16/9;max-height:320px}
  .dst-page__grid{grid-template-columns:1fr;gap:var(--space-8)}
  .dst-book{position:static}
  .dst-about__media{max-width:420px}
  .dst-contact__grid{grid-template-columns:1fr}
}
@media (max-width:720px){
  /* MOBILE CTA POLICY - one persistent pair, one in-view ask.
     The sticky bottom bar owns WhatsApp and call at all times, so the header
     CTAs and the hero WhatsApp button are removed: three green buttons in the
     first viewport read as a cheap funnel, not a clinic. In-content CTAs
     further down the page stay - they carry context the bar cannot. */
  .dst-header__cta{display:none}
  .dst-hero__actions .dst-btn--wa{display:none}
  .dst-only-mobile{display:none}
  .dst-logo__role{display:none}
  .dst-logo{margin-inline-end:auto}
  /* With WhatsApp handled by the bar, the hero's single ask is the form */
  .dst-hero__actions .dst-btn--ghost{
    width:100%;background:var(--brand);color:var(--on-brand);
    box-shadow:var(--shadow-md);
  }
  .dst-hero__actions .dst-btn--ghost:hover{background:var(--brand-hover);color:var(--on-brand)}
  .dst-cards{grid-template-columns:1fr}
  .dst-related__list{grid-template-columns:1fr}
  .dst-form{grid-template-columns:1fr}
  .dst-footer__grid{grid-template-columns:1fr}
  .dst-formwrap{padding:var(--space-6)}
  .dst-portrait__badge{inset-block-end:var(--space-3);inset-inline-start:var(--space-3)}
}
@media (max-width:720px){
  .dst-second__media img{aspect-ratio:4/3;object-position:50% 18%}
  /* A 4/5 portrait at full width fills an entire phone screen. Cap the HEIGHT
     and let the width follow, so the whole photo stays visible - no crop. */
  .dst-about__grid{gap:var(--space-6)}
  .dst-about__media{max-width:none;display:flex;justify-content:center}
  .dst-about__media img{
    max-height:250px;width:auto;max-width:100%;height:auto;
    aspect-ratio:auto;object-fit:contain;border-radius:var(--radius-lg);
  }
}
@media (max-width:360px){
  .dst-second__copy{padding:var(--space-6)}
}

/* ---------- Reduced motion: no transforms, no opacity animation ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none;transition:none}
  .dst-reveal{opacity:1;transform:none}
  .dst-float{transform:none}
  .dst-btn:hover,.dst-card:hover,.dst-map__btn:hover{transform:none}
}

/* ---------- Print: keep contact details useful on paper ---------- */
@media print{
  .dst-header,.dst-float,.dst-map,.dst-form,.dst-reviews{display:none}
  body{background:var(--white)}
}
