/* ==========================================================================
   Kasito – styly
   Barvy a rozměry se mění v :root
   ========================================================================== */

:root {
  --blue-900: #0a2540;
  --blue-700: #0b4f8a;
  --blue-600: #1263b0;
  --blue-100: #dceaf8;
  --blue-50: #eef5fc;
  --green-600: #128a6a;
  --green-500: #14a37f;
  --green-50: #e7f6f0;
  --amber-600: #b26b00;
  --amber-50: #fff5e3;
  --cream: #fffaf3;
  --peach-100: #ffecd2;
  --peach-200: #ffd9ab;

  --text: #2b3a4d;
  --text-muted: #5d6b7e;
  --border: #e1e7ef;
  --bg: #ffffff;
  --bg-tint: #f5f8fc;

  --radius: 14px;
  --radius-small: 8px;
  --shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 8px 24px rgba(10, 37, 64, .06);
  --shadow-strong: 0 2px 4px rgba(10, 37, 64, .08), 0 18px 40px rgba(10, 37, 64, .14);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1140px;
  --header-h: 68px;
}

/* ---------- Základ ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  color: var(--blue-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--blue-600); }
a:hover { color: var(--blue-700); }

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

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

.narrow { max-width: 780px; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--blue-900);
  color: #fff;
  border-radius: var(--radius-small);
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  margin: 0 0 .6em;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-600);
}

/* ---------- Tlačítka ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.4em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 6px 16px rgba(11, 79, 138, .25);
}
.btn-primary:hover { background: var(--blue-600); color: #fff; }

.btn-ghost {
  background: #fff;
  border-color: var(--blue-100);
  color: var(--blue-700);
}
.btn-ghost:hover { border-color: var(--blue-600); color: var(--blue-700); }

.btn-small { padding: .55em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Hlavička ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--blue-900);
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-text small {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Odkazy na sekce – aktivní sekci zvýrazňuje main.js třídou .is-active */

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text);
  transition: background-color .15s, border-color .15s, color .15s;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--blue-50);
  color: var(--blue-700);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding: 8px 18px;
  background: var(--blue-700);
  color: #fff;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.is-active {
  background: var(--blue-600);
  color: #fff;
}

/* Rozbalovací nabídka „EET 2.0“ */
.nav-group { position: relative; }

.nav-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background-color .15s, color .15s;
}

.nav-group-toggle svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s;
}

.nav-group-toggle:hover,
.nav-group.is-active .nav-group-toggle,
.nav-group.is-open .nav-group-toggle {
  background: var(--blue-50);
  color: var(--blue-700);
}

.nav-group.is-open .nav-group-toggle svg { transform: rotate(180deg); }

/* Skupina Weby v zelené barvě */
.nav-group-web .nav-group-toggle:hover,
.nav-group-web.is-active .nav-group-toggle,
.nav-group-web.is-open .nav-group-toggle {
  background: var(--green-50);
  color: var(--green-600);
}

.site-nav .nav-group-web .nav-dropdown a:hover,
.site-nav .nav-group-web .nav-dropdown a.is-active {
  background: var(--green-50);
  color: var(--green-600);
}

.nav-group-label { display: none; }

.nav-dropdown {
  position: absolute;
  top: 100%; left: 50%;
  z-index: 60;
  display: none;
  width: 290px;
  padding-top: 10px;
  transform: translateX(-50%);
}

.nav-group.is-open .nav-dropdown { display: block; }

@media (hover: hover) and (min-width: 901px) {
  .nav-group:hover .nav-dropdown { display: block; }
  .nav-group:hover .nav-group-toggle svg { transform: rotate(180deg); }
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  inset: 10px 0 0;
  z-index: -1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-strong);
}

.site-nav .nav-dropdown a {
  display: flex;
  flex-direction: column;
  margin: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  white-space: normal;
}

.site-nav .nav-dropdown a + a { margin-top: -4px; }

.nav-dropdown strong { color: var(--blue-900); }

.nav-dropdown span {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Tlačítko Zavolat – jen na mobilu */
.header-call {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #bfe7d8;
  border-radius: 999px;
  background: var(--green-50);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--green-600);
}

.header-call svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow-x: clip; /* natočený podklad fotky na šířce tabletu jinak přečnívá a stránka jde posunout do strany */
  padding: 64px 0 60px;
  background:
    radial-gradient(700px 380px at 92% 0%, var(--blue-50), transparent 70%),
    radial-gradient(640px 380px at 0% 100%, var(--green-50), transparent 70%),
    var(--cream);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 36em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
  font-weight: 550;
  color: var(--blue-900);
}

.hero-trust li,
.checklist li {
  position: relative;
  padding-left: 26px;
}

.hero-trust li::before,
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23128a6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Fotka s plovoucími kartičkami */

.hero-visual {
  position: relative;
  padding: 30px 0 38px 30px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 6px; right: -16px; bottom: 14px; left: 64px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--peach-100), var(--peach-200));
  transform: rotate(3deg);
}

.hero-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 28px;
  background: var(--blue-50);
  box-shadow: var(--shadow-strong);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.hero-card {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-strong);
}

.countdown-badge {
  top: 0; left: 0;
  padding: 12px 18px;
}

.countdown-label {
  display: block;
  font-size: .75rem;
  font-weight: 650;
  color: var(--text-muted);
}

.countdown-value {
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--blue-700);
}

.hero-toast {
  right: -10px; bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  font-weight: 700;
  color: var(--green-600);
}

.hero-toast small {
  display: block;
  font-size: .75rem;
  font-weight: 550;
  color: var(--text-muted);
}

.pos-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff;
}

/* Rozcestník pod úvodem: EET 2.0 / Weby */
.crossroad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 44px;
}

.crossroad a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}

.crossroad a:hover {
  transform: translateY(-3px);
  border-color: var(--blue-100);
  box-shadow: var(--shadow-strong);
}

.crossroad-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-700);
  color: #fff;
}

.crossroad-web .crossroad-icon { background: var(--green-600); }

.crossroad-icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crossroad-text { flex: 1; }

.crossroad-text strong {
  display: block;
  font-size: 1.15rem;
  color: var(--blue-900);
}

.crossroad-text span {
  font-size: .93rem;
  color: var(--text-muted);
}

.crossroad-arrow {
  font-size: 1.4rem;
  color: var(--blue-600);
  transition: transform .15s;
}

.crossroad a:hover .crossroad-arrow { transform: translateX(4px); }

/* ---------- Časová osa ---------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 22px 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.timeline li {
  position: relative;
  padding: 26px 14px 0;
  font-size: .9rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 6px; left: 14px; right: 0;
  height: 2px;
  background: var(--border);
}

.timeline li::after {
  content: "";
  position: absolute;
  top: 0; left: 14px;
  width: 14px; height: 14px;
  border: 3px solid var(--blue-100);
  border-radius: 50%;
  background: #fff;
}

.timeline time {
  display: block;
  margin-bottom: 2px;
  font-weight: 750;
  color: var(--blue-900);
}

.timeline .is-deadline time { color: var(--amber-600); }
.timeline .is-deadline::after { border-color: #f3c97a; }

.timeline .is-past { opacity: .55; }
.timeline .is-past::after { border-color: var(--green-500); background: var(--green-500); }

.timeline .is-next::after {
  border-color: var(--blue-700);
  background: var(--blue-700);
  box-shadow: 0 0 0 5px var(--blue-50);
}
.timeline .is-next time::after {
  content: "nejbližší";
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--blue-50);
  font-size: .7rem;
  font-weight: 700;
  color: var(--blue-700);
  vertical-align: 1px;
}

/* ---------- Sekce ---------- */

.section { padding: 84px 0; }
.section-tint { background: var(--bg-tint); }

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head p:last-child {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.official {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 28px;
  text-align: center;
}

.official p { margin: 0; color: var(--text-muted); }

.official .btn svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Fakta ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fact {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.fact p { margin: 0; color: var(--text-muted); }

.fact-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-700);
}

.fact-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact-warn .fact-icon { background: var(--amber-50); color: var(--amber-600); }

/* ---------- Test ---------- */

.quiz {
  position: relative;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quiz-step { display: none; }
.quiz-step.is-active { display: block; }

.quiz-q {
  margin-bottom: .4em;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-900);
}

.quiz-hint { color: var(--text-muted); }

.quiz-answers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn-choice {
  background: var(--bg-tint);
  border-color: var(--border);
  color: var(--blue-900);
}
.btn-choice:hover { border-color: var(--blue-600); background: var(--blue-50); }

.quiz-result h3 { font-size: 1.35rem; }
.quiz-result p { color: var(--text-muted); }
.quiz-result .btn { margin-top: 6px; }
.quiz-small { font-size: .92rem; }

.quiz-reset {
  display: block;
  margin: 10px 0 0;
  padding: 10px 0; /* větší plocha pro palec na mobilu */
  border: 0;
  background: none;
  font: inherit;
  font-size: .92rem;
  color: var(--blue-600);
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Ceník: přepínač EET 2.0 / Obojí / Web ---------- */

.price-switch {
  position: relative;
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: -8px auto 36px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
}

/* Posuvné podbarvení pod vybranou možností (pozici nastavuje main.js) */
.price-switch-indicator {
  position: absolute;
  top: 6px; bottom: 6px; left: 6px;
  width: 0;
  border-radius: 999px;
  background: var(--blue-700);
  box-shadow: 0 6px 16px rgba(11, 79, 138, .3);
  transition: left .3s ease, width .3s ease;
}

.price-switch button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 0;
  padding: 12px 30px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s;
}

.price-switch button:hover { color: var(--blue-700); }
.price-switch button[aria-selected="true"] { color: #fff; }

.price-switch-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green-50);
  font-size: .72rem;
  color: var(--green-600);
}

.price-switch [aria-selected="true"] .price-switch-badge {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.price-panel:not([hidden]) { animation: price-in .3s ease; }

@keyframes price-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* Karta vybrané možnosti */
.price-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-strong);
}

.is-featured .price-card { border: 2px solid var(--blue-700); }

.price-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 36px;
}

.price-main h3 { margin: 0; font-size: 1.6rem; }

.price-desc { margin: 0; color: var(--text-muted); }

.price-tag {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 12px 0 18px;
}

.price-tag small { font-size: .9rem; color: var(--text-muted); }

.price-badge {
  position: absolute;
  top: 22px; right: 22px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-700);
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
}

.price-detail {
  padding: 36px;
  border-left: 1px solid var(--border);
  background: var(--bg-tint);
}

.price-detail-title {
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--blue-900);
}

.price-detail .checklist { margin: 0; }

.price-small {
  margin: 18px 0 0;
  font-size: .86rem;
  color: var(--text-muted);
}

.price {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-900);
}

.price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Hvězdička u ceny – vysvětlení je v poznámce pod seznamem „Co je v ceně“ */
.price sup {
  margin-left: 2px;
  font-size: .5em;
  line-height: 0;
  color: var(--text-muted);
}

.pricing-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-700);
}

.pricing-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-icon-combo { background: var(--blue-700); color: #fff; }
.pricing-icon-web { background: var(--green-50); color: var(--green-600); }

.pricing-soon {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--amber-50);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--amber-600);
}

.pricing-deal {
  background: var(--green-50);
  color: var(--green-600);
}

.pricing-note {
  max-width: 720px;
  margin: 26px auto 0;
  font-size: .9rem;
  text-align: center;
  color: var(--text-muted);
}

/* Odškrtávací seznam (používá se i jinde na stránce) */
.checklist {
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: .96rem;
}

/* ---------- Naše řešení: tablet připravený pro provoz ---------- */

.solution {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-areas: "visual text";
  align-items: center;
  gap: 56px;
}

.solution-visual { grid-area: visual; }
.solution-text { grid-area: text; }

.solution-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.solution-sub {
  margin: 22px 0 10px;
  font-weight: 700;
  color: var(--blue-900);
}

.solution-list strong { color: var(--blue-900); }

/* Nakreslený tablet – všechny rozměry v em, velikost řídí font-size u .device */
.device {
  font-size: 15px;
  max-width: 34em;
  margin: 0 auto;
  padding: 1em;
  border-radius: 1.8em;
  background: var(--blue-900);
  box-shadow: var(--shadow-strong);
  transform: rotate(-1.5deg);
}

.device-screen {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: .8em;
  padding: .9em;
  border-radius: 1em;
  background: #fff;
  line-height: 1.3;
}

.device-head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: .5em;
  border-bottom: 1px solid var(--border);
}

.device-head strong { font-size: 1em; color: var(--blue-900); }

.device-head span {
  font-size: .75em;
  font-weight: 600;
  color: var(--text-muted);
}

/* Levá část: zadání částky */
.device-entry {
  display: flex;
  flex-direction: column;
  gap: .4em;
  font-size: .8em;
}

.device-amount {
  padding: .25em .4em;
  border: 2px solid var(--blue-700);
  border-radius: .5em;
  font-size: 2em;
  font-weight: 800;
  text-align: right;
  color: var(--blue-900);
}

.device-keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35em;
}

.device-keys span {
  padding: .45em 0;
  border: 1px solid var(--border);
  border-radius: .5em;
  background: var(--bg-tint);
  font-weight: 700;
  text-align: center;
  color: var(--blue-900);
}

.device-bill {
  display: flex;
  flex-direction: column;
  gap: .35em;
  padding: .7em;
  border-radius: .8em;
  background: var(--bg-tint);
  font-size: .8em;
  color: var(--text);
}

.device-label {
  font-size: .85em;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.device-row {
  display: flex;
  justify-content: space-between;
}

.device-total {
  margin-top: .2em;
  padding-top: .4em;
  border-top: 1px dashed var(--border);
  font-weight: 700;
  color: var(--blue-900);
}

.device-send {
  margin-top: .3em;
  padding: .5em 0;
  border-radius: .6em;
  background: var(--blue-700);
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.device-ok {
  display: flex;
  align-items: center;
  gap: .4em;
  margin-top: auto;
  padding: .5em .6em;
  border: 1px solid #bfe7d8;
  border-radius: .6em;
  background: var(--green-50);
  font-weight: 700;
  color: var(--green-600);
}

.device-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.5em; height: 1.5em;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff;
}

.device-caption {
  margin: 18px 0 0;
  font-size: .85rem;
  text-align: center;
  color: var(--text-muted);
}

/* Prodej ve třech krocích */
.taps {
  margin-top: 56px;
  text-align: center;
}

.taps-title {
  margin-bottom: 4px;
  font-weight: 700;
  color: var(--blue-900);
}

.taps-sub {
  max-width: 560px;
  margin: 0 auto 18px;
  font-size: .95rem;
  color: var(--text-muted);
}

.taps-list {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.taps-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-weight: 650;
  color: var(--blue-900);
}

.taps-list li span {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue-700);
  font-weight: 800;
  color: #fff;
}

.taps-list li:last-child span { background: var(--green-600); }

/* Šipka mezi kroky */
.taps-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -26px; top: 50%;
  width: 10px; height: 10px;
  margin-top: -5px;
  border-top: 2px solid var(--blue-600);
  border-right: 2px solid var(--blue-600);
  transform: rotate(45deg);
}

/* Výhody tabletu: seznam ve dvou sloupcích */
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.benefit-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-600);
}

.benefit-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefits strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
  color: var(--blue-900);
}

.benefits p {
  margin: 0;
  font-size: .94rem;
  color: var(--text-muted);
}

/* ---------- Weby: nakreslená ukázka webu (prohlížeč + mobil) ---------- */

.browser {
  position: relative;
  margin-right: 120px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1em;
  background: #fff;
  box-shadow: var(--shadow-strong);
  font-size: 15px;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: .8em;
  padding: .6em .9em;
  border-bottom: 1px solid var(--border);
  background: var(--bg-tint);
}

.browser-dots { display: flex; gap: .35em; }

.browser-dots i {
  width: .7em; height: .7em;
  border-radius: 50%;
  background: #f5b4a8;
}

.browser-dots i:nth-child(2) { background: #f3d58a; }
.browser-dots i:nth-child(3) { background: #9fdcbf; }

.browser-url {
  display: flex;
  align-items: center;
  gap: .4em;
  flex: 1;
  padding: .25em .8em;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: .78em;
  color: var(--text-muted);
}

/* Ikony uvnitř ukázky */
.browser svg,
.phone-mini svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.browser-url svg { width: 1em; height: 1em; color: var(--green-600); }

/* Vymyšlený web kadeřnictví – vlastní teplé barvy a fotky ze salonu */
.mini {
  --mini-brown: #3d2219;
  --mini-accent: #c0644a;
  --mini-soft: #fbe3d6;
  --mini-line: #f0e1d7;
  --mini-muted: #8a6f64;
  --mini-cream: #fff8f3;
  line-height: 1.3;
  background: var(--mini-cream);
  color: var(--mini-brown);
}

.mini img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-nav {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: .7em 1.1em;
  border-bottom: 1px solid var(--mini-line);
  background: #fff;
  font-size: .76em;
  color: var(--mini-muted);
}

.mini-nav b {
  display: flex;
  align-items: center;
  gap: .5em;
  margin-right: auto;
  font-size: 1.15em;
  color: var(--mini-brown);
}

.mini-logo {
  display: grid;
  place-items: center;
  width: 1.8em; height: 1.8em;
  border-radius: 50%;
  background: var(--mini-accent);
  font-size: .8em;
  font-weight: 800;
  color: #fff;
}

.mini-nav-btn {
  padding: .35em .9em;
  border-radius: 999px;
  background: var(--mini-brown);
  font-weight: 700;
  color: #fff;
}

.mini-menu { width: 1.6em; height: 1.6em; color: var(--mini-brown); }

/* Úvod webu s velkou fotkou */
.mini-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 13em;
  overflow: hidden;
}

.mini-hero-img {
  position: absolute;
  inset: 0;
  object-position: 62% 40%;
}

.mini-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 248, 243, .97) 0%, rgba(255, 248, 243, .9) 34%, rgba(255, 248, 243, 0) 68%);
}

.mini-hero-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4em;
  max-width: 52%;
  padding: 1.3em 1.2em;
}

.mini-kicker {
  font-size: .62em;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mini-accent);
}

.mini-hero strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55em;
  font-weight: 700;
  line-height: 1.1;
  color: var(--mini-brown);
}

.mini-sub { font-size: .7em; color: var(--mini-muted); }

.mini-actions { display: flex; gap: .4em; margin-top: .3em; }

.mini-btn {
  padding: .45em .95em;
  border: 1px solid var(--mini-brown);
  border-radius: 999px;
  background: var(--mini-brown);
  font-size: .7em;
  font-weight: 700;
  color: #fff;
}

.mini-btn-ghost { background: rgba(255, 255, 255, .6); color: var(--mini-brown); }

.mini-open {
  position: absolute;
  top: .8em; right: .8em;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .35em;
  padding: .3em .7em;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(61, 34, 25, .15);
  font-size: .6em;
  font-weight: 700;
  color: var(--mini-brown);
}

.mini-open::before {
  content: "";
  width: .55em; height: .55em;
  border-radius: 50%;
  background: #2fb57d;
}

/* Služby a galerie ze salonu */
.mini-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1em;
  padding: 1em 1.1em;
}

.mini-title {
  display: block;
  margin-bottom: .3em;
  font-size: .6em;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mini-accent);
}

.mini-services { display: flex; flex-direction: column; gap: .35em; }

.mini-row {
  display: flex;
  align-items: baseline;
  gap: .4em;
  font-size: .74em;
  color: var(--mini-brown);
}

.mini-row i {
  flex: 1;
  border-bottom: 1px dotted #d9bfb1;
  transform: translateY(-.25em);
}

.mini-row b { color: var(--mini-accent); }

.mini-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .35em;
  height: 7.4em;
}

.mini-gallery img { border-radius: .5em; }
.mini-gallery img:first-child { grid-row: span 2; }

.mini-footer {
  display: flex;
  gap: 1.2em;
  padding: .7em 1.1em;
  border-top: 1px solid var(--mini-line);
  background: #fff;
  font-size: .66em;
  color: var(--mini-muted);
}

.mini-footer span { display: flex; align-items: center; gap: .35em; }
.mini-footer svg { width: 1.1em; height: 1.1em; color: var(--mini-accent); }

/* Mobil s tímtéž webem */
.phone-mini {
  position: absolute;
  right: 0; bottom: -10px;
  z-index: 2;
  width: 156px;
  padding: 7px;
  border-radius: 26px;
  background: var(--blue-900);
  box-shadow: var(--shadow-strong);
  font-size: 10px;
}

.phone-mini .mini { overflow: hidden; border-radius: 20px; }
.phone-mini .mini-nav { padding: .8em 1em; }

.phone-mini .mini-hero {
  align-items: flex-end;
  min-height: 13em;
}

.phone-mini .mini-hero::before {
  background: linear-gradient(180deg, rgba(255, 248, 243, 0) 25%, rgba(255, 248, 243, .92) 70%);
}

.phone-mini .mini-hero-img { object-position: 50% 30%; }

.phone-mini .mini-hero-text {
  max-width: none;
  padding: 1em;
}

.mini-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4em;
  height: 4.6em;
  padding: .7em .8em 0;
}

.mini-strip img { border-radius: .5em; }

.phone-mini .mini-services { padding: .7em .9em; }

.mini-call {
  margin: 0 .8em .9em;
  padding: .55em;
  border-radius: 999px;
  background: var(--mini-accent);
  font-size: .85em;
  font-weight: 700;
  text-align: center;
  color: #fff;
}

/* Vysvětlivka: co je statický web (v textu sekce Weby, mezi úvodem a výhodami) */
.static-info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 20px 0 22px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--green-500);
  border-radius: var(--radius-small);
  background: var(--bg-tint);
}

.static-info-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-600);
}

.static-info-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.static-info strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-900);
}

.static-info p {
  margin: 0;
  font-size: .95rem;
  color: var(--text-muted);
}

/* ---------- Postup: čára s kolečky ---------- */

.process {
  --circle: 60px;
  --gap: 24px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process > li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Spojovací linka k dalšímu kolečku */
.process > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--circle) / 2 - 2px);
  left: calc(50% + var(--circle) / 2 + 8px);
  width: calc(100% + var(--gap) - var(--circle) - 16px);
  height: 4px;
  border-radius: 2px;
  background: var(--blue-100);
}

.process-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--circle);
  height: var(--circle);
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue-700);
  box-shadow: 0 0 0 6px var(--blue-50);
  color: #fff;
}

.process-icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-num {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.process h3 { margin: 2px 0 6px; }

.process p {
  max-width: 250px;
  margin: 0;
  font-size: .95rem;
  color: var(--text-muted);
}

.process .is-highlight .process-icon {
  background: var(--green-600);
  box-shadow: 0 0 0 6px var(--green-50);
}

.process .is-highlight .process-num { color: var(--green-600); }

.process-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.process-perks li {
  position: relative;
  padding: 4px 10px 4px 28px;
  border-radius: 999px;
  background: var(--green-50);
  font-size: .82rem;
  font-weight: 700;
  color: var(--green-600);
}

.process-perks li::before {
  content: "";
  position: absolute;
  left: 8px; top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3L12.5 5' fill='none' stroke='%23128a6a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- EET: nadpis termínů v sekci V kostce ---------- */

.timeline-title {
  margin: 56px 0 18px;
  font-size: 1.2rem;
  text-align: center;
}

/* ---------- Weby: krátká sekce s ukázkou webu ---------- */

/* Plynulý přechod barvy z předchozí (šedé) sekce EET */
#weby {
  background: linear-gradient(180deg, var(--bg-tint) 0, #fff 320px);
}

/* Karta na rozhraní EET a webů */
.bridge {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: -132px auto 64px;
  padding: 18px 30px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-strong);
  text-align: center;
}

.bridge-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.bridge-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--blue-700);
  color: #fff;
}

.bridge-icon-web { background: var(--green-600); }

.bridge-icon svg {
  width: 21px; height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bridge-plus {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-muted);
}

.bridge p {
  margin: 0;
  font-weight: 700;
  color: var(--blue-900);
}

.bridge a {
  padding: 8px 12px; /* větší plocha pro palec na mobilu */
  margin: -4px 0 -8px;
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--green-600);
}

.bridge a:hover { text-decoration: underline; }

.web-solution {
  display: grid;
  grid-template-columns: .95fr 1.1fr;
  align-items: center;
  gap: 48px;
}

.web-solution .hero-cta { margin: 26px 0 0; }

.web-visual {
  position: relative;
  padding: 10px 0 30px;
}

/* ---------- Kde působíme (nad kontaktem) ---------- */

.region {
  margin-bottom: 64px;
  padding: 32px;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 240px at 100% 0%, var(--green-50), transparent 70%),
    var(--blue-50);
}

.region-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.region-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 6px 16px rgba(11, 79, 138, .25);
}

.region-icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.region-head h2 {
  margin: 0 0 4px;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
}

.region-head p { margin: 0; color: var(--text-muted); }

.region-areas {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 18px;
}

.region-areas > div {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.region-areas h3 {
  margin-bottom: 12px;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-600);
}

.region-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.region-cities li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px 6px 10px;
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  background: var(--blue-50);
  font-size: .94rem;
  font-weight: 650;
  color: var(--blue-900);
}

.region-cities li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}

.region-note {
  margin: 18px 0 0;
  font-size: .95rem;
  color: var(--text-muted);
}

/* ---------- Kontakt ---------- */

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info > p { color: var(--text-muted); }

.contact-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-list a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-700);
  text-decoration: none;
}
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: .92rem;
  font-weight: 650;
  color: var(--blue-900);
}

.contact-form small { font-weight: 500; color: var(--text-muted); }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-small);
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
}

.contact-form textarea { resize: vertical; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-100);
}

.contact-form .is-invalid { border-color: #c2410c; }

/* Telefon s předvolbou +420 */
.field {
  display: grid;
  gap: 6px;
  align-content: start;
}

.contact-form .field-label {
  display: block;
  font-size: .92rem;
  font-weight: 650;
  color: var(--blue-900);
}

.tel-split { display: flex; }

.tel-prefix {
  display: grid;
  place-items: center;
  flex: none;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-right: 0;
  border-radius: var(--radius-small) 0 0 var(--radius-small);
  background: var(--blue-50);
  font-weight: 700;
  color: var(--blue-900);
}

.tel-split input { border-radius: 0 var(--radius-small) var(--radius-small) 0; }

/* Nápověda u zprávy, když je vybrané EET */
.form-hint {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--green-500);
  background: var(--green-50);
  font-size: .88rem;
  color: var(--blue-900);
}

/* Skryté pole proti robotům – schované mimo obrazovku, ne display:none (to by roboti poznali) */
.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-privacy {
  margin: 0;
  font-size: .85rem;
  color: var(--text-muted);
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
}
.form-status.is-ok { color: var(--green-600); }
.form-status.is-error { color: #c2410c; }

/* ---------- Patička ---------- */

.site-footer {
  padding: 40px 0;
  background: var(--blue-900);
  font-size: .9rem;
  color: #b8c7d9;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
}

.footer-brand {
  margin-bottom: .4em;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.site-footer a { color: #fff; }
.footer-disclaimer p:last-child { margin: 0; }

/* ---------- Responzivita ---------- */

@media (max-width: 1020px) {
  .process { --gap: 16px; }
  .process p { font-size: .92rem; }
}

@media (max-width: 680px) {
  .facts { grid-template-columns: 1fr; }

  /* Čára postupu svisle */
  .process {
    --circle: 52px;
    --gap: 26px;
    grid-template-columns: 1fr;
  }

  .process > li {
    display: block;
    min-height: var(--circle);
    padding-left: calc(var(--circle) + 18px);
    text-align: left;
  }

  .process > li:not(:last-child)::after {
    top: calc(var(--circle) + 8px);
    left: calc(var(--circle) / 2 - 2px);
    width: 4px;
    height: calc(100% + var(--gap) - var(--circle) - 16px);
  }

  .process-icon { position: absolute; left: 0; top: 0; margin: 0; }
  .process-icon svg { width: 22px; height: 22px; }
  .process-num { display: block; padding-top: 2px; }
  .process p { max-width: none; }
  .process-perks { justify-content: flex-start; }

  .device { font-size: clamp(9px, 2.9vw, 13px); }
}

/* Užší okno: odkazy na sekce jako posuvný pruh pod logem */
@media (max-width: 900px) {
  :root { --header-h: 112px; }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding-top: 10px;
  }

  .header-call { display: inline-flex; }

  .site-nav {
    flex: 0 0 calc(100% + 40px);
    margin: 8px -20px 0;
    padding: 2px 20px 10px;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar { display: none; }

  .site-nav a {
    flex: none;
    padding: 7px 14px;
    border-color: var(--border);
    background: #fff;
    font-size: .9rem;
  }

  /* Nabídka „EET 2.0“ se na mobilu rozloží do štítků v podbarveném rámečku */
  .nav-group {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
    padding: 4px 4px 4px 12px;
    border: 1px solid var(--blue-100);
    border-radius: 999px;
    background: var(--blue-50);
  }

  .nav-dropdown,
  .nav-group.is-open .nav-dropdown { display: contents; }

  .site-nav .nav-dropdown a.is-active {
    border-color: var(--blue-700);
    background: var(--blue-700);
    color: #fff;
  }

  .nav-group-toggle,
  .nav-dropdown::before,
  .nav-dropdown span { display: none; }

  .nav-group-label {
    display: inline-flex;
    align-items: center;
    flex: none;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--blue-700);
  }

  /* Skupina Weby: zelený rámeček */
  .nav-group-web {
    border-color: #bfe7d8;
    background: var(--green-50);
  }

  .nav-group-web .nav-group-label { color: var(--green-600); }

  /* Normálně bílé jako štítky EET; v sekci webů se vyplní zeleně (u EET modře) */
  .site-nav .nav-group-web .nav-dropdown a.is-active {
    border-color: var(--green-600);
    background: var(--green-600);
    color: #fff;
  }

  .site-nav .nav-dropdown a {
    display: inline-flex;
    margin: 0;
    padding: 7px 14px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .site-nav .nav-dropdown a + a { margin-top: 0; }

  .nav-dropdown strong { font-weight: 600; color: inherit; }

  .site-nav a.is-active { border-color: var(--blue-100); background: var(--blue-50); }

  .site-nav .nav-cta { margin-left: 0; border-color: var(--blue-700); background: var(--blue-700); }
}

@media (max-width: 900px) {
  .benefits,
  .web-solution,
  .region-areas { grid-template-columns: 1fr; }

  .web-solution { gap: 36px; }

  .solution {
    grid-template-columns: 1fr;
    grid-template-areas: "text" "visual";
    gap: 36px;
  }

  .taps-list { flex-direction: column; gap: 22px; }

  .taps-list li:not(:last-child)::after {
    top: auto; right: auto;
    bottom: -17px; left: 50%;
    margin: 0 0 0 -5px;
    transform: rotate(135deg);
  }

  .hero { padding: 44px 0 32px; }

  .hero-inner { grid-template-columns: 1fr; gap: 28px; }

  .crossroad { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }

  .hero-visual {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    padding: 50px 6px 32px;
  }

  .hero-visual::before { top: 34px; right: -6px; bottom: 18px; left: 34px; }

  .hero-photo { aspect-ratio: 4 / 3; border-radius: 22px; }

  .countdown-badge {
    left: -4px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 9px 16px;
  }

  .countdown-label { font-size: .8rem; }
  .countdown-value { font-size: 1.3rem; }

  .hero-toast { right: -4px; bottom: 0; }

  .timeline {
    grid-template-columns: 1fr;
    padding: 18px 20px;
  }

  .timeline li { padding: 0 0 16px 30px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::after { left: 0; top: 4px; }
  .timeline li::before {
    top: 18px; bottom: -4px; left: 6px; right: auto;
    width: 2px; height: auto;
  }
  .timeline li:last-child::before { display: none; }

  .price-card { grid-template-columns: 1fr; }
  .price-detail { border-left: 0; border-top: 1px solid var(--border); }
  .price-main,
  .price-detail { padding: 26px 22px; }
  .price-switch { width: 100%; }
  .price-switch button { padding: 11px 10px; }

  .fact { padding: 22px 20px; }

  .contact { grid-template-columns: 1fr; gap: 32px; }

  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }

  .section { padding: 60px 0; }

  .section-head { margin-bottom: 32px; }

  .hero-cta .btn { width: 100%; }

  .field-row { grid-template-columns: 1fr; }

  .quiz,
  .contact-form { padding: 22px; }

  .quiz-answers .btn { width: 100%; }

  .browser { margin-right: 0; font-size: clamp(9px, 2.8vw, 13px); }
  .phone-mini { display: none; }

  .static-info { padding: 14px 16px; }
  .static-info-icon { display: none; }

  .bridge { width: auto; margin: -96px 0 44px; padding: 16px 20px 18px; }

  .region { padding: 22px 18px; }
  .region-head { align-items: flex-start; }
  .region-icon { width: 46px; height: 46px; }

  .hero-toast { padding: 9px 14px 9px 10px; font-size: .9rem; }
  .pos-check { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
