/* ===========================================
   MARTINA JEŘÁBKOVÁ — Web Design System
   =========================================== */

/* ===========================================
   1. CUSTOM PROPERTIES
   =========================================== */
:root {
  /* Fonts */
  --ff-heading: 'Montserrat', sans-serif;
  --ff-body: 'Open Sans', sans-serif;

  /* Reality colors (RE/MAX) */
  --c-reality: #E31837;
  --c-reality-dark: #B71429;
  --c-reality-hover: #F52040;
  --c-reality-light: #FFF0F2;

  /* Dotace colors */
  --c-dotace: #1B4F8A;
  --c-dotace-dark: #0F3060;
  --c-dotace-light: #EBF2FA;
  --c-dotace-accent: #E8A020;
  --c-dotace-accent-dark: #C68818;

  /* Neutrals */
  --c-dark: #111827;
  --c-dark-2: #1F2937;
  --c-text: #374151;
  --c-text-muted: #6B7280;
  --c-border: #E5E7EB;
  --c-bg: #F9FAFB;
  --c-white: #FFFFFF;

  /* Spacing scale */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2rem;
  --sp-xl: 3rem;
  --sp-2xl: 5rem;

  /* Border radius */
  --br-sm: 6px;
  --br-md: 12px;
  --br-lg: 20px;
  --br-xl: 32px;
  --br-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14), 0 4px 10px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.10);

  /* Transitions */
  --ease: 0.3s ease;
  --ease-slow: 0.55s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  color: var(--c-text);
  line-height: 1.65;
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul { list-style: none; }

/* ===========================================
   3. TYPOGRAPHY
   =========================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: var(--sp-sm); }
p:last-child { margin-bottom: 0; }

/* ===========================================
   4. LAYOUT
   =========================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--sp-2xl) 0;
}

.section--sm {
  padding: var(--sp-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.section-header h2 {
  margin-bottom: var(--sp-sm);
}

.section-header p {
  color: var(--c-text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* ===========================================
   5. BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.85rem;
  border-radius: var(--br-full);
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--ease);
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
}

.btn--reality {
  background: var(--c-reality);
  color: var(--c-white);
  border-color: var(--c-reality);
}
.btn--reality:hover {
  background: var(--c-reality-dark);
  border-color: var(--c-reality-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227,24,55,0.35);
}

.btn--dotace {
  background: var(--c-dotace);
  color: var(--c-white);
  border-color: var(--c-dotace);
}
.btn--dotace:hover {
  background: var(--c-dotace-dark);
  border-color: var(--c-dotace-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,79,138,0.35);
}

.btn--accent {
  background: var(--c-dotace-accent);
  color: var(--c-dark);
  border-color: var(--c-dotace-accent);
}
.btn--accent:hover {
  background: var(--c-dotace-accent-dark);
  border-color: var(--c-dotace-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,160,32,0.35);
}

.btn--outline-white {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.55);
}
.btn--outline-white:hover {
  background: var(--c-white);
  border-color: var(--c-white);
}
.btn--outline-white.btn--reality-outline:hover { color: var(--c-reality); }
.btn--outline-white.btn--dotace-outline:hover  { color: var(--c-dotace);  }

/* ===========================================
   6. NAVIGATION
   =========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
}

.nav--transparent { background: transparent; }

.nav--scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  padding: 0.875rem 0;
}

.nav--reality-dark {
  background: rgba(143,11,24,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav--dotace-dark {
  background: rgba(10,38,74,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
}

.nav-logo {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-white);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color var(--ease);
}

.nav--scrolled .nav-logo { color: var(--c-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.nav-link {
  font-family: var(--ff-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--ease);
}
.nav-link:hover { color: var(--c-white); }
.nav--scrolled .nav-link { color: var(--c-text-muted); }
.nav--scrolled .nav-link:hover { color: var(--c-dark); }

.nav-back {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-heading);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
}
.nav-back:hover { color: var(--c-white); }

.nav-phone {
  font-family: var(--ff-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-white);
  transition: opacity var(--ease);
}
.nav-phone:hover { opacity: 0.75; }
.nav--scrolled .nav-phone { color: var(--c-dark); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  transition: all var(--ease);
  border-radius: 2px;
}
.nav--scrolled .nav-toggle span { background: var(--c-dark); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--c-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-lg);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile .nav-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-white);
}
.nav-mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--c-white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ===========================================
   7. SPLIT HERO (INDEX)
   =========================================== */
.split {
  display: flex;
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.split-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: flex var(--ease-slow);
  cursor: pointer;
  text-decoration: none;
}
.split-panel:hover { flex: 1.5; }

.split-panel--reality {
  background: linear-gradient(155deg, #8B0E1E 0%, #C01530 40%, #E31837 75%, #F0204A 100%);
}
.split-panel--dotace {
  background: linear-gradient(155deg, #081A2E 0%, #0F3060 40%, #1B4F8A 75%, #2462A6 100%);
}

/* Glow layer */
.split-panel--reality::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(255,255,255,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.split-panel--dotace::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 50%, rgba(232,160,32,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.split-content {
  position: relative;
  z-index: 2;
  color: var(--c-white);
  padding: 4rem 3rem;
  max-width: 420px;
  text-align: center;
}

.split-tag {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--sp-md);
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--br-full);
}
.split-panel--dotace .split-tag {
  color: var(--c-dotace-accent);
  border-color: rgba(232,160,32,0.35);
}

.split-title {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: var(--sp-sm);
  line-height: 1;
  letter-spacing: -0.03em;
}

.split-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: var(--sp-lg);
}

.split-cta {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: var(--br-full);
  color: var(--c-white);
  transition: all var(--ease);
}
.split-panel:hover .split-cta {
  background: var(--c-white);
  border-color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.split-panel--reality:hover .split-cta { color: var(--c-reality); }
.split-panel--dotace:hover  .split-cta { color: var(--c-dotace);  }

/* Center photo overlay */
.split-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  text-align: center;
}

.split-photo {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--c-white);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.08);
  background: var(--c-border);
  margin: 0 auto;
}
.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.split-name-badge {
  margin-top: 0.75rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 0.45rem 1.1rem;
  border-radius: var(--br-full);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.split-name-badge strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-dark);
  letter-spacing: 0.01em;
}
.split-name-badge span {
  font-size: 0.68rem;
  color: var(--c-text-muted);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scroll-hint span {
  font-family: var(--ff-heading);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-hint-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2.2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ===========================================
   8. ABOUT SECTION (INDEX)
   =========================================== */
.about-section {
  padding: var(--sp-2xl) 0;
  background: var(--c-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--sp-2xl);
  align-items: center;
}

.eyebrow-label {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-sm);
}

.about-text h2 { margin-bottom: var(--sp-md); }
.about-text p { color: var(--c-text-muted); }

.value-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.value-card {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-md);
  background: var(--c-white);
  border-radius: var(--br-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  transition: transform var(--ease);
}
.value-card:hover { transform: translateX(4px); }

.value-card-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.value-card strong {
  font-family: var(--ff-heading);
  font-size: 0.92rem;
  display: block;
}
.value-card span {
  font-size: 0.82rem;
  color: var(--c-text-muted);
}

/* ===========================================
   9. REALITY HERO
   =========================================== */
.hero-reality {
  min-height: 100vh;
  background: linear-gradient(150deg, #6B0B18 0%, #9E0F20 25%, #C81632 55%, #E31837 80%, #F0204A 100%);
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-reality::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 40%, rgba(255,255,255,0.07) 0%, transparent 55%);
  pointer-events: none;
}
.hero-reality::after {
  content: '';
  position: absolute;
  top: -15%;
  right: -8%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-2xl);
  align-items: center;
}

.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--sp-md);
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--br-full);
}

.hero-text h1 {
  color: var(--c-white);
  margin-bottom: 0.35rem;
}

.hero-role {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--sp-lg);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.68);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: var(--sp-md);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--sp-lg);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--br-full);
  padding: 0.3rem 0.85rem;
  font-family: var(--ff-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.hero-badge::before {
  content: '✓';
  opacity: 0.6;
  font-size: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-photo-wrap { flex-shrink: 0; }

.hero-photo {
  width: 320px;
  height: 400px;
  border-radius: var(--br-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: rgba(255,255,255,0.08);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ===========================================
   10. REALITY — O MNĚ
   =========================================== */
.reality-about {
  padding: var(--sp-2xl) 0;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--sp-2xl);
  align-items: center;
}

.bio-photo {
  border-radius: var(--br-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
}
.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-text {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  line-height: 1.78;
  margin-bottom: var(--sp-md);
}

.values-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--sp-md);
}
.values-inline span {
  background: var(--c-reality-light);
  color: var(--c-reality-dark);
  font-family: var(--ff-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: var(--br-full);
  border: 1px solid rgba(227,24,55,0.15);
}

/* ===========================================
   11. REALITY — SPECIALIZACE
   =========================================== */
.spec-section {
  background: var(--c-bg);
  padding: var(--sp-2xl) 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}

.spec-card {
  background: var(--c-white);
  border-radius: var(--br-lg);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}

.spec-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--sp-md);
}
.spec-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--br-md);
  background: var(--c-reality-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.spec-card-title h3 {
  font-size: 1rem;
  color: var(--c-dark);
}

.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.spec-tag {
  background: var(--c-reality-light);
  color: var(--c-reality);
  font-family: var(--ff-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: var(--br-full);
  border: 1px solid rgba(227,24,55,0.15);
}

/* ===========================================
   12. REALITY — DOPLŇKOVÉ SLUŽBY
   =========================================== */
.extra-section {
  padding: var(--sp-2xl) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--br-lg);
  padding: var(--sp-lg);
  text-align: center;
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(227,24,55,0.2);
}
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.service-card h4 {
  margin-bottom: var(--sp-xs);
  font-size: 0.95rem;
}
.service-card p {
  font-size: 0.84rem;
  color: var(--c-text-muted);
}

/* ===========================================
   13. GALLERY
   =========================================== */
.gallery-section {
  background: var(--c-bg);
  padding: var(--sp-2xl) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  border-radius: var(--br-lg);
  overflow: hidden;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--br-md);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ===========================================
   14. CONTACT SECTION
   =========================================== */
.contact-section {
  padding: var(--sp-2xl) 0;
}
.contact-section--reality {
  background: linear-gradient(150deg, #8B0E1E 0%, #E31837 100%);
}
.contact-section--dotace {
  background: linear-gradient(150deg, #081A2E 0%, #1B4F8A 100%);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}

.contact-info h2 {
  color: var(--c-white);
  margin-bottom: var(--sp-sm);
}
.contact-info .lead {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: var(--sp-xl);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  color: var(--c-white);
  font-size: 0.95rem;
}
.contact-item a {
  color: var(--c-white);
  font-weight: 500;
  transition: opacity var(--ease);
}
.contact-item a:hover { opacity: 0.75; }
.contact-item-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--br-md);
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-card {
  background: var(--c-white);
  border-radius: var(--br-xl);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-xl);
}
.contact-card h3 {
  margin-bottom: var(--sp-md);
}
.contact-card p {
  color: var(--c-text-muted);
  font-size: 0.92rem;
  margin-bottom: var(--sp-md);
}
.contact-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.6rem;
}

/* ===========================================
   15. DOTACE HERO
   =========================================== */
.hero-dotace {
  min-height: 100vh;
  background: linear-gradient(150deg, #04101F 0%, #0A2241 25%, #0F3060 55%, #1B4F8A 80%, #2462A6 100%);
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-dotace::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 80%, rgba(232,160,32,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-dotace-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-dotace-inner .eyebrow {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-dotace-accent);
  margin-bottom: var(--sp-md);
  padding: 0.32rem 0.9rem;
  border: 1px solid rgba(232,160,32,0.3);
  border-radius: var(--br-full);
}

.hero-dotace-inner h1 {
  color: var(--c-white);
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: var(--sp-sm);
  line-height: 1.1;
}
.hero-dotace-inner h1 em {
  font-style: normal;
  color: var(--c-dotace-accent);
}

.hero-dotace-inner .hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin: 0 auto var(--sp-lg);
  line-height: 1.72;
}

.hero-author {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 0.5rem 1.25rem;
  border-radius: var(--br-full);
  margin-bottom: var(--sp-lg);
}
.hero-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(255,255,255,0.3);
}
.hero-author span {
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.hero-dotace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Stats bar */
.stats-bar {
  display: flex;
  gap: var(--sp-xl);
  justify-content: center;
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat {
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-dotace-accent);
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

/* ===========================================
   16. DOTACE — CO JSOU VOUCHERY
   =========================================== */
.dotace-intro {
  padding: var(--sp-2xl) 0;
  background: var(--c-bg);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}

.intro-text h2 { margin-bottom: var(--sp-md); }
.intro-text p {
  color: var(--c-text-muted);
  line-height: 1.78;
}

.info-box {
  background: var(--c-white);
  border-radius: var(--br-xl);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--c-dotace-accent);
}
.info-box h3 {
  color: var(--c-dotace);
  font-size: 1.1rem;
  margin-bottom: var(--sp-md);
}
.info-box ul { list-style: none; }
.info-box li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--c-border);
}
.info-box li:last-child { border-bottom: none; }
.info-box li::before {
  content: '→';
  color: var(--c-dotace-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* ===========================================
   17. DOTACE — PROCES (KROKY)
   =========================================== */
.process-section {
  padding: var(--sp-2xl) 0;
  background: var(--c-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.step-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--br-lg);
  padding: var(--sp-lg);
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27,79,138,0.25);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--br-full);
  background: var(--c-dotace);
  color: var(--c-white);
  font-family: var(--ff-heading);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: var(--sp-sm);
  flex-shrink: 0;
}

.step-card h4 {
  color: var(--c-dotace);
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}
.step-card p {
  font-size: 0.855rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ===========================================
   18. DOTACE — PRO KOHO
   =========================================== */
.for-whom {
  background: var(--c-bg);
  padding: var(--sp-2xl) 0;
}

.for-whom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}

.eligibility-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.eligibility-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-md);
  background: var(--c-white);
  border-radius: var(--br-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.elig-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.elig-text strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.elig-text span {
  font-size: 0.83rem;
  color: var(--c-text-muted);
}

.for-whom-cta {
  background: linear-gradient(135deg, var(--c-dotace-dark), var(--c-dotace));
  border-radius: var(--br-xl);
  padding: var(--sp-xl);
  color: var(--c-white);
}
.for-whom-cta h3 {
  color: var(--c-white);
  margin-bottom: var(--sp-sm);
}
.for-whom-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-bottom: var(--sp-lg);
}

/* ===========================================
   19. DOTACE — PROČ JÁ
   =========================================== */
.why-section {
  padding: var(--sp-2xl) 0;
  background: var(--c-dotace);
}
.why-section .section-header h2 { color: var(--c-white); }
.why-section .section-header p  { color: rgba(255,255,255,0.62); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--br-lg);
  padding: var(--sp-lg);
  text-align: center;
  color: var(--c-white);
  transition: all var(--ease);
}
.why-card:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-3px);
}
.why-card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.why-card h4 {
  color: var(--c-white);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.why-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* ===========================================
   20. FOOTER
   =========================================== */
.footer {
  background: var(--c-dark-2);
  padding: var(--sp-xl) 0 var(--sp-md);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: var(--sp-md);
}

.footer-name {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: var(--sp-xs);
}

.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.855rem;
}

.footer-col-title {
  font-family: var(--ff-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-sm);
}
.footer-col a, .footer-col p {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--c-white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  margin: 0;
}
.footer-ico {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.22);
  text-align: right;
}

/* ===========================================
   21. RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .steps-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-md); }

  /* split: stack vertically */
  .split {
    flex-direction: column;
    height: auto;
  }
  .split-panel {
    min-height: 50vh;
    flex: none;
    width: 100%;
  }
  .split-panel:hover { flex: none; }
  .split-center { display: none; }
  .split-content { padding: 3rem var(--sp-md); max-width: 100%; }

  /* heroes */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-photo-wrap {
    order: -1;
    display: flex;
    justify-content: center;
  }
  .hero-photo {
    width: 200px;
    height: 260px;
  }
  .hero-actions   { justify-content: center; }
  .hero-badges    { justify-content: center; }
  .hero-desc      { margin: 0 auto var(--sp-md); }

  /* bio grid */
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo { max-width: 240px; margin: 0 auto; aspect-ratio: 1; }

  /* grids → single column */
  .spec-grid,
  .intro-grid,
  .for-whom-grid,
  .contact-inner,
  .about-grid { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-bar { flex-wrap: wrap; gap: var(--sp-md); }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }
  .footer-ico { text-align: center; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 480px) {
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-photo { width: 160px; height: 210px; }
  .hero-dotace-inner h1 { font-size: 2.4rem; }
}

/* ===========================================
   22. UTILITIES
   =========================================== */
.text-center { text-align: center; }
.text-reality { color: var(--c-reality); }
.text-dotace  { color: var(--c-dotace);  }
.text-muted   { color: var(--c-text-muted); }
.text-white   { color: var(--c-white); }

.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mb-sm { margin-bottom: var(--sp-sm); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===========================================
   23. PAGE TRANSITIONS
   =========================================== */

/* Curtain — slides away upward on page enter */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  transform: translateY(0);
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
  pointer-events: none;
}
.page-curtain--reality { background: var(--c-reality); }
.page-curtain--dotace  { background: var(--c-dotace);  }
.page-curtain--dark    { background: var(--c-dark-2);  }
.page-curtain.curtain--gone { transform: translateY(-100%); }

/* Exit overlay — slides up from bottom to cover screen on leave */
.page-exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--exit-color, var(--c-dark-2));
  transform: translateY(100%);
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
  pointer-events: none;
}
.page-exit-overlay.exit-overlay--visible {
  transform: translateY(0);
}
