/* ============================================================
   Dešťovka by Kvalte — čištění nádrží na dešťovou vodu
   Design tokens converted from Claude Design mock (v2)
   ============================================================ */

:root {
  --bg: #f4f8fb;
  --ink: #14314a;
  --ink-soft: #3e5a72;
  --muted: #5b7a93;
  --blue: #1668a8;
  --blue-dark: #0d4f83;
  --navy: #0b2c49;
  --navy-section: #0d3556;
  --navy-panel: #0a2b47;
  --navy-border: #1d4b73;
  --navy-footer: #081f33;
  --border: #dbe7f0;
  --border-soft: #eaf1f7;
  --blue-pale: #e3f0f9;
  --blue-outline: #bcd4e6;
  --sky-100: #cfe2f0;
  --sky-200: #9ec5e0;
  --sky-300: #7fb8de;
  --sky-400: #b9d3e6;
  --sky-muted: #7fa5c2;
  --amber: #ffd88a;
  --star: #ffb340;
  --pad-x: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: 'Quicksand', sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

input::placeholder, textarea::placeholder { color: #8fb3cd; }

h1, h2 { letter-spacing: -0.015em; }

h2 {
  font-size: 38px;
  font-weight: 700;
  margin: 18px 0 14px;
  line-height: 1.22;
}

.section-lead {
  max-width: 700px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 52px;
  text-wrap: pretty;
}

.container { max-width: 1240px; margin: 0 auto; padding: 100px var(--pad-x); }
.container-inner { max-width: 1240px; margin: 0 auto; }

/* Section kicker (label + rule) */
.kicker { display: flex; align-items: center; gap: 16px; }
.kicker-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.kicker-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-outline), transparent);
}
.kicker-dark .kicker-label { color: var(--sky-300); }
.kicker-dark .kicker-rule { background: linear-gradient(90deg, #2a5d8a, transparent); }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  border-radius: 999px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 104, 168, 0.3);
}
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline {
  border: 2px solid var(--blue-outline);
  color: var(--ink);
  background: #fff;
}
.btn-outline:hover { border-color: var(--blue); color: var(--ink); }
.btn-nav { padding: 11px 24px; font-size: 14.5px; }
.btn-lg {
  padding: 15px 32px;
  font-size: 15.5px;
  box-shadow: 0 10px 26px rgba(22, 104, 168, 0.32);
}
.btn-outline.btn-lg { box-shadow: none; }

/* Image placeholder slots — replace inner comment with an <img> */
.media-slot {
  margin: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #dcebf5, #c3dcee);
  background-image: radial-gradient(#aecde3 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.media-slot::after {
  content: attr(data-label);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px dashed var(--sky-200);
  max-width: 80%;
  text-align: center;
}
.media-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-slot:has(img)::after { display: none; }

/* ============ TOP BAR ============ */
.topbar {
  background: var(--navy);
  color: var(--sky-200);
  font-size: 13px;
  font-weight: 600;
  padding: 9px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; }
.topbar-contacts, .topbar-meta { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.topbar-meta { gap: 24px; }
.topbar-badge {
  background: var(--blue);
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
}

/* ============ NAV ============ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--pad-x);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(160deg, #2b8fd6, var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}
.brand-name { font-weight: 700; font-size: 17.5px; letter-spacing: 0.02em; }
.brand-by { font-weight: 600; color: var(--muted); }
.brand-tagline { font-size: 11.5px; color: var(--muted); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 14.5px;
}
.nav-links > a { color: var(--blue); }
.nav-links > a:hover { color: var(--blue-dark); }
.nav-links > a.btn-primary { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--sky-100) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  opacity: 0.55;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 84px var(--pad-x) 96px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero h1 {
  font-size: 50px;
  line-height: 1.14;
  font-weight: 700;
  margin: 24px 0 20px;
}
.hero-underline {
  color: var(--blue);
  position: relative;
  padding-bottom: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='9' viewBox='0 0 26 9'%3E%3Cpath d='M0 5 Q6.5 0.5 13 5 T26 5' fill='none' stroke='%237fb8de' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 26px 9px;
}
.hero-underline::after {
  /* kapka, která čas od času ukápne z vlnky */
  content: '';
  position: absolute;
  left: 62%;
  bottom: -6px;
  width: 8px;
  height: 11px;
  background: radial-gradient(circle at 35% 28%, #cfe6f7, #4a97cf 55%, #1668a8);
  border-radius: 50% 50% 50% 50% / 38% 38% 62% 62%;
  pointer-events: none;
  animation: hero-drip 3.6s ease-in infinite;
}
@keyframes hero-drip {
  0%, 52% { transform: translateY(0) scale(0); opacity: 0; }
  68% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(34px) scale(1, 1.15); opacity: 0; }
}
.hero-lead {
  font-size: 17.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 540px;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.hero-stat { flex: 1; padding: 20px 24px; border-right: 1px solid var(--border); }
.hero-stat:last-child { border-right: none; }
.hero-stat-num { font-size: 27px; font-weight: 700; color: var(--blue); }
.hero-stat-label { font-size: 12.5px; color: var(--muted); font-weight: 600; }

.hero-media { min-width: 0; position: relative; }
.hero-photo {
  position: relative;
  height: 480px;
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 53, 86, 0.18);
}
.hero-card {
  position: absolute;
  left: -28px;
  bottom: 34px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 22px;
  box-shadow: 0 14px 36px rgba(13, 53, 86, 0.16);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
}
.hero-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.hero-card-title { font-weight: 700; font-size: 14.5px; }
.hero-card-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.hero-deco {
  position: absolute;
  right: -18px;
  top: -18px;
  width: 120px;
  height: 120px;
  border-radius: 30px;
  background-image: radial-gradient(var(--blue) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.28;
  pointer-events: none;
}

/* ============ TRUST STRIP ============ */
/* Svislý přechod navazuje na tmavou sekci Problematika — mezi pruhy pak není šev. */
.trust {
  position: relative;
  background: linear-gradient(180deg, var(--navy), var(--navy-section));
  padding: 26px var(--pad-x);
}
/* pruh ukončí vlasová linka, ne tvrdá hrana — sekce pod ním navazuje stejnou barvou */
.trust::after {
  content: '';
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
}
/* Odškrtaný seznam, ne mřížka karet — fajfka, věta, zvýrazněný fakt. */
.trust-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 28px;
  row-gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--sky-100);
}
.trust-inner > span { display: inline-flex; align-items: center; }
.trust-inner b { color: #fff; font-weight: 700; margin-left: 0.3em; }
.tick {
  width: 15px;
  height: 15px;
  margin-right: 10px;
  flex-shrink: 0;
  color: var(--sky-300);
}

/* ============ PROBLEMATIKA ============ */
.problem {
  position: relative;
  background: var(--navy-section);
  color: #eaf3fa;
  padding: 100px var(--pad-x);
  overflow: hidden;
}
.problem-inner { position: relative; max-width: 1240px; margin: 0 auto; }
.problem h2 { max-width: 680px; }
.problem .section-lead { color: var(--sky-400); margin-bottom: 60px; }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.tank-panel {
  min-width: 0;
  background: var(--navy-panel);
  border: 1px solid var(--navy-border);
  border-radius: 22px;
  padding: 30px;
}
.tank-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.tank-panel-title { font-size: 13px; font-weight: 700; color: var(--sky-300); letter-spacing: 0.08em; }
.tank-panel-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #5f88a8;
  border: 1px solid var(--navy-border);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.tank-diagram { border-radius: 14px; overflow: hidden; border: 1px solid var(--navy-border); }
.tank-zone {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.tank-zone-surface { background: linear-gradient(180deg, #12405f, #155078); }
.tank-zone-usable { background: linear-gradient(180deg, #155078, var(--blue)); padding-top: 30px; padding-bottom: 30px; }
.tank-zone-sediment { background: linear-gradient(180deg, #5c5137, #3f3826); }
.tank-zone-name { font-weight: 700; font-size: 15px; }
.tank-zone-desc { font-size: 13px; color: #9cc3de; }
.tank-zone-desc-light { color: #cde4f4; }
.tank-zone-desc-sand { color: #d8cfae; }
.tank-zone-val { font-size: 12px; font-weight: 700; white-space: nowrap; }
.tank-zone-val-amber { color: var(--amber); }
.tank-zone-val-blue { color: #bfe3ff; }
.tank-zone-val-orange { color: #ffb27a; }
.tank-chips { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.tank-chip {
  font-size: 12px;
  font-weight: 700;
  color: #9cc3de;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 999px;
}
.tank-note { font-size: 12.5px; color: var(--sky-muted); margin-top: 14px; line-height: 1.5; }

.process-list { min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.process-item {
  display: flex;
  gap: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
  border-radius: 18px;
  padding: 24px;
}
.process-num {
  min-width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #155078;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--sky-300);
  font-size: 15px;
}
.process-title { font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.process-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--sky-400);
  text-wrap: pretty;
}

/* ============ PARAMETRY ============ */
.params-table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(13, 53, 86, 0.07);
}
.params-table { width: 100%; border-collapse: collapse; }
.params-table th {
  background: var(--navy-section);
  color: var(--sky-200);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 16px 30px;
}
.params-table td {
  padding: 20px 30px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
  vertical-align: middle;
}
.params-table tbody tr:last-child td { border-bottom: none; }
.params-table tbody tr:nth-child(even) { background: #f9fcfe; }
.param-name { font-weight: 700; }
.param-limit { color: var(--blue); font-weight: 700; }
.param-method { color: var(--muted); font-weight: 600; }
.param-signal { color: var(--ink-soft); }

.info-box {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--blue-pale);
  border-radius: 16px;
  padding: 18px 26px;
  max-width: 860px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}
.info-box-icon { font-size: 18px; }

/* ============ RIZIKA ============ */
.risks {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px var(--pad-x);
}
.risks .section-lead { max-width: 680px; }
.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.risk-card {
  background: linear-gradient(180deg, #eaf2f8, rgba(244, 248, 251, 0));
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.18s ease;
}
.risk-card:hover {
  box-shadow: 0 14px 36px rgba(13, 53, 86, 0.1);
}
.risk-letter {
  position: absolute;
  right: 14px;
  top: 8px;
  font-size: 64px;
  font-weight: 700;
  color: var(--blue-pale);
  line-height: 1;
}
.risk-title {
  position: relative;
  font-weight: 700;
  font-size: 17.5px;
  margin-bottom: 10px;
  color: var(--blue-dark);
}
.risk-card p {
  position: relative;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.signals {
  margin-top: 32px;
  background: linear-gradient(90deg, var(--navy-section), #2a5680);
  color: #eaf3fa;
  border-radius: 20px;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.signals-label { font-weight: 700; font-size: 15.5px; min-width: 230px; }
.signals-label span { color: var(--sky-300); font-size: 13.5px; font-weight: 600; }
.signals-chips { display: flex; gap: 12px; flex-wrap: wrap; flex: 1; }
.signal-chip {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
}

/* ============ POSTUP (timeline) ============ */
.steps .section-lead { margin-bottom: 60px; }
.timeline { display: flex; flex-direction: column; }
.timeline-row { display: grid; grid-template-columns: 90px 1fr; gap: 28px; }
.timeline-marker { display: flex; flex-direction: column; align-items: center; }
.timeline-num {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 8px 20px rgba(22, 104, 168, 0.3);
  flex-shrink: 0;
}
.timeline-num-final { background: var(--navy); box-shadow: none; }
.timeline-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--blue-outline));
  margin: 8px 0;
}
.timeline-body { padding-bottom: 40px; }
.timeline-body-last { padding-bottom: 0; }
.step-card {
  background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0));
  border-radius: 20px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.step-card-dark {
  background: linear-gradient(90deg, var(--navy-section), #2a5680);
  color: #eaf3fa;
  border: none;
}
.step-title { font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.step-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.step-card-dark p { color: var(--sky-400); }
.step-time {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.step-time-final { color: var(--amber); background: rgba(255, 255, 255, 0.1); }

/* ============ REFERENCE ============ */
.refs {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px var(--pad-x);
}
.refs-heading { margin-bottom: 52px; }

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: linear-gradient(180deg, #eaf2f8, rgba(244, 248, 251, 0));
  border-radius: 18px;
  padding: 26px;
}
.stars { color: var(--star); font-size: 15px; letter-spacing: 2px; }
.testimonial p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 12px 0 14px;
  text-wrap: pretty;
}
.testimonial-author { font-weight: 700; font-size: 13.5px; }

/* ============ NORMY ============ */
.norms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.norms-copy { min-width: 0; }
.norms-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
  margin: 0 0 20px;
}
.norms-copy p:last-of-type { margin-bottom: 28px; }
.tip-box {
  background: var(--blue-pale);
  border-radius: 16px;
  padding: 20px 26px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}
.tip-box-strong { font-weight: 700; color: var(--blue-dark); }

.plan-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(13, 53, 86, 0.07);
}
.plan-head {
  background: var(--navy-section);
  color: #fff;
  padding: 18px 28px;
  font-weight: 700;
  font-size: 15px;
}
.plan-row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 19px 28px;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
  gap: 16px;
}
.plan-row:last-child { border-bottom: none; }
.plan-title { font-weight: 700; font-size: 15px; }
.plan-sub { font-size: 13px; color: var(--muted); }
.plan-freq {
  font-weight: 700;
  color: var(--blue);
  font-size: 14px;
  background: var(--blue-pale);
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ============ FAQ ============ */
.faq {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 100px var(--pad-x);
}
.faq-inner { max-width: 900px; margin: 0 auto; }
.faq-heading { margin-bottom: 44px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f9fcfe;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 15.5px;
  color: inherit;
  text-align: left;
}
.faq-chev {
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner {
  overflow: hidden;
  padding: 0 26px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 760px;
  text-wrap: pretty;
}
.faq-item.is-open .faq-answer-inner { padding-bottom: 22px; }

/* ============ KONTAKT ============ */
.contact {
  position: relative;
  background: linear-gradient(160deg, var(--blue-dark), var(--navy));
  color: #fff;
  padding: 96px var(--pad-x);
  overflow: hidden;
}
.contact-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.contact-deco-left {
  left: -60px;
  bottom: -60px;
  width: 300px;
  height: 300px;
  border: 60px solid rgba(255, 255, 255, 0.04);
}
.contact-deco-right {
  right: 100px;
  top: -80px;
  width: 220px;
  height: 220px;
  border: 40px solid rgba(255, 255, 255, 0.05);
}
.contact-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
}
.contact-copy { min-width: 0; }
.contact-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--sky-300);
  margin-bottom: 16px;
}
.contact h2 { margin: 0 0 16px; }
.contact-copy > p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--sky-400);
  margin: 0 0 32px;
  text-wrap: pretty;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-weight: 600;
  font-size: 15.5px;
}
.contact-channel { display: flex; align-items: center; gap: 14px; }
.contact-channel a { color: #fff; }
.contact-channel-icon {
  min-width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-form {
  min-width: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lead-form-title { font-weight: 700; font-size: 18px; }
.lead-form input,
.lead-form textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-size: 14.5px;
  outline: none;
}
.lead-form input:focus,
.lead-form textarea:focus { border-color: rgba(255, 255, 255, 0.45); }
.lead-form textarea { resize: vertical; }
.lead-submit {
  background: #fff;
  color: var(--blue-dark);
  border: none;
  border-radius: 999px;
  padding: 15px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  transition: background 0.18s ease;
}
.lead-submit:hover { background: var(--blue-pale); }
.lead-submit:disabled { cursor: default; opacity: 0.92; }
.lead-consent { font-size: 12px; color: var(--sky-muted); text-align: center; }

/* ============ FOOTER ============ */
.footer { background: var(--navy-footer); color: var(--sky-muted); padding: 36px var(--pad-x); }
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(160deg, #2b8fd6, var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.footer-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer-links a { color: var(--sky-200); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  :root { --pad-x: 36px; }
  .hero h1 { font-size: 42px; }
  .hero-inner { gap: 48px; }
  .problem-grid { gap: 40px; }
  .norms { gap: 40px; }
}

@media (max-width: 940px) {
  h2 { font-size: 31px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 72px; }
  .hero-photo { height: 380px; }
  .hero-card { left: 14px; }
  .hero-deco { right: 6px; }
  .problem-grid { grid-template-columns: 1fr; }
  .trust-inner { justify-content: flex-start; column-gap: 34px; font-size: 13.5px; }
  .risk-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .norms { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .timeline-row { grid-template-columns: 64px 1fr; gap: 18px; }
  .timeline-num { width: 46px; height: 46px; border-radius: 14px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav { flex-wrap: wrap; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
    padding-top: 14px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links > a { padding: 12px 8px; border-radius: 10px; }
  .nav-links > a:hover { background: var(--bg); }
  .nav-links > a.btn-primary { text-align: center; margin-top: 8px; }

  /* Params table -> stacked cards */
  .params-table thead { display: none; }
  .params-table, .params-table tbody, .params-table tr, .params-table td { display: block; width: 100%; }
  .params-table tr { border-bottom: 1px solid var(--border-soft); padding: 10px 0; }
  .params-table tbody tr:last-child { border-bottom: none; }
  .params-table td { padding: 6px 24px; border-bottom: none; }
  .params-table td::before {
    content: attr(data-th);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sky-200);
    margin-bottom: 2px;
  }
  .params-table td.param-name::before { display: none; }
  .params-table td.param-name { font-size: 16px; padding-top: 12px; }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; }
  .topbar { justify-content: center; text-align: center; }
  .topbar-meta { display: none; }
  .hero h1 { font-size: 33px; }
  .hero-stats { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stat:last-child { border-bottom: none; }
  .hero-photo { height: 300px; }
  .hero-card { position: static; margin-top: 16px; }
  .trust-inner { flex-direction: column; align-items: flex-start; row-gap: 10px; }
  .step-card { grid-template-columns: 1fr; gap: 14px; }
  .step-time { justify-self: start; }
  .signals { padding: 24px; }
  .lead-form { padding: 24px; }
  .brand-tagline { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   MIKRO-ANIMACE (vodní motiv)
   ============================================================ */

/* --- FAQ: kapka, splash a roztažení karty --- */
.faq-item { position: relative; }
.faq-drop {
  position: absolute;
  top: 0;
  width: 11px;
  height: 15px;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle at 35% 28%, #cfe6f7, #4a97cf 55%, #1668a8);
  border-radius: 50% 50% 50% 50% / 38% 38% 62% 62%;
  will-change: transform;
}
.faq-splash {
  position: absolute;
  bottom: -1px;
  width: 28px;
  height: 10px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(22, 104, 168, 0.55), rgba(22, 104, 168, 0) 70%);
  animation: faq-splat 0.45s ease-out forwards;
}
@keyframes faq-splat {
  0% { transform: translateX(-50%) scale(0.4, 0.9); opacity: 1; }
  100% { transform: translateX(-50%) scale(2.6, 0.25); opacity: 0; }
}
.faq-splash::before,
.faq-splash::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5ea3d8;
  opacity: 0.9;
}
.faq-splash::before { left: -2px; animation: faq-droplet-l 0.4s ease-out forwards; }
.faq-splash::after { right: -2px; animation: faq-droplet-r 0.4s ease-out forwards; }
@keyframes faq-droplet-l { to { transform: translate(-16px, -3px) scale(0.4); opacity: 0; } }
@keyframes faq-droplet-r { to { transform: translate(16px, -3px) scale(0.4); opacity: 0; } }
.faq-splash-wave {
  position: absolute;
  bottom: 0;
  height: 3px;
  width: 180px;
  pointer-events: none;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(22, 104, 168, 0.5), transparent);
  animation: faq-wave 0.55s ease-out forwards;
}
@keyframes faq-wave {
  0% { transform: translateX(-50%) scaleX(0.15); opacity: 1; }
  100% { transform: translateX(-50%) scaleX(1.6); opacity: 0; }
}
.faq-list .faq-item.is-stretching {
  /* !important: přebije reveal animaci fade-up i inline animation-delay ze scroll-revealu */
  animation: faq-stretch 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0s !important;
  transform-origin: top center;
}
@keyframes faq-stretch {
  0% { transform: scaleY(0.99); }
  55% { transform: scaleY(1.012); }
  100% { transform: scaleY(1); }
}
.faq-chev { transition: transform 0.25s ease, background 0.2s ease; }
.faq-question:hover .faq-chev { background: #d3e7f5; transform: translateY(2px); }

/* --- Ripple na tlačítkách --- */
.has-ripple { position: relative; overflow: hidden; }
.ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 65%);
  transform: scale(0);
  animation: ripple 0.6s ease-out forwards;
}
.btn-outline .ripple,
.lead-submit .ripple {
  background: radial-gradient(circle, rgba(22, 104, 168, 0.28) 0%, rgba(22, 104, 168, 0) 65%);
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* --- Scroll-reveal (pohyb řeší jednorázově JS přes WAAPI, třída drží jen viditelnost) --- */
.will-reveal { opacity: 0; }
.will-reveal.revealed { opacity: 1; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* --- Hero: nástup při načtení + plovoucí badge --- */
.hero h1 { animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s backwards; }
.hero-lead { animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards; }
.hero-actions { animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s backwards; }
.hero-stats { animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s backwards; }
.hero-media { animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards; }
.hero-card {
  animation:
    fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s backwards,
    hero-bob 4.5s ease-in-out 1.4s infinite;
}
@keyframes hero-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* --- Časová osa: linka se „napouští" vodou, čísla vyskočí --- */
.timeline-line {
  background: #dbe7f0;
  background-image: linear-gradient(180deg, #1668a8, #7fb8de);
  background-repeat: no-repeat;
  background-size: 100% 0%;
  transition: background-size 0.9s ease 0.2s;
}
.timeline-row.revealed .timeline-line { background-size: 100% 100%; }
.timeline-row.will-reveal .timeline-num { opacity: 0; transform: scale(0.5); }
.timeline-row.revealed .timeline-num {
  opacity: 1;
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s, opacity 0.3s ease 0.15s;
}

/* --- Diagram nádrže: třpyt hladiny a stoupající bublinky --- */
.tank-zone { position: relative; }
.tank-zone-usable { overflow: hidden; }
.tank-zone-surface { overflow: hidden; }
.tank-zone-surface::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.09) 45%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.09) 55%, transparent 70%);
  background-size: 220% 100%;
  animation: shimmer 5.5s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 120% 0; }
  60%, 100% { background-position: -120% 0; }
}
.bubble {
  position: absolute;
  bottom: -8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.6);
  pointer-events: none;
  animation: bubble-rise linear infinite;
}
@keyframes bubble-rise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 0.8; }
  100% { transform: translateY(-96px); opacity: 0; }
}

/* --- Jemné nadzvednutí karet při hoveru --- */
.risk-card { transition: transform 0.22s ease, box-shadow 0.22s ease; }
.risk-card:hover { transform: translateY(-4px); }
.testimonial { transition: transform 0.22s ease, box-shadow 0.22s ease; }
.testimonial:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(13, 53, 86, 0.09); }
.process-item { transition: transform 0.22s ease; }
.process-item:hover { transform: translateY(-3px); }
.step-card { transition: transform 0.22s ease, box-shadow 0.22s ease; }
.step-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(13, 53, 86, 0.08); }
.signal-chip { transition: transform 0.18s ease, background 0.18s ease; }
.signal-chip:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.16); }

/* --- Drobnosti --- */
.brand-mark { transition: transform 0.25s ease; }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.lead-submit.splashed { animation: submit-pulse 0.5s ease; }
@keyframes submit-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(0.97); }
  70% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* --- Respektování omezení pohybu --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .will-reveal { opacity: 1; }
  .timeline-row.will-reveal .timeline-num { opacity: 1; transform: none; }
  .timeline-line { background-size: 100% 100%; }
  .hero-underline::after { display: none; }
}
