/* ═══════════════════════════════════════════
   KiraDent HK – Stylesheet v3
   ═══════════════════════════════════════════ */
/* ─── Fonty (self-hosted, GDPR friendly) ─── */
@font-face { font-family:'Playfair Display'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/playfair-display-latin-ext-400-normal.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; }
@font-face { font-family:'Playfair Display'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/playfair-display-latin-400-normal.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; }
@font-face { font-family:'Playfair Display'; font-style:italic; font-weight:400; font-display:swap;
  src:url('fonts/playfair-display-latin-ext-400-italic.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; }
@font-face { font-family:'Playfair Display'; font-style:italic; font-weight:400; font-display:swap;
  src:url('fonts/playfair-display-latin-400-italic.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; }
@font-face { font-family:'Playfair Display'; font-style:normal; font-weight:600; font-display:swap;
  src:url('fonts/playfair-display-latin-ext-600-normal.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; }
@font-face { font-family:'Playfair Display'; font-style:normal; font-weight:600; font-display:swap;
  src:url('fonts/playfair-display-latin-600-normal.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; }

@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/plus-jakarta-sans-latin-ext-400-normal.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; }
@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/plus-jakarta-sans-latin-400-normal.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; }
@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:500; font-display:swap;
  src:url('fonts/plus-jakarta-sans-latin-ext-500-normal.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; }
@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:500; font-display:swap;
  src:url('fonts/plus-jakarta-sans-latin-500-normal.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; }
@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:600; font-display:swap;
  src:url('fonts/plus-jakarta-sans-latin-ext-600-normal.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; }
@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:600; font-display:swap;
  src:url('fonts/plus-jakarta-sans-latin-600-normal.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; }
@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/plus-jakarta-sans-latin-ext-700-normal.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; }
@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/plus-jakarta-sans-latin-700-normal.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; }

@font-face { font-family:'Isolde'; src:url('isol.ttf') format('truetype'); font-weight:normal; font-style:normal; font-display:swap; }
@font-face {
  font-family: 'Isolde';
  src: url('isol.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Tmavá navy paleta – zachována */
  --navy:          #1c315e;
  --navy-mid:      #162d56;
  --navy-soft:     #1e3d6e;
  /* Cappuccino akcent (z loga) */
  --blue-accent:   #C4A97E;   /* cappuccino zlatá */
  --blue-hover:    #A8895A;   /* tmavší cappuccino – hover */
  /* Teplá béžová/krémová pozadí */
  --cream:         #FAF6F0;   /* teplá krémová */
  --white:         #ffffff;
  --light-blue:    #F5ECE0;   /* světlá cappuccino – karty, tagy */
  --border:        #E5D8C5;   /* teplý béžový border */
  /* Zlaté akcenty */
  --gold:          #C4A97E;
  --gold-light:    #D4BB99;
  /* Text */
  --text:          #1a1a14;   /* téměř černá s teplým podtónem */
  --text-light:    #6b5f52;   /* teplý středně hnědý */
  --text-muted:    #9a8f84;   /* bledý cappuccino */
  /* Stíny – teplý podtón */
  --shadow:        0 4px 24px rgba(13,27,55,.08);
  --shadow-lg:     0 12px 48px rgba(13,27,55,.13);
  --shadow-blue:   0 8px 28px rgba(196,169,126,.30);
  --radius:        16px;
  --radius-sm:     10px;
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'Plus Jakarta Sans', system-ui, sans-serif;
  --transition:    .35s cubic-bezier(.4,0,.2,1);
  /* Doplněno pro sjednocení s redesignem (ceník, FAQ, patička) */
  --gold-deep:     #8B6C42;   /* textový akcent cappuccino */
  --shadow-sm:     0 2px 14px rgba(19,34,65,.06);
  --ease:          cubic-bezier(.4,0,.2,1);
}

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

/* Screen-reader only – viditelné pro vyhledávače a čtečky, skryté vizuálně */
.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;
}
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ─── SECTION LABELS ─── */
.section-tag {
  display: inline-block; font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-accent); background: var(--light-blue);
  padding: 5px 14px; border-radius: 40px; margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 400; color: var(--navy); line-height: 1.2; margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--blue-hover); } /* velký text, 3:1 na krémové */
h3 { font-family: var(--font-sans); font-weight: 600; color: var(--navy); }
.section-sub { color: var(--text-light); font-size: 1rem; max-width: 520px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-sub { margin: 0 auto; }

/* ─── REVEAL ─── */
.reveal, .reveal-right {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right { transform: translateX(36px); }
.reveal.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* ─── PLACEHOLDER ─── */
.img-placeholder {
  background: linear-gradient(135deg, var(--light-blue) 0%, #d4e4f7 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; text-align: center; border-radius: var(--radius);
}
.img-placeholder .img-icon { font-size: 2.5rem; }
.img-placeholder p { font-weight: 600; color: var(--navy-mid); font-size: .85rem; }

/* ═══ LOGO ═══ */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { width: 52px; height: 52px; object-fit: contain; background: transparent; }
.logo-text { font-family: 'Isolde', var(--font-sans); font-size: 1.5rem; font-weight: 550; color: #ffffff !important; letter-spacing: 0.02em; -webkit-text-stroke: 0 !important; text-shadow: none !important; display: flex; align-items: baseline; gap: 2px; }
.logo-text em { font-style: normal !important; color: #c5a367 !important; font-weight: 400 !important; -webkit-text-stroke: 0.4px #c5a367; opacity: 1 !important; text-shadow: none; line-height: 1; vertical-align: baseline; display: inline-block; margin-left: 3px; }

/* Otevřené mobilní menu – stránka pod ním se neposouvá */
html.menu-open, body.menu-open { overflow: hidden; overscroll-behavior: none; }

/* ═══ TLAČÍTKO NAHORU (mobil + tablet) ═══ */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  width: 46px; height: 46px; border-radius: 999px;
  background: var(--navy); color: var(--white); border: 1px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow-lg);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}
.to-top .ico { width: 20px; height: 20px; }
.to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy-mid); }
.cookie-banner.show + .to-top { opacity: 0; pointer-events: none; }
@media (max-width: 1024px) { .to-top { display: flex; } }

/* ═══ COOKIE BANNER – bílá karta, primární tlačítko navy ═══ */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; right: 24px; max-width: 600px;
  background: var(--white); color: var(--text); border-radius: var(--radius);
  border: 1px solid var(--border); border-top: 3px solid var(--navy);
  padding: 24px; box-shadow: var(--shadow-lg); z-index: 9999;
  transform: translateY(130%); transition: transform .5s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner { display: flex; flex-direction: column; gap: 16px; }
.cookie-text strong { font-size: .95rem; display: block; margin-bottom: 6px; color: var(--navy); }
.cookie-text p { font-size: .85rem; color: var(--text-light); line-height: 1.55; }
.cookie-link { color: var(--gold-deep); font-size: .8rem; text-decoration: underline; text-underline-offset: 2px; }
.cookie-link:hover { color: var(--navy); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie-decline, .btn-cookie-accept {
  flex: 1; padding: 11px 18px; border-radius: var(--radius-sm); cursor: pointer;
  font-family: var(--font-sans); font-size: .85rem; font-weight: 600;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.btn-cookie-decline { background: transparent; border: 1px solid var(--border); color: var(--navy); }
.btn-cookie-decline:hover { border-color: var(--navy); background: var(--cream); }
.btn-cookie-accept { background: var(--navy); border: 1px solid var(--navy); color: var(--white); }
.btn-cookie-accept:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

/* ═══ NAVIGATION – DYNAMICKÁ NAVIGACE ═══ */

/* 1. Výchozí stav (nahoře, navy modrá) */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background-color: #1c315e !important; /* Modrá navy */
  box-shadow: 0 2px 15px rgba(0,0,0,0.15);
  transition: background 0.3s ease;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 2. Stav po odscrollování (bílá lišta) */
/* Tuto třídu aktivuje JavaScript v main.js */
.nav.scrolled {
  background: #ffffff !important;
}

/* 3. Změna barev textů, když je lišta bílá (.scrolled) */
.nav.scrolled .logo-text {
  color: #1c315e !important;
  -webkit-text-stroke: 0.3px #1c315e;
}

.nav.scrolled .nav-links a {
  color: #1c315e !important;
}

.nav.scrolled .hamburger span {
  background: #1c315e !important;
}

/* 4. Fix pro text HK v bílé liště (aby zůstal zlatý, ale byl výrazný) */
.nav.scrolled .logo-text em {
  color: #c5a367 !important;
  -webkit-text-stroke: 0.4px #c5a367;
}

.nav.scrolled .nav-inner {
  padding: 10px 24px !important; /* Ještě o něco užší při skrolování */
}

.nav-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 10px 24px;
  display: flex; align-items: center;
  transition: none !important;
}

/* Logo a tlačítko mají pevnou šířku, nav-links zaujímá zbytek a centruje se */
.logo { flex-shrink: 0; }
.nav-links { display: flex; gap: 32px; margin: 0 auto; }
.nav-links a { font-size: .875rem; font-weight: 500; color: #ffffff !important; opacity: 1; transition: opacity var(--transition), color var(--transition); }
.nav-links a:hover { opacity: 1; color: #7eb3f0 !important; }
.btn-nav { padding:10px 22px; background:var(--blue-accent); color:#ffffff !important; border-radius:var(--radius-sm); font-size:.875rem; font-weight:600; transition:background var(--transition),transform var(--transition),box-shadow var(--transition); white-space:nowrap; box-shadow:var(--shadow-blue); }
.btn-nav:hover { background:var(--blue-hover); transform:translateY(-1px); }
.hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; margin-left:auto; }
.nav-phone { display:none; width:44px; height:44px; align-items:center; justify-content:center; margin-left:auto; color:var(--gold-light); border-radius:var(--radius-sm); }
.nav-phone .ico { width:22px; height:22px; }
.nav.scrolled .nav-phone { color:var(--navy); }
.hamburger span { display:block; width:24px; height:2px; background: #ffffff !important; border-radius:2px; transition:var(--transition); }
.mobile-menu { display:none; flex-direction:column; background:rgba(255,255,255,.98); padding:16px 24px 24px; border-top:1px solid var(--border); gap:4px; }
.mobile-menu.open { display:flex; }
.mobile-menu a { padding:12px 0; font-size:.95rem; color:var(--navy); border-bottom:1px solid var(--border); }
.btn-mobile { margin-top:12px; padding:14px 24px !important; background:var(--blue-accent); color:#fff !important; border-radius:var(--radius-sm); text-align:center; font-weight:600; border-bottom:none !important; }

/* ═══ HERO – foto jako pozadí s přechodem zleva ═══ */
.hero {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding-top: 72px;
  position: relative;
  /* svh = stabilní výška viewportu: neposkakuje při skrývání adresního řádku v mobilním Safari */
  min-height: 600px;
  min-height: 80svh;
  margin-bottom: 0;
}

/* Fotografie ordinace – cover vyplní celé pozadí sekce */
.hero-bg-img {
  position: absolute;
  inset: 0;
  /* Fotka ordinace (assets/foto/hero-ordinace-*), WebP s JPEG záložkou */
  background-image: url('assets/foto/hero-ordinace-2000.jpg');
  background-image: image-set(
    url('assets/foto/hero-ordinace-2000.webp') type('image/webp'),
    url('assets/foto/hero-ordinace-2000.jpg') type('image/jpeg')
  );
  background-size: auto 136%;    /* zvětšeno, aby šlo foto posunout doprava a levá hrana zůstala pod krémovým přechodem */
  background-position: calc(100% + 15vw) center; /* posun doprava: křeslo sedí v pravé části hero */
  background-repeat: no-repeat;
  z-index: 0;
}

/* Badge – vpravo nahoře pod navigací */
.hero-badge-topright {
  position: absolute;
  top: 88px;        /* těsně pod navigací */
  right: 40px;
  z-index: 3;
}

/* Přechodový overlay: vlevo plná barva cream → vpravo průhledná */
.hero-fade-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    var(--cream)       0%,
    var(--cream)       38%,
    rgba(250,246,240,.92) 52%,
    rgba(250,246,240,.55) 68%,
    rgba(250,246,240,.10)  82%,
    transparent        100%
  );
}

.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 72px 24px 52px;
  position: relative;
  z-index: 2;
}

/* Levá část – text, max polovina šířky */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 520px;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 9px 18px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow);
  width: fit-content;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
}
.hero-title em { font-style: italic; color: var(--blue-hover); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 420px; line-height: 1.7;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  padding: 14px 30px; background: var(--blue-accent); color: #fff;
  border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(196,169,126,.40); }

.btn-ghost-dark {
  padding: 14px 30px;
  border: 1.5px solid var(--border);
  color: var(--navy);
  border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 500;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.btn-ghost-dark:hover { border-color: var(--blue-accent); box-shadow: var(--shadow); }

/* Badge "Přijímáme nové pacienty" */
.badge-dot {
  width: 9px; height: 9px;
  background: #22c55e; border-radius: 50%;
  animation: pulse 2s infinite; flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.6; transform:scale(1.3); }
}

/* Info lišta – centrovaná karta */
.hero-info-bar-wrap {
  padding: 0 24px 48px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-info-bar {
  display: inline-flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 860px;
  width: 100%;
}

.info-bar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px; flex: 1;
}
.info-icon { font-size: 1.1rem; flex-shrink: 0; }
.info-label {
  display: block; font-size: .62rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 2px;
}
.info-val { font-size: .82rem; font-weight: 600; color: var(--navy); }
.info-val a { color: var(--blue-accent); }
.info-val a:hover { text-decoration: underline; }
.info-bar-divider { width: 1px; background: var(--border); margin: 10px 0; }

/* Ordinační hodiny – „Dnes“ + rozbalovací rozpis týdne */
.info-bar-hours { position: relative; }
.hours { position: relative; }
.hours-summary { list-style: none; cursor: pointer; display: block; }
.hours-summary::-webkit-details-marker { display: none; }
.hours-summary .hours-today { display: block; }
.hours-toggle {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 2px;
  font-size: .8rem; font-weight: 500; color: var(--text-light);
  transition: color var(--transition);
}
.hours-toggle .ico { width: 14px; height: 14px; color: var(--navy); transition: transform var(--transition); }
.hours-summary:hover .hours-toggle { color: var(--gold-deep); }
.hours[open] .hours-toggle .ico { transform: rotate(180deg); }
.hours-pop {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
  min-width: 280px; padding: 10px; z-index: 5;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hours-pop::before {
  content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px;
  background: var(--white); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}
.hours-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  padding: 10px 14px; border-radius: 8px; font-size: .88rem; color: var(--text);
}
.hours-list li + li { border-top: 1px solid var(--cream); }
.hours-list .hours-time { font-weight: 500; color: var(--navy); white-space: nowrap; }
.hours-list li.is-today {
  background: var(--light-blue); color: var(--navy); font-weight: 600;
  box-shadow: inset 3px 0 0 var(--navy);
}
.hours-list li.is-today .hours-time { font-weight: 700; }

/* ═══ RIBBON ═══ */
.ribbon { overflow:hidden; background:var(--navy-mid); padding:13px 0; }
.ribbon-track { display:flex; animation:scrollRibbon 30s linear infinite; white-space:nowrap; }
.ribbon-track span { font-size:.74rem; letter-spacing:.09em; text-transform:uppercase; color:rgba(255,255,255,.62); padding:0 22px; }
.ribbon-track .sep { color:var(--gold-light); padding:0 4px; }
@keyframes scrollRibbon { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ═══ O NÁS ═══ */
.about { padding:100px 0; background:var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0 72px;
  align-items: start;
}

/* Desktop: about-images vlevo přes oba řádky, about-text vpravo nahoře, insurance vpravo dole */
.about-images { grid-column: 1; grid-row: 1 / 3; position: relative; }
.about-text    { grid-column: 2; grid-row: 1; }

/* ═══ O NÁS – SLIDESHOW ═══ */
.about-images { position: relative; }

.slideshow {
  position: relative;
  touch-action: pan-y;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--light-blue);
}

/* Jednotlivé snímky */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Fotografie ve snímku */
.slide picture { display: block; width: 100%; height: 100%; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

/* Placeholder pro snímek (dokud nemáte vlastní foto) */
.slide-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--light-blue) 0%, #c8dcf5 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; text-align: center;
  padding: 24px;
}
.slide-ph-icon { font-size: 3.5rem; }
.slide-placeholder p { font-size: .95rem; font-weight: 600; color: var(--navy-mid); }
.slide-placeholder span { font-size: .75rem; color: var(--text-light); font-style: italic; }

/* Šipky */
.slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  color: var(--navy);
  font-size: 1rem; line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13,27,55,.15);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.slide-btn:hover {
  background: var(--white);
  box-shadow: 0 6px 20px rgba(13,27,55,.2);
  transform: translateY(-50%) scale(1.08);
}
.slide-prev { left: 14px; }
.slide-next { right: 14px; }

/* Tečkový indikátor */
.slide-dots, .slide-dots-mobile {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0; z-index: 10;
}
.slide-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none; cursor: pointer; padding: 10px; box-sizing: content-box; background-clip: content-box; /* cíl 28 px */
  transition: background var(--transition), transform var(--transition);
}
.slide-dot.active {
  background-color: var(--white);
  transform: scale(1.25);
}

/* Mobilní slideshow – skrytá na desktopu */
.about-images-mobile { display: none; }

/* Mezera mezi odstavci O nás */
.about-desc { color:var(--text-light); line-height:1.75; text-align: justify; text-justify: inter-word; }
.about-desc + .about-desc { margin-top: 20px; }

.about-features { display:flex; flex-direction:column; gap:14px; margin-top:24px; }
.feature { display:flex; gap:14px; align-items:flex-start; }
.feature-icon { width:28px; height:28px; background:var(--light-blue); color:var(--blue-accent); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.82rem; flex-shrink:0; font-weight:700; margin-top:2px; }
.feature strong { font-size:.9rem; color:var(--navy); }
.feature p { font-size:.85rem; color:var(--text-light); margin-top:2px; }

/* Pojišťovny – obrázek zarovnaný dolním okrajem se slideshow */
.insurance-block {
  grid-column: 2; grid-row: 2;
  margin-top: 0;
  align-self: end;   /* dolní okraj zarovnán se slideshow */
  background: none;
  border: none;
  padding: 0;
}
.insurance-img {
  width: 100%;
  height: auto;
  display: block;
}
.insurance-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(140px,1fr)); gap:10px; }
.insurance-item { display:flex; align-items:center; gap:10px; background:var(--white); border:1px solid var(--border); border-radius:var(--radius-sm); padding:10px 12px; transition:border-color var(--transition),box-shadow var(--transition); }
.insurance-item:hover { border-color:var(--blue-accent); box-shadow:var(--shadow); }
.insurance-code { font-size:.72rem; font-weight:700; color:var(--white); background:var(--navy-mid); border-radius:6px; padding:3px 7px; flex-shrink:0; }
.insurance-name { font-size:.73rem; font-weight:600; color:var(--navy); line-height:1.3; }
.insurance-name small { font-weight:400; color:var(--text-light); }

/* ═══ SLUŽBY ═══ */
.services { padding:100px 0; background:var(--cream); }
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card {
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:34px 30px 30px; display:flex; flex-direction:column; align-items:flex-start;
  transition:transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:var(--blue-accent); }
/* 3D ikony služeb (model-viewer); .service-3d-fallback = <img> s posterem bez WebGL/JS */
.service-3d {
  display:block; width:88px; height:88px; margin:-8px 0 12px -8px;
  background:transparent; --poster-color:transparent; --progress-bar-color:transparent;
  pointer-events:none;
}
/* Poster slot: SVG chip vycentrovaný v boxu 3D ikony; bez JS/WebGL zůstává viditelný trvale */
.service-3d-poster { position:absolute; inset:0; margin:auto; }
.service-3d-poster .ico { width:26px; height:26px; }
.service-3d:not(:defined) { position:relative; }
.service-card h3 { font-size:1.08rem; font-weight:600; color:var(--navy); margin-bottom:10px; line-height:1.35; }
.service-card p { font-size:.92rem; color:var(--text-light); line-height:1.7; margin-bottom:22px; }
.service-link {
  margin-top:auto; display:inline-flex; align-items:center; gap:7px;
  font-size:.82rem; font-weight:600; color:var(--gold-deep); transition:color var(--transition);
}
.service-link .ico { width:15px; height:15px; transition:transform var(--transition); }
.service-link:hover { color:var(--navy); }
.service-link:hover .ico { transform:translateX(3px); }
.price-category[id] { scroll-margin-top:96px; }

/* ═══ ZUBAŘKA ═══ */
/* ═══ NÁŠ TÝM – 2 až 3 karty, mřížka se přizpůsobí počtu ═══ */
.team-section { padding:100px 0; background:var(--cream); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
  gap: 32px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 0;
}

/* Nahraďte img-placeholder skutečnou fotografií:
   <img src="foto_izabella.jpg" alt="MDDr. Izabella Sharolapova" class="team-photo-img" /> */
.team-photo picture { display: block; width: 100%; height: 100%; }
.team-photo-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}

.team-info {
  padding: 20px 22px 24px;
  text-align: center;
}
.team-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.team-role {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-accent);
}

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

/* ─── Starý .doctor zůstane pro zpětnou kompatibilitu ─── */
.doctor { padding:100px 0; background:var(--cream); }
.doctor-grid { display:grid; grid-template-columns:1fr 1.4fr; gap:72px; align-items:center; }
.doctor-photo { width:100%; aspect-ratio:3/4; border-radius:20px; box-shadow:var(--shadow-lg); }
.doctor-role { display:block; font-size:.8rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--blue-accent); margin-bottom:20px; }
.doctor-desc { color:var(--text-light); margin-bottom:12px; line-height:1.75; }
.doctor-quals { display:flex; flex-direction:column; gap:10px; margin-top:24px; }
.qual-item { display:flex; align-items:center; gap:12px; }
.qual-dot { width:8px; height:8px; background:var(--blue-accent); border-radius:50%; flex-shrink:0; }
.qual-item span { font-size:.9rem; color:var(--text); }

/* ═══ RECENZE – slideshow ═══ */
.reviews { padding:100px 0; background:var(--navy); }
.reviews .section-tag { background:rgba(196,169,126,.35); color:#D4BB99; }
.reviews .section-title { color:#fff; }
.reviews .section-title em { color:#D4BB99; }

.reviews-slideshow {
  position: relative;
  overflow: hidden;
  padding-bottom: 52px; /* místo pro tečky */
}

.reviews-track {
  display: flex;
  gap: 22px;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.review-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 30px;
  flex: 0 0 calc((100% - 44px) / 3); /* 3 karty na desktopu */
  transition: background var(--transition), border-color var(--transition);
  backdrop-filter: blur(8px);
}
.review-card:hover { background:rgba(255,255,255,.1); border-color:rgba(196,169,126,.35); }

.stars { color:#D4BB99; font-size:1rem; letter-spacing:.08em; margin-bottom:16px; }

.review-card p {
  font-family: var(--font-sans); font-size:.93rem;
  font-style: normal; font-weight: 400;
  color: rgba(255,255,255,.82); line-height: 1.75; margin-bottom: 22px;
}

.reviewer { display:flex; align-items:center; gap:12px; }
.reviewer-avatar { width:40px; height:40px; background:var(--blue-accent); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.8rem; font-weight:700; flex-shrink:0; }
.reviewer strong { font-size:.9rem; color:#fff; display:block; }
.reviewer span { font-size:.78rem; color:rgba(255,255,255,.5); }

/* Šipky recenzí */
.reviews-btn {
  position: absolute; top: 50%; transform: translateY(calc(-50% - 26px));
  width: 40px; height: 40px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff; font-size: 1rem;
  cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.reviews-btn:hover { background: rgba(255,255,255,.22); transform: translateY(calc(-50% - 26px)) scale(1.08); }
.reviews-prev { left: -52px; }
.reviews-next { right: -52px; }

/* Tečky recenzí */
.reviews-dots {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.reviews-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none; cursor: pointer; padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.reviews-dot.active { background: #fff; transform: scale(1.3); }

/* ═══ OBRÁZEK POJIŠŤOVEN ═══ */
.insurance-image-wrap {
  margin-top: 52px;
  display: flex;
  justify-content: center;
}
.insurance-image-wrap img {
  max-width: 720px;
  width: 100%;
  display: block;
}

/* ═══ KONTAKT ═══ */
.contact { padding:100px 0; background:var(--white); }
.contact-grid { display:grid; grid-template-columns:1fr 1.1fr; gap:64px; align-items:start; }
.contact-items { display:flex; flex-direction:column; gap:22px; margin-top:32px; }
.contact-item { display:flex; gap:16px; align-items:flex-start; }
.contact-icon { width:44px; height:44px; background:transparent; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-item strong { font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--blue-accent); display:block; margin-bottom:4px; }
.contact-item p { color:var(--text); line-height:1.65; font-size:.9rem; }
.contact-item a { color:var(--blue-accent); }
.contact-item a:hover { text-decoration:underline; }

.form-card { background:var(--cream); border-radius:20px; padding:38px; border:1px solid var(--border); box-shadow:var(--shadow); }
.form-card h3 { font-size:1.5rem; font-weight:700; color:var(--navy); margin-bottom:6px; }
.form-sub { font-size:.85rem; color:var(--text-light); margin-bottom:26px; }
.contact-form { display:flex; flex-direction:column; gap:16px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label { font-size:.78rem; font-weight:600; color:var(--navy); letter-spacing:.04em; }
.form-group input, .form-group select, .form-group textarea { width:100%; padding:12px 14px; border:1.5px solid var(--border); border-radius:var(--radius-sm); font-family:var(--font-sans); font-size:.88rem; color:var(--text); background:var(--white); transition:border-color var(--transition),box-shadow var(--transition); outline:none; appearance:none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:var(--blue-accent); box-shadow:0 0 0 3px rgba(196,169,126,.15); }
.form-group textarea { resize:vertical; min-height:80px; }
.form-check { flex-direction:row; align-items:flex-start; gap:10px; }
.form-check input[type="checkbox"] { width:17px; height:17px; flex-shrink:0; margin-top:2px; accent-color:var(--blue-accent); }
.form-check label { font-size:.8rem; color:var(--text-light); line-height:1.5; }
.form-check a { color:var(--blue-accent); text-decoration:underline; }
.btn-submit { padding:14px 26px; background:var(--blue-accent); color:#fff; border:none; border-radius:var(--radius-sm); font-family:var(--font-sans); font-size:.9rem; font-weight:600; cursor:pointer; transition:background var(--transition),transform var(--transition); box-shadow:var(--shadow-blue); }
.btn-submit:hover { background:var(--blue-hover); transform:translateY(-1px); }
.form-success { background:#dcfce7; color:#166534; padding:13px 16px; border-radius:var(--radius-sm); font-size:.875rem; margin-bottom:16px; }
.form-error { background:#fee2e2; color:#991b1b; padding:13px 16px; border-radius:var(--radius-sm); font-size:.875rem; margin-bottom:16px; }

/* ─── MAPA ─── */
.map-section { overflow:hidden; }
.map-section iframe { display:block; filter:grayscale(15%) contrast(1.05); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .about-grid { gap:48px; }
  .doctor-grid { gap:48px; }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns:repeat(2,1fr); }
  /* Recenze – 1 karta na tabletu/mobilu */
  .review-card { flex: 0 0 100%; }
  .reviews-prev { left: 0; }
  .reviews-next { right: 0; }
  /* Hero – na tabletu zesilíme přechod, foto zůstane v pozadí */
  .hero-fade-overlay {
    background: linear-gradient(
      to right,
      var(--cream) 0%,
      var(--cream) 55%,
      rgba(250,246,240,.80) 72%,
      rgba(244,247,252,.2) 90%,
      transparent 100%
    );
  }
  .hero-inner { padding: 56px 24px 40px; }
  .hero-info-bar { flex-direction:column; }
  .info-bar-divider { width:100%; height:1px; margin:0; }
  .info-bar-item { padding:10px 18px; gap:8px; }
  .info-bar-hours { align-items:flex-start; }
  .info-bar-hours .info-icon-img { margin-top:3px; }
  .hours-pop { position:static; transform:none; min-width:0; margin-top:10px; padding:4px 0; box-shadow:none; border:0; border-radius:0; }
  .hours-pop::before { display:none; }
  .nav-inner { padding: 10px 20px !important; transition: none !important; }
  .nav.scrolled .nav-inner {
    padding: 10px 20px !important; 
  }
  .logo-text, 
  .nav.scrolled .logo-text {
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
  }
  .logo-text em, 
  .nav.scrolled .logo-text em {
    -webkit-text-stroke: 0 !important;
  }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display:none; }
  .nav-phone { display:inline-flex; }
  .hamburger { margin-left:0; }
  .nav-inner, 
  .nav.scrolled .nav-inner {
    padding: 18px 20px !important; /* Zvětšeno pro masivnější vzhled */
    transition: none !important;
    min-height: 70px !important;
    display: flex;
    align-items: center;
  }

  /* Zvětšení prvků loga, aby odpovídaly větší liště */
  .logo-img {
    width: 45px !important; 
    height: 45px !important; 
  }
  .logo-text {
    font-size: 1.3rem !important; 
  }

  .hamburger { 
    display:flex; 
    padding: 10px !important; 
    scale: 1.2;
  }

  /* Čistý text loga bez stínů a stroke */
  .logo-text, 
  .nav.scrolled .logo-text,
  .logo-text em, 
  .nav.scrolled .logo-text em {
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
  }

  /* Zmenšené paddingy sekcí na mobilu */
  .about     { padding: 56px 0; }
  .services  { padding: 56px 0; }
  .doctor    { padding: 56px 0; }
  .reviews   { padding: 56px 0; }
  .contact   { padding: 56px 0; }

  /* About grid – jednoduchý jednosloupcový layout */
  .about-grid { display: flex; flex-direction: column; gap: 0; }
  .about-images { display: none; }          /* Desktop slideshow skryta */
  .about-images-mobile {
    display: block;
    margin-top: 28px;
    margin-bottom: 28px;
    max-width: 300px;   /* stejná šířka jako fotka zubařky */
    margin-left: auto;
    margin-right: auto;
  }
  .about-images-mobile .slideshow {
    aspect-ratio: 3/4;   /* stejný poměr jako fotka zubařky */
    border-radius: 20px;
  }
  .insurance-block { grid-column: auto; grid-row: auto; margin-top: 0; }
  /* Hero – mobil: foto v pozadí s silnějším přechodem */
  .hero { min-height: 560px; } /* pevně v px: výška se při skrývání adresního řádku nemění */
  .hero-bg-img {
    background-position: 46% center; /* křeslo v pravé části displeje */
    background-image: url('assets/foto/hero-ordinace-1200.jpg');
    background-image: image-set(
      url('assets/foto/hero-ordinace-1200.webp') type('image/webp'),
      url('assets/foto/hero-ordinace-1200.jpg') type('image/jpeg')
    );
  }
  .hero-fade-overlay {
    background: linear-gradient(
      to bottom,
      rgba(250,246,240,.93) 0%,
      rgba(250,246,240,.82) 55%,
      rgba(250,246,240,.60) 100%
    );
  }
  .hero-left { max-width: 100%; gap: 16px; }
  .hero-title { font-size: clamp(1.75rem, 6.6vw, 2.4rem); line-height: 1.18; text-wrap: balance; }
  .hero-sub { font-size: .98rem; max-width: none; line-height: 1.6; }
  .hero-inner { padding: 40px 20px 48px; align-items: center; }
  /* Tlačítko přes celou šířku, štítek „Přijímáme nové pacienty“ pod ním jako dřív */
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 4px; }
  .hero-card-badge { box-shadow: none; padding: 8px 16px; font-size: .78rem; }
  /* Info karta se na mobilu a tabletu na výšku nezobrazuje (telefon je v liště, vše v Kontaktu) */
  .hero-info-bar-wrap { display: none; }
  .hero-info-bar {
    box-shadow: var(--shadow);
    display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  }
  .hero-info-bar .info-bar-divider { display: none; }
  .hero-info-bar .info-bar-item:first-child .info-val { white-space: nowrap; }
  .hero-info-bar .info-bar-item { padding: 11px 14px; gap: 9px; align-items: flex-start; }
  .hero-info-bar .info-bar-item:first-child { grid-column: 1; grid-row: 1; }
  .hero-info-bar .info-bar-item:last-child { grid-column: 2; grid-row: 1; border-left: 1px solid var(--border); }
  .hero-info-bar .info-bar-hours { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--border); }
  .hero-info-bar .info-icon-img { width: 16px; height: 16px; margin-top: 2px; }
  .hero-info-bar .info-label { font-size: .58rem; letter-spacing: .07em; margin-bottom: 1px; }
  .hero-info-bar .info-val { font-size: .8rem; line-height: 1.35; }
  .hero-info-bar .hours-toggle { font-size: .76rem; }
  .hours-list li { padding: 8px 10px; font-size: .84rem; }
  /* Mobil: foto pokryje celé pozadí */
  .hero-bg-img {
    background-size: cover;
    background-position: center center;
  }
  .doctor-grid { grid-template-columns:1fr; }
  .doctor-photo-wrap { max-width:300px; margin:0 auto; }
  .contact-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .insurance-grid { grid-template-columns:repeat(2,1fr); }
  .nav-inner { padding: 10px 20px !important; transition: none !important; }
  .nav.scrolled .nav-inner {
    padding: 10px 20px !important; 
  }
  .logo-text, 
  .nav.scrolled .logo-text {
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
  }
  .logo-text em, 
  .nav.scrolled .logo-text em {
    -webkit-text-stroke: 0 !important;
  }
}

@media (max-width: 580px) {
  .services-grid { grid-template-columns:1fr; }
  .reviews-grid { grid-template-columns:1fr; }
  .hero-inner { padding: 36px 20px 44px; }
  /* Navigace: stejná výška před i po scrollu */
  .nav-inner,
  .nav.scrolled .nav-inner {
    padding: 12px 20px !important; transition: none !important; min-height: 64px !important;
    display: flex;
    align-items: center;
  }
  .logo-text, 
  .nav.scrolled .logo-text {
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
  }
  .logo-text em, 
  .nav.scrolled .logo-text em {
    -webkit-text-stroke: 0 !important;
  }
  .logo-img {
    width: 45px !important; /* Mírné zvětšení oproti standardnímu mobilnímu zobrazení */
    height: 45px !important;
  }
  .logo-text {
    font-size: 1.3rem !important; /* Zvětšení textu loga */
  }
  .hamburger {
    padding: 10px !important;
    scale: 1.2; /* Zvětší celé tlačítko menu */
  }
}

/* ═══ MOBILNÍ SLIDESHOW – fix velikosti (odpovídá fotce zubařky) ═══ */
@media (max-width: 768px) {
  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .about-images { display: none; }
  .about-images-mobile {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .about-images-mobile .slideshow {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: 16px;
  }
  .slide-btn {
    width: 34px;
    height: 34px;
    font-size: .95rem;
    box-shadow: 0 2px 8px rgba(13,27,55,.12);
  }
  /* O nás – rubrika a nadpis na mobilu na střed, odstavce zůstávají vlevo */
  .about-text { text-align: center; }
  .about-text .about-desc { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
}

/* ═══ NÁŠ TÝM – mobilní optimalizace ═══ */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); gap: 20px; }
}
@media (max-width: 580px) {
  .team-section { padding: 56px 0; }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
  .team-photo { aspect-ratio: 3/4; }
}

/* --- FINÁLNÍ ÚPRAVA PRO IKONY (OBRÁZKY V KONTEJNERECH) --- */

/* 1. Společné nastavení pro kontejnery ikon, aby v nich obrázky byly na středu */
.info-icon, .service-icon, .contact-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 2. Ikony v bílé Hero liště (Telefon, Hodiny, Adresa) */
.info-icon-img {
  width: 20px;
  height: 20px;
  color: var(--navy);
  flex-shrink: 0;
}

/* 4. Ikony v sekci "Kontakt" – stejné SVG jako v hero, průhledné pozadí */
.contact-icon-img {
  width: 24px;
  height: 24px;
  color: var(--navy);
}

/* 5. Drobná korekce, aby ikony v kontaktu nebyly nalepené na textu */
.contact-item {
  display: flex;
  align-items: center; /* Vycentruje ikonu vertikálně s textem */
  gap: 16px;
}
/* ═══════════════════════════════════════════
   CAPPUCCINO BAREVNÝ PŘEPIS – finální doladění
   ═══════════════════════════════════════════ */

/* Hero fade overlay – teplá krémová zleva */
.hero-fade-overlay {
  background: linear-gradient(
    to right,
    #FAF6F0       0%,
    #FAF6F0       38%,
    rgba(250,246,240,.92) 52%,
    rgba(250,246,240,.55) 68%,
    rgba(250,246,240,.1)  82%,
    transparent   100%
  ) !important;
}

/* Navigace – lehký teplý stín */
.nav {
  box-shadow: 0 2px 20px rgba(13,27,55,.07) !important;
}

/* Section tag – teplý cappuccino podtón */
.section-tag {
  color: #7A5C34 !important; /* AA kontrast na krémové (5.7:1) */
  background: rgba(196,169,126,.12) !important;
}

/* Tlačítka – cappuccino místo modré */
.btn-primary,
.btn-nav,
.btn-submit,
.btn-mobile {
  background: #7A5C34 !important; /* AA kontrast s bílým textem (5.7:1) */
  box-shadow: 0 8px 28px rgba(122,92,52,.28) !important;
}
.btn-primary:hover,
.btn-nav:hover,
.btn-submit:hover {
  background: #654B2A !important;
}

/* Tlačítka v hero – tmavá navy pro kontrast */
.hero .btn-primary,
.hero .btn-primary:hover {
  background: var(--navy) !important;
  box-shadow: 0 6px 20px rgba(13,27,55,.18) !important; /* jemnější stín – tmavé halo opticky měnilo odstín */
}
.hero .btn-primary:hover {
  background: var(--navy-mid) !important;
}

/* Recenze sekce – ztmavit ribbon na cappuccino-navy mix */
.reviews .section-tag {
  background: rgba(196,169,126,.22) !important;
  color: #D4BB99 !important;
}
.reviews .section-title em { color: #D4BB99 !important; }
.reviews-dot.active { background: #C4A97E !important; }

/* Formulář – cappuccino focus */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #C4A97E !important;
  box-shadow: 0 0 0 3px rgba(196,169,126,.15) !important;
}

/* Hero badge – teplý béžový */
.hero-card-badge {
  background: #FAF6F0 !important;
  border-color: #E5D8C5 !important;
}

/* Ribbon – navy pozadí zůstane, ale tečky cappuccino */
.ribbon { background: var(--navy) !important; }
.ribbon-track .sep { color: #C4A97E !important; }

/* Slide dots – cappuccino */
.slide-dot.active { background-color: #C4A97E !important; }

/* Insurance items hover */
.insurance-item:hover { border-color: #C4A97E !important; }

/* Qual dot */
.qual-dot { background: #C4A97E !important; }

/* Team role */
.team-role { color: #8B6C42 !important; }


/* Feature icon */
.feature-icon { background: rgba(196,169,126,.12) !important; color: #8B6C42 !important; }

/* Reviewer avatar */
.reviewer-avatar { background: #A8895A !important; }

/* About section tag */
.nav-links a:hover { color: #8B6C42 !important; }

/* Oprava zarovnání a klikatelnosti checkboxu */
.form-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}
.form-check input[type="checkbox"] { margin-top: 2px; }

.form-check input[type="checkbox"] {
  appearance: checkbox !important; /* Vrátí standardní fajfku */
  -webkit-appearance: checkbox !important;
  width: 18px;
  height: 18px;
  margin: 0; /* Odstraní výchozí okraje prohlížeče, které to mohou posouvat */
  cursor: pointer;
  accent-color: var(--blue-accent);
  flex-shrink: 0; /* Zabrání deformaci checkboxu při zúžení obrazovky */
}

.form-check label {
  font-size: .85rem;
  line-height: 1.45;
  margin: 0;
  cursor: pointer;
}

.form-check label {
  cursor: pointer;      /* Změní kurzor na ruku, aby bylo jasné, že je to klikací */
  pointer-events: auto; /* Zajistí, že text bude reagovat na kliknutí */
  user-select: none;    /* Zabrání nechtěnému označení textu při klikání */
}

.form-check input[type="checkbox"] {
  cursor: pointer;
  pointer-events: auto;
}

/* ═══════════════════════════════════════════
   NOVÉ ÚPRAVY
   ═══════════════════════════════════════════ */

/* ─── NAV SCROLLED – cappuccino hover na linkách ─── */
.nav.scrolled .nav-links a:hover {
  color: #C4A97E !important;
  opacity: 1;
}

/* ─── MOBILNÍ MENU – redesign s logem a kontakty ─── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,.99);
  padding: 0 24px 24px;
  border-top: 1px solid var(--border);
  gap: 0;
}
.mobile-menu.open { display: flex; }

.mobile-menu-header {
  padding: 20px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu-logo .logo-text {
  color: #1c315e !important;
}
.mobile-menu-logo .logo-text em {
  color: #c5a367 !important;
}

.mobile-menu-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 4px;
}
.mobile-menu-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-light);
}
.mobile-menu-info-item a {
  color: var(--blue-accent);
  font-weight: 600;
}
.mobile-menu-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--navy);
}
.mobile-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0 4px;
}
.mobile-menu > a {
  padding: 13px 0;
  font-size: .95rem;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu > a:hover {
  color: var(--blue-accent);
}

/* ─── TÝM – MOBILNÍ SLIDESHOW ─── */
.team-slideshow-mobile {
  display: none;
  position: relative;
  touch-action: pan-y;
  overflow: hidden;
  padding-bottom: 44px;
}

.team-slideshow-track {
  display: flex;
  gap: 20px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.team-slideshow-mobile .team-card {
  flex: 0 0 100%;
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.team-slideshow-mobile .team-photo {
  aspect-ratio: 3/4;
}

.team-slide-btn {
  position: absolute;
  top: calc(50% - 22px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(13,27,55,.12);
  transition: background var(--transition), transform var(--transition);
}
.team-slide-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.08);
}
.team-slide-prev { left: 10px; }
.team-slide-next { right: 10px; }

.team-slide-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0;
}
.team-slide-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 10px; box-sizing: content-box; background-clip: content-box; /* cíl 29 px */
  transition: background var(--transition), transform var(--transition);
}
.team-slide-dot.active {
  background-color: #C4A97E;
  transform: scale(1.3);
}

/* Tablet: team slideshow zobrazí se */
@media (max-width: 900px) {
  .team-grid { display: none !important; }
  .team-slideshow-mobile { display: block; }
  .team-slide-btn { width: 36px; height: 36px; font-size: .95rem; box-shadow: 0 2px 8px rgba(13,27,55,.12); }
}

/* ═══════════════════════════════════════════
   CENÍK · FAQ · PATIČKA – sjednoceno s redesignem (v4)
   Pouze tokeny z :root, žádné !important.
   ═══════════════════════════════════════════ */

:focus-visible { outline: 2px solid var(--blue-hover); outline-offset: 3px; border-radius: 4px; }

/* ─── Ikony (SVG sprite) ─── */
.ico { width: 22px; height: 22px; flex-shrink: 0; display: block; }
/* Vykrojené detaily u plných ikon (ručičky hodin, chlopeň obálky) */
.ico-cut { fill: none; stroke: var(--white); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-chip {
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--light-blue); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ═══ CENÍK ═══ */
.pricelist { padding: 100px 0; background: var(--white); }
.price-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
}
.price-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.price-table thead th {
  background: var(--navy); color: var(--white); text-align: left;
  padding: 16px 26px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.price-table thead th:last-child { text-align: right; }
.price-table td { padding: 15px 26px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:not(.price-category):not(.price-info):hover td { background: var(--cream); }
.price-table .price-name { font-weight: 400; color: var(--navy); }
.price-category td {
  background: var(--light-blue); color: var(--gold-deep);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 11px 26px;
}
.price-col { text-align: right; font-weight: 700; color: var(--gold-deep); white-space: nowrap; }
.price-tag {
  display: block; font-size: .72rem; font-weight: 500; letter-spacing: .04em;
  color: var(--text-muted); margin-bottom: 2px;
}
.price-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px 4px 7px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--blue-accent); color: var(--navy);
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.4; vertical-align: middle;
}
.price-badge .ico {
  width: 16px; height: 16px; padding: 3px; border-radius: 999px;
  background: var(--blue-accent); color: var(--white);
}
.price-col .price-badge + .price-tag { margin: 4px 0 0; }
.price-info td {
  background: var(--cream); color: var(--text-light);
  font-size: .84rem; line-height: 1.65; padding: 14px 26px 16px;
  text-align: justify; hyphens: auto; -webkit-hyphens: auto;
}
.price-note {
  margin-top: 22px; font-size: .88rem; color: var(--text-light); line-height: 1.7;
  background: var(--cream); border-left: 3px solid var(--blue-accent);
  padding: 16px 20px; border-radius: var(--radius-sm);
  text-align: justify; hyphens: auto; -webkit-hyphens: auto;
}
.price-note strong { color: var(--navy); font-weight: 600; }
.price-note-intro { margin: 0 0 26px; }
.price-policy {
  margin-top: 40px; padding: 28px 30px;
  background: var(--light-blue); border: 1px solid var(--border); border-radius: var(--radius);
}
.price-policy h3 { font-size: 1.05rem; margin-bottom: 12px; }
.price-policy p { font-size: .92rem; color: var(--text-light); line-height: 1.7; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.price-policy p + p { margin-top: 8px; }
.price-policy strong { color: var(--navy); font-weight: 600; }

/* ═══ FAQ ═══ */
.faq-section { padding: 100px 0; background: var(--light-blue); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover, .faq-item.open { border-color: var(--blue-accent); }
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 21px 26px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-sans); font-size: .97rem; font-weight: 600; color: var(--navy); line-height: 1.45;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--gold-deep); }
.faq-q .ico-chip { width: 30px; height: 30px; transition: transform var(--transition), background var(--transition), color var(--transition); }
.faq-q .ico-chip .ico { width: 14px; height: 14px; }
.faq-item.open .faq-q .ico-chip { transform: rotate(45deg); background: var(--blue-hover); color: var(--white); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { padding: 0 26px 24px; font-size: .92rem; color: var(--text-light); line-height: 1.75; }
.faq-a a { color: var(--gold-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.faq-a a:hover { color: var(--navy); }

/* ═══ PATIČKA ═══ */
.footer { background: var(--navy); color: var(--white); padding: 88px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr; gap: 48px;
  padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer .logo-img { width: 46px; height: 46px; }
.footer-brand > p { margin-top: 18px; max-width: 280px; font-size: .92rem; line-height: 1.7; color: rgba(255,255,255,.66); }
.footer-totop {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 24px;
  padding: 10px 18px; border: 1px solid rgba(212,187,153,.32); border-radius: var(--radius-sm);
  color: var(--gold-light); font-size: .84rem; font-weight: 500; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.footer-totop .ico { width: 15px; height: 15px; }
.footer-totop:hover { background: rgba(212,187,153,.12); transform: translateY(-2px); }
.footer h4 {
  font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--white); margin-bottom: 20px; padding-bottom: 10px; position: relative;
}
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--blue-accent); }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,.72); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact p { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.72); margin-bottom: 6px; }
.footer-contact a { color: var(--gold-light); transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { padding-top: 26px; text-align: center; font-size: .78rem; color: rgba(255,255,255,.66); }
.footer :focus-visible { outline-color: var(--blue-accent); }

/* ─── Responsivita ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .pricelist, .faq-section { padding: 56px 0; }
  .price-policy { padding: 22px 20px; margin-top: 30px; }
  .faq-q { padding: 17px 20px; font-size: .92rem; }
  .faq-a-inner p { padding: 0 20px 20px; }
  .footer { padding: 56px 0 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
/* Ceník – mobil: řádky místo tabulky, cena vždy viditelná */
@media (max-width: 720px) {
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; }
  .price-table tr:not(.price-category):not(.price-info) {
    display: grid; grid-template-columns: 1fr auto; gap: 3px 18px; align-items: center;
    padding: 15px 20px; border-bottom: 1px solid var(--border);
  }
  .price-table td { padding: 0; border: none; }
  .price-table .price-col { grid-column: 2; white-space: normal; max-width: 9.5rem; }
  .price-table .price-category { padding: 10px 20px; }
  .price-table .price-info td { padding: 14px 20px 16px; }
  .price-table tbody tr:not(.price-category):not(.price-info):hover td { background: transparent; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-right { opacity: 1; transform: none; transition: none; }
  .faq-a, .faq-item, .faq-q, .faq-q .ico-chip, .footer-totop, .footer-links a, .footer-contact a { transition: none; }
  .footer-totop:hover { transform: none; }
  .service-card, .service-link, .service-link .ico { transition: none; }
  .service-card:hover { transform: none; }
  .service-link:hover .ico { transform: none; }
  .hours-toggle, .hours-toggle .ico { transition: none; }
  .to-top { transition: none; transform: none; }
  .badge-dot { animation: none; }
}
