/* V5 Colorblast – výrazně barevnější, ale stále profesionální */
:root {
  --bg: #F7FAFF;
  --text: #0F172A;
  --muted: #64748B;
  --card: #FFFFFF;
  --border: #E2E8F0;
  --c1: #3B82F6;
  --c2: #06B6D4;
  --c3: #7C3AED;
  --c4: #EC4899;
  --c5: #10B981;
  --c6: #F59E0B;
  --primary: var(--c1);
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(2, 6, 23, .06);
  --shadow-lg: 0 22px 60px rgba(2, 6, 23, .12);
}

:root[data-theme="dark"] {
  --bg: #0B1320;
  --text: #E5E7EB;
  --muted: #94A3B8;
  --card: #0F172A;
  --border: #1F2937;
  --primary: #60A5FA
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  transition: background .3s, color .3s;
  scroll-behavior: smooth
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: saturate(120%) blur(10px);
  border-bottom: 1px solid var(--border)
}

:root[data-theme="dark"] .site-header {
  background: rgba(15, 23, 42, .6)
}

.site-header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 800
}

.brand-logo {
  width: 400px;
  border-radius: 8px
}

.brand-title {
  font-size: 20px
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
  color: var(--text)
}

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

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  position: relative
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--c1), var(--c3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s
}

.site-nav a:hover::after {
  transform: scaleX(1)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 900;
  transition: transform .05s, box-shadow .2s
}

.btn:hover {
  box-shadow: var(--shadow-sm)
}

.btn:active {
  transform: translateY(1px) scale(.99)
}

.btn-gradient {
  background: linear-gradient(135deg, var(--c1), var(--c3));
  color: #fff;
  border-color: transparent
}

.btn-ghost {
  background: linear-gradient(180deg, #E0F2FE, #FFFFFF);
  border-color: transparent;
  color: #0F3460
}

.btn.small {
  padding: 8px 12px;
  font-size: 14px
}

@media (max-width:880px) {
  .nav-toggle {
    display: block
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 20px;
    transform: translateY(-120%);
    transition: .25s
  }

  body.nav-open .site-nav {
    transform: translateY(0)
  }
}

/* Hero */
.hero-colorblast {
  position: relative;
  overflow: hidden;
  padding: 96px 0 60px;
  background:
    radial-gradient(1400px 500px at 10% -20%, rgba(59, 130, 246, .25) 0%, rgba(59, 130, 246, 0) 60%),
    radial-gradient(1200px 450px at 90% -20%, rgba(124, 58, 237, .22) 0%, rgba(124, 58, 237, 0) 65%),
    radial-gradient(1000px 500px at 50% 120%, rgba(6, 182, 212, .18) 0%, rgba(6, 182, 212, 0) 60%),
    linear-gradient(120deg, #F0F9FF 0%, #F7FAFF 60%);
}

:root[data-theme="dark"] .hero-colorblast {
  background:
    radial-gradient(1400px 500px at 10% -20%, rgba(59, 130, 246, .28), rgba(59, 130, 246, 0) 60%),
    radial-gradient(1200px 450px at 90% -20%, rgba(124, 58, 237, .25), rgba(124, 58, 237, 0) 65%),
    radial-gradient(1000px 500px at 50% 120%, rgba(6, 182, 212, .22), rgba(6, 182, 212, 0) 60%),
    linear-gradient(120deg, #0B1320 0%, #0F172A 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center
}

@media (max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr
  }
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  margin: 0 0 10px
}

.lead {
  color: var(--muted);
  max-width: 680px;
  font-size: 18px;
  margin: 6px 0 18px
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.photo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform .3s
}

.photo-card:hover {
  transform: translateY(-4px)
}

.grad-text {
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.grad-text-sm {
  background: linear-gradient(90deg, var(--c2), var(--c4));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.rainbow-border {
  border: 3px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from 90deg, var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c1)) border-box
}

/* Decorative waves */
.wave-bottom,
.wave-split {
  position: relative
}

.wave-bottom::after {
  content: "";
  display: block;
  height: 36px;
  background: linear-gradient(90deg, rgba(59, 130, 246, .15), rgba(124, 58, 237, .15), rgba(6, 182, 212, .15))
}

.wave-split {
  height: 24px
}

.wave-split::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(236, 72, 153, .18), rgba(59, 130, 246, .18))
}

.wave-split.flip::before {
  background: linear-gradient(90deg, rgba(59, 130, 246, .18), rgba(236, 72, 153, .18))
}

/* Section tints */
.section {
  padding: 64px 0
}

.section.alt {
  background: linear-gradient(180deg, #FFFFFF, #F7FAFF)
}

:root[data-theme="dark"] .section.alt {
  background: linear-gradient(180deg, #0F172A, #0B1320)
}

.section-tint-blue {
  background: linear-gradient(180deg, rgba(59, 130, 246, .06), transparent)
}

.section-tint-teal {
  background: linear-gradient(180deg, rgba(6, 182, 212, .06), transparent)
}

.section-tint-purple {
  background: linear-gradient(180deg, rgba(124, 58, 237, .06), transparent)
}

.section-tint-pink {
  background: linear-gradient(180deg, rgba(236, 72, 153, .06), transparent)
}

.section-tint-amber {
  background: linear-gradient(180deg, rgba(245, 158, 11, .06), transparent)
}

.section-tint-green {
  background: linear-gradient(180deg, rgba(16, 185, 129, .06), transparent)
}

.section h2 {
  font-size: 30px;
  margin: 0 0 20px
}

/* Cards & features */
.grid {
  display: grid;
  gap: 20px
}

.grid.two {
  grid-template-columns: 1fr 1fr
}

@media (max-width:860px) {
  .grid.two {
    grid-template-columns: 1fr
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s
}

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

.features {
  grid-template-columns: repeat(3, 1fr)
}

@media (max-width:900px) {
  .features {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:560px) {
  .features {
    grid-template-columns: 1fr
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-weight: 900;
  margin-bottom: 6px
}

.tint-1 .pill {
  background: linear-gradient(135deg, var(--c1), var(--c2))
}

.tint-2 .pill {
  background: linear-gradient(135deg, var(--c2), var(--c3))
}

.tint-3 .pill {
  background: linear-gradient(135deg, var(--c3), var(--c4))
}

.tint-4 .pill {
  background: linear-gradient(135deg, var(--c4), var(--c5))
}

.tint-5 .pill {
  background: linear-gradient(135deg, var(--c5), var(--c6))
}

.tint-6 .pill {
  background: linear-gradient(135deg, var(--c6), var(--c1))
}

/* Doctors */
.doctors {
  grid-template-columns: repeat(3, 1fr)
}

@media (max-width:1024px) {
  .doctors {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:560px) {
  .doctors {
    grid-template-columns: 1fr
  }
}

.doctor {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit
}

.doctor-photo {
  width: 58px;
  height: 58px;
  object-fit: cover;
}

.gradient-card {
  border: 1px solid var(--border)
}

.gradient-card.g1 {
  background: linear-gradient(180deg, rgba(59, 130, 246, .08), transparent)
}

.gradient-card.g2 {
  background: linear-gradient(180deg, rgba(6, 182, 212, .08), transparent)
}

.gradient-card.g3 {
  background: linear-gradient(180deg, rgba(124, 58, 237, .08), transparent)
}

.gradient-card.g4 {
  background: linear-gradient(180deg, rgba(236, 72, 153, .08), transparent)
}

.gradient-card.g5 {
  background: linear-gradient(180deg, rgba(16, 185, 129, .08), transparent)
}

.gradient-card.g6 {
  background: linear-gradient(180deg, rgba(245, 158, 11, .08), transparent)
}

.doctor-name {
  font-weight: 900
}

.doctor-place {
  color: var(--muted);
  font-size: 14px
}

/* Partners */
.logo-row {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  opacity: .95
}

.logo-row img {
  height: 44px;
  filter: grayscale(25%);
  transition: filter .2s, transform .2s, opacity .2s
}

.logo-row img:hover {
  filter: none;
  transform: translateY(-2px);
  opacity: 1
}

/* Alert */
.alert {
  background: #FEF3C7;
  border-top: 1px solid #FDE68A;
  border-bottom: 1px solid #FDE68A;
  color: #92400E
}

.alert .wrapper {
  padding: 10px 22px
}

/* Floating CTA (Objednat se) */
.cta-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c1));
  color: #fff;
  box-shadow: 0 10px 30px rgba(59, 130, 246, .4);
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
  border: 3px solid #fff
}

.cta-fab:hover {
  transform: translateY(-2px)
}

/* Footer */
.site-footer {
  padding: 28px 0;
  background: var(--card);
  border-top: 1px solid var(--border)
}

.site-footer .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap
}

.site-footer a {
  color: var(--muted);
  text-decoration: none
}

.site-footer a:hover {
  color: var(--text)
}

.hint {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px)
}

.reveal.revealed {
  opacity: 1;
  transform: none;
  transition: opacity .65s, transform .65s
}

@media (prefers-reduced-motion:reduce) {

  .reveal,
  .card,
  .btn,
  .photo-card,
  .site-nav a::after {
    transition: none !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

/* Welcome strip under header */
.welcome {
  padding: 28px 0 18px;
  background:
    radial-gradient(900px 240px at 10% -40%, rgba(59, 130, 246, .12) 0%, rgba(59, 130, 246, 0) 60%),
    radial-gradient(700px 220px at 95% -35%, rgba(124, 58, 237, .10) 0%, rgba(124, 58, 237, 0) 65%),
    linear-gradient(180deg, #FFFFFF, rgba(247, 250, 255, .85));
  border-bottom: 1px solid var(--border);
}

:root[data-theme="dark"] .welcome {
  background:
    radial-gradient(900px 240px at 10% -40%, rgba(59, 130, 246, .22), rgba(59, 130, 246, 0) 60%),
    radial-gradient(700px 220px at 95% -35%, rgba(124, 58, 237, .18), rgba(124, 58, 237, 0) 65%),
    linear-gradient(180deg, #0F172A, #0B1320);
}

.welcome-inner {
  text-align: center;
}

.welcome-kicker {
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 40px;
  color: var(--muted);
  margin-bottom: 6px;
}

.welcome-title {
  margin: 0;
  font-size: 64px;
  line-height: 1.15;
  font-weight: 900;
  /* gradient text (navazuje na Colorblast paletu) */
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.welcome-sub {
  margin-top: 8px;
  font-size: 30px;
  color: var(--muted);
}

/* mobilní drobné úpravy */
@media (max-width:600px) {
  .welcome {
    padding: 22px 0 14px;
  }

  .welcome-title {
    font-size: 28px;
  }

  .welcome-sub {
    font-size: 15px;
  }
}

.welcome-desc {
  margin: 22px auto 0;
  max-width: 700px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.08), rgba(124, 58, 237, 0.08));
  border-left: 4px solid var(--c1);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.welcome-desc:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.15);
}

:root[data-theme="dark"] .welcome-desc {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.15), rgba(124, 58, 237, 0.15));
  border-left-color: var(--c2);
  color: var(--text);
}

/* ZÁKLADNÍ BARVY – můžeš doladit */
:root {
  --nav-bg: rgba(255, 255, 255, 0.78);
  --nav-border: rgba(255, 255, 255, 0.9);
  --nav-shadow: 0 18px 45px rgba(15, 23, 42, 0.20);
  --nav-text: #0f172a;
  --nav-muted: #64748b;
  --nav-primary: #2563eb;
  --nav-primary-soft: rgba(37, 99, 235, 0.12);
  --nav-radius: 14px;
  /* 8–12 px – můžeš změnit */
}

/* Lepivá hlavička */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0 10px;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.4),
      transparent);
}

/* Obal, aby pruh byl uprostřed stránky */
.nav-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Vlastní „skleněný“ pruh */
.nav-glass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: var(--nav-bg);
  border-radius: var(--nav-radius);
  border: 1px solid var(--nav-border);
  box-shadow: var(--nav-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Levá část – logo */
.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 54px;
  /* uprav podle svého loga */
  display: block;
}

/* Pravá část – odkazy */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-right a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--nav-text);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s;
}

/* Hover efekty */
.nav-right a:not(.btn-primary):hover {
  background: var(--nav-primary-soft);
  color: var(--nav-primary);
  transform: translateY(-1px);
}

/* Tlačítko Objednání */
.nav-right .btn-primary {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45);
  padding: 8px 18px;
}

.nav-right .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.55);
}

/* RESPONSIVE – mobil / tablet */
@media (max-width: 900px) {
  .nav-glass {
    padding: 10px 14px;
    gap: 10px;
  }

  .logo-img {
    height: 46px;
  }

  .nav-right {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-right a {
    font-size: 14px;
    padding: 6px 10px;
  }
}

@media (max-width: 640px) {
  .nav-glass {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 14px 12px;
  }

  .nav-left {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
  }

  .nav-right {
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-right .btn-primary {
    order: -1;
    /* Objednání nahoru */
  }
}

/* ===== BENEFITS – GLASSMORPHISM ===== */


.glass-panel {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 28px 26px 30px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.benefits-title {
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 18px;
  background: linear-gradient(90deg, #0ea5e9, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 26px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: radial-gradient(circle at 0 0, #38bdf8, #6366f1);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  margin-bottom: 6px;
}

.benefit-item h3 {
  font-size: 0.96rem;
  font-weight: 600;
  margin: 0;
}

.benefit-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #6b7280;
}

/* Mobilní doladění */
@media (max-width: 640px) {
  .glass-panel {
    padding: 22px 18px 24px;
    border-radius: 18px;
  }

  .benefits-title {
    font-size: 1.2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.section-benefits {
  margin-top: 40px;
  /* ideální vzdálenost */
}

@media (max-width: 640px) {
  .section-benefits {
    margin-top: 28px;
    /* menší mezera na mobilu */
  }
}

/* ===== SPOKOJENOST – MODERNÍ GLASS SEKCE ===== */

.section-satisfaction {
  padding-top: 40px;
  padding-bottom: 60px;
}

.satisfaction-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: center;
}

/* Glass karta vlevo */
.glass-card {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.stats-card {
  padding: 26px 24px 24px;
}

.stats-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin-bottom: 8px;
}

.stats-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 18px;
}

.stats-value {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(120deg, #0ea5e9, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats-label {
  font-size: 0.95rem;
  color: #4b5563;
  margin-top: 4px;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding-top: 14px;
}

.stats-small-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
}

.stats-small-label {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Text + metry vpravo */
.satisfaction-lead {
  font-size: 1rem;
  color: #4b5563;
  margin: 10px 0 24px;
  max-width: 34rem;
}

.meter {
  margin-bottom: 16px;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 6px;
}

.meter-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.meter-fill {
  --value: 0;
  position: absolute;
  inset: 0;
  width: calc(var(--value) * 1%);
  border-radius: inherit;
  background: linear-gradient(90deg, #0ea5e9, #3b82f6);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
}

.satisfaction-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 10px;
}

/* Responzivní úpravy */
@media (max-width: 900px) {
  .satisfaction-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stats-card {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .section-satisfaction {
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .satisfaction-lead {
    font-size: 0.95rem;
  }

  .meter-track {
    height: 9px;
  }
}

/* ==== NEKONEČNÝ CAROUSEL ORDINACE – CSS ONLY ==== */

.clinic-carousel {
  margin-top: 28px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.08), rgba(15, 23, 42, 0.02));
  position: relative;
}

.clinic-carousel-track {
  display: flex;
  gap: 12px;
  /* plynulý nekonečný posun */
  animation: clinicCarousel 30s linear infinite;
}

/* při najetí myší animaci zastavíme */
.clinic-carousel:hover .clinic-carousel-track {
  animation-play-state: paused;
}

.clinic-carousel figure {
  flex: 0 0 calc(25% - 9px);
  /* ~4 fotky vedle sebe na desktopu */
  margin: 0;
}

.clinic-carousel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
}

/* tablet – 2 vedle sebe */
@media (max-width: 900px) {
  .clinic-carousel figure {
    flex: 0 0 calc(50% - 9px);
  }
}

/* mobil – 1 na šířku */
@media (max-width: 600px) {
  .clinic-carousel figure {
    flex: 0 0 100%;
  }
}

/* posun o polovinu šířky tracku (proto máme fotky 2× za sebou) */
@keyframes clinicCarousel {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.clinic-carousel {
  margin-top: 28px;
  margin-bottom: 50px;
  /* ↞ přidá vzduch pod fotkami */
}

section {
  scroll-margin-top: 100px;
  /* uprav podle výšky menu */
}

@media (max-width: 640px) {
  section {
    scroll-margin-top: 80px;
  }
}

/* ===== KONTAKTNÍ FORMULÁŘ ===== */

.contact-form {
  margin-top: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

/* obal jednoho pole */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}

/* popisek nad polem */
.field-label {
  font-weight: 600;
  color: var(--muted);
}

/* full-width prvky přes oba sloupce */
.field-full {
  grid-column: 1 / -1;
}

/* samotné inputy / textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f9fafb;
  font: inherit;
  color: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

/* focus stav */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08),
    0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* checkbox řádek */
.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.check input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  /* moderní prohlížeče */
}

/* tlačítko + hláška */
.contact-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.contact-actions .btn {
  padding-inline: 26px;
}

#contact-result.hint {
  margin-top: 0;
}

/* responzivita – na mobilu jeden sloupec */
@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: 1 / 2;
  }

  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==== TLAČÍTKO ODESLAT S ANIMACÍ ==== */

.btn-send {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
  overflow: hidden;
}

/* ikona */
.btn-send .icon {
  display: inline-block;
  font-size: 18px;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

/* hover animace tlačítka */
.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}

/* animace ikony – jemný posun doprava */
.btn-send:hover .icon {
  transform: translateX(4px);
}

/* aktivní klik */
.btn-send:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}


/* ===== Sekce lékařů ===== */
/* ===== Sekce lékařů – samostatné karty ===== */

.doctors {
  padding: 70px 20px;
  background: var(--bg);
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 8px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}

/* Grid – ale karty jsou větší, jako samostatné „vizitky“ */
.doctors-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Základ karty lékaře */
.doctor-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 22px 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.doctor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

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

.doctor-card:hover::before {
  opacity: 1;
}

/* Hlavička karty – fotka + jméno */
.doctor-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.doctor-photo {
  flex-shrink: 0;
  margin-right: 20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: #f3f6fb;
  flex: 0 0 120px;
  border: 4px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 15%;
}

.doctor-heading h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  color: var(--text);
}

.doctor-role {
  margin: 0 0 6px;
  font-weight: 500;
  color: var(--primary);
  font-size: 0.98rem;
  line-height: 1.2;
}

.doctor-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--primary-weak);
  color: var(--primary);
}

/* Tělo karty */
.doctor-body p {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Metadata – pracoviště, ordinační dny */
.doctor-meta {
  margin: 0;
  display: grid;
  gap: 8px 16px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  font-size: 0.9rem;
}

.doctor-meta dt {
  font-weight: 600;
  color: var(--text);
}

.doctor-meta dd {
  margin: 0;
  color: var(--muted);
}

/* Volitelné tlačítko ve footeru */
.doctor-footer {
  margin-top: 6px;
}

.btn-doctor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-doctor:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

/* Barevné varianty karet (každý lékař může mít svůj tón) */
.doctor-card--blue .doctor-photo img {
  border-color: #bfdbfe;
}

.doctor-card--blue .doctor-badge {
  background: #dbeafe;
  color: #1d4ed8;
}

.doctor-card--green .doctor-photo img {
  border-color: #bbf7d0;
}

.doctor-card--green .doctor-badge {
  background: #dcfce7;
  color: #15803d;
}

.doctor-card--purple .doctor-photo img {
  border-color: #e9d5ff;
}

.doctor-card--purple .doctor-badge {
  background: #f3e8ff;
  color: #6b21a8;
}

/* Responsivita – na mobilu se hlavička zarovná pod sebe */
@media (max-width: 640px) {
  .doctor-card {
    padding: 24px 16px 20px;
    align-items: center;
    text-align: center;
  }

  .doctor-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .doctor-photo {
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
    margin-right: 0;
  }

  .doctor-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .doctor-meta dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
  }
}





/* Online booking doctor mini photo */
.doctor-photo-mini {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.doctor-photo-mini img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 15%;
}

@media (max-width: 600px) {
  .doctor-photo-mini {
    width: 60px;
    height: 60px;
  }
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Fine-tuning for Dr. Altalla's photo zoom */
.doctor-photo--altalla {
  background: #fff !important;
}

.doctor-photo--altalla img {
  object-position: center 35%;
}