:root {
  --bg: #FAF6EF;
  --bg-alt: #EFE7DA;
  --surface: #FFFDF9;
  --ink: #253044;
  --text: #4C4842;
  --text-soft: #6C665F;
  --text-mute: #6A655D;
  --lead: #57534C;
  --hint: #645F58;
  --accent: #C0563A;
  --accent-hover: #A2452C;
  --accent-light: #D2694A;
  --sage: #6E8577;
  --sand: #C89A6B;
  --stone: #A9A196;
  --line: #E2D8C8;
  --card-line: #E8DFD1;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 40px);
  --pad-y: clamp(48px, 7vw, 96px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #8F4A28; }
img { display: block; max-width: 100%; }
a, button, summary { touch-action: manipulation; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
section[id] { scroll-margin-top: 86px; }
[hidden] { display: none !important; }

@keyframes reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.page { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
.container { max-width: 1180px; margin: 0 auto; padding: var(--pad-y) var(--gutter); }
.band { background: var(--bg-alt); }

/* Typography */
.h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5.4vw, 62px); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 22px; text-wrap: pretty; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.14; margin: 0 0 40px; }
.h3-serif { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.2; margin: 0; }
.eyebrow { font-size: 14px; color: var(--text-soft); font-weight: 600; }
.tag { font-size: 13.5px; color: var(--sage); font-weight: 600; }
.lede { font-size: 16px; line-height: 1.6; color: var(--hint); margin: -26px 0 40px; }
.body { font-size: 17px; line-height: 1.7; color: var(--text); margin: 0 0 16px; max-width: 34em; text-wrap: pretty; }
.body:last-child { margin-bottom: 0; }
.muted { font-size: 15.5px; line-height: 1.6; color: var(--text-soft); margin: 0; }
.nowrap-desktop { white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: #FFFDF9; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background .2s, transform .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--accent-hover); color: #FFFDF9; }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: 17px; }
.btn-hero { box-shadow: 0 10px 26px rgba(192, 86, 58, 0.3); }
@media (hover: hover) { .btn-hero:hover { transform: translateY(-1px); } }
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); padding: 0 22px; align-self: flex-start; }
.btn-outline:hover { background: var(--accent); color: #FFFDF9; }
.on-dark .btn:hover { background: var(--accent-light); }
.btn-ghost-dark { background: transparent; border: 1px solid #6C665F; color: #FAF6EF; }
.btn-ghost-dark:hover { background: transparent; border-color: #FAF6EF; color: #FAF6EF; }

/* Language switch */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.top-controls { position: fixed; top: calc(14px + env(safe-area-inset-top)); right: calc(14px + env(safe-area-inset-right)); z-index: 80; display: flex; gap: 8px; align-items: center; }
.lang-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(250, 246, 239, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(37, 48, 68, 0.08); }
.lang-switch a { cursor: pointer; min-width: 44px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-soft); }
.lang-switch a[aria-current="page"] { background: var(--ink); color: #FAF6EF; }
.lang-switch a:not([aria-current="page"]):hover { color: var(--ink); }
.lang-switch a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Mobile menu: button beside the language switch, full-screen sheet */
.menu-toggle { all: unset; cursor: pointer; display: none; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(250, 246, 239, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(37, 48, 68, 0.08); }
.menu-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, background .25s ease; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; }
.menu-icon::before { transform: translateY(-5px); }
.menu-icon::after { transform: translateY(5px); }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 75; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; animation: menu-in .3s cubic-bezier(.16,.8,.3,1) both; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.mobile-menu-inner { display: flex; flex-direction: column; min-height: 100%; padding: calc(84px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom)); }
.mobile-menu-inner > a { font-family: var(--serif); font-size: 32px; line-height: 1.2; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu-inner > a:active { color: var(--accent); }
.mobile-menu-cta { display: flex; gap: 10px; margin-top: auto; padding-top: 32px; }
.mobile-menu-cta .btn { flex: 1; min-height: 52px; }
.mobile-menu-cta .btn-outline { align-self: auto; }
@media (min-width: 760px) { .mobile-menu { display: none !important; } }

/* Sticky header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 70; background: rgba(250, 246, 239, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); animation: reveal 0.35s ease both; }
.site-header-inner { max-width: 1180px; margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; flex-direction: column; flex: none; }
.brand-name { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.brand-sub { font-size: 12.5px; color: var(--text-mute); }
.site-nav { display: flex; flex-wrap: nowrap; white-space: nowrap; gap: 18px; font-size: 14px; flex: 0 1 auto; min-width: 0; }
.site-nav a { color: var(--text); }
.site-nav a:hover { color: var(--accent); }
.site-header .btn { margin-right: 88px; flex: none; }
@media (max-width: 1179px) { .site-nav { display: none; } }

/* Hero */
.hero { max-width: 1180px; margin: 0 auto; padding: clamp(28px, 7vw, 72px) var(--gutter) clamp(44px, 6vw, 72px); display: flex; flex-wrap: wrap; flex-direction: row-reverse; gap: clamp(24px, 5vw, 64px); align-items: center; justify-content: center; }
.hero-media { flex: 1 1 420px; min-width: min(100%, 280px); max-width: 540px; }
.hero-copy { flex: 1 1 340px; min-width: 280px; }
.portrait { width: 100%; height: auto; aspect-ratio: 1 / 0.96; object-fit: contain; object-position: 50% 100%; background: radial-gradient(120% 100% at 50% 10%, #F3EADB 0%, #E7DFCF 62%, #DCD3C1 100%); border-radius: 24px; border: 1px solid var(--card-line); box-shadow: 0 18px 44px rgba(37, 48, 68, 0.1); }
.portrait-about { border-radius: 22px; border-color: #E0D5C3; box-shadow: 0 14px 34px rgba(37, 48, 68, 0.09); background: radial-gradient(120% 100% at 50% 10%, #FAF6EF 0%, #F0E8D9 68%, #E4DAC8 100%); }
.kicker { font-size: 15px; color: var(--sage); font-weight: 600; margin-bottom: 20px; }
.hero-lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: var(--lead); margin: 0 0 30px; max-width: 30em; text-wrap: pretty; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px; max-width: 520px; }
.stat-num { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1; color: var(--accent); }
.stat-label { font-size: 13.5px; line-height: 1.4; color: var(--text-soft); margin-top: 8px; }
.hero-note { font-size: 13px; color: var(--text-mute); margin-top: 14px; }
.hero-limit { font-size: 13.5px; color: var(--sage); font-weight: 600; margin-top: 8px; }

/* Cards */
.grid { display: grid; gap: 18px; }
.grid-pain { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-services { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--card-line); border-radius: 20px; padding: 26px; box-shadow: 0 8px 26px rgba(37, 48, 68, 0.05); }
.card-pain { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; line-height: 1.55; color: #3D3A35; cursor: pointer; -webkit-user-select: none; user-select: none; transition: border-color .2s, background .2s; }
.card-pain input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 2px 0 0; border: 1.5px solid #CDBFA9; border-radius: 50%; background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.card-pain input::before { content: ''; width: 9px; height: 5px; border-left: 2px solid #FFFDF9; border-bottom: 2px solid #FFFDF9; transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.card-pain input:checked { background: var(--accent); border-color: var(--accent); }
.card-pain input:checked::before { opacity: 1; }
.card-pain input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card-pain:has(input:checked) { border-color: #E3B9A6; background: #FCF3EC; color: var(--ink); }
@media (hover: hover) { .card-pain:hover input:not(:checked) { border-color: var(--accent); } }
.pain-result-inner { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 24px; border-radius: 20px; background: var(--ink); color: #FAF6EF; animation: reveal .45s cubic-bezier(.16,.8,.3,1) both; }
.pain-result-inner p { margin: 0; font-size: 16.5px; line-height: 1.5; }
.pain-result-inner b { color: #F0B49E; }
.pain-result-inner .btn:hover { background: var(--accent-light); }
.card-service { border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.card-service .muted { flex: 1; }
.services-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.services-cta p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text); max-width: 48em; }
.services-cta .btn-outline { align-self: auto; }
.dots { display: none; }
.dots button { all: unset; cursor: pointer; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.dots button::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #D3C6B2; transition: background .2s, transform .2s; }
.dots button[aria-current="true"]::before { background: var(--accent); transform: scale(1.25); }
.dots button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 50%; }

/* Approach */
.split { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); }
.split-main { flex: 1 1 360px; min-width: 280px; }
.split-main .h2 { margin-bottom: 24px; }
.split-side { flex: 1 1 260px; min-width: 240px; display: grid; gap: 14px; align-content: start; }
.points { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.split { row-gap: 32px; }
.point { background: var(--surface); border-radius: 18px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; margin-top: 6px; }

/* Body chain: tap a point to see how it loads the lower back */
.chain { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px; background: var(--surface); border-radius: 22px; box-shadow: 0 8px 26px rgba(37, 48, 68, 0.05); }
.chain-fig { position: relative; width: 150px; aspect-ratio: 1 / 2; }
.chain-fig svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chain-body { fill: none; stroke: #CFC4B4; stroke-width: 2; stroke-linecap: round; }
.chain-line { fill: none; stroke: var(--stone); stroke-width: 2; stroke-dasharray: 2 5; stroke-linecap: round; }
.chain-seg { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s ease; }
.chain-seg.is-active { stroke-dashoffset: 0; }
.chain-pt { all: unset; position: absolute; display: flex; align-items: center; gap: 2px; transform: translate(-14px, -50%); min-height: 40px; padding-right: 6px; cursor: pointer; font-size: 13px; color: var(--text-soft); white-space: nowrap; }
.chain-pt::before { content: ''; box-sizing: border-box; width: 12px; height: 12px; margin: 8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); transition: background .2s, box-shadow .2s; }
.chain-pt[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.chain-pt[aria-pressed="true"]::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(192, 86, 58, 0.18); }
.chain-pt:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-radius: 999px; }
.chain-pain { position: absolute; display: flex; flex-direction: row-reverse; align-items: center; gap: 6px; transform: translate(calc(-100% + 9px), -50%); font-size: 12px; color: var(--accent); white-space: nowrap; pointer-events: none; }
.chain-pain::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, rgba(192, 86, 58, 0.55) 0 30%, rgba(192, 86, 58, 0.15) 60%, transparent 72%); }
.chain-pt span, .chain-pain span { background: var(--surface); border-radius: 6px; padding: 1px 4px; }
.chain-hint { font-size: 13px; color: var(--text-mute); margin-bottom: 10px; }
.chain-text h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; margin: 0 0 8px; }
.chain-text:not([hidden]) { animation: reveal .4s cubic-bezier(.16,.8,.3,1) both; }

/* Toolkit */
/* Sits directly under the services cards, as their footnote rather than a section of its own */
.services { padding-bottom: clamp(32px, 4vw, 48px); }
.toolkit { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.toolkit-inner { border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid #DCD1BF; border-radius: 999px; padding: 9px 18px; font-size: 14.5px; color: var(--text); }
.chips-track { display: contents; }
.chip-clone { display: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip-solid { background: var(--surface); border: 0; border-radius: 12px; padding: 11px 16px; }

/* Process */
.process { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.process .h2 { margin-bottom: 44px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--c); padding-top: 20px; }
.step-num { font-family: var(--serif); font-size: 34px; color: var(--c); line-height: 1; }
.step h3 { font-size: 18px; font-weight: 600; margin: 0; }

/* About */
.about-media { flex: 1 1 300px; min-width: 260px; display: grid; gap: 14px; }
.about-copy { flex: 1 1 380px; min-width: 280px; }
.about-copy .h2 { margin-bottom: 20px; }
.about-copy .body { margin-bottom: 14px; }
.split-top { align-items: flex-start; }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; margin: 32px 0 28px; }
.about-stats .stat-num { font-size: 38px; }
.about-stats .stat-label { font-size: 14px; margin-top: 6px; }
.about-copy .eyebrow { margin-bottom: 14px; }

/* Diplomas */
.lede-tight { margin-top: -28px; margin-bottom: 36px; }
.diplomas { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.diploma { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 12px; }
.diploma img { width: 100%; aspect-ratio: 1 / 1.35; object-fit: cover; object-position: 50% 0%; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 8px 22px rgba(37, 48, 68, 0.06); transition: border-color .2s; }
.diploma:hover img { border-color: var(--accent); }
.diploma:focus-visible img { outline: 2px solid var(--accent); outline-offset: 3px; }
.diploma span { font-size: 13.5px; line-height: 1.45; color: var(--text-soft); }

/* Pricing */
.pricing { padding-top: clamp(24px, 4vw, 48px); }
.pricing .h2 { margin-bottom: 46px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 18px; align-items: stretch; grid-auto-rows: 1fr; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--card-line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 8px 26px rgba(37, 48, 68, 0.05); }
.plan h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.25; margin: 8px 0 0; min-height: 2.5em; }
.plan h3 b { font-family: var(--sans); font-weight: 600; font-size: 23px; }
.plan .muted { flex: 1; }
.price-block { display: flex; flex-direction: column; gap: 4px; min-height: 52px; }
.price-row { display: flex; align-items: baseline; gap: 9px; }
.price { font-size: 27px; font-weight: 500; letter-spacing: -0.01em; }
.price-old { font-size: 14.5px; color: var(--text-mute); text-decoration: line-through; }
.price-save { margin-left: auto; align-self: center; font-size: 12.5px; font-weight: 600; color: var(--sage); background: rgba(110, 133, 119, 0.12); border-radius: 999px; padding: 4px 10px; }
.plan-featured .price-save { color: #B9CDBF; background: rgba(185, 205, 191, 0.14); }
.plan-tabs { display: none; }
.price-note { font-size: 13px; letter-spacing: 0.04em; color: var(--text-mute); }
.plan .btn { min-height: 50px; font-size: 16px; }
.plan-featured { background: var(--ink); color: #FAF6EF; border-color: var(--ink); box-shadow: 0 18px 40px rgba(37, 48, 68, 0.18); }
.plan-featured .muted { color: #C9C2B7; }
.plan-featured .price-old { color: #8F897E; }
.plan-featured .price-note { color: var(--stone); }
.plan-featured .btn:hover { background: var(--accent-light); }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 600; background: var(--accent); color: #FFFDF9; border-radius: 999px; padding: 8px 18px; }
.fine { font-size: 13.5px; line-height: 1.65; color: var(--text-mute); margin: 22px 0 0; max-width: 46em; }

/* Reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.scroll-btns { display: flex; gap: 10px; flex: none; margin-bottom: 36px; }
.scroll-btns button { all: unset; cursor: pointer; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-size: 18px; transition: background .2s, color .2s, opacity .2s; }
.scroll-btns button:hover { background: var(--accent); color: #FFFDF9; }
.scroll-btns button:disabled { opacity: .35; pointer-events: none; }
.scroll-btns button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.reviews { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 2px; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: #D3C6B2 transparent; overscroll-behavior-x: contain; }
.reviews:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 20px; }
.review { flex: 0 0 clamp(230px, 22vw, 270px); scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 12px; background: var(--surface); border-radius: 20px; padding: 22px; box-shadow: 0 8px 26px rgba(37, 48, 68, 0.05); }
.review::before { content: '“'; font-family: var(--serif); font-size: 52px; line-height: 0.6; color: var(--accent); height: 18px; }
.review-tag { font-size: 13.5px; color: var(--sage); font-weight: 600; }
.review blockquote { margin: 0; flex: 1; font-family: var(--sans); font-size: 16.5px; font-weight: 500; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.review mark { background: linear-gradient(transparent 55%, rgba(200, 154, 107, 0.35) 55%); color: inherit; font-weight: 600; padding: 0 1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.review figcaption { padding-top: 12px; border-top: 1px solid var(--card-line); }
.review-src { all: unset; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.review-src:hover { color: var(--accent-hover); }
.review-src:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 759px) {
  .scroll-btns { display: none; }
  .review { flex-basis: 72vw; }
}
.reviews-cta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 32px; font-size: 16px; color: var(--text); }
.reviews-cta .btn { min-height: 48px; font-size: 15.5px; }

/* FAQ */
.faq-list { max-width: 860px; }
.faq .h2 { margin-bottom: 36px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--card-line); border-radius: 18px; padding: 22px 26px; }
.faq-list summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; font-size: 17.5px; font-weight: 600; line-height: 1.4; }
.faq-list summary::after { content: '+'; flex: none; font-size: 22px; font-weight: 400; line-height: 1.1; color: var(--accent); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.faq-list p { font-size: 16px; line-height: 1.7; color: #5A554E; margin: 14px 0 0; }

/* Final CTA */
.final { background: var(--ink); color: #FAF6EF; }
.final .container { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
.final .h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.12; margin: 0 0 18px; max-width: 22em; text-wrap: pretty; }
.final-lead { font-size: 17.5px; line-height: 1.7; color: #C9C2B7; margin: 0 0 34px; max-width: 34em; }
.final-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.final-actions .btn { padding: 0 32px; }
.contacts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid #47443F; font-size: 15px; color: #B9B1A4; }
.contacts a { color: #D7CFC3; }
.copyright { font-size: 12.5px; color: var(--stone); margin: 8px 0 0; }
.disclaimer { font-size: 12.5px; line-height: 1.6; color: var(--stone); margin: 18px 0 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(23, 30, 44, 0.78); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; overscroll-behavior: contain; }
.lightbox-box { max-width: 620px; width: 100%; background: var(--surface); border-radius: 22px; padding: 22px; max-height: 92vh; max-height: 92dvh; overflow: auto; }
.lightbox-box img { width: 100%; max-height: 74vh; max-height: 74dvh; object-fit: contain; border-radius: 14px; background: #F6EFE4; }
.lightbox-foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 16px; }
.lightbox-foot span { font-size: 15.5px; line-height: 1.5; color: var(--text); }
.lightbox-foot button { all: unset; cursor: pointer; flex: none; min-height: 44px; padding: 0 4px; display: inline-flex; align-items: center; font-size: 14px; color: var(--accent); font-weight: 600; }
.lightbox-foot button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
html.no-scroll { overflow: hidden; }

/* Landscape phones: don't force a full-height hero */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; }
}

@media (max-width: 759px) {
  .h1 { font-size: 34px; line-height: 1.1; margin-bottom: 18px; }
  .h2 { font-size: 27px; margin-bottom: 30px; }
  .final .h2 { font-size: 27px; }
  .lede, .lede-tight { margin-top: -16px; margin-bottom: 28px; }
  .container, .toolkit, .hero { padding-left: 20px; padding-right: 20px; }
  section[id] { scroll-margin-top: 16px; }
  .nowrap-desktop { white-space: normal; }
  .site-header { display: none; }
  .menu-toggle { display: inline-flex; }

  /* Buttons may wrap instead of overflowing narrow screens */
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 8px; padding-bottom: 8px; }
  .btn-lg { padding-left: 24px; padding-right: 24px; }

  /* Hero: leave room for the language switch, keep the headline near the fold */
  .hero { min-height: auto; padding-top: 64px; gap: 24px; }
  .hero-media { max-width: 420px; }
  .hero .portrait { max-height: 34svh; }
  .kicker { font-size: 14px; margin-bottom: 12px; }
  .hero-lead { margin-bottom: 22px; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .hero-stats { order: 5; margin: 26px 0 0; }
  .hero-stats { gap: 12px; }
  .stat-label { font-size: 12.5px; }
  .btn-hero { width: 100%; }
  .hero-note, .hero-limit { text-align: center; }

  /* Cards */
  .card { padding: 22px; }
  .card-service { padding: 24px; }
  /* "This is for you if": one list panel instead of eight stacked cards */
  .grid-pain { gap: 0; background: var(--surface); border: 1px solid var(--card-line); border-radius: 18px; padding: 2px 20px; box-shadow: 0 8px 26px rgba(37, 48, 68, 0.05); }
  .card-pain { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 14px 0; font-size: 15.5px; line-height: 1.5; }
  .card-pain + .card-pain { border-top: 1px solid var(--card-line); }
  .grid-pain .card-pain:has(input:checked) { background: none; border-color: var(--card-line); }
  .card-pain input { margin-top: 0; }
  .pain-result-inner { padding: 18px 20px; }
  .pain-result-inner .btn { width: 100%; }
  /* Body chain: figure on top, explanation below */
  .chain { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; padding: 22px 20px; }
  .chain-fig { width: 130px; }
  .chain-info { width: 100%; min-height: 124px; }
  .chain-text h3 { font-size: 23px; }

  /* Approach points: one panel with dividers instead of three separate cards */
  .points { grid-template-columns: minmax(0, 1fr); gap: 0; background: var(--surface); border-radius: 18px; padding: 2px 20px; }
  .point { background: none; border-radius: 0; padding: 16px 0; gap: 14px; font-size: 15.5px; }
  .point + .point { border-top: 1px solid var(--card-line); }
  .dot { width: 10px; height: 10px; margin-top: 7px; }
  .services-cta { margin-top: 18px; }
  .services-cta .btn { width: 100%; }

  /* Services: full-bleed swipe row instead of a tall stack */
  .grid-services { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; margin: 0 -20px; padding: 4px 20px 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .grid-services::-webkit-scrollbar { display: none; }
  .grid-services .card-service { flex: 0 0 min(80vw, 320px); scroll-snap-align: start; }
  .dots { display: flex; justify-content: center; margin-top: 8px; }

  /* Process: vertical path — numbered bubbles joined by a line */
  .process .h2 { margin-bottom: 30px; }
  .steps { gap: 0; }
  .step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; border-top: 0; padding: 0 0 28px; }
  .step:last-child { padding-bottom: 0; }
  .step:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--c); opacity: .35; }
  .step-num { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #FFFDF9; display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
  .step h3 { grid-column: 2; align-self: center; min-height: 44px; display: flex; align-items: center; }
  .step .muted { grid-column: 2; }

  /* Toolkit and education chips: smaller so they pack into fewer rows */
  .toolkit { padding-bottom: 36px; }
  .toolkit-inner { padding-top: 28px; gap: 14px; }
  .chips { gap: 8px; }
  .toolkit-inner { display: grid; grid-template-columns: minmax(0, 1fr); }
  /* Toolkit and education: running line (marquee); the track holds the chips twice, so -50% loops seamlessly */
  .chips.marquee { flex-wrap: nowrap; overflow: hidden; margin: 0 -20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .marquee .chips-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
  .marquee .chips-track > .chip { flex: none; white-space: nowrap; margin-right: 8px; }
  .marquee .chips-track > .chip-clone { display: inline-block; }
  .chips.marquee:hover .chips-track, .chips.marquee:active .chips-track { animation-play-state: paused; }
  /* Education: longer names, so slower, and running the other way from the toolkit line */
  .about-copy .marquee .chips-track { animation-duration: 45s; animation-direction: reverse; }
  .chip { padding: 7px 13px; font-size: 13.5px; }
  .chip-solid { padding: 8px 12px; border-radius: 10px; }

  /* About */
  .portrait-about { max-height: 52svh; }
  .about-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
  .about-stats .stat-num { font-size: 30px; }
  .about-stats .stat-label { font-size: 12.5px; }

  /* Diplomas: full-bleed swipe row, about two documents per screen */
  .diplomas { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; margin: 0 -20px; padding: 4px 20px 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .diplomas::-webkit-scrollbar { display: none; }
  .diploma { flex: 0 0 min(40vw, 200px); scroll-snap-align: start; }
  .diploma img { border-radius: 12px; }
  .diploma span { font-size: 12.5px; }

  /* Pricing: 1 · 4 · 8 switcher over one card. All plans share one grid cell,
     so the block keeps the tallest card's height and nothing below jumps. */
  .plan-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-bottom: 30px; border-radius: 18px; background: var(--bg-alt); }
  .plan-tabs button { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; border-radius: 14px; color: var(--text-soft); transition: background .25s, color .25s; }
  .plan-tabs b { font-size: 20px; font-weight: 600; line-height: 1.1; }
  .plan-tabs span { font-size: 12.5px; }
  .plan-tabs button[aria-pressed="true"] { background: var(--ink); color: #FAF6EF; box-shadow: 0 6px 16px rgba(37, 48, 68, 0.18); }
  .plan-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .plans { grid-auto-rows: auto; gap: 30px; }
  .plans.has-tabs { grid-template-columns: minmax(0, 1fr); touch-action: pan-y; }
  .plans.has-tabs .plan { grid-area: 1 / 1; transition: opacity .3s ease, transform .3s ease; }
  .plans.has-tabs .plan:not(.is-active) { visibility: hidden; opacity: 0; transform: translateX(var(--from, 16px)) scale(.98); }
  .plan { padding: 28px 24px; }
  .plan h3 { min-height: 0; }
  .price-block { min-height: 0; }

  /* Reviews: full-bleed swipe row */
  .reviews { align-items: flex-start; margin: 0 -20px; padding: 4px 20px 10px; scroll-padding-left: 20px; scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex-basis: min(80vw, 320px); }
  .reviews-cta { margin-top: 24px; gap: 14px; }
  .reviews-cta .btn { width: 100%; }

  /* FAQ */
  .faq-list details { padding: 18px 20px; }
  .faq-list summary { font-size: 16.5px; }
  .faq-list p { font-size: 15.5px; }

  /* Final CTA */
  .final-lead { font-size: 16.5px; }
  .final-actions .btn { flex: 1 1 140px; padding: 0 20px; }
  .contacts { flex-direction: column; gap: 10px; margin-top: 36px; }

  /* Lightbox */
  .lightbox { padding: 12px; }
  .lightbox-box { padding: 14px; border-radius: 18px; }
  .lightbox-box img { max-height: 70vh; max-height: 70dvh; }
  .lightbox-foot span { font-size: 14px; }
}

@media (max-width: 374px) {
  .h1 { font-size: 30px; }
  .h2, .final .h2 { font-size: 25px; }
  .hero-stats .stat-num { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* No marquee: let the chip rows be swiped instead */
  .chips.marquee { overflow-x: auto; scrollbar-width: none; }
  .marquee .chips-track > .chip-clone { display: none; }
}
