/* ==========================================================================
   eWebs.cz — design tokens
   ========================================================================== */
:root {
  --ink: #0f2a52;
  --ink-soft: #16345f;
  --ink-deep: #0a1d3a;
  --line: rgba(159, 196, 255, 0.28);
  --line-strong: rgba(179, 210, 255, 0.62);
  --line-text: #a9c6ef;

  --orange: #ff6b39;
  --orange-dark: #e0511f;
  --orange-tint: rgba(255, 107, 57, 0.12);

  --paper: #f6f7fb;
  --paper-alt: #eef1f8;
  --white: #ffffff;
  --graphite: #1b2333;
  --graphite-soft: #566079;
  --mist: #dbe1ee;
  --mist-strong: #c3ccdf;

  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;

  --font-display: "IBM Plex Sans Condensed", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-ghost {
  background: transparent;
  border-color: var(--mist-strong);
  color: var(--graphite);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(5, 14, 30, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--white);
  margin-right: auto;
}
.brand-mark {
  align-self: center;
  width: 22px;
  height: 22px;
  color: var(--orange);
  margin-right: 0.15rem;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.brand-dot { color: var(--line-text); }
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--line-text);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.15rem 0.4rem;
  align-self: center;
  display: none;
}
@media (min-width: 640px) { .brand-tag { display: inline-block; } }

.main-nav { display: none; gap: 1.75rem; }
.main-nav a {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.main-nav a:hover { color: var(--white); }

.header-cta { display: none; }

@media (min-width: 920px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  transform-origin: center;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 920px) { .nav-toggle { display: none; } }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 24px 1.25rem;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(5, 14, 30, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav a {
  color: rgba(255,255,255,0.85);
  padding: 0.6rem 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 0.75rem; align-self: flex-start; }

/* ==========================================================================
   Eyebrow / section head
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--line-text);
  margin-bottom: 1rem;
}
.eyebrow--dark { color: var(--orange-dark); }

.section-head {
  max-width: 620px;
  margin-bottom: 3rem;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 0.85rem;
}
.section-head p {
  color: var(--graphite-soft);
  font-size: 1.05rem;
}
.section--ink .section-head p { color: rgba(255,255,255,0.7); }

.section { padding: 5.5rem 0; }
.section--alt { background: var(--paper-alt); }
.section--ink {
  background: var(--ink);
  color: var(--white);
  position: relative;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 4.5rem 0 5rem;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 90%);
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; }
  .hero-inner--single { grid-template-columns: 1fr; }
  .hero-inner--single .hero-copy { max-width: 640px; }
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: -0.01em;
  margin: 0 0 1.35rem;
}
.hero-title .accent { color: var(--orange); }

.hero-sub {
  max-width: 46ch;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}
.hero-actions .btn-ghost {
  border-color: var(--line-strong);
  color: var(--white);
}
.hero-actions .btn-ghost:hover { border-color: var(--white); }

.hero-dims {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--line-text);
  padding-top: 1.4rem;
  border-top: 1px dashed var(--line);
  max-width: 46ch;
}
.hero-dims strong { color: var(--white); }
.dim-sep { color: var(--line); }

/* Blueprint schematic */
.hero-blueprint {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 460px;
}
.bp-svg { width: 100%; height: auto; overflow: visible; }
.bp-frame { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.bp-dot { fill: var(--line-strong); }
.bp-line { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.bp-fill { fill: rgba(179, 210, 255, 0.16); stroke: var(--line-strong); stroke-width: 1.2; }
.bp-accent { fill: var(--orange); opacity: 0.9; }
.bp-dim line { stroke: var(--line-text); stroke-width: 1; }
.bp-dim text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--line-text);
}
.bp-dim--v line { stroke-dasharray: 2 3; }

.bp-svg > * {
  animation: bpReveal 0.7s var(--ease) both;
}
.bp-svg rect:nth-of-type(1) { animation-delay: 0.05s; }
.bp-svg line:nth-of-type(1) { animation-delay: 0.15s; }
.bp-svg rect:nth-of-type(2) { animation-delay: 0.22s; }
.bp-svg rect:nth-of-type(3) { animation-delay: 0.28s; }
.bp-svg rect:nth-of-type(4) { animation-delay: 0.36s; }
.bp-svg rect:nth-of-type(5) { animation-delay: 0.44s; }
.bp-svg rect:nth-of-type(6) { animation-delay: 0.5s; }
.bp-svg rect:nth-of-type(7) { animation-delay: 0.58s; }
.bp-svg rect:nth-of-type(8) { animation-delay: 0.64s; }
.bp-svg rect:nth-of-type(9) { animation-delay: 0.7s; }
.bp-svg rect:nth-of-type(10) { animation-delay: 0.76s; }
.bp-svg g:nth-of-type(1) { animation-delay: 0.85s; }
.bp-svg g:nth-of-type(2) { animation-delay: 0.9s; }

@keyframes bpReveal {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.bp-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--white);
  background: var(--ink-soft);
  border: 1px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.55rem;
  animation: bpReveal 0.6s var(--ease) both;
}
.bp-tag--1 { top: 8%; right: -4%; animation-delay: 1s; }
.bp-tag--2 { bottom: 20%; left: -6%; animation-delay: 1.15s; }

@media (max-width: 640px) {
  .hero-blueprint { display: none; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.spec-card, .process-step, .audience-card, .price-card, .extras-card, .tier-card, .showcase-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.is-visible { opacity: 1 !important; transform: translateY(0) !important; }

/* ==========================================================================
   Spec grid ("Co dostanete")
   ========================================================================== */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.spec-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.6rem;
}
.spec-card::before, .spec-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--mist-strong);
  border-style: solid;
}
.spec-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.spec-card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.spec-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}
.spec-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--mist-strong);
  color: var(--ink);
}
.spec-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.spec-icon .icon-accent { fill: var(--orange); stroke: none; }
.spec-icon .icon-accent-stroke { stroke: var(--orange); }
.spec-head-rule {
  flex: none;
  width: 1px;
  height: 22px;
  background: var(--mist-strong);
}
.spec-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--orange-dark);
}
.spec-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.spec-card p { color: var(--graphite-soft); font-size: 0.95rem; }

/* ==========================================================================
   Process ("Jak to funguje")
   ========================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}
@media (max-width: 800px) { .process { grid-template-columns: 1fr; gap: 2.25rem; } }

.process::before {
  content: "";
  position: absolute;
  top: 22px;
  /* line must run center-of-number to center-of-number, not edge-to-edge of
     the grid — the .process-num box sits flush at each column's left edge,
     so its center is offset by half its own width, not by a plain fraction
     of the grid width */
  left: calc(44px / 2);
  right: calc((100% - 2 * 2.5rem) / 3 - 44px / 2);
  height: 1px;
  background-image: linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
  background-size: 12px 1px;
}
@media (max-width: 800px) { .process::before { display: none; } }

.process-step { position: relative; }
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  background: var(--ink);
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--white); }
.process-step p { color: rgba(255,255,255,0.68); font-size: 0.95rem; max-width: 30ch; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.price-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.75rem;
  margin-bottom: 3rem;
}
@media (max-width: 820px) { .price-row { grid-template-columns: 1fr; } }
.price-row--single { grid-template-columns: 1fr; max-width: 460px; }

.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.price-card--featured {
  border: 2px solid var(--ink);
  z-index: 0;
}
.price-card--featured::before, .price-card--featured::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--orange);
  border-style: solid;
}
.price-card--featured::before { top: -2px; left: -2px; border-width: 3px 0 0 3px; }
.price-card--featured::after { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; }
.price-card-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 42, 82, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 42, 82, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, black 40%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, black 40%, transparent 95%);
  pointer-events: none;
}

.price-card-head h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.price-amount {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.price-from { font-family: var(--font-body); font-size: 1rem; color: var(--graphite-soft); font-weight: 400; }
.price-currency { font-size: 1.3rem; }
.price-note { color: var(--graphite-soft); font-size: 0.9rem; margin: 0.35rem 0 1.5rem; }

.price-list { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.75rem; }
.price-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.price-cta { width: 100%; }

.extras-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.extras-card h3 { font-size: 1.05rem; margin-bottom: 1.2rem; }
.extra-row {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-top: 1px solid var(--mist);
  font-size: 0.92rem;
}
.extra-row:first-of-type { border-top: none; }
.extra-price { font-family: var(--font-mono); color: var(--ink); font-weight: 600; }
.extras-note { margin-top: 1.2rem; font-size: 0.88rem; color: var(--graphite-soft); }
.inline-link { color: var(--orange-dark); font-weight: 600; }

/* Hosting tiers */
.hosting-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.hosting-head h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.hosting-head p { color: var(--graphite-soft); }

.billing-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--graphite-soft);
}
.billing-label--active { color: var(--ink); font-weight: 600; }
.save-badge {
  display: inline-block;
  margin-left: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--orange-dark);
  background: var(--orange-tint);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
}
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--mist-strong);
  border: none;
  padding: 0;
  transition: background-color 0.2s var(--ease);
}
.toggle-switch[aria-pressed="true"] { background: var(--ink); }
.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--white);
  transition: transform 0.2s var(--ease);
}
.toggle-switch[aria-pressed="true"] .toggle-thumb { transform: translateX(20px); }

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 980px) {
  .tiers-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 78vw);
    overflow-x: auto;
    padding-top: 14px;
    padding-bottom: 0.5rem;
    scroll-snap-type: x proximity;
  }
  .tier-card { scroll-snap-align: start; }
}
@media (max-width: 480px) {
  .tiers-grid { grid-auto-columns: minmax(240px, 84vw); }
}

.tier-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.tier-card--featured { border: 2px solid var(--orange); }
.tier-badge {
  position: absolute;
  top: -12px;
  left: 1.2rem;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
}
.tier-name { font-weight: 600; font-size: 1.02rem; margin-bottom: 0.75rem; }
.tier-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  font-family: var(--font-mono);
  margin-bottom: 0.3rem;
  flex-wrap: wrap;
}
.tier-amount { font-size: 1.7rem; font-weight: 600; color: var(--ink); }
.tier-currency, .tier-period { color: var(--graphite-soft); font-size: 0.85rem; }
.tier-discount {
  display: none;
  font-size: 0.68rem;
  color: var(--orange-dark);
  background: var(--orange-tint);
  padding: 0.15rem 0.35rem;
  border-radius: var(--radius-sm);
  margin-left: 0.3rem;
}
.tiers-grid.billing--yearly .tier-discount { display: inline-block; }
.tier-note { display: block; font-size: 0.82rem; color: var(--graphite-soft); min-height: 1.2em; margin-bottom: 1.1rem; }
.tier-features { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.4rem; flex-grow: 1; }
.tier-features li { font-size: 0.86rem; padding-left: 1.4rem; position: relative; }
.tier-features li.yes { color: var(--graphite); }
.tier-features li.no { color: var(--mist-strong); }
.tier-features li.yes::before {
  content: "";
  position: absolute; left: 0; top: 0.3rem;
  width: 8px; height: 8px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.tier-features li.no::before {
  content: "";
  position: absolute; left: 2px; top: 0.5rem;
  width: 8px; height: 1.5px;
  background: var(--mist-strong);
}
.tier-cta { margin-top: auto; }

/* ==========================================================================
   Audience
   ========================================================================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.audience-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--mist-strong);
  color: var(--orange-dark);
  margin-bottom: 1.1rem;
}
.audience-icon svg { width: 20px; height: 20px; }
.audience-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.audience-card p { color: var(--graphite-soft); font-size: 0.94rem; }

.election-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.75rem;
  transition: background-color 0.2s var(--ease);
}
.election-banner:hover { background: var(--ink-soft); }
.election-banner + .election-banner { margin-top: 1rem; }
.election-banner-text { font-size: 0.96rem; color: rgba(255,255,255,0.85); }
.election-banner-text strong { color: var(--white); }
.election-banner-cta {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
}

/* ==========================================================================
   Showcase
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.showcase-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--mist);
  background: var(--white);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.showcase-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,42,82,0.12); }
.showcase-browser { background: var(--paper-alt); }
.showcase-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid var(--mist);
}
.showcase-dots { display: flex; gap: 5px; }
.showcase-dots i { width: 7px; height: 7px; background: var(--mist-strong); display: block; }
.showcase-url { font-family: var(--font-mono); font-size: 0.75rem; color: var(--graphite-soft); }
.showcase-img-wrap, .showcase-browser img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top;
}
.showcase-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem;
}
.showcase-meta span:first-child { font-weight: 600; font-size: 0.95rem; }
.showcase-visit { font-family: var(--font-mono); font-size: 0.8rem; color: var(--orange-dark); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-cta { margin-bottom: 2.75rem; }
.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.contact-channel:hover { border-color: var(--orange); background: rgba(255,255,255,0.03); }
.contact-channel:hover .contact-channel-icon { color: var(--orange); border-color: var(--orange); }
.contact-channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--line);
  color: var(--line-text);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact-channel-icon svg { width: 18px; height: 18px; }
.contact-channel-text { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.contact-channel-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--line-text);
}
.contact-channel-value {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Bento variant — used on local landing pages (e.g. znojmo.html) that have
   a 5th contact channel (address) and need the phone number to fit */
.contact-channels--bento { display: flex; flex-direction: column; gap: 1rem; }
.contact-channels-featured,
.contact-channels-rest { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 700px) {
  .contact-channels-featured { grid-template-columns: repeat(2, 1fr); }
  .contact-channels-rest { grid-template-columns: repeat(3, 1fr); }
}
.contact-channel--lg { padding: 1.4rem 1.6rem; gap: 1.1rem; }
.contact-channel--lg .contact-channel-icon { width: 42px; height: 42px; }
.contact-channel--lg .contact-channel-icon svg { width: 20px; height: 20px; }
.contact-channel--lg .contact-channel-value { font-size: 1.05rem; white-space: normal; }

/* ==========================================================================
   Modal / wizard
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 45, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 1000;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10,22,45,0.35);
}
.modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--mist);
}
.modal-back, .modal-close {
  background: none;
  border: none;
  color: var(--graphite-soft);
  padding: 0.3rem;
  display: flex;
}
.modal-back:hover, .modal-close:hover { color: var(--ink); }
.modal-progress { flex-grow: 1; }
.step-counter { font-family: var(--font-mono); font-size: 0.78rem; color: var(--graphite-soft); display: block; margin-bottom: 0.4rem; }
.progress-track { height: 4px; background: var(--mist); overflow: hidden; }
.progress-fill { height: 100%; width: 50%; background: var(--orange); transition: width 0.3s var(--ease); }

.modal-body { padding: 1.75rem; overflow-y: auto; }
.wizard-step { display: none; }
.wizard-step--active { display: block; }
.wizard-step h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.option-card {
  position: relative;
  border: 1.5px solid var(--mist);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.option-card--wide { grid-column: span 2; }
.option-card:hover { border-color: var(--ink); }
.option-card strong { display: block; font-size: 0.95rem; margin-bottom: 0.25rem; }
.option-card p { font-size: 0.84rem; color: var(--graphite-soft); }
.option-card--selected { border-color: var(--orange); background: var(--orange-tint); }
.option-card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--orange-dark);
  background: var(--orange-tint);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}
@media (max-width: 480px) { .cards-grid { grid-template-columns: 1fr; } .option-card--wide { grid-column: span 1; } }

.custom-input { margin-top: 1.1rem; }
.field-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.hint { font-weight: 400; color: var(--graphite-soft); }
.input, .textarea {
  width: 100%;
  border: 1.5px solid var(--mist);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--graphite);
  background: var(--white);
  transition: border-color 0.15s var(--ease);
}
.input:focus, .textarea:focus { border-color: var(--ink); outline: none; }
.input--error { border-color: #d9432e; }
.textarea { resize: vertical; }
.fields { display: flex; flex-direction: column; gap: 1.1rem; }
.fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .fields-row { grid-template-columns: 1fr; } }
.field-group { display: flex; flex-direction: column; }
.contact-note { font-size: 0.85rem; color: var(--graphite-soft); margin: 1.1rem 0 0; }
.wizard-nav { margin-top: 1.5rem; display: flex; justify-content: flex-end; }
.wizard-nav .btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.success { text-align: center; padding: 1.5rem 0.5rem; }
.success-icon { color: var(--orange); margin-bottom: 1rem; }
.success h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.success p { color: var(--graphite-soft); margin-bottom: 0.6rem; font-size: 0.95rem; }
.success a { color: var(--orange-dark); font-weight: 600; }

/* ==========================================================================
   FAQ (referral page)
   ========================================================================== */
.faq-list { max-width: 720px; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--mist);
  background: var(--white);
  padding: 0.2rem 1.5rem;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--orange-dark);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--graphite-soft); font-size: 0.95rem; padding: 0 0 1.15rem; max-width: 60ch; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink-deep); color: rgba(255,255,255,0.6); padding: 1.75rem 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-copy a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.footer-evalue { opacity: 0.8; transition: opacity 0.2s var(--ease); }
.footer-evalue:hover { opacity: 1; }
