/* Vrakoviště Vacenovice – tokeny viz DESIGN.md */
:root {
    --yellow: #FFD21A;
    --yellow-deep: #F2C200;
    --ink: #21231E;
    --ink-raised: #2E302A;
    --ink-line: #43463E;
    --paper: #F7F7F3;
    --white: #FFFFFF;
    --mute: #5E605A;
    --mute-on-ink: #B9BBB2;
    --line: #E2E2DA;
    --error-on-ink: #FF9B8F;

    /* Písmo: Schibsted Grotesk na vše. Alternativa: Funnel Display (nadpisy) + Funnel Sans (text) */
    --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
    --r-pill: 999px;
    --r-card: 20px;
    --r-field: 12px;
    --container: 1200px;
    --gutter: 16px;
    --section: 112px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    /* Sklon křídla ze znaku – opakuje se na šikmých ořezech fotek */
    --slant: 14%;
    /* Výstražné pruhy z odtahovek – jen na hraně formuláře, pod hero a nad patičkou */
    --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
h1, h2, h3, .lf-title, .promise strong, .contact-address, .contact-phone, .eco-figure strong,
.header-phone a, .footer-phone { font-family: var(--font-display); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.promises :focus-visible, .lead-card :focus-visible, .site-footer :focus-visible, .pay :focus-visible { outline-color: var(--yellow); }

.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;
}

.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 100;
    background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-pill);
}
.skip-link:focus { top: 12px; }

.container { position: relative; width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tlačítka ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 28px;
    border: 2px solid transparent; border-radius: var(--r-pill);
    font: inherit; font-weight: 650; font-size: 17px; line-height: 1;
    text-decoration: none; cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-deep); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; }
.btn-outline-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-light { border-color: rgba(255, 255, 255, .4); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); }

/* ---------- Hlavička ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--yellow);
    transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(33, 35, 30, .14), 0 10px 30px -18px rgba(33, 35, 30, .5); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand img { width: 184px; height: auto; }
.header-nav { display: flex; gap: 26px; margin-left: auto; }
.header-nav a { text-decoration: none; font-weight: 550; font-size: 16px; }
.header-nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone a {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 750; font-size: 18px; text-decoration: none; white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--yellow);
    padding: 40px 0 72px;
    min-height: min(860px, calc(100vh - 76px));
    isolation: isolate;
}
/* Fotka vpravo se šikmou hranou a grafitovou linkou jako dělicí čára v logu */
.hero-photo {
    position: absolute; z-index: -1; top: 0; right: 0; bottom: 0;
    width: max(44vw, calc(50vw - 40px));
    background: var(--ink);
    clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photo picture {
    position: absolute; inset: 0;
    clip-path: polygon(calc(var(--slant) + 12px) 0, 100% 0, 100% 100%, 12px 100%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 62%; }

.hero-main { width: min(600px, 52%); }
.hero-title {
    font-size: clamp(2.8rem, 1.6rem + 3.6vw, 5rem);
    line-height: .98;
    font-weight: 800;
    letter-spacing: -0.035em;
    text-wrap: balance;
}
.hero-lead { margin-top: 20px; font-size: 19px; line-height: 1.5; max-width: 33em; }
.hero-call { margin-top: 18px; font-size: 16px; }
.hero-call a { font-weight: 750; text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }

/* ---------- Formulář ---------- */
.lead-card {
    position: relative; overflow: hidden;
    margin-top: 28px;
    background: var(--ink); color: var(--white);
    border-radius: var(--r-card);
    padding: 30px 28px 28px;
    box-shadow: 0 40px 70px -40px rgba(33, 35, 30, .8);
    scroll-margin-top: 96px;
}
.lead-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 9px, var(--ink) 9px 18px); }
.lf-head { display: flex; justify-content: space-between; align-items: baseline; }
.lf-kicker { font-weight: 650; color: var(--yellow); }
.lf-count { font-variant-numeric: tabular-nums; color: var(--mute-on-ink); font-size: 15px; }
.lf-bar { height: 4px; border-radius: 4px; background: var(--ink-line); margin: 12px 0 22px; overflow: hidden; }
.lf-bar i { display: block; height: 100%; width: 33.34%; background: var(--yellow); border-radius: 4px; transition: width .35s var(--ease); }

.lf-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.lf-step.is-entering { animation: lf-in .35s var(--ease); }
@keyframes lf-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

.lf-title {
    display: block; padding: 0; margin-bottom: 18px;
    font-size: 24px; line-height: 1.15; font-weight: 750;
}

.lf-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lf-choice {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px;
    min-height: 104px; padding: 14px;
    background: var(--ink-raised); color: var(--white);
    border: 2px solid var(--ink-line); border-radius: 14px;
    font: inherit; font-size: 16px; font-weight: 650; text-align: left;
    cursor: pointer;
    transition: border-color .15s var(--ease), background-color .15s var(--ease), transform .15s var(--ease);
}
.lf-choice svg { width: 56px; height: 42px; fill: none; stroke: var(--mute-on-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s; }
.lf-choice svg .mark { stroke: var(--yellow); }
.lf-choice svg .dashed { stroke-dasharray: 2.4 2.2; }
.lf-choice:hover { border-color: var(--mute-on-ink); transform: translateY(-2px); }
.lf-choice:hover svg { stroke: var(--white); }
.lf-choice[aria-pressed="true"] { border-color: var(--yellow); background: #393A28; }
.lf-choice[aria-pressed="true"] svg { stroke: var(--yellow); }

.lf-field { margin-bottom: 16px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.lf-field label, .lf-photos summary { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: #E6E7E1; }
.lf-opt { font-weight: 400; color: var(--mute-on-ink); margin-left: 4px; }

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form input[type="number"],
.lead-form textarea {
    width: 100%; min-height: 54px; padding: 12px 16px;
    background: var(--white); color: var(--ink);
    border: 2px solid var(--white); border-radius: var(--r-field);
    font: inherit; font-size: 17px;
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 210, 26, .35); }
.lead-form input[aria-invalid="true"] { border-color: var(--error-on-ink); }
.lead-form input[type="number"] { -moz-appearance: textfield; }
.lead-form input::-webkit-outer-spin-button, .lead-form input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.lf-photos { margin-bottom: 6px; }
.lf-photos summary { cursor: pointer; list-style: none; color: var(--white); }
.lf-photos summary::-webkit-details-marker { display: none; }
.lf-photos summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 700; color: var(--yellow); }
.lf-photos[open] summary::before { content: "–"; }
.lf-photos .lf-field { margin-top: 10px; }
/* Dropzóna vexe – vlastní vzhled kolem widgetu, nahrávání se nepřepisuje */
.lead-card [data-vx-dropzone] {
    border: 2px dashed var(--ink-line); border-radius: var(--r-field);
    padding: 18px; color: var(--mute-on-ink); background: var(--ink-raised); cursor: pointer;
}
.lead-card [data-vx-dropzone]:hover { border-color: var(--mute-on-ink); }
.lead-card [data-vx-dropzone] a, .lead-card [data-vx-dropzone] button { color: var(--yellow); }
.lead-card .vx-dropzone-text { margin: 0; }
.lead-card .vx-dropzone-list { list-style: none; margin: 0; padding: 0; }

.lf-error { color: var(--error-on-ink); font-size: 14px; margin-top: 6px; }
.lf-error:empty { display: none; }
.lf-alert { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 155, 143, .12); color: var(--error-on-ink); font-size: 15px; }
.lf-alert a { color: var(--white); font-weight: 650; }
.lf-alert ul, .lead-card .errorlist { list-style: none; margin: 0; padding: 0; }

.lf-nav { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.lf-nav:not(:has(> :not([hidden]))) { display: none; }
.lf-nav .btn { flex: 1; min-height: 58px; font-size: 18px; }
.lf-nav .btn[disabled] { opacity: .6; cursor: progress; }
.lf-back {
    background: none; border: 0; color: var(--mute-on-ink); font: inherit; font-weight: 600;
    padding: 12px 8px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px;
}
.lf-back:hover { color: var(--white); }
.lf-note { margin-top: 14px; font-size: 13.5px; color: var(--mute-on-ink); }
.lf-note a { color: inherit; }

.lf-done { padding: 8px 0; }
.lf-done:focus { outline: none; }
.lf-done svg { margin-bottom: 20px; }
.lf-done p + p { margin-top: 10px; }
.lf-done-small { color: var(--mute-on-ink); font-size: 15px; }
.lf-fallback .btn { margin-top: 20px; }

/* ---------- Sliby pod hero ---------- */
.promises { position: relative; background: var(--ink); color: var(--white); padding: 56px 0 50px; }
.promises::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--hazard); }
.promises-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.promise { display: flex; gap: 18px; align-items: flex-start; }
.promise svg {
    flex: none; width: 52px; height: 52px; padding: 11px; border-radius: 14px;
    background: var(--yellow); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.promise strong { display: block; font-size: 20px; font-weight: 750; line-height: 1.2; margin-bottom: 4px; color: var(--white); }
.promise p { color: var(--mute-on-ink); }

/* ---------- Sekce ---------- */
.section { padding: var(--section) 0; }
.section-title {
    font-size: clamp(2.3rem, 1.6rem + 2.1vw, 3.6rem);
    line-height: 1.02; font-weight: 800;
    letter-spacing: -0.03em;
    text-wrap: balance;
}
.section-lead { margin-top: 18px; color: var(--mute); max-width: 32em; font-size: 18px; }
.section-lead a { color: var(--ink); font-weight: 700; white-space: nowrap; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 72px; align-items: start; }

/* Postup – tři kroky, každý se skutečným vizuálem ve stejném rámu (žlutá / fotka / grafit) */
.steps-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 64px; flex-wrap: wrap; }
.steps-head .section-lead { margin: 0; max-width: 26em; }
.steps { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.step > p:last-child { color: var(--mute); max-width: 26em; }
.step-num {
    margin: 24px 0 6px; font-size: 14px; font-weight: 700; color: var(--mute);
    font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.step-visual {
    position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden;
    display: grid; place-items: center;
}
.step-visual-form { background: var(--yellow); }
.step-visual-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 55%; transition: transform .6s var(--ease); }
.step:hover .step-visual-photo img { transform: scale(1.03); }
.step-visual-doc { background: var(--ink); }

/* Výřez formuláře – zmenšená kopie skutečné karty */
.mini-form {
    width: 74%; padding: 16px 16px 18px; border-radius: 14px;
    background: var(--ink); color: var(--white);
    box-shadow: 0 24px 40px -24px rgba(33, 35, 30, .7);
    display: grid; gap: 9px; font-size: 11px;
    transform: rotate(-2deg);
}
.mini-kicker { color: var(--yellow); font-weight: 650; }
.mini-bar { height: 3px; border-radius: 3px; background: var(--ink-line); }
.mini-bar i { display: block; width: 33%; height: 100%; border-radius: 3px; background: var(--yellow); }
.mini-title { font-family: var(--font-display); font-size: 14px; font-weight: 750; letter-spacing: -0.01em; margin-top: 2px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mini-grid span {
    padding: 9px 8px; border-radius: 8px; border: 1.5px solid var(--ink-line);
    background: var(--ink-raised); font-weight: 600; white-space: nowrap;
}
.mini-grid .is-on { border-color: var(--yellow); background: #393A28; }

/* Potvrzení – papír s razítkem se znakem */
.mini-doc {
    position: relative; height: 78%; aspect-ratio: 3 / 4; padding: 18px 16px;
    background: var(--paper); border-radius: 6px;
    box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .7);
    display: flex; flex-direction: column; gap: 9px;
    transform: rotate(3deg);
}
.mini-doc-title { font-family: var(--font-display); font-size: 11px; font-weight: 800; line-height: 1.2; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.mini-doc-line { display: block; height: 5px; border-radius: 3px; background: var(--line); }
.mini-doc-line.short { width: 60%; }
.mini-doc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.mini-doc-stamp {
    position: absolute; right: 12%; bottom: 14%;
    width: 30%; aspect-ratio: 1; border-radius: 50%;
    display: grid; place-items: center;
    border: 2px solid var(--yellow); background: rgba(255, 210, 26, .18);
    transform: rotate(-14deg);
}
.mini-doc-stamp img { width: 70%; }
.mini-doc-sign {
    position: absolute; left: 14%; bottom: 17%; width: 34%; height: 18px;
    border-bottom: 1.5px solid var(--mute);
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 18'%3E%3Cpath d='M2 14c6-10 9-11 10-6s3 6 7-2 6-6 6 0 4 5 9-1 6-4 8 1 6 2 16-3' fill='none' stroke='%2321231E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.steps-after { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--mute); }

/* Ekologická likvidace */
.eco { background: var(--white); }
.eco-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.eco-steps { list-style: none; padding: 0; margin-top: 36px; counter-reset: eco; }
.eco-steps li {
    counter-increment: eco;
    display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: baseline;
    padding: 16px 0; border-top: 1px solid var(--line); font-size: 18px;
}
.eco-steps li:last-child { border-bottom: 1px solid var(--line); }
.eco-steps li::before {
    content: counter(eco, decimal-leading-zero);
    font-weight: 800; color: var(--mute); font-size: 15px;
    font-variant-numeric: tabular-nums;
}
/* Znak z loga vyplněný žlutou do 95 % (inline SVG s maskou) */
.eco-gauge { display: block; width: 100%; max-width: 440px; height: auto; margin-bottom: 20px; }
.eco-figure figcaption { margin-top: 8px; max-width: 22em; color: var(--mute); }
.eco-figure strong {
    display: block; color: var(--ink);
    font-size: clamp(3.4rem, 2.4rem + 3vw, 5.4rem); line-height: 1; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px;
}

/* Doklady */
.docs-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 72px; align-items: end; }
.docs-head .section-lead { margin: 0; }
.docs { list-style: none; padding: 0; margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.docs li {
    display: flex; flex-direction: column;
    padding: 28px 24px 26px;
    background: var(--white); border-radius: var(--r-card);
    border: 1px solid var(--line);
}
.docs svg { width: 72px; height: 72px; margin-bottom: 28px; }
.docs li:nth-child(odd) svg { transform: rotate(-4deg); }
.docs li:nth-child(even) svg { transform: rotate(3deg); }
.docs strong { font-size: 18px; font-weight: 750; line-height: 1.25; }
.docs span { margin-top: 6px; color: var(--mute); font-size: 15.5px; }

/* Výkup */
.pay { position: relative; background: var(--ink); color: var(--white); padding: var(--section) 0; isolation: isolate; overflow: hidden; }
.pay-photo {
    position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 50vw;
    background: var(--yellow);
    clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
}
.pay-photo picture { position: absolute; inset: 0; clip-path: polygon(calc(var(--slant) + 12px) 0, 100% 0, 100% 100%, 12px 100%); }
.pay-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
.pay-copy { width: min(520px, 46%); }
.pay-copy > p { margin-top: 20px; color: #D5D6CF; font-size: 18px; }
.pay-copy > .pay-label { margin-top: 32px; font-size: 15px; color: var(--mute-on-ink); }
.parts { list-style: none; padding: 0; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.parts li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px 8px 10px; border-radius: var(--r-pill);
    border: 1.5px solid var(--ink-line); font-weight: 600; font-size: 15.5px;
}
.parts li::before {
    content: ""; width: 20px; height: 20px; border-radius: 50%;
    background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2321231E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.pay-copy .btn { margin-top: 36px; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 22px 0; cursor: pointer; list-style: none;
    font-size: 19px; font-weight: 650;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%2321231E' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
    border: 1px solid var(--line);
    transition: transform .25s var(--ease), background-color .2s;
}
.faq summary:hover::after { border-color: var(--ink); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); border-color: var(--yellow); }
.faq details p { padding: 0 56px 24px 0; color: var(--mute); max-width: 36em; }

/* Náhradní díly – žlutá plocha, dvě grafitové karty s odkazy ven */
.parts-shop { background: var(--yellow); padding: var(--section) 0; }
.parts-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 72px; align-items: start; }
.parts-shop .section-lead { color: var(--ink); opacity: .82; }
.parts-contact { margin-top: 32px; padding-top: 20px; border-top: 1.5px solid rgba(33, 35, 30, .25); font-weight: 600; }
.parts-contact a { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.parts-contact a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.parts-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.parts-card {
    display: flex; flex-direction: column; min-height: 320px; padding: 28px;
    background: var(--ink); color: var(--white); border-radius: var(--r-card);
    text-decoration: none;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.parts-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(33, 35, 30, .8); }
.parts-card:focus-visible { outline-color: var(--ink); }
.parts-card > svg {
    width: 52px; height: 52px; padding: 11px; border-radius: 14px; margin-bottom: auto;
    background: var(--ink-raised); fill: none; stroke: var(--yellow); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.parts-platform { margin-top: 40px; font-size: 14px; color: var(--mute-on-ink); font-weight: 600; }
.parts-title { margin-top: 4px; font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.parts-desc { margin-top: 10px; color: var(--mute-on-ink); font-size: 15.5px; }
.parts-cta {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; align-self: flex-start;
    padding: 12px 18px; border-radius: var(--r-pill); background: var(--yellow); color: var(--ink); font-weight: 650;
    transition: background-color .2s var(--ease);
}
.parts-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.parts-card:hover .parts-cta { background: var(--yellow-deep); }

/* Další služby – záměrně tiché */
.extras-section { padding: 0 0 80px; }
.parts-shop + .extras-section { padding-top: 64px; }
.parts-shop + .extras-section .extras-inner { border-top: 0; padding-top: 0; }
.extras-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.extras-title { font-size: 20px; font-weight: 750; }
.extras { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; font-size: 16px; }
.extras strong { font-weight: 700; margin-right: 6px; }
.extras span { color: var(--mute); }
.extras a { color: var(--ink); font-weight: 650; white-space: nowrap; }

/* Kontakt – světlý, aby se neslil s tmavou patičkou */
.contact { background: var(--white); padding: var(--section) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.contact-address { margin-top: 24px; font-size: 26px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 6px 28px; margin-top: 24px; color: var(--mute); }
.hours dt { font-weight: 600; color: var(--ink); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.contact-people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-people p { display: grid; gap: 4px; }
.contact-people p > span:first-child { color: var(--mute); font-size: 15px; }
.contact-people a { color: var(--ink); text-underline-offset: 4px; }
.contact-phone { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; text-decoration: none !important; }
.contact-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.contact-photo img { border-radius: var(--r-card); aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 50%; width: 100%; }
.contact-photo figcaption { margin-top: 12px; font-size: 14px; color: var(--mute); }

/* Patička – výzva, rozcestník a obří invertované logo jako závěr stránky */
.site-footer { position: relative; background: var(--ink); color: var(--mute-on-ink); padding: 88px 0 32px; font-size: 15.5px; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--hazard); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; }
.footer-claim { color: var(--white); font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.footer-phone {
    display: inline-block; margin: 14px 0 24px;
    color: var(--yellow); font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em;
    text-decoration: none; white-space: nowrap;
}
.footer-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.footer-col h2 { color: var(--white); font-size: 16px; font-weight: 700; letter-spacing: 0; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 14px; line-height: 1.45; }
.footer-col a { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--ink-line); transition: border-color .15s; }
.footer-col a:hover { border-color: var(--yellow); }
.footer-logo { display: block; width: fit-content; margin: 80px auto 0; }
.footer-logo img { width: 200px; height: auto; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap;
    margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: 14px;
}
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer-links a { color: var(--white); text-underline-offset: 4px; }
.footer-fb { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-fb svg { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--ink-raised); transition: background-color .15s, color .15s; }
.footer-fb:hover svg { background: var(--yellow); color: var(--ink); }

/* Právní stránky */
.legal-inner { max-width: 760px; }
.legal h2 { margin: 40px 0 10px; font-size: 21px; font-weight: 750; }
.legal p { color: var(--mute); }
.legal p + p { margin-top: 12px; }
.legal p a:not(.btn) { color: var(--ink); }
.legal-back { margin-top: 48px; }

/* Zpětné volání – plovoucí bublina a panel (vzor rollo.cz, formulář jako alarmo.cz) */
.link-btn {
    padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
    font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.cb { position: fixed; right: 24px; bottom: 24px; z-index: 70; }
.cb-bubble {
    position: relative; display: grid; place-items: center;
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--yellow); border: 3px solid var(--ink); cursor: pointer;
    box-shadow: 0 16px 30px -12px rgba(33, 35, 30, .55);
    transition: transform .2s var(--ease);
}
.cb-bubble:hover { transform: scale(1.06); }
.cb-avatar img { width: 36px; height: auto; }
.cb-dot { position: absolute; top: 0; right: 0; width: 16px; height: 16px; border-radius: 50%; background: #3BB273; border: 3px solid var(--paper); }
.cb.is-open .cb-bubble { transform: none; }

.cb-tip {
    position: absolute; right: 0; bottom: 80px; width: 290px;
    background: var(--white); color: var(--ink); border-radius: 16px;
    box-shadow: 0 24px 50px -20px rgba(33, 35, 30, .45), 0 0 0 1px var(--line);
    animation: cb-in .35s var(--ease);
}
.cb-tip::after { content: ""; position: absolute; right: 24px; bottom: -7px; width: 14px; height: 14px; background: var(--white); transform: rotate(45deg); box-shadow: 1px 1px 0 var(--line); }
.cb-tip-body { display: grid; gap: 4px; width: 100%; padding: 16px 44px 16px 18px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.cb-tip-body strong { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.cb-tip-body span { color: var(--mute); font-size: 15px; }
.cb-tip-close, .cb-close {
    display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    border: 0; background: var(--paper); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer;
}
.cb-tip-close { position: absolute; top: 8px; right: 8px; z-index: 1; }
@keyframes cb-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cb-panel {
    position: absolute; right: 0; bottom: 80px; width: 360px;
    background: var(--ink); color: var(--white); border-radius: var(--r-card);
    padding: 26px 22px 22px; overflow: hidden auto; max-height: calc(100vh - 120px);
    box-shadow: 0 40px 70px -30px rgba(33, 35, 30, .8);
    animation: cb-in .3s var(--ease);
}
.cb-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 9px, var(--ink) 9px 18px); }
.cb-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-bottom: 18px; }
.cb-avatar-sm { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); }
.cb-avatar-sm img { width: 26px; }
.cb-title { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.cb-status { font-size: 13.5px; color: var(--mute-on-ink); }
.cb-close { background: var(--ink-raised); color: var(--white); }
.cb-field { margin-bottom: 12px; }
.cb-field label, .cb-when legend { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: #E6E7E1; padding: 0; }
.cb-form input[type="text"], .cb-form input[type="tel"] {
    width: 100%; min-height: 50px; padding: 10px 14px;
    background: var(--white); color: var(--ink); border: 2px solid var(--white); border-radius: var(--r-field);
    font: inherit; font-size: 17px;
}
.cb-form input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 210, 26, .35); }
.cb-form input[aria-invalid="true"] { border-color: var(--error-on-ink); }
.cb-error { color: var(--error-on-ink); font-size: 14px; margin-top: 6px; }
.cb-error:empty { display: none; }
.cb-when { border: 0; margin: 4px 0 0; padding: 0; min-width: 0; }
.cb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cb-chip {
    padding: 8px 14px; border-radius: var(--r-pill);
    border: 1.5px solid var(--ink-line); background: var(--ink-raised); color: var(--white);
    font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
}
.cb-chip:hover { border-color: var(--mute-on-ink); }
.cb-chip[aria-pressed="true"] { border-color: var(--yellow); background: #393A28; }
.cb-custom { margin-top: 10px; }
.cb-submit { width: 100%; min-height: 54px; margin-top: 18px; }
.cb-submit[disabled] { opacity: .6; cursor: progress; }
.cb-note { margin-top: 12px; font-size: 13px; color: var(--mute-on-ink); }
.cb-note a { color: inherit; }
.cb-done { display: grid; gap: 8px; justify-items: start; padding: 4px 0 8px; }
.cb-done:focus { outline: none; }
.cb-done p:last-child { color: var(--mute-on-ink); }
.cb :focus-visible { outline-color: var(--yellow); }
.cb-tip :focus-visible { outline-color: var(--ink); }

/* Lišta cookies (převzato z alarmo.cz, vzhled vrakoviště) */
.cookie-banner {
    position: fixed; left: 50%; bottom: 16px; z-index: 90; transform: translateX(-50%);
    width: min(100% - 24px, 780px); padding: 20px 22px;
    background: var(--white); color: var(--ink); border-radius: var(--r-card);
    box-shadow: 0 24px 60px -20px rgba(33, 35, 30, .45), 0 0 0 1px var(--line);
    font-size: 14.5px;
}
.cookie-banner-main { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cookie-banner-main > div:first-child { flex: 1 1 320px; }
.cookie-title { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.cookie-banner p + p { margin-top: 4px; color: var(--mute); }
.cookie-banner a { color: var(--ink); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-btn {
    min-height: 44px; padding: 0 18px; border-radius: var(--r-pill);
    border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
    font: inherit; font-size: 15px; font-weight: 650; cursor: pointer;
    transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.cookie-btn:hover { border-color: var(--ink); }
.cookie-btn-accept { background: var(--ink); border-color: var(--ink); color: var(--white); }
.cookie-btn-accept:hover { background: #000; }
.cookie-settings { display: grid; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.cookie-settings label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.cookie-settings input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.cookie-settings small { display: block; color: var(--mute); font-size: 14px; }
.cookie-settings .cookie-btn { justify-self: start; }

/* Mobilní lišta */
.mobile-bar { display: none; }

/* Úvodní sekvence – jediný orchestrovaný pohyb při načtení */
@media (prefers-reduced-motion: no-preference) {
    .hero-photo { animation: wipe 1s var(--ease) both; }
    .hero-title, .hero-lead, .hero .lead-card, .hero-call { animation: rise .7s var(--ease) both; }
    .hero-lead { animation-delay: .08s; }
    .hero .lead-card { animation-delay: .16s; }
    .hero-call { animation-delay: .24s; }
    @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
    @keyframes wipe { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responzivita ---------- */
@media (max-width: 1180px) {
    .header-nav { display: none; }
    .header-actions { margin-left: auto; }
}

@media (max-width: 1080px) {
    .hero-main { width: min(560px, 58%); }
    .lf-choices { grid-template-columns: 1fr 1fr; }
    .lf-choice { flex-direction: row; align-items: center; justify-content: flex-start; min-height: 64px; gap: 12px; }
    .docs { grid-template-columns: 1fr 1fr; }
    .steps { gap: 20px; }
    .mini-form { width: 84%; }
}

@media (max-width: 860px) {
    :root { --section: 72px; }
    .hero { padding: 0 0 56px; min-height: 0; }
    .hero-photo { position: relative; z-index: 0; width: auto; height: 240px; margin-bottom: 28px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%); }
    .hero-photo picture { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(80% - 10px)); }
    .hero-main { width: 100%; max-width: 620px; }
    .promises-grid { grid-template-columns: 1fr; gap: 22px; }
    .split, .eco-grid, .contact-grid, .docs-head, .extras-inner, .parts-grid { grid-template-columns: 1fr; gap: 32px; }
    .eco-figure { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; }
    .eco-gauge { max-width: 180px; margin: 0; }
    .steps { grid-template-columns: 1fr; gap: 44px; margin-top: 36px; }
    .step-visual { aspect-ratio: 16 / 10; }
    .pay { padding-top: 0; }
    .pay-photo { position: relative; z-index: 0; width: auto; height: 260px; margin-bottom: 48px; clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%); }
    .pay-photo picture { clip-path: polygon(0 0, 100% 0, 100% calc(80% - 10px), 0 calc(100% - 10px)); }
    .pay-copy { width: 100%; }
    .contact-photo img { aspect-ratio: 4 / 3; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
    .footer-cta { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    body { font-size: 16px; padding-bottom: 76px; }
    .header-inner { height: 64px; gap: 12px; }
    .brand img { width: 148px; }
    .header-cta { display: none; }
    .header-phone a { font-size: 16px; }
    .hero-photo { height: 180px; margin-bottom: 22px; }
    .hero-title { font-size: 2.6rem; }
    .hero-lead { font-size: 17px; margin-top: 14px; }
    .hero-call { display: none; }
    .lead-card { padding: 26px 18px 24px; margin: 22px -4px 0; }
    .lf-title { font-size: 21px; }
    .lf-row { grid-template-columns: 1fr; }
    .lf-choice { font-size: 15.5px; padding: 12px; gap: 10px; }
    .lf-choice svg { width: 32px; height: 24px; flex: none; }
    .lf-choice { white-space: nowrap; gap: 8px; }
    .promises { padding: 44px 0 36px; }
    .docs { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
    .docs li { display: grid; grid-template-columns: 56px 1fr; gap: 2px 18px; padding: 18px; align-items: center; }
    .docs svg { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
    .docs span { margin-top: 0; }
    .eco-figure { grid-template-columns: 120px 1fr; gap: 18px; }
    .eco-gauge { max-width: 120px; }
    .eco-steps li { font-size: 16.5px; grid-template-columns: 34px 1fr; }
    .extras { grid-template-columns: 1fr; }
    .parts-links { grid-template-columns: 1fr; }
    .parts-card { min-height: 0; padding: 24px; }
    .parts-platform { margin-top: 24px; }
    .contact-people { grid-template-columns: 1fr; }
    .faq summary { font-size: 17px; }
    .faq details p { padding-right: 0; }
    .site-footer { padding-top: 64px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
    .footer-logo { margin-top: 56px; }
    .footer-logo img { width: 170px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: var(--yellow);
        box-shadow: 0 -1px 0 rgba(33, 35, 30, .15);
        transition: transform .25s var(--ease);
    }
    .mobile-bar .btn { width: 100%; min-height: 50px; }
    .mobile-bar > span { display: block; }
    .mobile-bar.is-hidden { transform: translateY(110%); }

    .cookie-banner { bottom: 8px; padding: 16px; }
    .cookie-actions { width: 100%; }
    .cookie-btn { flex: 1 1 auto; }

    .cb { right: 0; bottom: 0; }
    .cb-bubble { display: none; }
    /* Upozornění jako pruh nad spodní lištou, aby se s ní netlouklo */
    .cb-tip {
        position: fixed; left: 12px; right: 12px; width: auto;
        bottom: calc(80px + env(safe-area-inset-bottom));
    }
    .cb-tip::after { display: none; }
    .cb-tip-body { padding: 14px 44px 14px 16px; }
    .cb-panel {
        position: fixed; left: 0; right: 0; bottom: 0; width: auto; z-index: 80;
        max-height: 92vh; overflow-y: auto; border-radius: var(--r-card) var(--r-card) 0 0;
        padding-bottom: calc(22px + env(safe-area-inset-bottom));
    }
}
