/* Rovný úsmev · kampaň kliniky Sangre Azul, River Park
   Predajný lievik na konzultácie v rukopise River Parku:
   serifové nadpisy (nadväzujú na nápis v erbe), čitateľný grotesk na text a formuláre,
   teplý papier, hlboká modrá Sangre Azul, hranaté fotky a vlasové linky namiesto kariet. */

:root {
    --paper: #F4F2EE;
    --paper-2: #EBE7E0;
    --white: #FBFAF8;
    --ink: #0E1838;
    --ink-2: #091029;
    --navy: #111F89;
    --navy-d: #0A145E;
    --text: #1E2436;
    --muted: #5F6577;
    --line: #D9D3C9;
    --line-ink: #2A3460;
    --on-ink: #EEEBE6;
    --on-ink-muted: #A9AFC4;
    --peri: #5379F2;
    --wine: #8E1E33;
    --err: #A3261F;
    --err-bg: #F6E3E0;
    --ok: #1D6B47;

    --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(0.32, 0.72, 0, 1);
    --hd: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; counter-reset: sec; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ol, ul, dl, dd, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
a { color: var(--navy); }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--ink); font-weight: 400; text-wrap: balance; }
p, dd, li { text-wrap: pretty; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--peri); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; transition: top .3s var(--ease); }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Typografia ---------- */
.eyebrow { display: flex; align-items: center; gap: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; counter-increment: sec; }
.eyebrow::before { content: counter(sec, decimal-leading-zero); color: var(--navy); }
.eyebrow::after { content: ''; order: -0; width: 40px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow { flex-wrap: nowrap; }
.eyebrow::after { order: 0; }
.h2 { font-family: var(--serif); font-size: clamp(34px, 3.7vw, 56px); font-weight: 400; line-height: 1.08; letter-spacing: -0.012em; }
.sec-head { max-width: 820px; margin-bottom: 64px; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.sec-head--row > p { max-width: 360px; color: var(--muted); font-size: 16px; }

/* Číslo pred čiarou: poradie 01 —— TEXT */
.eyebrow { display: grid; grid-template-columns: auto 40px auto; justify-content: start; }
.eyebrow::before { grid-column: 1; }
.eyebrow::after { grid-column: 2; grid-row: 1; align-self: center; }

/* ---------- Tlačidlá ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid var(--navy);
    border-radius: 0;
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease), transform .15s var(--ease);
}
.btn::after { content: ''; width: 18px; height: 1px; background: currentColor; transition: width .45s var(--ease); }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:hover::after { width: 28px; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 12px; }
.btn--sm::after { display: none; }
.btn--lg { min-height: 58px; }
.btn--block { width: 100%; justify-content: space-between; }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn[disabled] { cursor: progress; }
.btn.is-loading { color: transparent; position: relative; }
.btn.is-loading::after { position: absolute; left: 50%; top: 50%; width: 40px; height: 2px; margin: -1px 0 0 -20px; background: linear-gradient(90deg, rgba(255,255,255,.2), #fff, rgba(255,255,255,.2)); background-size: 200% 100%; animation: load 1s linear infinite; }
@keyframes load { to { background-position: -200% 0; } }
.link { background: none; border: 0; padding: 8px 0; color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; cursor: pointer; }
.link:hover { color: var(--ink); }

/* ---------- Hlavička ---------- */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--white); transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease); }
.hd.is-scrolled { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hd__in { height: var(--hd); display: flex; align-items: center; gap: 28px; transition: height .5s var(--ease); }
.hd.is-scrolled .hd__in { height: 66px; }
.logo { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; flex: none; }
.logo__sa { --sa-h: 40px; filter: brightness(0) invert(1); transition: filter .5s var(--ease); }
.hd.is-scrolled .logo__sa { filter: none; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.15; padding-left: 16px; border-left: 1px solid currentColor; border-left-color: rgba(127, 127, 127, 0.4); }
.logo__txt b { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.logo__txt small { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: .7; }
.hd__nav { display: flex; gap: 28px; margin-left: auto; }
.hd__nav a { position: relative; color: inherit; font-size: 14px; font-weight: 500; text-decoration: none; padding: 8px 0; }
.hd__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hd__nav a:hover::after, .hd__nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.hd__tel { font-size: 14px; font-weight: 600; color: inherit; text-decoration: none; white-space: nowrap; }
.hd .btn--sm { background: transparent; border-color: currentColor; color: inherit; }
.hd .btn--sm:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hd.is-scrolled .btn--sm { background: var(--navy); border-color: var(--navy); color: #fff; }
.hd.is-scrolled .btn--sm:hover { background: var(--ink); border-color: var(--ink); }
.hd__burger { display: none; width: 44px; height: 44px; border: 1px solid currentColor; border-color: rgba(127, 127, 127, 0.5); background: transparent; position: relative; cursor: pointer; flex: none; color: inherit; }
.hd__burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.hd__burger i:first-of-type { top: 17px; }
.hd__burger i:last-of-type { top: 25px; }
.hd__burger[aria-expanded="true"] i:first-of-type { top: 21px; transform: rotate(45deg); }
.hd__burger[aria-expanded="true"] i:last-of-type { top: 21px; transform: rotate(-45deg); }
.hd:has(.hd__burger[aria-expanded="true"]) { background: var(--paper); color: var(--ink); }
.hd:has(.hd__burger[aria-expanded="true"]) .logo__sa { filter: none; }
.menu { border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100svh - 64px); overflow: auto; }
.menu nav { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 24px; }
.menu nav a:not(.btn) { padding: 14px 0; font-family: var(--serif); font-size: 24px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 24px; }
.menu__tel { text-align: center; font-family: var(--sans) !important; font-size: 16px !important; border: 0 !important; color: var(--navy) !important; }

/* ---------- 01 Hero ---------- */

/* Formulár 01 ako lišta na fotke */

/* Polia */
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld--full { grid-column: 1 / -1; }
.fld label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.fld input { height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--white); font-size: 17px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.fld input::placeholder { color: #A39E95; }
.fld input:hover { border-color: #B9B2A6; }
.fld input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(83, 121, 242, 0.22); }
.fld input[aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px rgba(163, 38, 31, 0.12); }
.fld__err { font-size: 13px; font-weight: 600; color: var(--err); }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.chk input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--navy); cursor: pointer; }
.chk input[aria-invalid="true"] { outline: 2px solid var(--err); outline-offset: 1px; }
.chk a { color: var(--ink); }
.form-fail { margin-top: 14px; background: var(--err-bg); color: var(--err); font-size: 14px; font-weight: 600; padding: 12px 14px; }
.form-fail a { color: var(--err); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }

/* Úspech */
.done { position: absolute; inset: 0; z-index: 5; background: var(--paper); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 24px 28px; animation: rise .6s var(--ease) both; outline: none; color: var(--text); }
.card-form .done { background: var(--white); }
.done__h { font-family: var(--serif); font-size: 30px; color: var(--ink); display: flex; align-items: center; gap: 14px; }
.done__h::before { content: ''; width: 28px; height: 28px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; flex: none; }
.done--big .done__h { font-size: 40px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Dôkazy pod herom */
.proof { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); }
.proof li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-content: start; padding: 36px 24px 40px 0; border-bottom: 1px solid var(--line); }
.proof li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.proof__i { grid-row: 1 / span 2; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: var(--muted); padding-top: 12px; }
.proof b { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 40px); line-height: 1.1; color: var(--ink); }
.proof li > span:last-child { font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 6px; }

/* ---------- 02 Kto vás bude liečiť ---------- */
.trust { padding: clamp(96px, 13vh, 152px) 0; }
.trust__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.trust__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 42%; }
.trust__name { margin-top: 32px; font-family: var(--serif); font-size: 26px; color: var(--ink); }
.trust__role { font-size: 15px; color: var(--muted); }
.creds { margin: 24px 0 36px; border-top: 1px solid var(--line); }
.creds li { position: relative; padding: 13px 0 13px 32px; border-bottom: 1px solid var(--line); font-size: 16px; }
.creds li::before { content: ''; position: absolute; left: 0; top: 25px; width: 16px; height: 1px; background: var(--navy); }

/* ---------- 03 Ako to funguje ---------- */
.how { padding: clamp(96px, 13vh, 152px) 0; background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 3vw, 48px); }
.steps li { padding: 32px 0 44px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 72px 1fr; column-gap: 12px; }
.steps__n { grid-row: 1 / span 2; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--navy); }
.steps h3 { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin-bottom: 10px; }
.steps p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.how__cta { display: flex; align-items: center; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.how__cta span { font-size: 15px; color: var(--muted); }

/* ---------- 04 Pred a po ---------- */
.ba { padding: clamp(96px, 13vh, 152px) 0; }
.ba__grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ba__copy > p:not(.eyebrow):not(.ba__note) { margin-top: 20px; color: var(--muted); }
.ba__note { margin-top: 24px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wine); }
.ba__slider { position: relative; aspect-ratio: 16 / 10; overflow: hidden; user-select: none; touch-action: pan-y; }
.ba__layer { position: absolute; inset: 0; display: grid; place-items: center; }
.ba__layer svg { width: 84%; height: auto; }
.ba__layer--before { background: var(--paper-2); color: #6B4A45; }
.ba__layer--after { background: #E7EAF4; color: var(--navy); clip-path: inset(0 0 0 var(--pos)); }
.ba__tag { position: absolute; top: 18px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.ba__tag--l { left: 20px; }
.ba__tag--r { right: 20px; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--ink); z-index: 2; pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--ink); }
.ba__knob::before, .ba__knob::after { content: ''; position: absolute; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid #fff; border-left: 1.5px solid #fff; margin-top: -3.5px; }
.ba__knob::before { left: 15px; transform: rotate(-45deg); }
.ba__knob::after { right: 15px; transform: rotate(135deg); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba__slider:has(.ba__range:focus-visible) .ba__knob { outline: 2px solid var(--peri); outline-offset: 4px; }

/* ---------- 05 Prečo dlahy (tmavá kapitola) ---------- */
.why { padding: clamp(96px, 13vh, 152px) 0; background: var(--ink); color: var(--on-ink); }
.why .eyebrow { color: var(--on-ink-muted); }
.why .eyebrow::before { color: var(--on-ink); }
.why .h2 { color: var(--white); }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__img { position: sticky; top: 104px; }
.why__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; }
.why__list { margin-top: 40px; border-top: 1px solid var(--line-ink); }
.why__list div { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line-ink); }
.why__list dt { font-family: var(--serif); font-size: 22px; color: var(--white); line-height: 1.25; }
.why__list dd { color: var(--on-ink-muted); font-size: 16px; }

/* ---------- 06 Formulár 02 ---------- */
.ask { padding: clamp(96px, 13vh, 152px) 0; }
.ask__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.ask__side > p:not(.eyebrow):not(.ask__direct) { margin-top: 20px; color: var(--muted); max-width: 26em; }
.ask__img { margin-top: 36px; }
.ask__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.ask__direct { margin-top: 20px; font-size: 15px; color: var(--muted); }
.card-form { position: relative; background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3vw, 44px); }
.mf { display: flex; flex-direction: column; gap: 26px; }
.opts legend, .wiz__sub { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill, .choice { position: relative; }
.pill input, .choice input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); font-size: 15px; font-weight: 500; background: var(--white); cursor: pointer; transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.pill span:hover { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pill input:focus-visible + span, .choice input:focus-visible + span { outline: 2px solid var(--peri); outline-offset: 2px; }
.opts[aria-invalid="true"] .pill span, .wiz__step[aria-invalid="true"] .choice span { border-color: var(--err); }

/* ---------- 07 Pre koho ---------- */
.who { padding: clamp(96px, 13vh, 152px) 0; background: var(--paper-2); }
.who__list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 3vw, 48px); }
.who__list li { display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: start; padding: 32px 0; border-top: 1px solid #CFC8BC; }
.who__art { color: var(--ink); --tooth: var(--paper-2); }
.who__art svg { width: 84px; height: auto; }
.who__list h3 { font-family: var(--serif); font-size: 23px; line-height: 1.2; margin-bottom: 6px; }
.who__list p { font-size: 15px; color: var(--muted); }

/* ---------- 08 Klinika ---------- */
.clinic { padding: clamp(96px, 13vh, 152px) 0; }
.clinic__head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: 56px; }
.clinic__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.clinic__head p:not(.eyebrow) { color: var(--muted); }
.clinic__gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 300px 300px 260px; gap: 12px; }
.clinic__gallery figure { overflow: hidden; }
.clinic__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.clinic__gallery figure:hover img { transform: scale(1.03); }
.g1 { grid-column: 1 / 8; grid-row: 1 / 3; }
.g1 img { object-position: 25% 50%; }
.g2 { grid-column: 8 / 10; grid-row: 1 / 3; }
.g3 { grid-column: 10 / 13; grid-row: 1 / 3; }
.g4 { grid-column: 1 / 5; grid-row: 3; }
.g5 { grid-column: 5 / 9; grid-row: 3; }
.g6 { grid-column: 9 / 13; grid-row: 3; }

/* ---------- 09 FAQ ---------- */
.faq { padding: clamp(96px, 13vh, 152px) 0; background: var(--white); }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); }
.faq__side > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font-family: var(--serif); font-size: 22px; line-height: 1.3; color: var(--ink); transition: color .3s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 16px; height: 1px; background: var(--ink); transition: transform .45s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--navy); }
.faq details > div { padding: 0 48px 26px 0; color: var(--text); max-width: 46em; }
.faq details[open] > div { animation: rise .45s var(--ease) both; }

/* ---------- 10 Formulár 03 (tmavá kapitola) ---------- */
.book { padding: clamp(96px, 13vh, 152px) 0; background: var(--ink); color: var(--on-ink); }
.book .eyebrow { color: var(--on-ink-muted); }
.book .eyebrow::before { color: var(--on-ink); }
.book .h2 { color: var(--white); }
.book__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.book__side > p:not(.eyebrow) { margin-top: 20px; color: var(--on-ink-muted); }
.book__list { margin-top: 32px; border-top: 1px solid var(--line-ink); }
.book__list li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line-ink); font-size: 16px; }
.book__list li::before { content: ''; position: absolute; left: 0; top: 27px; width: 16px; height: 1px; background: var(--peri); }
.book .card-form { background: var(--paper); border: 0; color: var(--text); }
.book .done { background: var(--paper); }
.wiz { min-height: 560px; display: flex; flex-direction: column; }
.wiz__top { display: flex; align-items: center; gap: 18px; margin-bottom: 32px; }
.wiz__count { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wiz__bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.wiz__bar span { position: absolute; left: 0; top: -1px; height: 3px; width: 25%; background: var(--navy); transition: width .7s var(--ease); }
.wiz__step { display: flex; flex-direction: column; gap: 12px; }
.wiz__step.is-in { animation: step .55s var(--ease) both; }
.wiz__step.is-in.is-back { animation-name: stepBack; }
@keyframes step { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
.wiz__h { font-family: var(--serif); font-size: clamp(26px, 2.2vw, 32px); line-height: 1.15; color: var(--ink); margin-bottom: 12px; outline: none; }
.wiz__sub { margin: 12px 0 0; }
.choices { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.choice span { display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 0 16px 0 4px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; cursor: pointer; transition: background-color .3s var(--ease), padding .4s var(--ease); }
.choice span::before { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #A9A295; flex: none; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.choice span:hover { background: var(--white); padding-left: 12px; }
.choice input:checked + span { background: var(--white); padding-left: 12px; }
.choice input:checked + span::before { border-color: var(--navy); box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 10px var(--navy); }
.wiz__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 32px; }
.wiz__nav .btn { margin-left: auto; }
.sum { border-top: 1px solid var(--line); margin-bottom: 8px; }
.sum div { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: baseline; }
.sum dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sum dd { color: var(--ink); font-weight: 600; }
.sum button { background: none; border: 0; padding: 4px 0; color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ---------- 11 Kontakt ---------- */
.contact { padding: clamp(96px, 13vh, 152px) 0; }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__dl { margin-top: 32px; border-top: 1px solid var(--line); }
.contact__dl div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.contact__dl dt { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact__dl dd { color: var(--ink); }
.contact__dl a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 4px; }
.contact__cta { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.contact__map { display: grid; gap: 12px; }
.contact__map img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.contact__map iframe { width: 100%; height: 300px; border: 0; background: var(--paper-2); filter: grayscale(0.6) contrast(1.05); }

/* ---------- 12 Záver ---------- */
.final { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.final__bg { position: absolute; inset: 0; }
.final__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); opacity: 0; transition: opacity 1.6s var(--ease); }
.final__slide.is-active { opacity: 1; z-index: 1; animation: heroZoom 9s linear forwards; }
.final__slide.is-leaving { opacity: 0; z-index: 0; transform: scale(var(--z-end, 1.08)); }
.final::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(9, 16, 41, 0.55) 0%, rgba(9, 16, 41, 0.15) 55%, rgba(9, 16, 41, 0) 100%), linear-gradient(0deg, rgba(9, 16, 41, 0.45) 0%, rgba(9, 16, 41, 0) 35%); pointer-events: none; }
.final__in { position: relative; z-index: 2; min-height: min(88svh, 860px); padding-top: 120px; padding-bottom: 72px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.final__card { width: min(100%, 560px); padding: clamp(32px, 3.6vw, 52px); background: rgba(13, 24, 56, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 2px solid #B3263E; }
.final__k { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-ink-muted); }
.final__h { margin: 0; font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(40px, 4vw, 60px); line-height: 1.04; letter-spacing: -0.012em; }
.final__p { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: rgba(251, 250, 248, 0.8); }
.final__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 24px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid rgba(251, 250, 248, 0.14); font-size: 14px; color: rgba(251, 250, 248, 0.86); }
.final__meta li { display: flex; align-items: center; gap: 10px; }
.final__meta svg { flex: none; width: 18px; height: 18px; fill: none; stroke: #C9D5FF; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.final__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.final__tel { font-size: 14px; color: rgba(251, 250, 248, 0.7); text-decoration: none; }
.final__tel b { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(251, 250, 248, 0.4); }
.final__tel:hover b { border-color: #fff; }
.final__ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-bottom: 6px; }
.final__cap { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); transition: opacity .4s var(--ease); }
.final__cap.is-swap { opacity: 0; }
.final__dots { display: flex; gap: 6px; }
.final__dots i { position: relative; display: block; width: 36px; height: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.4); }
.final__dots i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.final__dots i.is-active::after { animation: heroProg 6s linear forwards; }
.final__dots i.is-done::after { transform: scaleX(1); }

/* ---------- Päta ---------- */
.ft { background: var(--ink-2); color: var(--on-ink-muted); padding: 64px 0 40px; font-size: 14px; }
.ft__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ft__logo { --sa-h: 44px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 16px; }
.ft a { color: var(--on-ink); text-decoration: none; }
.ft a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft__tm { margin-top: 36px; font-size: 12px; opacity: .6; }

.sticky { display: none; }

/* ---------- Odhaľovanie ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .clinic__gallery figure[data-reveal], .js .ba__slider[data-reveal] { transform: none; clip-path: inset(8% 0 0 0); transition: opacity .9s var(--ease), clip-path 1.3s var(--ease); }
.js .clinic__gallery figure[data-reveal].is-in, .js .ba__slider[data-reveal].is-in { clip-path: inset(0); }

/* ---------- ≤ 1100 ---------- */
@media (max-width: 1100px) {
    .hd__nav, .hd__tel { display: none; }
    .hd .btn--sm { margin-left: auto; }
    .hd__burger { display: block; }
    .proof { grid-template-columns: repeat(2, 1fr); }
    .proof li:nth-child(3) { padding-left: 0; border-left: 0; }
    .trust__grid, .ba__grid, .why__grid, .ask__grid, .faq__grid, .book__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
    .why__img { position: static; }
    .why__img img { aspect-ratio: 16 / 10; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .who__list { grid-template-columns: repeat(2, 1fr); }
    .clinic__head { grid-template-columns: 1fr; }
}

/* ---------- Mobil ---------- */
@media (max-width: 720px) {
    :root { --hd: 64px; }
    body { font-size: 16px; padding-bottom: 84px; }
    .logo__sa { --sa-h: 34px; }
    .logo__txt { padding-left: 12px; }
    .logo__txt small { display: none; }
    .logo__txt b { font-size: 17px; }
    .hd .btn--sm { padding: 0 14px; }
    .proof { grid-template-columns: 1fr 1fr; }
    .proof li, .proof li + li { padding: 24px 12px 24px 0; border-left: 0; }
    .proof li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
    .proof li { grid-template-columns: 1fr; }
    .proof__i { grid-row: auto; padding: 0 0 6px; }
    .proof b { font-size: 28px; }
    .proof li > span:last-child { font-size: 13px; }
    .trust, .how, .ba, .why, .ask, .who, .clinic, .faq, .book, .contact { padding: 72px 0; }
    .sec-head { margin-bottom: 40px; }
    .sec-head--row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .steps { grid-template-columns: 1fr; }
    .steps li { grid-template-columns: 56px 1fr; padding: 24px 0 28px; }
    .steps__n { font-size: 34px; }
    .why__list div { grid-template-columns: 1fr; gap: 4px; }
    .card-form { padding: 22px; }
    .grid2 { grid-template-columns: 1fr; }
    .who__list { grid-template-columns: 1fr; }
    .who__list li { grid-template-columns: 64px 1fr; padding: 24px 0; }
    .who__art svg { width: 64px; }
    .clinic__gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: 230px 230px 170px 170px; gap: 8px; }
    .g1 { grid-column: 1 / 3; grid-row: 1; }
    .g2 { grid-column: 1; grid-row: 2; }
    .g3 { grid-column: 2; grid-row: 2; }
    .g4 { grid-column: 1; grid-row: 3; }
    .g5 { grid-column: 2; grid-row: 3; }
    .g6 { grid-column: 1 / 3; grid-row: 4; }
    .faq summary { font-size: 19px; padding-right: 40px; }
    .faq details > div { padding-right: 0; }
    .wiz { min-height: 0; }
    .sum div { grid-template-columns: 1fr auto; }
    .sum dt { grid-column: 1 / -1; }
    .wiz__nav { flex-wrap: wrap; }
    .wiz__nav .btn { flex: 1 1 100%; justify-content: space-between; white-space: normal; text-align: left; line-height: 1.35; padding-top: 12px; padding-bottom: 12px; }
    .wiz__back { order: 2; }
    .btn { letter-spacing: 0.1em; }
    .contact__dl div { grid-template-columns: 1fr; gap: 2px; }
    .contact__cta { flex-wrap: wrap; }
    .final__in { min-height: 0; padding-top: 46svh; padding-bottom: 0; flex-direction: column; align-items: stretch; padding-left: 0; padding-right: 0; }
    .final__card { width: 100%; background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; padding: 32px clamp(20px, 4vw, 56px) 40px; }
    .final__bg { bottom: auto; height: 50svh; }
    .final::before { bottom: auto; height: 50svh; }
    .final__ctrl { position: absolute; top: calc(46svh - 40px); right: clamp(20px, 4vw, 56px); }
    .final__cap { display: none; }
    .final__h { font-size: 40px; }
    .ft__in { grid-template-columns: 1fr 1fr; }
    .ft__brand { grid-column: 1 / -1; }
    .ft { padding-bottom: 100px; }

    .sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
    .sticky.is-on { transform: none; }
}

@media (max-width: 480px) {
    .hd .btn--sm { display: none; }
    .hd__burger { margin-left: auto; }
    .hd__in { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
}

/* =====================================================================
   Formuláre A až F podľa stratégie
   ===================================================================== */
.anchor { position: absolute; top: 0; }
.book { position: relative; }
.opt { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); vertical-align: middle; margin-left: 6px; }
.eyebrow--plain { counter-increment: none; }
.eyebrow--plain::before, .eyebrow--plain::after { display: none; }

/* Kanál kontaktu (segmentový prepínač) */
.chan legend { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.seg { display: inline-flex; border: 1px solid var(--line); background: var(--white); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.seg label + label span { border-left: 1px solid var(--line); }
.seg span:hover { background: var(--paper); }
.seg input:checked + span { background: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--peri); outline-offset: -2px; }

/* A · v heroe */
.done__next { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 12px; }
.done .btn--sm::after { display: none; }

/* B · Úsmev check */
.check { padding: clamp(96px, 13vh, 152px) 0; background: var(--paper-2); }
.check__grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.check__side { position: sticky; top: 104px; }
.check__side > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); }
.check__facts { margin-top: 32px; border-top: 1px solid #CFC8BC; }
.check__facts li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #CFC8BC; font-size: 15px; }
.check__facts b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--ink); }
.check__facts span { color: var(--muted); }
.check .card-form { min-height: 620px; }
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pcard { position: relative; }
.pcard input { position: absolute; opacity: 0; pointer-events: none; }
.pcard__in { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 16px 16px; background: var(--white); cursor: pointer; color: var(--ink); --tooth: var(--white); transition: background-color .3s var(--ease), color .3s var(--ease); }
.pcard__art svg { width: 92px; height: auto; margin-bottom: 8px; transition: transform .6s var(--ease); }
.pcard__in b { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.2; }
.pcard__in small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.pcard__in:hover { background: #FFFFFF; }
.pcard__in:hover svg { transform: translateY(-2px); }
.pcard input:checked + .pcard__in { background: var(--ink); color: var(--white); --tooth: var(--ink); }
.pcard input:checked + .pcard__in small { color: var(--on-ink-muted); }
.pcard input:focus-visible + .pcard__in { outline: 2px solid var(--peri); outline-offset: -2px; }
.wiz__step[aria-invalid="true"] .pcards, fieldset[aria-invalid="true"] .pcards { border-color: var(--err); }
.wiz__hint { font-size: 14px; color: var(--muted); }
.wiz__hint[data-show-if] { background: var(--paper); padding: 12px 14px; border-left: 2px solid var(--navy); color: var(--text); }
.wiz .opts + .opts { margin-top: 10px; }
.upl__drop { display: flex; flex-direction: column; gap: 4px; padding: 26px; border: 1px dashed #A9A295; background: var(--paper); cursor: pointer; transition: border-color .3s var(--ease); }
.upl__drop:hover { border-color: var(--ink); }
.upl:has(input:focus-visible) .upl__drop { outline: 2px solid var(--peri); outline-offset: 2px; }
.upl__drop b { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--ink); }
.upl__drop span { font-size: 13px; color: var(--muted); }
.upl__files { color: var(--ink) !important; font-weight: 600; }
.upl__files:empty { display: none; }
.done--result, .done--big { justify-content: flex-start; overflow: auto; padding: clamp(24px, 3vw, 44px); }
.done__lead { font-size: 17px; color: var(--text); max-width: 40em; margin-top: 4px; }
.done__k { margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.done__slots { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.slotbtn { min-height: 52px; padding: 0 18px; border: 1px solid var(--line); background: var(--white); font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .25s var(--ease); }
.slotbtn:hover { border-color: var(--ink); }
.done__small { margin-top: 14px; font-size: 13px; color: var(--muted); }
.done__small .link { font-size: 13px; padding: 0; }

/* D · Cena */
.price { padding: clamp(96px, 13vh, 152px) 0; }
.price__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.price__side > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); max-width: 30em; }
.price__incl { margin-top: 32px; border-top: 1px solid var(--line); }
.price__incl li { position: relative; padding: 13px 0 13px 32px; border-bottom: 1px solid var(--line); font-size: 16px; }
.price__incl li::before { content: ''; position: absolute; left: 0; top: 25px; width: 16px; height: 1px; background: var(--navy); }
.pf { display: flex; flex-direction: column; gap: 22px; }
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.rowopt { position: relative; }
.rowopt input { position: absolute; opacity: 0; pointer-events: none; }
.rowopt span { display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; align-items: center; padding: 14px 8px 14px 4px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background-color .25s var(--ease), padding .35s var(--ease); }
.rowopt span::before { content: ''; grid-row: 1 / span 2; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #A9A295; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.rowopt b { font-size: 16px; font-weight: 700; color: var(--ink); }
.rowopt small { font-size: 14px; color: var(--muted); }
.rowopt span:hover, .rowopt input:checked + span { background: var(--paper); padding-left: 12px; }
.rowopt input:checked + span::before { border-color: var(--navy); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 10px var(--navy); }
.rowopt input:focus-visible + span { outline: 2px solid var(--peri); outline-offset: -2px; }
.pf__result { background: var(--ink); color: var(--on-ink); padding: 20px 22px; animation: rise .5s var(--ease) both; }
.pf__from { font-family: var(--serif); font-size: 40px; line-height: 1.1; color: var(--white); }
.pf__month { color: #E4C88E; font-weight: 600; margin-top: 2px; }
.pf__fallback { color: var(--on-ink-muted); font-size: 15px; margin-top: 4px; }
.pf__from[hidden] + .pf__month[hidden] + .pf__fallback { margin-top: 0; color: var(--on-ink); }

/* C · Termín */
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 104px; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line); background: var(--white); text-align: left; cursor: pointer; transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.day b { font-size: 15px; font-weight: 700; }
.day span { font-size: 13px; color: var(--muted); }
.day:hover { border-color: var(--ink); }
.day[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.day[aria-selected="true"] span { color: var(--on-ink-muted); }
.times { margin-top: 12px; }
.times__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; border: 1px solid var(--line); background: var(--white); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.slot small { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin-top: 2px; }
.slot span:hover { border-color: var(--ink); }
.slot input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.slot input:checked + span small { color: #C9D3FF; }
.slot input:focus-visible + span { outline: 2px solid var(--peri); outline-offset: 2px; }
.times__empty { font-size: 15px; color: var(--text); background: var(--paper); padding: 14px; }
fieldset[aria-invalid="true"] .slot span { border-color: var(--err); }
#form-termin [data-submit] { white-space: normal; }

/* F · Ešte sa rozhodujem */
.exit { width: min(560px, calc(100% - 32px)); border: 0; padding: 0; background: var(--paper); color: var(--text); box-shadow: 0 40px 120px -40px rgba(9, 16, 41, 0.6); }
.exit::backdrop { background: rgba(9, 16, 41, 0.55); }
.exit[open] { animation: rise .45s var(--ease) both; }
.exit__form { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 40px 36px 32px; }
.exit__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.exit__x:hover { color: var(--ink); }
.exit__h { font-family: var(--serif); font-size: 32px; line-height: 1.12; }
.exit__form > p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.exit .eyebrow { margin-bottom: 0; }
.exit__nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.exit .done { background: var(--paper); }

/* Mobilná lišta: konzultácia + WhatsApp */
.sticky__wa { display: none; }

@media (max-width: 1100px) {
    .check__grid, .price__grid { grid-template-columns: 1fr; gap: 40px; }
    .check__side { position: static; }
}
@media (max-width: 720px) {
    .check, .price { padding: 72px 0; }
    .pcards { grid-template-columns: 1fr 1fr; }
    .pcard__art svg { width: 72px; }
    .pcard__in b { font-size: 17px; }
    .check .card-form { min-height: 0; }
    .check__facts li { grid-template-columns: 1fr; gap: 2px; }
    .seg { display: flex; }
    .seg label { flex: 1; }
    .seg span { justify-content: center; width: 100%; }
    .times__grid { grid-template-columns: repeat(2, 1fr); }
    .done--result, .done--big { position: static; }
    .wiz.is-done > :not([data-done]) { display: none; }
    .done__slots .btn { width: 100%; justify-content: space-between; }
    .exit__form { padding: 36px 22px 24px; }
    .exit__h { font-size: 26px; }
    .sticky { display: flex; gap: 8px; }
    .sticky .btn { flex: 1; justify-content: space-between; }
    .sticky__wa { display: inline-flex; align-items: center; justify-content: center; min-width: 108px; min-height: 58px; padding: 0 14px; border: 1px solid var(--ink); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
}

/* Hero formulár A · čisté zarovnanie na jednu mriežku */

/* Kalendár C · prepracovaný */
#form-termin { min-height: 0; }
#form-termin .wiz__top { margin-bottom: 28px; }
.wiz__badge { flex: none; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wine); border: 1px solid currentColor; padding: 4px 8px; }
.cal__k, .tgroup__k { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cal__k { margin-top: 4px; }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; overflow: visible; border: 1px solid var(--line); background: var(--white); }
.day { position: relative; display: block; min-width: 0; min-height: 0; padding: 0; border: 0; background: none; }
.day + .day { border-left: 1px solid var(--line); }
.day input { position: absolute; opacity: 0; pointer-events: none; }
.day span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px 12px; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.day small { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.day b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--ink); }
.day em { font-style: normal; font-size: 12px; color: var(--muted); }
.day span:hover { background: var(--paper); }
.day input:checked + span { background: var(--ink); }
.day input:checked + span b { color: var(--white); }
.day input:checked + span small, .day input:checked + span em { color: var(--on-ink-muted); }
.day input:focus-visible + span { outline: 2px solid var(--peri); outline-offset: -2px; }
.times { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.tgroup { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 16px; }
.tgroup__grid { display: flex; flex-wrap: wrap; gap: 8px; }
.tgroup .slot span { min-height: 48px; min-width: 96px; padding: 0 18px; flex-direction: row; font-size: 17px; }
.cal__pick { margin-top: 20px; padding: 14px 16px; background: var(--white); border-left: 2px solid var(--line); font-size: 15px; color: var(--muted); transition: border-color .3s var(--ease); }
.cal__pick.is-set { border-left-color: var(--navy); color: var(--text); }
.cal__pick b { color: var(--ink); }
#form-termin .wiz__nav { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 720px) {
    .days b { font-size: 24px; }
    .day span { padding: 12px 2px 10px; }
    .day small { font-size: 11px; letter-spacing: 0.02em; }
    .tgroup { grid-template-columns: 1fr; gap: 8px; }
    .tgroup__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
    .tgroup .slot span { min-width: 0; width: 100%; justify-content: center; }
    .wiz__badge { display: none; }
}

/* Hero: tímová fotka, ľudia vpravo */

/* Technológie a tím */
.tech { padding: clamp(96px, 13vh, 152px) 0 0; background: var(--paper); }
.tech__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.tech__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 50%; }
.tech__main figcaption, .tech__duo figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.tech__list { border-top: 1px solid var(--line); }
.tech__list li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tech__n { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: var(--navy); }
.tech__list h3 { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.tech__list p { font-size: 15px; color: var(--muted); }
.tech__duo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; margin-top: 16px; width: calc(57.5% - 8px); }
.tech__duo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team { margin-top: clamp(80px, 11vh, 128px); padding: clamp(72px, 10vh, 112px) 0 clamp(80px, 11vh, 128px); background: var(--ink); color: var(--on-ink); }
.team__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.team__h { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.2; color: var(--white); max-width: 30em; }
.team__hint { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink-muted); white-space: nowrap; }
.team__track { display: flex; gap: 12px; padding: 0 max(clamp(20px, 4vw, 56px), calc((100vw - 1320px) / 2 + 56px)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.team__track::-webkit-scrollbar { display: none; }
.team__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.team__p { flex: 0 0 clamp(220px, 21vw, 340px); aspect-ratio: 2 / 3; overflow: hidden; scroll-snap-align: start; }
.team__p img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; transition: transform 1.2s var(--ease); }
.team__p:hover img { transform: scale(1.03); }
@media (max-width: 1100px) {
    .tech__grid { grid-template-columns: 1fr; }
    .tech__duo { width: 100%; }
}
@media (max-width: 720px) {
    .tech { padding-top: 72px; }
    .tech__duo { grid-template-columns: 1fr 1fr; gap: 8px; }
    .tech__duo figcaption { font-size: 12px; }
    .team__head { flex-direction: column; align-items: flex-start; }
    .team__p { flex-basis: 64vw; }
}

/* Navigácia nikdy na dva riadky */
.hd__nav { gap: 24px; }
.hd__nav a { white-space: nowrap; }

/* Hero rozdelený: text na navy ploche vľavo, tím vpravo, formulár cez obe polovice */

/* Hlavička na plnej navy ploche, kým je hero na obrazovke */
.hd { background: var(--ink); }
.hd.is-scrolled { background: var(--paper); }

/* Mobil: tím ako čistý pás fotky, text pod ním na navy */

/* Technológie: jedna mriežka, zoznam vľavo, fotky vpravo, rovnaká výška */
.tech__grid { grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.tech__list { align-self: start; }
.tech__media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 3fr 2fr; gap: 12px; min-height: 100%; }
.tech__media figure { position: relative; overflow: hidden; min-height: 0; }
.tech__media .tech__big { grid-column: 1 / -1; }
.tech__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tech__big img { object-position: 55% 45%; }
.tech__media figcaption { position: absolute; left: 0; bottom: 0; margin: 0; padding: 8px 12px; background: var(--paper); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 1100px) {
    .tech__grid { grid-template-columns: 1fr; }
    .tech__media { grid-template-rows: auto auto; }
    .tech__media figure { aspect-ratio: 4 / 3; }
    .tech__media .tech__big { aspect-ratio: 16 / 10; }
}
@media (max-width: 720px) { .tech__media { gap: 8px; } }

/* =====================================================================
   Hero formulár A · prémiová lišta na navy ploche
   ===================================================================== */

/* Pozícia: H1 je pozičná veta, tri piliere pod heroom */
.proof--3 { grid-template-columns: repeat(3, 1fr); }
.proof--3 li > span:last-child { font-size: 15px; max-width: 30em; }
.proof--3 b { font-size: clamp(30px, 2.6vw, 40px); }
@media (max-width: 1100px) { .proof--3 { grid-template-columns: 1fr; } .proof--3 li, .proof--3 li + li { padding-left: 0; border-left: 0; } }
@media (max-width: 720px) {
    .proof--3 li, .proof--3 li + li, .proof--3 li:nth-child(even) { grid-template-columns: auto 1fr; padding: 22px 0; border-left: 0; }
    .proof--3 .proof__i { grid-row: 1 / span 2; padding-top: 10px; }
}

/* =====================================================================
   C · Rezervácia v štýle rezervačných kalendárov (farby Sangre Azul)
   ===================================================================== */
.book__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 48px; }
.book__head > p { max-width: 380px; color: var(--on-ink-muted); font-size: 16px; }
.bk { --bk: #0A1233; --bk-2: #141E4A; --bk-3: #1C285C; --bk-line: #26305A; display: grid; grid-template-columns: 300px 1fr; background: var(--bk); border: 1px solid var(--bk-line); border-radius: 14px; overflow: hidden; color: var(--on-ink); box-shadow: 0 50px 100px -60px rgba(0, 0, 0, 0.8); min-height: 560px; }
.bk__info { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; border-right: 1px solid var(--bk-line); }
.bk__logo { --sa-h: 40px; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 10px; }
.bk__org { font-size: 13px; font-weight: 600; color: var(--on-ink-muted); }
.bk__title { font-family: var(--serif); font-size: 26px; line-height: 1.15; color: var(--white); margin-bottom: 8px; }
.bk__meta { display: flex; flex-direction: column; gap: 12px; }
.bk__meta li, .bk__chosen { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.45; color: var(--on-ink); }
.bk__meta svg, .bk__chosen svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--on-ink-muted); }
.bk__chosen { margin-top: 12px; padding: 12px 14px; background: var(--bk-2); border: 1px solid var(--peri); border-radius: 8px; font-weight: 600; color: var(--white); }
.bk__chosen svg { color: var(--peri); }
.bk__prog { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.bk .wiz__count { color: var(--on-ink-muted); font-size: 11px; }
.bk .wiz__bar { flex: none; width: 100%; background: var(--bk-line); }
.bk .wiz__bar span { background: var(--peri); }
.bk .wiz__badge { position: absolute; top: 28px; right: 24px; color: #F2B8C2; border-color: rgba(242, 184, 194, 0.5); font-size: 10px; }

.bk__main { position: relative; display: flex; flex-direction: column; min-width: 0; }
.bk__step1 { display: grid; grid-template-columns: 1fr 280px; flex: 1; }
.bk__month { padding: 28px 32px 32px; }
.bk__mhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.bk__mname { font-size: 19px; color: var(--on-ink-muted); }
.bk__mname b { color: var(--white); font-weight: 700; }
.bk__mnav { display: flex; gap: 4px; }
.bk__mnav button { width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--on-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.bk__mnav button:hover:not(:disabled) { background: var(--bk-2); }
.bk__mnav button:disabled { opacity: .3; cursor: default; }
.bk__wd, .bk__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.bk__wd { margin-bottom: 10px; }
.bk__wd span { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-muted); }
.bk__grid > span, .bk__day span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; font-size: 16px; font-variant-numeric: tabular-nums; position: relative; }
.bk__off { color: rgba(169, 175, 196, 0.45); }
.bk__off.is-today { color: var(--on-ink); }
.bk__day { position: relative; }
.bk__day input { position: absolute; opacity: 0; pointer-events: none; }
.bk__day span { background: var(--bk-3); color: var(--white); font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.bk__day span:hover { border-color: var(--peri); }
.bk__day input:checked + span { background: var(--peri); color: var(--white); }
.bk__day input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.bk__day i { position: absolute; bottom: 7px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }

.bk__times { padding: 28px 24px 24px; border-left: 1px solid var(--bk-line); display: flex; flex-direction: column; min-height: 0; }
.bk__dayname { font-size: 17px; color: var(--on-ink-muted); margin-bottom: 18px; }
.bk__dayname b { color: var(--white); font-weight: 700; }
.bk__list { display: flex; flex-direction: column; gap: 10px; max-height: 380px; overflow-y: auto; padding-right: 2px; scrollbar-width: thin; scrollbar-color: var(--bk-line) transparent; }
.bk__slot { position: relative; }
.bk__slot input { position: absolute; opacity: 0; pointer-events: none; }
.bk__slot span { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 1px solid var(--bk-line); border-radius: 8px; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--white); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.bk__slot span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3DD68C; }
.bk__slot small { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-ink-muted); }
.bk__slot span:hover { border-color: var(--peri); }
.bk__slot input:checked + span { background: var(--peri); border-color: var(--peri); }
.bk__slot input:checked + span small { color: #E3E9FF; }
.bk__slot input:checked + span::before { background: var(--white); }
.bk__slot input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.bk__empty { font-size: 14px; color: var(--on-ink-muted); }
.bk__empty a { color: var(--white); }

/* Krok 2 a 3 v tmavej karte */
.bk__panel { padding: 32px 36px; gap: 18px; flex: 1; }
.bk .wiz__h { color: var(--white); }
.bk .fld label { color: var(--on-ink-muted); }
.bk .fld input { background: var(--bk-2); border-color: var(--bk-line); color: var(--white); }
.bk .fld input:hover { border-color: #3A4680; }
.bk .fld input:focus { border-color: var(--peri); box-shadow: 0 0 0 3px rgba(83, 121, 242, 0.3); }
.bk .fld__err, .bk [data-err-consent] { color: #FFB3A7; }
.bk .opts legend, .bk .opt { color: var(--on-ink-muted); }
.bk .pill span { background: transparent; border-color: var(--bk-line); color: var(--on-ink); }
.bk .pill span:hover { border-color: var(--peri); }
.bk .pill input:checked + span { background: var(--peri); border-color: var(--peri); color: #fff; }
.bk .sum { border-top-color: var(--bk-line); }
.bk .sum div { border-bottom-color: var(--bk-line); }
.bk .sum dt { color: var(--on-ink-muted); }
.bk .sum dd { color: var(--white); }
.bk .sum button, .bk .link { color: #C9D3FF; }
.bk .chk { color: var(--on-ink-muted); }
.bk .chk a { color: var(--white); }
.bk .chk input { accent-color: var(--peri); }
.bk__nav { margin: 0; padding: 18px 24px 18px 32px; border-top: 1px solid var(--bk-line); }
.bk .btn { background: var(--peri); border-color: var(--peri); }
.bk .btn:hover { background: #4067E8; border-color: #4067E8; }
.bk.is-step1 [data-next] { display: none; }
.bk.is-step1 .bk__nav::before { content: 'Vyberte deň a čas, pokračujeme automaticky.'; font-size: 13px; color: var(--on-ink-muted); }
.bk .form-fail { margin: 0 32px 16px; }
.bk .done { background: var(--bk); color: var(--on-ink); }
.bk .done__h { color: var(--white); }
.bk .done p { color: var(--on-ink) !important; }
.bk .done__lead { color: var(--white) !important; font-weight: 600; }

@media (max-width: 1100px) {
    .book__head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .bk { grid-template-columns: 1fr; }
    .bk__info { border-right: 0; border-bottom: 1px solid var(--bk-line); }
    .bk__prog { margin-top: 12px; }
}
@media (max-width: 720px) {
    .bk { border-radius: 10px; min-height: 0; }
    .bk__info { padding: 22px 20px; gap: 8px; }
    .bk__logo { --sa-h: 34px; margin-bottom: 4px; }
    .bk__title { font-size: 22px; }
    .bk__meta { display: grid; grid-template-columns: 1fr; gap: 8px; }
    .bk .wiz__badge { top: 22px; right: 18px; display: inline-block; }
    .bk__step1 { grid-template-columns: 1fr; }
    .bk__month { padding: 20px 16px; }
    .bk__wd, .bk__grid { gap: 5px; }
    .bk__grid > span, .bk__day span { font-size: 14px; border-radius: 6px; }
    .bk__times { border-left: 0; border-top: 1px solid var(--bk-line); padding: 20px 16px; }
    .bk__list { display: grid; grid-template-columns: repeat(2, 1fr); max-height: none; }
    .bk__panel { padding: 24px 18px; }
    .bk__nav { padding: 14px 16px; flex-wrap: wrap; }
    .bk.is-step1 .bk__nav::before { font-size: 12px; }
}
@media (max-width: 720px) { .bk__slot small { display: none; } }

/* Hero formulár A · upratané: nadpis + stav, lišta, súhlas, odkazy */

/* =====================================================================
   Hero · finálne: nadpis bez kurzívy, formulár ako jedna navrhnutá lišta
   ===================================================================== */


/* Hero: rotácia 5 fotiek (prelínanie + jemné priblíženie) */
@keyframes heroProg { to { transform: scaleX(1); } }

/* =====================================================================
   HERO · jediný zdroj pravdy (desktop, tablet, mobil)
   Fotka vpravo, pod textom plná navy, mäkký fotografický prechod bez hrany.
   ===================================================================== */
.hero {
    --navy-hero: 13, 24, 56;
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(100svh, 980px);
    padding: calc(var(--hd) + 56px) 0 72px;
    background: rgb(var(--navy-hero));
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
}

/* Fotky: kryjú pravých 64 % hera */
.hero__bg { position: absolute; top: 0; right: 0; bottom: 0; left: max(49%, calc((100% - 1320px) / 2 + 700px)); z-index: -1; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 70% 30%); opacity: 0; transform: scale(1); transition: opacity 1.6s var(--ease); will-change: opacity, transform; }
.hero__slide.is-active { opacity: 1; z-index: 1; animation: heroZoom 9s linear forwards; }
.hero__slide.is-leaving { opacity: 0; z-index: 0; transform: scale(var(--z-end, 1.08)); }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero.is-paused .hero__slide.is-active { animation-play-state: paused; }
/* Prechod: plná navy na ľavom okraji fotky, mäkko do čistej fotky, žiadna hrana */
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(var(--navy-hero), 1) 0%,
            rgba(var(--navy-hero), 0.96) 4%,
            rgba(var(--navy-hero), 0.86) 10%,
            rgba(var(--navy-hero), 0.66) 18%,
            rgba(var(--navy-hero), 0.42) 27%,
            rgba(var(--navy-hero), 0.2) 36%,
            rgba(var(--navy-hero), 0.06) 45%,
            rgba(var(--navy-hero), 0) 52%),
        linear-gradient(0deg, rgba(var(--navy-hero), 0.62) 0%, rgba(var(--navy-hero), 0.3) 11%, rgba(var(--navy-hero), 0) 24%);
}

/* Obsah */
.hero__in { position: relative; z-index: 1; width: 100%; }
/* Ľavý stĺpec: všetko (nadpis, text, formulár, odkazy) končí na jednej hrane pred fotkou */
.hero { --col: 596px; }
.hero__in > * { max-width: var(--col); }
.hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 24px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(251, 250, 248, 0.78); }
.hero__kicker span { display: inline-flex; align-items: center; gap: 16px; color: rgba(251, 250, 248, 0.55); }
.hero__kicker span::before { content: ''; width: 40px; height: 1px; background: currentColor; }
.hero__h { max-width: var(--col); margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 3.65vw, 54px); line-height: 1.05; letter-spacing: -0.012em; color: var(--white); text-wrap: balance; }
.hero__h em { display: block; font-style: normal; color: #C9D5FF; }
.hero__h span { display: block; color: rgba(251, 250, 248, 0.62); }
.hero__lead { max-width: min(var(--col), 33em); margin: 24px 0 0; font-size: 17px; line-height: 1.55; color: rgba(251, 250, 248, 0.78); }
.hero__lead b { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 600; color: var(--white); }

/* Dôkazy · editoriálne metadáta, nie karty */

/* Formulár A · jeden prvok: Meno | Telefón | CTA */
.qf { position: relative; width: 100%; margin: 36px 0 0; padding: 22px 20px 18px; background: #16224A; border: 1px solid rgba(251, 250, 248, 0.1); color: var(--on-ink); }
.qf__h { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.25; color: var(--white); }
.qf__h { margin-bottom: 16px; }
.qf__sub { margin: -10px 0 16px; font-size: 14px; line-height: 1.5; color: rgba(251, 250, 248, 0.66); }
.qf__bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; height: 66px; padding: 0; gap: 0; background: #F6F3EE; border: 0; box-shadow: none; overflow: hidden; }
.qf .fld { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1px; min-width: 0; height: 100%; padding: 0 20px; background: transparent; transition: background-color .2s var(--ease); }
.qf .fld + .fld { box-shadow: inset 1px 0 0 #DDD6CB; }
.qf .fld label { position: static; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; text-transform: none; color: #2A3048; }
.qf .fld input { width: 100%; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 16px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.qf .fld input::placeholder { color: #8F897E; font-weight: 400; }
.qf .fld input:focus { outline: none; box-shadow: none; }
.qf .fld:hover { background: #FBF9F5; }
.qf .fld:focus-within { background: #FFFFFF; box-shadow: inset 0 -2px 0 var(--navy); }
.qf .fld + .fld:focus-within { box-shadow: inset 1px 0 0 #DDD6CB, inset 0 -2px 0 var(--navy); }
.qf .fld:has(input[aria-invalid="true"]) { box-shadow: inset 0 -2px 0 var(--err); }
.qf .fld__err { position: absolute; left: 20px; top: calc(100% + 8px); margin: 0; font-size: 12.5px; font-weight: 600; color: #FFB3A7; white-space: nowrap; }
.qf__btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; margin: 0; padding: 0 26px; border: 0; background: var(--navy); color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background-color .3s var(--ease); }
.qf .qf__bar .fld { padding: 0 16px; }
.qf .qf__btn { gap: 12px; padding: 0 20px; font-size: 12px; letter-spacing: 0.09em; }
.qf__arr { font-size: 18px; letter-spacing: 0; transition: transform .3s var(--ease); }
.qf__btn:hover { background: #0B1670; }
.qf__btn:hover .qf__arr { transform: translateX(4px); }
.qf__btn:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.qf__btn.is-loading > span { visibility: hidden; }
.qf__btn.is-loading { position: relative; }
.qf__btn.is-loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 40px; height: 2px; margin: -1px 0 0 -20px; background: linear-gradient(90deg, rgba(255,255,255,.2), #fff, rgba(255,255,255,.2)); background-size: 200% 100%; animation: load 1s linear infinite; }
.qf__bar:has([aria-invalid="true"]) { margin-bottom: 34px; }
.qf__consent { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: rgba(251, 250, 248, 0.68); cursor: pointer; }
.qf__consent a { color: rgba(251, 250, 248, 0.92); }
.qf__consent input { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 16px; height: 16px; margin: 0; border: 1.5px solid rgba(251, 250, 248, 0.55); background: transparent; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.qf__consent input:checked { background: var(--white); border-color: var(--white); }
.qf__consent input:checked::after { content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.qf__consent input:focus-visible { outline: 2px solid var(--peri); outline-offset: 2px; }
.qf__consent input[aria-invalid="true"] { border-color: #FFB3A7; outline: 0; }
.qf [data-err-consent] { position: static; margin: 6px 0 0 26px; font-size: 12.5px; font-weight: 600; color: #FFB3A7; white-space: normal; }
.qf .form-fail { margin-top: 12px; background: rgba(163, 38, 31, 0.2); color: #FFD1CA; }
.qf .form-fail a { color: #FFD1CA; }
.qf .done { inset: -14px; padding: 24px 28px; background: #F6F3EE; color: var(--text); }

.hero__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 14px 0 0; font-size: 14px; }

/* Popiska fotky */
.hero__cap { position: absolute; left: calc(max(49%, calc((100% - 1320px) / 2 + 700px)) + 72px); bottom: 30px; z-index: 2; display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 10px 16px 10px 14px; border-left: 2px solid #B3263E; background: rgba(13, 24, 56, 0.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); transition: opacity .4s var(--ease); }
.hero__cap b { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }
.hero__cap span { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(251, 250, 248, 0.7); }
.hero__cap.is-swap { opacity: 0; }
.hero__links a { color: rgba(251, 250, 248, 0.72); text-decoration: none; }
.hero__links a:hover { color: var(--white); }
.hero__links b, .hero__how { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero__sep { width: 1px; height: 14px; background: rgba(251, 250, 248, 0.3); }

/* Ovládanie slidera */
.hero__ctrl { position: absolute; right: clamp(20px, 4vw, 56px); bottom: 26px; z-index: 2; display: flex; align-items: center; gap: 6px; }
.hero__dot { display: flex; align-items: center; width: 40px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dot i { position: relative; display: block; width: 100%; height: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.4); }
.hero__dot i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active i::after { animation: heroProg var(--dur, 6s) linear forwards; }
.hero.is-paused .hero__dot.is-active i::after { animation-play-state: paused; }
.hero__dot.is-done i::after { transform: scaleX(1); }
.hero__pause { position: relative; width: 32px; height: 32px; margin-left: 6px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; background: rgba(13, 24, 56, 0.25); cursor: pointer; }
.hero__pause::before, .hero__pause::after { content: ''; position: absolute; top: 10px; width: 2px; height: 10px; background: #fff; }
.hero__pause::before { left: 12px; }
.hero__pause::after { left: 17px; }
.hero__pause[aria-pressed="true"]::before { width: 0; height: 0; background: none; border-left: 9px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.hero__pause[aria-pressed="true"]::after { display: none; }
.hero__dot:focus-visible, .hero__pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ≤ 1280: o niečo širší text, fotka sa posunie doprava */
@media (max-width: 1280px) {
    .hero__bg { left: max(51%, calc(clamp(20px, 4vw, 56px) + 600px)); }
    .hero { --col: 560px; }
    .hero__h { font-size: clamp(40px, 4.1vw, 52px); }
    .hero__cap { left: calc(max(51%, calc(clamp(20px, 4vw, 56px) + 600px)) + 56px); }
}

/* 901–1100: stále rozdelené, užší text, formulár v dvoch riadkoch */
@media (max-width: 1100px) {
    .hero { min-height: 0; padding: calc(var(--hd) + 56px) 0 80px; }
    .hero__bg { left: 54%; }
    .hero__cap { left: calc(54% + 40px); }
    .hero__h { font-size: clamp(36px, 4.3vw, 46px); }
    .qf { padding: 18px 18px 16px; }
    .hero__lead { max-width: 28em; }
    .hero { --col: calc(54vw - clamp(20px, 4vw, 56px) - 36px); }
    .qf__bar { grid-template-columns: 1fr 1fr; grid-template-rows: 66px 58px; height: auto; }
    .qf__btn { grid-column: 1 / -1; }
}

/* ≤ 900: fotka ako pás hore, obsah pod ňou na plnej navy (bez silného prechodu) */
@media (max-width: 900px) {
    .hero { --col: 600px; }
    .hero { display: block; padding: var(--hd) 0 48px; }
    .hero__bg { position: relative; inset: auto; height: 56svh; min-height: 320px; max-height: 560px; }
    .hero__bg::after { background: linear-gradient(0deg, rgba(var(--navy-hero), 1) 0%, rgba(var(--navy-hero), 0.4) 14%, rgba(var(--navy-hero), 0) 34%); }
    .hero__in { margin-top: 0; padding-top: 32px; }
    .hero__h { max-width: 640px; }
    .hero__cap { left: clamp(20px, 4vw, 56px); top: calc(var(--hd) + min(max(56svh, 320px), 560px) - 64px); bottom: auto; }
    .hero__ctrl { top: calc(var(--hd) + min(max(56svh, 320px), 560px) - 46px); bottom: auto; right: 24px; }
}

/* Mobil ≤ 720: fotka ako pás hore, obsah na plnej navy */
@media (max-width: 720px) {
    .hero { padding-bottom: 40px; }
    .hero__bg { height: 38svh; min-height: 240px; max-height: 330px; }
    .hero__slide { object-position: var(--pos-m, 78% 30%); }
    .hero__bg::after { background: linear-gradient(0deg, rgba(var(--navy-hero), 1) 0%, rgba(var(--navy-hero), 0.55) 18%, rgba(var(--navy-hero), 0) 42%); }
    .hero__in { padding-top: 24px; }
    .hero__kicker { margin-bottom: 16px; font-size: 11px; letter-spacing: 0.16em; }
    .hero__kicker span { display: none; }
    .hero__h { font-size: 34px; line-height: 1.08; text-wrap: pretty; }
    .hero__lead b { font-size: 16px; }
    .qf { padding: 18px 16px 16px; }
    .qf__h { font-size: 20px; }
    .hero__cap { left: 16px; top: calc(var(--hd) + min(max(38svh, 240px), 330px) - 56px); }
    .hero__cap { display: none; }
    .br-d { display: none; }
    .hero__lead { margin-top: 16px; font-size: 16px; }
    .qf { width: 100%; margin-top: 28px; }
    .qf__bar { grid-template-columns: 1fr; grid-template-rows: 64px 64px 56px; }
    .qf .fld + .fld { box-shadow: inset 0 1px 0 #DDD6CB; }
    .qf .fld + .fld:focus-within { box-shadow: inset 0 1px 0 #DDD6CB, inset 0 -2px 0 var(--navy); }
    .qf .fld__err { position: static; padding-top: 2px; color: var(--err); white-space: normal; }
    .qf .fld:has(.fld__err:not([hidden])) { height: auto; padding: 10px 20px; }
    .qf__bar:has([aria-invalid="true"]) { grid-template-rows: auto auto 56px; margin-bottom: 0; }
    .qf__btn { grid-column: auto; }
    .qf__consent { align-items: flex-start; }
    .qf__consent input { margin-top: 2px; }
    .hero__links { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 20px; }
    .hero__sep { display: none; }
    .hero__ctrl { top: calc(var(--hd) + min(max(38svh, 240px), 330px) - 44px); bottom: auto; right: 12px; }
    .hero__dot { width: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__slide, .hero__slide.is-active, .hero__slide.is-leaving { transition: none; transform: none; animation: none; }
    .hero__dot i::after { animation: none !important; }
}


/* =====================================================================
   Preloader · „Rovný úsmev“: krivé písmená sa vyrovnajú
   ===================================================================== */
.pre { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; place-content: center; gap: clamp(20px, 3vh, 32px); background: #0D1838; transition: transform .9s cubic-bezier(0.76, 0, 0.24, 1); }
.pre__word { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 104px); line-height: 1; letter-spacing: -0.01em; color: #FBFAF8; white-space: nowrap; }
.pre__word .ch { display: inline-block; transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)); transform-origin: 50% 85%; transition: transform 1s cubic-bezier(0.32, 0.72, 0, 1); transition-delay: calc(120ms + var(--i, 0) * 45ms); }
.pre.is-straight .pre__word .ch { transform: none; }
.pre__dot { display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.05em; border-radius: 50%; background: #B3263E; transform: scale(0); transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1) .95s; }
.pre.is-straight .pre__dot { transform: scale(1); }
.pre__sub { position: absolute; bottom: 40px; left: 0; right: 0; text-align: center; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(251, 250, 248, 0.45); }
.pre.is-out { transform: translateY(-100%); }
.no-pre .pre { display: none; }
@media (prefers-reduced-motion: reduce) { .pre { display: none; } }


/* =========================================================
   SYSTÉMY DLÁH · Invisalign, Spark, Angel Aligner (3 stĺpce)
   ========================================================= */
.sys { padding: clamp(96px, 13vh, 152px) 0; background: var(--ink); color: var(--on-ink); }
.sys .eyebrow { color: var(--on-ink-muted); }
.sys .eyebrow::before { color: var(--on-ink); }
.sys .h2 { color: var(--white); }
.sys .sec-head--row > p { color: var(--on-ink-muted); }
.sys__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto repeat(4, auto); column-gap: 0; border-top: 1px solid var(--line-ink); }
.sys__col { display: grid; grid-row: span 6; grid-template-rows: subgrid; padding: 0 clamp(20px, 2.4vw, 36px); }
.sys__col + .sys__col { border-left: 1px solid var(--line-ink); }
.sys__col:first-child { padding-left: 0; }
.sys__col:last-child { padding-right: 0; }
.sys__top { padding: 32px 0 28px; }
.sys__media { position: relative; margin: 40px 0 0; aspect-ratio: 4 / 3; overflow: hidden; background: #F2F1EC; }
.sys__media img { display: block; width: 100%; height: 100%; }
.sys__media--photo img { object-fit: cover; object-position: 50% 40%; }
.sys__media--product img { object-fit: contain; padding: 9% 14%; box-sizing: border-box; }
.sys__name { margin: 0; font-family: var(--serif); font-size: clamp(28px, 2.4vw, 36px); font-weight: 400; line-height: 1.1; color: var(--white); }
.sys__maker { margin: 8px 0 0; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink-muted); }
.sys__dl { display: contents; }
.sys__dl > div { padding: 22px 0; border-top: 1px solid var(--line-ink); }
.sys__dl dt { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8FA6F7; }
.sys__dl dd { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(238, 235, 230, 0.86); }
.sys__dl > div:last-child dd { color: var(--white); font-weight: 600; }
.sys__foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-ink); }
.sys__foot p { max-width: 560px; margin: 0; font-size: 17px; line-height: 1.6; color: var(--on-ink-muted); }
.sys__foot b { color: var(--white); font-weight: 600; }
.sys__note { margin: 24px 0 0; font-size: 12px; color: rgba(238, 235, 230, 0.45); }

@media (max-width: 1000px) {
    .sys__grid { grid-template-columns: 1fr; grid-template-rows: none; border-top: 0; }
    .sys__col { display: block; grid-row: auto; padding: 0; border-top: 1px solid var(--line-ink); }
    .sys__col + .sys__col { border-left: 0; margin-top: 16px; }
    .sys__dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
    .sys__top { padding: 24px 0 8px; }
    .sys__media { margin-top: 28px; }
}
@media (max-width: 640px) {
    .sys__dl { grid-template-columns: 1fr; }
    .sys__dl > div { padding: 16px 0; }
    .sys__foot { flex-direction: column; align-items: stretch; }
    .sys__foot .btn { justify-content: space-between; }
}

/* Logo KORFS · SANGRE · AZUL: erb + tri riadky, výška riadi všetko (--sa-h) */
.sa { display: inline-flex; align-items: center; gap: calc(var(--sa-h, 40px) * 0.2); height: var(--sa-h, 40px); color: #0A1933; --crest-accent: #005EFF; }
.sa__crest { flex: none; width: auto; height: 100%; }
.sa__w { font-family: var(--serif); font-weight: 500; font-size: calc(var(--sa-h, 40px) * 0.255); line-height: 1.22; letter-spacing: 0.14em; color: #0A1933; white-space: nowrap; }
.bk__logo { align-self: flex-start; width: max-content; }
@media (max-width: 1000px) and (min-width: 641px) { .sys__media { aspect-ratio: 16 / 9; } }

/* Hero: aby sa celé zmestilo do prvej obrazovky na bežnom desktope */
@media (min-width: 1101px) {
    .hero { padding-top: calc(var(--hd) + 32px); padding-bottom: 52px; }
}
@media (min-width: 1101px) and (max-height: 860px) {
    .hero { padding-top: calc(var(--hd) + 16px); padding-bottom: 32px; }
    .hero__kicker { margin-bottom: 16px; }
    .hero__lead { margin-top: 16px; }
    .qf { margin-top: 20px; padding-top: 18px; padding-bottom: 14px; }
    .qf__sub { margin-bottom: 12px; }
}

/* Piliere: ikona hore, nadpis, text · tri rovnaké stĺpce, deliace čiary medzi všetkými */
.proof.proof--3 { --pg: clamp(48px, 6.8vw, 96px); grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--pg); border-bottom: 1px solid var(--line); }
.proof.proof--3 > li { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 56px 0 60px; border: 0; }
.proof.proof--3 > li + li::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(var(--pg) / -2); width: 1px; background: var(--line); }
.proof__ic { flex: none; width: 52px; height: 52px; margin: 0 0 24px; padding: 13px; border: 1px solid var(--line); border-radius: 50%; box-sizing: border-box; fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.proof.proof--3 b { display: block; font-size: clamp(28px, 2.6vw, 40px); }
.proof.proof--3 > li > span:last-child { margin-top: 12px; font-size: 15px; line-height: 1.65; max-width: 26em; }
@media (max-width: 900px) {
    .proof.proof--3 { grid-template-columns: 1fr; border-bottom: 0; }
    .proof.proof--3 > li + li::before { display: none; }
    .proof.proof--3 > li, .proof.proof--3 > li:first-child { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .proof.proof--3 .proof__ic { grid-row: 1 / span 2; width: 44px; height: 44px; padding: 11px; margin: 2px 0 0; }
    .proof.proof--3 b { font-size: 28px; }
    .proof.proof--3 > li > span:last-child { margin-top: 6px; }
}

/* Cena: jemne krémový podklad celej sekcie, formulár ostáva svetlý */
.price { background: #F2E9DA; }
.price .price__incl, .price .price__incl li { border-color: #DDD0BA; }

@media (prefers-reduced-motion: reduce) { .final__slide, .final__slide.is-active { animation: none; transition: none; } }

/* Dostupnosť v záverečnej karte (statický prísľub, bez živých dát) */
.avail { display: flex; align-items: flex-start; gap: 16px; margin-top: 24px; padding: 18px 20px; background: rgba(251, 250, 248, 0.06); border-left: 2px solid #C9D5FF; }
.avail__ic { flex: none; width: 28px; height: 28px; margin-top: 2px; fill: none; stroke: #C9D5FF; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.avail__h { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.25; color: #fff; }
.avail__sub { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: rgba(251, 250, 248, 0.7); }
@media (max-width: 720px) { .avail { padding: 16px; gap: 12px; } .avail__h { font-size: 19px; } }

/* Popiska v páse tímu (zatiaľ iba doc. Thurzo, mená ostatných dodá klinika) */
.team__p { position: relative; }
.team__cap { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: rgba(13, 24, 56, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-left: 2px solid #B3263E; color: #fff; }
.team__cap b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.team__cap span { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(251, 250, 248, 0.72); }
.sys__media--product img[src*="invisalign"] { padding: 5% 7%; }
/* Systémy: tri rovnako široké stĺpce, deliaca čiara v strede medzery */
@media (min-width: 1001px) {
    .sys__grid { --g: clamp(40px, 4.8vw, 72px); column-gap: var(--g); }
    .sys__col, .sys__col:first-child, .sys__col:last-child { position: relative; padding: 0; }
    .sys__col + .sys__col { border-left: 0; }
    .sys__col + .sys__col::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(var(--g) / -2); width: 1px; background: var(--line-ink); }
}

/* Preloader: erb sa vynorí zdola (odkrytie + jemný posun), až potom sa vyrovná nápis */
.pre__crest { width: auto; height: clamp(64px, 9vh, 96px); color: #FBFAF8; --crest-accent: #FBFAF8; clip-path: inset(100% 0 0 0); opacity: 0; transform: translateY(14px); animation: preCrest 1s cubic-bezier(0.32, 0.72, 0, 1) .1s forwards; }
@keyframes preCrest { to { clip-path: inset(0 0 0 0); opacity: 1; transform: none; } }
.pre__word .ch { transition-delay: calc(420ms + var(--i, 0) * 45ms); }
.pre__dot { transition-delay: 1.25s; }
