/* ==========================================================================
   Grey's, MUDr. Martin Sivák
   Moderný, priateľský vzhľad vo farbách Grey's (tmavomodrá, indigo, levanduľová).
   ========================================================================== */

@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/urbanist-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/urbanist-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --navy: #1b1e3f;
    --navy-deep: #13152f;
    --primary: #2f3474;
    --primary-hover: #3c4290;
    --primary-soft: #e4e8f8;
    --tint: #f1f3fb;
    --tint-2: #e9ecf8;
    --white: #ffffff;
    --text: #1b1e3f;
    --muted: #5f6484;
    --muted-light: #9095b3;
    --border: #e1e4f1;
    --star: #f5b301;
    --error: #c0362c;
    --success: #1f7a55;

    --font: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --wrap: 1180px;
    --gutter: clamp(1.25rem, 4vw, 2rem);
    --section: clamp(4rem, 3rem + 4vw, 7rem);
    --header-h: 80px;
    --r-sm: 10px;
    --r: 18px;
    --r-lg: 28px;
    --shadow-sm: 0 1px 2px rgb(27 30 63 / 0.05), 0 4px 14px rgb(27 30 63 / 0.05);
    --shadow: 0 2px 6px rgb(27 30 63 / 0.05), 0 18px 40px rgb(27 30 63 / 0.09);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Základ --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); font-weight: 750; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--primary-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgb(60 66 144 / 0.45); outline-offset: 2px; }
::selection { background: var(--primary-soft); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; padding: 0.75rem 1rem; background: var(--navy); color: #fff; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--text { --wrap: 780px; }
.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--primary); color: #fff; }
.center { text-align: center; }
.section-head { max-width: 640px; margin: 0 auto clamp(2.5rem, 2rem + 2vw, 3.5rem); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section--dark .section-head p { color: rgb(255 255 255 / 0.75); }
.section--dark h2 { color: #fff; }

.badge { display: inline-block; margin-bottom: 1rem; padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 0.82rem; font-weight: 700; }
.section--dark .badge { background: rgb(255 255 255 / 0.14); color: #fff; }
.kicker { display: block; margin-bottom: 0.6rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }

/* Vlnité prechody: vlna je horný/dolný okraj sekcie, prekrýva susednú sekciu */
.has-wave { position: relative; }
.wave { display: block; position: absolute; left: 0; right: 0; width: 100%; height: clamp(24px, 3.5vw, 50px); color: var(--white); pointer-events: none; }
.wave--top { top: 1px; transform: translateY(-100%); }
.wave--bottom { bottom: 1px; transform: translateY(100%) scaleY(-1); z-index: 1; }
.section--tint > .wave { color: var(--tint); }
.section--dark > .wave { color: var(--primary); }
.site-footer > .wave { color: var(--navy); }
.hero > .wave { color: var(--white); bottom: -1px; transform: none; }
.wave--drift { height: clamp(40px, 5.5vw, 84px); opacity: 0.35; }
.hero > .wave--drift { opacity: 0.13; }

/* --- Tlačidlá ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 52px; padding: 0.85rem 1.9rem; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; color: #fff; background: var(--primary); border: 2px solid var(--primary); border-radius: 999px; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease), translate 0.35s var(--ease), box-shadow 0.2s; }
.btn:hover { color: #fff; background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgb(47 52 116 / 0.6); }
.btn--white { color: var(--navy); background: #fff; border-color: #fff; }
.btn--white:hover { color: var(--navy); background: var(--primary-soft); border-color: var(--primary-soft); }
.btn--ghost { color: #fff; background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.5); }
.btn--ghost:hover { background: rgb(255 255 255 / 0.16); border-color: #fff; box-shadow: none; }
.btn--outline { color: var(--primary); background: transparent; border-color: var(--border); }
.btn--outline:hover { color: var(--primary); background: var(--tint); border-color: var(--primary-soft); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0.55rem 1.2rem; font-size: 0.92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; }
.link-more { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: none; }
.link-more::after { content: "→"; transition: transform 0.2s var(--ease); }
.link-more:hover::after { transform: translateX(3px); }

/* --- Oznam ---------------------------------------------------------------- */
.site-notice { background: var(--navy); color: #fff; font-size: 0.92rem; font-weight: 600; text-align: center; padding: 0.6rem 1rem; }

/* --- Hlavička ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgb(255 255 255 / 0.96); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s, translate 0.45s var(--ease); }
.site-header.is-hidden { translate: 0 -100%; }
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--primary); transform-origin: left; scale: var(--progress, 0) 1; pointer-events: none; }
@media (min-width: 961px) {
    .nav__link { position: relative; }
    .nav__link::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.3rem; height: 2px; border-radius: 2px; background: currentColor; scale: 0 1; transform-origin: left; transition: scale 0.35s var(--ease); }
    .nav__link:hover { background: none; }
    .nav__link:hover::after, .nav__link[aria-current="page"]::after { scale: 1 1; }
    .nav__link[aria-expanded="true"]::after { scale: 0 1; }
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 20px -14px rgb(27 30 63 / 0.35); }
.site-header__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.logo { display: block; flex-shrink: 0; color: var(--navy); }
.logo svg { width: auto; height: 46px; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.nav__link { display: inline-block; padding: 0.5rem 0.85rem; border-radius: 8px; font-size: 0.95rem; font-weight: 650; color: var(--navy); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--primary); background: var(--tint); }
.nav__link[aria-current="page"] { color: var(--primary); }
.nav__item { position: relative; }
.dropdown { position: absolute; top: calc(100% + 0.9rem); left: -0.5rem; width: 340px; padding: 0.6rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s; }
.dropdown.is-open { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.8rem; border-radius: var(--r-sm); font-size: 0.95rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.dropdown a:hover { background: var(--tint); color: var(--primary); }
.dropdown a span { font-weight: 500; color: var(--muted-light); font-size: 0.85rem; white-space: nowrap; }
.dropdown__all { margin-top: 0.4rem; padding-top: 0.4rem; border-top: 1px solid var(--border); }
.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.menu-toggle { display: none; position: relative; width: 46px; height: 46px; padding: 0; background: var(--tint); border: 0; border-radius: 999px; color: var(--navy); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-toggle::before { top: 16px; } .menu-toggle span { top: 22px; } .menu-toggle::after { top: 28px; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.nav__extra { display: none; }
@media (max-width: 1080px) { .header-cta .btn--outline { display: none; } }
@media (max-width: 960px) {
    :root { --header-h: 70px; }
    .logo svg { height: 40px; }
    .menu-toggle { display: block; }
    .header-cta { margin-left: auto; }
    .header-cta .btn { display: none; }
    .nav { position: fixed; inset: var(--header-h) 0 0; z-index: 99; margin: 0; padding: 1rem var(--gutter) 2rem; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
    .nav.is-open { opacity: 1; visibility: visible; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__item { border-bottom: 1px solid var(--border); }
    .nav__link { width: 100%; text-align: left; padding: 1rem 0.25rem; font-size: 1.25rem; font-weight: 700; border-radius: 0; }
    .nav__link:hover, .nav__link[aria-expanded="true"] { background: none; }
    .dropdown { position: static; width: auto; padding: 0 0 0.75rem; border: 0; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; }
    .dropdown.is-open { display: block; }
    .nav__extra { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
    body.menu-open { overflow: hidden; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg picture { height: 100%; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(19 21 47 / 0.92) 0%, rgb(19 21 47 / 0.78) 38%, rgb(19 21 47 / 0.15) 72%, rgb(19 21 47 / 0) 100%); }
.hero__inner { display: flex; flex-direction: column; justify-content: center; min-height: min(calc(100svh - var(--header-h)), 760px); padding-block: clamp(3.5rem, 2rem + 5vw, 6rem) clamp(5rem, 3rem + 5vw, 7rem); }
.hero__content { max-width: 600px; }
.hero__rating { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; font-size: 0.92rem; font-weight: 600; color: rgb(255 255 255 / 0.9); text-decoration: none; }
.hero__rating:hover { color: #fff; }
.hero__proof { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; margin-bottom: 1.25rem; }
.hero__proof .hero__rating { margin-bottom: 0; }
.hero__rating strong { color: #fff; font-weight: 800; }
.hero__rating--orly img { width: auto; height: 30px; margin-block: -6px; }
.stars { display: inline-flex; gap: 2px; color: var(--star); letter-spacing: 0; font-size: 1.05em; line-height: 1; }
.hero__label { margin-bottom: 0.75rem; font-size: 0.95rem; font-weight: 700; color: var(--primary-soft); }
.hero h1 { color: #fff; margin-bottom: 0.45em; }
.hero h1 span { display: block; font-size: 0.5em; font-weight: 600; letter-spacing: -0.01em; color: rgb(255 255 255 / 0.85); margin-top: 0.35em; }
.hero__lead { max-width: 30rem; font-size: 1.15rem; color: rgb(255 255 255 / 0.82); margin-bottom: 2rem; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; color: #fff; }
@media (max-width: 760px) {
    .hero::before { background: linear-gradient(180deg, rgb(19 21 47 / 0) 0%, rgb(19 21 47 / 0.15) 25%, rgb(19 21 47 / 0.85) 55%, rgb(19 21 47 / 0.97) 100%); }
    .hero__inner { justify-content: flex-end; min-height: 700px; padding-top: 16rem; }
    .hero__bg img { object-position: 60% 20%; }
}

/* Hero s vystrihnutým lekárom */
.hero--person::before { background: linear-gradient(90deg, rgb(19 21 47 / 0.95) 0%, rgb(19 21 47 / 0.86) 45%, rgb(27 30 63 / 0.72) 100%); }
.hero--person .hero__bg { inset: -14% 0 0; }
.hero--person .hero__bg img { filter: blur(2px); scale: 1.04; translate: calc(var(--mx, 0) * 16px) calc(var(--my, 0) * 10px); transition: translate 1.2s var(--ease); }
.hero--person .hero__inner { display: grid; align-items: end; gap: 0; padding-bottom: 0; }
@media (min-width: 900px) { .hero--person .hero__inner { grid-template-columns: 1.1fr 0.9fr; } }
.hero--person .hero__content { align-self: center; padding-bottom: clamp(5rem, 3rem + 5vw, 7rem); }
.hero__person { position: relative; display: flex; justify-content: center; align-self: end; }
.hero__person::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 82%; aspect-ratio: 1; translate: calc(-50% + var(--mx, 0) * 12px) calc(var(--my, 0) * 8px); border-radius: 50%; background: rgb(171 180 219 / 0.16); transition: translate 0.9s var(--ease); }
.hero__person picture { position: relative; }
.hero__person img { width: auto; height: min(74svh, 660px); max-width: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 24px 40px rgb(0 0 0 / 0.35)); translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -6px); transition: translate 0.9s var(--ease); }
@media (max-width: 899px) {
    .hero--person::before { background: linear-gradient(180deg, rgb(19 21 47 / 0.82) 0%, rgb(19 21 47 / 0.92) 100%); }
    .hero--person .hero__inner { min-height: 0; padding-top: 2rem; justify-content: initial; }
    .hero__person { order: -1; }
    .hero__person img { height: 340px; }
    .hero--person .hero__content { padding-top: 2rem; }
}

/* Panel s lekárom: variant s fotkou namiesto výrezu */
.doctor-panel--photo .doctor-panel__img { padding: 1.25rem; min-height: 0; }
.doctor-panel--photo .doctor-panel__img::before { display: none; }
.doctor-panel--photo .doctor-panel__img picture { position: relative; left: auto; bottom: auto; translate: none; height: 100%; width: 100%; }
.doctor-panel--photo .doctor-panel__img img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: center 20%; border-radius: calc(var(--r-lg) - 8px); }
.section--doctor:has(.doctor-panel--photo) { padding-top: var(--section); }

/* --- Pruh dôvery ---------------------------------------------------------- */
.trust { padding-block: 1.5rem 0; }
.trust__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.trust__list li { display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.25rem; background: var(--tint); border-radius: var(--r); font-size: 0.95rem; color: var(--muted); line-height: 1.35; }
.trust__list strong { display: block; color: var(--navy); font-size: 1rem; }
.trust__list img { height: 42px; width: auto; flex-shrink: 0; }
.trust__link { display: flex; align-items: center; gap: 0.85rem; color: inherit; text-decoration: none; }
.trust__link:hover strong { color: var(--primary); }
.trust__num { flex-shrink: 0; min-width: 3.1rem; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--primary); }

/* --- Prečo my (bez ikon, výrazné čísla) ---------------------------------- */
.reasons { display: grid; gap: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.reason__img { margin-bottom: 1.35rem; aspect-ratio: 6 / 5; overflow: hidden; border-radius: var(--r-lg); background: var(--tint-2); }
.reason__img picture, .reason__img img { width: 100%; height: 100%; }
.reason__img img { object-fit: cover; transition: transform 0.9s var(--ease); }
.reason:hover .reason__img img { transform: scale(1.04); }
.reason h3 { margin-bottom: 0.4rem; }
.reason p { color: var(--muted); margin: 0; max-width: 24rem; font-size: 0.98rem; }

/* --- Karty zákrokov ------------------------------------------------------- */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--r); text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.card:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint-2); }
.card__img picture { height: 100%; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.25rem; }
.card h3 { margin-bottom: 0.35rem; }
.card p { margin: 0 0 1.25rem; font-size: 0.95rem; color: var(--muted); }
.card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.95rem; font-weight: 700; color: var(--primary); }
.card__extra { display: block; margin-top: 0.2rem; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.card--plain { justify-content: center; padding: 2rem; background: var(--primary); border-color: var(--primary); color: #fff; }
.card--plain:hover { color: #fff; }
.card--plain h3 { color: #fff; font-size: 1.5rem; }
.card--plain p { color: rgb(255 255 255 / 0.8); }
.card--plain .card__foot { color: #fff; border-color: rgb(255 255 255 / 0.2); }
.card--light { background: var(--white); }
.card__foot span:last-child { transition: transform 0.2s var(--ease); }
.card:hover .card__foot span:last-child { transform: translateX(3px); }

/* --- Panel s lekárom ---------------------------------------------------- */
.section--doctor { padding-top: clamp(6rem, 4rem + 6vw, 10rem); }
.doctor-panel { position: relative; display: grid; gap: 0; background: var(--navy); color: #fff; border-radius: var(--r-lg); }
@media (min-width: 900px) { .doctor-panel { grid-template-columns: 1.15fr 0.85fr; } }
.doctor-panel__text { padding: clamp(2rem, 1.5rem + 3vw, 4rem); position: relative; z-index: 1; }
.doctor-panel .kicker { color: var(--periwinkle, #abb4db); }
.doctor-panel h2 { color: #fff; margin-bottom: 0.15em; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); }
.doctor-panel__role { margin-bottom: 1.5rem; font-size: 1.15rem; font-weight: 600; color: var(--primary-soft); }
.doctor-panel__text > p { color: rgb(255 255 255 / 0.78); max-width: 34rem; }
.doctor-panel__facts { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin: 1.75rem 0; padding: 1.5rem 0; border-block: 1px solid rgb(255 255 255 / 0.14); }
.doctor-panel__facts dt { font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.doctor-panel__facts dd { margin: 0.35rem 0 0; font-size: 0.9rem; color: rgb(255 255 255 / 0.65); }
.doctor-panel__team { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.doctor-panel__team p { margin: 0; font-size: 0.92rem; color: rgb(255 255 255 / 0.75); max-width: 22rem; }
.doctor-panel__faces { display: flex; flex-shrink: 0; }
.doctor-panel__faces img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid var(--navy); background: var(--primary-soft); }
.doctor-panel__faces img + img { margin-left: -14px; }
.doctor-panel__img { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 320px; }
.doctor-panel__img picture { position: absolute; bottom: 0; left: 50%; translate: -50% 0; height: calc(100% + clamp(4rem, 3rem + 4vw, 7rem)); }
.doctor-panel__img img { width: auto; height: 100%; max-width: none; object-fit: contain; object-position: bottom; }
.doctor-panel__img::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 72%; border-radius: 999px 999px 0 0; background: rgb(255 255 255 / 0.06); }
@media (max-width: 899px) {
    .doctor-panel__img { order: -1; min-height: 360px; }
    .doctor-panel__img picture { height: calc(100% + 4rem); }
}

/* --- Dve karty: 3D röntgen a pre lekárov --------------------------------- */
.feature-pair { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 900px) { .feature-pair { grid-template-columns: 1.15fr 0.85fr; } }
@media (max-width: 899px) { .feature--photo { min-height: 600px; } }
.feature { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.feature h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); font-weight: 800; letter-spacing: -0.025em; }
.feature--photo { display: flex; align-items: flex-end; min-height: 480px; color: #fff; background: var(--navy); }
.feature--photo picture, .feature--photo > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature--photo img { width: 100%; height: 100%; object-fit: cover; }
.feature--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(19 21 47 / 0) 25%, rgb(19 21 47 / 0.92) 78%); }
.feature__body { position: relative; z-index: 1; padding: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); max-width: 34rem; }
.feature--photo h3 { color: #fff; }
.feature--photo .kicker { color: var(--primary-soft); }
.feature--photo p { color: rgb(255 255 255 / 0.82); }
.feature--photo .link-more { color: #fff; }
.feature__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.feature__chips span { padding: 0.35rem 0.85rem; border-radius: 999px; background: rgb(255 255 255 / 0.14); font-size: 0.88rem; font-weight: 700; }
.feature--tint { padding: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); background: var(--primary-soft); }
.feature--tint p { color: var(--muted); }
.feature__steps { display: grid; gap: 0.6rem; margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; counter-reset: fs; }
.feature__steps li { counter-increment: fs; display: grid; grid-template-columns: 28px 1fr; gap: 0.75rem; align-items: start; padding: 0.85rem 1rem; background: #fff; border-radius: var(--r-sm); font-size: 0.95rem; color: var(--muted); }
.feature__steps li::before { content: counter(fs); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.85rem; font-weight: 800; }
.feature__steps strong { color: var(--navy); }
.feature__tel { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); text-decoration: none; }

/* --- Tím ------------------------------------------------------------------ */
.team { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.member { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--r); }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.9s var(--ease); }
.member:hover img { transform: scale(1.04); }
.member figcaption { padding: 1rem 1.25rem 1.25rem; }
.member strong { display: block; font-size: 1.15rem; font-weight: 750; }
.member span { font-size: 0.95rem; color: var(--muted); }

/* --- Recenzie: slider -------------------------------------------------- */
.reviews-band { overflow-x: clip; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.25rem; }
.reviews-head h2 { margin-bottom: 0.6rem; }
.reviews-score { display: inline-flex; align-items: center; gap: 0.85rem; color: #fff; text-decoration: none; font-size: 0.92rem; line-height: 1.35; }
.reviews-score:hover { color: #fff; }
.reviews-score strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.reviews-score > span { color: rgb(255 255 255 / 0.75); }
.slider-nav { display: flex; gap: 0.6rem; }
.slider-btn { display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid rgb(255 255 255 / 0.35); border-radius: 50%; background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.slider-btn:hover { background: #fff; border-color: #fff; color: var(--primary); }
.slider-btn[disabled] { opacity: 0.35; cursor: default; background: transparent; color: #fff; }
.slider { position: relative; }
.slider__track { display: flex; gap: 1.25rem; margin: 0; padding: 0.25rem 0 1rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.slider__track::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 calc((100% - 2 * 1.25rem) / 3); scroll-snap-align: start; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.6rem; background: #fff; border-radius: var(--r); color: var(--text); box-shadow: 0 18px 40px -20px rgb(0 0 0 / 0.5); }
@media (max-width: 1000px) { .review-card { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (max-width: 640px) { .review-card { flex-basis: 86%; } }
.review-card { transition: translate 0.35s var(--ease); }
.review-card:hover { translate: 0 -4px; }
.review-card__top { display: flex; align-items: center; gap: 0.8rem; }
.review-card__top strong { display: block; font-size: 1rem; line-height: 1.25; }
.review-card__top span { font-size: 0.85rem; color: var(--muted-light); }
.review-card__avatar { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: 0.95rem; }
.review-card .stars { font-size: 1.05rem; }
.review-card__text { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--text); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review-card__more { margin-top: auto; font-size: 0.88rem; font-weight: 700; }
.slider__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; }
.slider__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.35); cursor: pointer; transition: width 0.3s var(--ease), background-color 0.2s; }
.slider__dots button[aria-current="true"] { width: 28px; background: #fff; }
.slider__dots--bar { justify-content: stretch; }
.slider__rail { position: relative; width: min(360px, 100%); height: 4px; margin-inline: auto; overflow: hidden; border-radius: 999px; background: rgb(255 255 255 / 0.2); }
.slider__rail span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: #fff; transition: translate 0.15s linear; }
.reviews-foot { margin: 1.5rem 0 0; text-align: center; font-size: 0.9rem; color: rgb(255 255 255 / 0.7); }
.reviews-foot a { color: #fff; font-weight: 700; }
.reviews-scores { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; }
.reviews-scores .reviews-score + .reviews-score { padding-left: 2.25rem; border-left: 1px solid rgb(255 255 255 / 0.2); }
@media (max-width: 560px) { .reviews-scores .reviews-score + .reviews-score { padding-left: 0; border-left: 0; } }
.awards { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; padding: 1.5rem 1.75rem; border: 1px solid rgb(255 255 255 / 0.16); border-radius: var(--r); }
.awards__medals { display: flex; flex-wrap: wrap; gap: 0.25rem 0.4rem; }
.awards__medals img { width: auto; height: 48px; }
.awards p { flex: 1 1 22rem; margin: 0; font-size: 0.95rem; color: rgb(255 255 255 / 0.8); }
.awards strong, .awards a { color: #fff; }
.awards a { font-weight: 700; }
.awards.is-visible .awards__medals img { animation: star-pop 0.7s var(--ease) calc(0.25s + var(--mi, 0) * 90ms) both; }

/* --- FAQ ------------------------------------------------------------------ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 700; line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 1.2rem; font-weight: 600; transition: transform 0.25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer { padding: 0 3rem 1.3rem 0; color: var(--muted); }
.faq-item__answer p:last-child { margin: 0; }
.faq-cta { margin-top: 2rem; text-align: center; }
@supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    .faq-item::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
    .faq-item[open]::details-content { height: auto; }
}

/* --- Lokálny blok --------------------------------------------------------- */
.local { display: grid; gap: 2rem; padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); background: var(--tint); border-radius: var(--r-lg); }
@media (min-width: 900px) { .local { grid-template-columns: 1.4fr 1fr; } .local__info { border-left: 1px solid var(--border); padding-left: 2rem; } }
.local h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.local p { color: var(--muted); }
.local__info dl { display: grid; gap: 0.9rem; margin: 0; }
.local__info dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-light); }
.local__info dd { margin: 0.1rem 0 0; font-weight: 600; }

/* --- Objednávka ----------------------------------------------------------- */
.order { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .order { grid-template-columns: 0.8fr 1.2fr; } }
.order__side { display: grid; gap: 1.25rem; }
.order__photo { overflow: hidden; border-radius: var(--r); }
.order__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.info-card { padding: 1.6rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r); }
.info-card h3 { margin-bottom: 0.75rem; }
.info-card ol { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--muted); }
.info-card ol li { padding: 0.2rem 0; }
.info-card .tel { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: var(--navy); }
.info-card small { color: var(--muted); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table td { padding: 0.45rem 0; border-bottom: 1px solid var(--border); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.is-today td { color: var(--primary); font-weight: 800; }

.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); background: #fff; border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field > label, .field__label { font-size: 0.92rem; font-weight: 700; color: var(--navy); }
.field .opt { font-weight: 500; color: var(--muted-light); }
.input { width: 100%; min-height: 50px; padding: 0.75rem 1rem; background: var(--tint); border: 1.5px solid transparent; border-radius: var(--r-sm); font-size: 1rem; color: var(--text); transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.input::placeholder { color: var(--muted-light); }
.input:hover { border-color: var(--border); }
.input:focus { outline: none; background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgb(47 52 116 / 0.12); }
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; cursor: pointer; padding-right: 2.5rem; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%231b1e3f' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") right 1rem center / 12px no-repeat; }
.field.has-error .input { border-color: var(--error); background: #fdf1f0; }
.field__error { font-size: 0.85rem; font-weight: 600; color: var(--error); }
.field > .check, .field > .file-pick { font-size: 1rem; font-weight: 500; color: inherit; }
.file-pick { position: relative; display: flex; align-items: center; gap: 0.75rem; min-height: 56px; padding: 0.6rem 0.9rem; background: var(--tint); border: 1.5px dashed #c9cee6; border-radius: var(--r-sm); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.file-pick:hover, .file-pick.is-dragover { border-color: var(--primary); background: #fff; }
.file-pick input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.file-pick__name { flex: 1; min-width: 0; font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-pick__name em { font-style: normal; color: var(--muted-light); }
.file-pick__btn { flex-shrink: 0; padding: 0.35rem 0.8rem; border-radius: 999px; background: #fff; font-size: 0.85rem; font-weight: 700; color: var(--primary); box-shadow: var(--shadow-sm); }
.file-pick__clear { position: relative; z-index: 2; display: none; flex-shrink: 0; padding: 0.35rem 0.8rem; border: 0; border-radius: 999px; background: #fff; font-size: 0.85rem; font-weight: 700; color: var(--error); cursor: pointer; }
.file-pick.has-file { border-style: solid; border-color: var(--success); background: #eef8f3; }
.file-pick.has-file .file-pick__clear { display: inline-block; }
.file-pick.has-file .file-pick__btn { display: none; }
.field.has-error .file-pick { border-color: var(--error); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; align-items: start; font-size: 0.92rem !important; line-height: 1.5; color: var(--muted) !important; cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; margin: 0.05rem 0 0; border: 1.5px solid #c3c8e2; border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-items: center; transition: all 0.15s; }
.check input::after { content: ""; width: 11px; height: 11px; background: #fff; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); transform: scale(0); transition: transform 0.15s; }
.check input:checked { background: var(--primary); border-color: var(--primary); }
.check input:checked::after { transform: scale(1); }
.field.has-error .check input { border-color: var(--error); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 0.9rem 1.1rem; border-radius: var(--r-sm); font-size: 0.95rem; font-weight: 600; background: #fdf1f0; color: var(--error); }
.alert--success { background: #eef8f3; color: var(--success); }
.alert[hidden] { display: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.25rem; }
.form__foot p { margin: 0; max-width: 20rem; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 599px) { .form__foot .btn { width: 100%; } }
.thanks { padding: 1rem 0; }
.thanks[hidden] { display: none; }
.thanks h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); }
.thanks ol { margin: 0.75rem 0 1.25rem; padding-left: 1.2rem; color: var(--muted); }

/* --- Hlavička podstránky -------------------------------------------------- */
.page-head { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); background: var(--tint); }
.page-head h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); max-width: 18ch; }
.page-head .lead { max-width: 40rem; margin-bottom: 0; }
.page-head .actions { margin-top: 1.75rem; }
.page-head--split .wrap { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .page-head--split .wrap { grid-template-columns: 1.15fr 0.85fr; } }
.page-head figure { margin: 0; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.page-head figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.breadcrumbs { margin-bottom: 1.25rem; font-size: 0.88rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--muted-light); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); text-decoration: underline; }

/* --- Článok (zákrok, poradňa) -------------------------------------------- */
.article { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: start; }
@media (min-width: 1000px) { .article { grid-template-columns: minmax(0, 1fr) 330px; } }
.prose { max-width: 46rem; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-top: 2.75rem; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.5rem 0 0.35rem; font-size: 1.15rem; }
.prose ul { margin: 0 0 1.5rem; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.prose ul li { position: relative; padding-left: 1.6rem; }
.prose ul li::before { content: ""; position: absolute; left: 0.2rem; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.answer { padding: 1.5rem 1.6rem; margin-bottom: 1.5rem; background: var(--tint); border-radius: var(--r); font-size: 1.15rem; line-height: 1.6; }
.steps-list { margin: 1.25rem 0 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 0.75rem; }
.steps-list li { counter-increment: st; display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--tint); border-radius: var(--r); }
.steps-list li::before { content: counter(st); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; }
.steps-list h3 { margin: 0.35rem 0 0.2rem; }
.steps-list p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.note { margin: 1.5rem 0; padding: 1.2rem 1.4rem; background: #fff6e5; border-radius: var(--r); color: #6b4a00; font-size: 0.98rem; }
.note p { margin: 0; }
.note a { color: inherit; font-weight: 700; }
.price-rows { margin: 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.price-rows li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.2rem; font-size: 0.98rem; }
.price-rows li + li { border-top: 1px solid var(--border); }
.price-rows li span:last-child { font-weight: 800; color: var(--primary); white-space: nowrap; }
.prose .faq-list { max-width: none; }
.prose ul.price-rows { display: block; gap: 0; }
.prose ul.price-rows li { padding-left: 1.2rem; }
.prose ul.price-rows li::before { display: none; }
.disclaimer { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--muted-light); }
.sidebar { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 1000px) { .sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.side-card { padding: 1.6rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.side-card h3 { margin-bottom: 0.5rem; }
.side-card p { color: var(--muted); font-size: 0.95rem; }
.side-card .btn { width: 100%; }
.side-card .tel { display: block; margin-top: 1rem; text-align: center; font-size: 1.3rem; font-weight: 800; text-decoration: none; color: var(--navy); }
.side-card__price { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0.75rem 0 1rem; padding: 0.9rem 1rem; background: var(--tint); border-radius: var(--r-sm); font-size: 0.9rem; color: var(--muted); }
.side-card__price strong { font-size: 1.5rem; font-weight: 800; color: var(--primary); white-space: nowrap; }
.side-links { margin: 0; padding: 0; list-style: none; }
.side-links a { display: block; padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.side-links a:hover { color: var(--primary); }

/* --- Cenník --------------------------------------------------------------- */
.price-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.price-nav a { padding: 0.45rem 1rem; border-radius: 999px; background: var(--tint); font-size: 0.9rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.price-nav a:hover { background: var(--primary-soft); color: var(--primary); }
.price-groups { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); align-items: start; }
.price-group { padding: 1.5rem 1.6rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.price-group h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.price-menu { margin: 0; padding: 0; list-style: none; }
.price-menu li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border); font-size: 0.97rem; }
.price-menu li:last-child { border-bottom: 0; }
.price-menu li span:last-child { font-weight: 800; color: var(--primary); white-space: nowrap; }
.price-info { margin-top: 1.5rem; padding: 1.4rem 1.6rem; background: var(--tint); border-radius: var(--r); font-size: 0.97rem; color: var(--muted); }
.price-info p { margin: 0 0 0.4rem; }
.price-info p:last-child { margin: 0; }
.price-info strong { color: var(--navy); }

/* --- Galéria -------------------------------------------------------------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(12, 1fr); }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--r); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure:nth-child(1) { grid-column: 1 / 8; grid-row: span 2; }
.gallery figure:nth-child(2), .gallery figure:nth-child(3) { grid-column: 8 / 13; }
.gallery figure:nth-child(1) { position: relative; min-height: 280px; }
.gallery figure:nth-child(1) picture { position: absolute; inset: 0; }
.gallery figure:nth-child(2) img, .gallery figure:nth-child(3) img { aspect-ratio: 16 / 10; }
.gallery figure:nth-child(4), .gallery figure:nth-child(5) { grid-column: span 6; }
.gallery figure:nth-child(4) img, .gallery figure:nth-child(5) img { aspect-ratio: 16 / 10; }
.gallery img { transition: transform 0.9s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .gallery figure { grid-column: 1 / -1 !important; grid-row: auto !important; } .gallery figure:nth-child(1) { aspect-ratio: 4 / 3; min-height: 0; } }

/* --- Sociálne siete ------------------------------------------------------ */
.social-icon { flex: none; }
.social-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; margin: calc(-1 * clamp(1.25rem, 1rem + 1vw, 2.25rem)) 0 clamp(2.5rem, 2rem + 2vw, 4rem); text-align: center; }
.social-cta p { margin: 0; color: var(--muted); }
.social-cta .actions { justify-content: center; }
.btn--social { gap: 0.6rem; }
.btn--social .social-icon { color: var(--primary); }
.social-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 0.75rem; }
.social-links a { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; text-decoration: none; }

/* --- Instagram ------------------------------------------------------------ */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1000px) { .ig-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; } }
.ig-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); background: var(--tint-2); }
.ig-tile picture, .ig-tile img { width: 100%; height: 100%; }
.ig-tile img { object-fit: cover; transition: transform 0.8s var(--ease); }
.ig-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(19 21 47 / 0) 35%, rgb(19 21 47 / 0.88)); opacity: 0; transition: opacity 0.35s var(--ease); }
.ig-tile:hover img { transform: scale(1.05); }
.ig-tile:hover::after, .ig-tile:focus-visible::after { opacity: 1; }
.ig-tile__caption { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.7rem; z-index: 1; font-size: 0.85rem; font-weight: 700; line-height: 1.3; color: #fff; opacity: 0; translate: 0 8px; transition: opacity 0.35s var(--ease), translate 0.35s var(--ease); }
.ig-tile:hover .ig-tile__caption, .ig-tile:focus-visible .ig-tile__caption { opacity: 1; translate: none; }
@media (hover: none) { .ig-tile__caption { display: none; } }
.ig-tile__play { position: absolute; top: 0.55rem; right: 0.55rem; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: rgb(19 21 47 / 0.55); }
.ig-tile__play::before { content: ""; position: absolute; left: 11px; top: 8px; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent #fff; }
.ig-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.ig-cta .btn--social:not(.btn--outline) .social-icon { color: #fff; }

/* --- Pás so zákrokmi --------------------------------------------------- */
.ticker { overflow: hidden; padding-bottom: calc(clamp(40px, 5.5vw, 84px) + clamp(1.5rem, 1rem + 2vw, 3rem)); }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__group { display: flex; flex: none; }
.ticker__group span { display: inline-flex; align-items: center; gap: clamp(1.25rem, 0.75rem + 2vw, 2.75rem); padding-right: clamp(1.25rem, 0.75rem + 2vw, 2.75rem); font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.035em; white-space: nowrap; color: var(--primary); }
.ticker__group span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--primary); }
.ticker__group span::after { content: ""; flex: none; width: 0.2em; height: 0.2em; border-radius: 50%; background: #c9cfee; }

/* --- Pás fotiek z ambulancie --------------------------------------------- */
.marquee { overflow: hidden; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 75s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__item { position: relative; flex: none; height: clamp(220px, 120px + 16vw, 340px); margin-right: 1rem; overflow: hidden; border-radius: var(--r); background: var(--tint-2); }
.marquee__item--land { aspect-ratio: 3 / 2; }
.marquee__item--port { aspect-ratio: 2 / 3; }
.marquee__item picture, .marquee__item img { width: 100%; height: 100%; }
.marquee__item img { object-fit: cover; transition: transform 0.9s var(--ease); }
.marquee__item:hover img { transform: scale(1.06); }
.marquee__label { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: rgb(255 255 255 / 0.92); color: var(--navy); font-size: 0.82rem; font-weight: 700; line-height: 1.3; }

/* --- Kontakt -------------------------------------------------------------- */
.contact-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.contact-card { padding: 1.6rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r); }
.contact-card h2 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.contact-card p { color: var(--muted); margin-bottom: 0.5rem; }
.contact-card p a { font-weight: 700; }
.open-now { display: inline-block; margin-bottom: 0.75rem; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--tint); font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.open-now.is-open { background: #eef8f3; color: var(--success); }
.map-box { position: relative; display: grid; place-items: center; min-height: 420px; overflow: hidden; border-radius: var(--r-lg); background: var(--primary); color: #fff; text-align: center; }
.map-box__inner { padding: 2rem; max-width: 30rem; }
.map-box h2 { color: #fff; font-size: 1.8rem; }
.map-box p { color: rgb(255 255 255 / 0.75); font-size: 0.95rem; }
.map-box .actions { justify-content: center; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- CTA pruh ------------------------------------------------------------- */
.cta-box { display: grid; gap: 1.5rem; align-items: center; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); background: var(--primary); border-radius: var(--r-lg); color: #fff; }
@media (min-width: 860px) { .cta-box { grid-template-columns: 1.3fr auto; } }
.cta-box h2 { color: #fff; margin-bottom: 0.3em; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
.cta-box p { margin: 0; color: rgb(255 255 255 / 0.8); }

/* --- Právne texty --------------------------------------------------------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal-meta { font-size: 0.88rem; color: var(--muted); }

/* --- Pätička -------------------------------------------------------------- */
.site-footer { position: relative; background: var(--navy); color: rgb(255 255 255 / 0.72); font-size: 0.95rem; }
.site-footer a { color: rgb(255 255 255 / 0.9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: 2.5rem 2rem; padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) 2.5rem; grid-template-columns: 1.3fr repeat(3, 1fr); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .logo { color: #fff; margin-bottom: 1.25rem; }
.footer-brand .logo svg { height: 52px; }
.footer-brand p { max-width: 20rem; }
.footer-brand .tel { display: block; margin-top: 1rem; font-size: 1.35rem; font-weight: 800; color: #fff; }
.footer-title { margin-bottom: 0.9rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.footer-list { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.footer-hours { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; margin: 0; }
.footer-hours dd { margin: 0; color: #fff; font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.85rem; color: rgb(255 255 255 / 0.55); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.footer-bottom button { padding: 0; border: 0; background: none; color: rgb(255 255 255 / 0.9); cursor: pointer; font-size: inherit; }
.footer-bottom button:hover { color: #fff; text-decoration: underline; }

/* --- Mobilná lišta -------------------------------------------------------- */
.mobile-cta { position: fixed; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom)); z-index: 90; display: none; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.5rem; background: #fff; border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow); transform: translateY(150%); transition: transform 0.3s var(--ease); }
.mobile-cta.is-visible { transform: none; }
.mobile-cta a { display: grid; place-items: center; min-height: 46px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; text-decoration: none; color: var(--primary); background: var(--tint); }
.mobile-cta a + a { background: var(--primary); color: #fff; }
@media (max-width: 760px) { .mobile-cta { display: grid; } body.has-mobile-cta .site-footer { padding-bottom: 80px; } }

/* --- Cookies -------------------------------------------------------------- */
.cookie-banner { position: fixed; left: 50%; bottom: 1rem; z-index: 200; width: min(560px, calc(100% - 2rem)); translate: -50% 0; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); font-size: 0.92rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.cookie-banner p { color: var(--muted); margin-bottom: 1rem; }
.cookie-banner .actions { justify-content: flex-end; gap: 0.6rem; }
@media (max-width: 760px) { .cookie-banner { bottom: calc(1rem + 70px); } }

/* --- 404 ------------------------------------------------------------------ */
.error-page { padding-block: clamp(4rem, 3rem + 6vw, 8rem); text-align: center; }
.error-page .actions { justify-content: center; }

/* --- Animácie ------------------------------------------------------------ */
@keyframes rise { from { opacity: 0; translate: 0 30px; } }
@keyframes hero-zoom { from { scale: 1.16; } }
@keyframes person-in { from { opacity: 0; translate: 0 80px; } }
@keyframes circle-in { from { opacity: 0; scale: 0.4; } }
@keyframes breathe { to { scale: 1.07; } }
@keyframes drift { to { transform: translateX(-1440px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes clip-in { from { opacity: 0; clip-path: inset(14% 10% 14% 10% round var(--r-lg)); } 25% { opacity: 1; } to { clip-path: inset(0 round 0); } }
@keyframes zoom-out { from { scale: 1.25; } }
@keyframes star-pop { from { opacity: 0; scale: 0.2; } 60% { opacity: 1; scale: 1.3; } }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; translate: 0 18px; } }

/* Prechod medzi stránkami (Chrome, Safari): stará stránka zmizne, nová vyjde zdola */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.2s ease both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease) both; }
.site-header { view-transition-name: site-header; }

/* Hviezdičky sa rozsvietia jedna po druhej */
.stars--pop > span { display: inline-block; }
.stars--pop > span:nth-child(2) { --si: 1; } .stars--pop > span:nth-child(3) { --si: 2; } .stars--pop > span:nth-child(4) { --si: 3; } .stars--pop > span:nth-child(5) { --si: 4; }
.hero .stars--pop > span { animation: star-pop 0.6s var(--ease) calc(0.5s + var(--si, 0) * 80ms) both; }
.is-visible .stars--pop > span { animation: star-pop 0.6s var(--ease) calc(0.35s + var(--si, 0) * 80ms) both; }

/* Úvod: obsah postupne vyjde zdola, lekár vystúpi, pozadie sa pomaly vzdiali */
.hero__content > * { animation: rise 0.9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: 0.08s; }
.hero__content > :nth-child(3) { animation-delay: 0.16s; }
.hero__content > :nth-child(4) { animation-delay: 0.26s; }
.hero__content > :nth-child(5) { animation-delay: 0.36s; }
.hero--person .hero__bg img { animation: hero-zoom 2.4s var(--ease) both; }
.hero__person picture { animation: person-in 1.3s 0.15s var(--ease) both; }
.hero__person::before { animation: circle-in 1.5s var(--ease) both, breathe 6s 1.5s ease-in-out infinite alternate; }
.wave__drift { animation: drift 30s linear infinite; }
.hero .wave__drift { animation-duration: 26s; }
[data-parallax] { will-change: translate; }
.feature--photo img[data-parallax] { scale: 1.2; }

/* Objavenie pri skrolovaní (--rd = oneskorenie v skupine) */
.js [data-reveal]:not(.is-visible), .js [data-reveal-img]:not(.is-visible) { opacity: 0; }
.js [data-reveal].is-visible { animation: rise 0.9s var(--ease) var(--rd, 0ms) backwards; }
.js [data-reveal-img].is-visible { animation: clip-in 1.3s var(--ease) var(--rd, 0ms) backwards; }
.js [data-reveal-img].is-visible img { animation: zoom-out 1.8s var(--ease) var(--rd, 0ms) backwards; }

/* Nadpisy po slovách */
.split-w { display: inline-block; overflow: clip; vertical-align: top; padding-block: 0.14em; margin-block: -0.14em; }
.split-w > span { display: inline-block; translate: 0 120%; transition: translate 0.9s var(--ease) calc(var(--wi, 0) * 55ms); }
[data-split].is-visible .split-w > span { translate: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; }
    .js [data-reveal]:not(.is-visible), .js [data-reveal-img]:not(.is-visible) { opacity: 1; }
    .marquee { overflow-x: auto; }
    .marquee__track { animation: none; }
    .marquee__item[aria-hidden="true"] { display: none; }
    @view-transition { navigation: none; }
}
@media print { .site-header, .mobile-cta, .cookie-banner, .site-footer, .sidebar { display: none !important; } }
