/* ==========================================================================
   Tender Skin International: skin LP (v3)
   Same feel as the Aeon page: Bricolage Grotesque + DM Sans, pill buttons,
   rounded panels, soft white planner card. Brand colour lives in --brand.
   ========================================================================== */

:root {
  --ink: #16201f;
  --ink-soft: #33403f;
  --muted: #5d6b6a;
  --paper: #f1f6f5;
  --white: #ffffff;
  --line: #d9e4e3;
  --brand: #1d7778;        /* TSI logo teal (#41AAAB), deepened for readable white text */
  --brand-deep: #135a5b;
  --brand-logo: #41aaab;
  --brand-wash: #e4f3f3;
  --gold: #b3843a;
  --gold-soft: #f6ead3;
  --wa: #1c9a55;
  --danger: #b42318;

  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --wrap: 1160px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(36px, 7vw, 60px); font-weight: 750; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.lede { color: var(--muted); font-size: 18px; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; font: 700 16px/1.2 var(--body); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease; }
.btn img { width: 20px; height: 20px; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-primary:disabled { background: #7fb0b1; cursor: progress; }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #157a43; }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: var(--white); color: var(--brand-deep); }
.btn-light:hover { background: var(--brand-wash); }
.btn-text { background: none; color: var(--muted); padding: 0 12px; }
.btn-text:hover { color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Top bar + header ---------- */
.topbar { background: #0f3f40; color: #d7ecec; font-size: 14px; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 36px; }
.tb-long { display: none; }
.topbar-phone { color: var(--gold-soft); font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.2) blur(8px); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(22, 32, 31, .06); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.wordmark { font-family: var(--display); font-weight: 750; font-size: 21px; line-height: 1; letter-spacing: -0.02em; text-decoration: none; color: var(--brand); }
.wordmark span { color: var(--ink); font-weight: 500; }
.wordmark-light, .wordmark-light span { color: var(--white); }
.header-actions { display: flex; gap: 8px; flex-shrink: 0; }
.header-actions .btn-primary { white-space: nowrap; }
@media (max-width: 419px) { .header-actions .btn-primary { white-space: normal; width: min-content; } }
.header-actions .btn-wa span { display: none; }
.header-actions .btn-sm { padding: 0 14px; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 44px; background: var(--white); }
.hero-grid { display: grid; gap: 28px; }
.hero-kicker { display: inline-block; font-size: 14px; font-weight: 700; color: var(--brand-deep); background: var(--brand-wash); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { max-width: 14ch; }
.hero-sub { font-size: 19px; color: var(--ink-soft); max-width: 46ch; margin: 18px 0 22px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hero-proof p { margin: 0; padding: 12px; background: var(--paper); border-radius: var(--r-md); font-size: 13px; color: var(--muted); line-height: 1.35; }
.hero-proof strong { font-family: var(--display); font-size: 26px; font-weight: 750; color: var(--ink); line-height: 1.15; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: 12px; }
.hero-call { margin: 18px 0 0; font-size: 16px; color: var(--ink-soft); }
.hero-call a { font-weight: 700; }

/* ---------- Planner: white card, like the Aeon page ---------- */
.planner { background: var(--white); border-radius: var(--r-lg); box-shadow: 0 0 0 1.5px var(--line), 0 18px 40px -18px rgba(19, 90, 91, .22); padding: 22px 18px 18px; scroll-margin-top: 90px; }
.planner-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.planner-title { font-family: var(--display); font-weight: 700; font-size: 22px; margin: 0; }
.planner-count { font-size: 14px; color: var(--muted); margin: 0; white-space: nowrap; }
.planner-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0 16px; }
.planner-progress span { height: 6px; border-radius: 999px; background: var(--line); transition: background-color .3s ease; }
.planner-progress span.is-on { background: var(--brand); }
.planner-step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.planner-step.is-active { display: block; }
.planner-step legend { font-family: var(--display); font-weight: 650; font-size: 19px; padding: 0; margin-bottom: 14px; }
.chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.chip-grid-3 { grid-template-columns: 1fr; }
.chip { min-height: 54px; padding: 10px 12px; text-align: left; background: var(--paper); border: 1.5px solid transparent; border-radius: var(--r-md); font-weight: 500; font-size: 15px; line-height: 1.25; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.chip:hover { border-color: #a9d3d3; }
.chip.is-selected { background: var(--brand-wash); border-color: var(--brand); color: var(--brand-deep); font-weight: 700; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); font: 500 16px/1.2 var(--body); color: var(--ink); -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236a6166' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-wash); }
.field input.is-invalid { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.seg-toggle { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin: 2px 0 14px; padding: 4px; border-radius: var(--r-md); background: var(--paper); }
.seg-toggle label { position: relative; cursor: pointer; }
.seg-toggle input { position: absolute; opacity: 0; inset: 0; }
.seg-toggle span { display: block; text-align: center; padding: 11px 6px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--muted); }
.seg-toggle input:checked + span { background: var(--white); color: var(--brand-deep); box-shadow: 0 1px 4px rgba(22, 32, 31, .14); }
.seg-toggle input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 1px; }
.step-error, .validation-message { display: block; color: var(--danger); font-size: 14px; margin: -6px 0 12px; line-height: 1.4; }
.step-error:empty { display: none; }
.planner-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; }
.planner-nav .btn-primary { flex: 1; }
/* OTP step: same class names as the bookings LPs. ".show-otp-c" on the parent swaps the form for the OTP box. */
.verify-otp-c { display: none; }
.show-otp-c .get-otp-c { display: none; }
.show-otp-c .verify-otp-c { display: block; }
.otp-note { color: var(--muted); font-size: 15px; line-height: 1.45; margin: 0 0 16px; }
.otp-note strong, .verify-otp-c .modal-note strong { color: var(--ink); white-space: nowrap; }
.verify-otp-c .field input { font-size: 20px; letter-spacing: .25em; text-align: center; }
.verify-otp-c .btn-text { min-height: 44px; margin-top: 6px; }
.form-fine { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; line-height: 1.45; }

/* ---------- Bands ---------- */
.band { padding-block: 64px; }
.band-white { background: var(--white); }
.band-deep { background: #0f3f40; color: #d7ecec; }
.band-deep h2, .band-deep h3 { color: var(--white); }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.row-head p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Pigmentation we treat: rounded rows ---------- */
.treat-index h2 { margin-bottom: 12px; }
.treat-index .lede { margin-bottom: 26px; }
.index-list { list-style: none; display: grid; gap: 10px; }
.index-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; width: 100%; padding: 18px 18px 18px 20px; text-align: left; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .15s ease; }
.index-row:hover { border-color: var(--brand); }
.index-name { font-family: var(--display); font-weight: 650; font-size: 20px; line-height: 1.2; }
.index-desc { grid-column: 1; color: var(--ink-soft); font-size: 15px; line-height: 1.5; max-width: 60ch; }
.index-cta { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: center; font-weight: 700; font-size: 14px; color: var(--brand-deep); background: var(--brand-wash); padding: 8px 14px; border-radius: 999px; }
.index-row:hover .index-cta { background: var(--brand); color: var(--white); }

/* ---------- Results ---------- */
.compare-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.compare { position: relative; margin: 0; scroll-snap-align: start; border-radius: var(--r-md); overflow: hidden; background: var(--paper); aspect-ratio: 1 / 1; max-width: 100%; }
.compare-after, .compare-before img { width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); border-left: 3px dashed var(--white); pointer-events: none; }
.compare-handle::after { content: ""; position: absolute; top: 50%; left: -21px; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255, 255, 255, .85); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare-range:focus-visible ~ .compare-handle::after { box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--brand); }
.compare-tag { position: absolute; top: 10px; font-size: 13px; font-weight: 700; color: var(--white); background: rgba(22, 32, 31, .55); padding: 3px 10px; border-radius: 999px; pointer-events: none; }
.tag-before { left: 10px; }
.tag-after { right: 10px; }
.compare figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: var(--white); font-weight: 600; font-size: 15px; background: linear-gradient(transparent, rgba(22, 32, 31, .78)); pointer-events: none; }

/* ---------- Treatments table in a rounded panel ---------- */
#treatments h2 { margin-bottom: 12px; }
#treatments .lede { margin-bottom: 24px; }
.table-scroll { overflow-x: auto; background: var(--white); border-radius: var(--r-lg); padding: 6px 18px; }
.treat-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; }
.treat-table th, .treat-table td { text-align: left; vertical-align: top; padding: 15px 16px 15px 0; border-bottom: 1.5px solid var(--line); }
.treat-table thead th { font-size: 14px; color: var(--muted); font-weight: 500; }
.treat-table tbody th { font-family: var(--display); font-weight: 650; font-size: 18px; white-space: nowrap; }
.treat-table tbody tr:last-child > * { border-bottom: 0; }
.treat-table td { color: var(--ink-soft); }

/* ---------- Doctors ---------- */
.doctor-block { display: grid; gap: 28px; }
.doctor-block h2 { margin-bottom: 10px; }
.doctor-block .lede { margin-bottom: 22px; }
.doctor-cards { display: grid; gap: 14px; }
.doctor-card { padding: 22px; border-radius: var(--r-lg); background: var(--paper); }
.doctor-card h3 { font-size: 22px; margin-bottom: 4px; }
.doctor-name { color: var(--brand-deep); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.doctor-card p:last-child { margin: 0; color: var(--ink-soft); }

/* ---------- First visit (sequence) ---------- */
#consultation h2 { margin-bottom: 28px; }
.visit-steps { list-style: none; counter-reset: v; display: grid; gap: 22px; margin-bottom: 32px; }
.visit-steps li { counter-increment: v; position: relative; padding-left: 58px; }
.visit-steps li::before { content: counter(v); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 750; font-size: 18px; color: var(--ink); background: var(--gold-soft); }
.visit-steps h3 { margin-bottom: 4px; }
.visit-steps p { margin: 0; color: #c3d2d1; }
.bring { padding: 22px; border: 1.5px dashed #5d6b6a; border-radius: var(--r-md); margin-bottom: 28px; }
.bring h3 { margin-bottom: 10px; font-size: 18px; }
.bring ul { padding-left: 20px; color: #c3d2d1; display: grid; gap: 6px; }

/* ---------- Facials + anti ageing ---------- */
.also-grid { display: grid; gap: 20px; }
.also-col { padding: 26px 22px; border-radius: var(--r-lg); background: var(--paper); }
.also-facials { background: var(--brand-wash); }
.also-col h2 { margin-bottom: 8px; }
.also-col .lede { font-size: 16px; margin-bottom: 18px; }
.menu { margin-bottom: 22px; background: var(--white); border-radius: var(--r-md); padding: 4px 16px; }
.menu div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1.5px solid var(--line); }
.menu div:last-child { border-bottom: 0; }
.menu dt { font-weight: 700; }
.menu dd { color: var(--muted); font-size: 15px; text-align: right; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 10px; }
.faq-grid h2 { margin-bottom: 10px; }
.faq-list { border-top: 1.5px solid var(--line); }
.faq-list details { border-bottom: 1.5px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 18px 40px 18px 0; font-weight: 700; font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(45deg); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq-list details p { margin: 0 0 18px; color: var(--ink-soft); max-width: 65ch; }

/* ---------- Clinics + final form ---------- */
.visit-grid { display: grid; gap: 36px; }
.visit-info h2 { margin-bottom: 18px; }
.clinic-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.clinic-card { padding: 16px; border-radius: var(--r-md); background: var(--paper); min-width: 0; }
.clinic-card h3 { font-size: 18px; margin-bottom: 4px; }
.clinic-card p { margin: 0 0 6px; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.clinic-card a { font-weight: 700; font-size: 15px; }
.visit-call { margin-top: 18px; }
.visit-call a { font-weight: 700; }
.final-form { padding: 24px 18px; border-radius: var(--r-lg); background: var(--paper); }
.final-form h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 6px; }
.final-form > p { color: var(--muted); }

/* ---------- Footer + sticky bar ---------- */
.site-footer { background: var(--white); color: var(--muted); padding-block: 26px 100px; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-link { color: var(--brand); font-size: 15px; font-weight: 700; }
.copyright { text-align: center; font-size: 13px; margin: 20px 0 0; padding-inline: 16px; }
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: auto auto auto; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: rgba(255, 255, 255, .97); box-shadow: 0 -4px 20px rgba(22, 32, 31, .1); transform: translateY(110%); transition: transform .25s ease; }
.sticky-bar.is-visible { transform: none; }
.sticky-bar .btn { min-height: 48px; padding: 0 10px; font-size: 14px; white-space: nowrap; }
@media (max-width: 359px) { .sticky-bar .btn { white-space: normal; } }

/* ---------- Modals ---------- */
.custom-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-end; justify-content: center; background: rgba(22, 32, 31, .55); }
.modal-open .custom-modal-call, .modal-open-wa .custom-modal-wa, .modal-open-auto .custom-modal-auto { display: flex; }
.modal-open, .modal-open-wa, .modal-open-auto { overflow: hidden; }
.custom-modal-dialog { position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; background: var(--white); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 26px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
.custom-modal-dialog h3 { font-size: 23px; padding-right: 36px; margin-bottom: 8px; }
.modal-note { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.close-modal { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper); font-size: 16px; cursor: pointer; }
.close-modal:hover { background: var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .modal-open .custom-modal-dialog, .modal-open-wa .custom-modal-dialog, .modal-open-auto .custom-modal-dialog { animation: sheet .25s ease; }
}
@keyframes sheet { from { transform: translateY(24px); opacity: .4; } }

/* ---------- Thank you ---------- */
.ty { padding-block: 40px 70px; background: var(--white); }
.ty-wrap { max-width: 720px; }
.ty-kicker { display: inline-block; font-size: 14px; font-weight: 700; color: var(--brand-deep); background: var(--brand-wash); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.ty h1 { font-size: clamp(32px, 6vw, 48px); margin-bottom: 12px; }
.ty-lead { font-size: 19px; color: var(--ink-soft); }
.ty-summary { margin: 26px 0; padding: 20px; border-radius: var(--r-md); background: var(--paper); display: grid; gap: 12px; }
.ty-summary div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.ty-summary div:last-child { border-bottom: 0; padding-bottom: 0; }
.ty-summary dt { color: var(--muted); }
.ty-summary dd { font-weight: 700; text-align: right; }
.ty-actions { display: grid; gap: 10px; margin-bottom: 36px; }
.ty-next { list-style: none; counter-reset: n; display: grid; gap: 18px; margin: 18px 0 30px; }
.ty-next li { counter-increment: n; position: relative; padding-left: 50px; }
.ty-next li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-wash); color: var(--brand-deep); font-weight: 700; }
.ty-next h3 { font-size: 18px; margin-bottom: 2px; }
.ty-next p { margin: 0; color: var(--muted); }
.tick-list { list-style: none; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 30px; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 9px; border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg); }
.ty-bring { margin: 16px 0 30px; }
.ty-help { color: var(--muted); }

/* ---------- Privacy page (old markup) ---------- */
.container-c { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.padng-sec { padding: 36px 0; }

/* ==========================================================================
   Larger screens
   ========================================================================== */
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .chip-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .seg-toggle { grid-template-columns: repeat(4, 1fr); }
  .tb-long { display: inline; }
  .tb-short { display: none; }
  .header-actions .btn-wa span { display: inline; }
  .compare-rail { grid-auto-columns: 46%; }
  .custom-modal { align-items: center; padding: 20px; }
  .custom-modal-dialog { border-radius: var(--r-lg); padding: 30px 28px; }
  .ty-actions { grid-template-columns: 1fr 1fr; }
  .doctor-cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  body { font-size: 18px; }
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
  .planner { position: sticky; top: 90px; padding: 28px 26px 22px; }
  .band { padding-block: 96px; }
  .treat-index { display: grid; grid-template-columns: .85fr 1.4fr; grid-template-rows: auto 1fr; gap: 0 56px; align-items: start; }
  .treat-index .index-list { grid-column: 2; grid-row: 1 / span 2; }
  .compare-rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; }
  .doctor-block { grid-template-columns: .8fr 1.4fr; gap: 56px; align-items: start; }
  .visit-steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .visit-steps li { padding-left: 0; padding-top: 56px; }
  .visit-steps li::before { top: 0; }
  .also-grid { grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
  .also-col { padding: 34px 32px; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .visit-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
  .final-form { padding: 34px 32px; }
  .sticky-bar { display: none; }
  .site-footer { padding-bottom: 30px; }
}


/* ==========================================================================
   Additions for the pigmentation project (real TSI assets)
   ========================================================================== */
.logo { display: block; line-height: 0; min-width: 0; }
.logo img { width: auto; height: 34px; object-fit: contain; object-position: left center; }
.footer-logo img { width: 110px; height: auto; }

.hero-lead-doc { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hero-lead-doc img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--brand-wash); }
.hero-lead-doc p { margin: 0; font-size: 15px; line-height: 1.35; color: var(--ink-soft); }
.hero-lead-doc span { color: var(--muted); font-size: 14px; }

/* Doctors */
.doc-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-top: 8px; }
.doc-card { margin: 0; scroll-snap-align: start; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; }
.doc-card img { width: 100%; aspect-ratio: 400 / 467; object-fit: cover; object-position: 50% 20%; }
.doc-card figcaption { padding: 14px 16px 16px; display: grid; gap: 2px; }
.doc-card strong { font-family: var(--display); font-size: 18px; font-weight: 650; line-height: 1.2; }
.doc-card span { font-size: 14px; color: var(--muted); }
.doc-card:first-child { background: var(--brand-wash); }

/* Reviews */
.rating-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px 6px 8px; background: var(--white); border-radius: 999px; font-size: 15px; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); }
.rating-pill img { width: 20px; height: 20px; }
.review-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.review { margin: 0; scroll-snap-align: start; padding: 22px; background: var(--white); border-radius: var(--r-lg); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.review p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink); }
.review p::before { content: "★★★★★"; display: block; color: #e3a008; letter-spacing: 2px; font-size: 15px; margin-bottom: 10px; }
.review footer { display: grid; gap: 2px; font-size: 14px; color: var(--muted); }
.review footer strong { color: var(--ink); font-size: 15px; }

/* Clinics */
.clinic-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; margin: 18px 0 14px; }
.clinic-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.clinic-photos img:first-child { grid-row: 1 / 3; aspect-ratio: 4 / 3; }
.clinic-hours { font-weight: 700; color: var(--brand-deep); margin: 0 0 12px; }
.ty-back { margin-top: 18px; font-size: 15px; }

/* Privacy page (keeps its existing markup) */
.sml-banner, .terms-cnt-c { padding-block: 32px 8px; }
.container-c { width: 100%; max-width: 820px; margin: 0 auto; padding-inline: var(--gutter); }
.sml-banner h2 { margin-bottom: 12px; }
.terms-cnt-c-single { margin-bottom: 22px; }
.terms-cnt-c-single h4 { font-family: var(--display); font-size: 19px; margin: 0 0 8px; }
.terms-cnt-c-single ul { padding-left: 20px; }

@media (min-width: 560px) {
  .doc-rail { grid-auto-columns: 38%; }
  .review-rail { grid-auto-columns: 48%; }
}
@media (min-width: 900px) {
  .doc-rail { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto; overflow: visible; }
  .review-rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; }
  .logo img { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.date-note { display: block; margin-top: 6px; font-size: 13px; color: var(--brand-deep); }
