/* =================================================================
   FERrenova — styles.css
   Moderní vizuál. Barvy se řídí proměnnými v :root (UPRAVTE zde).
   ================================================================= */

:root {
  /* ---- Barvy (UPRAVTE) – modrá paleta ------------------------- */
  --navy-950: #081726;   /* nejtmavší – hero overlay, CTA pruh, patička */
  --navy-900: #0E2740;
  --navy-800: #143A5E;
  --navy-700: #1B5286;
  --accent:   #2E86DE;   /* azurová – tlačítka, akcenty, čísla */
  --accent-600:#1E6FBF;  /* tmavší akcent (hover) */
  --accent-400:#5AA7EA;  /* světlejší akcent */
  --accent-50:#EAF3FC;

  /* ---- Gradienty & efekty ------------------------------------ */
  --grad-accent: linear-gradient(135deg, #35A0F0 0%, #2E86DE 45%, #1E6FBF 100%);
  --grad-text:   linear-gradient(120deg, #2E86DE 0%, #5AA7EA 100%);
  --grad-dark:   linear-gradient(150deg, #0E2740 0%, #081726 60%, #0B2138 100%);
  --glow-accent: 0 22px 48px -22px rgba(46,134,222,.55);

  --surface:  #FFFFFF;   /* karty */
  --bg:       #F6FAFE;   /* jemné pozadí stránky */
  --tint:     #EEF5FC;   /* jemné modré odlišení sekcí */
  --line:     #E4ECF5;   /* jemné linky / okraje */

  --ink:   #14202B;      /* základní text */
  --muted: #586978;      /* doplňkový text */
  --white: #ffffff;

  /* ---- Písma -------------------------------------------------- */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-hero: "Montserrat", "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* ---- Rozměry ------------------------------------------------ */
  --maxw: 1160px;
  --pad: clamp(1.1rem, 4vw, 2rem);
  --radius: 22px;
  --radius-lg: 28px;
  --radius-sm: 13px;
  --shadow: 0 30px 60px -30px rgba(11, 31, 51, .40);
  --shadow-sm: 0 14px 34px -20px rgba(11, 31, 51, .30);
  --shadow-glow: 0 30px 70px -34px rgba(46, 134, 222, .45);
  --header-h: 74px;
}

/* ============================ RESET ============================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: clamp(1rem, 0.97rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.07; letter-spacing: -0.025em; font-weight: 700; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--accent); color: #fff; }

/* ====================== POMOCNÉ TŘÍDY ========================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy-800); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em;
  font-size: .74rem; font-weight: 600; color: var(--accent-600); margin-bottom: 1rem;
  padding: .4rem .85rem; border-radius: 999px;
  background: var(--accent-50); border: 1px solid #d7e7f8;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(46,134,222,.18); }
.eyebrow--light { color: #cfe6ff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.eyebrow--light::before { background: #6fb4f2; box-shadow: 0 0 0 4px rgba(111,180,242,.22); }

/* ==================== SCROLL PROGRESS ======================== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 300; background: transparent; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--grad-accent); border-radius: 0 3px 3px 0; box-shadow: 0 0 12px rgba(46,134,222,.6); transition: width .1s linear; }

/* ============================ TLAČÍTKA ======================== */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .78rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.1;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), background .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s ease; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn--accent { background: var(--grad-accent); color: #fff; box-shadow: var(--glow-accent); }
.btn--accent:hover { box-shadow: 0 26px 50px -20px rgba(46,134,222,.7); }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.22); }
.btn--outline { background: rgba(255,255,255,.6); color: var(--accent-600); border-color: var(--line); backdrop-filter: blur(4px); }
.btn--outline:hover { border-color: var(--accent); background: var(--accent-50); }
.btn--phone { padding: .62rem 1.1rem; }
.btn--lg { padding: 1rem 1.85rem; font-size: 1.02rem; }
.btn--sm { padding: .62rem 1.2rem; font-size: .92rem; }
.btn--block { width: 100%; }

/* ============================ HLAVIČKA ======================== */
.site-header {
  position: sticky; top: 0; z-index: 100; min-height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(228,236,245,.8);
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 34px -20px rgba(11,31,51,.35); background: rgba(255,255,255,.88); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--navy-950); font-family: var(--font-display); font-weight: 700; transition: transform .2s ease; }
.brand:hover { transform: translateY(-1px); }
.brand__mark-img { height: 40px; width: auto; }
.brand__word-img { height: 22px; width: auto; }
.nav { display: flex; align-items: center; }
.nav__menu { display: flex; gap: clamp(.8rem, 2vw, 1.7rem); }
.nav__menu a { text-decoration: none; color: #33424f; font-weight: 500; font-size: .96rem; padding: .35rem 0; position: relative; transition: color .2s ease; }
.nav__menu a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--grad-accent); border-radius: 2px; transition: width .25s ease; }
.nav__menu a:hover { color: var(--navy-950); }
.nav__menu a:hover::after { width: 100%; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; background: transparent; border: 0; cursor: pointer; padding: 10px; }
.nav__toggle span { height: 2px; width: 100%; background: var(--navy-950); border-radius: 2px; transition: transform .25s, opacity .2s; }

/* ============================== HERO ========================== */
.hero { position: relative; min-height: clamp(580px, calc(100svh - var(--header-h)), 1040px); display: flex; align-items: flex-start; overflow: hidden; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 94%; transform: none; filter: saturate(1.06) brightness(0.99) contrast(1.03); }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1.02); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 82% 12%, rgba(46,134,222,.16) 0%, transparent 60%),
    linear-gradient(100deg, rgba(8,23,38,.9) 0%, rgba(8,23,38,.66) 30%, rgba(8,23,38,.34) 54%, rgba(8,23,38,.08) 78%, rgba(8,23,38,0) 100%),
    linear-gradient(0deg, rgba(8,23,38,.55) 0%, rgba(8,23,38,.12) 32%, rgba(8,23,38,0) 55%);
}
.hero__overlay::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 60% at 15% 90%, rgba(46,134,222,.22), transparent 60%);
  mix-blend-mode: screen;
}
.hero__inner { position: relative; z-index: 2; padding-top: clamp(1.75rem, 5vh, 3rem); padding-bottom: clamp(5rem, 12vh, 8rem); }
.hero__content { max-width: 500px; margin-left: 0; transform: translateX(0); }
.hero .eyebrow { margin-bottom: 1.6rem; white-space: nowrap; max-width: none; }
.hero__title { font-family: var(--font-hero); font-weight: 800; text-transform: uppercase; letter-spacing: 0; margin-bottom: 1.4rem; text-shadow: 0 2px 40px rgba(0,0,0,.35); }
.hero__title-main { display: block; font-size: clamp(1.85rem, 1rem + 3vw, 3.05rem); line-height: 1.02; }
.hero__title-sub { display: block; margin-top: .5rem; font-size: clamp(1.2rem, .82rem + 1.4vw, 2rem); font-weight: 700; line-height: 1.1; letter-spacing: 0; color: rgba(255,255,255,.94); }
.hero__lead { font-size: clamp(.95rem, .9rem + 0.3vw, 1.12rem); color: rgba(255,255,255,.9); max-width: 46ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero__usps { position: absolute; left: 0; right: 0; bottom: clamp(2.4rem, 6vh, 4rem); z-index: 3; margin-inline: auto; max-width: var(--maxw); padding-inline: var(--pad); display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .6rem .9rem; }
.hero__usps li {
  position: relative; padding: .5rem .95rem .5rem 2.2rem; font-weight: 500; font-size: .86rem; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero__usps li::before {
  content: ""; position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); width: 1.05rem; height: 1.05rem; background: var(--accent-400);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero__scroll { display: none; position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; place-items: start center; }
.hero__scroll span { width: 4px; height: 8px; margin-top: 7px; border-radius: 2px; background: #fff; animation: scrollDot 1.6s ease-in-out infinite; }
@keyframes scrollDot { 0%,100% { opacity: .2; transform: translateY(0); } 50% { opacity: 1; transform: translateY(9px); } }

/* ============================ SEKCE =========================== */
.section { position: relative; padding-block: clamp(3.6rem, 7vw, 6.5rem); }
.section--tint { background: var(--tint); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__title { font-size: clamp(1.95rem, 1.3rem + 2.1vw, 3rem); color: var(--navy-950); }
.section__intro { margin-top: .9rem; color: var(--muted); font-size: 1.08rem; }

/* ============================ KARTY (služby) ================== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.card--service { cursor: pointer; }

/* fotka v kartě */
.card__media { margin: -1.7rem -1.4rem 1.2rem; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.card:hover .card__media img { transform: scale(1.06); }

/* zvýrazněná klíčová slova v textu služeb */
.kw { color: var(--accent-600); font-weight: 600; }

/* podsvícení karty po kliknutí */
.card--service.is-active { border-color: transparent; transform: translateY(-8px);
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-glow); }
.card--service.is-active .card__icon { transform: translateY(-3px) scale(1.06); }
.card--service.is-active .card__title { color: var(--accent-600); }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(46,134,222,.5), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.card--service:hover { transform: translateY(-8px); box-shadow: 0 0 0 2px var(--accent-400), var(--shadow-glow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card__icon { display: none; }
.card:hover .card__icon { transform: translateY(-3px) rotate(-4deg) scale(1.06); }
.card__sub { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; font-weight: 600; color: var(--accent-600); margin-bottom: .35rem; }
.card__title { font-size: 1.34rem; margin-bottom: .55rem; color: var(--navy-950); }
.card p { color: var(--muted); }
.card__cta { margin-top: auto; }

/* zvýrazněná karta (specializace) */
.card--featured { border-color: transparent; box-shadow: var(--shadow-glow); background:
  linear-gradient(var(--surface), var(--surface)) padding-box,
  var(--grad-accent) border-box; border: 1.5px solid transparent; }
.card--featured::before { display: none; }
.card__badge { position: absolute; top: 1.2rem; right: 1.2rem; background: var(--grad-accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .32rem .75rem; border-radius: 999px; box-shadow: var(--glow-accent); }

/* ======================= JAK TO FUNGUJE ====================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step { position: relative; padding: 2.1rem 1.7rem 1.7rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step:hover::before { transform: scaleX(1); }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 2.9rem; line-height: 1; display: block; margin-bottom: .55rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step__title { font-size: 1.26rem; margin-bottom: .5rem; color: var(--navy-950); }
.step p { color: var(--muted); }
.step:not(:last-child)::after { content: ""; position: absolute; right: -0.85rem; top: 50%; width: 1.1rem; height: 2px; background: var(--line); z-index: 1; }

/* ============================ O MNĚ ========================== */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 3.6rem); align-items: center; }
.about__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 60%, rgba(8,23,38,.35)); pointer-events: none; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/6; }
.about__copy .section__title { margin-bottom: .5rem; }
.about__copy p { color: var(--muted); margin-top: 1rem; max-width: 48ch; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
.stats--band { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: 1000px; margin: 0 auto; }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--center .eyebrow { justify-content: center; }
.stat { position: relative; background: linear-gradient(160deg, #fff, var(--accent-50)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform .3s ease; }
.stat:hover { transform: translateY(-4px); }
.stat__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.15rem; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { display: block; margin-top: .4rem; font-size: .92rem; color: var(--muted); }

/* ============================ REFERENCE ====================== */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.03); }
.shot figcaption { padding: .95rem 1.2rem; color: var(--muted); font-size: .95rem; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.8rem; }
.quote { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.7rem 1.5rem; box-shadow: var(--shadow-sm); overflow: hidden; }
.quote::before { content: "\201C"; position: absolute; top: -.6rem; right: 1rem; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--accent); opacity: .12; }
.quote p { font-size: 1.08rem; color: var(--ink); }
.quote cite { display: block; margin-top: .9rem; font-style: normal; font-weight: 600; color: var(--muted); font-size: .92rem; }

/* ============================ CENÍK ========================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem 1.8rem; box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.price:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price--featured { background: var(--grad-dark); color: #fff; border-color: transparent; transform: scale(1.04); box-shadow: var(--shadow-glow); overflow: hidden; }
.price--featured::before { content: ""; position: absolute; top: -40%; right: -30%; width: 70%; height: 80%; background: radial-gradient(circle, rgba(46,134,222,.4), transparent 70%); pointer-events: none; }
.price--featured:hover { transform: scale(1.04) translateY(-8px); }
.price__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-accent); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .32rem .85rem; border-radius: 999px; white-space: nowrap; box-shadow: var(--glow-accent); z-index: 2; }
.price__name { font-size: 1.3rem; color: inherit; position: relative; }
.price--featured .price__name { color: #fff; }
.price__from { font-family: var(--font-body); color: var(--muted); margin-top: .5rem; font-size: 1rem; position: relative; }
.price--featured .price__from { color: rgba(255,255,255,.75); }
.price__from strong { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--navy-950); }
.price--featured .price__from strong { color: #fff; }
.price__desc { margin-top: .5rem; color: var(--muted); font-size: .96rem; position: relative; }
.price--featured .price__desc { color: rgba(255,255,255,.8); }
.price__list { margin: 1.3rem 0 1.7rem; display: grid; gap: .65rem; position: relative; }
.price__list li { position: relative; padding-left: 1.7rem; font-size: .96rem; }
.price__list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--accent-50); }
.price__list li::after { content: ""; position: absolute; left: .28em; top: .38em; width: .62rem; height: .62rem; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.price--featured .price__list li::before { background: rgba(111,180,242,.18); }
.price--featured .price__list li::after { background: #6fb4f2; }
.price .btn { margin-top: auto; position: relative; }
.price--featured .btn--accent { background: var(--grad-accent); }
.pricing__note { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: .9rem; }

/* ============================ CTA PRUH ======================= */
.cta-band { position: relative; background: var(--grad-dark); color: #fff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -50%; left: 60%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(46,134,222,.35), transparent 65%); pointer-events: none; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 100% at 10% 100%, rgba(46,134,222,.14), transparent 60%); pointer-events: none; }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; padding-block: clamp(2.8rem, 5vw, 4rem); }
.cta-band__title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); }
.cta-band__text { color: rgba(255,255,255,.85); margin-top: .5rem; max-width: 48ch; }

/* ============================ KONTAKT ======================== */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.6rem); align-items: start; }
.contact__intro p { color: var(--muted); margin-top: .8rem; max-width: 40ch; }
.contact__list { margin-top: 1.6rem; display: grid; gap: .9rem; }
.contact__list li { display: flex; align-items: center; gap: .85rem; color: var(--ink); }
.contact__list svg { color: var(--accent-600); flex: none; }
.contact__list li > svg { padding: .5rem; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-50); box-sizing: content-box; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--accent-600); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.3rem); box-shadow: var(--shadow-sm); }
.form__row { margin-bottom: 1rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--ink); }
.form input, .form textarea { width: 100%; font: inherit; color: var(--ink); padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-50); }
.form textarea { resize: vertical; min-height: 110px; }
.form__check { display: flex; align-items: flex-start; gap: .6rem; margin: .4rem 0 1.1rem; }
.form__check input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; accent-color: var(--accent-600); flex: none; }
.form__check label { font-weight: 400; font-size: .9rem; color: var(--muted); margin: 0; }
.form__err { display: block; color: #c0291f; font-size: .82rem; min-height: 1em; margin-top: .25rem; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #c0291f; }
.form__status { margin-top: .9rem; font-weight: 600; }
.form__status.is-ok { color: #1f7a3d; }
.form__status.is-bad { color: #c0291f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============================ PATIČKA ======================== */
.site-footer { position: relative; background: var(--navy-950); color: rgba(255,255,255,.78); padding-top: clamp(2.8rem, 5vw, 3.8rem); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: -30%; left: -10%; width: 50%; height: 120%; background: radial-gradient(circle, rgba(46,134,222,.12), transparent 65%); pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding-bottom: 2.2rem; }
.brand--footer { color: #fff; margin-bottom: .9rem; }
.brand--footer .brand__mark-img { height: 46px; }
.brand--footer .brand__word-img { height: 24px; }
.footer__brand p { max-width: 34ch; font-size: .95rem; }
.footer__ig { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; text-decoration: none; color: rgba(255,255,255,.85); font-weight: 500; transition: color .2s ease; }
.footer__ig:hover { color: var(--accent-400); }
.footer__heading { font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-400); margin-bottom: .9rem; font-weight: 600; }
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a { text-decoration: none; color: rgba(255,255,255,.8); transition: color .2s ease; }
.footer__col a:hover { color: var(--accent-400); }
.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.3rem; font-size: .88rem; }
.footer__bottom a { text-decoration: none; color: rgba(255,255,255,.8); }
.footer__bottom a:hover { color: var(--accent-400); }

/* ============================ 404 ============================ */
.errorpage { min-height: 72vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.errorpage__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 16vw, 8rem); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.errorpage h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); color: var(--navy-950); margin: .5rem 0 1rem; }
.errorpage p { color: var(--muted); max-width: 40ch; margin: 0 auto 1.8rem; }

/* ====================== DETAIL SLUŽBY ======================== */
.subhero { position: relative; background: var(--grad-dark); color: #fff; overflow: hidden; padding-block: clamp(2.6rem, 6vw, 4.4rem); }
.subhero::before { content: ""; position: absolute; top: -55%; left: 58%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(46,134,222,.35), transparent 65%); pointer-events: none; }
.subhero__inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 1.1rem; }
.breadcrumb a { color: #cfe6ff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: rgba(255,255,255,.5); }
.subhero__title { font-family: var(--font-hero); text-transform: uppercase; font-weight: 800; letter-spacing: 0; line-height: 1.03; font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.1rem); margin: .5rem 0; }
.subhero__lead { margin-top: 1rem; max-width: 56ch; color: rgba(255,255,255,.86); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
.subhero__actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 2rem; margin-top: .5rem; }
.checklist li { position: relative; padding-left: 1.9rem; color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .05em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--accent-50); }
.checklist li::after { content: ""; position: absolute; left: .28rem; top: .32em; width: .7rem; height: .7rem; background: var(--accent-600); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }

.ratelist { display: grid; margin-top: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.rate { display: flex; justify-content: space-between; align-items: baseline; gap: 1.4rem; padding: 1.05rem 1.4rem; border-top: 1px solid var(--line); }
.rate:first-child { border-top: 0; }
.rate:nth-child(even) { background: var(--accent-50); }
.rate__name { font-weight: 600; color: var(--ink); }
.rate__desc { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.rate__price { white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--accent-600); }
.detail-note { margin-top: 1.3rem; color: var(--muted); font-size: .9rem; }

/* ====================== ANIMACE / REVEAL ===================== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2), .pricing .reveal:nth-child(2) { transition-delay: .1s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3), .pricing .reveal:nth-child(3) { transition-delay: .2s; }
.cards .reveal:nth-child(4) { transition-delay: .3s; }
.hero .reveal { transition-delay: .05s; }
.hero__title.reveal { transition-delay: .12s; }
.hero__lead.reveal { transition-delay: .2s; }
.hero__actions.reveal { transition-delay: .28s; }
.hero__usps.reveal { transition-delay: .36s; }

/* ====================== PŘÍSTUPNOST / FOCUS ================== */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__media img { animation: none; transform: scale(1); }
}

/* ============================ RESPONZIVITA =================== */
@media (max-width: 980px) {
  .cards, .steps, .pricing { grid-template-columns: 1fr 1fr; }
  .stats--band { grid-template-columns: 1fr 1fr; }
  .card--wide { flex-direction: column; }
  .card--wide .card__media { flex: none; aspect-ratio: 16 / 9; border-radius: var(--radius) var(--radius) 0 0; }
  .hero__content { transform: none; }
  .pricing { gap: 1.2rem; }
  .price--featured { transform: none; }
  .price--featured:hover { transform: translateY(-8px); }
  .about, .contact { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .step:not(:last-child)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(255,255,255,.97); backdrop-filter: blur(12px); padding: .5rem var(--pad) 1rem; transform: translateY(-130%);
    transition: transform .3s cubic-bezier(.22,1,.36,1); box-shadow: var(--shadow); border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__menu { transform: translateY(0); }
  .nav__menu li { border-bottom: 1px solid var(--line); }
  .nav__menu a { display: block; padding: .9rem 0; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .btn--phone span { display: none; }
  .btn--phone { padding: .55rem .7rem; }
  .cards, .steps, .pricing, .gallery, .quotes, .stats, .form__grid, .checklist { grid-template-columns: 1fr; }
  .rate { padding: .9rem 1.1rem; }
  .hero .eyebrow { white-space: normal; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hero__media img { object-position: 72% 90%; }
  .hero__content { max-width: 100%; }
  .hero__title-main { font-size: clamp(1.55rem, 1rem + 3.6vw, 2.25rem); }
  .hero__title-sub { font-size: clamp(1.05rem, .78rem + 2.4vw, 1.5rem); }
  .hero__usps { gap: .45rem .5rem; bottom: clamp(1.4rem, 4vh, 2.4rem); }
  .hero__usps li { font-size: .78rem; padding: .42rem .7rem .42rem 1.9rem; }
}
