/* =============================================================
   ADHD Doctors — additional components (gap fixes vs references)
   ============================================================= */

/* Header phone */
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; color: var(--navy); padding: .5rem .8rem; border-radius: 999px; }
.header-phone:hover { background: var(--mint); }
.header-phone svg { width: 16px; height: 16px; color: var(--teal-dark); }
.site-header .container { width: min(1360px, calc(100% - 2.5rem)); }
.nav > li > a, .nav > li > button { white-space: nowrap; }
@media (max-width: 1500px) { .header-phone { display: none; } }
@media (min-width: 1081px) and (max-width: 1340px) {
  .nav > li > a, .nav > li > button { padding: .55rem .6rem; font-size: .9rem; }
  .header-actions .btn { padding: .7rem 1.1rem; font-size: .9rem; }
  .brand-tag { display: none; }
  .site-header .container { gap: .8rem; }
}
.dropdown.cols3 { min-width: 720px; display: grid; grid-template-columns: 1fr 1fr 1fr; }
.dropdown .dd-group { padding: .5rem .8rem .2rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); grid-column: 1 / -1; }
@media (max-width: 1080px) { .dropdown.cols3 { grid-template-columns: 1fr; min-width: 0; } }

/* Postcode checker */
.wait-check { margin-top: 1.6rem; max-width: 520px; }
.wait-check h4 { margin: 0 0 .2rem; font-size: 1.05rem; }
.wait-check p { font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.wait-form { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .35rem .35rem 1rem; box-shadow: var(--shadow-sm); gap: .5rem; }
.wait-form svg { width: 18px; height: 18px; color: var(--teal-dark); flex: none; }
.wait-form input { flex: 1; border: 0; font: inherit; min-width: 0; background: transparent; outline: none; }
.wait-form button { flex: none; }
.wait-result { display: none; margin-top: .8rem; background: #fff; border: 1px solid var(--teal-soft); border-radius: 14px; padding: .9rem 1.1rem; font-size: .92rem; box-shadow: var(--shadow-sm); }
.wait-result.show { display: block; }
.wait-result b { color: var(--navy); }
.wait-result .cmp { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .6rem; }
.wait-result .cmp div { background: var(--sand); border-radius: 10px; padding: .6rem .8rem; }
.wait-result .cmp div.us { background: var(--mint); }
.wait-result .cmp b { display: block; font-family: var(--font-display); font-size: 1.3rem; }

/* Rating strip */
.rating-strip { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 0; font-weight: 600; color: var(--navy); }
.rating-strip .g { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0); }
.rating-strip .g span { background: #fff; width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.rating-strip .stars { font-size: 1.05rem; }
.rating-strip a { color: var(--teal-dark); font-size: .9rem; }

/* Tabs */
.tabs { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.2rem; }
.tab-btn { padding: .65rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--muted); transition: .2s; }
.tab-btn:hover { border-color: var(--teal); color: var(--navy); }
.tab-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none;} }

/* Price cards: virtual / in-person */
.price-card .duration { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); }
.price-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .9rem 0 .4rem; }
.price-pair div { background: var(--sand); border-radius: 12px; padding: .7rem .8rem; text-align: center; }
.price-pair div.virt { background: var(--mint); }
.price-pair b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); letter-spacing: -.02em; line-height: 1; }
.price-pair span { font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.finance { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-top: 2rem; }
.finance .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--mint); color: var(--teal-dark); display: grid; place-items: center; }
.finance .ico svg { width: 26px; height: 26px; }
.finance p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 600px) { .finance { grid-template-columns: 1fr; } }

/* Virtual vs in-person */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.mode { border-radius: var(--radius-lg); padding: 2rem; position: relative; overflow: hidden; }
.mode.virtual { background: var(--navy); color: #fff; }
.mode.person { background: var(--sand); }
.mode .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.2rem; }
.mode.virtual .ico { background: var(--teal); color: #fff; }
.mode.person .ico { background: #fff; color: var(--navy); }
.mode .ico svg { width: 28px; height: 28px; }
.mode h3 { font-size: 1.4rem; }
.mode.virtual h3 { color: #fff; }
.mode p { font-size: .97rem; }
.mode.virtual p, .mode.virtual li { color: rgba(255,255,255,.8); }
.mode ul li { display: flex; gap: .6rem; padding: .3rem 0; font-size: .93rem; }
.mode ul li::before { content: "\2713"; color: var(--teal); font-weight: 800; }
@media (max-width: 800px) { .modes { grid-template-columns: 1fr; } }

/* Video cards */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.video-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; display: block; }
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.video-thumb { aspect-ratio: 16 / 10; position: relative; background: linear-gradient(135deg, var(--navy) 0%, #1a4f80 100%); display: grid; place-items: center; overflow: hidden; }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video-thumb .play { position: relative; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .2s; }
.video-thumb .play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-card:hover .play { transform: scale(1.08); }
.video-thumb .dur { position: absolute; bottom: .6rem; right: .6rem; background: rgba(0,0,0,.6); color: #fff; font-size: .72rem; padding: .2rem .5rem; border-radius: 6px; font-weight: 600; }
.video-card .body { padding: 1rem 1.1rem 1.2rem; }
.video-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.video-card small { color: var(--muted); }
@media (max-width: 960px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .video-grid { grid-template-columns: 1fr; } }

/* Blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post .thumb { aspect-ratio: 16 / 9; background: var(--sand-deep); overflow: hidden; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post .meta { display: flex; gap: .6rem; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: .6rem; }
.post .meta .cat { background: var(--mint); color: var(--teal-dark); padding: .2rem .6rem; border-radius: 999px; font-weight: 700; }
.post h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.post p { color: var(--muted); font-size: .93rem; flex: 1; }
.post .link { color: var(--teal-dark); font-weight: 600; font-size: .9rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* Featured in */
.featured { display: flex; justify-content: center; gap: .8rem 2.5rem; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }
.featured span { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; color: #9aa7b8; }

/* In-page anchor nav */
.anchor-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.anchor-nav ul { display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none; padding: .5rem 0; }
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a { display: inline-block; padding: .45rem .9rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.anchor-nav a:hover, .anchor-nav a.active { background: var(--mint); color: var(--navy); }
section[id], div[id].anchor-target { scroll-margin-top: calc(var(--header-h) + 70px); }

/* Options comparison */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.option { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.option.hl { border: 2px solid var(--teal); }
.option h3 { font-size: 1.2rem; }
.option .row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .92rem; }
.option .row span:first-child { color: var(--muted); }
.option .row span:last-child { font-weight: 600; text-align: right; }
.option .btn { margin-top: 1.2rem; }
@media (max-width: 900px) { .options { grid-template-columns: 1fr; } }

/* Related services */
.related { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.related a { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; font-weight: 600; font-size: .93rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; transition: .2s; }
.related a:hover { border-color: var(--teal); color: var(--teal-dark); transform: translateY(-3px); }
.related a::after { content: "\2192"; color: var(--teal); }
@media (max-width: 960px) { .related { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .related { grid-template-columns: 1fr; } }

/* Symptom groups */
.symptoms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.symptom { background: var(--mint); border-radius: 16px; padding: 1.4rem 1.5rem; }
.symptom h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.symptom ul { list-style: disc; padding-left: 1.1rem; margin: 0; }
.symptom li { font-size: .93rem; margin: .25rem 0; color: #33425c; }
@media (max-width: 640px) { .symptoms { grid-template-columns: 1fr; } }

/* Hours table */
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: .55rem 0; border-top: 1px solid var(--line); }
.hours tr:first-child td { border-top: 0; }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--navy); }
.hours td.closed:last-child { color: var(--coral); }

/* Social icons */
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: .2s; }
.socials a:hover { background: var(--teal); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.socials.light a { background: var(--mint); color: var(--navy); }
.socials.light a:hover { background: var(--teal); }
.footer-note { margin-top: 1.4rem; padding: .9rem 1rem; border-radius: 12px; background: rgba(229,72,77,.12); border: 1px solid rgba(229,72,77,.3); font-size: .82rem; color: #ffd4d6; }
.footer-rating { display: flex; align-items: center; gap: .6rem; margin-top: 1.2rem; font-size: .9rem; color: #fff; font-weight: 600; }
.footer-rating .stars { color: var(--gold); }

/* Satisfaction stats */
.satis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.satis div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; }
.satis b { display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--teal); line-height: 1; letter-spacing: -.04em; margin-bottom: .6rem; }
.satis p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) { .satis { grid-template-columns: 1fr; } }

/* Download list */
.downloads li a { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; font-weight: 600; font-size: .93rem; transition: .2s; }
.downloads li a:hover { border-color: var(--teal); color: var(--teal-dark); }
.downloads svg { width: 20px; height: 20px; color: var(--teal-dark); flex: none; }

/* Jobs */
.job { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.job h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.job p { margin: 0; color: var(--muted); font-size: .93rem; }
.job .tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.job .tags span { font-size: .78rem; background: var(--mint); color: var(--navy); padding: .2rem .6rem; border-radius: 999px; font-weight: 600; }
@media (max-width: 600px) { .job { grid-template-columns: 1fr; } }

/* Legal prose */
.legal { max-width: 820px; margin-inline: auto; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal p, .legal li { color: #33425c; font-size: .97rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; }

/* Client credential badges */
.badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.badge-row img { height: 40px; width: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .35rem .6rem; object-fit: contain; }
.badge-row.large { justify-content: center; margin-top: 2.5rem; gap: 1rem 1.6rem; }
.badge-row.large img { height: 64px; padding: .6rem .9rem; border-radius: 12px; }
.badge-row.footer img { height: 34px; border: 0; }
.badge-row.footer { margin-top: 1.2rem; }

/* Hero bullet points */
.hero-points { display: grid; gap: .55rem; margin: 0 0 1.8rem; max-width: 540px; }
.hero-points li { display: flex; align-items: flex-start; gap: .75rem; font-size: 1.05rem; line-height: 1.5; color: var(--ink); }
.hero-points li strong { color: var(--navy); font-weight: 700; }
.hero-points .hp-ico { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin-top: .15rem; box-shadow: 0 4px 10px rgba(38,93,194,.25); }
.hero-points .hp-ico svg { width: 14px; height: 14px; }

/* Single price card */
.price-hero { display: grid; grid-template-columns: 1.05fr 1fr; max-width: 980px; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.price-hero .ph-left { background: linear-gradient(160deg, var(--navy) 0%, #0f3562 100%); color: #fff; padding: clamp(2rem, 4vw, 3.2rem); position: relative; overflow: hidden; }
.price-hero .ph-left::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(38,93,194,.35); }
.price-hero .ph-left > * { position: relative; z-index: 1; }
.price-hero .ph-kicker { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 1rem; }
.price-hero .ph-left h3 { color: #fff; font-size: 1.5rem; margin-bottom: .6rem; }
.price-hero .ph-amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 6vw, 4.8rem); letter-spacing: -.04em; line-height: 1; margin: .4rem 0 .8rem; }
.price-hero .ph-left p { color: rgba(255,255,255,.8); margin-bottom: 1.6rem; max-width: 34ch; }
.price-hero .ph-right { padding: clamp(2rem, 4vw, 3.2rem); background: #fff; }
.price-hero .ph-right h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 1rem; }
.price-hero .checks li { padding: .55rem 0; border-top: 1px solid var(--line); font-weight: 500; }
.price-hero .checks li:first-child { border-top: 0; }
@media (max-width: 800px) { .price-hero { grid-template-columns: 1fr; } }

/* Logo images */
.brand-logo { height: 44px; width: auto; display: block; }
.site-footer .brand-logo { height: 40px; }
@media (max-width: 480px) { .brand-logo { height: 36px; } }

/* Lead clinician photo (about) */
.clinician-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; background: var(--sand-deep); }
.clinician-hero img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.clinician-hero .ch-caption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: 14px; padding: .8rem 1.1rem; display: flex; flex-direction: column; gap: .1rem; }
.clinician-hero .ch-caption b { color: var(--navy); font-size: 1.05rem; }
.clinician-hero .ch-caption span { color: var(--muted); font-size: .85rem; }

/* Sound familiar section */
.sf { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--mint); }
.sf-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-bottom: 2.5rem; }
.sf-hero h2 { margin: 1rem 0 .8rem; }
.sf-hero .lead { max-width: 52ch; margin: 0; }
.sf-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5 / 4; background: var(--sand-deep); }
.sf-photo img { width: 100%; height: 100%; object-fit: cover; }
.sf-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.sf-card > h3 { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .3rem; }
.sf-sub { text-align: center; color: var(--muted); margin-bottom: 2rem; }
.sf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.sf-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.4rem; border-radius: 16px; }
.sf-item h4 { font-size: 1.05rem; margin-bottom: .3rem; color: var(--navy); }
.sf-item p { margin: 0; font-size: .93rem; color: var(--muted); }
.sf-ico { position: relative; flex: none; width: 54px; height: 54px; border-radius: 14px; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.sf-ico svg { width: 28px; height: 28px; }
.sf-dot { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--coral); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.sf-grade { position: absolute; top: -8px; right: -8px; background: var(--coral); color: #fff; font-size: .68rem; font-weight: 800; padding: .1rem .35rem; border-radius: 6px; }
.tint-blue { background: #e7f0fb; } .tint-peach { background: #fdf1e6; } .tint-green { background: #e6f5ee; } .tint-lilac { background: #eeebfa; }
.sf-note { display: flex; gap: 1rem; align-items: center; margin-top: 1.1rem; padding: 1.1rem 1.4rem; border-radius: 16px; background: var(--sand); }
.sf-note p { margin: 0; font-weight: 500; color: var(--navy); }
.sf-cta { text-align: center; margin-top: 1.8rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.sf-cta small { color: var(--muted); font-size: .88rem; }
.sf-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.sf-trust > div { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1.1rem; font-weight: 500; font-size: .92rem; color: var(--navy); }
.sf-trust svg { width: 26px; height: 26px; flex: none; color: var(--teal); }
@media (max-width: 860px) { .sf-hero, .sf-grid, .sf-trust { grid-template-columns: 1fr; } }

/* Centre the in-page anchor nav */
.anchor-nav ul { justify-content: center; }
@media (max-width: 860px) { .anchor-nav ul { justify-content: flex-start; } }

/* Motion images (video with poster fallback) */
video.motion { width: 100%; height: 100%; object-fit: cover; display: block; }


/* Client v2 (26 Sept 2026) */
.page-hero.compact { padding: clamp(2rem, 4vw, 3rem) 0; }
.section.tight-top { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.badge-row.hero-badges-lg { margin-top: .4rem; justify-content: flex-start; }
.badge-row.hero-badges-lg img { height: 64px; padding: .6rem .9rem; border-radius: 12px; }
.badge-row.footer img { height: 44px; }
.services-grid.two { grid-template-columns: 1fr 1fr; max-width: 860px; margin-inline: auto; }
@media (max-width: 640px) { .services-grid.two { grid-template-columns: 1fr; } .badge-row.hero-badges-lg img { height: 52px; } }
.key-points { display: grid; gap: .8rem; margin-top: 1.4rem; }
.key-points li { display: flex; gap: .85rem; align-items: flex-start; font-size: 1.05rem; line-height: 1.5; color: var(--ink); }
.key-points li strong { color: var(--navy); }
.key-points .kp-ico { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin-top: .15rem; box-shadow: 0 4px 10px rgba(38,93,194,.25); }
.key-points .kp-ico svg { width: 15px; height: 15px; }

/* Tighter vertical rhythm between sections (26 Sept 2026) */
.section { padding: clamp(2.5rem, 4.5vw, 3.75rem) 0; }
.section-tight { padding: clamp(2rem, 3.5vw, 3rem) 0; }
.sf { padding: clamp(2.5rem, 4.5vw, 3.75rem) 0; }
.section-head { margin-bottom: 2.2rem; }
.sf-hero { margin-bottom: 2rem; }

/* Price card checkpoints enter one by one */
.reveal[data-delay="6"] { transition-delay: .6s; }
.price-hero .checks li.reveal { transform: translateX(-14px); }
.price-hero .checks li.reveal.in { transform: none; }
/* Close the gap between Sound familiar and Our services */
.sf { padding-bottom: 2.25rem; }
.sf + .section { padding-top: 2.5rem; }
.sf-trust { margin-top: 1.5rem; }

/* Staggered list entrance */
li.reveal.stagger { transform: translateX(-14px); }
li.reveal.stagger.in { transform: none; }

/* ---------- Mobile responsiveness (27 Sept 2026) ---------- */
html, body { overflow-x: clip; }
.hero-grid > *, .sf-hero > *, .split > *, .price-hero > *, .contact-grid > *, .content-grid > *, .cta-block > *, .footer-grid > * { min-width: 0; }
img, video, iframe, svg { max-width: 100%; }
.wait-form input { width: 0; }

@media (max-width: 900px) {
  .hero { padding: 2rem 0 2.25rem; }
  .hero .lead { max-width: none; }
  .hero-points { max-width: none; }
  .hero-visual { margin-top: 1.5rem; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .container { width: calc(100% - 2rem); }
  body { font-size: 16px; }
  h1 { font-size: clamp(2rem, 9.5vw, 2.6rem); letter-spacing: -.02em; }
  h2 { font-size: clamp(1.65rem, 7.4vw, 2.1rem); }
  h3 { font-size: 1.25rem; }
  .lead, .section-head p { font-size: 1.02rem; }
  .section-head { margin-bottom: 1.5rem; }
  .btn { white-space: normal; text-align: center; }
  .btn-lg { padding: .95rem 1.4rem; font-size: 1rem; }

  /* Hero */
  .hero-bg { inset: .5rem; border-radius: 20px; }
  .hero .lead { font-size: 1.05rem; margin-bottom: 1.2rem; }
  .hero-points li { font-size: .98rem; }
  .hero-ctas { flex-direction: column; margin-bottom: 1.5rem; }
  .hero-ctas .btn { width: 100%; }
  .badge-row.hero-badges-lg { gap: .6rem .7rem; }
  .badge-row.hero-badges-lg img { height: 44px; padding: .35rem .55rem; border-radius: 9px; }
  .wait-check { margin-top: 1.2rem; }
  .wait-form { flex-wrap: wrap; border-radius: 20px; padding: .6rem .6rem .6rem .9rem; }
  .wait-form input { flex: 1 1 120px; padding: .35rem 0; }
  .wait-form button { flex: 1 1 100%; }
  .hero-visual { max-width: none; margin-top: 1.25rem; }
  .hero-photo { aspect-ratio: 4 / 4.4; }
  .float-card { padding: .65rem .8rem; gap: .6rem; border-radius: 13px; }
  .float-card.next { right: .6rem; left: .6rem; top: .6rem; }
  .float-card.rating { left: .6rem; bottom: .6rem; }
  .float-card small { font-size: .72rem; }
  .float-card .big { font-size: 1.25rem; }
  .float-card .ico { width: 36px; height: 36px; }

  /* Quick bar, stats, badges */
  .quick-bar .container { gap: .3rem 1rem; padding: .7rem 0; }
  .quick-bar a { font-size: .92rem; padding: .3rem .4rem; }
  .quick-bar .qi { width: 38px; height: 38px; }
  .stats { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .stat { padding: 1.3rem .6rem; }
  .stat .num { font-size: 2rem; }
  .badge-row.large { gap: .7rem .8rem; margin-top: 1.6rem; }
  .badge-row.large img { height: 48px; padding: .4rem .6rem; border-radius: 9px; }

  /* Sound familiar */
  .sf-card { padding: 1.3rem 1.05rem; border-radius: 18px; }
  .sf-item { padding: 1rem; gap: .8rem; }
  .sf-ico { width: 46px; height: 46px; }
  .sf-note { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1rem 1.1rem; }
  .sf-cta .btn { width: 100%; }
  .sf-trust { gap: .7rem; margin-top: 1.4rem; }

  /* Grids collapse to one column */
  .process, .cards-3, .cards-2, .services-grid, .why-grid, .values, .emergency-cards, .options, .video-grid, .related, .satis, .clinicians-grid, .grid-2, .modes { grid-template-columns: 1fr; }
  .step { padding: 1.5rem 1.3rem; }
  .service-card, .info-card, .why-card, .option { padding: 1.4rem 1.25rem; }

  /* Price card */
  .price-hero { border-radius: 18px; }
  .price-hero .ph-left, .price-hero .ph-right { padding: 1.6rem 1.3rem; }
  .price-hero .ph-amount { font-size: 3rem; }
  .price-hero .ph-left p { max-width: none; }
  .price-hero .btn { width: 100%; }

  /* Banners, CTA, NICE card */
  .banner { padding: 1.5rem 1.25rem; gap: 1rem; }
  .banner .ico { width: 60px; height: 60px; }
  .banner .btn { width: 100%; }
  .cta-block { padding: 2rem 1.4rem; border-radius: 18px; }
  .cta-block .actions .btn { width: 100%; }
  .nice-card { padding: 1.4rem 1.2rem; gap: 1.2rem; }
  .nice-logo { font-size: 2.4rem; }

  /* Inner pages */
  .page-hero { padding: 2rem 0 2.25rem; }
  .page-hero.compact { padding: 1.6rem 0 1.8rem; }
  .page-hero h1 { font-size: clamp(1.85rem, 8.4vw, 2.3rem); }
  .section { padding: 2.25rem 0; }
  .section-tight { padding: 1.75rem 0; }
  .sf { padding: 2.25rem 0 1.75rem; }
  .anchor-nav ul { padding: .4rem 0; }
  .anchor-nav a { font-size: .84rem; padding: .4rem .75rem; }
  .side { position: static; }
  .side-card { padding: 1.3rem 1.2rem; }
  .faq-q { padding: .95rem 1rem; font-size: .98rem; gap: .7rem; }
  .faq-a > div { padding: 0 1rem 1rem; font-size: .96rem; }
  .tabs { gap: .3rem; margin-bottom: 1.5rem; }
  .tab-btn { padding: .5rem .9rem; font-size: .88rem; }
  .job { padding: 1.3rem 1.2rem; }
  .job .btn { width: 100%; }
  .quiz { padding: 1.4rem 1.1rem; border-radius: 18px; }
  .quiz-q { font-size: 1.15rem; }
  .quiz-opts button { padding: .8rem 1rem; }
  .quiz-foot { flex-wrap: wrap; }
  .clinician-hero { max-width: 420px; margin-inline: auto; }
  .symptom { padding: 1.2rem 1.15rem; }
  .legal h2 { font-size: 1.2rem; }
  .form-card, .contact-card { padding: 1.4rem 1.2rem; }

  /* Footer */
  .site-footer { padding: 2.75rem 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; gap: .8rem; margin-top: 2rem; align-items: flex-start; }
  .badge-row.footer img { height: 38px; }
  .back-top { right: 1rem; bottom: 1rem; }
}

/* Three-column variants (were inline styles) */
.process.three, .symptoms.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .process.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .symptoms.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .process.three, .symptoms.three { grid-template-columns: 1fr; } }
.options.two { grid-template-columns: 1fr 1fr; max-width: 820px; margin-inline: auto; }
.why-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .why-grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .options.two, .why-grid.three { grid-template-columns: 1fr; } }

/* Mobile menu: full-screen overlay with its own top bar (27 Sept 2026).
   The header's backdrop-filter made it the containing block for a fixed panel, so it is
   switched off below 1080px and the panel covers the whole viewport. */
.nav-top { display: none; }
@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav { position: fixed; inset: 0; height: auto; z-index: 200; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 0 1.25rem 3rem; border-top: 0; }
  .nav-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); margin: 0 -1.25rem 1rem; padding: 0 1.25rem; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 1; }
  .nav > li.nav-top > a { width: auto; padding: 0; background: none; border-radius: 0; flex: none; }
  .nav-top .brand-logo { height: 40px; width: auto; }
  .nav > li.nav-top > button.nav-close { width: 46px; height: 46px; flex: none; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); font-size: 0; }
  .nav-close svg { width: 20px; height: 20px; }
  .nav > li > a, .nav > li > button { white-space: normal; text-align: left; }
  .dropdown a { padding: .55rem .7rem; }
  html.nav-open body { overflow: hidden; }
}
}
@media (max-width: 640px) {
  .grid-2 ul + ul, .grid-2 > ul { margin: 0; }
  .grid-2 { gap: .3rem; }
  .hero-photo { aspect-ratio: 4 / 3.6; }
}
@media (max-width: 900px) { .clinician-hero { max-width: 460px; margin-inline: auto; } }
@media (max-width: 1080px) {
  .nav > li.mobile-cta > a.btn { background: var(--teal); color: #fff; justify-content: center; border-radius: 999px; padding: .95rem 1.4rem; font-weight: 600; box-shadow: 0 8px 20px rgba(38,93,194,.28); }
}

/* ---------- Blog & article pages (28 Sept 2026) ---------- */
.post .thumb { display: block; }
.post .thumb picture, .post .thumb img { display: block; width: 100%; height: 100%; }
.post h3 a { color: inherit; }
.post h3 a:hover { color: var(--teal-dark); }
.post[hidden] { display: none; }
.blog-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.chip { padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; color: var(--muted); transition: .2s; }
.chip:hover { border-color: var(--teal); color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.post-hero { padding-bottom: clamp(5rem, 9vw, 7.5rem) !important; }
.post-hero h1 { max-width: 900px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; font-size: .84rem; color: var(--muted); margin-bottom: 1rem; }
.post-meta .cat { background: #fff; color: var(--teal-dark); padding: .3rem .75rem; border-radius: 999px; font-weight: 700; border: 1px solid var(--line); }
.post-cover { margin: clamp(-4rem, -7vw, -5.5rem) 0 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--mint); position: relative; z-index: 1; max-width: 1000px; margin-inline: auto; }
.post-cover img { display: block; width: 100%; height: auto; }
.post-grid { max-width: 1000px; margin-inline: auto; }
.post-body { font-size: 1.05rem; line-height: 1.7; }
.post-body > p:first-of-type { font-size: 1.15rem; color: var(--navy); }
.post-body h2 { font-size: 1.55rem; margin-top: 2.4rem; margin-bottom: .8rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.post-body p { margin-bottom: 1.1em; }
.post-toc { background: var(--sand); border-radius: 16px; padding: 1.1rem 1.4rem; margin-bottom: 2rem; font-size: .95rem; }
.post-toc b { display: block; color: var(--navy); margin-bottom: .5rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.post-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; counter-reset: toc; }
.post-toc li { counter-increment: toc; display: flex; gap: .6rem; align-items: baseline; }
.post-toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; color: var(--teal); font-size: .8rem; }
.post-toc a { color: var(--ink); font-weight: 500; }
.post-toc a:hover { color: var(--teal-dark); }
.post-cta { display: grid; grid-template-columns: 1fr auto; gap: 1.4rem; align-items: center; background: linear-gradient(160deg, var(--navy) 0%, #0f3562 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); margin: 2.5rem 0; }
.post-cta h3 { color: #fff; font-size: 1.25rem; margin-bottom: .4rem; }
.post-cta p { color: rgba(255,255,255,.82); margin: 0; font-size: .97rem; }
.post-cta strong { color: #fff; }
.post-cta .btn { white-space: nowrap; }
.post-faq { margin-bottom: 2rem; }
.post-faq .faq-q { font-size: 1rem; }
.post-disclaimer { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.2rem; }
.author-box { display: flex; gap: 1rem; align-items: center; background: var(--mint); border-radius: 16px; padding: 1rem 1.2rem; margin: 1.5rem 0; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.author-box small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.author-box b { display: block; color: var(--navy); font-size: 1.05rem; }
.author-box > div > span { font-size: .88rem; color: var(--muted); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.share > span { font-size: .84rem; font-weight: 700; color: var(--muted); margin-right: .3rem; letter-spacing: .08em; text-transform: uppercase; }
.share a, .share button { display: inline-flex; align-items: center; gap: .4rem; height: 40px; min-width: 40px; padding: 0 .75rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: .86rem; transition: .2s; }
.share a:hover, .share button:hover { background: var(--mint); border-color: var(--teal); color: var(--teal-dark); }
.share svg { width: 18px; height: 18px; }
.share button.done { background: var(--teal-soft); border-color: var(--teal); }
.side-more { display: block; text-align: center; margin-top: .8rem; color: var(--sky); font-weight: 600; font-size: .9rem; }
.side-more:hover { color: #fff; }
.side-card.quiz-card .btn { margin-top: .6rem; }
.post-related .blog-grid { margin-top: 1.8rem; }
.placeholder { color: #b45309; font-style: italic; }
.info-card[href] { display: block; color: inherit; transition: transform .2s, box-shadow .2s; }
.info-card[href]:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card[href] h3 { color: var(--teal-dark); }

@media (max-width: 640px) {
  .post-hero { padding-bottom: 4rem !important; }
  .post-cover { margin-top: -2.75rem; border-radius: 18px; }
  .post-body { font-size: 1rem; }
  .post-body > p:first-of-type { font-size: 1.08rem; }
  .post-body h2 { font-size: 1.35rem; margin-top: 2rem; }
  .post-toc { padding: 1rem 1.1rem; }
  .post-cta { grid-template-columns: 1fr; padding: 1.4rem 1.2rem; }
  .post-cta .btn { width: 100%; }
  .author-box { padding: .9rem 1rem; }
  .share a { padding: 0; width: 40px; justify-content: center; }
  .share button span { display: none; }
  .share button { width: 40px; padding: 0; justify-content: center; }
  .blog-filters { gap: .4rem; margin-bottom: 1.4rem; }
  .chip { padding: .45rem .85rem; font-size: .84rem; }
}
.prose .post-cta .btn, .prose .share a, .prose .share button { color: #fff; font-weight: 600; }
.prose .share a, .prose .share button { color: var(--navy); }
.post-cta { grid-template-columns: 1fr; }
.post-cta .btn { justify-self: start; }

/* ---------- Process timeline (29 Sept 2026) ---------- */
.steps-tl { --st-x: 34px; position: relative; max-width: 820px; margin: 0 auto; padding: .5rem 0 .5rem; list-style: none; }
.steps-tl::before { content: ""; position: absolute; left: var(--st-x); top: 0; bottom: 0; width: 3px; background: var(--line); border-radius: 3px; transform: translateX(-50%); }
.steps-tl::after { content: ""; position: absolute; left: var(--st-x); top: 0; width: 3px; height: var(--st-progress, 0%); background: linear-gradient(180deg, var(--teal), var(--navy)); border-radius: 3px; transform: translateX(-50%); }
.st-item { position: relative; display: grid; grid-template-columns: calc(var(--st-x) * 2) 1fr; align-items: start; margin-bottom: 1.6rem; opacity: 0; transform: translateY(28px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.st-item.in { opacity: 1; transform: none; }
.st-item:last-child { margin-bottom: 0; }
.st-node { position: relative; z-index: 2; justify-self: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 3px solid var(--line); color: var(--muted); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .6s ease, border-color .6s ease, color .6s ease, transform .6s ease, box-shadow .6s ease; margin-top: .9rem; }
.st-node svg { width: 24px; height: 24px; }
.st-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem 1.7rem; box-shadow: var(--shadow-sm); transition: border-color .6s ease, box-shadow .6s ease, transform .6s ease; }
.st-card::before { content: ""; position: absolute; left: -10px; top: 26px; width: 18px; height: 18px; background: inherit; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); transition: inherit; }
.st-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -.03em; color: var(--sky); margin-bottom: .5rem; transition: color .45s; }
.st-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.st-card p { color: var(--muted); margin: 0; font-size: 1rem; line-height: 1.6; }
.st-card .btn { margin-top: 1.1rem; }
.st-link { display: inline-block; margin-top: .9rem; color: var(--teal-dark); font-weight: 600; font-size: .92rem; }
/* lit = the line has reached this step; current = the most recent lit step */
.st-item.lit .st-node { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(38,93,194,.3); }
.st-item.lit .st-num { color: var(--teal); }
.st-item.lit .st-meta { color: var(--teal-dark); }
.st-item.current .st-node { transform: scale(1.1); }
.st-item.current .st-card { border-color: var(--teal-soft); box-shadow: 0 18px 44px rgba(38,93,194,.14); transform: translateY(-2px); }
.st-item.current .st-card::before { border-color: var(--teal-soft); }
@media (prefers-reduced-motion: reduce) { .st-item, .st-card, .st-node, .steps-tl::after { transition: none; } }
@media (max-width: 640px) {
  .steps-tl { --st-x: 24px; }
  .st-node { width: 44px; height: 44px; border-width: 2px; margin-top: .8rem; }
  .st-node svg { width: 20px; height: 20px; }
  .st-card { padding: 1.2rem 1.15rem 1.3rem; border-radius: 18px; }
  .st-card::before { top: 20px; }
  .st-num { font-size: 1.6rem; }
  .st-card h3 { font-size: 1.12rem; }
  .st-card p { font-size: .95rem; }
  .st-card .btn { width: 100%; }
  .st-item.current .st-card { transform: none; }
}

/* Header phone visible on desktop, mobile menu call link */
@media (min-width: 1081px) { .header-phone { display: inline-flex; } }
@media (min-width: 1081px) and (max-width: 1180px) { .header-phone span { display: none; } .header-phone { padding: .5rem; } }
.nav > li.mobile-phone { margin-top: .6rem; }
.nav > li.mobile-phone > a { justify-content: center; gap: .5rem; color: var(--teal-dark); font-weight: 600; border: 1.5px solid var(--line); border-radius: 999px; }
.nav > li.mobile-phone svg { width: 18px; height: 18px; }

/* Static hero photo (client photo of 10 Harley Street) */
.hero-photo { aspect-ratio: 4 / 3; }
.hero-photo picture, .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .hero-photo { aspect-ratio: 4 / 3.3; } }

/* Larger hero photo (29 Sept 2026) */
@media (min-width: 901px) {
  .hero-grid { grid-template-columns: .92fr 1.08fr; gap: clamp(1.5rem, 3.5vw, 3rem); }
  .hero-photo { aspect-ratio: 4 / 3.15; }
  .float-card.rating { left: -2rem; bottom: 2rem; }
  .float-card.next { right: -1.25rem; top: 2rem; }
}

.clinician-hero picture { display: block; width: 100%; height: 100%; }
.split-photo picture { display: block; width: 100%; height: 100%; }
.st-meta { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin: -.2rem 0 .45rem; }
/* Footer legal line */
.footer-legal { width: 100%; font-size: .76rem; color: rgba(255,255,255,.42); margin: .2rem 0 0; }
/* Quiz page: quiz sits directly under a compact hero */
.quiz-hero { padding-bottom: 6.5rem !important; }
.quiz-lift { margin-top: -5.5rem; position: relative; z-index: 1; }
@media (max-width: 640px) { .quiz-hero { padding-bottom: 4.5rem !important; } .quiz-lift { margin-top: -3.75rem; } }


/* Mobile: hero photo first so it is visible on landing (client, 28 Sept 2026) */
@media (max-width: 900px) {
  .hero { padding-top: 1rem; }
  .hero-visual { order: -1; margin: 0 0 1.25rem; max-width: none; }
  .hero-photo { aspect-ratio: 16 / 10; }
  .float-card.next { top: .6rem; }
  .float-card.rating { bottom: .6rem; }
}
@media (max-width: 640px) {
  .hero-photo { aspect-ratio: 4 / 3; }
  .float-card.next { display: none; }
}

/* Booking popup (30 Sept 2026): Semble form in a modal, opened by every "Book" button */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 1.25rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7,27,52,.62); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.modal-dialog { position: relative; width: min(920px, 100%); height: min(92vh, 940px); background: #fff; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(7,27,52,.4); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .25s, transform .25s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-dialog { opacity: 1; transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem .9rem 1.4rem; border-bottom: 1px solid var(--line); background: var(--mint); }
.modal-head b { display: block; color: var(--navy); font-size: 1.1rem; }
.modal-head span { display: block; color: var(--muted); font-size: .84rem; }
.modal-close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; flex: none; }
.modal-close svg { width: 20px; height: 20px; }
.modal-close:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.modal-body { flex: 1; min-height: 0; background: #f7f7f7; }
.modal-body iframe { display: block; width: 100%; height: 100%; border: 0; }
.modal-foot { margin: 0; padding: .6rem 1.4rem; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.modal-foot a { color: var(--teal-dark); font-weight: 600; }
html.modal-open, html.modal-open body { overflow: hidden; }
@media (max-width: 640px) {
  .modal { padding: 0; }
  .modal-dialog { width: 100%; height: 100%; border-radius: 0; }
  .modal-head { padding: .7rem .75rem .7rem 1rem; }
  .modal-head span { display: none; }
  .modal-foot { padding: .5rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { .modal-backdrop, .modal-dialog { transition: none; } }

