/* ============================================
   Zdeněk Podaný - Webové stránky pro byznys
   Primární barva: #006DEC
   ============================================ */

:root {
  --primary: #006DEC;
  --primary-dark: #005bc4;
  --primary-light: #3d8ef7;
  --primary-soft: rgba(0, 109, 236, 0.08);
  --text: #1a1a2e;
  --text-muted: #5c5c7a;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e8ecf1;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 48px rgba(0, 109, 236, 0.12);
  --transition: 0.25s ease;
  --header-h: 72px;
  --hero-gap-under-nav: 10px;
  --hero-section-pad-bottom: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Navigace ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.logo:hover {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

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

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-cta {
  background-color: var(--primary);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 109, 236, 0.18);
  transition: background-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background-color: #16a34a;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.32);
  transform: translateY(-2px);
}

.nav-links a.nav-cta.active::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== Tlačítka ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 109, 236, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 109, 236, 0.4);
}

.btn-secondary {
  background: var(--bg-alt);
  color: var(--text);
  border: 2px solid var(--border);
}

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

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ========== Hero (jeden panel: fotka + gradient + text jako u Redesigner) ========== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: stretch;
  padding: calc(var(--header-h) + var(--hero-gap-under-nav)) 0 var(--hero-section-pad-bottom);
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--bg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  min-height: calc(
    100vh - var(--header-h) - var(--hero-gap-under-nav) - var(--hero-section-pad-bottom)
  );
  min-height: calc(
    100dvh - var(--header-h) - var(--hero-gap-under-nav) - var(--hero-section-pad-bottom)
  );
  box-shadow:
    var(--shadow-lg),
    0 28px 80px rgba(0, 109, 236, 0.2);
  border: 1px solid rgba(0, 109, 236, 0.12);
}

.hero-panel-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-panel-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* zarovnání blíž k hornímu okraji, aby se na širším displeji neřízla hlava */
  object-position: 80% 12%;
}

.hero-panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 55%, rgba(0, 109, 236, 0.14) 100%),
    linear-gradient(
      90deg,
      #003d8a 0%,
      #004a9e 12%,
      rgba(0, 91, 196, 0.97) 26%,
      rgba(0, 109, 236, 0.88) 38%,
      rgba(0, 109, 236, 0.52) 48%,
      rgba(0, 109, 236, 0.2) 56%,
      rgba(0, 109, 236, 0.06) 66%,
      transparent 78%
    );
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel-img {
    transform: none;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  max-width: min(680px, 78%);
  padding-top: clamp(40px, 6vw, 76px);
  padding-bottom: clamp(40px, 6vw, 76px);
  padding-right: clamp(28px, 4vw, 56px);
  padding-left: clamp(48px, 8vw, 112px);
  overflow-wrap: break-word;
  text-align: left;
}

@media (max-width: 960px) {
  .hero .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-panel {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-panel-img {
    object-position: 72% 15%;
  }

  .hero-panel-overlay {
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 20%,
      rgba(0, 109, 236, 0.18) 40%,
      rgba(0, 109, 236, 0.65) 60%,
      rgba(0, 91, 196, 0.92) 80%,
      rgba(0, 61, 138, 0.98) 100%
    );
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    padding-top: clamp(44px, 8vw, 64px);
    padding-bottom: clamp(44px, 8vw, 64px);
    padding-left: clamp(28px, 6vw, 40px);
    padding-right: clamp(28px, 6vw, 40px);
  }

  .hero-title {
    text-wrap: balance;
  }

  /* vyšší specificita než pozdější .hero-subtitle { font-size: 1.25rem } */
  .hero-panel .hero-subtitle {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-panel .hero-cta-micro {
    font-size: 13px;
  }
}

/* Typografie a tlačítka na modrém panelu */
.hero-panel .hero-title {
  color: #fff;
}

.hero-panel .hero-title .highlight {
  color: #c5e0ff;
}

.hero-panel .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.hero-panel .hero-cta-micro {
  color: rgba(255, 255, 255, 0.72);
}

.hero-panel .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.hero-panel .btn-primary:hover {
  background: #f0f6ff;
  color: var(--primary-dark);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.14);
}

.hero-panel .btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.88);
}

.hero-panel .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* Hero title = LCP element – rychlejší animace (0.4s) pro lepší LCP */
.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fadeInUp 0.4s ease forwards;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 680px;
  animation: fadeInUp 0.4s ease 0.05s forwards;
}

.hero-cta-wrap {
  animation: fadeInUp 0.4s ease 0.1s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}

.hero-cta-micro {
  margin: 10px 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 520px;
}

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

/* ========== Metriky ========== */
.metrics-bar {
  padding: 48px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.metric-item {
  padding: 0 24px;
}

.metric-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ========== Sekce ========== */
.section {
  padding: 100px 0;
}

.section:nth-child(even) {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

/* ========== Služby ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--bg);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* ========== Jak spolupracujeme ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.process-step {
  text-align: center;
  padding: 32px 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
}

.process-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .section-cta {
    margin-top: 40px;
  }
}

/* ========== O mně ========== */
.about .section-title {
  margin-bottom: 48px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 40px 48px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}

.about-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.about-body {
  max-width: 640px;
  margin: 0;
  min-width: 0;
}

@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
  }

  .about-photo {
    max-width: 260px;
    width: 100%;
  }

  .about-body {
    max-width: 640px;
    margin: 0 auto;
  }
}

.about-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 1.25em;
}

.about-body p:last-child {
  margin-bottom: 0;
}

/* ========== Proč má kvalitní web smysl (porovnání) ========== */
/* Dvě třídy = stejná specificita jako .section:nth-child(even); toto pravidlo je v souboru později → tmavé pozadí zůstane */
.section.comparison {
  background: var(--text);
  color: rgba(255, 255, 255, 0.9);
}

.comparison .section-title {
  color: white;
}

.comparison .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.comparison-table {
  max-width: 800px;
  margin: 0 auto 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-weight: 700;
  font-size: 1.1rem;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-cell {
  padding: 20px 24px;
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.comparison-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.comparison-icon--cross {
  color: #ef4444;
}

.comparison-icon--cross::before {
  content: '✗';
}

.comparison-icon--check {
  color: #22c55e;
}

.comparison-icon--check::before {
  content: '✓';
}

.comparison-cell-label {
  display: none;
}

.comparison-cell--negative {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-cell--positive {
  background: rgba(0, 109, 236, 0.2);
  color: white;
}

.comparison-header .comparison-cell--negative {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.comparison-header .comparison-cell--positive {
  background: var(--primary);
  color: white;
}

.comparison-scenario {
  max-width: 560px;
  margin: 0 auto 32px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.comparison-scenario p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

.comparison-cta-button {
  text-align: center;
  margin-bottom: 32px;
}

.comparison-cta-button .btn {
  font-size: 0.9rem;
  padding: 12px 24px;
}

.comparison-cta {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* Mobil – karty místo tabulky, každé porovnání samostatně */
@media (max-width: 640px) {
  .comparison-table {
    border: none;
    display: block;
  }

  .comparison-header {
    display: none;
  }

  .comparison-row {
    display: block;
    grid-template-columns: unset;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
  }

  .comparison-row:last-child {
    margin-bottom: 0;
  }

  .comparison-cell {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .comparison-cell-label {
    display: block;
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-basis: 100%;
    order: -1;
  }

  .comparison-cell {
    flex-wrap: wrap;
  }

  .comparison-cell-label {
    flex-basis: 100%;
    order: -1;
  }

  .comparison-cell--negative {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .comparison-cell--negative .comparison-cell-label {
    color: rgba(239, 68, 68, 0.9);
  }

  .comparison-cell--positive .comparison-cell-label {
    color: rgba(34, 197, 94, 0.95);
  }

  .comparison-scenario {
    padding: 20px 20px;
  }

  .comparison-scenario p {
    font-size: 1rem;
  }

  .comparison-cta {
    font-size: 1rem;
  }
}

/* ========== Ukázky realizovaných webů ========== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  cursor: pointer;
}

.showcase-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.showcase-card:hover .showcase-card-link {
  color: var(--primary);
}

.showcase-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
}

.showcase-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-card-image img {
  transform: scale(1.03);
}

.showcase-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 109, 236, 0.85);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity var(--transition);
  padding: 8px;
  text-align: center;
}

.showcase-card:hover .showcase-card-overlay {
  opacity: 1;
}

.showcase-card-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.showcase-card-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--text);
}

.showcase-card-link {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.showcase-card-story {
  margin: 8px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
}

.showcase-cta {
  text-align: center;
  margin-top: 40px;
}

/* Tablet: 2 sloupce */
@media (max-width: 1100px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .showcase-card-title {
    font-size: 1.05rem;
  }

  .showcase-card-story {
    font-size: 0.84rem;
  }
}

@media (max-width: 768px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .showcase-cta {
    margin-top: 32px;
  }

  .showcase-card-image {
    aspect-ratio: 16 / 10;
  }

  .showcase-card-overlay {
    font-size: 0.95rem;
  }

  .showcase-card-info {
    padding: 16px 18px 18px;
    gap: 4px;
  }

  .showcase-card-title {
    font-size: 1.05rem;
  }

  .showcase-card-link {
    font-size: 0.875rem;
  }

  .showcase-card-story {
    margin-top: 8px;
    padding-top: 10px;
    font-size: 0.8125rem;
  }
}

/* ========== Reference (karusel) ========== */
.testimonials-carousel {
  margin: 8px auto 0;
  max-width: 900px;
}

.testimonials-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  outline: none;
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}

.testimonials-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.testimonials-carousel-viewport:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-carousel-viewport {
    scroll-behavior: auto;
  }
}

.testimonials-track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.testimonials-slide {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--testimonials-slide-w, 100%);
  width: var(--testimonials-slide-w, 100%);
  min-height: 1px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.testimonials-slide .testimonial-card {
  flex: 1;
  width: 100%;
}

.testimonials-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.testimonials-carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.testimonials-carousel-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.testimonials-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.testimonials-carousel-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.testimonials-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.testimonials-carousel-dot:hover {
  background: var(--primary-light);
}

.testimonials-carousel-dot.is-active {
  background: var(--primary);
  transform: scale(1.2);
}

.testimonial-card {
  position: relative;
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card::before {
  content: '”';
  position: absolute;
  top: 8px;
  right: 24px;
  font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.08;
}

.testimonial-text {
  position: relative;
  z-index: 1;
  font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-style: normal;
  margin-bottom: 24px;
  color: #5b5b5b;
  font-size: 19px;
  line-height: 1.6;
}

.testimonial-author {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.testimonial-author-info {
  display: block;
}

.testimonial-author strong {
  color: var(--text);
  font-weight: 600;
}

.testimonial-author a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  display: inline-block;
  margin-top: 4px;
}

.testimonial-author a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 24px;
  }

  .testimonial-text {
    font-size: 16px;
    line-height: 1.55;
  }

  .testimonials-carousel-controls {
    margin-top: 20px;
    gap: 16px;
  }
}

/* ========== Ceník ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.pricing-card {
  position: relative;
  background: var(--bg);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
}

.pricing-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.pricing-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: auto 0 0 0;
  text-align: left;
}

.pricing-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========== Proč méně za stejnou kvalitu (agentura vs já) ========== */
.value-compare {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.value-compare-panel {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.value-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.value-compare-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: rgba(26, 26, 46, 0.04);
  border-bottom: 1px solid var(--border);
}

.value-compare-table thead th:first-child {
  width: 22%;
  min-width: 120px;
}

.value-compare-table thead th:last-child {
  color: var(--primary);
  background: var(--primary-soft);
}

.value-compare-table tbody th,
.value-compare-table tbody td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.value-compare-table tbody tr:last-child th,
.value-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.value-compare-table tbody th {
  font-weight: 700;
  color: var(--text);
}

.value-compare-table tbody td {
  color: var(--text-muted);
}

.value-compare-highlight {
  background: var(--primary-soft);
  color: var(--text);
  font-weight: 700;
  border-left: 1px solid var(--border);
}

@media (max-width: 720px) {
  .value-compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .value-compare-table tbody tr {
    display: block;
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
  }

  .value-compare-table tbody tr:last-child {
    border-bottom: none;
  }

  .value-compare-table tbody th {
    display: block;
    width: 100%;
    padding: 16px 18px 8px;
    border-bottom: none;
    font-size: 0.9375rem;
  }

  .value-compare-table tbody td {
    display: block;
    width: 100%;
    padding: 12px 18px;
    border-bottom: none;
    border-left: none;
    background: transparent;
  }

  .value-compare-table tbody td.value-compare-highlight {
    background: var(--primary-soft);
  }

  .value-compare-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 6px;
  }
}

/* ========== FAQ ========== */
.faq {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--bg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item:hover {
  border-color: rgba(0, 109, 236, 0.25);
}

.faq-item.is-open {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.faq-question {
  position: relative;
  padding: 18px 48px 18px 20px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: '';
}

.faq-question::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-question::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.45s;
  border-top: 1px solid transparent;
  padding: 0 20px;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  border-top-color: var(--border);
}

.faq-answer p {
  margin: 0;
  min-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    padding 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.06s,
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.04s;
}

.faq-item.is-open .faq-answer p {
  opacity: 1;
  transform: translateY(0);
  padding-top: 16px;
  padding-bottom: 20px;
}

.faq .section-cta {
  margin-top: 36px;
}

.faq-cta-lead {
  max-width: 520px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 768px) {
  .faq-cta-lead {
    font-size: 1rem;
    margin-bottom: 18px;
    padding: 0 8px;
  }

  .faq-question {
    padding: 16px 44px 16px 16px;
    font-size: 0.9375rem;
  }

  .faq-question::after {
    right: 18px;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-answer p {
    font-size: 0.9rem;
    padding-bottom: 0;
  }

  .faq-item.is-open .faq-answer p {
    padding-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer {
    transition: none;
  }

  .faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
  }

  .faq-answer p {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faq-question::after {
    transition: none;
  }
}

/* ========== Scroll reveal efekt ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .reveal:nth-child(1) { transition-delay: 0s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.process-steps .reveal:nth-child(1) { transition-delay: 0s; }
.process-steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.process-steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.process-steps .reveal:nth-child(4) { transition-delay: 0.24s; }

.showcase-grid .reveal:nth-child(1) { transition-delay: 0s; }
.showcase-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.showcase-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.showcase-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.showcase-grid .reveal:nth-child(5) { transition-delay: 0.32s; }

.pricing-grid .reveal:nth-child(1) { transition-delay: 0s; }
.pricing-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.pricing-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.faq-list .faq-item.reveal:nth-child(1) { transition-delay: 0s; }
.faq-list .faq-item.reveal:nth-child(2) { transition-delay: 0.04s; }
.faq-list .faq-item.reveal:nth-child(3) { transition-delay: 0.08s; }
.faq-list .faq-item.reveal:nth-child(4) { transition-delay: 0.12s; }
.faq-list .faq-item.reveal:nth-child(5) { transition-delay: 0.16s; }
.faq-list .faq-item.reveal:nth-child(6) { transition-delay: 0.2s; }
.faq-list .faq-item.reveal:nth-child(7) { transition-delay: 0.24s; }

/* ========== Kontakt ========== */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color var(--transition);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235c5c7a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-feedback {
  max-width: 620px;
  margin: 24px auto 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
}

.form-feedback--success {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-feedback--error {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.contact-alternative {
  text-align: center;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-alternative a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.contact-alternative a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ========== Footer ========== */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .logo {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list li {
  display: flex;
  align-items: center;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition);
  font-size: 0.95rem;
}

.footer-list a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: 50%;
  transition: color var(--transition), background-color var(--transition), transform var(--transition);
}

.footer-social-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.footer-social-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 60px 0 24px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }
  
  .footer-brand .logo {
    font-size: 1.25rem;
  }
  
  .footer h4 {
    margin-bottom: 16px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .footer-list a:hover {
    transform: none;
  }
}

/* ========== Mobilní rychlé volání (FAB) ========== */
.call-fab {
  display: none;
}

@media (max-width: 768px) {
  .call-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 109, 236, 0.45);
    z-index: 90;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
    touch-action: manipulation;
  }

  .call-fab:hover,
  .call-fab:active {
    background: var(--primary-dark);
    transform: scale(1.06);
    box-shadow: 0 6px 26px rgba(0, 109, 236, 0.5);
  }

  .call-fab:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
  }

  .call-fab-icon {
    width: 26px;
    height: 26px;
  }

  /* Cookie lišta dole – FAB nepřekrývat tlačítka souhlasu */
  body:has(.cookie-consent:not([hidden])) .call-fab {
    bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }
}

/* ========== Mobilní menu (burger od 860px) ========== */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    --hero-gap-under-nav: 8px;
    --hero-section-pad-bottom: 16px;
    padding: calc(var(--header-h) + var(--hero-gap-under-nav)) 0 var(--hero-section-pad-bottom);
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 60px 0;
  }
}

/* ========== Cookie consent ========== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 20px 0;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  animation: cookieSlideUp 0.4s ease;
}

.cookie-consent[hidden] {
  display: none !important;
}

@keyframes cookieSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.cookie-consent-text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.cookie-consent-text a:hover {
  color: var(--primary-dark);
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cookie-consent-accept {
  flex-shrink: 0;
}

.cookie-consent-reject {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  padding: 10px 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cookie-consent-reject:hover {
  color: var(--text);
}

/* Tablet – začíná zalamování */
@media (max-width: 900px) {
  .cookie-consent-inner {
    gap: 20px;
  }

  .cookie-consent-text {
    font-size: 0.9rem;
  }
}

/* Mobil */
@media (max-width: 768px) {
  .cookie-consent {
    padding: 16px 0;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    text-align: center;
  }

  .cookie-consent-text {
    font-size: 0.875rem;
    min-width: unset;
  }

  .cookie-consent-actions {
    flex-direction: column;
    justify-content: stretch;
    gap: 12px;
  }

  .cookie-consent-accept {
    width: 100%;
    justify-content: center;
  }

  .cookie-consent-reject {
    padding: 10px 16px;
  }
}

/* Úzké displeje (malé telefony) */
@media (max-width: 380px) {
  .cookie-consent {
    padding: 12px 0;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .cookie-consent-text {
    font-size: 0.8125rem;
  }

  .cookie-consent-actions {
    gap: 8px;
  }
}

/* ========== Právní stránky (Zásady ochrany osobních údajů) ========== */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.legal-revised {
  margin-bottom: 40px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text);
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text);
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.legal-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.legal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.legal-back {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-back a {
  font-weight: 500;
}

/* ========== Stránka 404 ========== */
.page-404 {
  min-height: calc(100vh - 72px - 200px);
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
}

.page-404-content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.page-404-number {
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}

.page-404-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-404-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

@media (max-width: 768px) {
  .page-404 {
    padding: 100px 0 80px;
  }

  .page-404-actions {
    flex-direction: column;
  }

  .page-404-actions .btn {
    width: 100%;
  }
}
