/* Oční ordinace Dr.Klain — styly podle doktorklain.cz
   (Ema marketing/design-system-web.md; hodnoty změřené na www.doktorklain.cz 6. 11. 2026:
   fialové pozadí stránky, karty #F8F7F2 r24 p36, nadpisy 72 px/500, tmavý pruh #4C4666 r30).

   PÍSMO: Atyp BL stejně jako doktorklain.cz — tytéž woff2 (Medium 500, Semibold 600),
   self-host, žádné CDN. Rozhodnutí Davida 6. 11. 2026. Licence Suitcase #3627/#3666
   je vedená na doménu doktorklain.cz — ocnilekarliberec.cz do ní připsat u Suitcase Type. */

@font-face {
	font-family: 'Atyp BL';
	font-weight: 500;
	font-display: swap;
	src: url('fonts/AtypBLText-Medium.woff2') format('woff2');
}
@font-face {
	font-family: 'Atyp BL';
	font-weight: 600;
	font-display: swap;
	src: url('fonts/AtypBLText-Semibold.woff2') format('woff2');
}
/* Atyp kreslí „7" s čárkou (vypadá přeškrtnutě) — číslice ze systémového písma. */
@font-face {
	font-family: 'DK Digits';
	src: local('Segoe UI'), local('Helvetica Neue'), local('Arial'), local('Roboto');
	unicode-range: U+0030-0039;
}

:root {
	--purple: #4C4666;
	--purple-dark: #433E5B;
	--purple-hover: #37334A;
	--page: #E7E5F1;
	--purple-medium: #C2BDDB;
	--pink: #FF9F9F;
	--pink-light: #FFE0E0;
	--yellow: #FFFBBD;
	--ivory: #FFFCF8;
	--card: #F8F7F2;
	--muted: rgba(76, 70, 102, .6);
	--line: #E6E3EE;
	--font: 'DK Digits', 'Atyp BL', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	--gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 34px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0;
	background: var(--page);
	color: var(--purple);
	font-family: var(--font);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--purple); margin: 0; }
h3 { font-size: 1.375rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; }
@media (min-width: 768px) { h3 { font-size: 1.5rem; } }
p { margin: 0 0 14px; }
b, strong { font-weight: 600; }
::selection { background: #F6FF6E; }
.num { font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; }

.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.mt { margin-top: 16px; }
.muted { color: var(--muted); }
@media (max-width: 520px) { .hide-sm { display: none; } }

/* Tlačítka */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 42px; padding: 8px 22px; border-radius: 8px; border: 1px solid transparent;
	font: inherit; text-decoration: none; cursor: pointer; text-align: center;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--lg { min-height: 48px; padding: 10px 28px; }
.btn--pink { background: var(--pink); color: var(--purple); }
.btn--pink:hover { background: #ff8b8b; }
.btn--purple { background: var(--purple); color: var(--ivory); }
.btn--purple:hover { background: var(--purple-hover); }
.btn--ivory { background: var(--ivory); color: var(--purple); }
.btn--ivory:hover { background: #fff; }
.btn--outline { border-color: rgba(255,252,248,.4); color: var(--ivory); }
.btn--outline:hover { border-color: var(--ivory); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.link { color: var(--purple); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.link:hover { text-decoration-color: var(--purple); }

/* Hlavička */
.header { position: sticky; top: 0; z-index: 10; background: rgba(231, 229, 241, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header__in { display: flex; align-items: center; gap: 28px; padding-block: 16px; }
.header__logo img { width: 124px; }
.header__nav { display: flex; gap: 6px; margin-right: auto; }
.header__nav a { color: var(--purple); text-decoration: none; padding: 5px 14px; border-radius: 999px; }
.header__nav a:hover { background: var(--ivory); }
.header__phone { color: var(--purple); text-decoration: none; font-weight: 600; }
@media (max-width: 860px) {
	.header__in { flex-wrap: wrap; gap: 6px 16px; padding-block: 12px 8px; }
	.header__logo { margin-right: auto; }
	.header__logo img { width: 108px; }
	.header__nav { order: 3; width: calc(100% + 16px); margin: 0 -8px; gap: 2px; font-size: .95rem; }
	.header__nav a { padding: 4px 8px; white-space: nowrap; }
}

/* Úvod — fotka přes celou šířku s textem jako na doktorklain.cz */
.hero {
	position: relative; overflow: hidden; border-radius: 24px; isolation: isolate;
	min-height: 560px; display: flex; align-items: flex-end;
	background: var(--purple);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.hero::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(60, 55, 85, .82) 0%, rgba(60, 55, 85, .55) 42%, rgba(60, 55, 85, 0) 72%);
}
.hero__content { padding: 40px 24px 32px; max-width: 640px; color: #fff; }
.hero h1 { color: #fff; font-size: clamp(3rem, 7.4vw, 5.5rem); line-height: 1; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 22px; }
.hero__lead { font-size: 1.125rem; font-weight: 600; max-width: 30em; margin-bottom: 26px; }
@media (min-width: 768px) {
	.hero { min-height: min(72vh, 640px); align-items: center; }
	.hero__content { padding: 56px 64px; }
	.hero__lead { font-size: 1.375rem; }
}
@media (max-width: 767px) {
	.hero { min-height: 600px; }
	.hero__bg { object-position: 62% center; }
	.hero::before { background: linear-gradient(180deg, rgba(60, 55, 85, 0) 18%, rgba(60, 55, 85, .7) 52%, rgba(60, 55, 85, .92) 100%); }
	.hero { min-height: 540px; }
	.hero h1 { font-size: 2.75rem; margin-bottom: 16px; }
	.hero__lead { font-size: 1.05rem; margin-bottom: 0; }
	/* tlačítko nahrazuje pevná lišta dole */
	.hero__content .btn { display: none; }
}

/* Dlaždice pod úvodem */
.tiles { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; } }
.tile { position: relative; display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; isolation: isolate; }
@media (max-width: 767px) { .tile { aspect-ratio: 16 / 9; } }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40,36,60,0) 45%, rgba(40,36,60,.7) 100%); }
.tile:hover img { transform: scale(1.04); }
.tile__text { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; flex-direction: column; }
.tile__text b { font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.02em; }
.tile__text small { font-size: .9rem; font-weight: 600; opacity: .95; }

/* Sekce */
.section { padding-top: 80px; }
@media (min-width: 768px) { .section { padding-top: 128px; } }
.section__head { margin-bottom: 40px; text-align: center; }
.eyebrow { color: var(--muted); margin-bottom: 4px; }
.display { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.04; font-weight: 500; letter-spacing: -0.02em; }

.grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) and (max-width: 1023px) { .grid--3 { grid-template-columns: 1fr 1fr; } .grid--3 > :last-child { grid-column: 1 / -1; } }

.card { background: var(--card); border-radius: 24px; padding: 28px 24px; }
.card--white { background: var(--ivory); }
@media (min-width: 768px) { .card { padding: 36px; } }
.card .btn { margin-top: 4px; }
.big { font-size: 1.5rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; vertical-align: top; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { width: 52px; font-family: var(--font); font-weight: 600; }
.note { display: table; white-space: nowrap; line-height: 1.4; padding-block: 3px; margin-top: 6px; padding: 1px 10px; border-radius: 999px; background: var(--pink-light); font-family: var(--font); font-size: .85rem; }

.insurers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.insurers li { display: flex; gap: 12px; align-items: baseline; font-family: var(--font); }
.insurers b { flex: none; min-width: 44px; padding: 1px 0; border-radius: 6px; background: var(--page); text-align: center; font-family: 'Segoe UI', Arial, sans-serif; font-size: .9rem; }

.map { position: relative; display: block; margin-top: 16px; border-radius: 24px; overflow: hidden; }
.map img { width: 100%; height: 320px; object-fit: cover; }
.map__label { position: absolute; left: 20px; bottom: 20px; padding: 10px 20px; border-radius: 8px; background: var(--purple); color: var(--ivory); }
.map:hover .map__label { background: var(--purple-hover); }

.list { list-style: none; margin: 0; padding: 0; }
.list li { position: relative; padding: 8px 0 8px 26px; }
.list li::before { content: ''; position: absolute; left: 0; top: 15px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--pink); }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 14px; border-radius: 999px; background: var(--page); }
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.team li { display: flex; flex-direction: column; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.team li:last-child { border-bottom: 0; padding-bottom: 0; }
.team b { font-size: 1.25rem; }
.team span { color: var(--muted); }

/* Operace víček — tmavý pruh jako „Klain. Stylista" na doktorklain.cz */
.band { background: var(--purple); color: var(--ivory); border-radius: 30px; padding: 56px 22px; text-align: center; }
@media (min-width: 768px) { .band { padding: 80px 64px; } }
.band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 18px; }
.pill { display: inline-block; margin: 0 0 16px; padding: 3px 12px; border: 1px solid var(--pink); border-radius: 20px; color: var(--pink); font-size: .875rem; font-weight: 600; }
.band__lead { max-width: 44em; margin: 0 auto 40px; opacity: .88; }
.steps { display: grid; gap: 28px; text-align: left; max-width: 1080px; margin: 0 auto; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { background: rgba(255,252,248,.06); border-radius: 20px; padding: 26px 24px; }
.step h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.step p { margin: 0; opacity: .8; font-size: .95rem; }
.step__n {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 14px;
	background: rgba(255,252,248,.12); color: var(--pink); font-family: 'Segoe UI', Arial, sans-serif; font-weight: 600;
}
.band__price { margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255,252,248,.16); }
.band__label { margin-bottom: 6px; opacity: .7; }
.band__value { font-size: clamp(2.75rem, 6vw, 4rem); line-height: 1; font-weight: 600; color: #fff; margin-bottom: 32px; }
.band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
@media (max-width: 520px) { .band__actions .btn { width: 100%; } }

/* Patička */
.footer { background: var(--purple-dark); color: var(--ivory); margin-top: 128px; padding-block: 64px 96px; }
@media (min-width: 768px) { .footer { padding-bottom: 32px; } }
.footer a { color: var(--ivory); text-decoration: none; opacity: .9; }
.footer a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--pink); }
.footer__top { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; } }
.footer__top img { width: 150px; margin-bottom: 18px; }
.footer__claim { opacity: .8; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__h { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--pink); margin-bottom: 6px; }
.footer__bye { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.02em; color: var(--pink); margin: 0; }
.footer__company { margin: 48px 0 0; font-size: .85rem; line-height: 1.6; opacity: .7; max-width: 70em; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,252,248,.18); font-size: .85rem; opacity: .8; }
.footer__bottom span { margin-left: auto; }
@media (max-width: 700px) { .footer__bottom span { margin-left: 0; } }

/* Mobil: objednání vždy po ruce */
.mobile-cta { display: none; }
@media (max-width: 767px) {
	.mobile-cta {
		display: flex; align-items: center; justify-content: center;
		position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; min-height: 52px;
		border-radius: 10px; background: var(--purple); color: var(--ivory); text-decoration: none; font-weight: 600;
		box-shadow: 0 8px 28px rgba(40, 36, 60, .35);
	}
}

/* Zjednodušené bloky (6. 11.): pojišťovny jako štítky, fakta o operaci, rozbalovací péče po operaci */
.spaced { margin-top: 18px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--ivory); font-weight: 600; }
.hours td { white-space: nowrap; }
@media (max-width: 380px) { .hours td { white-space: normal; } }

.facts { list-style: none; margin: 0 auto 40px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 900px; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.facts li { display: flex; flex-direction: column; gap: 2px; padding: 18px 12px; border-radius: 16px; background: rgba(255,252,248,.08); }
.facts b { color: #fff; font-size: 1.25rem; letter-spacing: -0.01em; }
.facts span { font-size: .875rem; opacity: .75; }

.step p { font-size: 1rem; opacity: .85; }
.after { max-width: 760px; margin: 28px auto 0; text-align: left; border-radius: 16px; background: rgba(255,252,248,.06); }
.after summary { cursor: pointer; padding: 18px 24px; font-weight: 600; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.after summary::-webkit-details-marker { display: none; }
.after summary::after { content: '+'; color: var(--pink); font-size: 1.5rem; line-height: 1; }
.after[open] summary::after { content: '–'; }
.after ul { margin: 0; padding: 0 24px 22px 44px; display: grid; gap: 8px; opacity: .88; }

/* Hodiny ve sloupcích: dopoledne | odpoledne, poznámka na vlastním řádku */
.hours { font-variant-numeric: tabular-nums; }
.hours td { padding-right: 12px; }
.hours tr.has-note th, .hours tr.has-note td { border-bottom: 0; padding-bottom: 2px; }
.hours tr.note-row th, .hours tr.note-row td { padding-top: 0; }
.hours .note { margin-top: 0; }
.hours th { width: 44px; min-width: 44px; padding-right: 8px; }
.hours .note { white-space: normal; }
@media (min-width: 1024px) { #kontakt .grid--3 { grid-template-columns: 1fr 1.35fr 1fr; } }
.hours .note { border-radius: 8px; }
