/*
  Vizuálně atraktivní minimalistický design
  Paleta: #ffffff, #000000, #f3f3f3, #2b2b2b
  Fonty: Inter (primárně), Poppins (nadpisy)
  Důraz na white-space, kulaté rohy, jemné stíny, hover efekty
*/

:root {
  /* Zjemněná "bílá" pro světlé plochy a karty */
  --white: #f7f7f7;
  /* Čistě bílá pro text na tmavém pozadí / kontrastní prvky */
  --pure-white: #ffffff;
  --black: #000000;
  --light-gray: #f3f3f3;
  --dark-gray: #2b2b2b;
  --orange: #ff6b35;
  --orange-light: #ff8c61;
  --orange-dark: #e55a2b;
  --border: #e0e0e0;
  --container: 1140px;
  --radius: 16px;
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Navy/Gold palette */
  --navy-900: #0a1b33;
  --navy-800: #0d274a;
  --navy: #10345c;
  --gold: #d4af37;
  --gold-600: #b8942f;
  --gold-300: #e6c767;
}

* { box-sizing: border-box; margin: 0; padding: 0; box-shadow: none !important; text-shadow: none !important; }
/* Globální pozadí – jednolitý světlý tón */
html { 
  scroll-behavior: smooth; 
  background: var(--light-gray);
}

body {
  color: var(--dark-gray);
  background: transparent; /* Dědí globální pozadí z html */
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Loading screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  margin: 0 auto 24px;
  object-fit: cover;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--white);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 120px 0; border-radius: 0; }
section { border-radius: 0; }

h1, h2, h3 {
  margin: 0 0 20px;
  line-height: 1.2;
  color: var(--black);
  font-weight: 600;
}

h1 { font-family: 'Poppins', Inter, sans-serif; font-size: 56px; letter-spacing: -0.02em; }
h2 { font-family: 'Poppins', Inter, sans-serif; font-size: 40px; margin-bottom: 48px; letter-spacing: -0.01em; }
h3 { font-size: 22px; margin-bottom: 12px; }

p { margin: 0 0 16px; color: var(--dark-gray); opacity: 0.85; font-size: 17px; }

a { color: var(--black); transition: var(--transition); }
a:hover { color: var(--dark-gray); }

/* Header – zmenší se při scrollu */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--pure-white);
  border-bottom: 1px solid rgba(16,52,92,0.08);
  transition: padding 0.3s ease;
}
.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 80px;
  transition: height 0.3s ease;
}
.site-header.scrolled .header-inner { height: 64px; }

.logo { 
  color: var(--black); 
  text-decoration: none; 
  font-weight: 600; 
  font-size: 18px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
}
.logo-img {
  height: 64px;
  width: auto;
  border-radius: 8px;
  transition: var(--transition);
}
.site-header.scrolled .logo-img {
  height: 52px;
}
.nav a { 
  color: var(--dark-gray); 
  text-decoration: none; 
  margin-left: 32px; 
  font-size: 15px;
  font-weight: 500;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav a:hover::after { width: 100%; }

/* Header quick contacts */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  padding: 12px;
  cursor: pointer;
  transition: background 0.3s ease, opacity 0.3s ease;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 1002;
}
.menu-toggle:hover { 
  background: #ffffff; 
  opacity: 0.9;
}
.menu-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.menu-toggle.is-active { background: #ffffff; }
.menu-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}
.menu-line:not(:last-child) { margin-bottom: 0; }

.menu-toggle.is-active .menu-line:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 24px; }
.menu-toggle.is-active .menu-line:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .menu-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; }

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  padding: 96px 24px 48px;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.4s ease;
  z-index: 1001;
}
.mobile-nav.is-visible {
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-nav-links {
  display: grid;
  gap: 16px;
}
.mobile-nav-links a {
  color: var(--navy-900);
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 12px 24px;
  border-radius: 12px;
  background: transparent;
  transition: color 0.3s ease, background 0.3s ease;
  text-align: center;
}
.mobile-nav-links a:hover {
  background: rgba(0,0,0,0.05);
  color: var(--gold-600);
}
.mobile-nav-cta {
  display: grid;
  gap: 12px;
  color: var(--dark-gray);
  font-size: 15px;
  text-align: center;
}
.mobile-nav-cta .btn.primary {
  justify-content: center;
  font-size: 18px;
  padding: 16px 32px;
}
.mobile-nav-cta p { margin: 0; }

body.nav-open { overflow: hidden; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--navy-800);
  background: rgba(16,52,92,0.08);
  text-decoration: none;
  transition: var(--transition);
}
.icon-btn:hover {
  background: rgba(16,52,92,0.16);
}
.site-header.scrolled .icon-btn { background: rgba(16,52,92,0.12); }
.icon-svg { display: block; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.header-cta:hover {
  background: var(--gold-600);
}

/* Hero – čisté pozadí s fotografií */
.hero { 
  padding-top: 180px;
  padding-bottom: 160px;
  background: var(--navy-900) url('images/ed9a.jpeg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,27,51,0.6);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--pure-white); font-size: 62px; }
.hero .tagline { color: rgba(255,255,255,0.92); font-size: 22px; }
.hero p { color: rgba(255,255,255,0.9); }
.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: var(--gold-300);
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-highlights {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}
.hero-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-size: 16px;
  opacity: 0.9;
}
.hero-highlight .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 700;
}
.hero-availability {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
.hero-availability-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
}
.hero-availability-primary .icon-svg { color: var(--gold-300); }
.hero-availability-meta {
  font-size: 14px;
  opacity: 0.85;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.btn.secondary {
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  background: transparent;
  box-shadow: none;
}
.btn.secondary:hover {
  background: rgba(255,255,255,0.12);
}
.hero-trust {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.hero-trust img {
  height: 42px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.hero-trust .divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.2);
}

.value-strip { background: transparent; padding: 60px 0; }
.value-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.value-chip {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 32px;
  border: 2px solid transparent;
  display: grid;
  gap: 14px;
  text-align: left;
  transition: var(--transition);
}
.value-icon {
  font-size: 30px;
}
.value-chip h3 {
  margin: 0;
  font-size: 20px;
  color: var(--navy-900);
}
.value-chip p {
  margin: 0;
  color: rgba(16,52,92,0.75);
  font-size: 15px;
  line-height: 1.6;
}
.value-chip:hover {
  background: var(--white);
  border-color: var(--gold);
}

.floating-call {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--gold);
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  text-decoration: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}
.floating-call:hover {
  opacity: 0.9;
}

.grid-2 { 
  display: grid; 
  grid-template-columns: 1.2fr 0.8fr; 
  gap: 64px; 
  align-items: center; 
}
.tagline { 
  font-size: 20px; 
  line-height: 1.6;
  color: var(--dark-gray);
  opacity: 0.9;
  margin-bottom: 32px;
}
.cta-row { margin-top: 40px; }
.btn { 
  display: inline-block; 
  padding: 16px 40px; 
  border-radius: 999px; 
  text-decoration: none; 
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn.primary { 
  background: var(--gold); 
  color: var(--pure-white);
  border: none;
}
.btn.primary:hover { 
  background: var(--gold-600);
}

.hero-photo {
  perspective: 1000px; /* Nutné pro 3D transformace */
  display: flex;
  justify-content: center;
}
.photo-placeholder {
  width: 100%; 
  max-width: 420px;
  height: auto;
  aspect-ratio: 3/4;
  border-radius: 24px;
  border: 4px solid rgba(255,255,255,0.2);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: cover;
  object-position: top center;
}

/* Calm the hero photo (no animation) */
#hero-photo-parallax { transition: none !important; transform: none !important; }
#hero-photo-parallax:hover { transform: none !important; }

/* About – kontrastní světlá sekce s jemnou texturou */
.about { background: transparent; }
.about .grid-2 { grid-template-columns: 0.8fr 1.2fr; }
.about-highlights {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}
.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-highlight .bullet {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.about-highlight p {
  margin: 0;
  font-size: 15px;
  color: rgba(16,52,92,0.75);
}

/* Stats – číselné úspěchy */
.stats { background: transparent; padding: 120px 0; }
.text-center { text-align: center; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.stat-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--light-gray);
  border: 2px solid transparent;
  transition: var(--transition);
}
.stat-card:hover {
  background: var(--white);
  border-color: var(--gold);
}
.stat-card:hover .stat-number { color: var(--gold); }
.stat-card:hover .stat-label { color: var(--dark-gray); }
.stat-number {
  font-size: 56px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}
.stat-label {
  font-size: 15px;
  color: var(--dark-gray);
  opacity: 0.85;
  line-height: 1.4;
}
.stat-card .stat-meta {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(16,52,92,0.55);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.photo-portrait {
  width: 100%; 
  height: auto;
  max-height: 550px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}

/* Services – kontrastní sekce s texturou */
.services { background: transparent; position: relative; }
.services .container { position: relative; z-index: 1; }
.services h2 { text-align: center; }
.services .section-lead {
  max-width: 640px;
  margin: -32px auto 48px;
  text-align: center;
  color: rgba(16,52,92,0.75);
  font-size: 18px;
}
.service-card {
  background: var(--light-gray);
  border: 2px solid transparent; 
  border-radius: var(--radius);
  padding: 40px 28px; 
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.service-card:hover { 
  border-color: var(--gold);
  background: var(--white);
}
.service-card .icon { 
  font-size: 36px; 
  margin-bottom: 20px; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(16,52,92,0.08);
  transition: transform 0.4s ease, background 0.4s ease;
}
.service-card:hover .icon {
  background: rgba(16,52,92,0.18);
}

/* Process – postup spolupráce */
.process { background: transparent; position: relative; }
.process .container { position: relative; z-index: 1; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.process-card {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 32px;
  border: 2px solid transparent;
  transition: var(--transition);
}
.process-step {
  display: inline-block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--navy-900);
  font-weight: 600;
  margin-bottom: 12px;
}
.process-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--navy-900);
}
.process-card p {
  margin: 0;
  color: rgba(16,52,92,0.72);
}
.process-card:hover {
  background: var(--white);
  border-color: var(--gold);
}

/* Gallery – práce v obrazech */
.gallery { background: transparent; padding: 120px 0; }
.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--dark-gray);
  opacity: 0.8;
  margin: -32px auto 64px;
  max-width: 600px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.75);
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay h3 {
  color: var(--white);
  font-size: 18px;
  margin: 0 0 6px;
}
.gallery-overlay p {
  color: var(--white);
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

/* Testimonials – reference klientů */
.testimonials { background: var(--light-gray); padding: 120px 0; }

/* Specialization – specializace */
.specialization { background: transparent; padding: 120px 0; }
.specialization-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.spec-card {
  background: var(--light-gray);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
}
.spec-card:hover {
  border-color: var(--gold);
  background: var(--white);
}
.spec-icon {
  font-size: 52px;
  margin-bottom: 20px;
  display: block;
}
.spec-card h3 {
  font-size: 20px;
  color: var(--black);
  margin-bottom: 12px;
}
.spec-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark-gray);
  opacity: 0.85;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
}
.stars {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-author strong {
  color: var(--black);
  font-size: 16px;
}
.testimonial-author span {
  color: var(--dark-gray);
  opacity: 0.7;
  font-size: 14px;
}

.services-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 32px; 
  margin-top: 64px;
}

/* Footer – komplexní tmavý footer */
.site-footer { 
  border-top: none;
  padding: 64px 0 0; 
  background: var(--navy-900); 
  color: var(--white);
  position: relative;
}
.site-footer .container { position: relative; z-index: 1; }

/* Footer grid – 4 sloupce */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Logo & Slogan */
.footer-logo {
  height: 56px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 16px;
}

.footer-tagline {
  color: var(--white);
  opacity: 0.85;
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-copyright {
  color: var(--white);
  opacity: 0.7;
  font-size: 14px;
  line-height: 1.6;
}

/* Odkazy */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  font-size: 15px;
  transition: opacity 0.3s ease, padding-left 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 4px;
  color: var(--gold);
}

.footer-icon {
  margin-right: 8px;
  vertical-align: middle;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Adresa */
.footer-address {
  color: var(--white);
  opacity: 0.8;
  font-size: 15px;
  line-height: 1.8;
}

/* Upozornění */
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 24px 0;
  margin-bottom: 24px;
}

.footer-disclaimer p {
  color: var(--white);
  opacity: 0.7;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* Bottom bar */
.footer-bottom {
  padding-bottom: 32px;
  text-align: center;
}

.footer-bottom p {
  color: var(--white);
  opacity: 0.75;
  font-size: 14px;
  margin: 0;
}

.footer-bottom a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.footer-bottom a:hover {
  opacity: 1;
}

/* Visits section layout tweaks: center single stat card */
#visits .stats-grid {
  grid-template-columns: 1fr;
  justify-items: center;
}
#visits .stat-card {
  max-width: 360px;
  width: 100%;
}

/* Reveal animations – fade-in + slide-up */
.reveal { 
  opacity: 0; 
  transform: translateY(32px); 
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); 
}
.reveal.in-view { 
  opacity: 1; 
  transform: translateY(0); 
}

/* Směrové animace */
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-left.in-view, .reveal-right.in-view {
  transform: translateX(0);
}

/* Postupné animace pro potomky */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.in-view > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.in-view > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.in-view > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.in-view > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.in-view > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.in-view > *:nth-child(5) { transition-delay: 0.5s; }

/* Staggered delay pro služby */
.service-card { transition-delay: 0s !important; } /* Reset původního delaye */

/* Responsive */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .about .grid-2 { grid-template-columns: 1fr; }
  /* Prohození pořadí v sekci O mně: Text první, fotka druhá */
  .about .about-text { order: 1; }
  .about .about-photo { order: 2; }
  
  .hero { padding-top: 120px; padding-bottom: 100px; }
  .section { padding: 100px 0; }
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { gap: 16px; }
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .specialization-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .value-strip-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; margin-bottom: 32px; }
  .tagline { font-size: 18px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 100px; padding-bottom: 80px; }
  .header-inner { height: 64px; }
  .site-header.scrolled .header-inner { height: 56px; }
  .nav a { margin-left: 20px; font-size: 14px; }
  .photo-placeholder { height: auto; aspect-ratio: 4/3; object-fit: cover; }
  .photo-portrait { height: auto; aspect-ratio: 3/4; object-fit: cover; }
  
  /* Footer responzivita */
  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 32px; 
  }
  .footer-logo { height: 48px; }
  .site-footer { padding: 48px 0 0; }
  
  /* Nové sekce responzivita */
  .stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .stat-number { font-size: 48px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .specialization-grid { grid-template-columns: 1fr; gap: 20px; }
  .section-subtitle { font-size: 16px; margin-bottom: 48px; }
  .process-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-trust .divider { display: none; }
  .value-strip-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-availability {
    flex-direction: column;
    align-items: flex-start;
  }
  .floating-call { display: inline-flex; }
}

@media (max-width: 520px) {
  .menu-toggle { width: 40px; height: 40px; padding: 8px; }
  .header-cta { display: none; }
  .icon-btn { width: 44px; height: 44px; }
  .floating-call { right: 16px; bottom: 16px; }
}

@media (max-width: 480px) {
  h1 { font-size: 34px; }
  .hero-text p { font-size: 16px; }
  .container { padding: 0 16px; }
  .stat-number { font-size: 36px; }
  .btn { width: 100%; justify-content: center; }
}

