/* ═══════════════════════════════════════════════════
   DĚTSKÁ KARDIOLOGIE - PREMIUM DESIGN SYSTEM
   Modern, warm, trustworthy, pediatric-friendly
   ═══════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   FONTY - self-hosted (Inter + Playfair Display)
   Záměrně NEnačítáme z fonts.googleapis.com: to by
   posílalo IP adresu návštěvníka Googlu bez souhlasu
   (GDPR). Soubory jsou v /fonts, variabilní woff2.
   Podmnožiny: latin + latin-ext (čeština) + cyrillic
   (ukrajinština). Prohlížeč stáhne jen tu, kterou
   stránka opravdu potřebuje (unicode-range).
   ═══════════════════════════════════════════════════ */

/* Inter - cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Inter - cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Inter - latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display - cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('fonts/playfairdisplay-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Playfair Display - latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('fonts/playfairdisplay-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display - latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('fonts/playfairdisplay-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Force light rendering - opt out of browser/OS dark-mode auto-inversion */
  color-scheme: light;
  /* Core palette */
  --rose: #ec4899;
  --rose-light: #fdf2f8;
  --rose-dark: #be185d;
  --violet: #7c3aed;
  --violet-light: #ede9fe;
  --indigo: #6366f1;
  --blue: #3b82f6;
  --sky: #0ea5e9;
  --emerald: #10b981;
  --emerald-light: #ecfdf5;
  --amber: #f59e0b;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --bg: #ffffff;
  --bg-alt: #faf8ff;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Sizing */
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.04), 0 1px 2px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.06), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.08), 0 4px 12px rgba(15,23,42,0.04);
  --shadow-xl: 0 24px 60px rgba(15,23,42,0.1), 0 8px 20px rgba(15,23,42,0.05);
  --shadow-rose: 0 12px 40px rgba(236,72,153,0.15);
  --shadow-violet: 0 12px 40px rgba(124,58,237,0.12);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══ COOKIE BANNER ═══ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--gray-900);
  padding: 1.25rem 0;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.cookie-banner.is-visible {
  transform: translateY(0);
}
.cookie-banner.is-hidden {
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.cookie-banner__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--gray-300);
  line-height: 1.6;
  flex: 1;
}
.cookie-banner__btn {
  background: var(--rose-dark);
  color: var(--white);
  border: none;
  padding: 10px 28px;
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.cookie-banner__btn:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .cookie-banner__inner { flex-direction: column; gap: 1rem; text-align: center; }
  .cookie-banner__btn { width: 100%; }
}

/* ═══ LOADER ═══ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader__logo {
  width: 120px;
  height: auto;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}
.loader__bar {
  width: 120px;
  height: 3px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
}
.loader__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose), var(--violet));
  border-radius: 3px;
  animation: loaderFill 1.2s ease-out forwards;
}
@keyframes loaderFill {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ═══ SKIP LINK ═══ */
/* Visible only on keyboard focus - lets a screen-reader/keyboard user jump
   past the navbar straight to <main id="obsah">. */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 2000;
  padding: 12px 26px;
  background: var(--white);
  color: var(--rose-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus {
  transform: translate(-50%, 0);
  outline: 3px solid var(--rose);
  outline-offset: 2px;
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ═══ REVEAL ANIMATIONS ═══ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }

/* ═══ SECTION LABELS & TITLES ═══ */
.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rose);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
  color: var(--gray-900);
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn--cta {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-rose);
}
.btn--cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(236,72,153,0.3);
}
.btn--cta.is-revealed {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.btn--outline {
  background: transparent;
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}
.btn--outline:hover {
  border-color: var(--rose);
  color: var(--rose);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--rose-dark);
  font-weight: 700;
}
.btn--white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn--lg { padding: 18px 36px; font-size: 1.05rem; }
.btn--nav { padding: 15px 32px; font-size: 0.98rem; }

/* ═══ FLOATING HEART PARTICLES ═══ */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  font-size: 1.5rem;
  color: var(--rose);
  opacity: 0;
  animation: floatUp 12s ease-in-out infinite;
}
.particle--1 { left: 10%; animation-delay: 0s; font-size: 1.2rem; }
.particle--2 { left: 30%; animation-delay: 2.5s; font-size: 0.9rem; }
.particle--3 { left: 55%; animation-delay: 5s; font-size: 1.4rem; }
.particle--4 { left: 75%; animation-delay: 7.5s; font-size: 1rem; }
.particle--5 { left: 90%; animation-delay: 10s; font-size: 1.3rem; }

@keyframes floatUp {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.12; }
  90% { opacity: 0.08; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* ═══════════════════════
   NAVBAR
   ═══════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.35rem 0;
  transition: all 0.4s var(--ease);
}
.navbar--scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), var(--shadow-sm);
  padding: 0.85rem 0;
}
.navbar--menu-open {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 1px 0 rgba(0,0,0,0.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gray-900);
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}
.navbar__logo-img,
.footer__logo-img {
  object-fit: contain;
}
.navbar__logo-img { width: 60px; height: auto; }
.footer__logo-img { width: 44px; height: auto; }
.navbar__brand:hover .navbar__icon {
  transform: scale(1.1) rotate(-5deg);
}
.navbar__text {
  min-width: 0;
  overflow: hidden;
  line-height: 1.12;
}
.navbar__name {
  display: block;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.navbar__location {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.navbar__links {
  display: flex;
  gap: 1.5rem;
  margin-left: 1.25rem;
}
.navbar__link {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--gray-600);
  position: relative;
  padding: 4px 0;
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rose);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.navbar__link:hover { color: var(--gray-900); }
.navbar__link:hover::after { width: 100%; }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.navbar__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.navbar__hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar__hamburger.is-active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.navbar__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0;
  padding: 1rem 24px 1.5rem;
  background: #ffffff;
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.navbar__mobile.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.navbar__mobile-link {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.btn--mobile {
  margin-top: 0.75rem;
  text-align: center;
  justify-content: center;
}

/* ═══ NAVBAR RIGHT (lang + cta) ═══ */
.navbar__right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-left: 2rem;
}

/* ═══ LANGUAGE SWITCHER ═══ */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.045);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 6px 11px;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gray-500);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  line-height: 1;
}
.lang-btn:hover { color: var(--gray-900); }
.lang-btn--active,
.lang-btn--active:hover {
  background: linear-gradient(135deg, var(--rose) 0%, var(--violet) 100%);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(236,72,153,0.28);
}
.lang-switcher--mobile {
  align-self: center;
  margin: 1rem 0 0.25rem;
}

/* ═══════════════════════
   HERO
   ═══════════════════════ */
.hero {
  position: relative;
  padding: 9rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(180deg, #fdf2f8 0%, #faf5ff 40%, var(--white) 100%);
}

.hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero__blob--1 {
  width: 500px; height: 500px;
  background: rgba(236,72,153,0.08);
  top: -100px; right: -100px;
  animation: blobFloat 20s ease-in-out infinite;
}
.hero__blob--2 {
  width: 400px; height: 400px;
  background: rgba(124,58,237,0.06);
  bottom: -100px; left: -100px;
  animation: blobFloat 25s ease-in-out infinite reverse;
}
.hero__blob--3 {
  width: 300px; height: 300px;
  background: rgba(99,102,241,0.05);
  top: 40%; left: 40%;
  animation: blobFloat 18s ease-in-out infinite 5s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}


.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero__highlight {
  background: linear-gradient(135deg, var(--rose) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Heartbeat line */
.hero__heartbeat {
  margin-top: 3rem;
  max-width: 400px;
  height: 60px;
  opacity: 0.5;
}
.ekg-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Hero visual / image */
.hero__visual {
  position: relative;
}
.hero__image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.hero__image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Slideshow: 12 slides, 8s per slide, 3s crossfade, 96s loop */
.hero__slideshow {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
/* Selector is scoped through .hero__slideshow on purpose: the generic
   `.hero__image-wrapper img { height: 400px }` above is more specific than a
   bare `.hero__slide`, which pinned the slides at 400px even inside the
   280px-tall mobile slideshow and cropped them from the bottom. */
.hero__slideshow .hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroSlideFade 96s infinite;
  will-change: opacity;
}
@keyframes heroSlideFade {
  0%       { opacity: 0; }
  3.13%    { opacity: 1; }   /* fade in (3s) */
  8.33%    { opacity: 1; }   /* hold (5s) */
  11.46%   { opacity: 0; }   /* fade out (3s) */
  100%     { opacity: 0; }
}
.hero__slide:nth-child(1)  { animation-delay: -3s; }
.hero__slide:nth-child(2)  { animation-delay: 5s; }
.hero__slide:nth-child(3)  { animation-delay: 13s; }
.hero__slide:nth-child(4)  { animation-delay: 21s; }
.hero__slide:nth-child(5)  { animation-delay: 29s; }
.hero__slide:nth-child(6)  { animation-delay: 37s; }
.hero__slide:nth-child(7)  { animation-delay: 45s; }
.hero__slide:nth-child(8)  { animation-delay: 53s; }
.hero__slide:nth-child(9)  { animation-delay: 61s; }
.hero__slide:nth-child(10) { animation-delay: 69s; }
.hero__slide:nth-child(11) { animation-delay: 77s; }
.hero__slide:nth-child(12) { animation-delay: 85s; }
@media (prefers-reduced-motion: reduce) {
  /* Must match the specificity of `.hero__slideshow .hero__slide` above -
     a media query adds none of its own. */
  .hero__slideshow .hero__slide { animation: none; }
  .hero__slideshow .hero__slide:nth-child(1) { opacity: 1; }
}
.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,0.15) 100%);
  pointer-events: none;
}

/* Floating stat cards */
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.6);
  font-family: 'Inter', sans-serif;
  z-index: 2;
}
.hero__float strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
}
.hero__float span {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
}
.hero__float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  flex-shrink: 0;
}
.hero__float--1 {
  bottom: -20px; left: -20px;
  animation: floatCard 6s ease-in-out infinite;
}
.hero__float--1 .hero__float-icon { background: var(--rose-light); }
.hero__float--2 {
  top: 20px; right: -30px;
  animation: floatCard 7s ease-in-out infinite 1s;
}
.hero__float--2 .hero__float-icon { background: var(--violet-light); }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ═══════════════════════
   TRUST BAR
   ═══════════════════════ */
.trust {
  padding: 3.5rem 0;
  background: var(--white);
  position: relative;
  z-index: 10;
  isolation: isolate;
}
.trust__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust__item {
  text-align: center;
  min-width: 120px;
  position: relative;
  z-index: 3;
}
.trust__number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--rose) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.trust__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.trust__divider {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
}

/* ═══════════════════════
   ABOUT
   ═══════════════════════ */
.about {
  padding: 5rem 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(236,72,153,0.04) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}

.about__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__lead {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.about__desc {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.about__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
}

.about__visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about__card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid rgba(0,0,0,0.03);
}
.about__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.about__card-icon {
  margin-bottom: 1rem;
}
.about__card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.about__card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.about__card--secondary {
  margin-left: 2rem;
}

/* ═══════════════════════
   SERVICES
   ═══════════════════════ */
.services {
  padding: 5rem 0;
  background: var(--white);
  position: relative;
}

.services__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}
.services__subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.services__card {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.services__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--violet));
  opacity: 0;
  transition: opacity 0.3s;
}
.services__card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.services__card:hover::before { opacity: 1; }

.services__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  margin-bottom: 1.25rem;
}
.services__card-icon--rose { background: var(--rose-light); color: var(--rose); }
.services__card-icon--violet { background: var(--violet-light); color: var(--violet); }
.services__card-icon--blue { background: #eff6ff; color: var(--blue); }
.services__card-icon--emerald { background: var(--emerald-light); color: var(--emerald); }
.services__card-icon--amber { background: #fffbeb; color: var(--amber); }
.services__card-icon--sky { background: #f0f9ff; color: var(--sky); }

.services__card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--gray-900);
}
.services__card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ═══════════════════════
   WHY US
   ═══════════════════════ */
.why {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--white) 100%);
  position: relative;
}

.why__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.why__card {
  display: flex;
  gap: 1.5rem;
  padding: 2.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all 0.4s var(--ease);
}
.why__card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.why__number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--rose) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.6;
}

.why__card-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.why__card-content p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ═══ PROCESS STEPS ═══ */
.process {
  margin-bottom: 3rem;
}
.process__header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.process__steps {
  display: flex;
  align-items: flex-start;
  position: relative;
  counter-reset: step;
}
/* connecting line behind dots */
.process__steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--violet));
  opacity: 0.25;
}
.process__step {
  text-align: center;
  padding: 0 1rem;
  flex: 1;
  position: relative;
}
.process__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--rose);
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process__number::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose) 0%, var(--violet) 100%);
}
/* arrow between steps */
.process__step + .process__step::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--rose);
  border-right: 2px solid var(--rose);
  transform: rotate(45deg);
  opacity: 0.5;
  z-index: 1;
}
.process__step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.process__step p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .process__steps { flex-wrap: wrap; }
  .process__steps::before { display: none; }
  .process__step { flex: 0 0 50%; margin-bottom: 1.5rem; }
  .process__step + .process__step::before { display: none; }
}
@media (max-width: 480px) {
  .process__step { flex: 0 0 100%; }
}

/* ═══════════════════════
   CTA SECTION
   ═══════════════════════ */
.cta-section {
  padding: 5rem 0;
  position: relative;
}

.cta-card {
  background: linear-gradient(135deg, var(--rose) 0%, #a855f7 50%, var(--violet) 100%);
  border-radius: var(--radius-xl);
  padding: 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-rose);
}
.cta-card__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.cta-card__bg svg {
  width: 100%;
  max-width: 500px;
  animation: blobFloat 15s ease-in-out infinite;
}

.cta-card__content {
  position: relative;
  z-index: 1;
}
.cta-card__content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-card__content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 auto 2rem;
}
.cta-card__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ═══════════════════════
   CONTACT
   ═══════════════════════ */
.contact {
  padding: 5rem 0 4rem;
  background: var(--bg-alt);
}

.contact__header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 100%;
  margin: 0 auto;
}

.contact__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all 0.3s var(--ease);
}
.contact__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.contact__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--gray-50);
  flex-shrink: 0;
}

.contact__card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.contact__value {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
}
a.contact__value:hover {
  color: var(--rose);
}

/* ═══ JAK SE K NÁM DOSTANETE ═══ */
.directions {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.directions__card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.directions__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.9rem;
}
.directions__head svg { flex-shrink: 0; }
.directions__head h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
}
.directions__card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-500);
}
.directions__card p + p { margin-top: 0.7rem; }
.directions__card strong { color: var(--gray-800); font-weight: 600; }

/* ═══ CONTACT MAP ═══ */
.contact__map {
  position: relative;
  margin-top: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}
/* Statická mapa hostovaná u nás. Nahrazuje Google Maps iframe, který
   nastavoval Google cookies hned při načtení stránky - ještě než
   návštěvník cokoli odklikl. Takhle je mapa vidět okamžitě a přitom
   nejde na třetí stranu jediný požadavek. */
.contact__map-img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
}

/* Atribuce OpenStreetMap - vyžadovaná licencí ODbL, proto klikatelná */
.contact__osm {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 4px 10px;
  background: rgba(255,255,255,0.86);
  color: var(--gray-500);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  border-radius: 8px 0 0 0;
  transition: color 0.2s var(--ease);
}
.contact__osm:hover { color: var(--rose); }
.contact__directions {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--white);
  color: var(--gray-800);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s var(--ease);
}
.contact__directions svg { color: var(--rose); }
.contact__directions:hover {
  transform: translateX(-50%) translateY(-2px);
  color: var(--rose);
  box-shadow: 0 16px 40px rgba(236,72,153,0.2);
}

/* ═══ DOKUMENTY ═══ */
.documents {
  padding: 5rem 0;
  background: var(--white);
}
.documents__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.documents__intro {
  font-size: 1.05rem;
  color: var(--gray-500);
}
.documents__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}
.document-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}
.document-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}
.document-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  color: var(--rose);
  background: var(--rose-light);
}
.document-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.document-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.35;
}
.document-card__meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.document-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--rose);
  background: var(--gray-50);
  transition: all 0.3s var(--ease);
}
.document-card:hover .document-card__arrow {
  background: linear-gradient(135deg, var(--rose) 0%, var(--violet) 100%);
  color: var(--white);
  transform: translateY(2px);
}

/* ═══════════════════════
   FOOTER
   ═══════════════════════ */
.footer {
  padding: 2rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.footer__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.footer__location {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--gray-600);
}
.footer__copy {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* ═══ SCROLL HEART PROGRESS ═══ */
.scroll-heart {
  position: fixed;
  right: 16px;
  bottom: 32px;
  top: auto;
  transform: translateY(-50%);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.scroll-heart.is-visible { opacity: 1; }
.scroll-heart__fill { will-change: stroke-dashoffset; }

/* ═══ SPRING PHYSICS ON CARDS ═══ */
.services__card.reveal,
.why__card.reveal,
.team__card.reveal {
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-spring);
}

/* ═══ NAVBAR ACTIVE PILL ═══ */
.navbar__links { position: relative; }
.navbar__pill {
  position: absolute;
  height: 30px;
  background: rgba(236,72,153,0.12);
  border: 1px solid rgba(236,72,153,0.15);
  border-radius: var(--radius-full);
  transition: left 0.4s var(--ease-spring), width 0.4s var(--ease-spring), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
}
.navbar__pill.is-active { opacity: 1; }

/* ═══ HEARTBEAT DIVIDERS ═══ */
.heartbeat-divider { padding: 0.5rem 0; }
.heartbeat-divider.reveal { transform: translateY(0); }
.heartbeat-divider canvas {
  width: 100%;
  height: 50px;
  mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}

/* ═══ AMBIENT GRADIENT ORB ═══ */
.ambient-orb {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,0.06) 0%, rgba(124,58,237,0.03) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  left: 60%;
  top: 30%;
  will-change: transform;
}

/* ═══ TEAM SECTION ═══ */
.team {
  padding: 5rem 0;
  background: var(--white);
}
.team__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}
.team__subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team__nurses {
  margin: 3rem auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--gray-500);
}
.team__nurses strong {
  color: var(--gray-700);
  font-weight: 600;
}
.team__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.team__card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.team__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose) 0%, var(--violet) 100%);
  overflow: hidden;
}
.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.team__name {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}
.team__role {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.team__bio {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: left;
}
.team__accordions {
  text-align: left;
  border-top: 1px solid var(--gray-100);
}
.team__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: color 0.2s;
}
.team__toggle:hover { color: var(--rose); }
.team__toggle-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.team__toggle[aria-expanded="true"] .team__toggle-icon {
  transform: rotate(180deg);
}
.team__accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.team__pub-list {
  list-style: none;
  padding: 0.5rem 0;
}
.team__pub-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-50);
}
.team__pub-list li:last-child { border-bottom: none; }
.team__pub-list a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.5;
  display: block;
}
.team__pub-list a:hover { color: var(--rose); }
.team__pub-meta {
  display: block;
  font-size: 0.73rem;
  color: var(--gray-400);
  margin-top: 2px;
}
@media (max-width: 1024px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .team__grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
}

/* ═══════════════════════
   RESPONSIVE
   ═══════════════════════ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__content { text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__heartbeat { margin-left: auto; margin-right: auto; }
  .hero__visual { width: 100%; max-width: 500px; margin: 0 auto; }
  .hero__float--1 { left: 0; }
  .hero__float--2 { right: 0; }

  .about__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about__card--secondary { margin-left: 0; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Collapse the full nav into the hamburger before it gets cramped */
@media (max-width: 1220px) {
  .navbar__links { display: none; }
  .navbar .btn--nav { display: none; }
  .navbar__right { display: none; }
  .navbar__hamburger { display: flex; }
}

@media (max-width: 768px) {
  .hero { padding: 8rem 0 3rem; }

  /* Tighten the hero->about transition: smaller EKG gap + shorter slideshow */
  .hero__heartbeat { margin-top: 1.5rem; }
  .hero__slideshow { height: 280px; }

  /* Brand must share the bar with the hamburger - shrink so it never
     overflows and pushes the hamburger off-screen */
  .navbar__brand { font-size: 0.9rem; flex-shrink: 1; min-width: 0; }
  .navbar__name { font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; }
  .navbar__location { font-size: 0.58rem; overflow: hidden; text-overflow: ellipsis; }
  .navbar__logo-img { width: 38px; }
  .navbar__hamburger { flex-shrink: 0; }

  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map-img { height: 260px; }
  .documents__grid { grid-template-columns: 1fr; }
  .directions { grid-template-columns: 1fr; gap: 1rem; }
  .directions__card { padding: 1.4rem; }

  .trust__divider { display: none; }
  .trust__grid { gap: 1.5rem; }
  .trust__item { min-width: 100px; }

  .cta-card { padding: 3rem 1.5rem; }

  .hero__float { display: none; }

  .particles { display: none; }
  .scroll-heart { display: none; }
  .ambient-orb { display: none; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .btn--lg { width: 100%; justify-content: center; }
  .navbar__name { font-size: 0.78rem; }
  .navbar__location { font-size: 0.56rem; }
}

/* Small phones: shrink brand a touch more so the full name fits beside the hamburger */
@media (max-width: 375px) {
  .navbar__brand { font-size: 0.8rem; }
  .navbar__name { font-size: 0.72rem; }
  .navbar__location { font-size: 0.52rem; }
  .navbar__logo-img { width: 34px; }
}
