/* A1-ServisOken — sjednocený styl (global)
   Pozn.: tento soubor záměrně obsahuje jen základ (písmo + společné tokeny)
   aby zůstal zachovaný design jednotlivých sekcí. */

:root{
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* sjednocené rozestupy a radiusy */
  --section-space: 72px;
  --hero-radius: 36px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;

  /* společné stíny/okraje */
  --line: rgba(15, 23, 42, .12);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, .08);
  --shadow: 0 18px 40px rgba(16, 24, 40, .10);

  /* přístupnost */
  --focus: rgba(11, 116, 255, .35);
}

/* Akcentní barvy – utility třídy (pro proužky, ikonky, tlačítka) */
.accent-blue{ --accent1:#0B74FF; --accent2:#00C2FF; }
.accent-orange{ --accent1:#FF6A00; --accent2:#FFA800; }
.accent-green{ --accent1:#12B76A; --accent2:#2CE3A5; }
.accent-violet{ --accent1:#7C3AED; --accent2:#A855F7; }

/* Typický případ z praxe — fotka bez „glass/box“ pozadí
   (na stránkách služeb má sekce id="praxe") */
#praxe .process-image,
.process-image--plain{
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
body{ font-family: var(--font-sans); background: var(--bg, #ffffff); color: var(--text, #0b1220); }
button, input, textarea, select{ font-family: var(--font-sans); }

body{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4{ letter-spacing: -0.02em; }

p{ line-height: 1.65; }

:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 12px;
}

::selection{
  background: rgba(11,116,255,.18);
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* === Služby: barevné akcenty v boxech (vodorovné čáry + různé ikonky/tlačítka) ===
   Sekce na podstránkách služeb:
   - #proc-servis (Proč je důležitý servis oken)
   - #pro-koho    (Pro koho je služba)
   - #ceny        (Orientační ceny – bloky "Co je v ceně")
*/

/* Paleta (fallback i pro prohlížeče bez color-mix) */
:root{
  --a1-blue-1:#0B74FF; --a1-blue-2:#00C2FF;
  --a1-orange-1:#FF6A00; --a1-orange-2:#FFA800;
  --a1-green-1:#12B76A; --a1-green-2:#2CE3A5;
  --a1-violet-1:#7C3AED; --a1-violet-2:#A855F7;
}

/* 1) Přepnutí proužku: místo svislého vpravo → tlustý vodorovný dole */
#proc-servis .problem-card,
#pro-koho .problem-card,
#ceny .problem-card{
  padding-right: 20px !important;     /* už nepotřebujeme rezervu na svislý proužek */
  padding-bottom: 32px !important;    /* prostor nad spodní čárou */
}

#proc-servis .problem-card::after,
#pro-koho .problem-card::after,
#ceny .problem-card::after{
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  height: 12px !important;            /* tlustá vodorovná čára */
  border-radius: 0 0 22px 22px !important;
  background: linear-gradient(90deg, var(--accent1, var(--brand)), var(--accent2, var(--brand2))) !important;
  opacity: .92 !important;
}

/* 2) Jemné barevné "bubbles" v pozadí podle akcentu boxu */
@supports (background: color-mix(in srgb, #000 50%, transparent)){
  #proc-servis .problem-card::before,
  #pro-koho .problem-card::before,
  #ceny .problem-card::before{
    background:
      radial-gradient(closest-side at 18% 40%, color-mix(in srgb, var(--accent1, var(--brand)) 18%, transparent), transparent 65%),
      radial-gradient(closest-side at 88% 12%, color-mix(in srgb, var(--accent2, var(--brand2)) 16%, transparent), transparent 62%) !important;
  }
}

/* 3) Per‑box akcenty (ikony + čáry + tlačítko) */
#proc-servis .problems-grid > .problem-card:nth-child(1),
#pro-koho .problems-grid > .problem-card:nth-child(1),
#ceny .problems-grid > .problem-card:nth-child(1){
  --accent1: var(--a1-blue-1); --accent2: var(--a1-blue-2);
}
#proc-servis .problems-grid > .problem-card:nth-child(2),
#pro-koho .problems-grid > .problem-card:nth-child(2),
#ceny .problems-grid > .problem-card:nth-child(2){
  --accent1: var(--a1-orange-1); --accent2: var(--a1-orange-2);
}
#proc-servis .problems-grid > .problem-card:nth-child(3),
#pro-koho .problems-grid > .problem-card:nth-child(3),
#ceny .problems-grid > .problem-card:nth-child(3){
  --accent1: var(--a1-green-1); --accent2: var(--a1-green-2);
}

/* (bonus) Když by někde byly 4 boxy, 4. dostane fialový akcent */
#proc-servis .problems-grid > .problem-card:nth-child(4),
#pro-koho .problems-grid > .problem-card:nth-child(4),
#ceny .problems-grid > .problem-card:nth-child(4){
  --accent1: var(--a1-violet-1); --accent2: var(--a1-violet-2);
}

/* Ukázky prací (4 boxy) */
.work-samples .work-head{ margin-bottom: 14px; }
.work-samples .work-sub{ margin: 6px 0 0; opacity: .85; max-width: 70ch; }

.work-samples .samples-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1100px){
  .work-samples .samples-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .work-samples .samples-grid{ grid-template-columns: 1fr; }
}

.work-samples .sample-card{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
  padding: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.work-samples .sample-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(11,116,255,.22);
}

.work-samples .sample-media{
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(1200px 400px at 20% 10%, rgba(11,116,255,.18), transparent 60%),
    radial-gradient(900px 420px at 80% 30%, rgba(255,170,0,.16), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.62));
}

.work-samples .sample-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(0deg, rgba(15,23,42,.04) 1px, transparent 1px) 0 0 / 22px 22px;
  opacity: .55;
  pointer-events: none;
}

.work-samples .sample-badge{
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.78);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}

.work-samples .sample-icon{
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  color: rgba(15,23,42,.70);
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 10px 26px rgba(15,23,42,.10);
}

.work-samples .sample-hint{
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  color: rgba(15,23,42,.78);
  backdrop-filter: blur(10px);
}

.work-samples .sample-card h3{
  margin: 12px 0 6px;
  font-size: 1.05rem;
  line-height: 1.25;
}
.work-samples .sample-card p{
  margin: 0;
  opacity: .88;
  font-size: .95rem;
  line-height: 1.55;
}

/* Ukázky prací – tlustá vodorovná čára dole (každý box jiná barva) */
.work-samples .sample-card{
  position: relative;
  overflow: hidden;
  padding-bottom: 26px;
}
.work-samples .sample-card::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  background: linear-gradient(90deg, var(--accent1, #0B74FF), var(--accent2, #00C2FF));
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  pointer-events: none;
  opacity: .95;
}
/* Default akcenty podle pořadí (lze přebít třídou accent-*) */
.work-samples .samples-grid > .sample-card:nth-child(1){ --accent1:#0B74FF; --accent2:#00C2FF; }
.work-samples .samples-grid > .sample-card:nth-child(2){ --accent1:#FF6A00; --accent2:#FFA800; }
.work-samples .samples-grid > .sample-card:nth-child(3){ --accent1:#12B76A; --accent2:#2CE3A5; }
.work-samples .samples-grid > .sample-card:nth-child(4){ --accent1:#7C3AED; --accent2:#A855F7; }


/* Ukázky prací – pouze obrázky (4 boxy vedle sebe) */
.work-samples.work-samples--images .sample-card{
  padding: 0 !important;
  padding-bottom: 0 !important;
  text-decoration: none;
  color: inherit;
  display: block;
  overflow: hidden;
}
.work-samples.work-samples--images .sample-img{
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}


/* Ukázky prací – nekonečný pás (8 obrázků v jedné řadě) */
.work-samples.work-samples--carousel .work-carousel{
  --gap: 14px;
  --duration: 28s;
  position: relative;
  overflow: hidden;
  padding: 4px 0;
}

.work-samples.work-samples--carousel .work-carousel::before,
.work-samples.work-samples--carousel .work-carousel::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  z-index: 2;
  pointer-events: none;
  opacity: .9;
}

.work-samples.work-samples--carousel .work-carousel::before{
  left: 0;
  background: linear-gradient(90deg, var(--bg, #ffffff) 0%, rgba(255,255,255,0) 100%);
}

.work-samples.work-samples--carousel .work-carousel::after{
  right: 0;
  background: linear-gradient(270deg, var(--bg, #ffffff) 0%, rgba(255,255,255,0) 100%);
}

.work-samples.work-samples--carousel .work-track{
  display: flex;
  width: max-content;
  will-change: transform;
  animation: a1WorkMarquee var(--duration) linear infinite;
}

.work-samples.work-samples--carousel .work-set{
  display: flex;
  gap: var(--gap);
  padding-right: var(--gap);
}

.work-samples.work-samples--carousel .work-item{
  flex: 0 0 auto;
  width: clamp(160px, 16vw, 240px);
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
}

.work-samples.work-samples--carousel .work-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.work-samples.work-samples--carousel .work-carousel:hover .work-track{
  animation-play-state: paused;
}

@keyframes a1WorkMarquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@media (max-width: 640px){
  .work-samples.work-samples--carousel .work-item{
    width: clamp(140px, 60vw, 220px);
  }
}

@media (prefers-reduced-motion: reduce){
  .work-samples.work-samples--carousel .work-track{
    animation: none !important;
    transform: none !important;
  }
  .work-samples.work-samples--carousel .work-carousel{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .work-samples.work-samples--carousel .work-carousel::before,
  .work-samples.work-samples--carousel .work-carousel::after{
    display: none;
  }
}

/* Ukázky zásahů (lokality) – tlustá vodorovná čára dole (každý box jiná barva) */
.refs-section .refs-card{
  position: relative;
  overflow: hidden;
  padding-bottom: 28px;
}
.refs-section .refs-card::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  background: linear-gradient(90deg, var(--accent1, #0B74FF), var(--accent2, #00C2FF));
  border-radius: 0 0 22px 22px;
  pointer-events: none;
  opacity: .95;
}
.refs-section .refs-grid > .refs-card:nth-child(1){ --accent1:#0B74FF; --accent2:#00C2FF; }
.refs-section .refs-grid > .refs-card:nth-child(2){ --accent1:#FF6A00; --accent2:#FFA800; }
.refs-section .refs-grid > .refs-card:nth-child(3){ --accent1:#12B76A; --accent2:#2CE3A5; }

/* Ukázky zásahů (homepage mini) – tlustá vodorovná čára dole (každý box jiná barva) */
.cases-mini-section .case-mini{
  padding-bottom: 34px;
}
.cases-mini-section .case-mini::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  background: linear-gradient(90deg, var(--accent1, #0B74FF), var(--accent2, #00C2FF));
  border-radius: 0 0 22px 22px;
  pointer-events: none;
  z-index: 0;
  opacity: .95;
}
.cases-mini-section .cases-mini-grid > .case-mini:nth-child(1){ --accent1:#0B74FF; --accent2:#00C2FF; }
.cases-mini-section .cases-mini-grid > .case-mini:nth-child(2){ --accent1:#FF6A00; --accent2:#FFA800; }
.cases-mini-section .cases-mini-grid > .case-mini:nth-child(3){ --accent1:#12B76A; --accent2:#2CE3A5; }


/* WhatsApp CTAs — zelené tlačítko napříč webem */
a.btn.whatsapp,
.btn.whatsapp,
a.btn[href*="wa.me"],
a.btn[href*="whatsapp.com"],
a.btn[href*="api.whatsapp.com"]{
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
}

a.btn.whatsapp:hover,
a.btn[href*="wa.me"]:hover,
a.btn[href*="whatsapp.com"]:hover,
a.btn[href*="api.whatsapp.com"]:hover{
  filter: brightness(0.95);
}

a.btn.whatsapp:focus-visible,
a.btn[href*="wa.me"]:focus-visible,
a.btn[href*="whatsapp.com"]:focus-visible,
a.btn[href*="api.whatsapp.com"]:focus-visible{
  outline: 3px solid rgba(37, 211, 102, .35);
  outline-offset: 2px;
}

/* Pokud je WhatsApp tlačítko ve variantě "ghost", přebijeme transparentní pozadí */
a.btn.ghost.whatsapp,
a.btn.ghost[href*="wa.me"],
a.btn.ghost[href*="whatsapp.com"],
a.btn.ghost[href*="api.whatsapp.com"]{
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
}

/* === Služby: Typický případ z praxe — každá „ikona“ (badge kroku) jiná barva ===
   Sekce má id="praxe" na podstránkách služeb. */

:root{
  --a1-rose-1:#E11D48;  --a1-rose-2:#FB7185;
  --a1-teal-1:#0891B2;  --a1-teal-2:#22D3EE;
}

#praxe .process-step:nth-child(1) .step-badge{
  background: linear-gradient(135deg, var(--a1-blue-1), var(--a1-blue-2)) !important;
  box-shadow: 0 18px 36px rgba(11,116,255,.22), 0 10px 22px rgba(0,0,0,.10) !important;
}
#praxe .process-step:nth-child(2) .step-badge{
  background: linear-gradient(135deg, var(--a1-orange-1), var(--a1-orange-2)) !important;
  box-shadow: 0 18px 36px rgba(255,106,0,.22), 0 10px 22px rgba(0,0,0,.10) !important;
}
#praxe .process-step:nth-child(3) .step-badge{
  background: linear-gradient(135deg, var(--a1-green-1), var(--a1-green-2)) !important;
  box-shadow: 0 18px 36px rgba(18,183,106,.22), 0 10px 22px rgba(0,0,0,.10) !important;
}
#praxe .process-step:nth-child(4) .step-badge{
  background: linear-gradient(135deg, var(--a1-violet-1), var(--a1-violet-2)) !important;
  box-shadow: 0 18px 36px rgba(124,58,237,.22), 0 10px 22px rgba(0,0,0,.10) !important;
}

/* Pokud je kroků víc, máme připravené další barvy */
#praxe .process-step:nth-child(5) .step-badge{
  background: linear-gradient(135deg, var(--a1-rose-1), var(--a1-rose-2)) !important;
  box-shadow: 0 18px 36px rgba(225,29,72,.22), 0 10px 22px rgba(0,0,0,.10) !important;
}
#praxe .process-step:nth-child(6) .step-badge{
  background: linear-gradient(135deg, var(--a1-teal-1), var(--a1-teal-2)) !important;
  box-shadow: 0 18px 36px rgba(8,145,178,.22), 0 10px 22px rgba(0,0,0,.10) !important;
}

/* === Jak probíhá servis / výjezd — různě barevné ikonky (badge kroku) ===
   Používá se na homepage + lokality (+ případně další stránky, kde je .process-section).
   Barva se mění dle pořadí kroku: 1 modrá, 2 oranžová, 3 zelená, 4 fialová, 5 růžová, 6 tyrkysová.
*/

.process-section .process-steps .process-step{
  --a1-step-a: 11,116,255;   /* blue */
  --a1-step-b: 0,194,255;
}
.process-section .process-steps .process-step:nth-child(2){ --a1-step-a: 255,106,0;  --a1-step-b: 255,168,0; }
.process-section .process-steps .process-step:nth-child(3){ --a1-step-a: 18,183,106; --a1-step-b: 44,227,165; }
.process-section .process-steps .process-step:nth-child(4){ --a1-step-a: 124,58,237; --a1-step-b: 168,85,247; }
.process-section .process-steps .process-step:nth-child(5){ --a1-step-a: 225,29,72;  --a1-step-b: 251,113,133; }
.process-section .process-steps .process-step:nth-child(6){ --a1-step-a: 8,145,178;  --a1-step-b: 34,211,238; }

/* Badge (ikona/číslo) */
.process-section .process-steps .process-step .step-badge{
  background: linear-gradient(135deg, rgba(var(--a1-step-a),1), rgba(var(--a1-step-b),1)) !important;
  box-shadow: 0 18px 36px rgba(var(--a1-step-a),.22), 0 10px 22px rgba(0,0,0,.10) !important;
}

/* Tečka na „timeline“ u kroku – ladí s barvou kroku */
.process-section .process-steps .process-step::before{
  border-color: rgba(var(--a1-step-a),.55) !important;
  box-shadow: 0 10px 20px rgba(var(--a1-step-a),.14) !important;
}



/* ========== Cookies (GDPR) ========== */
.a1-cc{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.a1-cc__inner{
  width: min(980px, 100%);
  pointer-events: auto;
  border-radius: 22px;
  padding: 14px 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(13,39,80,.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}
.a1-cc__title{
  font-weight: 800;
  letter-spacing: .2px;
  margin-bottom: 4px;
}
.a1-cc__desc{
  opacity: .92;
  line-height: 1.35;
  font-size: 14px;
}
.a1-cc__links{
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  opacity: .92;
}
.a1-cc__links a{ color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.a1-cc__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.a1-cc__actions .btn{ white-space: nowrap; }

.a1-cc-modal{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}
.a1-cc-modal.is-open{ display: block; }
.a1-cc-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
}
.a1-cc-modal__panel{
  position: relative;
  width: min(720px, calc(100% - 32px));
  margin: 7vh auto 0;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  overflow: hidden;
}
.a1-cc-modal__head{
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.a1-cc-modal__title{
  font-weight: 800;
}
.a1-cc-modal__x{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.a1-cc-modal__body{
  padding: 14px 18px;
  display: grid;
  gap: 12px;
}
.a1-cc-opt{
  border-radius: 18px;
  padding: 12px 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.7);
}
.a1-cc-opt__row{
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.a1-cc-opt__name{
  font-weight: 700;
}
.a1-cc-opt__desc{
  margin-top: 6px;
  font-size: 14px;
  opacity: .86;
  line-height: 1.35;
}
.a1-cc-opt__pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(13,39,80,.08);
  border: 1px solid rgba(13,39,80,.12);
}
.a1-cc-modal__foot{
  padding: 14px 18px 18px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid rgba(0,0,0,.08);
}

/* switch */
.a1-cc-switch{
  position: relative;
  width: 46px;
  height: 26px;
  display: inline-block;
}
.a1-cc-switch input{
  position: absolute;
  opacity: 0;
  inset: 0;
}
.a1-cc-slider{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(13,39,80,.18);
  border: 1px solid rgba(13,39,80,.20);
  transition: all .2s ease;
}
.a1-cc-slider:before{
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 2px;
  left: 2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,.18);
  transition: all .2s ease;
}
.a1-cc-switch input:checked + .a1-cc-slider{
  background: linear-gradient(180deg, var(--accent1,#FF6A00), var(--accent2,#FFA800));
  border-color: rgba(255,255,255,.35);
}
.a1-cc-switch input:checked + .a1-cc-slider:before{
  transform: translateX(20px);
}

@media (max-width: 720px){
  .a1-cc__inner{ grid-template-columns: 1fr; }
  .a1-cc__actions{ justify-content: flex-start; }
  .a1-cc-modal__panel{ margin-top: 10vh; }
}


/* ========== A1 — MOBILE FIXES (hero + proces) ========== */

/*
  1) HERO: na mobilech vznikal drobný horizontální overflow,
     protože šířka frame byla počítaná z vw (92vw) a nevešla se do
     vnitřního layoutu (hero-shell margin + container padding).

  2) JAK PROBÍHÁ SERVIS: při přepnutí na 1 sloupec se nenastavily
     grid-template-areas, což vytvářelo implicitní druhý sloupec a
     rozbíjelo layout (především na mobilech). Současně se časová osa
     posouvala (line vs. tečky).
*/

@media (max-width: 960px){
  .hero-media .frame{
    width: min(560px, 100%) !important;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px){
  .hero-actions .btn{
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 980px){
  /* PROCESS grid – jistý 1 sloupec bez implicitních tracků */
  .process-grid{
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "content"
      "media" !important;
  }

  /* Timeline alignment (line + blur + dot) */
  .process-steps::before,
  .process-steps::after,
  .process-step::before{
    left: 21px !important;
  }
}

/* ========== A1 — EXTRA MOBILE HARDENING (hero + proces + overflow) ========== */

@media (max-width: 980px){
  /* HERO: vždy 1 sloupec + žádné přetékání textu/odznaků */
  .hero{ grid-template-columns: 1fr !important; }
  .hero > *{ min-width: 0 !important; }
  .hero-left, .hero-media{ min-width: 0 !important; }

  h1.fade-in{
    max-width: none !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .hero-red{ white-space: normal !important; }

  .marquee-badge{ max-width: 100% !important; }
  .marquee{ min-width: 0 !important; }

  /* kdyby iOS zvětšoval text, ať se layout nezlomí */
  html{ -webkit-text-size-adjust: 100% !important; }

  /* PROCESS: zrušit sticky a dát vše na střed; CTA nesmí přetékat */
  .process-media{
    position: relative !important;
    top: auto !important;
    align-items: center !important;
  }
  .process-image{
    width: 100% !important;
    max-width: 520px !important;
    height: auto !important;
    margin: 0 auto !important;
  }
  .process-call--media .call-btn{
    width: 100% !important;
    max-width: 520px !important;
    justify-content: center !important;
  }
}

@media (max-width: 520px){
  /* HERO: menší padding, ať nevzniká "prázdný" prostor */
  .hero{ padding: 36px 0 30px !important; }
  .hero-media{ min-height: auto !important; }
}


/* ========== A1 — STICKY CTA BAR (mobile) ========== */

@media (max-width: 980px){
  /* aby CTA lišta nepřekryla obsah */
  body{ padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
}

@media (min-width: 981px){
  .sticky-cta{ display:none !important; }
}

.sticky-cta{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 120;
  width: min(720px, calc(100% - 24px));
  display: none;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 22px 60px rgba(2,6,23,.18);
}

@media (max-width: 980px){
  .sticky-cta{ display: flex; }
}

.sticky-cta a{
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .01em;
  border: 1px solid rgba(2,6,23,.10);
  color: rgba(2,6,23,.90);
  background: rgba(255,255,255,.90);
  box-shadow: 0 14px 30px rgba(2,6,23,.10);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.sticky-cta a:active{ transform: translateY(1px); }

.sticky-cta a.primary{
  border-color: rgba(255,106,0,.22);
  color: #fff;
  background: linear-gradient(135deg, var(--accent1,#FF6A00), var(--accent2,#FFA800));
  box-shadow: 0 16px 34px rgba(255,106,0,.20);
}

.sticky-cta a.whatsapp{
  border-color: rgba(37,211,102,.24);
  color: #fff;
  background: linear-gradient(135deg, #25D366, #1EBE57);
  box-shadow: 0 16px 34px rgba(37,211,102,.18);
}

.sticky-cta a.call{
  border-color: rgba(220,38,38,.24);
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 16px 34px rgba(220,38,38,.18);
}

.sticky-cta a:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(11,116,255,.18), 0 18px 40px rgba(2,6,23,.14);
}

@media (prefers-reduced-motion: reduce){
  .sticky-cta a{ transition: none; }
}


/* ===== A1 Sticky CTA (mobil) ===== */
.a1-sticky-cta{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  padding: 10px 12px;
  background: rgba(255,255,255,.86);
  border-top: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.a1-sticky-cta__inner{
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.a1-sticky-cta__inner .btn{
  flex: 1 1 0;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
}
@media (min-width: 900px){
  .a1-sticky-cta{ display:none; }
  body{ padding-bottom: 0 !important; }
}
@media (max-width: 899px){
  body{ padding-bottom: 78px; }
}
