/* inter-latin-ext-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/inter-latin-ext-400-normal.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;
}

/* inter-latin-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/inter-latin-400-normal.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;
}

/* inter-latin-ext-500-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/inter-latin-ext-500-normal.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;
}

/* inter-latin-500-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/inter-latin-500-normal.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;
}

/* inter-latin-ext-600-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/inter-latin-ext-600-normal.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;
}

/* inter-latin-600-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/inter-latin-600-normal.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;
}

/* inter-latin-ext-700-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../fonts/inter-latin-ext-700-normal.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;
}

/* inter-latin-700-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../fonts/inter-latin-700-normal.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;
}

/* inter-latin-ext-600-italic */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/inter-latin-ext-600-italic.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;
}

/* inter-latin-600-italic */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/inter-latin-600-italic.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;
}

/* archivo-black-latin-ext-400-normal */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/archivo-black-latin-ext-400-normal.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;
}

/* archivo-black-latin-400-normal */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/archivo-black-latin-400-normal.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;
}

/* ============================================================
   vototo.cz – Vodo Topo Tomeček
   Sdílené styly webu. Barvy:
   modrá #0A3D6B · tmavá #062743 · světle modrá #A9C9E8
   oranžová #FF7A2F · krémová #FFF6EC · text #14212E / #3D4B59
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #062743; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
a { color: #0A3D6B; }
a:hover { color: #062743; }
:focus-visible { outline: 3px solid #FF7A2F; outline-offset: 2px; }
details summary { cursor: pointer; }

.vt-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #FFF6EC; color: #062743; padding: 10px 16px; border-radius: 8px; font: 700 16px Inter, system-ui, sans-serif; }
.vt-skip:focus { left: 8px; }

/* ---------- Pohyb ---------- */
@keyframes vtKen { from { transform: scale(1.04); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
@keyframes vtUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes vtLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes vtFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.vt-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: vtKen 26s ease-in-out infinite alternate; will-change: transform; }
.vt-up { animation: vtUp 1s cubic-bezier(.2, .7, .2, 1) both; }
.vt-d1 { animation-delay: .12s; } .vt-d2 { animation-delay: .28s; } .vt-d3 { animation-delay: .44s; } .vt-d4 { animation-delay: .6s; }
.vt-line { transform-origin: left; animation: vtLine 1.2s .5s cubic-bezier(.2, .7, .2, 1) both; }
.vt-card { transition: transform .25s ease, box-shadow .25s ease; }
.vt-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(6, 39, 67, .14); }
.vt-step { animation: vtFade .45s ease both; }

/* ---------- Fotky na pozadí (na mobilu menší soubory) ---------- */
.bg-uvod { background-image: url(../img/bg-uvod.jpg); background-position: 60% center; }
.bg-voda { background-image: url(../img/bg-voda.jpg); }
.bg-topeni { background-image: url(../img/bg-topeni.jpg); }
.bg-revize { background-image: url(../img/bg-revize.jpg); }
.bg-domy { background-image: url(../img/bg-domy.jpg); }
.bg-objednavka { background-image: url(../img/bg-objednavka.jpg); background-position: center 35%; }
.bg-koupelna { background-image: url(../img/koupelna.jpg); }
.bg-radiator { background-image: url(../img/hero-radiator.jpg); }
.bg-rozvody { background-image: url(../img/rozvody.jpg); }
@media (max-width: 760px) {
  .bg-uvod { background-image: url(../img/bg-uvod-m.jpg); }
  .bg-voda { background-image: url(../img/bg-voda-m.jpg); }
  .bg-topeni { background-image: url(../img/bg-topeni-m.jpg); }
  .bg-revize { background-image: url(../img/bg-revize-m.jpg); }
  .bg-domy { background-image: url(../img/bg-domy-m.jpg); }
  .bg-objednavka { background-image: url(../img/bg-objednavka-m.jpg); }
  .bg-koupelna { background-image: url(../img/koupelna-m.jpg); }
  .bg-radiator { background-image: url(../img/hero-radiator-m.jpg); }
  .bg-rozvody { background-image: url(../img/rozvody-m.jpg); }
}

/* ---------- Animace značky: kapka + plamínek → srdce (smyčka 17,5 s) ---------- */
.vt-anim g, .vt-anim ellipse { transform-box: view-box; }
.vt-beat { transform-origin: 18.9px 13px; animation: vtBeat 17.5s linear infinite; }
.vt-left { transform-origin: 10.5px 14.5px; animation: vtLeft 17.5s infinite; }
.vt-right { transform-origin: 27.3px 14.5px; animation: vtRight 17.5s infinite; }
.vt-wobble { transform-origin: 10.5px 21px; animation: vtWobble 17.5s ease-in-out infinite; }
.vt-ripple { opacity: 0; transform-origin: 10.5px 22.4px; animation: vtRipple 17.5s ease-out infinite; }
.vt-flicker { transform-origin: 27.3px 21px; animation: vtFlicker 17.5s ease-in-out infinite; }
.vt-flame { animation: vtFlame 17.5s ease-in-out infinite; }
.vt-flamedrop { opacity: 0; animation: vtFlameDrop 17.5s ease-in-out infinite; }
@keyframes vtLeft {
  0%, 51.2% { transform: translate(0, 0) rotate(0deg); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  59.77%, 80.09% { transform: translate(1.9px, -3.1px) rotate(146deg); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  88.57%, 100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes vtRight {
  0%, 51.2% { transform: translate(0, 0) rotate(0deg); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  59.77%, 80.09% { transform: translate(-1.9px, -3.1px) rotate(-146deg); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  88.57%, 100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes vtWobble {
  0%, 5.71% { transform: scale(1, 1); } 6.91% { transform: scale(1.07, .92); } 8.11% { transform: scale(.96, 1.05); }
  9.31% { transform: scale(1.02, .98); } 10.51%, 100% { transform: scale(1, 1); }
}
@keyframes vtRipple {
  0%, 6.43% { opacity: 0; transform: scale(.2); } 6.99% { opacity: .55; transform: scale(.35); }
  11.31% { opacity: 0; transform: scale(1); } 11.4%, 100% { opacity: 0; transform: scale(.2); }
}
@keyframes vtFlicker {
  0%, 27.66% { transform: none; } 29% { transform: scale(1, 1.04); } 30.6% { transform: scale(1, .98); }
  32.2% { transform: scale(1, 1.03); } 34.06%, 100% { transform: none; }
}
@keyframes vtFlame { 0%, 52.8% { opacity: 1; } 58.4%, 82.15% { opacity: 0; } 86.95%, 100% { opacity: 1; } }
@keyframes vtFlameDrop { 0%, 52.8% { opacity: 0; } 58.4%, 82.15% { opacity: 1; } 86.95%, 100% { opacity: 0; } }
@keyframes vtBeat {
  0%, 62.57% { transform: scale(1); } 63.45% { transform: scale(1.13); } 65.37%, 68.25% { transform: scale(1); }
  69.13% { transform: scale(1.13); } 71.05%, 73.93% { transform: scale(1); } 74.81% { transform: scale(1.13); }
  76.73%, 100% { transform: scale(1); }
}

/* ---------- Objednávka ---------- */
.of-form { margin: 0; }
.of-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.of-h2 { display: block; padding: 0; margin: 0; font-family: 'Archivo Black', Inter, sans-serif; font-size: 32px; line-height: 1.15; color: #0A3D6B; }
.of-sub { margin: 8px 0 24px 0; color: #3D4B59; }
.of-steps { margin: 0 0 32px 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.of-steps li { display: flex; flex-direction: column; gap: 8px; }
.of-steps .of-bar { display: block; height: 6px; border-radius: 3px; background: #D9DEE4; transition: background .3s; }
.of-steps li.is-done .of-bar, .of-steps li.is-current .of-bar { background: #FF7A2F; }
.of-steps .vt-steplabel { font-size: 14px; font-weight: 500; color: #3D4B59; }
.of-steps li.is-current .vt-steplabel { font-weight: 700; color: #0A3D6B; }

.of-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.of-urg { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.of-tile { position: relative; display: block; cursor: pointer; }
.of-tile input, .of-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.of-tile-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 96px; height: 100%; padding: 18px; border-radius: 10px; border: 2px solid #C9D2DC; background: #FFFFFF; color: #14212E; transition: background .15s, border-color .15s; }
.of-urg .of-tile-body { min-height: 76px; padding: 14px 16px; }
.of-tile-title { font-size: 18px; font-weight: 700; }
.of-urg .of-tile-title { font-size: 17px; }
.of-tile-hint { font-size: 14px; color: #3D4B59; }
.of-tile input:checked + .of-tile-body { background: #0A3D6B; border-color: #0A3D6B; color: #FFFFFF; }
.of-tile input:checked + .of-tile-body .of-tile-hint { color: #A9C9E8; }
.of-tile input:focus-visible + .of-tile-body, .of-pill input:focus-visible + span { outline: 3px solid #FF7A2F; outline-offset: 2px; }

.of-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.of-pill { position: relative; cursor: pointer; }
.of-pill span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; font-size: 16px; font-weight: 600; border-radius: 999px; border: 2px solid #C9D2DC; background: #FFFFFF; color: #14212E; }
.of-pill input:checked + span { background: #0A3D6B; border-color: #0A3D6B; color: #FFFFFF; }

.of-label { display: block; margin-bottom: 6px; font-weight: 700; }
.of-label-lg { display: block; margin: 0 0 8px 0; font-size: 19px; font-weight: 700; color: #0A3D6B; }
.of-input { width: 100%; min-height: 52px; padding: 12px 16px; font-family: inherit; font-size: 17px; line-height: 1.5; color: #14212E; background: #FFFFFF; border: 2px solid #C9D2DC; border-radius: 8px; -webkit-appearance: none; appearance: none; }
textarea.of-input { resize: vertical; min-height: 120px; }
.of-input:focus { outline: 3px solid #FF7A2F; outline-offset: 1px; }
.of-input[aria-invalid="true"] { border-color: #C0392B; }
.of-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.of-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; cursor: pointer; color: #3D4B59; }
.of-check input { width: 24px; height: 24px; margin: 2px 0 0 0; flex: none; accent-color: #0A3D6B; }

.of-photo { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; border: 2px dashed #0A3D6B; border-radius: 10px; background: #F4F8FC; cursor: pointer; }
.of-photo input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.of-photo:focus-within { outline: 3px solid #FF7A2F; outline-offset: 2px; }
.of-thumbs { margin: 14px 0 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.of-thumbs li { position: relative; border-radius: 8px; overflow: hidden; background: #D9DEE4; }
.of-thumbs img { display: block; width: 100%; height: 110px; object-fit: cover; }
.of-thumbs button { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; border-radius: 999px; background: rgba(6, 39, 67, .85); color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.of-busy { margin: 10px 0 0 0; font-size: 15px; color: #3D4B59; }

.of-note { margin: 14px 0 0 0; padding: 14px 16px; border-radius: 8px; background: #FFF6EC; color: #14212E; }
.of-error { margin: 24px 0 0 0; padding: 12px 16px; border-radius: 8px; background: #FDECEA; color: #8A1C12; font-weight: 600; }
.of-sum { margin: 0; display: grid; grid-template-columns: minmax(110px, 180px) minmax(0, 1fr); gap: 12px 20px; }
.of-sum dt { font-weight: 700; color: #3D4B59; }
.of-sum dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }

.of-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #E3E8EE; }
.of-spacer { flex: 1 1 0; }
.of-btn { min-height: 52px; padding: 12px 28px; font-family: inherit; font-size: 17px; font-weight: 700; cursor: pointer; border-radius: 999px; border: 0; background: #FF7A2F; color: #062743; }
.of-btn:disabled { opacity: .7; cursor: progress; }
.of-btn-back, .of-btn-ghost { padding: 12px 24px; border: 2px solid #0A3D6B; background: #FFFFFF; color: #0A3D6B; }
.of-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }
.of-done { text-align: center; padding: 24px 0; }

/* ---------- Mobilní menu a lišta ---------- */
.vt-mnav { display: none; position: static; }
.vt-mnav summary { list-style: none; cursor: pointer; }
.vt-mnav summary::-webkit-details-marker { display: none; }
.vt-mnav[open] .vt-mnav-open { display: none; }
.vt-mnav:not([open]) .vt-mnav-close { display: none; }
.vt-mbar { display: none; transition: transform .3s ease, opacity .3s ease; }
.vt-mbar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
.vt-stepnow { display: none; }

@media (max-width: 760px) {
  .vt-dnav { display: none !important; }
  .vt-mnav { display: block; flex: none; }
  .vt-mbar { display: flex !important; }
  header > div { padding: 12px 16px !important; flex-wrap: nowrap !important; }
  header > div > a { min-width: 0; gap: 8px !important; }
  header > div > a svg { width: 40px; height: 25px; flex: none; }
  header > div > a span { font-size: 18px !important; white-space: nowrap; }
  section > div { padding-left: 20px !important; padding-right: 20px !important; }
  section > div:not([aria-hidden]) { padding-top: 56px !important; padding-bottom: 56px !important; }
  main { padding-left: 12px !important; padding-right: 12px !important; }
  h1 { font-size: clamp(40px, 11vw, 64px) !important; letter-spacing: -1px !important; }
  h2[style*="Archivo"], .of-h2 { font-size: clamp(28px, 8vw, 40px) !important; }
  .vt-formcard { padding: 20px !important; margin-top: -32px !important; }
  .vt-steplabel { display: none !important; }
  .vt-stepnow { display: block; }
  .vt-formnav { position: sticky; bottom: 0; z-index: 5; background: #FFFFFF; margin: 24px -20px -20px -20px !important; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)) !important; border-top: 1px solid #E3E8EE !important; box-shadow: 0 -10px 24px rgba(6, 39, 67, .08); flex-wrap: nowrap !important; }
  .vt-formnav .of-btn { flex: 1 1 0; padding-left: 12px; padding-right: 12px; }
  .vt-formnav .of-spacer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vt-bg, .vt-up, .vt-line, .vt-step, .vt-beat, .vt-left, .vt-right, .vt-wobble, .vt-ripple, .vt-flicker, .vt-flame, .vt-flamedrop { animation: none !important; }
  .vt-card, .vt-mbar { transition: none; }
}
