/* =====================================================================
 * opravy-sedacek.eu — výkonnostní vstupní stránka
 * Mobile-first, breakpointy 480 / 768 / 1024 px.
 * Barvy: tmavě zelenomodrá #1F4E4A, akcent oranžová #E8833A,
 * krémové pozadí #F7F4EF, text #1E1E1E. Písmo Nunito Sans.
 * Na oranžových tlačítkách je tmavý text (bílý by nesplnil kontrast WCAG AA).
 * ===================================================================== */

@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(../fonts/nunito-sans-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(../fonts/nunito-sans-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --primary: #1F4E4A;
    --primary-dark: #163A37;
    --primary-soft: #E4EDEB;
    --accent: #E8833A;
    --accent-dark: #D26F27;
    --cream: #F7F4EF;
    --text: #1E1E1E;
    --text-light: #4A4F4E;
    --border: #DDD5C9;
    --white: #FFFFFF;
    --error: #B42318;
    --error-soft: #FEF3F2;
    --radius: 12px;
    --shadow: 0 2px 4px rgba(30, 30, 30, .04), 0 10px 28px rgba(31, 78, 74, .10);
    --header-h: 64px;
    --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.125rem;            /* 18 px */
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { color: var(--primary-dark); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: 2.125rem; letter-spacing: -.01em; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.1875rem; }
p { margin: 0 0 1em; }

a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }

.skip-link {
    position: absolute;
    left: 8px; top: -100px;
    z-index: 1000;
    padding: 10px 16px;
    background: var(--primary-dark); color: #fff;
    border-radius: var(--radius);
}
.skip-link:focus { top: 8px; color: #fff; }

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section { padding: 56px 0; }
.section--cream { background: var(--cream); }
.section__lead { color: var(--text-light); max-width: 46em; }

/* ---------- Tlačítka ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px 26px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font: inherit;
    font-weight: 800;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn--cta { background: var(--accent); color: var(--text); box-shadow: 0 6px 16px rgba(232, 131, 58, .35); }
.btn--cta:hover { background: var(--accent-dark); color: var(--text); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary-soft); color: var(--primary-dark); }
.btn--whatsapp { background: #0E7A3E; color: #fff; }          /* zelená WhatsApp, kontrast s bílou ≥ 4,5:1 */
.btn--whatsapp:hover { background: #0B6232; color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: wait; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Výzva k akci + snížení rizika pod ní */
.cta { margin-top: 28px; text-align: center; }
.cta .btn { width: 100%; }
.cta__note { margin: 10px 0 0; font-size: .9375rem; color: var(--text-light); }
.cta__alt { margin: 6px 0 0; font-size: 1rem; color: var(--text-light); }
.cta__alt a { font-weight: 800; }

/* ---------- Horní lišta ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--border);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--header-h);
}
.site-title {
    font-weight: 800;
    font-size: 1.0625rem;
    line-height: 1.2;
    color: var(--primary-dark);
    text-decoration: none;
}
.header-wa { min-height: 48px; min-width: 48px; padding: 10px 12px; }
.header-wa svg { width: 24px; height: 24px; }
.header-wa__text { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 48px; }
.hero__grid { display: grid; gap: 28px; }
.hero__sub { font-size: 1.1875rem; color: var(--text-light); }
.hero .cta { text-align: left; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 8px;
    font-weight: 700;
}
.checklist li::before {
    content: '';
    position: absolute;
    left: 0; top: .15em;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' 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;
}

.foam-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.foam-compare__item { position: relative; margin: 0; }
.foam-compare img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.foam-compare__label,
.pair__label {
    position: absolute;
    left: 8px; bottom: 8px;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 800;
    color: #fff;
    background: rgba(30, 30, 30, .82);
}
.foam-compare__item--after .foam-compare__label,
.pair__label--after { background: var(--primary); }
.foam-compare__caption { grid-column: 1 / -1; margin: 4px 0 0; font-size: .9375rem; color: var(--text-light); }

/* ---------- Symptomy ---------- */
.symptoms {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.symptom {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}
.symptom img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.symptom__body { padding: 12px 14px 16px; }
.symptom h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.symptom p { margin: 0; font-size: 1rem; color: var(--text-light); line-height: 1.5; }

.callout {
    margin: 0;
    padding: 16px 20px;
    border-left: 5px solid var(--accent);
    background: #fff;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-weight: 800;
    color: var(--primary-dark);
}

/* ---------- Srovnání: nová sedačka × oprava ---------- */
.vs { display: grid; margin-top: 24px; align-items: center; }
.vs__card { border-radius: var(--radius); padding: 24px 20px; }
.vs__card--new { background: var(--cream); border: 1px solid var(--border); color: var(--text-light); }
.vs__card--ours { background: #fff; border: 2px solid var(--primary); box-shadow: var(--shadow); }
.vs__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.vs__head h3 { margin: 0; font-size: 1.25rem; }
.vs__card--new h3 { color: var(--text-light); }
.vs__icon { flex-shrink: 0; width: 44px; height: 44px; padding: 10px; border-radius: 50%; }
.vs__card--new .vs__icon { background: #E8E2D8; color: #6B655C; }
.vs__card--ours .vs__icon { background: var(--primary); color: #fff; }
.vs__list { margin: 0; }
.vs__row { position: relative; padding: 12px 0 12px 40px; border-top: 1px solid var(--border); }
.vs__row::before {
    content: '';
    position: absolute;
    left: 0; top: 14px;
    width: 26px; height: 26px;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
}
.vs__row--bad::before {
    background-color: #FDE2DD;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b42318' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
.vs__row--good::before {
    background-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.vs__row dt { font-size: .8125rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); }
.vs__row dd { margin: 2px 0 0; font-size: 1.125rem; }
.vs__row--good dd { font-weight: 800; color: var(--primary-dark); }
.vs__or {
    justify-self: center;
    position: relative;
    z-index: 1;
    margin: -14px 0;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: var(--text);
    font-weight: 800;
    font-size: .9375rem;
    box-shadow: 0 0 0 6px #fff;
}

/* ---------- Kroky ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.steps__item {
    counter-increment: step;
    position: relative;
    padding: 20px 20px 20px 78px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.steps__item::before {
    content: counter(step);
    position: absolute;
    left: 20px; top: 20px;
    width: 42px; height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: var(--text);
    font-weight: 800;
    font-size: 1.1875rem;
}
.steps__item h3 { margin-bottom: 4px; }
.steps__item p { margin: 0; color: var(--text-light); }

/* ---------- Oprava krok za krokem (posuvný pás fotek) ---------- */
.process__list {
    list-style: none;
    display: flex;
    gap: 14px;
    margin: 24px calc(-1 * var(--gutter)) 0;
    padding: 4px var(--gutter) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
}
.process__list:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.process__item { flex: 0 0 82%; scroll-snap-align: start; }
.process__item figure { margin: 0; }
.process__item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.process__item figcaption { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-weight: 700; line-height: 1.4; }
.process__num {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: var(--text);
    font-weight: 800;
    font-size: .9375rem;
}
.process__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.process__count { margin: 0; min-width: 7em; text-align: center; font-weight: 700; color: var(--text-light); }
.process__btn {
    width: 48px; height: 48px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font: inherit;
    font-size: 1.25rem;
    font-weight: 800;
    cursor: pointer;
}
.process__btn:hover:not([disabled]) { background: var(--primary-soft); }
.process__btn[disabled] { opacity: .35; cursor: default; }

/* ---------- Galerie před / po ---------- */
.gallery { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 24px; }
.pair { margin: 0; }
.pair__images { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair__img { position: relative; }
.pair__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.pair figcaption { margin-top: 8px; font-weight: 800; color: var(--primary-dark); }

/* ---------- Proč my ---------- */
.why { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.why li {
    position: relative;
    padding: 16px 16px 16px 52px;
    background: #fff;
    border-radius: var(--radius);
    font-weight: 700;
    box-shadow: var(--shadow);
}
.why li::before {
    content: '';
    position: absolute;
    left: 16px; top: 18px;
    width: 24px; height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4E4A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Formulář ve 2 krocích ---------- */
.form-section { background: var(--primary); }
.form-section .container { max-width: 760px; }
.form-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
    padding: 24px 18px;
}
.form-card > h2 { font-size: 1.5rem; }
.form-card__intro { color: var(--text-light); }

.progress { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.progress__label { margin: 0; font-weight: 800; font-size: .9375rem; color: var(--text-light); white-space: nowrap; }
.progress__bar { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.progress__bar span { height: 8px; border-radius: 99px; background: #E8E2D8; }
.progress__bar span.is-done { background: var(--accent); }

.step__title { font-size: 1.25rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 12px; padding: 0; }
.step__back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}
.step__chosen { margin: 0 0 18px; padding: 10px 14px; background: var(--primary-soft); border-radius: var(--radius); font-size: 1rem; }
.step__chosen:empty { display: none; }
.step__next { margin-top: 16px; }

/* Bez JS jsou vidět oba kroky; s JS jen aktuální */
.js .form-step[hidden] { display: none; }

.field { margin-bottom: 18px; }
.field > label { display: block; margin-bottom: 6px; font-weight: 800; color: var(--primary-dark); }
.field .optional { font-weight: 500; color: var(--text-light); }
fieldset.field { border: 0; padding: 0; margin-left: 0; margin-right: 0; min-width: 0; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
    width: 100%;
    min-height: 54px;
    padding: 12px 14px;
    border: 1.5px solid #8E887E;
    border-radius: var(--radius);
    font: inherit;
    font-size: 1.125rem;
    color: var(--text);
    background: #fff;
}
.field textarea { min-height: 0; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31, 78, 74, .25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__hint { display: block; margin-top: 4px; font-size: .9375rem; color: var(--text-light); }
.field__error { display: block; margin-top: 6px; font-size: .9375rem; font-weight: 700; color: var(--error); }
.field__error:empty { display: none; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; display: block; }
.tile input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tile__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    min-height: 128px;
    padding: 14px 8px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    font-weight: 800;
    font-size: 1.0625rem;
    line-height: 1.25;
    color: var(--primary-dark);
    background: #fff;
    transition: border-color .15s, background-color .15s;
}
.tile__box svg { width: 44px; height: 44px; color: var(--primary); }
.tile:hover .tile__box { border-color: var(--primary); }
.tile input:checked + .tile__box { border-color: var(--accent); background: #FDF1E7; box-shadow: inset 0 0 0 1px var(--accent); }
.tile input:checked + .tile__box svg { color: var(--accent-dark); }
.tile input:focus-visible + .tile__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.tiles[aria-invalid="true"] .tile__box { border-color: var(--error); }

.upload {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 12px;
    border: 2px dashed #8E887E;
    border-radius: var(--radius);
    color: var(--primary);
    font-weight: 800;
    cursor: pointer;
    background: #fff;
    text-align: center;
}
.upload:hover { border-color: var(--primary); background: var(--primary-soft); }
.upload svg { width: 24px; height: 24px; flex-shrink: 0; }
.upload-input:focus-visible + .upload { outline: 3px solid var(--accent); outline-offset: 2px; }
.upload-list { list-style: none; margin: 8px 0 0; padding: 0; font-size: .9375rem; }
.upload-list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.upload-list button { border: 0; background: none; color: var(--error); font: inherit; font-weight: 700; cursor: pointer; min-height: 32px; }

.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { flex-shrink: 0; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--primary); }
.consent label { font-size: .9375rem; font-weight: 400; color: var(--text); line-height: 1.5; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--radius); font-weight: 700; }
.form-status:empty { display: none; }
.form-status--error { background: var(--error-soft); color: var(--error); border: 1px solid #FDA29B; }
.form-note { margin: 10px 0 0; text-align: center; color: var(--text-light); font-size: .9375rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 20px; }
.faq__item { background: #fff; border-radius: var(--radius); margin-bottom: 10px; box-shadow: var(--shadow); }
.faq__item summary {
    position: relative;
    list-style: none;
    padding: 18px 52px 18px 18px;
    font-weight: 800;
    color: var(--primary-dark);
    cursor: pointer;
    min-height: 48px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '';
    position: absolute;
    right: 18px; top: 50%;
    width: 22px; height: 22px;
    margin-top: -11px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4E4A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 18px 18px; color: var(--text-light); }

/* ---------- Patička ---------- */
.site-footer { background: var(--primary-dark); color: #D5E0DE; padding: 36px 0 28px; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent); }
.site-footer__contact { margin: 0 0 12px; line-height: 1.8; }
.site-footer__links { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer__links button { padding: 0; border: 0; background: none; color: #fff; font: inherit; text-decoration: underline; cursor: pointer; }
.site-footer__links button:hover { color: var(--accent); }
.site-footer__operator { margin: 0; font-size: 12px; color: #A9BDB9; }

/* ---------- Plovoucí lišta (mobil) ---------- */
.mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 8px;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(30, 30, 30, .1);
    transition: transform .2s ease;
}
.mobile-bar .btn { min-height: 50px; padding: 10px 12px; box-shadow: none; }
.mobile-bar.is-hidden { transform: translateY(110%); }
body.has-mobile-bar { padding-bottom: 72px; }

/* ---------- Cookie lišta ---------- */
.cc {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-top: 4px solid var(--primary);
    box-shadow: 0 -8px 32px rgba(30, 30, 30, .2);
    padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom));
}
.cc[hidden] { display: none; }
.cc__inner { max-width: 960px; margin: 0 auto; }
.cc h2 { font-size: 1.25rem; margin-bottom: 8px; }
.cc p { font-size: .9375rem; margin-bottom: 12px; }
.cc__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc__buttons .btn { min-height: 48px; padding: 10px 12px; font-size: 1rem; }
.cc__buttons .cc__settings { grid-column: 1 / -1; }
.cc__prefs { margin: 0 0 16px; padding: 0; border: 0; }
.cc__pref { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cc__pref input { width: 22px; height: 22px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--primary); }
.cc__pref label { font-size: .9375rem; }
.cc__pref strong { display: block; color: var(--primary-dark); }

/* ---------- Podstránky ---------- */
.page { padding: 40px 0 64px; }
.page .container { max-width: 820px; }
.page h2 { font-size: 1.375rem; margin-top: 1.8em; }
.page ul { padding-left: 1.3em; }
.page li { margin-bottom: .4em; }
.page table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin-bottom: 1em; }
.page th, .page td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.page th { background: var(--cream); }

.thanks { text-align: center; }
.thanks__icon {
    width: 76px; height: 76px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
}
.thanks__icon svg { width: 42px; height: 42px; }

/* =====================================================================
 * ≥ 480 px
 * ===================================================================== */
@media (min-width: 480px) {
    .cta .btn { width: auto; }
    .cc__buttons { grid-template-columns: repeat(3, auto); justify-content: start; }
    .cc__buttons .cc__settings { grid-column: auto; }
}

/* =====================================================================
 * ≥ 768 px
 * ===================================================================== */
@media (min-width: 768px) {
    :root { --gutter: 24px; --header-h: 72px; }
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.125rem; }
    .site-title { font-size: 1.25rem; }
    .header-wa { padding: 10px 18px; }
    .header-wa__text { display: inline; }
    .section { padding: 80px 0; }
    .hero { padding: 48px 0 64px; }
    .form-card { padding: 36px 32px; }
    .tiles { grid-template-columns: repeat(4, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .steps__item { padding: 80px 22px 24px; }
    .gallery { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .process__item { flex-basis: 45%; }
    .why { grid-template-columns: repeat(3, 1fr); }
    .vs { grid-template-columns: 1fr auto 1fr; }
    .vs__card { padding: 32px 28px; }
    .vs__card--new { margin-right: -14px; }
    .vs__card--ours { margin-left: -14px; }
    .vs__or { margin: 0; }
    .mobile-bar { display: none; }
    body.has-mobile-bar { padding-bottom: 0; }
}

/* =====================================================================
 * ≥ 1024 px
 * ===================================================================== */
@media (min-width: 1024px) {
    h1 { font-size: 3.125rem; }
    .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
    .symptoms { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .symptom__body { padding: 16px 18px 20px; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .process__list { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; scroll-padding: 0; }
    .process__item { flex-basis: calc((100% - 28px) / 3); }
}
