/* =====================================================================
   Veterinární klinika Slaný – sdílený design
   Moderní & čistý styl, paleta teal/zelená
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Barvy */
  --teal-900: #134e4a;
  --teal-800: #115e59;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;

  --accent:      #ff8a5c;   /* teplý akcent (packy, srdíčka) */
  --accent-dark: #f2703c;

  --ink:      #0f2e2b;      /* hlavní text */
  --slate:    #45585a;      /* sekundární text */
  --muted:    #5b6c6d;      /* jemný text – WCAG AA (4,7:1 na bílém) */
  --line:     #e2ece9;      /* linky / rámečky */
  --bg:       #ffffff;
  --bg-soft:  #f4fbf9;
  --bg-tint:  #f0fdfa;

  /* Typografie */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rozměry */
  --container: 1180px;
  --radius:  16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 8px rgba(15, 118, 110, .06);
  --shadow:    0 10px 30px rgba(15, 78, 74, .10);
  --shadow-lg: 0 24px 60px rgba(15, 78, 74, .16);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--ink); letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
/* Text wrapping helpery */
.nowrap { white-space: nowrap; }
.tel { white-space: nowrap; font-variant-numeric: tabular-nums; }
::selection { background: var(--teal-500); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: 68px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700); background: var(--teal-100);
  padding: 7px 15px; border-radius: 999px;
}
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-head p { color: var(--slate); margin-top: 16px; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--teal-700); color: #fff; box-shadow: 0 8px 22px rgba(15,118,110,.32); }
.btn--primary:hover { background: var(--teal-800); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15,118,110,.42); }
.btn--ghost { background: #fff; color: var(--teal-700); border-color: var(--teal-100); }
.btn--ghost:hover { border-color: var(--teal-500); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn--light:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn--accent { background: #c94d14; color: #fff; box-shadow: 0 8px 22px rgba(201,77,20,.35); }
.btn--accent:hover { background: #a83f0f; transform: translateY(-2px); }

/* ---------- Header / navigace ---------- */
.header {
  position: sticky; top: 0; z-index: 1200;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(15,78,74,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); line-height: 1.1; transition: transform .25s var(--ease); }
.brand:hover { transform: translateY(-1px); }
.brand > span:last-child { display: flex; flex-direction: column; padding-left: 2px; }
.brand__mark {
  width: 56px; height: 48px; display: grid; place-items: center;
  flex: none;
}
.brand__mark svg { width: 26px; height: 26px; fill: var(--teal-700); }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .74rem; color: var(--teal-700); letter-spacing: .08em; text-transform: uppercase; margin-top: 1px; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--slate);
  padding: 9px 15px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--teal-700); background: var(--teal-50); }
.nav__links a.active { color: var(--teal-700); background: var(--teal-100); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--teal-700); }
.nav__phone svg { width: 18px; height: 18px; fill: var(--teal-600); }

.nav__toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 60px 0 72px; background: radial-gradient(1200px 500px at 80% -10%, var(--teal-100), transparent 60%), var(--bg); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
.hero h1 .hl { color: var(--teal-600); }
.hero__lead { color: var(--slate); font-size: 1.18rem; margin: 22px 0 32px; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero__stat b { font-family: var(--font-head); font-size: 1.9rem; color: var(--teal-700); display: block; line-height: 1; }
.hero__stat span { font-size: .92rem; color: var(--muted); }

.hero__visual { position: relative; }
.hero__card-img {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; background: linear-gradient(135deg, var(--teal-400), var(--teal-700));
  position: relative; display: grid; place-items: center;
}
.hero__card-img svg { width: 55%; height: 55%; opacity: .9; fill: #fff; }
.hero__badge {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero__badge svg { width: 30px; height: 30px; }
.hero__badge b { font-family: var(--font-head); font-size: 1rem; display: block; }
.hero__badge span { font-size: .82rem; color: var(--muted); }
.hero__badge--tl { top: 24px; left: -26px; }
.hero__badge--br { bottom: 30px; right: -22px; }
.hero__blob { position: absolute; z-index: -1; width: 380px; height: 380px; background: var(--teal-100); border-radius: 46% 54% 60% 40%/50% 46% 54% 50%; top: -40px; right: -60px; filter: blur(4px); opacity: .7; }

/* ---------- Trust bar ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; }
.trust__item { display: flex; align-items: center; gap: 14px; }
.trust__item svg { width: 34px; height: 34px; fill: var(--teal-600); flex: none; }
.trust__item b { font-family: var(--font-head); display: block; font-size: 1rem; }
.trust__item span { font-size: .88rem; color: var(--muted); }

/* ---------- Karty služeb ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.card__icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: var(--teal-50); margin-bottom: 18px;
}
.card__icon svg { width: 30px; height: 30px; fill: var(--teal-600); }
.card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.card p { color: var(--slate); font-size: .98rem; }

/* barevná varianta ikony */
.card--accent .card__icon { background: #fff2ec; }
.card--accent .card__icon svg { fill: var(--accent-dark); }

/* Klikatelná karta (celá funguje jako odkaz) */
.card--link { text-decoration: none; color: inherit; cursor: pointer; display: flex; flex-direction: column; }
.card--link:hover { border-color: var(--teal-500); }
.card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  color: var(--teal-700); transition: gap .25s var(--ease), color .25s;
}
.card--link:hover .card__more { gap: 12px; color: var(--teal-800); }
.card--link.card--accent .card__more { color: var(--accent-dark); }

/* ---------- Feature (proč my) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature__media {
  border-radius: var(--radius-lg); aspect-ratio: 5/4; box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--teal-500), var(--teal-800)); display: grid; place-items: center;
}
.feature__media svg { width: 46%; fill: rgba(255,255,255,.9); }
.feature__list { display: grid; gap: 20px; margin-top: 26px; }
.feature__item { display: flex; gap: 15px; }
.feature__item .check { width: 30px; height: 30px; border-radius: 9px; background: var(--teal-100); display: grid; place-items: center; flex: none; }
.feature__item .check svg { width: 17px; height: 17px; fill: var(--teal-700); }
.feature__item b { font-family: var(--font-head); font-size: 1.05rem; }
.feature__item p { color: var(--slate); font-size: .96rem; margin-top: 2px; }

/* ---------- Otevírací doba ---------- */
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hours__note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 16px 20px;
  background: #fff7ed; border: 1px solid #ffedd5; border-radius: 14px; font-size: .94rem; color: #9a3412;
}
.hours__note svg { width: 22px; height: 22px; fill: var(--accent-dark); flex: none; }

/* ---------- CTA banner ---------- */
.cta-band { background: linear-gradient(120deg, var(--teal-700), var(--teal-900)); color: #fff; border-radius: var(--radius-lg); padding: 42px 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); }
.cta-band::before { width: 260px; height: 260px; top: -80px; left: -60px; }
.cta-band::after { width: 200px; height: 200px; bottom: -70px; right: -40px; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); position: relative; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 14px auto 28px; position: relative; }
.cta-band .hero__actions { justify-content: center; position: relative; margin: 0; }

/* ---------- Tým ---------- */
.team-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card__avatar {
  width: 190px; height: 190px; flex: none; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-700)); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 3.2rem;
  box-shadow: 0 14px 32px rgba(13,148,136,.32);
  overflow: hidden;
}
.team-card__avatar--photo { padding: 0; }
.team-card__avatar--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.team-card h3 { font-size: 1.25rem; }
.team-card .role { color: var(--teal-700); font-weight: 600; font-family: var(--font-head); font-size: .95rem; margin-bottom: 10px; }
.team-card p { color: var(--slate); font-size: .95rem; }

/* ---------- Vybavení list ---------- */
.equip { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: box-shadow .3s, transform .3s; }
.equip:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.equip__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-50); display: grid; place-items: center; flex: none; }
.equip__icon svg { width: 27px; height: 27px; fill: var(--teal-600); }
.equip h3 { font-size: 1.12rem; margin-bottom: 5px; }
.equip p { color: var(--slate); font-size: .95rem; }
.equip .tag { display: inline-block; margin-top: 8px; font-size: .78rem; font-weight: 600; color: var(--teal-700); background: var(--teal-50); padding: 3px 10px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q .plus { width: 26px; height: 26px; flex: none; position: relative; }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; background: var(--teal-600); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__q .plus::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.faq__q .plus::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.faq__item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a-inner { padding: 0 24px 22px; color: var(--slate); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info { display: grid; gap: 16px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Kontaktní formulář */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field label, .field > span { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field em { color: #dc2626; font-style: normal; font-weight: 700; margin-left: 2px; }
.field small { font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .82rem; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px var(--teal-50); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form__hint { font-size: .84rem; color: var(--muted); margin-top: 6px; }

/* ---------- Page hero (podstránky) ---------- */
.page-hero { background: radial-gradient(900px 400px at 85% -30%, var(--teal-100), transparent 60%), var(--bg-soft); border-bottom: 1px solid var(--line); padding: 40px 0 34px; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.page-hero p { color: var(--slate); font-size: 1.12rem; max-width: 640px; margin-top: 14px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--teal-700); }
.breadcrumb span { color: var(--teal-700); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-900); color: rgba(255,255,255,.78); padding: 48px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 32px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand small { color: rgba(255,255,255,.55); }
.footer p { font-size: .95rem; color: rgba(255,255,255,.65); }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; }
.footer ul a { color: rgba(255,255,255,.7); font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: var(--teal-400); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.footer__contact svg { width: 18px; height: 18px; fill: var(--teal-400); flex: none; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: rgba(255,255,255,.55); }

/* ============ Objednání návštěvy – krokový formulář ============ */
.booking { max-width: 820px; margin: 0 auto; }

.booking-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 40px; box-shadow: var(--shadow-sm);
}
.booking-panel[hidden] { display: none; }
.booking-panel h3 { font-size: 1.5rem; margin-bottom: 8px; }
.booking-panel .sub { color: var(--slate); margin-bottom: 24px; }

.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }

.booking-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.booking-nav .btn { min-width: 130px; }

.booking-summary {
  background: var(--teal-50); border-left: 4px solid var(--teal-500);
  padding: 18px 22px; border-radius: 10px; margin-bottom: 20px;
}
.booking-summary b { font-family: var(--font-head); color: var(--teal-800); display: block; margin-bottom: 8px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.booking-summary dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; margin: 0; font-size: .95rem; }
.booking-summary dt { color: var(--slate); font-weight: 500; }
.booking-summary dd { color: var(--ink); font-weight: 600; margin: 0; }

.booking-success {
  text-align: center; padding: 20px 0;
}
.booking-success__ico {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, #10b981, #059669);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(16,185,129,.4);
  animation: pop .5s var(--ease);
}
@keyframes pop { 0%{transform:scale(.5);opacity:0;} 100%{transform:scale(1);opacity:1;} }
.booking-success__ico svg { width: 46px; height: 46px; fill: #fff; }

@media (max-width: 640px) {
  .booking-panel { padding: 26px 22px; }
  .type-grid { grid-template-columns: 1fr; }
  .booking-summary dl { grid-template-columns: 1fr; gap: 4px; }
  .booking-summary dt { margin-top: 6px; }
}

/* ============ Ikony ze sady piktogramů (PNG background + filter) ============ */
/* Použití: <span class="pic-icon" style="--icon:url(assets/icons/ikona-007.webp); width:26px; height:26px; color:var(--teal-700)"></span> */
/* Podporuje CSS mask (fungovalo přes http) i background+filter (funguje i na file://) */
.pic-icon {
  display: inline-block; vertical-align: middle; flex: none;
  background-image: var(--icon);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  /* Přebarvení: filter převede černou/šedou na cílovou barvu z color: */
  filter: var(--icon-filter, brightness(0) saturate(100%) invert(37%) sepia(93%) saturate(456%) hue-rotate(133deg) brightness(94%) contrast(93%));
}
/* Variantní filtry pro nejčastější barvy – pouze přes color-* utility */
.pic-icon.on-white  { filter: brightness(0) invert(1); }
.pic-icon.on-red    { filter: brightness(0) saturate(100%) invert(20%) sepia(95%) saturate(3000%) hue-rotate(355deg) brightness(90%) contrast(90%); }
.pic-icon.on-orange { filter: brightness(0) saturate(100%) invert(50%) sepia(85%) saturate(1500%) hue-rotate(2deg) brightness(102%) contrast(101%); }
.pic-icon.on-dark   { filter: brightness(0) saturate(100%) invert(15%) sepia(20%) saturate(950%) hue-rotate(150deg) brightness(85%) contrast(95%); }

/* ============ Zvířata, která ošetřujeme ============ */
.pets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pet-card {
  position: relative; overflow: hidden; border-radius: 22px;
  padding: 32px 28px 28px; background: #fff; border: 1.5px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  min-height: 240px; display: flex; flex-direction: column; gap: 12px;
}
.pet-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 100% 0%, var(--teal-50), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.pet-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal-200, #99f6e4); }
.pet-card:hover::before { opacity: 1; }
.pet-card > * { position: relative; z-index: 1; }
.pet-card__ico {
  width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-100), var(--teal-50));
  transition: transform .5s var(--ease);
}
.pet-card__ico svg { width: 42px; height: 42px; fill: none; stroke: var(--teal-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pet-card:hover .pet-card__ico { transform: scale(1.1) rotate(-5deg); }
.pet-card h3 { font-size: 1.35rem; }
.pet-card__list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.pet-card__list span {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--teal-50); color: var(--teal-800);
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
}
.pet-card--orange .pet-card__ico { background: linear-gradient(135deg, #ffedd5, #fff7ed); }
.pet-card--orange .pet-card__ico svg { fill: var(--accent-dark); }
.pet-card--orange:hover { border-color: #fed7aa; }
.pet-card--orange .pet-card__list span { background: #fff1e6; color: #9a3412; }

/* ============ Recenze klientů (bohatší) ============ */
.reviews-head { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.reviews-score {
  display: flex; align-items: center; gap: 16px; padding: 14px 26px;
  border-radius: 999px; background: #fff;
  border: 1.5px solid var(--line); box-shadow: 0 6px 20px rgba(15,78,74,.06);
}
.reviews-score__logo { width: 32px; height: 32px; flex: none; }
.reviews-score__body { display: flex; flex-direction: column; gap: 2px; }
.reviews-score__row { display: flex; align-items: center; gap: 8px; }
.reviews-score__num { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--ink); line-height: 1; }
.reviews-score__stars { display: inline-flex; gap: 2px; color: #fbbf24; font-size: 1rem; letter-spacing: 1px; }
.reviews-score__label { font-size: .82rem; color: var(--muted); }
.reviews-score__label b { color: var(--teal-700); font-weight: 700; }

/* Bento grid: první karta velká (span 2), další 2 normální; CTA jako 4. */

/* ============ Carousel recenzí ============ */
.reviews-carousel { position: relative; overflow: hidden; }
.reviews-track {
  display: flex; gap: 20px;
  scroll-snap-type: x mandatory;
  overflow-x: auto; scroll-behavior: smooth;
  padding: 4px 4px 20px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track .review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  min-width: 280px;
}
.reviews-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--line);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 24px rgba(15,78,74,.14);
  z-index: 4; transition: all .2s var(--ease);
  color: var(--teal-700);
  font-size: 1.5rem; font-family: var(--font-head); font-weight: 700;
}
.reviews-arrow:hover { background: var(--teal-50); transform: translateY(-50%) scale(1.08); border-color: var(--teal-500); }
.reviews-arrow:disabled { opacity: .3; cursor: not-allowed; }
.reviews-arrow.prev { left: -20px; }
.reviews-arrow.next { right: -20px; }
.reviews-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 8px;
}
.reviews-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); border: 0; cursor: pointer;
  transition: all .3s var(--ease);
}
.reviews-dot.active { width: 28px; background: var(--teal-600); border-radius: 4px; }

@media (max-width: 900px) {
  .reviews-track .review-card { flex: 0 0 calc(100% - 4px); }
  .reviews-arrow.prev { left: 0; } .reviews-arrow.next { right: 0; }
}
@media (max-width: 640px) {
  .reviews-arrow { display: none; }
}

.review-card {
  position: relative; padding: 28px 26px 24px; border-radius: 22px;
  background: #fff; border: 1.5px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  overflow: hidden;
}
.review-card::before {
  content: ""; position: absolute; top: -30px; right: -30px; width: 160px; height: 160px;
  background: radial-gradient(circle, var(--teal-50), transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease);
  pointer-events: none;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal-200, #99f6e4); }
.review-card:hover::before { opacity: 1; }

.review-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-card__stars-row { display: flex; align-items: center; gap: 10px; }
.review-card__stars { display: inline-flex; gap: 1px; color: #fbbf24; font-size: 1.05rem; letter-spacing: 1px; }
.review-card__pet {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--teal-50); color: var(--teal-700);
  font-family: var(--font-head); font-weight: 600; font-size: .74rem;
}
.review-card__pet svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.review-card__pet--cat { background: #fff1e6; color: #9a3412; }

.review-card__quote-mark {
  position: absolute; top: 62px; right: 20px; z-index: 0;
  font-family: Georgia, serif; font-size: 5rem; line-height: 1;
  color: var(--teal-100); opacity: .55;
}
.review-card__text {
  font-size: .96rem; color: var(--slate); line-height: 1.6; flex: 1;
  position: relative; z-index: 1;
}
.review-card__text.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.review-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none; overflow: hidden;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(13,148,136,.25);
}
.review-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card__meta b { font-family: var(--font-head); font-weight: 700; display: block; font-size: .95rem; line-height: 1.2; }
.review-card__meta span { font-size: .78rem; color: var(--muted); }

.review-card__source {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .7rem; color: var(--muted); font-weight: 600;
}
.review-card__source svg { width: 16px; height: 16px; }

/* CTA karta pro zanechání recenze */
.review-card--cta {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  border-color: transparent; color: #fff;
  align-items: flex-start; justify-content: center;
}
.review-card--cta::before {
  content: ""; position: absolute; top: -80px; right: -80px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,.1), transparent 60%);
  opacity: 1; pointer-events: none;
}
.review-card--cta h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; position: relative; z-index: 1; }
.review-card--cta p { color: rgba(255,255,255,.85); font-size: .95rem; line-height: 1.55; position: relative; z-index: 1; }
.review-card--cta .btn { margin-top: auto; z-index: 1; position: relative; align-self: stretch; text-align: center; justify-content: center; }
.review-card--cta .review-card__stars { color: #fbbf24; margin-bottom: 4px; position: relative; z-index: 1; }

/* ============ Sub-hero widget (rychlé odkazy pod hero) ============ */
.quick-links {
  margin-top: -40px; position: relative; z-index: 5;
  background: #fff; border-radius: 22px; padding: 8px;
  box-shadow: 0 20px 50px rgba(15,78,74,.14);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
}
.quick-link {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: 16px;
  transition: background .2s, transform .2s;
}
.quick-link:hover { background: var(--teal-50); transform: translateY(-2px); }
.quick-link__ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-50); display: grid; place-items: center;
  flex: none; transition: background .2s;
}
.quick-link:hover .quick-link__ico { background: #fff; }
.quick-link__ico svg { width: 22px; height: 22px; fill: var(--teal-700); }
.quick-link__text b { display: block; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); }
.quick-link__text span { font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) { .quick-links { grid-template-columns: repeat(2, 1fr); margin-top: -20px; } }
@media (max-width: 500px) { .quick-links { grid-template-columns: 1fr; } }

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

/* ---------- Kontakty – nový layout ---------- */
.contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
/* Stránka Kontakt – kompaktnější sekce */
body.page-kontakt .section { padding: 48px 0; }
body.page-kontakt .section-head { margin: 0 auto 26px; }
body.page-kontakt .section-head p { margin-top: 8px; }
.contact-tile {
  position: relative; overflow: hidden;
  background: #fff; border: 1.5px solid var(--line); border-radius: 18px;
  padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.contact-tile__row { display: flex; align-items: center; gap: 14px; }
.contact-tile__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: #ecfdf5; color: #065f46;
  font-family: var(--font-head); font-weight: 700; font-size: .7rem;
  letter-spacing: .08em; text-transform: uppercase; width: fit-content;
}
.contact-tile__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: pulseRing 1.8s cubic-bezier(0.66,0,0,1) infinite; }
.contact-tile__badge--off { background: #f5f5f4; color: var(--muted); }
.contact-tile__badge--off::before { background: var(--muted); animation: none; }
.contact-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.contact-tile__ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-50); flex: none;
}
.contact-tile__ico svg { width: 26px; height: 26px; fill: var(--teal-600); }
.contact-tile__label {
  font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.contact-tile__main { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; color: var(--ink); line-height: 1.15; }
.contact-tile__main a { color: inherit; }
.contact-tile__sub { font-size: .88rem; color: var(--slate); line-height: 1.4; }
.contact-tile__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.contact-tile--phone .contact-tile__main { font-size: 1.4rem; }
.contact-tile--emergency .contact-tile__main { font-size: 1.4rem; }

/* Adresa má akcent teal */
.contact-tile--address .contact-tile__ico { background: var(--teal-50); }
.contact-tile--address .contact-tile__ico svg { fill: var(--teal-700); }

/* Telefon má akcent teal */
.contact-tile--phone .contact-tile__main { color: var(--teal-700); font-size: 1.55rem; font-variant-numeric: tabular-nums; }

/* Rozezvonění telefonu při hoveru karty */
.contact-tile--phone:hover .contact-tile__ico svg { animation: phoneRing .6s ease-in-out; transform-origin: 50% 20%; }
@keyframes phoneRing {
  0%,100% { transform: rotate(0); }
  15% { transform: rotate(-14deg); }
  30% { transform: rotate(12deg); }
  45% { transform: rotate(-10deg); }
  60% { transform: rotate(8deg); }
  75% { transform: rotate(-6deg); }
}

/* Siréna pohotovosti – kmitá */

.contact-tile--emergency .contact-tile__ico { position: relative; overflow: visible; }

/* Pohotovost – červený akcent, výrazná */
.contact-tile--emergency {
  background: linear-gradient(180deg, #fef2f2, #fff);
  border-color: #fecaca;
}
.contact-tile--emergency::before {
  content: ""; position: absolute; top: -60%; right: -30%; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(220,38,38,.15), transparent 60%);
  pointer-events: none;
}
.contact-tile--emergency .contact-tile__ico { background: #fee2e2; }
.contact-tile--emergency .contact-tile__ico svg { fill: #dc2626; }
.contact-tile--emergency .contact-tile__label { color: #991b1b; display: flex; align-items: center; gap: 8px; }
.contact-tile--emergency .contact-tile__main { color: #b91c1c; font-size: 1.55rem; font-variant-numeric: tabular-nums; }

/* Mapa full-width */
.map-full {
  min-height: 420px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.map-full .leaflet-container { border-radius: 20px; }

/* Ochrana osobních údajů – čitelný text v kartách */
.legal { max-width: 820px; margin: 0 auto; display: grid; gap: 18px; }
.legal__card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 24px 26px; box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.legal__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.legal__card h2 { font-size: 1.2rem; margin: 0 0 10px; display: flex; align-items: center; gap: 12px; }
.legal__num {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: .9rem; color: #fff; background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
}
.legal__card p, .legal__card li { color: var(--ink); line-height: 1.65; }
.legal__card ul { margin: 8px 0 0; padding-left: 20px; }
.legal__card a { color: var(--teal-700); }
.doplnit {
  display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: .9em;
  background: #fff3cd; color: #7a5a00; border: 1px dashed #e0b84a;
}

/* Mapa až po kliknutí – do té doby se nic nestahuje z cizích serverů */
.map-full:has(.map-consent) { position: relative; }
.map-consent {
  position: absolute; inset: 0; overflow: hidden;
  display: grid; place-items: center; text-align: center; padding: 32px 20px;
  background:
    linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(13,148,136,.10) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(13,148,136,.10) 46px 48px),
    linear-gradient(135deg, var(--teal-50), #fff 55%, var(--teal-100));
}
.map-consent::before {
  content: ""; position: absolute; inset: 18% -10% auto -10%; height: 14px;
  background: rgba(13,148,136,.16); transform: rotate(-8deg); border-radius: 8px;
}
.map-consent::after {
  content: ""; position: absolute; inset: -10% auto -10% 62%; width: 12px;
  background: rgba(13,148,136,.12); transform: rotate(12deg); border-radius: 8px;
}
.map-consent__box { position: relative; z-index: 1; max-width: 460px; }
.map-consent__pin {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  box-shadow: 0 14px 30px -10px rgba(15,118,110,.55);
  animation: map-pin-bob 2.4s ease-in-out infinite;
}
.map-consent__pin svg { width: 28px; height: 28px; fill: #fff; transform: rotate(45deg); }
@keyframes map-pin-bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.map-consent__title { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); margin: 0 0 4px; }
.map-consent__addr { color: var(--muted, #5b6b6a); margin: 0 0 18px; }
.map-consent__note { font-size: .85rem; color: var(--muted, #5b6b6a); margin: 14px 0 0; }
.map-consent__note a { color: var(--teal-700); }
@media (prefers-reduced-motion: reduce) { .map-consent__pin { animation: none; } }

/* Sociální / CTA pás */

@media (max-width: 860px) {
  .contact-row { grid-template-columns: 1fr; gap: 16px; }
  .map-full { min-height: 380px; }
}

/* ---------- Otevírací doba (nový design) ---------- */
.hours-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.hours-card {
  position: relative; padding: 22px 16px 20px; border-radius: 18px;
  background: #fff; border: 1.5px solid var(--line);
  text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 200px;
}
.hours-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.hours-card__day {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 100%; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.hours-card__day small { font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.hours-card__slots { display: flex; flex-direction: column; gap: 8px; align-items: center; margin-top: 4px; width: 100%; }
.hours-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 10px;
  background: var(--teal-50); color: var(--teal-800);
  font-family: var(--font-head); font-weight: 700; font-size: .84rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hours-chip svg { width: 13px; height: 13px; fill: var(--teal-600); }
.hours-chip--pm { background: #fff1e6; color: #9a3412; }
.hours-chip--pm svg { fill: #ea580c; }
.hours-chip--empty { visibility: hidden; }
.hours-closed {
  padding: 8px 14px; border-radius: 10px;
  background: #f5f5f4; color: var(--muted);
  font-family: var(--font-head); font-weight: 600; font-size: .84rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.hours-closed svg { width: 14px; height: 14px; fill: currentColor; }

/* Dnešní den – zvýraznění */
.hours-card--today {
  background: linear-gradient(180deg, var(--teal-700), var(--teal-900));
  border-color: transparent; color: #fff;
  box-shadow: 0 14px 40px rgba(15,78,74,.35);
  transform: translateY(-6px);
}
.hours-card--today .hours-card__day { color: #fff; border-bottom-color: rgba(255,255,255,.18); }
.hours-card--today .hours-card__day small { color: var(--teal-400); font-weight: 700; }
.hours-card--today .hours-chip { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(4px); }
.hours-card--today .hours-chip svg { fill: #fff; }
.hours-card--today .hours-chip--pm { background: rgba(255,183,110,.28); color: #fff; }
.hours-card--today .hours-closed { background: rgba(255,255,255,.14); color: rgba(255,255,255,.85); }
.hours-card__now {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #c94d14; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .75rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(255,138,92,.4);
  display: flex; align-items: center; gap: 5px;
  animation: nowPulse 2.4s ease-in-out infinite;
}
.hours-card__now::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulseRing 1.6s cubic-bezier(0.66, 0, 0, 1) infinite;
  box-shadow: 0 0 0 rgba(255,255,255,.7);
}
@keyframes nowPulse {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(-3px); }
}

/* Progress bar dne pod kartami */
.hours-progress {
  margin-top: 18px; background: #fff; border: 1.5px solid var(--line);
  border-radius: 14px; padding: 16px 22px;
}
.hours-progress__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.hours-progress__head b { font-family: var(--font-head); font-size: .95rem; }
.hours-progress__head span { font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours-progress__track {
  position: relative; height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, #f5f5f4, #f0f0ee);
  overflow: visible;
}
.hours-progress__slot { position: absolute; top: 0; height: 100%; background: linear-gradient(90deg, var(--teal-500), var(--teal-700)); border-radius: 999px; }
.hours-progress__slot--pm { background: linear-gradient(90deg, #f59e0b, #ea580c); }
.hours-progress__now {
  position: absolute; top: -6px; width: 3px; height: 22px; background: var(--ink);
  border-radius: 3px; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 4px 10px rgba(0,0,0,.2);
}
.hours-progress__now::after {
  content: "TEĎ"; position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 700; font-size: .75rem;
  color: var(--ink); background: #fff; padding: 2px 8px; border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.12); letter-spacing: .08em;
}
.hours-progress__hours { display: flex; justify-content: space-between; margin-top: 8px; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Kompaktní verze pro kartu na kontaktu / stránce úvod */
.hours-compact { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.hours-compact__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.hours-compact__row:last-child { border-bottom: 0; }
.hours-compact__row.today { background: var(--teal-50); border-radius: 8px; padding: 8px 10px; border-bottom-color: transparent; font-weight: 600; }
.hours-compact__row .d { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.hours-compact__row .t { color: var(--slate); font-variant-numeric: tabular-nums; }

@media (max-width: 980px) {
  .hours-grid { grid-template-columns: repeat(4, 1fr); }
  .hours-card { min-height: 180px; padding: 18px 12px; }
}
@media (max-width: 620px) {
  .hours-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hours-card__now { font-size: .7rem; padding: 4px 10px; }
}

/* ---------- Kontakt vylepšení ---------- */
/* Živý status "Otevřeno/Zavřeno" */
.status-live {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  transition: background .3s, color .3s;
}
.status-live__dot { position: relative; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.status-live__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  animation: pulseRing 1.8s cubic-bezier(0.66, 0, 0, 1) infinite;
}
.status-live--open  { background: #ecfdf5; color: #065f46; }
.status-live--open  .status-live__dot,
.status-live--open  .status-live__dot::after { background: #10b981; }
.status-live--soon  { background: #fefce8; color: #854d0e; }
.status-live--soon  .status-live__dot,
.status-live--soon  .status-live__dot::after { background: #eab308; }
.status-live--closed { background: #fef2f2; color: #991b1b; }
.status-live--closed .status-live__dot,
.status-live--closed .status-live__dot::after { background: #dc2626; }
.status-live small { font-weight: 500; color: inherit; opacity: .75; margin-left: 4px; font-size: .9rem; }

/* Vylepšené kontaktní karty */

.icon-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--teal-50); color: var(--teal-700);
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.icon-btn:hover { background: var(--teal-100); border-color: var(--teal-500); transform: translateY(-1px); }
.icon-btn svg { width: 14px; height: 14px; fill: currentColor; }
.icon-btn.copied { background: #dcfce7; color: #166534; border-color: #86efac; }

/* Leaflet mapa – vlastní pin */
.leaflet-container { border-radius: var(--radius); font-family: var(--font-body) !important; }
.paw-marker {
  width: 46px; height: 46px; background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(15,78,74,.4);
  animation: pinBounce 2s ease-in-out infinite;
}
.paw-marker svg { width: 22px; height: 22px; fill: #fff; transform: rotate(45deg); }
@keyframes pinBounce {
  0%,100% { transform: rotate(-45deg) translateY(0); }
  50%     { transform: rotate(-45deg) translateY(-8px); }
}

/* Floating labels formulář */
.field--float { position: relative; margin-bottom: 20px; }
.field--float input, .field--float textarea {
  width: 100%; padding: 22px 16px 8px; font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field--float textarea { min-height: 110px; resize: vertical; padding-top: 26px; }
.field--float label {
  position: absolute; left: 16px; top: 15px;
  font-family: var(--font-body); font-size: 1rem; color: var(--muted); font-weight: 500;
  pointer-events: none; transition: transform .2s var(--ease), color .2s, font-size .2s;
  background: transparent;
}
.field--float input:focus, .field--float textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px var(--teal-50); }
.field--float input:focus + label,
.field--float input:not(:placeholder-shown) + label,
.field--float textarea:focus + label,
.field--float textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(.78);
  color: var(--teal-700);
  transform-origin: left top;
}

/* Sociální ikony na kontaktu */
.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-row a {
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff; border: 1.5px solid var(--line);
  display: grid; place-items: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.social-row a:hover { background: var(--teal-600); border-color: var(--teal-600); transform: translateY(-3px); }
.social-row a svg { width: 20px; height: 20px; fill: var(--teal-700); transition: fill .2s; }
.social-row a:hover svg { fill: #fff; }

/* Toast (zkopírováno atd.) */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Plovoucí packy na pozadí (hero) ---------- */
.paws-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.paws-bg .paw {
  position: absolute; width: 40px; height: 40px; opacity: .07; color: var(--teal-700);
  animation: pawFloat 18s linear infinite;
}
.paws-bg .paw svg { width: 100%; height: 100%; fill: currentColor; }
.paws-bg .paw:nth-child(1) { top: 12%; left: 8%;  transform: rotate(-15deg); animation-duration: 22s; }
.paws-bg .paw:nth-child(2) { top: 30%; left: 65%; transform: rotate(20deg);  width: 34px; height: 34px; animation-duration: 26s; animation-delay: -6s; }
.paws-bg .paw:nth-child(3) { top: 60%; left: 20%; transform: rotate(45deg);  width: 30px; height: 30px; animation-duration: 20s; animation-delay: -10s; }
.paws-bg .paw:nth-child(4) { top: 75%; left: 55%; transform: rotate(-30deg); width: 46px; height: 46px; animation-duration: 24s; animation-delay: -3s; }
.paws-bg .paw:nth-child(5) { top: 20%; left: 35%; transform: rotate(60deg);  width: 26px; height: 26px; animation-duration: 28s; animation-delay: -14s; opacity: .05; }
.paws-bg .paw:nth-child(6) { top: 50%; left: 85%; transform: rotate(-45deg); width: 38px; height: 38px; animation-duration: 30s; animation-delay: -18s; }
@keyframes pawFloat {
  0%   { transform: translate(0,0) rotate(var(--r, 0deg)); }
  50%  { transform: translate(20px,-30px) rotate(calc(var(--r, 0deg) + 15deg)); }
  100% { transform: translate(0,0) rotate(var(--r, 0deg)); }
}
.hero, .page-hero { position: relative; }
.hero .container, .page-hero .container { position: relative; z-index: 1; }

/* Hero statistiky – jemný pulse pozadí za číslem */
.hero__stat b { position: relative; display: inline-block; }
.hero__stat b::before {
  content: ""; position: absolute; inset: -8px -14px; z-index: -1;
  background: radial-gradient(circle, var(--teal-100), transparent 70%);
  border-radius: 50%; opacity: 0; transform: scale(.6);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.hero__stat.count-done b::before { opacity: 1; transform: scale(1); }

/* ---------- 3D tilt karty (služby) ---------- */
.card {
  transform-style: preserve-3d;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative;
}
.card.tilt-ready { transition: transform .12s ease-out, box-shadow .35s var(--ease), border-color .35s; }
.card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(20,184,166,.14), transparent 40%);
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; z-index: 0;
}
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
/* Ikona reaguje na hover */
.card__icon { transition: transform .5s var(--ease), background .3s; }
.card:hover .card__icon { transform: translateZ(20px) scale(1.08) rotate(-4deg); background: var(--teal-100); }
.card--accent:hover .card__icon { background: #ffe0d1; }
.card:hover h3 { color: var(--teal-700); transition: color .3s; }

/* ---------- Team flip karty ---------- */
.team-card { perspective: 1200px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.team-card:hover { transform: none; box-shadow: none; }
.team-flip { position: relative; width: 100%; min-height: 460px; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.team-card.flipped .team-flip { transform: rotateY(180deg); }
.team-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: var(--shadow-sm);
}
.team-face--back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  color: #fff; border-color: transparent;
}
.team-face--back h3 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.team-face--back .role-back { color: var(--teal-400); font-family: var(--font-head); font-weight: 600; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.team-face--back ul { list-style: none; padding: 0; text-align: left; width: 100%; }
.team-face--back li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: .94rem; color: rgba(255,255,255,.9); }
.team-face--back li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; fill: var(--teal-400); }
.team-face--back .flip-hint { margin-top: auto; font-size: .78rem; color: rgba(255,255,255,.55); letter-spacing: .06em; text-transform: uppercase; }
.team-flip-hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-family: var(--font-head); font-weight: 600; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; pointer-events: none; }
.team-flip-hint svg { width: 12px; height: 12px; fill: currentColor; }
.team-card { cursor: pointer; }

/* ---------- Pulse pohotovostní telefon ---------- */
.pulse-dot { position: relative; display: inline-block; width: 10px; height: 10px; margin-right: 8px; }
.pulse-dot::before, .pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #dc2626;
}
.pulse-dot::after { animation: pulseRing 1.8s cubic-bezier(0.66, 0, 0, 1) infinite; }
@keyframes pulseRing {
  0%   { transform: scale(1);   opacity: .85; }
  80%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Reduced motion – vypne animace */
@media (prefers-reduced-motion: reduce) {
  .paws-bg .paw, .pulse-dot::after, .team-flip { animation: none !important; transition: none !important; }
}

/* ---------- Galerie fotek (bento) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 160px;
  gap: 16px;
}
.gallery__item {
  position: relative; overflow: hidden; cursor: zoom-in;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--teal-100), var(--teal-50));
  box-shadow: 0 6px 20px rgba(15,78,74,.10);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  isolation: isolate;
}
/* Bento sizing */
.gallery__item.g-2x2 { grid-column: span 2; grid-row: span 2; }
.gallery__item.g-3x2 { grid-column: span 3; grid-row: span 2; }
.gallery__item.g-4x2 { grid-column: span 4; grid-row: span 2; }

.gallery__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s var(--ease), filter .5s var(--ease);
  filter: saturate(1.05);
}
.gallery__item::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(200deg, transparent 40%, rgba(15,46,43,.86) 100%);
  opacity: .55; transition: opacity .4s var(--ease);
}
/* Shine (lesk) */
.gallery__item::after {
  content: ""; position: absolute; top: -60%; left: -60%; width: 60%; height: 220%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: rotate(20deg); z-index: 3; pointer-events: none;
  transition: left .8s var(--ease); opacity: 0;
}
.gallery__item:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(15,78,74,.28); }
.gallery__item:hover img { transform: scale(1.08); filter: saturate(1.2); }
.gallery__item:hover::before { opacity: .85; }
.gallery__item:hover::after { left: 130%; opacity: 1; }

.gallery__badge {
  position: absolute; top: 14px; left: 14px; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px);
  color: var(--teal-700); font-family: var(--font-head); font-weight: 700;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.gallery__badge svg { width: 12px; height: 12px; fill: var(--teal-600); }
.gallery__zoom {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px);
  display: grid; place-items: center; opacity: 0; transform: scale(.7);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.gallery__zoom svg { width: 18px; height: 18px; fill: var(--teal-700); }
.gallery__item:hover .gallery__zoom { opacity: 1; transform: scale(1); }

.gallery__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  padding: 20px 22px 18px; color: #fff;
  transform: translateY(30%); transition: transform .5s var(--ease);
}
.gallery__caption b {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.gallery__caption span {
  display: block; margin-top: 6px; font-size: .86rem;
  color: rgba(255,255,255,.85); opacity: 0; transition: opacity .4s var(--ease) .1s;
  max-height: 0; overflow: hidden;
}
.gallery__item:hover .gallery__caption { transform: translateY(0); }
.gallery__item:hover .gallery__caption span { opacity: 1; max-height: 60px; }
.gallery__item.g-2x2:not(:hover) .gallery__caption,
.gallery__item.g-3x2:not(:hover) .gallery__caption,
.gallery__item.g-4x2:not(:hover) .gallery__caption { transform: translateY(0); }
.gallery__item.g-2x2 .gallery__caption b,
.gallery__item.g-3x2 .gallery__caption b,
.gallery__item.g-4x2 .gallery__caption b { font-size: 1.2rem; }

/* Reveal do galerie */
.gallery__item.reveal { transition: opacity .7s var(--ease), transform .55s var(--ease), box-shadow .45s var(--ease); }

@media (max-width: 980px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 140px; }
  .gallery__item.g-4x2 { grid-column: span 4; }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 12px; }
  .gallery__item, .gallery__item.g-2x2, .gallery__item.g-3x2, .gallery__item.g-4x2 { grid-column: span 2; grid-row: span 2; }
  .gallery__caption { transform: translateY(0); }
  .gallery__caption span { opacity: 1; max-height: 60px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(6,20,20,.94); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  padding: 40px 60px; opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox__stage {
  position: relative; max-width: 100%; max-height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.lightbox img {
  max-width: 90vw; max-height: 82vh; border-radius: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
  animation: lbIn .35s var(--ease);
}
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.lightbox__cap {
  position: absolute; left: 50%; bottom: -46px; transform: translateX(-50%);
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  width: max-content; max-width: 90vw; text-align: center;
}
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.6rem;
  display: grid; place-items: center; transition: background .2s, transform .2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,.28); transform: translateY(-50%) scale(1.08); }
.lightbox__btn.prev { left: 20px; }
.lightbox__btn.next { right: 20px; }
.lightbox__close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.4rem;
  display: grid; place-items: center; transition: background .2s, transform .2s;
}
.lightbox__close:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }
.lightbox__counter {
  position: absolute; top: 26px; left: 26px;
  color: rgba(255,255,255,.7); font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  letter-spacing: .1em;
}
@media (max-width: 640px) {
  .lightbox { padding: 20px; }
  .lightbox__btn.prev { left: 8px; } .lightbox__btn.next { right: 8px; }
  .lightbox img { max-width: 100vw; max-height: 75vh; }
}

/* ---------- Oznamovací pruh (announce) ---------- */
.announce { width: 100%; color: #fff; font-family: var(--font-body); position: relative; z-index: 90; }
.announce--info    { background: linear-gradient(90deg, var(--teal-700), var(--teal-600)); }
.announce--dovolena{ background: linear-gradient(90deg, #d97706, #f59e0b); }
.announce--zavreno { background: linear-gradient(90deg, #b91c1c, #dc2626); }
.announce__inner { display: flex; align-items: center; gap: 14px; padding: 12px 22px; }
.announce__icon { flex: none; width: 26px; height: 26px; display: grid; place-items: center; }
.announce__icon svg { width: 22px; height: 22px; fill: #fff; }
.announce__text { flex: 1; font-size: 1rem; font-weight: 500; line-height: 1.45; }
.announce__text strong { font-weight: 700; }
.announce__dates { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.22); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.announce__close { flex: none; width: 34px; height: 34px; border: 0; border-radius: 9px; background: rgba(255,255,255,.16); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .2s; display: grid; place-items: center; }
.announce__close:hover { background: rgba(255,255,255,.32); }
@media (max-width: 640px) {
  .announce__inner { padding: 11px 16px; gap: 10px; align-items: flex-start; }
  .announce__text { font-size: .92rem; }
  .announce__dates { display: block; margin: 6px 0 0; }
}

/* ---------- Editor oznámení (správa) ---------- */
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.editor-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.editor-panel h3 { font-size: 1.2rem; margin-bottom: 6px; }
.editor-panel .sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.switch { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track { width: 52px; height: 30px; border-radius: 999px; background: #cbd5d3; position: relative; transition: background .25s; flex: none; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.switch input:checked + .switch__track { background: var(--teal-600); }
.switch input:checked + .switch__track::after { transform: translateX(22px); }
.switch__label b { font-family: var(--font-head); display: block; font-size: 1rem; }
.switch__label span { font-size: .85rem; color: var(--muted); }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.chip-radio { position: relative; cursor: pointer; }
.chip-radio input { position: absolute; opacity: 0; }
.chip-radio span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--slate); transition: .2s; }
.chip-radio input:checked + span { border-color: var(--teal-500); background: var(--teal-50); color: var(--teal-700); }
.editor-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.preview-box { position: sticky; top: 96px; }
.preview-box .label { font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.preview-frame { border: 1px dashed var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.preview-empty { padding: 40px 24px; text-align: center; color: var(--muted); }
.steps { counter-reset: step; display: grid; gap: 16px; margin-top: 8px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li::before { counter-increment: step; content: counter(step); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; }
.steps b { font-family: var(--font-head); }
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 860px) { .editor-grid { grid-template-columns: 1fr; } .preview-box { position: static; } }

/* ---------- Animace při scrollu ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivita ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { width: 100%; max-width: 380px; margin: 0 auto; }
  /* Badges dovnitř karty, ať netrčí přes text */
  .hero__badge--tl { top: 16px; left: 12px; }
  .hero__badge--br { bottom: 20px; right: 12px; }
  .hero__stats { justify-content: flex-start; gap: 20px; }
  .feature, .hours, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Mobile menu už od 1080 – ať se v „mezimezní" šířce nic neláme */
  .nav__phone { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 6px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 22px 22px;
    box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s;
    z-index: 90;
  }
  .nav__links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 13px 15px; font-size: 1.05rem; }
  .nav__links .btn { margin-top: 6px; display: inline-flex !important; }
}
@media (max-width: 640px) {
  .section { padding: 44px 0; }
  .grid--3, .grid--4, .grid--2, .trust__grid, .form__row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
  .hero__badge--tl { left: 6px; }
  .hero__badge--br { right: 6px; }
  .hero__stats { gap: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* =====================================================
   SPRINT 3 – polish additions
   ===================================================== */

/* ---- Timeline: „Průběh zákroku/vyšetření" ---- */
.timeline{
  list-style:none; padding:0; margin:0;
  display:grid; grid-template-columns:repeat(4, 1fr); gap:28px;
  position:relative;
}
.timeline::before{
  content:''; position:absolute; top:38px; left:10%; right:10%; height:3px;
  background:linear-gradient(90deg, var(--teal-500) 0%, var(--teal-400) 50%, var(--accent) 100%);
  border-radius:2px; z-index:0; opacity:.55;
}
.timeline__step{
  position:relative; z-index:1; text-align:center;
  padding:12px 6px;
}
.timeline__marker{
  position:relative;
  width:76px; height:76px; margin:0 auto 18px;
  background:#fff; border:2px solid var(--teal-500);
  border-radius:50%; display:grid; place-items:center;
  box-shadow:0 8px 20px -6px rgba(15,118,110,.25);
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.timeline__step:hover .timeline__marker{
  transform:translateY(-6px) scale(1.05);
  box-shadow:0 18px 34px -10px rgba(15,118,110,.35);
  border-color:var(--accent);
}
.timeline__step:hover .timeline__num{
  transform:scale(1.1);
}
.timeline__num{
  position:absolute; top:-8px; right:-8px;
  width:30px; height:30px; border-radius:50%;
  background:#c94d14; color:#fff;
  display:grid; place-items:center;
  font-family:var(--font-head); font-size:.9rem; font-weight:700;
  box-shadow:0 4px 10px rgba(234,88,12,.4);
  transition:transform .3s ease;
}
.timeline__ico{ width:34px; height:34px; fill:var(--teal-700); }
.timeline__body h3{
  margin:0 0 8px; font-family:var(--font-head);
  font-size:1.05rem; font-weight:600; color:var(--teal-800);
}
.timeline__body p{ color:var(--slate); font-size:.94rem; line-height:1.55; margin:0; }
@media(max-width: 900px){
  .timeline{ grid-template-columns:1fr; gap:22px; }
  .timeline::before{ display:none; }
  .timeline__step{
    text-align:left; display:grid;
    grid-template-columns:auto 1fr; gap:22px; align-items:start;
    padding:0;
  }
  .timeline__marker{ margin:0; width:64px; height:64px; }
  .timeline__ico{ width:28px; height:28px; }
  .timeline__body{ padding-top:6px; }
}

/* ---- Hover na trust bar položky ---- */
.trust__item{
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  border-radius:16px; padding:16px 18px;
}
.trust__item:hover{
  transform:translateY(-4px);
  background:linear-gradient(180deg, #fff 0%, var(--teal-50, #f0fdfa) 100%);
  box-shadow:0 14px 30px -14px rgba(15,118,110,.25);
}
.trust__item:hover .pic-icon{ color:var(--accent); }

/* ---- Contact-tile hover ---- */
.contact-tile{
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-tile:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 42px -18px rgba(15,118,110,.28);
}

/* ---- Equip karta – bohatší hover ---- */
.equip{ position:relative; overflow:hidden; }
.equip::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(120deg, transparent 30%, rgba(20,184,166,.08) 50%, transparent 70%);
  transform:translateX(-100%); transition:transform .6s ease;
  pointer-events:none;
}
.equip:hover::after{ transform:translateX(100%); }
.equip:hover .equip__icon{ transform:scale(1.1) rotate(-4deg); }
.equip__icon{ transition:transform .35s ease; }

/* ---- Review-card (rotující recenze) hover + summary variant ---- */
.review-card{ transition: transform .3s ease, box-shadow .3s ease; }
.review-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 42px -20px rgba(15,118,110,.3);
}

/* ---- Animated counter: skryje čísla dokud se JS neinicializuje ---- */
.count-up{ display:inline-block; font-variant-numeric:tabular-nums; }
.count-up.is-animating{ color:var(--teal-700); }

/* ---- Equip filter chipy ---- */
.equip-filters{
  display:flex; flex-wrap:wrap; gap:10px;
  justify-content:center; margin:0 auto 32px;
  padding:6px;
}
.equip-chip{
  padding:9px 18px; border-radius:999px;
  border:1.5px solid var(--line); background:#fff;
  font:600 .92rem/1 var(--font-body, inherit);
  color:var(--teal-800);
  cursor:pointer;
  transition:all .28s ease;
  display:inline-flex; align-items:center; gap:8px;
  white-space:nowrap;
}
.equip-chip:hover{
  border-color:var(--teal-500);
  color:var(--teal-700);
  transform:translateY(-2px);
  box-shadow:0 6px 14px -8px rgba(15,118,110,.35);
}
.equip-chip.is-active{
  background:linear-gradient(135deg, var(--teal-600) 0%, var(--teal-500) 100%);
  color:#fff; border-color:transparent;
  box-shadow:0 10px 22px -10px rgba(15,118,110,.55);
}
.equip-chip__count{
  display:inline-grid; place-items:center;
  min-width:22px; height:22px; padding:0 6px;
  border-radius:999px;
  background:rgba(15,118,110,.12);
  font-size:.78rem; font-weight:700;
}
.equip-chip.is-active .equip-chip__count{ background:rgba(255,255,255,.25); color:#fff; }

.equip-list{ transition: none; }
.equip{ transition: opacity .35s ease, transform .35s ease; }
.equip.is-hidden{ display:none; }
.equip-empty{
  text-align:center; color:var(--muted); margin:0;
  padding:22px; font-size:.95rem;
}
.equip-reset{
  margin-left:6px; border:none; background:none;
  color:var(--teal-700); font-weight:600;
  text-decoration:underline; cursor:pointer;
}

/* ---- Booking embed (objednani.html) ---- */
.booking-embed{
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 30px 60px -30px rgba(15,118,110,.35), 0 8px 20px -10px rgba(0,0,0,.08);
  border:1px solid var(--line);
  min-height:520px;
  position:relative;
}
.booking-frame{
  width:100%;
  min-height:640px;
  border:0;
  display:block;
}

/* ---- Team card – kompaktnější back strana (méně duplicit) ---- */
.team-face--back .team-card__avatar{
  width: 56px !important;
  height: 56px !important;
  margin: 0 auto 10px !important;
}
.team-face--back h3{
  font-size: 1.08rem !important;
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

/* =====================================================
   A11Y – focus indikátory, skip-link (WCAG 2.4.7)
   ===================================================== */

/* Skip-to-content link – viditelný jen při focusu */
.skip-link{
  position:absolute;
  top:-100px; left:12px;
  z-index:9999;
  background:var(--teal-800);
  color:#fff;
  padding:10px 18px;
  border-radius:8px;
  font-weight:600;
  text-decoration:none;
  transition:top .2s ease;
  box-shadow:0 6px 20px rgba(15,118,110,.4);
}
.skip-link:focus{ top:12px; outline:3px solid var(--accent-dark); outline-offset:2px; }

/* Globální focus-visible – viditelný na všech interaktivních prvcích */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible{
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible{ outline-offset: 4px; }

/* Prefers-reduced-motion – zastavit všechny animace */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal{ opacity:1 !important; transform:none !important; }
}

/* ---- Nav CTA link (Objednat jako 7. položka) ---- */
.nav__cta-link{
  background: var(--teal-700);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px -4px rgba(15,118,110,.45);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.nav__cta-link:hover{
  background: var(--teal-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -6px rgba(15,118,110,.55);
}
@media (max-width: 1080px) {
  .nav__cta-link{ margin-top: 8px; text-align: center; }
}

/* ---- WinVet rezervace (objednani.html) ---- */
.booking-embed{ position:relative; }
.booking-frame{ width:100%; height:900px; min-height:0; border:0; display:block; background:#fff; }
.booking-loading{
  position:absolute; inset:0; z-index:1;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  background:linear-gradient(180deg,#fff 0%,var(--teal-50) 100%);
  color:var(--teal-800); font-weight:600;
}
.booking-loading[hidden]{ display:none; }
.booking-loading__spinner{
  width:42px; height:42px; border-radius:50%;
  border:4px solid var(--teal-100); border-top-color:var(--teal-700);
  animation:booking-spin .9s linear infinite;
}
@keyframes booking-spin{ to{ transform:rotate(360deg); } }
.booking-fallback{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px;
  margin-top:18px; color:var(--muted); font-size:.95rem;
}
@media (max-width:640px){
  .booking-frame{ height:1050px; }
}

/* ---- Rezervace: zvýrazněná dlaždice v quick-links (index) ---- */
.quick-links { grid-template-columns: 1.55fr repeat(3, 1fr); }
.quick-link--book{
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-700) 55%, var(--teal-500) 100%);
  box-shadow: 0 14px 30px -14px rgba(15,118,110,.7);
}
.quick-link--book .quick-link__text b,
.quick-link--book .quick-link__text span { color: #fff; }
.quick-link--book .quick-link__text span { opacity: .88; }
.quick-link--book .quick-link__ico { background: rgba(255,255,255,.16); }
.quick-link--book .quick-link__ico svg { fill: #fff; }
.quick-link--book:hover { background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-800) 55%, var(--teal-600) 100%); transform: translateY(-3px); }
.quick-link--book:hover .quick-link__ico { background: rgba(255,255,255,.26); }
.quick-link--book::after{
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg);
  animation: book-shine 4.5s ease-in-out infinite;
}
@keyframes book-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.quick-link__arrow{
  margin-left: auto; color: #fff; font-size: 1.35rem; font-weight: 700;
  transition: transform .25s ease;
}
.quick-link--book:hover .quick-link__arrow { transform: translateX(5px); }
.live-dot{
  display: inline-block; width: 9px; height: 9px; margin-left: 6px; vertical-align: 2px;
  border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.7);
  animation: live-pulse 2s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.7); }
  70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
@media (max-width: 900px) {
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .quick-link--book { grid-column: 1 / -1; }
}
@media (max-width: 500px) { .quick-links { grid-template-columns: 1fr; } }

/* ---- Lesk na hlavním tlačítku ---- */
.btn--shine { position: relative; overflow: hidden; }
.btn--shine::after{
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  animation: book-shine 5s ease-in-out infinite 1.5s;
}

/* ---- Odkaz „Otevřít v novém okně" pod rezervací ---- */
.booking-fallback .btn { font-size: .9rem; padding: 9px 18px; }

/* Na desktopu je „Objednat" už jako tlačítko vedle telefonu → položku v menu skrýt,
   v mobilním menu ji ponechat. */
.nav__links a { white-space: nowrap; }
.nav__phone { white-space: nowrap; }
@media (min-width: 1081px) { .nav__links .nav__cta-link { display: none; } }

/* ---- Rezervační pruh na stránce Kontakt ---- */
.book-strip{
  display: flex; align-items: center; gap: 18px;
  padding: 20px 26px; border-radius: 20px; margin-bottom: 22px;
}
.book-strip .quick-link__ico { width: 52px; height: 52px; border-radius: 14px; }
.book-strip .quick-link__ico svg { width: 26px; height: 26px; }
.book-strip .quick-link__text b { font-size: 1.15rem; }
.book-strip .quick-link__text span { font-size: .92rem; }
.book-strip__btn{
  margin-left: auto; flex: none;
  background: #fff; color: var(--teal-800);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 11px 20px; border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.25);
  transition: transform .25s ease;
}
.book-strip:hover .book-strip__btn { transform: translateX(4px); }
@media (max-width: 640px){
  .book-strip { flex-wrap: wrap; padding: 18px; }
  .book-strip__btn { margin-left: 0; width: 100%; text-align: center; }
}

/* Názvy přístrojů (lang="en") uvnitř titulku galerie – nesmí převzít styl podtitulku */
.gallery__caption span[lang] { display: inline; opacity: 1; max-height: none; margin: 0; overflow: visible; font: inherit; color: inherit; }
.reviews-arrow[hidden], .reviews-dots[hidden] { display: none; }

/* Tým: místo pro „Otočit“ pod tlačítkem, ať se nepřekrývají */
.team-face:not(.team-face--back) { padding-bottom: 48px; }
@media (max-width: 420px) {
  .team-flip { min-height: 0; }
  /* Úzký telefon: hlavička se musí vejít do 360 px */
  .nav__cta { gap: 8px; }
  .nav__cta .btn { padding: 10px 14px; font-size: .92rem; }
  .brand { font-size: 1rem; }
  .brand__mark { width: 46px; height: 40px; }
}
/* Výška karty podle obsahu: obě strany v jedné buňce mřížky, karta = vyšší z nich */
.team-flip { display: grid; }
.team-face { position: relative; inset: auto; grid-area: 1 / 1; }
.team-card { display: flex; }
.team-card > .team-flip { flex: 1; }
/* Skok na kotvu (#ortopedie…) nesmí skončit pod přilepenou hlavičkou */
html { scroll-padding-top: 96px; }
/* Bez JavaScriptu se animace „reveal“ nespustí – obsah musí být vidět i tak */
@media (scripting: none) { .reveal { opacity: 1; transform: none; } }
/* „Zjistit více →“ vždy u spodního okraje dlaždice, ať jsou v řadě zarovnané */
.card--link .card__more { margin-top: auto; padding-top: 14px; }
/* Obrysové ikony (Lucide) v kartách – kreslí se čarou, ne výplní */
.card__icon svg.line { fill: none; stroke: var(--teal-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card--accent .card__icon svg.line { fill: none; stroke: var(--accent-dark); }

/* ---- Tablet a mobil: opravy z kontroly 15. 10. 2026 ---- */
/* Statistiky v úvodu: popisek pod číslem (jinak „35let“ splývá) */
.hero__stat span { display: block; margin-top: 4px; }
/* Galerie na tabletu (4 sloupce): široké dlaždice na půl, ať nevznikají díry */
@media (min-width: 641px) and (max-width: 980px) {
  .gallery__item.g-3x2 { grid-column: span 2; }
  .gallery--7 .gallery__item:last-child { grid-column: 1 / -1; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}
/* Galerie O klinice na počítači: poslední řádek má 2 fotky – roztáhnout na celou šířku */
@media (min-width: 981px) {
  .gallery--7 .gallery__item:nth-last-child(-n+2) { grid-column: span 3; }
}
/* Šipky recenzí na tabletu zasahovaly do textu – listuje se prstem a tečkami */
@media (max-width: 1080px) { .reviews-arrow { display: none; } }
/* Tablet: karty ve 2 sloupcích (ve 3 byl text po 2–3 slovech na řádek);
   osamocená poslední karta se vycentruje v poloviční šířce */
@media (min-width: 641px) and (max-width: 980px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 11px); }
}
/* Dekorační plocha jen s ikonou (Tým – štít): pod 1080 px nižší pruh místo obřího čtverce */
@media (max-width: 1080px) {
  .feature__media:has(> svg) { aspect-ratio: auto; height: 180px; }
  .feature__media:has(> svg) svg { width: auto; height: 110px; }
}

/* Plynulé přechody mezi stránkami (Chrome, Edge, Safari 18+; jinde se stránka prostě načte).
   Fotka lékaře „přeletí“ z Týmu na jeho profil (view-transition-name v HTML). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
::view-transition-group(foto-jaroslav), ::view-transition-group(foto-michal) { animation-duration: .45s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ---- Očkovací kalkulačka (sluzby-vakcinace.html) ---- */
.vax-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); max-width: 940px; margin: 0 auto; }
.vax-calc__form .btn { margin-top: 4px; }
.vax-calc__err { color: #b91c1c; font-size: .9rem; margin-top: 6px; }
.vax-calc__result { background: var(--teal-50); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.vax-calc__empty { color: var(--muted); text-align: center; }
.vax-calc__label { color: var(--muted); font-size: .95rem; }
.vax-calc__date { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 5vw, 2.6rem); color: var(--teal-700); line-height: 1.1; margin: 4px 0 10px; }
.vax-calc__warn { color: #b91c1c; font-weight: 600; }
.vax-calc__soon { color: #9a3412; font-weight: 600; }
.vax-calc__hint { font-size: .9rem; color: var(--slate); margin-top: 6px; }
.vax-calc__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.vax-calc__note { max-width: 940px; margin: 14px auto 0; font-size: .88rem; color: var(--muted); text-align: center; }
@media (max-width: 760px) { .vax-calc { grid-template-columns: 1fr; padding: 22px; } }

/* ---- Stránka „Co dělat, když…“ (co-delat.html) ---- */
.sos-btn { background: #dc2626; color: #fff; box-shadow: 0 8px 22px rgba(220,38,38,.3); }
.sos-btn:hover { background: #b91c1c; transform: translateY(-2px); }
.sos-btn--big { font-size: 1.08rem; padding: 16px 28px; }
.sos-note { margin-top: 12px; font-size: .92rem; color: var(--muted); }
.sos-now { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius); padding: 24px 28px; margin-bottom: 30px; }
.sos-now h2 { font-size: 1.35rem; color: #991b1b; margin-bottom: 10px; }
.sos-now ul { padding-left: 20px; color: #7f1d1d; }
.sos-now li { margin: 5px 0; }
.sos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sos-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); scroll-margin-top: 100px; }
.sos-card h3 { font-size: 1.2rem; }
.sos-card__lead { color: var(--muted); font-size: .94rem; margin: 6px 0 16px; }
.sos-card .feature__list { display: grid; gap: 14px; margin-bottom: 20px; }
.sos-card .sos-btn { margin-top: auto; justify-content: center; font-size: .95rem; }
.feature__item .check--no { background: #fee2e2; }
.feature__item .check--no svg { fill: #b91c1c; }
@media (max-width: 980px) { .sos-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }
