/* ==========================================================================
   Veterina Meridiem – styl webu
   Paleta vychází z veterina-zak.cz: tmavě modrá, modrá, zlatá, krémová
   ========================================================================== */

:root {
	--navy: #201b57;
	--navy-2: #2d2775;
	--navy-3: #3a338f;
	--blue: #008ad1;
	--blue-2: #38b2f1;
	--blue-soft: #6bbbe9;
	--blue-bg: #e6f3fc;
	--gold: #cca356;
	--gold-2: #b88d3e;
	--gold-bg: #f5eddd;
	--cream: #faf5ef;
	--line: #e7e1d6;
	--text: #201b57;
	--muted: #625e86;
	--err: #b80b0e;
	--err-bg: #fdeaea;
	--ok: #2e8b57;

	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 20px 45px -25px rgba(32, 27, 87, .35);
	--shadow-sm: 0 8px 22px -14px rgba(32, 27, 87, .3);
	--page: 1200px;
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; overflow: clip; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.ico { width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: middle; }
.ico--sm { width: 17px; height: 17px; }

/* ---------- tlačítka ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 12px 24px; border-radius: 999px; border: 2px solid var(--blue);
	background: var(--blue); color: #fff; font: inherit; font-weight: 700; font-size: .95rem;
	text-decoration: none; cursor: pointer; line-height: 1.2;
	transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--sm { padding: 8px 16px; font-size: .88rem; gap: 7px; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--white { background: #fff; border-color: #fff; color: var(--navy); }
.btn--white:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; white-space: nowrap; }
.link-arrow .ico { transition: transform .2s var(--ease); }
.link-arrow:hover .ico, a:hover > .link-arrow .ico, a:hover .link-arrow .ico { transform: translateX(4px); }
.link-arrow--sm { font-size: .9rem; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.pill {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 28px;
	background: var(--gold-bg); color: #7a5a1c; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .9rem;
}
.badge { display: inline-block; font-style: normal; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: #fff; vertical-align: middle; }

/* ---------- lišta s oznámením ---------- */
.topbar-notice { background: var(--gold); color: #fff; font-size: .92rem; }
.topbar-notice .wrap { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: center; padding-top: 8px; padding-bottom: 8px; }
.topbar-notice__item { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar-notice__item:hover { color: #fff; text-decoration: underline; }

/* ---------- hlavička ---------- */
.header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
	border-bottom: 1px solid rgba(32, 27, 87, .08);
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
	position: relative; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem;
	padding: 10px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
	transition: background .2s, color .2s;
}
.nav a:not(.btn):hover { background: var(--cream); }
.nav a.is-active { color: var(--blue); }
.nav a.is-active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold); }
.btn--fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.btn--fb:hover { background: #0f5fcc; border-color: #0f5fcc; color: #fff; }
.nav__fb { margin-left: 10px; }
.nav__cta { margin-left: 8px; }
.nav-toggle { display: none; }

@media (max-width: 1000px) {
	.brand img { height: 30px; }
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
		border: 0; background: var(--cream); color: var(--navy); border-radius: 50%; cursor: pointer;
	}
	.nav-toggle__close { display: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline-flex; }
	.nav {
		position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
		background: #fff; padding: 12px 20px 24px; box-shadow: 0 30px 40px -20px rgba(32, 27, 87, .35);
		transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s var(--ease);
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	}
	.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
	.nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; border-radius: var(--radius-sm); }
	.nav a.is-active::after { left: 12px; right: auto; width: 24px; bottom: 8px; }
	.nav__cta, .nav__fb { margin: 12px 0 0; padding: 14px 20px; font-size: 1rem; }
	.nav__fb + .nav__cta { margin-top: 8px; }
}

/* ---------- hero (úvod) ---------- */
.hero { position: relative; color: #fff; padding: 64px 0 80px; overflow: hidden; overflow: clip; isolation: isolate; }
.hero__bg {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(900px 500px at 85% -10%, rgba(56, 178, 241, .35), transparent 60%),
		radial-gradient(700px 500px at -10% 110%, rgba(204, 163, 86, .28), transparent 60%),
		linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #1b5b9c 100%);
}
.hero__bg::after {
	content: ''; position: absolute; right: -80px; bottom: -120px; width: 520px; height: 520px; opacity: .07;
	background: url('../img/logo-mark.svg') no-repeat center / contain; filter: brightness(0) invert(1);
}
.hero__grid {
	display: grid; gap: 28px 56px; align-items: start;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "text" "hours";
}
.hero__text { grid-area: text; padding-top: 24px; }
.hero__notices { grid-area: notices; }
.hero__hours { grid-area: hours; }
.hero__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.08; margin-bottom: 22px; }
.hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, .85); }
.hero__grid--notices .hero__lead { max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 30px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .ico { color: var(--gold); }
.hero__facts a { color: #fff; }
.hero__notices-title { display: flex; align-items: center; gap: 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin: 0 0 12px; }
.hero__notices .notice + .notice { margin-top: 10px; }

@media (min-width: 901px) {
	.hero__grid--notices { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "text notices" "hours hours"; }
}
@media (max-width: 900px) {
	.hero { padding: 28px 0 56px; }
	.hero__grid--notices { grid-template-areas: "notices" "text" "hours"; }
	.hero__text { padding-top: 8px; }
}

/* ---------- oznámení ---------- */
.notice {
	display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm);
	background: #fff; color: var(--navy); border-left: 5px solid var(--gold); box-shadow: var(--shadow-sm);
}
.notice__icon { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-bg); color: var(--gold-2); }
.notice__icon .ico { width: 20px; height: 20px; }
.notice__title { font-size: 1.05rem; margin: 6px 0 4px; }
.notice__body { margin: 0; font-size: .95rem; color: var(--muted); }
.notice--closed { border-left-color: var(--err); }
.notice--closed .notice__icon { background: var(--err-bg); color: var(--err); }
.notice--info { border-left-color: var(--blue); }
.notice--info .notice__icon { background: var(--blue-bg); color: var(--blue); }

/* ---------- karty / ordinační doba ---------- */
.card { background: #fff; color: var(--navy); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.card__title { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 14px; }
.card__title .ico { color: var(--blue); }
.card__note { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }

@media (max-width: 420px) {
	.card { padding: 20px 16px; }
}

/* ---------- sekce ---------- */
.section { padding: 88px 0; }
.section--tint { background: var(--cream); }
.section--flush { padding-top: 0; }
.section--intro { padding-bottom: 24px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 40px; flex-wrap: wrap; }
.section__title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 300; letter-spacing: -.015em; margin: 0; position: relative; padding-bottom: 14px; }
.section__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 3px; background: var(--gold); }
.section__title--center { text-align: center; margin-bottom: 44px; }
.section__title--center::after { left: 50%; transform: translateX(-50%); }
.section__lead { margin: 16px 0 0; color: var(--muted); max-width: 40em; }
.section__intro { margin-bottom: 32px; }
@media (max-width: 700px) { .section { padding: 60px 0; } .section__head { margin-bottom: 28px; } }

/* ---------- objednání ---------- */
.section--order { padding-bottom: 72px; }
.order { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.order__card { position: relative; background: var(--cream); border-radius: var(--radius); padding: 34px 32px; overflow: hidden; overflow: clip; }
.order__card h3 { font-size: 1.35rem; }
.order__card p { color: var(--muted); max-width: 30em; }
.order__card--booking { background: var(--blue-bg); padding-right: 240px; }
.order__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--blue); color: #fff; margin-bottom: 20px; }
.order__icon--gold { background: var(--gold); }
.order__qr { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); width: 184px; border-radius: 12px; background: #fff; padding: 8px; box-shadow: var(--shadow-sm); }
.order__contacts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.order__contacts a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem; color: var(--navy); text-decoration: none; }
.order__contacts a .ico { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: #fff; color: var(--gold-2); transition: background .2s, color .2s; }
.order__contacts a:hover .ico { background: var(--gold); color: #fff; }
.order__contacts span { word-break: break-word; }
@media (max-width: 1000px) {
	.order__card--booking { padding-right: 32px; }
	.order__qr { position: static; transform: none; margin-top: 22px; }
}
@media (max-width: 560px) {
	.order__card { padding: 28px 22px; }
	.order__card--booking { padding-right: 22px; }
	.order__qr { display: none; }
}

/* ---------- black-out ready ---------- */
.blackout { background: var(--navy); color: #fff; position: relative; overflow: hidden; overflow: clip; }
.blackout::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 10% 50%, rgba(204, 163, 86, .28), transparent 70%); }
.blackout__in { position: relative; display: flex; align-items: center; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.blackout__badge {
	flex: none; width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center;
	background: linear-gradient(145deg, var(--gold), var(--gold-2)); color: var(--navy); box-shadow: 0 0 0 8px rgba(204, 163, 86, .18);
}
.blackout__badge .ico { width: 48px; height: 48px; stroke-width: 1.8; }
.blackout__title { font-size: 1.7rem; font-weight: 300; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 8px; }
.blackout p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 52em; }
@media (max-width: 600px) { .blackout__in { flex-direction: column; align-items: flex-start; gap: 20px; } }

/* ---------- tým ---------- */
.team { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.person {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; overflow: clip; color: var(--navy); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--navy); }
.person__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--blue-bg); }
.person__photo--initials { display: grid; place-items: center; font-size: 3.4rem; font-weight: 300; color: var(--blue); background: linear-gradient(145deg, var(--blue-bg), var(--gold-bg)); }
.person__body { padding: 20px 22px 24px; }
.person__name { font-size: 1.2rem; margin-bottom: 2px; }
.person__role { color: var(--gold-2); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.person__spec { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- služby ---------- */
.services { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.service { background: #fff; border-radius: var(--radius); padding: 28px 26px; transition: transform .25s var(--ease), box-shadow .25s; }
.section:not(.section--tint) .service { background: var(--cream); }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.service__icon { width: 64px; height: 64px; color: var(--blue); margin-bottom: 14px; }
.service__icon svg, .service__icon img { width: 100%; height: 100%; object-fit: contain; }
.service__title { font-size: 1.1rem; margin-bottom: 8px; }
.service__text { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- vybavení (karty) ---------- */
.equipment { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gear { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; overflow: clip; background: #fff; border: 1px solid var(--line); color: var(--navy); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.gear:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--navy); }
.gear__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; overflow: clip; }
.gear__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gear:hover .gear__img { transform: scale(1.04); }
.gear__badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.gear__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.gear__title { font-size: 1.15rem; }
.gear__body p { color: var(--muted); font-size: .95rem; flex: 1; }

.photo-placeholder {
	display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%;
	background:
		radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .7), transparent 60%),
		linear-gradient(145deg, var(--blue-bg), var(--gold-bg));
}
.photo-placeholder img { width: 72px; height: 72px; opacity: .55; }

/* ---------- facebook ---------- */
.fb { background: linear-gradient(120deg, var(--blue) 0%, #1b5b9c 60%, var(--navy-2) 100%); color: #fff; }
.fb__in { display: flex; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.fb__icon { width: 72px; height: 72px; border-radius: 22px; background: rgba(255, 255, 255, .15); display: grid; place-items: center; flex: none; }
.fb__icon .ico { width: 36px; height: 36px; }
.fb__text { flex: 1 1 360px; }
.fb__text h2 { font-size: 1.8rem; font-weight: 300; margin-bottom: 6px; }
.fb__text p { margin: 0; color: rgba(255, 255, 255, .85); }
.fb__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.fb__count { font-size: 2.4rem; font-weight: 300; line-height: 1; display: flex; flex-direction: column; }
.fb__count small { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; opacity: .8; margin-top: 6px; font-weight: 600; }

/* ---------- podstránky ---------- */
.page-hero { position: relative; color: #fff; padding: 72px 0 64px; overflow: hidden; overflow: clip; isolation: isolate;
	background:
		radial-gradient(700px 400px at 90% -20%, rgba(56, 178, 241, .35), transparent 60%),
		linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 70%, #1b5b9c 100%);
}
.page-hero--photo { padding: 340px 0 56px; }
/* fotka jen v šířce obsahu, okraje plynule přechází do tmavě modré → je vidět víc z jejího obsahu */
.page-hero__img {
	position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); z-index: -2;
	width: min(100%, var(--page)); height: 100%; object-fit: cover; object-position: center 37%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.page-hero--photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(32, 27, 87, 0) 0%, rgba(32, 27, 87, 0) 55%, rgba(32, 27, 87, .8) 100%); }
@media (max-width: 1200px) { .page-hero__img { -webkit-mask-image: none; mask-image: none; } }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 300; margin-bottom: 10px; }
.page-hero__subtitle { font-size: 1.15rem; color: rgba(255, 255, 255, .85); margin: 0; }
@media (max-width: 700px) { .page-hero { padding: 48px 0 40px; } .page-hero--photo { padding-top: 140px; } }

.rich { color: var(--text); }
.rich h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.rich h4 { font-size: 1rem; margin: 1.4em 0 .4em; color: var(--gold-2); }
.rich ul, .rich ol { padding-left: 1.2em; margin: 0 0 1em; }
.rich li { margin: .25em 0; }
.rich ul li::marker { color: var(--gold); }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich--lead { font-size: 1.15rem; }
.hero .rich, .hero .rich p { color: inherit; }

/* kdo jsme */
.team-nav { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.team-nav__item { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--cream); color: var(--navy); text-decoration: none; transition: background .2s; }
.team-nav__item:hover { background: var(--gold-bg); color: var(--navy); }
.team-nav__item img, .team-nav__item > span:first-child { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--blue-bg); color: var(--blue); font-weight: 700; }
.team-nav__item small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.2; }
.team-nav__item strong { display: block; font-size: .95rem; line-height: 1.3; }

.section--members { padding-top: 56px; }
.member { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); }
.member:first-child { border-top: 0; padding-top: 0; }
.member__side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.member__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 22px; }
.member__photo--initials { display: grid; place-items: center; font-size: 4rem; font-weight: 300; color: var(--blue); background: linear-gradient(145deg, var(--blue-bg), var(--gold-bg)); }
.member__name { font-size: 1.6rem; font-weight: 300; margin-bottom: 4px; }
.member__role { color: var(--gold-2); font-weight: 700; margin-bottom: 10px; }
.member__spec { color: var(--muted); font-size: .95rem; }
.member__quote { position: relative; margin: 0 0 32px; padding: 26px 30px 26px 76px; background: var(--cream); border-radius: var(--radius); font-size: 1.3rem; font-weight: 300; line-height: 1.45; }
.member__quote .ico { position: absolute; left: 26px; top: 28px; width: 30px; height: 30px; color: var(--gold); }
.member__quote p { margin: 0; }
@media (max-width: 800px) {
	.member { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
	.member__side { position: static; display: grid; grid-template-columns: 110px 1fr; gap: 0 20px; align-items: center; }
	.member__photo { grid-row: span 3; margin: 0; }
	.member__name, .member__role, .member__spec { margin: 0; }
	.member__quote { padding: 20px 20px 20px 62px; font-size: 1.1rem; }
	.member__quote .ico { left: 20px; top: 22px; width: 26px; height: 26px; }
}

/* služby – akordeon vybavení */
.accordion { display: grid; gap: 14px; }
.acc { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 0 var(--line); transition: box-shadow .25s; }
.acc[open] { box-shadow: var(--shadow); }
.acc__head { display: flex; align-items: center; gap: 20px; padding: 14px 22px 14px 14px; cursor: pointer; list-style: none; }
.acc__head::-webkit-details-marker { display: none; }
.acc__thumb { flex: none; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; overflow: clip; }
.acc__thumb-img { width: 100%; height: 100%; object-fit: cover; }
.acc__thumb .photo-placeholder img { width: 36px; height: 36px; }
.acc__title { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.acc__title strong { font-size: 1.12rem; }
.acc__title small { color: var(--muted); font-size: .93rem; }
.acc__chev { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--navy); transition: transform .25s var(--ease), background .2s; }
.acc[open] .acc__chev { transform: rotate(180deg); background: var(--gold); color: #fff; }
.acc__head:hover .acc__chev { background: var(--gold-bg); }
.acc__body { padding: 8px 32px 32px 118px; }
.acc__body--media { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px; align-items: start; }
.acc__img { border-radius: var(--radius-sm); width: 100%; object-fit: cover; max-height: 420px; }
@media (max-width: 800px) {
	.acc__head { gap: 14px; padding: 12px 14px 12px 12px; }
	.acc__thumb { width: 60px; height: 60px; }
	.acc__title small { display: none; }
	.acc__body, .acc__body--media { padding: 4px 18px 24px; grid-template-columns: 1fr; gap: 20px; }
}

/* kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact__quick { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 40px; }
.quick { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--blue-bg); color: var(--navy); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; min-width: 0; }
.quick:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); color: var(--navy); }
.quick__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }
.quick small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.quick strong { display: block; font-size: 1.05rem; word-break: break-word; }
.quick--gold { background: var(--gold-bg); }
.quick--gold .quick__icon { background: var(--gold); }
.quick--wide { grid-column: 1 / -1; }
.info-list { margin: 0; display: grid; gap: 26px; }
.info-list dt { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-2); margin-bottom: 4px; }
.info-list dd { margin: 0; padding-left: 32px; font-size: 1.05rem; }
.contact__hours { position: sticky; top: calc(var(--header-h) + 24px); }
.contact__media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; }
.contact__photo { margin: 0; border-radius: var(--radius); overflow: hidden; overflow: clip; min-height: 380px; }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; }
.contact__map { border-radius: var(--radius); overflow: hidden; overflow: clip; min-height: 380px; background: var(--cream); }
.contact__map--wide { grid-column: 1 / -1; }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 900px) {
	.contact, .contact__media { grid-template-columns: 1fr; gap: 32px; }
	.contact__hours { position: static; }
	.contact__photo, .contact__map, .contact__map iframe { min-height: 280px; }
}

/* chybová stránka */
.error-page { text-align: center; }
.error-page img { margin: 0 auto 24px; }
.error-page h1 { font-weight: 300; font-size: 2.2rem; }

/* ---------- patička ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 72px 0 0; font-size: .95rem; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1.2fr 1.2fr 1.3fr .8fr; }
.footer__hours span:last-child { text-align: right; }
.footer__brand img { width: 240px; margin-bottom: 18px; }
.footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__list li { display: flex; align-items: flex-start; gap: 10px; }
.footer__list a { display: inline-flex; gap: 10px; align-items: center; }
.footer__list .ico { color: var(--gold); margin-top: 3px; }
.footer__fb { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; }
.footer__hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.footer__hours li { display: flex; justify-content: space-between; gap: 12px; }
.footer__hours li.is-today { color: var(--gold); font-weight: 700; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: rgba(255, 255, 255, .55); }
.footer__bottom a { color: rgba(255, 255, 255, .55); }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer { padding-top: 56px; } }

/* tlačítko pro přihlášeného administrátora */
.admin-edit { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; box-shadow: var(--shadow); }
.admin-edit:hover { background: var(--gold); color: #fff; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- lékař ve službě (štítek, bublina, karta) ---------- */
.doc {
	position: relative; display: inline-flex; align-items: center; gap: 5px; max-width: 100%;
	padding: 2px 9px 2px 2px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .8rem; line-height: 1.2; color: var(--navy);
	background: color-mix(in srgb, var(--doc) 10%, #fff); border: 1px solid color-mix(in srgb, var(--doc) 35%, #fff);
	transition: background .15s, border-color .15s;
}
.doc:hover, .doc:focus-visible { background: color-mix(in srgb, var(--doc) 20%, #fff); border-color: var(--doc); outline: none; }
.doc__ini { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--doc); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .02em; }
.doc__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc__part { color: var(--muted); white-space: nowrap; font-size: .74rem; }
/* po najetí celé jméno */
.doc::after {
	content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 4px);
	background: var(--navy); color: #fff; font-size: .75rem; font-weight: 600; padding: 5px 9px; border-radius: 8px; white-space: nowrap;
	opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 5;
}
.doc:hover::after, .doc:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .doc::after { display: none; } }

.doc-modal {
	width: min(92vw, 560px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); color: var(--navy);
	border-top: 6px solid var(--doc, var(--gold));
}
.doc-modal::backdrop { background: rgba(32, 27, 87, .55); backdrop-filter: blur(2px); }
.doc-modal__body { display: grid; grid-template-columns: 160px 1fr; gap: 22px; padding: 26px; align-items: start; }
.doc-modal__photo { width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); background: var(--blue-bg); }
.doc-modal__photo--ini { display: grid; place-items: center; font-size: 3rem; font-weight: 300; color: #fff; background: var(--doc, var(--blue)); }
.doc-modal__name { font-size: 1.4rem; margin: 0 0 2px; }
.doc-modal__role { color: var(--gold-2); font-weight: 600; font-size: .92rem; margin: 0 0 10px; }
.doc-modal__spec { color: var(--muted); font-size: .95rem; margin: 0 0 10px; }
.doc-modal__quote { margin: 0 0 12px; padding-left: 12px; border-left: 3px solid var(--gold); font-style: italic; color: var(--muted); }
.doc-modal__close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--cream); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.doc-modal__close:hover { background: var(--gold-bg); }
@media (max-width: 520px) {
	.doc-modal__body { grid-template-columns: 1fr; text-align: center; padding: 24px 20px; }
	.doc-modal__photo { width: 140px; margin: 0 auto; border-radius: 50%; }
	.doc-modal__quote { border-left: 0; padding: 0; }
}


/* ---------- ordinační doba: časová osa (řádek = den) ---------- */
.card--hours { container-type: inline-size; }
.hours-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-bottom: 12px; }
.hours-head .card__title { margin: 0; flex-wrap: wrap; }
.card__sub { font-size: .8rem; font-weight: 400; color: var(--muted); }
.hours__legend { display: flex; flex-wrap: wrap; gap: 6px; }
.hours__legend .doc { padding-right: 10px; }
.hours__closed { color: var(--muted); font-style: italic; }
.hours__notes { list-style: none; padding: 0; margin: 12px 0 0; font-size: .88rem; color: var(--muted); }

.tl { --label: 150px; --open-h: 24px; --lane-h: 20px; font-variant-numeric: tabular-nums; }
.tl__axis, .tl__day { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); column-gap: 14px; align-items: center; }
.tl__scale { position: relative; height: 18px; }
.tl__scale span { position: absolute; bottom: 2px; transform: translateX(-50%); font-size: .7rem; color: var(--muted); }
.tl__scale span:first-child { transform: none; }
.tl__scale span:last-child { transform: translateX(-100%); }
.tl__day { padding: 5px 8px; margin: 0 -8px; border-radius: 10px; }
.tl__day + .tl__day { border-top: 1px solid var(--line); }
.tl__day.is-today { background: var(--gold-bg); border-top-color: transparent; }
.tl__day.is-today + .tl__day { border-top-color: transparent; }
.tl__label { line-height: 1.2; white-space: nowrap; }
.tl__dow { font-weight: 700; text-transform: capitalize; }
.tl__date { color: var(--muted); }
.tl__day.is-today .tl__date { color: var(--navy); }
.tl__badge { display: inline-block; font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--gold); border-radius: 999px; padding: 1px 6px; margin-left: 4px; vertical-align: 2px; }
.tl__badge--chg { background: var(--err); }
.tl__hol { display: block; font-size: .68rem; color: var(--gold-2); white-space: normal; }
.tl__track {
	position: relative; display: grid; gap: 3px; padding: 2px 0;
	background: repeating-linear-gradient(90deg, rgba(32, 27, 87, .07) 0 1px, transparent 1px calc(100% / var(--hours)));
}
.tl__open, .tl__lane { position: relative; }
.tl__open { height: var(--open-h); }
.tl__lane { height: var(--lane-h); }
.tl__bar {
	position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden;
	border-radius: 7px; background: var(--blue-bg); border: 1px solid #b9dcf3; color: var(--navy);
	font-size: .84rem; font-weight: 600; white-space: nowrap;
}
.tl__doc {
	position: absolute; top: 0; bottom: 0; display: flex; align-items: center; gap: 5px; padding: 0 6px 0 2px; overflow: visible;
	border: 0; border-radius: 999px; background: var(--doc); color: #fff; cursor: pointer; font: inherit; font-size: .74rem; font-weight: 600;
	transition: filter .15s;
}
.tl__doc b { flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, .25); font-size: .55rem; }
.tl__doc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tl__doc:hover, .tl__doc:focus-visible { filter: brightness(1.12); outline: none; }
.tl__doc::after {
	content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 4px);
	background: var(--navy); color: #fff; font-size: .75rem; font-weight: 600; padding: 5px 9px; border-radius: 8px; white-space: nowrap;
	opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 5;
}
.tl__doc:hover::after, .tl__doc:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .tl__doc::after { display: none; } }
.tl__closed { height: var(--open-h); display: flex; align-items: center; padding-left: 10px; color: var(--muted); font-style: italic; font-size: .9rem; }
.tl__note { grid-column: 2; font-size: .78rem; color: var(--err); padding-top: 2px; }
.tl__note .ico { width: 13px; height: 13px; vertical-align: -2px; }

@container (max-width: 640px) {
	.tl { --label: 76px; --open-h: 22px; --lane-h: 18px; }
	.tl__axis, .tl__day { column-gap: 8px; }
	.tl__date { display: block; font-size: .8rem; }
	.tl__badge { margin: 2px 0 0; }
	.tl__label { white-space: normal; }
	.tl__bar { font-size: .74rem; letter-spacing: -.01em; }
	.tl__doc span { display: none; }
	.tl__doc { padding: 0 2px; justify-content: flex-start; }
	.tl__note { grid-column: 1 / -1; }
}
@container (max-width: 380px) {
	.tl { --label: 58px; }
	.tl__bar { font-size: .66rem; }
	.tl__scale span:nth-child(even) { visibility: hidden; }
}

/* další plánované změny – kompaktně */
.hours__next { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; }
.hours__next h3 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-2); margin: 0; }
.hours__next ul { display: contents; list-style: none; }
.hours__next li { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.blk { display: inline-flex; align-items: center; gap: 4px; }
.blk__docs { display: inline-flex; flex-wrap: wrap; gap: 3px; }
.hours__next .doc__name { display: none; }
.hours__next .doc { padding-right: 2px; }
.hours__next .doc:has(.doc__part) { padding-right: 8px; }
.hours__next-note { color: var(--muted); }
.hours__next-note::before { content: '– '; }
.tl__bar { justify-content: safe center; }
.tl__ts { display: none; }
@container (max-width: 640px) {
	.tl__t { display: none; }
	.tl__ts { display: inline; }
	.tl__date { display: inline; font-size: .8rem; }
	.tl__label { white-space: nowrap; }
	.tl__badge { display: table; margin: 2px 0 0; }
	.tl__hol { display: none; }
}
@container (max-width: 380px) {
	.tl { --label: 64px; }
	.tl__dow, .tl__date { font-size: .78rem; }
}

/* ---------- ordinační doba: kalendář vlevo, změny vpravo ---------- */
.hours-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px 36px; align-items: start; }
.hours-side { border-left: 1px solid var(--line); padding-left: 28px; display: grid; gap: 16px; }
.hours-side .card__note { margin: 0; }
@container (max-width: 900px) {
	.hours-layout { grid-template-columns: minmax(0, 1fr); }
	.hours-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; }
}
.hours-week[hidden] { display: none; }
.wk-nav { display: flex; align-items: center; gap: 6px; }
.wk-nav__label { min-width: 13.5em; text-align: center; font-size: .92rem; color: var(--muted); white-space: nowrap; }
.wk-nav__label strong { color: var(--navy); margin-right: 4px; }
.wk-nav__btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.wk-nav__btn .ico { transform: rotate(-90deg); }
.wk-nav__btn .wk-nav__prev { transform: rotate(90deg); }
.wk-nav__btn:hover:not(:disabled) { background: var(--gold-bg); border-color: var(--gold); }
.wk-nav__btn:disabled { opacity: .35; cursor: default; }
@container (max-width: 480px) {
	.hours-head { flex-direction: column; align-items: stretch; }
	.wk-nav { justify-content: space-between; }
	.wk-nav__label { min-width: 0; }
}

/* výraznější ordinační doba */
.tl { --label: 128px; --open-h: 32px; --lane-h: 18px; }
.tl__bar { background: var(--navy); border-color: var(--navy); color: #fff; font-size: .98rem; font-weight: 700; letter-spacing: .01em; border-radius: 8px; }
.tl__day { padding: 6px 8px; }
.tl__dow { font-size: 1.02rem; }
.tl__day.is-past { opacity: .5; }
.tl__day.is-today .tl__bar { background: var(--gold-2); border-color: var(--gold-2); }
.tl__closed { font-size: 1rem; }
@container (max-width: 640px) {
	.tl { --label: 76px; --open-h: 28px; --lane-h: 16px; }
	.tl__bar { font-size: .86rem; }
	.tl__dow { font-size: .9rem; }
}
@container (max-width: 380px) {
	.tl { --label: 62px; }
	.tl__bar { font-size: .76rem; }
}

/* plánované změny – svislý seznam v bočním sloupci */
.hours__next { display: block; margin: 0; padding: 0; border: 0; }
.hours__next h3 { margin: 0 0 10px; }
.hours__next ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hours__next li { display: grid; gap: 2px; padding-left: 10px; border-left: 3px solid var(--err); }
.hours__next-date { font-size: .92rem; }
.hours__next-what { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .88rem; }
.hours__next-note { font-size: .82rem; }
.hours__next-note::before { content: none; }
.hours__next-none { margin: 0; font-size: .88rem; color: var(--muted); }
.hours__legend { gap: 6px; }
/* zavřeno – uprostřed osy, kapitálky */
.tl__closed { justify-content: center; padding: 0; font-style: normal; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.hours__next .hours__closed { font-style: normal; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
/* bublina v barvě lékaře */
.doc::after, .tl__doc::after { background: var(--doc); box-shadow: 0 6px 16px -6px rgba(32, 27, 87, .45); }
.doc::before, .tl__doc::before {
	content: ''; position: absolute; left: 50%; bottom: calc(100% + 1px); transform: translate(-50%, 4px);
	border: 5px solid transparent; border-top-color: var(--doc); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 5;
}
.doc:hover::before, .doc:focus-visible::before, .tl__doc:hover::before, .tl__doc:focus-visible::before { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .doc::before, .tl__doc::before { display: none; } }
/* dny oddělené výraznou čarou */
.tl__day { margin: 0 -8px; padding: 9px 8px; background: none; border-radius: 0; }
.tl__day + .tl__day { border-top: 2px solid #d8cfbf; }
.tl__day.is-today { background: var(--gold-bg); border-radius: 10px; }
.tl__day.is-today, .tl__day.is-today + .tl__day { border-top-color: transparent; }
@container (max-width: 640px) {
	.tl__day { padding: 7px 8px; }
}
/* ordinační doba zlatě */
.tl__bar { background: var(--gold-2); border-color: var(--gold-2); color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .15); }
.tl__day.is-today .tl__bar { background: #8f6a2a; border-color: #8f6a2a; }
.tl__bar { background: var(--gold); border-color: var(--gold); }
.tl__day.is-today .tl__bar { background: var(--gold-2); border-color: var(--gold-2); }
/* světlá zlatá, tmavě modrý text */
.tl__bar { background: #f0e1c2; border-color: #e3cc9c; color: var(--navy); text-shadow: none; }
.tl__day.is-today .tl__bar { background: #e6cd97; border-color: var(--gold); }
/* pruh, do kterého se celý čas nevejde, ukáže krátký zápis (třídu přidává web.js) */
.tl__bar.is-short .tl__t { display: none; }
.tl__bar.is-short .tl__ts { display: inline; }
/* jméno lékaře v pruhu zůstává, dokud se vejde (skrývá ho web.js třídou is-ini) */
@container (max-width: 640px) {
	.tl__doc span { display: inline; }
	.tl__doc { padding: 0 6px 0 2px; }
}
.tl__doc.is-ini span { display: none; }
.tl__doc.is-ini { padding: 0 2px; }
.tl__doc .tl__s { display: none; }
.tl__doc.is-sur .tl__n { display: none; }
.tl__doc.is-sur .tl__s { display: inline; }
.tl__doc.is-ini .tl__n, .tl__doc.is-ini .tl__s { display: none; }
