/* ==========================================================================
   ASCAL — styles.css
   ========================================================================== */

/* === TOKENS === */

/* Světlé téma (default) */
:root {
  --bg:        #FAFAFC;
  --bg-alt:    #F2F2F6;
  --surface:   #FFFFFF;
  --text:      #0B0B0F;
  --text-dim:  #5A5A68;
  --accent:    #6C5CE7;
  --accent-2:  #A29BFE;
  /* akcent pro TEXT — ve světlém tmavší kvůli kontrastu, ve tmavém světlejší */
  --accent-text: #6C5CE7;
  --accent-soft: rgba(108, 92, 231, 0.10);
  --border:    rgba(11, 11, 15, 0.10);
  /* Výraznější oddělovací linky (FAQ, formulář) — ať nesplývají s gridem */
  --border-strong: rgba(11, 11, 15, 0.18);
  --grid:      rgba(11, 11, 15, 0.04);
  --card-shadow: 0 8px 30px rgba(11, 11, 15, 0.06);
  --nav-bg:    rgba(250, 250, 252, 0.8);
  --menu-bg:   rgba(250, 250, 252, 0.96);
  --overlay:   rgba(255, 255, 255, 0.92);
  --error:     #D64545;

  --font: "General Sans", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --pad-x: 24px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --section-pad: clamp(64px, 8vh, 120px);
}

/* Tmavé téma */
[data-theme="dark"] {
  --bg:        #0B0B0F;
  --bg-alt:    #131319;
  --surface:   #1A1A22;
  --text:      #F2F2F5;
  --text-dim:  #9A9AA8;
  --accent-text: #A29BFE;
  --accent-soft: rgba(108, 92, 231, 0.16);
  --border:    rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --grid:      rgba(255, 255, 255, 0.03);
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  --nav-bg:    rgba(11, 11, 15, 0.72);
  --menu-bg:   rgba(11, 11, 15, 0.96);
  --overlay:   rgba(11, 11, 15, 0.92);
  --error:     #FF6B6B;
}

/* === RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font);
  font-weight: 400;
  background-color: var(--bg);
  /* Jemný grid přes celé pozadí */
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

@media (min-width: 820px) {
  .container {
    padding-inline: 48px;
  }
}

/* === TYPOGRAFIE === */
h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  /* Pojistka proti ořezu dolních přesahů (j, ý, ě …) */
  padding-bottom: 0.1em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  padding-bottom: 0.1em;
}

/* === TLAČÍTKA === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background-color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease, box-shadow 0.25s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.35);
}

.btn--secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

/* === NAV === */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease,
    border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 820px) {
  .nav__inner {
    padding-inline: 48px;
  }
}

/* Logo — bílý symbol na fialové dlaždici + text ASCAL podle tématu */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  /* Dlaždice zůstává fialová v light i dark (stejně jako favicon) */
  background: #6C5CE7;
  box-shadow: var(--card-shadow);
}

.nav__logo svg {
  /* viewBox je ořezaný na samotný znak — výška elementu = vizuální výška znaku */
  height: 26px;
  width: auto;
}

.nav__logo path {
  fill: #FFFFFF;
}

.nav__logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
  transition: color 0.3s ease;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Přepínač témat */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: color 0.2s ease, border-color 0.2s ease,
    background-color 0.3s ease;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--accent);
}

.theme-toggle__sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--text);
}

.btn--nav {
  padding: 10px 22px;
  font-size: 0.9rem;
}

@media (min-width: 820px) {
  .nav__links {
    display: flex;
  }
}

/* Hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

@media (min-width: 820px) {
  .nav__burger {
    display: none;
  }
}

/* === MOBILNÍ MENU === */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--menu-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.mobile-menu__link {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mobile-menu__cta {
  margin-top: 12px;
}

/* === HERO (centrovaný) === */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 140px 0 64px;
  overflow: hidden;
}

/* Radiální glow za obsahem */
.hero__glow {
  position: absolute;
  top: -35%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 1100px);
  aspect-ratio: 1;
  background: radial-gradient(
    circle at center,
    rgba(108, 92, 231, 0.14) 0%,
    rgba(108, 92, 231, 0.04) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--card-shadow);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 28px;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* Řádky H1 — maska pro stagger animaci.
   padding-bottom dává masce prostor pro dolní přesahy písmen,
   záporný margin drží řádky vizuálně u sebe. */
.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.hero__line-inner {
  display: block;
}

.hero__line--accent .hero__line-inner {
  color: var(--accent);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

/* Floating karty tvrzení */
.hero__claims {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 840px;
  margin: 0 auto;
  text-align: left;
}

@media (min-width: 820px) {
  .hero__claims {
    grid-template-columns: repeat(4, 1fr);
  }
}

.claim-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  padding: 16px 18px;
}

.claim-card__icon {
  display: flex;
  color: var(--accent);
  margin-bottom: 8px;
}

.claim-card__title {
  font-weight: 600;
  font-size: 0.95rem;
}

.claim-card__sub {
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 820px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__left {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}

.footer__wordmark {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer__meta {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.footer__links .contact-link {
  font-size: 0.9rem;
}

/* === SEKCE (obecné) === */
.section {
  padding-block: var(--section-pad);
}

.section--alt {
  background-color: var(--bg-alt);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  transition: background-color 0.3s ease;
}

.section__header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section__header h2 {
  margin-bottom: 16px;
}

.section__subtitle {
  color: var(--text-dim);
  font-size: 1.05rem;
}

.badge {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 24px;
}

/* Nadpis sekce Služby — druhý řádek („Jeden výsledek — víc zákazníků.")
   se na desktopu nesmí lámat, proto širší hlavička než výchozích 640px */
#sluzby .section__header {
  max-width: 860px;
}

/* === SLUŽBY GRID === */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 820px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  overflow: hidden; /* fotka kopíruje zaoblené horní rohy karty */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(108, 92, 231, 0.18);
}

.service-card__photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.service-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card__photo img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .service-card__photo img {
    transition: none;
  }

  .service-card:hover .service-card__photo img {
    transform: none;
  }
}

/* Tmavý overlay — v dark módu zklidní světlejší fotky, v light vypnutý */
.service-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 11, 15, 0.05),
    rgba(11, 11, 15, 0.35)
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

[data-theme="dark"] .service-card__photo::after {
  opacity: 1;
}

.service-card__body {
  padding: 28px 32px 32px;
}

.service-card__title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.service-card__desc {
  color: var(--text-dim);
  margin-bottom: 20px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.service-card__arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card__arrow {
  transform: translateX(4px);
}

/* === NAV: aktivní odkaz === */
.nav__link--active {
  color: var(--text);
}

/* === PODSTRÁNKY: HERO === */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--section-pad) + 60px) 0 var(--section-pad);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 28px;
  transition: color 0.2s ease;
}

.breadcrumb:hover {
  color: var(--text);
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  max-width: 52ch;
}

/* === INFO KARTY (3 sloupce) === */
.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 820px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 28px;
}

.info-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* === TIMELINE === */
.timeline {
  position: relative;
  max-width: 640px;
  padding-left: 56px;
}

.timeline__steps {
  list-style: none;
}

.timeline__track {
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: var(--border);
}

.timeline__progress {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
  transform-origin: top;
  /* Statický fallback — JS s GSAP přepíše na scaleY(0) a kreslí podle scrollu */
  transform: scaleY(1);
}

.timeline__step {
  position: relative;
  padding-bottom: 48px;
}

.timeline__step:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -46px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}

.section--alt .timeline__dot {
  box-shadow: 0 0 0 4px var(--bg-alt);
}

.timeline__num {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-text);
  margin-bottom: 6px;
}

.timeline__step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline__step p {
  color: var(--text-dim);
  max-width: 46ch;
}

/* === CHECKLIST === */
.checklist-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 48px;
}

@media (min-width: 820px) {
  .checklist-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.checklist {
  list-style: none;
  display: grid;
  gap: 14px;
  align-content: start;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checklist svg {
  flex: none;
  margin-top: 5px;
  color: var(--accent-text);
}

/* === CENÍK / BALÍČKY === */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 980px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Dvoukartová varianta (ceník webů) — dvě stejné karty přes celý kontejner */
  .pricing-grid--two {
    grid-template-columns: 1fr 1fr;
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 36px 28px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease, color 0.3s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(108, 92, 231, 0.18);
}

/* Scale — zvýrazněná hlavní volba */
.price-card--featured {
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(108, 92, 231, 0.18);
}

@media (min-width: 980px) {
  .price-card--featured {
    transform: scale(1.03);
  }

  .price-card--featured:hover {
    transform: scale(1.03) translateY(-6px);
  }
}

/* Reels — vizuálně lehčí jednorázová nabídka */
.price-card--light {
  background: transparent;
  box-shadow: none;
}

.price-card__badge {
  position: absolute;
  top: -14px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.price-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 8px;
}

.price-card__tagline {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.price-card__price {
  margin-bottom: 28px;
}

.price-card__old {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 600;
}

.price-card__old s {
  text-decoration: line-through;
}

.price-card__new {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--accent-text);
}

.price-card__per {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-dim);
}

.price-card__maint {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 4px;
}

.price-card__pricenote {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Zvýrazněná položka checklistu (hlavní odlišnost balíčku) */
.checklist .is-hl {
  color: var(--accent-text);
  font-weight: 600;
}

.price-card__list {
  margin-bottom: 28px;
}

.price-card__cta {
  margin-top: auto;
  width: 100%;
}

.price-card__footnote {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}

/* Varianty Reels uvnitř karty */
.reels-options {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.reels-options li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.reels-options__count {
  font-weight: 600;
  font-size: 0.95rem;
}

.reels-options__price {
  font-weight: 700;
  color: var(--accent-text);
  justify-self: end;
}

.reels-options__time {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.pricing-notes {
  margin-top: 32px;
  display: grid;
  gap: 4px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* === BANNER 14 DNÍ === */
.banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-card);
  padding: clamp(48px, 7vw, 88px) 28px;
  text-align: center;
}

.banner h2 {
  color: #fff;
  margin-bottom: 16px;
}

.banner p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 54ch;
  margin: 0 auto 32px;
}

.btn--light {
  background: #fff;
  /* Vždy tmavý text — tlačítko sedí na accent gradientu v obou tématech */
  color: #0b0b0f;
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* === CTA FINÁLE === */
.cta-final {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-final h2 {
  margin-bottom: 16px;
}

.cta-final p {
  color: var(--text-dim);
  margin-bottom: 32px;
}

/* === PROBLÉM === */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 820px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.problem-item__num {
  display: block;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 18px;
}

.problem-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.problem-item p {
  color: var(--text-dim);
}

/* === O MNĚ === */
.about {
  max-width: 720px;
}

.about h2 {
  margin-bottom: 16px;
}

.about__text {
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* Varianta s fotkou zakladatele */
.about--photo {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 820px) {
  .about--photo {
    grid-template-columns: 340px 1fr;
    gap: 64px;
  }
}

.about__media img {
  width: 100%;
  max-width: 340px;
  height: auto; /* přebít prezentační height z HTML atributu */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
}

.about__content {
  max-width: 720px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.link-arrow:hover .service-card__arrow {
  transform: translateX(4px);
}

/* === KONTAKT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
  }
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-dim);
  max-width: 44ch;
  margin-bottom: 36px;
}

.contact-links {
  list-style: none;
  display: grid;
  /* menší mezera — výšku řádků teď tvoří padding odkazů (dotykové cíle) */
  gap: 2px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  /* min. ~44px dotykový cíl na mobilu */
  padding-block: 9px;
  min-height: 44px;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--accent-text);
}

.contact-link svg {
  flex: none;
  color: var(--accent-text);
}

/* === FORMULÁŘ === */
.contact-form {
  display: grid;
  gap: 28px;
}

.field {
  position: relative;
  padding-top: 16px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  padding: 10px 0;
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 12px 24px -16px rgba(108, 92, 231, 0.6);
}

.field label {
  position: absolute;
  left: 0;
  top: 26px;
  color: var(--text-dim);
  pointer-events: none;
  transition: top 0.25s ease, font-size 0.25s ease, color 0.25s ease;
}

.field:focus-within label,
.field.is-filled label {
  top: -2px;
  font-size: 0.75rem;
  color: var(--accent-text);
  letter-spacing: 0.06em;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239A9AA8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

.field select option {
  background: var(--surface);
  color: var(--text);
}

/* Honeypot — mimo obrazovku, ne display:none (boti to kontrolují) */
.field--hp {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.field__error {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.field.has-error .field__error {
  opacity: 1;
  transform: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error);
}

.field.has-error label {
  color: var(--error);
}

.form-submit {
  justify-self: start;
  min-width: 180px;
  gap: 10px;
}

.form-submit:disabled {
  cursor: default;
}

.form-submit.is-loading {
  opacity: 0.85;
}

.form-submit.is-loading:hover,
.form-submit.is-success:hover {
  transform: none;
  box-shadow: none;
  background: var(--accent);
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.form-note a {
  color: var(--accent-text);
  font-weight: 600;
}

.form-error {
  color: var(--error);
  font-size: 0.9rem;
}

.form-error a {
  font-weight: 600;
  text-decoration: underline;
}

/* Odkaz na zásady ve footeru */
.footer__legal {
  display: inline-flex;
  align-items: center;
  /* min. ~44px dotykový cíl */
  padding-block: 11px;
  min-height: 44px;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer__legal:hover {
  color: var(--text);
}

/* === FAQ (accordion) === */
.faq {
  border-top: 0.5px solid var(--border-strong);
}

.faq__item {
  border-bottom: 0.5px solid var(--border-strong);
  transition: border-color 0.2s ease;
}

/* Aktivní / hover řádek — linka v accent barvě */
.faq__item:hover,
.faq__item.is-open {
  border-bottom-color: var(--accent);
}

.faq__question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}

.faq__question:hover {
  color: var(--accent-text);
}

.faq__item.is-open .faq__question {
  color: var(--accent-text);
}

/* Ikona +/− kreslená v CSS — svislá čárka se při otevření otočí do vodorovné */
.faq__icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.faq__icon::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
}

.faq__icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
}

.faq__item.is-open .faq__icon::after {
  transform: rotate(90deg);
}

/* Plynulá animace výšky přes grid-template-rows */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  overflow: hidden;
  visibility: hidden;
  padding-right: 38px;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 72ch;
  transition: visibility 0.3s;
}

.faq__item.is-open .faq__answer-inner {
  visibility: visible;
  padding-bottom: 22px;
}

@media (prefers-reduced-motion: reduce) {
  .faq__answer,
  .faq__answer-inner,
  .faq__icon::before,
  .faq__icon::after {
    transition: none;
  }
}

/* === PŘECHODY MEZI TÉMATY === */
.info-card,
.plan-card,
.footer {
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}
