/* =========================================================
   vypucujem.cz — homepage v1
   Brand: petrol #0E5C6B (70%), lime #C7F23C (CTA 20%)
   Mobile-first, breakpoint hamburger 1024px
   ========================================================= */

/* ---------- Self-hosted Manrope (CLS prevention) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-variable.woff2') format('woff2-variations'),
       url('../fonts/manrope-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-variable-ext.woff2') format('woff2-variations'),
       url('../fonts/manrope-variable-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Fallback metric override — elimines CLS při swap z system fontu na Manrope.
   Hodnoty kalibrované pro Arial fallback aby měl podobnou x-height jako Manrope. */
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial');
  size-adjust: 100.06%;
  ascent-override: 100%;
  descent-override: 30%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --bg:            #FFFFFF;
  --bg-soft:       #FAF8F4;
  --bg-warm:       #F2EFE8;
  --bg-deep:       #0E5C6B;
  --bg-deep-dark:  #0A4856;
  --line:          #E8E4DA;
  --line-soft:     #F0ECE0;
  --text:          #0E0E0E;
  --text-muted:    #6B6B6B;
  --text-soft:     #8A8A8A;
  --text-on-deep:  #FFFFFF;
  --accent:        #C7F23C;
  --accent-dark:   #B5E142;
  --accent-text:   #0E5C6B;
  --danger:        #D64545;
  --success:       #2E9E5C;

  /* Brand alias tokens (sdilene s vypucujto.cz) */
  --petrol:        #0E5C6B;
  --lime:          #C7F23C;
  --ink:           #0E0E0E;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(20,20,20,0.04), 0 1px 1px rgba(20,20,20,0.02);
  --shadow:    0 4px 16px rgba(20,20,20,0.06), 0 2px 4px rgba(20,20,20,0.03);
  --shadow-lg: 0 24px 48px rgba(20,20,20,0.10), 0 8px 16px rgba(20,20,20,0.05);

  --container: 1180px;
  --gutter:    24px;
  --transition: 180ms cubic-bezier(.2,.7,.3,1);

  --font: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }

/* ---------- Layout primitives ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--bg-deep);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--bg-deep);
}
.eyebrow.on-deep { color: var(--accent); }
.eyebrow.on-deep::before { background: var(--accent); }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-title.on-deep { color: #fff; }
.section-lead {
  font-size: 18px; color: var(--text-muted); max-width: 640px;
  margin-top: 14px;
}
.section-lead.on-deep { color: rgba(255,255,255,0.82); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px; font-weight: 700;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-dark); }

/* Vizualne blede tlacitko — formular jeste neni kompletni */
.btn.is-incomplete,
.btn.is-incomplete:hover {
  opacity: 0.45;
  filter: saturate(0.6);
  cursor: not-allowed;
}
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-on-deep {
  background: transparent; border-color: rgba(255,255,255,0.4); color: #fff;
}
.btn-on-deep:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  height: 72px;
  display: flex; align-items: center;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; width: 100%;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
  color: var(--bg-deep);
  text-decoration: none;
}
.brand-logo { display: block; width: 36px; height: 36px; flex: 0 0 auto; }
.brand-logo-footer { width: 48px; height: 48px; }
.brand-wordmark { display: inline-flex; align-items: baseline; }
.brand .dot { color: var(--accent-dark); }
.brand .domain { color: var(--text); font-weight: 700; }
@media (max-width: 600px) {
  .brand-logo { width: 32px; height: 32px; }
  .brand { gap: 10px; font-size: 18px; }
}

.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a:focus-visible { background: var(--bg-soft); }
.nav-cta { margin-left: 8px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  align-items: center; justify-content: center;
  cursor: pointer; color: var(--text);
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #FFFFFF 100%);
  padding: 80px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
}
.hero-title .accent { color: var(--bg-deep); }
.hero-lead {
  margin-top: 22px;
  font-size: 19px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.55;
}
.hero-meta {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-muted);
}
.hero-meta .pin {
  display: inline-flex; width: 18px; height: 18px; color: var(--bg-deep);
}
.hero-ctas {
  margin-top: 32px;
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* Hero visual — deprecated, nahrazeno hero-form. Skryto. */
.hero-visual { position: relative; aspect-ratio: 12 / 13; max-width: 480px; margin-left: auto; width: 100%; }
.hero-visual .hero-panel { display: block; width: 100%; height: 100%; border-radius: 32px; box-shadow: 0 30px 60px -30px rgba(14, 92, 107, 0.45); }
.hero-visual-hidden { display: none; }

/* Hero form — konverzní sloupec hero */
.hero-form-wrap { width: 100%; max-width: 480px; margin-left: auto; }
.hero-form {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 60px -30px rgba(14, 92, 107, 0.35);
}
.hero-form-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bg-deep);
  margin: 0 0 18px;
  line-height: 1.2;
}
.hero-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-bottom: 16px;
}
.hero-form .field { display: flex; flex-direction: column; gap: 6px; }
.hero-form .field label { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.01em; }
.hero-form .field input,
.hero-form .field select {
  font: inherit;
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--text);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.hero-form .field input:focus,
.hero-form .field select:focus {
  outline: none;
  border-color: var(--bg-deep);
  box-shadow: 0 0 0 3px rgba(14, 92, 107, 0.12);
}
.hero-form-note {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--bg-deep);
  text-align: center;
}
.btn-block { display: block; width: 100%; text-align: center; }

/* ===== Hero form card (Brief v6) =====
   Desktop ≥ 768px: kartá vždy otevřená, toggle skrytý.
   Mobile < 768px: kartá collapsed pod toggle tlačítkem.
*/
.hero-form-card {
  width: 100%; max-width: 480px; margin-left: auto;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 60px -30px rgba(14, 92, 107, 0.35);
}
.hero-form-toggle { display: none; }
.hero-form-body { display: block; }

.hero-form-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--bg-deep); margin: 0 0 8px; line-height: 1.2; }
.hero-form-lead { font-size: 14px; color: var(--text-muted); margin: 0 0 18px; line-height: 1.5; }

.hero-form-card .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.hero-form-card .field label { font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.01em; }
.hero-form-card .field input,
.hero-form-card .field textarea {
  font: inherit; font-size: 15px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #FFFFFF; color: var(--text);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.hero-form-card .field textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.hero-form-card .field input:focus,
.hero-form-card .field textarea:focus {
  outline: none; border-color: var(--bg-deep);
  box-shadow: 0 0 0 3px rgba(14, 92, 107, 0.15);
}
.hero-form-card .hero-gdpr { margin: 6px 0 16px; padding: 0; font-size: 13px; line-height: 1.5; }
.hero-form-card .hero-gdpr a { color: var(--bg-deep); text-decoration: underline; text-underline-offset: 2px; }
.hero-form-alt { margin: 12px 0 0; font-size: 13px; color: var(--text-muted); text-align: center; }
.hero-form-alt a { color: var(--bg-deep); font-weight: 700; text-decoration: none; }
.hero-form-alt a:hover { text-decoration: underline; }
.form-status { margin-top: 12px; font-size: 14px; min-height: 1.2em; }
.form-status.is-ok { color: #2b4a06; background: #eef9d9; padding: 10px 12px; border-radius: 8px; }
.form-status.is-err { color: #7a1d1d; background: #fde4e4; padding: 10px 12px; border-radius: 8px; }
.hp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Mobile: collapse form pod toggle tlačítko */
@media (max-width: 767px) {
  .hero-form-card { padding: 0; border-radius: 16px; overflow: hidden; }
  .hero-form-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 18px 22px;
    background: var(--bg-deep); color: #FFFFFF;
    border: 0; cursor: pointer;
    font: inherit; font-size: 16px; font-weight: 700; text-align: left;
  }
  .hero-form-toggle-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--accent); color: var(--bg-deep);
    font-size: 22px; font-weight: 700; line-height: 1;
    transition: transform 200ms ease;
  }
  .hero-form-toggle[aria-expanded="true"] .hero-form-toggle-icon { transform: rotate(45deg); }
  .hero-form-body { display: none; padding: 22px; }
  .hero-form-card.is-open .hero-form-body { display: block; }
}

/* Number bar — stats pod hero */
.stats {
  background: var(--bg-deep);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  text-align: center;
}
.stat-value {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  margin-top: 6px;
  font-size: 13px;
  color: #FFFFFF;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

/* Machines — S čím pracujeme */
.machines { background: var(--bg); }
.machines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.machine-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px -24px rgba(14, 14, 14, 0.18);
}
.machine-photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #FAF8F4 0%, #EFEAD8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.machine-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}
.machine-body { padding: 20px 22px 24px; }
.machine-body h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--text);
}
.machine-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--bg-deep);
  margin-bottom: 10px;
}
.machine-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
.machines-footer {
  margin: 32px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- USP strip ---------- */
.usp {
  background: var(--bg);
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.usp-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.usp-card .ico {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-deep);
}
.usp-card h3 { font-size: 17px; margin-bottom: 6px; }
.usp-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.5; }

/* ---------- Services grid ---------- */
.services { background: var(--bg-soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.service-card {
  display: flex; flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none; color: inherit;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #DCD8CD;
}
.service-card.is-b2b {
  background: var(--bg-deep);
  color: #fff;
  border-color: transparent;
}
.service-card.is-b2b:hover { background: var(--bg-deep-dark); }
.service-card .ico {
  width: 48px; height: 48px;
  background: var(--bg-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-deep);
  margin-bottom: 18px;
}
.service-card.is-b2b .ico { background: rgba(255,255,255,0.12); color: var(--accent); }
.service-card h3 { font-size: 17px; margin-bottom: 8px; }
.service-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.5; flex: 1; }
.service-card.is-b2b p { color: rgba(255,255,255,0.78); }
.service-card .arrow {
  margin-top: 18px;
  font-weight: 700; font-size: 14px;
  color: var(--bg-deep);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card.is-b2b .arrow { color: var(--accent); }

.services-cta { margin-top: 36px; text-align: center; }

/* ---------- B2B (Pro firmy) ---------- */
.b2b {
  background: var(--bg-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.b2b::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(199,242,60,0.08), transparent 50%);
  pointer-events: none;
}
.b2b > .container { position: relative; }
.b2b-head { max-width: 720px; }
.b2b-segments {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.segment {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex; flex-direction: column; gap: 16px;
  text-align: left;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.segment:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(199,242,60,0.45);
  transform: translateY(-2px);
}
.segment .ico {
  width: 56px; height: 56px;
  background: rgba(199,242,60,0.22);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.segment .ico svg { width: 32px; height: 32px; }
.segment .label { font-size: 16px; font-weight: 700; color: #fff; }

.b2b-discount-table { margin-top: 40px; max-width: 720px; }
.b2b-discount-title {
  font-size: 22px; margin: 0 0 8px; color: #fff; font-weight: 700;
}
.b2b-discount-lead { font-size: 16px; margin: 0 0 20px; color: rgba(255,255,255,0.85); }
.b2b-discounts {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.b2b-discounts li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(199, 242, 60, 0.25);
  border-radius: 10px;
  color: #fff; font-size: 16px; line-height: 1.4;
}
.b2b-d-range { color: #fff; font-weight: 500; }
.b2b-d-pct {
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.b2b-discounts li:last-child {
  background: rgba(199, 242, 60, 0.12);
  border-color: rgba(199, 242, 60, 0.5);
}
.b2b-d-top { font-weight: 700; }

.b2b-cta { margin-top: 32px; }

/* ---------- Oblast (areas) ---------- */
.oblast { background: var(--bg-soft); }
.oblast-layout {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.map-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.map-wrap svg { width: 100%; height: auto; }
.map-legend {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13px; color: var(--text-muted);
}
.map-legend .swatch {
  display: inline-flex; align-items: center; gap: 6px;
}
.map-legend .swatch::before {
  content: ""; width: 12px; height: 12px; border-radius: 3px;
  display: inline-block;
}
.map-legend .core::before     { background: var(--bg-deep); }
.map-legend .extended::before { background: #5A8E97; }
.map-legend .on_demand::before{ background: #B7C9CC; }

.zones-list { display: flex; flex-direction: column; gap: 14px; }
.zone {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.zone-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.zone-head .swatch {
  width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0;
}
.zone.core .zone-head .swatch     { background: var(--bg-deep); }
.zone.extended .zone-head .swatch { background: #5A8E97; }
.zone.on_demand .zone-head .swatch{ background: #B7C9CC; }
.zone h3 { font-size: 16px; }
.zone .note {
  display: inline-block; margin-left: auto;
  font-size: 13px; font-weight: 600;
  color: var(--bg-deep);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 4px 10px;
}
.zone p.cities {
  margin: 0;
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
}

/* Phone link v podnadpisu (form, hero) */
.phone-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid rgba(199,242,60,0.4);
  transition: border-color var(--transition);
}
.phone-link:hover { border-bottom-color: var(--accent); }

/* ---------- Cross-sell ---------- */
.cross {
  background: var(--bg);
}
.cross-card {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.cross-card h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; }
.cross-card p { margin: 0 0 22px; color: var(--text-muted); font-size: 17px; }
.cross-art {
  background: var(--bg-deep);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.cross-art svg { width: 50%; height: 50%; }
.sister-image { width: 80%; max-width: 360px; }
.sister-image img { display: block; width: 100%; height: auto; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list {
  margin-top: 32px;
  max-width: 800px;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; width: 18px; height: 18px; flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E5C6B' stroke-width='2.5' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: center;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .answer {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 15px; line-height: 1.6;
}
.faq-item .todo {
  display: inline-block;
  background: var(--bg-warm);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Form ---------- */
.poptavka {
  background: var(--bg-deep);
  color: #fff;
}
.form-wrap {
  margin-top: 40px;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 760px;
  box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.span-2 { grid-column: span 2; }
.field label {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color var(--transition), background var(--transition);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C9C3B0; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--bg-deep);
  background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: 8px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--text-muted); }
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(20px);
  background: var(--text); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 200;
  max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast.error { background: var(--danger); }
.toast.success { background: var(--success); }

/* ---------- Footer ---------- */
.footer {
  background: #0A0F11;
  color: #C8C6C2;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer .brand-block .brand { color: #fff; }
.footer .brand-block .brand .domain { color: #C8C6C2; }
.footer .brand-block p {
  margin-top: 16px;
  font-size: 14px; color: #A5A39E;
  max-width: 320px; line-height: 1.6;
}
.footer .footer-heading {
  color: #fff; font-size: 13px; margin: 0 0 14px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.footer ul li { margin-bottom: 9px; font-size: 14px; }
.footer ul li a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 13px; color: #8A8780;
  flex-wrap: wrap;
}
.footer-legal { display: inline-flex; align-items: center; gap: 10px; }
.footer-legal a { color: #C8C6C2; text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-legal span { color: rgba(255,255,255,0.25); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .b2b-segments { grid-template-columns: repeat(4, 1fr); }
  .machines-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 1024px) {
  /* Hamburger active */
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .nav-links a { padding: 14px 16px; border-radius: 12px; }
  .nav-cta { margin: 8px 0 0; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .hero-form-wrap { max-width: 520px; margin: 0 auto; }
  .machines-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 16px; }
  .usp-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .b2b-segments { grid-template-columns: repeat(3, 1fr); }
  .oblast-layout { grid-template-columns: 1fr; }
  .cross-card { grid-template-columns: 1fr; padding: 32px; }
  .cross-art { max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .hero-form { padding: 22px; }
  .hero-form-grid { grid-template-columns: 1fr; }
  .stats { padding: 22px 0; }
  .stats-grid { grid-template-columns: 1fr; gap: 14px; }
  .stat { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
  .stat-label { margin-top: 0; }
  .b2b-segments { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .field.span-2 { grid-column: span 1; }
  .form-wrap { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-title { font-size: clamp(30px, 8vw, 44px); }
  .zone .note { margin-left: 0; margin-top: 8px; }
  .zone-head { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero-ctas .btn { flex: 1; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Accessibility ---------- */
.btn:focus-visible,
.nav-links a:focus-visible,
.faq-item summary:focus-visible {
  outline: 2px solid var(--bg-deep);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Oblast — 3 dlaždice ---------- */
.oblast-tiles { display: block; }
.oblast-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.oblast-tile {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 32px -24px rgba(14, 14, 14, 0.18);
}
.tile-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.tile-core .tile-badge { background: var(--bg-deep); color: #FFFFFF; }
.tile-extended .tile-badge { background: rgba(14,92,107,0.12); color: var(--bg-deep); }
.tile-on-demand .tile-badge { background: rgba(14,14,14,0.08); color: var(--ink); }
.tile-headline { font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--ink); }
.tile-body { font-size: 14px; line-height: 1.55; color: var(--text); }
.tile-body strong { color: var(--ink); }
@media (max-width: 880px) {
  .oblast-tile-grid { grid-template-columns: 1fr; }
}

/* ---------- Reference karty ---------- */
.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.reference-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 32px -24px rgba(14, 14, 14, 0.18);
}
.reference-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.reference-card p { font-size: 14px; line-height: 1.55; color: var(--text); margin: 0; }
.reference-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bg-deep);
  text-decoration: none;
}
.reference-link:hover { text-decoration: underline; }
.reference-placeholder {
  background: linear-gradient(135deg, #FAF8F4 0%, #EFEAD8 100%);
  border-style: dashed;
}
@media (max-width: 880px) {
  .references-grid { grid-template-columns: 1fr; }
}

/* ---------- Reference ikona ---------- */
.reference-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 92, 107, 0.08);
  color: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.reference-icon svg { stroke: var(--bg-deep); }
.reference-placeholder .reference-icon { background: rgba(199, 242, 60, 0.25); }

/* ---------- Ceník ---------- */
.pricing-block {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  margin-top: 28px;
  box-shadow: 0 12px 32px -24px rgba(14, 14, 14, 0.18);
}
.pricing-b2b {
  background: var(--bg-deep);
  color: #FFFFFF;
  border-color: var(--bg-deep);
}
.pricing-head { margin-bottom: 20px; }
.pricing-head .eyebrow {
  color: var(--bg-deep);
  font-weight: 800;
}
.pricing-b2b .pricing-head .eyebrow { color: var(--lime); }
.pricing-head h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin: 6px 0 8px;
}
.pricing-b2b .pricing-head h3 { color: #FFFFFF; }
.pricing-head p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}
.pricing-b2b .pricing-head p { color: rgba(255, 255, 255, 0.85); }
.pricing-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(14, 14, 14, 0.08);
}
.pricing-b2b .pricing-list {
  border-top-color: rgba(255, 255, 255, 0.15);
}
.pricing-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(14, 14, 14, 0.08);
}
.pricing-b2b .pricing-list li { border-bottom-color: rgba(255, 255, 255, 0.15); }
.pricing-list li:nth-child(odd) { padding-right: 24px; }
.pricing-list li:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(14, 14, 14, 0.08); }
.pricing-b2b .pricing-list li:nth-child(even) { border-left-color: rgba(255, 255, 255, 0.15); }
.pricing-name { font-size: 14px; font-weight: 600; }
.pricing-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--bg-deep);
  white-space: nowrap;
}
.pricing-b2b .pricing-price { color: var(--lime); }
.pricing-note {
  margin-top: 16px;
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
}
.pricing-b2b .pricing-note { color: rgba(255, 255, 255, 0.7); }

@media (max-width: 720px) {
  .pricing-block { padding: 24px 20px; }
  .pricing-list {
    grid-template-columns: 1fr;
  }
  .pricing-list li:nth-child(odd),
  .pricing-list li:nth-child(even) {
    padding: 14px 0;
    border-left: none;
  }
}

/* -------- Legal pages (GDPR, Obchodní podmínky) -------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.legal-page h2 {
  font-size: 20px;
  margin: 32px 0 10px;
  letter-spacing: -0.01em;
}
.legal-page p,
.legal-page li {
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
}
.legal-page ul { padding-left: 20px; }
.legal-page a { color: var(--petrol); }
.legal-page a:hover { text-decoration: underline; }
.legal-back {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}
.legal-back:hover { color: var(--text); }
.legal-meta { color: var(--text-muted); font-size: 14px; }
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.legal-page th,
.legal-page td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(14, 14, 14, 0.08);
}
.legal-page th {
  background: rgba(14, 92, 107, 0.06);
  font-weight: 700;
}
@media (max-width: 480px) {
  .legal-page { padding: 40px 18px 64px; }
  .legal-page th, .legal-page td { padding: 8px 10px; }
}

/* -------- Floating SMS bubble (sourozenec s vypucujto.cz) -------- */
.sms-bubble {
  position: fixed; right: 20px; bottom: 20px; z-index: 999;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px 14px 16px;
  background: #25D366; color: #fff; text-decoration: none;
  border-radius: 999px; font-weight: 700; font-size: 14.5px;
  box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 2px 6px rgba(0,0,0,.2);
  transition: transform .15s ease, box-shadow .15s ease;
}
.sms-bubble:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px rgba(37,211,102,.6), 0 3px 8px rgba(0,0,0,.25);
  color: #fff;
}
.sms-bubble:active { transform: translateY(0) scale(.98); }
.sms-bubble svg { flex-shrink: 0; }
.sms-bubble-label { white-space: nowrap; }
@media (max-width: 560px) {
  .sms-bubble { right: 14px; bottom: 14px; padding: 14px; }
  .sms-bubble-label { display: none; }
  .sms-bubble svg { width: 24px; height: 24px; }
}

/* =====================================================================
   KONFIGURÁTOR /objednat
   ===================================================================== */

.objednat-hero { padding-top: 56px; padding-bottom: 24px; }
.objednat-head { max-width: 720px; }
.objednat-section { padding-top: 24px; padding-bottom: 80px; }

.page-title {
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1; font-weight: 800;
  margin: 8px 0 12px; color: var(--ink);
}
.page-lead { font-size: 17px; line-height: 1.6; color: #3a4549; max-width: 640px; }

/* layout: souhrn vždy pod konfigurátorem (single column) */
.cfg-layout {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}

/* bloky */
.cfg-block {
  border: 1px solid #e4e2dc; border-radius: 14px;
  background: #fff; padding: 24px;
  margin: 0 0 20px; min-width: 0;
}
.cfg-block-title {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 20px; font-weight: 800; color: var(--ink);
  margin-bottom: 6px; padding: 0;
}
.cfg-block-hint { font-size: 14px; color: #5a6669; margin: 0 0 18px; }

/* kategorie a položky */
.cfg-cat { margin-top: 18px; }
.cfg-cat:first-child { margin-top: 0; }
.cfg-cat-title {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--petrol);
  margin: 0 0 10px;
}
.cfg-cat-items { display: flex; flex-direction: column; gap: 8px; }

/* CLS prevence — rezervace místa pro JS-renderovaný seznam položek (17 položek z pricing.json).
   Záměrně nadhodnocené (1600 mobile / 1200 desktop) aby finální obsah byl vždy <= min-height
   — žádný shift. Přebytek prostoru je pod poslední položkou před dalším fieldsetem. */
#cfg-items { min-height: 1600px; }
@media (min-width: 768px) {
  #cfg-items { min-height: 1200px; }
}

.cfg-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px; align-items: center;
  padding: 12px 14px;
  border: 1px solid #ebe9e4; border-radius: 10px;
  background: #fafaf7;
  transition: border-color 0.15s, background 0.15s;
}
.cfg-item:hover { border-color: var(--petrol); }
.cfg-item.is-active,
.cfg-item:has(.qty-input:not([value="0"]):valid) {
  border-color: var(--petrol);
  background: #fff;
  box-shadow: 0 1px 0 var(--lime) inset, 0 0 0 1px var(--petrol);
}
.cfg-item-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  color: var(--petrol);
  flex-shrink: 0;
}
.cfg-item-icon svg {
  width: 40px; height: 40px;
  stroke: currentColor; fill: none;
}
.cfg-item-main { min-width: 0; }
.cfg-item-name { font-weight: 600; color: var(--ink); display: block; }
.cfg-item-price { font-size: 13px; color: #5a6669; margin-top: 2px; }
.cfg-item-qty { display: inline-flex; align-items: center; gap: 4px; }
.qty-btn {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid #d6d3cc; background: #fff;
  font-size: 20px; font-weight: 700; line-height: 1;
  cursor: pointer; color: var(--petrol);
  display: inline-flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.cfg-item.is-active .qty-btn,
.cfg-item:has(.qty-input:not([value="0"]):valid) .qty-btn {
  border-color: var(--petrol);
  background: #f3f7f8;
  color: var(--petrol);
}
.cfg-item.is-active .qty-btn:focus,
.cfg-item.is-active .qty-btn:focus-visible {
  background: var(--petrol);
  color: #fff;
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
.qty-input {
  width: 64px; height: 36px; text-align: center;
  border: 1px solid #d6d3cc; border-radius: 8px;
  font-size: 16px; font-weight: 600; color: var(--ink);
  background: #fff;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input[type=number] { -moz-appearance: textfield; }
.cfg-item-unit { font-size: 13px; color: #5a6669; margin-left: 4px; min-width: 22px; }

/* checkboxy */
.cfg-check {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; cursor: pointer;
  font-size: 15px; line-height: 1.5; color: var(--ink);
}
.cfg-check + .cfg-check { border-top: 1px solid #ebe9e4; }
.cfg-check input[type="checkbox"] {
  width: 22px; height: 22px; margin-top: 1px; flex: 0 0 22px;
  accent-color: var(--petrol); cursor: pointer;
}
.cfg-gdpr { padding: 0; }
.cfg-check a { color: var(--petrol); text-decoration: underline; text-underline-offset: 2px; }
.cfg-check a:hover, .cfg-check a:focus-visible { text-decoration-thickness: 2px; }

/* form grid */
.cfg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cfg-grid .field.span-2 { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .cfg-grid { grid-template-columns: 1fr; }
  .cfg-grid .field.span-2 { grid-column: 1; }
}

.cfg .field label {
  display: block; font-size: 13px; font-weight: 600;
  color: #3a4549; margin-bottom: 6px;
}
.cfg .field input,
.cfg .field select,
.cfg .field textarea {
  width: 100%; box-sizing: border-box;
  padding: 11px 12px; border: 1px solid #d6d3cc;
  border-radius: 8px; background: #fff;
  font-size: 15px; color: var(--ink);
  font-family: inherit;
}
.cfg .field input:focus,
.cfg .field select:focus,
.cfg .field textarea:focus {
  outline: 2px solid var(--petrol); outline-offset: 1px; border-color: var(--petrol);
}

.cfg-travel-info {
  margin: 14px 0 0; font-size: 14px; color: #5a6669;
  padding: 10px 12px; border-radius: 8px; background: #f6f4ee;
}
.cfg-travel-info.ok { background: #eef9d9; color: #2b4a06; }
.cfg-travel-info.warn { background: #fff4d6; color: #6b4a00; }

/* PRAVÝ SLOUPEC: souhrn */
.cfg-summary { min-width: 0; }
.cfg-summary-inner {
  border: 1px solid #e4e2dc; border-radius: 14px;
  background: #fff; padding: 22px;
}
/* souhrn není sticky — sedí pod kalkulací */
.cfg-summary-title {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 18px; font-weight: 800; color: var(--ink);
  margin: 0 0 14px;
}
.cfg-summary-items { list-style: none; padding: 0; margin: 0 0 14px; }
.cfg-summary-items li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name price" "qty price";
  gap: 2px 12px;
  padding: 10px 0; border-bottom: 1px solid #ebe9e4;
  font-size: 14px;
}
.cfg-summary-items li:last-child { border-bottom: none; }
.cfg-summary-items .s-name { grid-area: name; font-weight: 600; color: var(--ink); }
.cfg-summary-items .s-qty { grid-area: qty; font-size: 12px; color: #5a6669; }
.cfg-summary-items .s-price { grid-area: price; align-self: center; font-weight: 700; color: var(--ink); }
.cfg-summary-empty { color: #8a8d8a; padding: 8px 0; }

.cfg-summary-totals { border-top: 2px solid var(--ink); padding-top: 12px; margin-bottom: 14px; }
.cfg-summary-totals .row {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 14px; color: #3a4549; padding: 5px 0;
}
.cfg-summary-totals .row[hidden] { display: none; }
.cfg-summary-totals .row.total {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 800; font-size: 18px; color: var(--ink);
  margin-top: 8px; padding: 10px 12px; border-radius: 8px;
  background: var(--accent);
}
.cfg-summary-note { font-size: 12px; color: #5a6669; margin: 10px 0 0; line-height: 1.5; }

.cfg-summary-ctas {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 6px;
}
.cfg-summary-ctas .btn { width: 100%; box-sizing: border-box; }
.btn-block { width: 100%; box-sizing: border-box; text-align: center; }

.contact-fallback {
  font-size: 13px; line-height: 1.55; color: #5a6669;
  margin: 16px 0 0; padding-top: 14px;
  border-top: 1px solid #ebe9e4;
}
.contact-fallback a { color: var(--petrol); font-weight: 600; }

.cfg-error {
  background: #ffe4e4; color: #7a1a1a;
  border: 1px solid #ffb3b3; border-radius: 8px;
  padding: 12px 14px; margin-top: 12px;
  font-size: 14px; font-weight: 600;
}

/* Bar & close button — desktop hidden by default */
.cfg-summary-bar { display: none; }
.cfg-summary-close { display: none; }

/* Mobile: collapsed bar + expanded sheet */
@media (max-width: 959px) {
  /* Container — fixed bottom, allows bar to be visible while inner is hidden */
  .cfg-summary {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 210;
    pointer-events: none;
  }

  /* Collapsed bar — skrytý dokud není .is-visible */
  .cfg-summary-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 12px 16px;
    background: var(--petrol, #0E5C6B);
    color: #fff;
    border: none;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -6px 20px rgba(14, 92, 107, 0.18);
    font: inherit;
    cursor: pointer;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }
  .cfg-summary-bar.is-visible { display: flex; }
  .cfg-summary-bar .bar-count {
    font-size: 14px;
    opacity: 0.85;
  }
  .cfg-summary-bar .bar-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--lime, #C7F23C);
  }
  .cfg-summary-bar .bar-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--lime, #C7F23C);
    white-space: nowrap;
  }

  /* Inner sheet — hidden by default on mobile */
  .cfg-summary-inner {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    max-height: 85vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -8px 24px rgba(14, 92, 107, 0.18);
    padding: 56px 16px 16px;
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
  }
  .cfg-summary.is-expanded .cfg-summary-inner { display: block; }
  .cfg-summary.is-expanded .cfg-summary-bar.is-visible { display: none; }

  /* Close (× top-right) — sticky uvnitr drawer, aby byl vzdy dostupny */
  .cfg-summary.is-expanded .cfg-summary-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: auto;
    bottom: calc(85vh - 48px);
    right: 12px;
    width: 44px; height: 44px;
    background: #fff;
    border: 1px solid rgba(14, 14, 14, 0.12);
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--ink, #0E0E0E);
    cursor: pointer;
    padding: 0;
    z-index: 215;
    box-shadow: 0 2px 8px rgba(14, 92, 107, 0.15);
  }
  .cfg-summary-close { display: none; }

  /* Items: zadny nested scroll, scroll resi cely drawer */
  .cfg-summary-items { max-height: none; overflow: visible; }

  /* Backdrop — separate element controlled by JS */
  .cfg-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14, 14, 14, 0.45);
    z-index: 205;
  }
  .cfg-backdrop.is-visible { display: block; }

  /* Body lock when expanded */
  body.cfg-summary-open { overflow: hidden; }

  /* Padding-bottom on form-container so bar doesn't overlap last item */
  .cfg-wrap, .objednat-section { padding-bottom: 80px; }

  /* SMS bubble must not overlap summary bar */
  body:has(.cfg-summary-bar.is-visible) .sms-bubble { bottom: 80px; }
  /* Skryt SMS bubble kdyz je drawer otevreny (prekryval by obsah) */
  body.cfg-summary-open .sms-bubble { display: none; }
}

/* =====================================================================
   /objednat/dekujeme
   ===================================================================== */
.dekujeme { padding: 80px 0; }
.dekujeme-card {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid #e4e2dc; border-radius: 16px;
  padding: 40px 28px;
}
.dekujeme-check { display: inline-flex; margin-bottom: 16px; }
.dekujeme-meta { margin: 24px 0; font-size: 15px; color: #3a4549; }
.dekujeme-meta p { margin: 6px 0; }
.dekujeme-meta a { color: var(--petrol); font-weight: 600; }
.dekujeme-ctas { margin-top: 24px; }

/* =====================================================================
   A11y: focus-visible pro konfigurátor a obecná tlačítka
   ===================================================================== */
.qty-btn:focus-visible,
.qty-input:focus-visible,
.cfg-check input:focus-visible,
.cfg .field input:focus-visible,
.cfg .field select:focus-visible,
.cfg .field textarea:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cfg .field input:focus-visible,
.cfg .field select:focus-visible,
.cfg .field textarea:focus-visible {
  outline-offset: 0;
}

.cfg .field textarea { resize: vertical; min-height: 88px; }

/* =====================================================================
   Per-item impregnace + discount-info aside + sleva v souhrnu
   ===================================================================== */

/* CFG item upravený layout: ikona + main + qty na 1. řádku, impreg pod tím */
.cfg-item {
  grid-template-columns: 48px 1fr auto;
  grid-template-areas: "icon main qty" "impreg impreg impreg";
  row-gap: 8px;
}
.cfg-item-icon { grid-area: icon; }
.cfg-item-main { grid-area: main; }
.cfg-item-qty { grid-area: qty; }

/* Mobile (≤600 px): STACKED layout — ikona+název/cena na 1. řádku, qty na 2. */
@media (max-width: 600px) {
  .cfg-item {
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "icon main"
      "qty qty"
      "impreg impreg";
    gap: 10px;
    padding: 12px;
  }
  .cfg-item-icon { width: 40px; height: 40px; }
  .cfg-item-icon svg { width: 32px; height: 32px; }
  .cfg-item-main { align-self: center; }
  .cfg-item-name { font-size: 15px; line-height: 1.3; }
  .cfg-item-price { font-size: 12px; margin-top: 2px; }
  .cfg-item-qty {
    justify-self: stretch;
    justify-content: center;
    gap: 8px;
    padding-top: 4px;
  }
  .cfg-item-qty .qty-btn { width: 44px; height: 44px; font-size: 22px; }
  .cfg-item-qty .qty-input { width: 72px; height: 44px; font-size: 17px; }
  .cfg-item-qty .cfg-item-unit { font-size: 14px; color: #5a6669; margin-left: 4px; }
}
.cfg-item-impreg {
  grid-area: impreg;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #3a4549;
  padding-top: 8px; border-top: 1px dashed #d6d3cc;
  cursor: pointer;
}
.cfg-item-impreg input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--petrol);
  flex: 0 0 18px; cursor: pointer;
}
.cfg-item-impreg em { color: #5a6669; font-style: normal; }

/* Discount info aside */
.discount-info {
  background: linear-gradient(135deg, rgba(199,242,60,0.18), rgba(14,92,107,0.04));
  border: 1px solid rgba(14,92,107,0.18);
  border-radius: 14px; padding: 20px 22px; margin: 0 0 20px;
}
.discount-info h3 {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 16px; font-weight: 800; color: var(--petrol);
  margin: 0 0 8px;
}
.discount-info p { font-size: 14px; color: var(--ink); margin: 0 0 10px; line-height: 1.5; }
.discount-info ul {
  list-style: none; padding: 0; margin: 0 0 10px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 16px;
  font-size: 14px;
}
.discount-info ul li { color: var(--ink); }
.discount-info ul li strong { color: var(--petrol); }
.discount-info-note { font-size: 12px; color: #5a6669; margin: 0; }
@media (max-width: 560px) {
  .discount-info ul { grid-template-columns: 1fr; }
}

.cfg-block-hint-tip {
  margin-top: 12px; padding: 10px 12px;
  background: #f6f4ee; border-radius: 8px; font-size: 13px;
}

/* Sleva v souhrnu — lime accent */
.cfg-summary-totals .row.row-discount {
  background: rgba(199, 242, 60, 0.25);
  padding: 8px 10px; border-radius: 6px; margin: 4px 0;
  font-weight: 700; color: #2b4a06;
}

/* Sub-line (per-item impregnace v summary) */
.cfg-summary-items li.s-sub {
  display: flex; justify-content: space-between;
  padding: 2px 0 6px 12px; border-bottom: 1px solid #ebe9e4;
  font-size: 12px; color: #5a6669;
}
.cfg-summary-items li.s-sub .s-name::before { content: "↳ "; color: #b0aea8; }

/* ============================================================
   O MNĚ — about-owner
   ============================================================ */
.about-owner {
  background: var(--off-white, #FAF8F4);
}
.owner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .owner-grid {
    grid-template-columns: 280px 1fr;
    gap: 3rem;
  }
}
.owner-photo {
  display: flex;
  justify-content: center;
}
.owner-photo img {
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 4px solid var(--lime, #C7F23C);
  display: block;
  background: #fff;
}
.owner-content .eyebrow {
  color: var(--petrol, #0E5C6B);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.owner-content .section-title {
  margin: 0.25rem 0 0.5rem;
}
.owner-name {
  margin: 0 0 1rem;
  color: var(--petrol, #0E5C6B);
  font-size: 1.25rem;
  font-weight: 700;
}
.owner-content p {
  margin: 0 0 0.85rem;
  line-height: 1.6;
}
.owner-content a {
  color: var(--petrol, #0E5C6B);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.owner-trust {
  list-style: none;
  padding: 1rem 0;
  margin: 1.25rem 0;
  border-top: 1px solid rgba(14, 92, 107, 0.15);
  border-bottom: 1px solid rgba(14, 92, 107, 0.15);
}
.owner-trust li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.5rem;
}
.owner-trust li::before {
  content: "✓";
  color: var(--petrol, #0E5C6B);
  font-weight: 800;
  position: absolute;
  left: 0;
  top: 0.35rem;
}

/* ============================================================
   RECENZE — carousel
   ============================================================ */
.reviews {
  background: #fff;
}
.reviews-carousel {
  position: relative;
  margin: 2rem 0 1rem;
  /* CLS rezerva — karusel je JS-rendered, min-height drží layout */
  min-height: 320px;
}
@media (min-width: 768px) {
  .reviews-carousel { min-height: 280px; }
}
.reviews-viewport {
  overflow: hidden;
}
.reviews-track {
  display: flex;
  gap: 16px;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.review-card {
  flex: 0 0 100%;
  background: var(--off-white, #FAF8F4);
  border: 1px solid rgba(14, 92, 107, 0.12);
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.1rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
@media (min-width: 600px) {
  .review-card { flex-basis: calc((100% - 16px) / 2); }
}
@media (min-width: 1024px) {
  .review-card { flex-basis: calc((100% - 32px) / 3); }
}
@media (min-width: 1280px) {
  .review-card { flex-basis: calc((100% - 48px) / 4); }
}
.review-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.6rem;
  line-height: 1;
}
.review-text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink, #0E0E0E);
  flex: 1;
}
.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
  border-top: 1px solid rgba(14, 92, 107, 0.1);
  padding-top: 0.7rem;
}
.review-author {
  font-weight: 700;
  color: var(--petrol, #0E5C6B);
}
.review-source {
  color: #6a7378;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.reviews-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}
.reviews-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(14, 92, 107, 0.2);
  background: #fff;
  color: var(--petrol, #0E5C6B);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.reviews-btn:hover,
.reviews-btn:focus-visible {
  background: var(--lime, #C7F23C);
  border-color: var(--petrol, #0E5C6B);
  outline: none;
}
.reviews-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.reviews-dots {
  display: flex;
  gap: 8px;
}
.reviews-dot {
  /* WCAG target-size 24×24 px minimum, vizuální bod 10×10 přes :before */
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reviews-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(14, 92, 107, 0.25);
  transition: background 0.2s, transform 0.2s;
}
.reviews-dot:hover::before,
.reviews-dot:focus-visible::before {
  background: rgba(14, 92, 107, 0.5);
  transform: scale(1.2);
}
.reviews-dot:focus-visible {
  outline: 2px solid var(--petrol, #0E5C6B);
  outline-offset: 2px;
  border-radius: 50%;
}
.reviews-dot[aria-selected="true"]::before {
  background: var(--petrol, #0E5C6B);
}
.reviews-disclaimer {
  font-size: 0.8rem;
  color: #6a7378;
  text-align: center;
  margin: 1.5rem auto 0;
  max-width: 720px;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track { transition: none; }
}
