/* MAIN COLORS */
/* ORANGE: 
    HEX: #ed7d31
    RGB: rgba(237, 125, 49)
    HSL: hsl(24, 84, 56)
 */

 /* BLACK: 
    HEX: #000000
    RGB: rgba(0, 0, 0)
    HSL: hsl(0, 0, 0)
 */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --bg-dark: #171717;

  --panel: #ffffff;
  --panel-soft: #faf8f6;

  --ink: #1a1a1a;
  --muted: #666666;

  --line: #dddddd;
  --line-strong: #c9c9c9;

  --accent: #ed7d31;
  --accent-dark: #cf6620;
  --accent-soft: #fff1e6;

  --double: radial-gradient(circle at 0 0, #ed7d31, #7a3b12);

  --container: 1180px;

  --bg-foreground: #cf6620; /* Tmavé pozadí sekce */
  --text-primary-foreground: #ffffff; /* Hlavní barva textu */
  --text-muted: rgba(255, 255, 255, 0.6); /* Ztlumená barva pro popisky */
  --bg-primary: #3b82f6; /* Barva pro rozmazané dekorační kruhy */

  /* Přidej/uprav dle svého designu */
  --bg-background: #ffffff;
  --bg-card: #ffffff;
  --text-foreground: #09090b;
  --text-muted-foreground: #71717a;
  --color-primary: #3b82f6; 
  --color-border: #e4e4e7;
  --shadow-primary: rgba(59, 130, 246, 0.05); /* Pro stín při hoveru */
}



/* base */

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

html, body { margin: 0; padding: 0; }

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

a { color: inherit; }

/* layout */

.container {
  width: min(var(--container), 100% - 32px);
  margin-inline: auto;
}

.container-sluzby {
  width: min(var(--container), 100% - 50px);
  margin-inline: auto;
}


.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  z-index: 999;
}
.skip:focus { left: 8px; }

/* TOPBAR */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(13, 25, 45, 0.06);
  box-shadow: 0 2px 10px rgba(9, 24, 48, 0.08);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0
}

/* =========================================
   TOPBAR ROW (FIX PRO ROZPADÁVÁNÍ)
   ========================================= */
.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 8px;
  /* TOHLE ZABRÁNÍ ZALOMENÍ NA DRUHÝ ŘÁDEK ZA KAŽDOU CENU */
  flex-wrap: nowrap !important; 
  /* Zabrání přetékání mimo obrazovku, pokud se to tam fakt nevejde */
  max-width: 100vw; 
  overflow: hidden; 
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto; /* Zabrání zmačkání loga */
}
.brand__logo { 
  height: 22px; 
  width: auto; 
}

/* NAV + BURGER */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 10px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.nav-toggle__icon {
  width: 14px;
  height: 10px;
  position: relative;
  display: inline-block;
}
.nav-toggle__icon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink), 0 8px 0 var(--ink);
}

.nav {
  display: flex;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  align-items: center;
}

.nav a {
  position: relative;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 6px;
  color: var(--muted);
  white-space: nowrap; /* Zásadní: nedovolí zlomení textu */
}

.nav a:hover { 
  color: var(--ink); 
}

/* Příprava pro ostrou animovanou linku */
.nav a::after {
  content: "";
  position: absolute;
  bottom: 2px; 
  height: 2px; 
  background-color: var(--accent);
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  transition: width 0.25s ease-out; /* Animace pro běžný hover */
}

/* KDYŽ NAJEDEŠ MYŠÍ: Linka se plynule roztáhne */
.nav a:hover::after {
  width: calc(100% - 12px); 
}

/* AKTIVNÍ STRÁNKA: Text ztmavne */
.nav a[aria-current="page"] { 
  color: var(--ink); 
}

/* AKTIVNÍ STRÁNKA (LINKA): Objeví se okamžitě a zakáže se jí animace */
.nav a[aria-current="page"]::after {
  width: calc(100% - 12px); 
  transition: none !important; /* TÍMHLE ZABIJEME ANIMACI PO NAČTENÍ STRÁNKY */
}

/* CTA */
.topbar__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  flex: 0 0 auto;
  margin-left: auto;
}

/* PHONE CHIP (TVŮJ ORIGINÁL) */
.phone-chip {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--accent);
  text-decoration: none;
  min-width: 210px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  background-color: transparent;
  margin-right: 5px;
}

.phone-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.phone-chip:hover::before {
  opacity: 1;
}

.phone-chip:hover {
  box-shadow: 0 0 0 1px var(--accent);
}

.phone-chip__icon,
.phone-chip__text {
  position: relative;
  z-index: 2;
}

.phone-chip__icon {
  width: 26px; height: 26px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.phone-chip__icon svg { width: 100%; height: 100%; }

.phone-chip__text { display: flex; flex-direction: column; gap: 1px; }
.phone-chip__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  opacity: 0.8;
}
.phone-chip__number { font-size: 14px; font-weight: 800; }

/* =========================================
   BULLETPROOF TOPBAR FIX
   (Přepisuje všechny staré zalomovací nesmysly)
   ========================================= */

/* 1. Zamkneme hlavní řádek hlavičky */
.topbar__row {
  display: flex !important;
  flex-wrap: nowrap !important; /* Absolutní zákaz zalomení na nový řádek */
  align-items: center !important;
  justify-content: space-between !important;
}

/* 2. Zrušíme staré pravidlo 'width: 100%', které shazovalo tlačítko dolů */
.topbar__cta {
  width: auto !important; 
  flex: 0 0 auto !important;
  margin-left: auto !important;
  display: flex !important;
}

.brand {
  flex: 0 0 auto !important;
}

/* 3. Včasný zlom na Burger menu (1350px) - zabrání rvačce SEO textů s logem */
@media (max-width: 1350px) {
  .nav { display: none !important; }
  .nav-toggle { display: inline-flex !important; }
}

/* 4. Záchrana na malých mobilech - skryjeme text CTA a zůstane jen zelené sluchátko */
@media (max-width: 768px) {
  .phone-chip__text { display: none !important; }
  .phone-chip { min-width: auto !important; padding: 8px 12px !important; }
  .nav-toggle { font-size: 0 !important; padding: 8px !important; gap: 0 !important; }
  .nav-toggle__icon { margin: 0 !important; }
}

/* =========================================
   ŘEŠENÍ PŘETÉKÁNÍ (MEDIA QUERIES)
   ========================================= */

/* Fáze 1: Lehké smrsknutí na menších monitorech (cca 1300px - 1450px) */
@media (max-width: 1450px) {
  .nav {
    gap: 0; /* Zrušíme zbytečné mezery mezi odkazy */
  }
  .nav a {
    padding: 8px 6px; /* Zmenšíme vnitřní okraje odkazů */
    font-size: 13px; /* Zmenšíme font o 1px, pro SEO irelevantní, vizuálně pomůže hodně */
  }
  .topbar__row {
    gap: 1rem;
  }
}

/* Fáze 2: Agresivní Burger Breakpoint (cca 1200px)
   Když už se to opravdu nevejde, schováme to pod Burger dřív, 
   než to rozjebe hlavičku na dva řádky. */
@media (max-width: 1200px) {
  .nav {
    display: none; /* Skryjeme dlouhé menu */
  }
  .nav-toggle {
    display: inline-flex; /* Ukážeme Burger tlačítko */
  }
}

/* Fáze 3: Mobily - Záchrana CTA tlačítka */
@media (max-width: 640px) {
  .phone-chip {
    min-width: auto;
    padding: 6px 10px;
  }
  .phone-chip__text {
    display: none; /* Na malém mobilu se schová text a zůstane jen ikona telefonu */
  }
}



/* --- YOUR ORIGINAL BASE --- */
.btn {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.7em 3em;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0.5em;
  cursor: pointer;
  background: none;
  color: var(--ink);
  white-space: nowrap;
}

/* --- YOUR ORIGINAL PRIMARY TLAČÍTKO --- */
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0; 
  background: var(--double);
  opacity: 0; 
  z-index: -1; 
  transition: opacity 0.2s ease; 
}

.btn--primary:hover::before {
  opacity: 1;
}

/* --- YOUR ORIGINAL GHOST LIGHT TLAČÍTKO --- */
.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #ffffff;
  transition: background 0.2s ease, border-color 0.3s ease; 
}
.btn--ghost-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

/* --- YOUR ORIGINAL GHOST TLAČÍTKO --- */
.btn--ghost {
  border-color: var(--border);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.btn--ghost:hover { 
  border-color: rgba(18, 33, 47, 0.25); 
}

/* =========================================
   NEW MATERIAL UI EFFECTS (JS REQUIRED)
   ========================================= */

/* 1. THE HOVER SPOTLIGHT (Tracks mouse via --x and --y) */
.btn::after {
  content: '';
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  transform: translate(-50%, -50%);
  width: 150%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle closest-side, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1; /* Keeps it under the text but over your background */
}

/* Darker spotlight for the white ghost button so it's visible */
.btn--ghost::after {
  background: radial-gradient(circle closest-side, rgba(0, 0, 0, 0.08), transparent);
}

.btn:hover::after {
  opacity: 1;
}

/* 2. THE CLICK RIPPLE (Injected by JS) */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  background-color: rgba(255, 255, 255, 0.4); 
  pointer-events: none;
  z-index: -1; /* Keeps it under the text */
}

/* Darker ripple for the white ghost button */
.btn--ghost .ripple {
  background-color: rgba(0, 0, 0, 0.15);
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}


/* --------------------*/
/* --- FOOTER BASE --- */
/* --------------------*/

.footer {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* =========================================
   TOP SECTION (PARTNERS)
   ========================================= */
.footer__top {
  /* 1. THE GRADIENT: Starts pure white and gently fades to your soft gray */
  background: linear-gradient(to bottom, #ffffff 0%, #f4f4f4 100%);
  
  /* 2. THE ROUNDED EDGES: Curves only the top left and top right corners */
  border-top-left-radius: 2.5rem;
  border-top-right-radius: 2.5rem;
  
  /* 3. THE LIFT: Replaces the hard orange border with a soft, premium top-shadow */
  
  padding: 4rem 0;
}

.footer__partners-text {
  text-align: center;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #888888; /* Soft gray so it doesn't overpower the logos */
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 2.5rem 0;
}

.footer__partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Allows logos to wrap to the next line on mobile */
  gap: 3rem;
}

/* Premium Logo Layout (Full Color) */
.partner-logo {
  height: 40px; /* Keeps them all cleanly aligned */
  width: auto;
  max-width: 150px;
  
  /* We removed the grayscale filter so they are 100% recognizable */
  opacity: 0.9; /* Just a tiny bit faded so they don't scream at the user */
  transition: transform 0.3s ease, opacity 0.3s ease;
}


/* =========================================
   BOTTOM SECTION (COPYRIGHT)
   ========================================= */
/* =========================================
   BOTTOM SECTION (COPYRIGHT & INFO)
   ========================================= */
.footer__bottom {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 1.5rem 0;
  color: #ffffff;
  font-family: 'IBM Plex Sans', sans-serif;
}

/* Flexbox container for the 3 blocks */
.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  text-align: center;
}

/* On desktop, line them up horizontally */
@media (min-width: 1024px) {
  .footer__bottom-inner {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
  }
}

/* 1. Brand & Logo Styling */
.footer__brand {
  display: flex;
  align-items: center; /* Centers logo vertically with text */
  gap: 0.75rem;
}

.footer__logo {
  height: 1.25rem; /* Adjust this to make the logo smaller or larger */
  width: auto;
  /* If the logo is colored and looks weird on orange, 
     you can use: filter: brightness(0) invert(1); to make it pure white */
  display: block;
}

.footer__brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.footer__brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

.footer__brand-suffix {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
}

/* 2. Company Info (IČO, Address, ISO) */
.footer__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.95;
}

/* The divider dots */
.footer__dot {
  display: none; /* Hide dots on very small mobile screens */
  opacity: 0.5;
}

@media (min-width: 640px) {
  .footer__info {
    gap: 0.75rem;
  }
  .footer__dot {
    display: inline-block; /* Show dots on tablets and desktops */
  }
}

/* 3. Copyright Text */
.footer__copyright {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.8;
}

/* =========================================
   FOOTER COLUMNS (4-column nav grid)
   ========================================= */
.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 0 2rem;
  color: #ffffff;
}

@media (max-width: 900px) {
  .footer__columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.75rem;
}

.footer__col p {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.6;
  margin: 0 0 0.5rem;
  opacity: 0.9;
}

.footer__col a {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  margin-bottom: 0.4rem;
  transition: opacity 0.15s;
}

.footer__col a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 6px;
    border-top: 1px solid rgba(13,25,45,0.06);
  }
  .topbar[data-nav-open="true"] .nav { display: flex; }

  .topbar__cta {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    margin-left: 0;
  }
  .phone-chip { flex: 1 1 auto; min-width: 0; }
}

@media (max-width: 960px) {
  .hero__inner { padding-block: 40px; }
  .hero__highlights { flex-direction: column; }
  .contact { grid-template-columns: 1fr; }

  .pagegrid { grid-template-columns: 1fr; }
  .pagegrid__side { position: static; }

  .content-block__grid,
  .content-block__grid--flip {
    grid-template-columns: 1fr;
  }
  .content-block__grid--flip > * { order: unset !important; }
}

@media (max-width: 720px) {
  .brand__logo { height: 22px; }
}

.media__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Třída pro oranžový akcent */
.text-accent {
  color: #ed7d31;
}

/* Styl pro moderní pomlčku před kickerem */
.hero__kicker::before {
  margin-right: 10px;
  font-weight: bold;
}


/* =========================================
   SHARED COMPONENTS (sub-pages)
   ========================================= */

/* --- Breadcrumb --- */
.breadcrumb { padding: 14px 0; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 6px; }

/* --- Page intro (sub-pages, NOT hero) --- */
.page-intro { padding: 36px 0 32px; border-bottom: 1px solid var(--line); }
.page-intro h1 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.page-intro .sub { font-size: 16px; color: var(--muted); max-width: 620px; line-height: 1.6; }
.step-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.step-badge .num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

/* --- Content section (sub-page content blocks) --- */
.content-section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.content-section h2 { font-size: clamp(18px, 2.5vw, 22px); font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.content-section p { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; max-width: 680px; }
.content-section ul { list-style: none; padding: 0; margin: 0 0 16px; }
.content-section ul li { padding: 8px 0; font-size: 15px; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.content-section ul li .check { color: var(--accent); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.content-section ul li .detail { font-size: 13px; color: var(--muted); display: block; margin-top: 2px; }

/* --- Highlight box (info callout) --- */
.highlight-box {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px 18px 18px;
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.highlight-box::before {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ed7d31' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='16' x2='12' y2='12'/><line x1='12' y1='8' x2='12.01' y2='8'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.highlight-box p { font-size: 14px; color: var(--ink); line-height: 1.6; margin-bottom: 0; }
.highlight-box p strong { display: block; margin-bottom: 4px; font-size: 15px; }

/* --- Photo placeholder --- */
.photo-placeholder { background: var(--bg-soft); border: 1px dashed var(--line); border-radius: 8px; padding: 48px 24px; text-align: center; margin: 24px 0; color: var(--muted); font-size: 13px; }

/* --- Step navigation (prev/next) --- */
.step-nav { padding: 32px 0; border-bottom: 1px solid var(--line); }
.step-nav .inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.step-nav a { font-size: 14px; color: var(--ink); text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 6px; padding: 12px 20px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg-soft); transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.step-nav a:hover { border-color: var(--ink); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.step-nav .label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 2px; }
.step-nav .title { color: var(--ink); font-weight: 600; }

/* --- Page CTA (bottom of sub-pages) --- */
.page-cta { padding: 48px 0; text-align: center; background: var(--bg-soft); }
.page-cta h2 { font-size: clamp(20px, 2.5vw, 24px); font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.page-cta p { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.page-cta .ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* --- Mobile sticky bar --- */
.mobile-sticky { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; box-shadow: 0 -2px 8px rgba(0,0,0,0.06); }
.mobile-sticky .inner { display: flex; gap: 10px; max-width: 600px; margin: 0 auto; }
.mobile-sticky a { flex: 1; text-align: center; padding: 12px 8px; font-size: 14px; font-weight: 600; border-radius: 6px; text-decoration: none; }
.mobile-sticky .m-call { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.mobile-sticky .m-cta { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
@media (max-width: 768px) { .mobile-sticky { display: block; } body { padding-bottom: 70px; } }

/* --- Responsive: step-nav --- */
@media (max-width: 768px) { .step-nav .inner { flex-direction: column; } }


/* ==========================================================
   MOBILE FIX (2026-05-20) — hamburger + responsive content
   Tato sekce overrideuje starší konfliktní pravidla výše.
   ========================================================== */

/* Topbar nesmí klipovat dropdown menu */
.topbar__row {
  overflow: visible !important;
  position: relative;
}

/* Hamburger — větší tap target a viditelnější ikonka */
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  gap: 10px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
}
.nav-toggle:hover {
  border-color: var(--ink);
}
.nav-toggle__icon {
  width: 20px;
  height: 14px;
}
.nav-toggle__icon::before {
  height: 2.5px;
  box-shadow: 0 5px 0 var(--ink), 0 10px 0 var(--ink);
}

/* Otevřený stav burger — proměna ikony na "X" */
.topbar[data-nav-open="true"] .nav-toggle__icon::before {
  box-shadow: 0 5px 0 transparent, 0 10px 0 transparent;
  transform: rotate(45deg);
  top: 6px;
}
.topbar[data-nav-open="true"] .nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 999px;
  transform: rotate(-45deg);
}

/* Pod 1200 px je nav skrytý a otevírá se jako dropdown z topbaru */
@media (max-width: 1200px) {
  .nav {
    position: absolute !important;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: #ffffff;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 8px 16px 16px;
    gap: 0 !important;
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 18px rgba(9, 24, 48, 0.12);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    width: 100% !important;
  }

  .nav a {
    padding: 14px 12px !important;
    font-size: 16px;
    text-align: left;
    white-space: normal !important;
    border-bottom: 1px solid rgba(13, 25, 45, 0.05);
    color: var(--ink);
  }
  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none !important; }
  .nav a[aria-current="page"] {
    color: var(--accent);
    background: rgba(237, 125, 49, 0.06);
    padding-left: 16px !important;
    border-left: 3px solid var(--accent);
  }

  /* Otevřený stav přebije starší !important display:none */
  .topbar[data-nav-open="true"] .nav {
    display: flex !important;
  }
}

/* Mobile (< 768px) — kompaktní hlavička, schování textu CTA */
@media (max-width: 768px) {
  .topbar__row { gap: 0.5rem !important; padding-block: 4px; }
  .brand__logo { height: 24px; }
  .phone-chip {
    min-width: auto !important;
    padding: 10px 12px !important;
    min-width: 44px;
    min-height: 44px;
  }
  .phone-chip__text { display: none !important; }
  .phone-chip__icon { width: 22px; height: 22px; }

  /* Hamburger ikona-only — text "Menu" pryč */
  .nav-toggle {
    font-size: 0 !important;
    padding: 12px !important;
    gap: 0 !important;
  }
  .nav-toggle__icon { margin: 0 !important; }
}

/* Velmi malé telefony (< 380px) — ještě užší padding */
@media (max-width: 380px) {
  .topbar { padding: 0.25rem 0; }
  .brand__logo { height: 22px; }
  .nav-toggle, .phone-chip { padding: 10px !important; }
}

/* HERO — responzivní typografie a fullwidth tlačítka na mobilu */
@media (max-width: 768px) {
  .hero h1 { font-size: clamp(26px, 7vw, 36px) !important; line-height: 1.2; }
  .hero__kicker { font-size: 12px; letter-spacing: 0.08em; }
  .hero__lead { font-size: 15px; line-height: 1.55; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__actions .btn { width: 100%; padding: 14px 20px; font-size: 15px; }
}

/* Sekce a kontejnery — větší vzduch / menší padding */
@media (max-width: 768px) {
  .container, .container-sluzby { width: min(var(--container), 100% - 24px); }
  section { scroll-margin-top: 64px; }
}

/* Formuláře — větší tap target inputů na mobilu */
@media (max-width: 768px) {
  .form-group input, .form-group textarea, .form-group select {
    font-size: 16px !important; /* zabraní auto-zoomu na iOS */
    padding: 12px 14px;
  }
  .form-submit { padding: 16px 24px !important; font-size: 16px !important; }
}

/* Page-CTA tlačítka — stack na mobile */
@media (max-width: 600px) {
  .page-cta .ctas { flex-direction: column; align-items: stretch; }
  .page-cta .ctas .btn { width: 100%; }
}