/* Sablona Karpalni tunel - modra z loga Ortopedie-rehabilitace (#0098e0) + tmave modra, Plus Jakarta Sans */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--cp-navy: #0a3a5c;
	--cp-ink: #0b2b45;
	--cp-dark: #06263d;
	--cp-dark-2: #0b3350;
	--cp-accent: #0098e0;
	--cp-accent-dark: #0079b8;
	--cp-accent-soft: #e0f2fb;
	--cp-blue: #0098e0;
	--cp-blue-dark: #0079b8;
	--cp-blue-soft: #e0f2fb;
	--cp-light: #eef7fc;
	--cp-text: #475569;
	--cp-muted: #74839a;
	--cp-line: #e0e8f1;
	--cp-white: #fff;
	--cp-radius: 24px;
	--cp-shadow: 0 24px 60px -30px rgba(7, 29, 51, .35);
	--cp-wrap: 1180px;
	--cp-header-h: 88px;
	--cp-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cp-header-h) + 16px); }
body {
	margin: 0;
	background: var(--cp-white);
	color: var(--cp-text);
	font: 400 17px/1.7 var(--cp-font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--cp-blue-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cp-accent); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--cp-ink); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
h1 { font-size: clamp(38px, 5.6vw, 72px); letter-spacing: -.045em; line-height: 1.02; }
h2 { font-size: clamp(30px, 3.8vw, 48px); letter-spacing: -.04em; }
h3 { font-size: 22px; letter-spacing: -.02em; }
h4 { font-size: 19px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; color: var(--cp-ink); }
ul, ol { padding-left: 1.2em; }

.cp-wrap { width: min(var(--cp-wrap), 100% - 40px); margin-inline: auto; }
.cp-center { text-align: center; }
.cp-lead { font-size: 19px; line-height: 1.65; }
.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---------- Ikony (maska SVG v promenne --ico) ---------- */

.cp-ico-doc { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='3'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h4'/%3E%3C/svg%3E"); }
.cp-ico-pulse { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2-5 4 10 2-5h6'/%3E%3C/svg%3E"); }
.cp-ico-calendar { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.cp-ico-search { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E"); }
.cp-ico-alert { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 2.8 19.5h18.4z'/%3E%3Cpath d='M12 10v4M12 17h.01'/%3E%3C/svg%3E"); }
.cp-ico-family { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='7.5' r='3'/%3E%3Ccircle cx='16.5' cy='9' r='2.5'/%3E%3Cpath d='M2.5 20c.6-3.4 2.8-5.5 5.5-5.5s4.9 2.1 5.5 5.5M13.5 15c.9-.6 1.9-.9 3-.9 2.4 0 4.3 1.9 4.9 5'/%3E%3C/svg%3E"); }
.cp-ico-run { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='4.5' r='2'/%3E%3Cpath d='M7 21l3-6 3 2v4M6 12l3-4 4 1 2 4 3 1M13 9l-2 5'/%3E%3C/svg%3E"); }
.cp-ico-probe { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v10M8 10l4 4 4-4M5 19h14'/%3E%3C/svg%3E"); }
.cp-ico-heart { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-9.3-9.6C1.5 6.9 3.8 3.5 7.3 3.5c2 0 3.6 1.1 4.7 2.7 1.1-1.6 2.7-2.7 4.7-2.7 3.5 0 5.8 3.4 4.6 6.9C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E"); }
.cp-ico-user { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4.4 4.2-6.5 8-6.5s7 2.1 8 6.5'/%3E%3C/svg%3E"); }
.cp-ico-pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.cp-ico-phone { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5h3l1.5 4-2 1.3a12 12 0 0 0 6.1 6.1l1.3-2 4 1.5v3a2 2 0 0 1-2.2 2A17 17 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E"); }
.cp-ico-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
.cp-ico-clock { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.cp-ico-bus { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3.5' width='16' height='14' rx='3'/%3E%3Cpath d='M4 11h16M7.5 17.5V20M16.5 17.5V20M8 14.5h.01M16 14.5h.01'/%3E%3C/svg%3E"); }
.cp-ico-target { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='12' cy='12' r='.8'/%3E%3C/svg%3E"); }

/* ---------- Tlacitka a stitky ---------- */

.cp-btn, .cp-main button[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 13px 26px;
	font: 700 15px/1.3 var(--cp-font);
	letter-spacing: -.01em;
	color: var(--cp-blue-dark);
	background: transparent;
	border: 1.5px solid var(--cp-blue);
	border-radius: 999px;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.cp-btn:hover { color: var(--cp-white); background: var(--cp-blue); }
.cp-btn--accent, .cp-main button[type="submit"] {
	padding: 6px 26px 6px 6px;
	color: var(--cp-white);
	background: var(--cp-accent);
	border-color: var(--cp-accent);
	box-shadow: 0 14px 30px -14px rgba(0, 152, 224, .8);
}
.cp-btn--accent:hover, .cp-main button[type="submit"]:hover { color: var(--cp-white); background: var(--cp-accent-dark); border-color: var(--cp-accent-dark); transform: translateY(-1px); }
.cp-btn__arrow {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--cp-white);
	color: var(--cp-accent);
	font-size: 17px;
	transition: transform .2s;
}
.cp-btn--accent:hover .cp-btn__arrow { transform: translateX(2px); }
.cp-main button[type="submit"] { padding: 15px 30px; }
.cp-btn--ghost { color: var(--cp-ink); border-color: var(--cp-line); }
.cp-btn--white { color: var(--cp-navy); background: var(--cp-white); border-color: var(--cp-white); }
.cp-btn--white:hover { color: var(--cp-white); background: var(--cp-accent); border-color: var(--cp-accent); }

/* odkaz s cervenou sipkou v textu: <a class="cp-btn cp-btn--accent" ...>Text</a> bez span - sipku doplni CSS */
.cp-btn--accent:not(:has(.cp-btn__arrow))::before {
	content: "\2192";
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--cp-white);
	color: var(--cp-accent);
	font-size: 17px;
}

.cp-badge {
	display: inline-block;
	margin: 0 0 22px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--cp-blue-soft);
	color: var(--cp-blue-dark);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.cp-badge--solid { background: var(--cp-accent); color: var(--cp-white); }

/* ---------- Horni lista a hlavicka ---------- */

.cp-topbar { background: var(--cp-blue); color: rgba(255, 255, 255, .9); font-size: 13px; }
.cp-topbar__inner { display: flex; justify-content: space-between; gap: 20px; min-height: 36px; align-items: center; }
.cp-topbar p { margin: 0; }
.cp-topbar strong { color: var(--cp-white); }
.cp-topbar__meta { display: flex; gap: 24px; align-items: center; }
.cp-topbar__meta p { display: flex; flex-wrap: wrap; gap: 0 24px; }
.cp-topbar a { color: rgba(255, 255, 255, .9); }
.cp-topbar a:hover { color: var(--cp-white); text-decoration: underline; }

.cp-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	transition: box-shadow .3s;
}
.cp-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(7, 29, 51, .35); }
.cp-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--cp-header-h); }

.cp-logo { display: inline-flex; align-items: center; gap: 12px; flex: none; color: var(--cp-ink); }
.cp-logo:hover { color: var(--cp-ink); }
.cp-logo img { display: block; width: auto; height: 56px; }
.cp-logo__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--cp-accent); color: var(--cp-white); }
.cp-logo__icon svg { width: 26px; height: 26px; }
.cp-logo__icon svg path:first-child { fill: var(--cp-white); }
.cp-logo__text { font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.cp-logo__text b { color: var(--cp-accent); font-weight: 800; }

.cp-nav { margin-left: auto; }
.cp-nav ul { list-style: none; margin: 0; padding: 0; }
.cp-nav .mod-menu { display: flex; align-items: center; gap: 28px; }
.cp-nav li { position: relative; }
.cp-nav a, .cp-nav .mod-menu__heading, .cp-nav .nav-header {
	display: block;
	padding: 10px 0;
	color: var(--cp-ink);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
}
.cp-nav a:hover, .cp-nav .active > a { color: var(--cp-accent); }
.cp-nav .mod-menu > li.deeper > a, .cp-nav .mod-menu > li.deeper > span, .cp-nav .mod-menu > li.deeper > button { padding-right: 15px; }
.cp-nav .mod-menu > li.deeper > :first-child::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	margin-top: -2px;
	border: 4px solid transparent;
	border-top-color: currentColor;
}
/* polozka typu Nadpis (Sluzby) - mod_menu ji vykresli jako tlacitko pro rozbaleni */
.cp-nav .mod-menu__toggle-sub {
	display: block;
	padding: 10px 15px 10px 0;
	font: 600 15px/1.7 var(--cp-font);
	color: var(--cp-ink);
	background: none;
	border: 0;
	cursor: pointer;
}
.cp-nav .mod-menu__toggle-sub:hover { color: var(--cp-accent); }
.cp-nav .mod-menu__toggle-sub .mod-menu__heading { padding: 0; }
.cp-nav .mod-menu__toggle-sub [class^="icon-"] { display: none; }
/* u polozky s odkazem (Magazin) je tlacitko prazdne - podmenu otevira najeti mysi */
.cp-nav a + .mod-menu__toggle-sub { display: none; }
.cp-nav a.cp-nav__cta { display: none; }
.cp-nav ul.mod-menu__sub {
	display: block;
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 240px;
	padding: 10px;
	background: var(--cp-white);
	border-radius: 18px;
	box-shadow: 0 24px 50px -20px rgba(7, 29, 51, .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.cp-nav li:hover > ul.mod-menu__sub, .cp-nav li:focus-within > ul.mod-menu__sub { opacity: 1; visibility: visible; transform: none; }
.cp-nav ul.mod-menu__sub a { padding: 9px 14px; border-radius: 10px; font-weight: 500; }
.cp-nav ul.mod-menu__sub a:hover, .cp-nav ul.mod-menu__sub .active > a { background: var(--cp-light); color: var(--cp-accent); }
.cp-nav__cta { display: none; }

.cp-header__cta { flex: none; }

.cp-burger { display: none; width: 48px; height: 48px; padding: 12px; border: 0; background: none; cursor: pointer; }
.cp-burger span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--cp-ink); transition: transform .25s, opacity .25s; }
.cp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sekce ---------- */

.cp-section { padding: 110px 0; }
.cp-section--light { background: var(--cp-light); }
.cp-section--dark { background: var(--cp-dark); color: rgba(255, 255, 255, .72); }
.cp-section--dark h2, .cp-section--dark h3 { color: var(--cp-white); }
.cp-section--tight { padding: 70px 0; }
.cp-head { max-width: 720px; margin-bottom: 56px; }
.cp-head.cp-center { margin-inline: auto; }
.cp-head--split { display: flex; max-width: none; justify-content: space-between; align-items: flex-end; gap: 40px; }
.cp-head--split > :first-child { max-width: 640px; }
.cp-head--split > p:last-child { max-width: 360px; margin-bottom: .4em; }
.cp-head h2 { margin-bottom: 18px; }

/* ---------- Hero ---------- */

.cp-hero { padding: 80px 0 0; background: var(--cp-light); }
.cp-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cp-hero h1 { margin-bottom: 26px; }
.cp-hero__lead { max-width: 33em; margin-bottom: 34px; }
.cp-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.cp-hero__photo {
	position: relative;
	margin: 0;
	min-height: 520px;
	border-radius: 32px;
	background: radial-gradient(circle at 92% 8%, var(--cp-blue-soft) 0, var(--cp-blue-soft) 22%, transparent 22.3%), radial-gradient(circle at 4% 96%, var(--cp-accent-soft) 0, var(--cp-accent-soft) 18%, transparent 18.3%), var(--cp-white);
	box-shadow: 0 30px 60px -36px rgba(7, 29, 51, .35);
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.cp-hero__photo img { display: block; width: auto; height: 470px; max-width: none; object-fit: contain; }
.cp-hero__card {
	position: absolute;
	left: 24px;
	bottom: 24px;
	margin: 0;
	padding: 14px 20px;
	background: var(--cp-white);
	border-radius: 18px;
	box-shadow: var(--cp-shadow);
	font-size: 14px;
	line-height: 1.45;
}
.cp-hero__card strong { display: block; font-size: 15px; }

/* rychle odkazy pod uvodem */
.cp-quick {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 60px 0 -54px;
	padding: 0;
	list-style: none;
	background: var(--cp-white);
	border-radius: 22px;
	box-shadow: 0 30px 60px -36px rgba(7, 29, 51, .45);
	overflow: hidden;
}
.cp-quick li { position: relative; display: flex; align-items: center; gap: 16px; padding: 26px 70px 26px 28px; border-right: 1px solid var(--cp-line); }
.cp-quick li:last-child { border-right: 0; background: var(--cp-navy); }
.cp-quick li::before {
	content: "";
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--cp-accent-soft);
	-webkit-mask: none;
}
.cp-quick li::after {
	content: "";
	position: absolute;
	left: 42px;
	top: 50%;
	width: 24px;
	height: 24px;
	margin-top: -12px;
	background: var(--cp-accent);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
.cp-quick li:nth-child(2)::before { background: var(--cp-blue-soft); }
.cp-quick li:nth-child(2)::after { background: var(--cp-blue); }
.cp-quick li:last-child::before { background: var(--cp-accent); }
.cp-quick li:last-child::after { background: var(--cp-white); }
.cp-quick a { color: var(--cp-ink); font-weight: 800; font-size: 17px; line-height: 1.3; }
.cp-quick a::after { content: "\2192"; position: absolute; right: 28px; top: 50%; margin-top: -12px; color: var(--cp-accent); font-weight: 400; }
.cp-quick a::before { content: ""; position: absolute; inset: 0; }
.cp-quick small { display: block; color: var(--cp-blue); font-size: 14px; font-weight: 500; }
.cp-quick li:first-child small { color: var(--cp-blue); }
.cp-quick li:last-child a, .cp-quick li:last-child small { color: var(--cp-white); }
.cp-quick li:last-child small { opacity: .8; }

/* ---------- O mne ---------- */

.cp-about { padding-top: 160px; }
.cp-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.cp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cp-tiles li {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 200px;
	padding: 26px;
	border-radius: 22px;
	background: var(--cp-blue-soft);
	color: var(--cp-text);
	font-size: 15px;
	line-height: 1.45;
}
.cp-tiles li:nth-child(2) { transform: translateY(36px); }
.cp-tiles li:nth-child(4) { transform: translateY(36px); background: var(--cp-blue); color: rgba(255, 255, 255, .85); }
.cp-tiles li::before {
	content: "";
	position: absolute;
	left: 26px;
	top: 26px;
	width: 30px;
	height: 30px;
	background: var(--cp-navy);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
.cp-tiles li:nth-child(4)::before { display: none; }
.cp-tiles strong { display: block; margin-bottom: 4px; font-size: 18px; }
.cp-tiles li:nth-child(4) strong { color: var(--cp-white); font-size: 46px; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }

.cp-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 26px; padding: 0; list-style: none; }
.cp-features li {
	position: relative;
	padding: 16px 16px 16px 70px;
	border: 1px solid var(--cp-line);
	border-radius: 16px;
	color: var(--cp-ink);
	font-weight: 700;
	font-size: 15px;
}
.cp-features li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 42px; height: 42px; margin-top: -21px; border-radius: 12px; background: var(--cp-accent-soft); }
.cp-features li::after {
	content: "";
	position: absolute;
	left: 25px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background: var(--cp-accent);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
.cp-features li:nth-child(2)::before { background: var(--cp-blue-soft); }
.cp-features li:nth-child(2)::after { background: var(--cp-blue); }

.cp-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; margin: 0 0 32px; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; }
.cp-checks--one { grid-template-columns: 1fr; }
.cp-checks li { position: relative; padding-left: 28px; }
.cp-checks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .3em;
	width: 14px;
	height: 8px;
	border: solid var(--cp-accent);
	border-width: 0 0 2px 2px;
	transform: rotate(-45deg);
}

/* ---------- Balicky ---------- */

.cp-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.cp-pack {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 36px 32px 34px;
	border-radius: var(--cp-radius);
	background: var(--cp-dark-2);
	color: rgba(255, 255, 255, .78);
}
.cp-pack--featured { background: var(--cp-accent); color: rgba(255, 255, 255, .92); }
.cp-pack__kicker { margin: 0 0 14px; color: var(--cp-accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cp-pack--featured .cp-pack__kicker { color: var(--cp-white); }
.cp-pack__flag { align-self: flex-start; display: inline-block; margin: -4px 0 16px; padding: 4px 12px; border-radius: 999px; background: var(--cp-dark); color: var(--cp-white); font-size: 12px; font-weight: 700; }
.cp-pack h3 { color: var(--cp-white); font-size: 23px; line-height: 1.25; margin-bottom: 20px; }
.cp-pack__price { margin: 0; color: var(--cp-blue); font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.cp-pack__price small { font-size: 18px; margin-left: 4px; letter-spacing: 0; }
.cp-pack--featured .cp-pack__price { color: var(--cp-white); }
.cp-pack__time { margin: 8px 0 24px; font-size: 14px; }
.cp-pack .cp-btn { justify-content: center; margin-bottom: 26px; padding: 12px 20px; color: var(--cp-white); background: var(--cp-accent); border-color: var(--cp-accent); }
.cp-pack .cp-btn:hover { background: var(--cp-accent-dark); }
.cp-pack--featured .cp-btn { background: var(--cp-dark); border-color: var(--cp-dark); }
.cp-pack--featured .cp-btn:hover { background: #000; }
.cp-pack ul { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; }
.cp-pack li { position: relative; padding: 0 0 10px 26px; }
.cp-pack li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border: solid var(--cp-accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.cp-pack--featured li::before { border-color: var(--cp-white); }
.cp-pack__goal { margin: 18px 0 0; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); font-size: 14px; line-height: 1.5; }
.cp-pack__goal strong { display: block; margin-bottom: 6px; color: var(--cp-white); }
.cp-pack--featured .cp-pack__goal { background: rgba(0, 0, 0, .14); }

/* ---------- Jednotliva vysetreni ---------- */

.cp-exams { display: grid; gap: 20px; }
.cp-exams.is-tabs { grid-template-columns: 340px 1fr; gap: 30px; align-items: start; }
.cp-exams.is-tabs > .cp-exams__panels { min-width: 0; }
.cp-exams__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cp-exams__list button {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 16px 20px;
	font: 700 15px/1.35 var(--cp-font);
	text-align: left;
	color: var(--cp-ink);
	background: var(--cp-white);
	border: 1px solid var(--cp-line);
	border-radius: 14px;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.cp-exams__list button::after { content: "\2192"; color: var(--cp-accent); font-weight: 400; }
.cp-exams__list button[aria-selected="true"] { color: var(--cp-white); background: var(--cp-accent); border-color: var(--cp-accent); box-shadow: 0 14px 30px -16px rgba(0, 152, 224, .8); }
.cp-exams__list button[aria-selected="true"]::after { color: var(--cp-white); }
.cp-exam {
	position: relative;
	padding: 40px 40px 36px;
	background: var(--cp-white);
	border-radius: var(--cp-radius);
	box-shadow: 0 1px 0 var(--cp-line), 0 30px 60px -36px rgba(7, 29, 51, .35);
}
.cp-exam[hidden] { display: none; }
.cp-exam + .cp-exam { margin-top: 20px; }
.is-tabs .cp-exam + .cp-exam { margin-top: 0; }
.cp-exam::before { content: ""; display: block; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px; background: var(--cp-accent-soft); }
.cp-exam::after {
	content: "";
	position: absolute;
	left: 54px;
	top: 54px;
	width: 24px;
	height: 24px;
	background: var(--cp-accent);
	-webkit-mask: var(--ico, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2-5 4 10 2-5h6'/%3E%3C/svg%3E")) center / contain no-repeat;
	mask: var(--ico, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2-5 4 10 2-5h6'/%3E%3C/svg%3E")) center / contain no-repeat;
}
.cp-exam h3 { font-size: 26px; margin-bottom: 14px; }
.cp-exam__price { margin: 24px 0 4px; color: var(--cp-ink); font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.cp-exam__meta { margin-bottom: 24px; color: var(--cp-muted); font-size: 14px; }

.cp-consult {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	margin-top: 40px;
	padding: 28px 34px;
	border-radius: 20px;
	background: var(--cp-navy);
	color: rgba(255, 255, 255, .8);
}
.cp-consult p { margin: 0; font-size: 15px; }
.cp-consult strong { display: block; color: var(--cp-white); font-size: 18px; }
.cp-consult__price { display: flex; align-items: center; gap: 22px; }
.cp-consult__price b { color: var(--cp-white); font-size: 30px; letter-spacing: -.03em; }
.cp-consult__price small { font-size: 14px; opacity: .8; }

/* ---------- Pro koho ---------- */

.cp-audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.cp-audience li {
	position: relative;
	padding: 98px 26px 28px;
	border: 1px solid var(--cp-line);
	border-radius: 22px;
	font-size: 15px;
	line-height: 1.55;
	transition: transform .25s, box-shadow .25s;
}
.cp-audience li:hover { transform: translateY(-4px); box-shadow: var(--cp-shadow); }
.cp-audience li::before { content: ""; position: absolute; left: 26px; top: 28px; width: 50px; height: 50px; border-radius: 14px; background: var(--cp-blue-soft); }
.cp-audience li::after {
	content: "";
	position: absolute;
	left: 39px;
	top: 41px;
	width: 24px;
	height: 24px;
	background: var(--cp-blue);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
.cp-audience li:nth-child(even)::before { background: var(--cp-accent-soft); }
.cp-audience li:nth-child(even)::after { background: var(--cp-accent); }
.cp-audience strong { display: block; margin-bottom: 8px; font-size: 18px; line-height: 1.3; }

/* ---------- Objednavka ---------- */

.cp-booking { display: grid; grid-template-columns: 1.35fr 1fr; border-radius: 28px; overflow: hidden; background: var(--cp-navy); }
.cp-booking__form { padding: 54px 50px; color: rgba(255, 255, 255, .8); }
.cp-booking__form h2 { color: var(--cp-white); font-size: clamp(28px, 3vw, 38px); }
.cp-booking__info { padding: 54px 44px; background: var(--cp-blue-soft); }
.cp-booking__info h3 { margin-bottom: 22px; }
.cp-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.cp-form label { display: grid; gap: 7px; color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 600; }
.cp-form input, .cp-form select {
	width: 100%;
	padding: 13px 16px;
	font: 400 15px/1.4 var(--cp-font);
	color: var(--cp-ink);
	background: var(--cp-white);
	border: 2px solid transparent;
	border-radius: 12px;
}
.cp-form input:focus, .cp-form select:focus { outline: 0; border-color: var(--cp-accent); }
.cp-form__wide { grid-column: span 2; }
.cp-form__consent { grid-column: 1 / -1; display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; }
.cp-form__consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--cp-accent); }
.cp-form__consent a { color: var(--cp-white); text-decoration: underline; }
.cp-form > label:nth-of-type(4) { grid-column: span 2; }
.cp-form__consent { order: 1; }
.cp-form__submit { order: 2; grid-column: 1 / -1; margin: 4px 0 0; }
.cp-form__status { grid-column: 1 / -1; margin: 0; font-size: 14px; color: #cdeefc; }

.cp-contact-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; }
.cp-contact-list li { position: relative; padding-left: 58px; min-height: 42px; color: var(--cp-text); }
.cp-contact-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--cp-white); }
.cp-contact-list li::after {
	content: "";
	position: absolute;
	left: 11px;
	top: 11px;
	width: 20px;
	height: 20px;
	background: var(--cp-accent);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
.cp-contact-list strong { display: block; }
.cp-contact-list--page { margin-top: 30px; }
.cp-contact-list--page li::before { background: var(--cp-accent-soft); }
.cp-pack > p:not([class]) { font-size: 14px; line-height: 1.55; }

/* ---------- Caste dotazy ---------- */

.cp-faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.cp-faq { display: grid; gap: 14px; }
.cp-faq details { border-radius: 18px; background: var(--cp-light); transition: background .2s; }
.cp-faq details[open] { background: var(--cp-navy); }
.cp-faq summary {
	position: relative;
	padding: 22px 64px 22px 26px;
	color: var(--cp-ink);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq summary::after { content: "+"; position: absolute; right: 26px; top: 50%; margin-top: -14px; font-size: 24px; font-weight: 500; line-height: 1; color: var(--cp-ink); }
.cp-faq details[open] summary, .cp-faq details[open] summary::after { color: var(--cp-white); }
.cp-faq details[open] summary::after { content: "\2013"; }
.cp-faq details > :not(summary) { margin: 0; padding: 0 26px 24px; color: rgba(255, 255, 255, .85); font-size: 15px; }

/* dulezite informace */
.cp-note {
	position: relative;
	margin: 0;
	padding: 26px 32px 26px 100px;
	border-radius: 20px;
	background: var(--cp-light);
	font-size: 14px;
	line-height: 1.6;
}
.cp-note::before { content: "i"; position: absolute; left: 32px; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: var(--cp-navy); color: var(--cp-white); font-weight: 800; font-size: 17px; }
.cp-note strong { color: var(--cp-navy); }

/* ---------- Podstranky ---------- */

.cp-pagehead { position: relative; padding: 80px 0 70px; background: var(--cp-light); overflow: hidden; }
.cp-pagehead::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	border: 70px solid rgba(0, 152, 224, .08);
}
.cp-pagehead h1 { font-size: clamp(36px, 4.8vw, 60px); max-width: 15em; }
.cp-pagehead .cp-lead { max-width: 40em; margin-bottom: 0; }
.cp-pagehead .cp-actions { margin-top: 30px; }

.cp-prose { max-width: 780px; }
.cp-prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.6em; }
.cp-prose h3 { margin-top: 1.6em; }
.cp-prose > :first-child { margin-top: 0; }
.cp-prose li { margin-bottom: .5em; }

.cp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.cp-card { padding: 36px; border-radius: var(--cp-radius); background: var(--cp-white); box-shadow: 0 1px 0 var(--cp-line), 0 30px 60px -36px rgba(7, 29, 51, .35); }
.cp-card--light { background: var(--cp-light); box-shadow: none; }

.cp-portrait { margin: 0 0 10px; padding: 30px 30px 0; border-radius: 28px; background: radial-gradient(circle at 92% 8%, var(--cp-blue-soft) 0, var(--cp-blue-soft) 22%, transparent 22.3%), var(--cp-white); box-shadow: 0 30px 60px -36px rgba(7, 29, 51, .35); text-align: center; }
.cp-portrait img { display: block; margin: 0 auto; width: auto; height: 380px; }

/* tabulka cen */
.cp-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 20px; background: var(--cp-white); box-shadow: 0 1px 0 var(--cp-line), 0 24px 50px -34px rgba(7, 29, 51, .35); font-size: 15px; }
.cp-table th, .cp-table td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--cp-line); vertical-align: top; }
.cp-table thead th { background: var(--cp-navy); color: var(--cp-white); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.cp-table tbody tr:last-child td { border-bottom: 0; }
.cp-table td:nth-last-child(-n+2) { white-space: nowrap; }
.cp-table td:last-child { color: var(--cp-ink); font-weight: 800; }
.cp-table small { display: block; color: var(--cp-muted); }

/* ---------- Magazin ---------- */

.cp-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cp-post { display: flex; flex-direction: column; border-radius: 22px; background: var(--cp-white); box-shadow: 0 1px 0 var(--cp-line), 0 24px 50px -34px rgba(7, 29, 51, .35); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.cp-post:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--cp-line), 0 30px 60px -30px rgba(7, 29, 51, .45); }
.cp-post__cover {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #0d4a73, var(--cp-navy) 60%, #072b45);
	overflow: hidden;
}
/* velka ikona tematu a kruhy misto fotografie */
.cp-post__cover::before {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -60px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	border: 34px solid rgba(255, 255, 255, .07);
}
.cp-post__cover::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	background: rgba(255, 255, 255, .92);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
.cp-cover--priznaky { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2-5 4 10 2-5h6'/%3E%3C/svg%3E"); }
.cp-cover--lecba { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E"); background: linear-gradient(135deg, #3d7be6, #2a5fc4 60%, #1d4aa6); }
.cp-cover--prevence { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-9.3-9.6C1.5 6.9 3.8 3.5 7.3 3.5c2 0 3.6 1.1 4.7 2.7 1.1-1.6 2.7-2.7 4.7-2.7 3.5 0 5.8 3.4 4.6 6.9C19.5 15.4 12 20 12 20z'/%3E%3Cpath d='M5.5 11.5h3l1.4-2.5 2.2 5 1.6-3 1 .5h3.8'/%3E%3C/svg%3E"); background: linear-gradient(135deg, #33b3ee, var(--cp-accent) 60%, #0070a8); }
/* fotka clanku misto obalky */
.cp-post__cover.has-img::before, .cp-post__cover.has-img::after { display: none; }
.cp-post__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cp-post:hover .cp-post__cover img { transform: scale(1.04); }
.cp-post__label {
	position: absolute;
	left: 16px;
	top: 16px;
	z-index: 1;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--cp-white);
	color: var(--cp-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
}
.cp-post__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.cp-post__date { margin: 0 0 8px; color: var(--cp-muted); font-size: 13px; font-weight: 600; }
.cp-post h3 { margin-bottom: 10px; font-size: 19px; line-height: 1.3; }
.cp-post h3 a { color: var(--cp-ink); }
.cp-post h3 a:hover { color: var(--cp-accent); }
.cp-post__body p:last-child { margin: 0; color: var(--cp-text); font-size: 15px; line-height: 1.6; }

.cp-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.cp-pills a { padding: 9px 18px; border: 1.5px solid var(--cp-line); border-radius: 999px; color: var(--cp-ink); font-size: 14px; font-weight: 700; }
.cp-pills a:hover { border-color: var(--cp-navy); color: var(--cp-navy); }
.cp-pills a[aria-current="page"] { background: var(--cp-navy); border-color: var(--cp-navy); color: var(--cp-white); }

.cp-pagination { margin-top: 50px; }
.cp-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cp-pagination a, .cp-pagination span { display: block; min-width: 42px; padding: 8px 14px; border-radius: 12px; background: var(--cp-light); color: var(--cp-ink); text-align: center; font-weight: 700; }
.cp-pagination .active a, .cp-pagination .active span { background: var(--cp-navy); color: var(--cp-white); }

.cp-pagehead--article h1 { font-size: clamp(32px, 4.2vw, 52px); max-width: 18em; }
.cp-crumbs { margin: 0 0 22px; font-size: 14px; font-weight: 700; color: var(--cp-muted); }
.cp-crumbs a { color: var(--cp-accent); }
.cp-crumbs span { margin: 0 6px; }
.cp-article__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; color: var(--cp-muted); font-size: 14px; font-weight: 600; }
.cp-article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; align-items: start; }
.cp-article__body > p:first-child, .cp-article__body > :first-child + p:first-of-type { font-size: 19px; line-height: 1.65; color: var(--cp-ink); }
.cp-article__body hr { display: none; }
.cp-article__photo { margin: 0 0 34px; }
.cp-article__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; }
.cp-article__body ul { padding-left: 0; list-style: none; }
.cp-article__body ul li { position: relative; padding-left: 26px; }
.cp-article__body ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--cp-accent); }
.cp-article__body a:not(.cp-btn) { color: var(--cp-accent); text-decoration: underline; text-underline-offset: 3px; }
.cp-article__disclaimer { margin: 40px 0 30px; padding: 18px 22px; border-radius: 16px; background: var(--cp-light); color: var(--cp-muted); font-size: 14px; }
.cp-article__aside { position: sticky; top: calc(var(--cp-header-h) + 24px); }
.cp-aside-card { padding: 32px 28px; border-radius: var(--cp-radius); background: var(--cp-navy); color: rgba(255, 255, 255, .8); font-size: 15px; }
.cp-aside-card h3 { color: var(--cp-white); font-size: 22px; }
.cp-aside-card__price { margin: 20px 0; color: var(--cp-white); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.cp-aside-card__price small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; opacity: .75; }
.cp-aside-card__links { margin: 18px 0 0; font-size: 14px; }
.cp-aside-card__links a { color: var(--cp-white); text-decoration: underline; }

/* ---------- Kontakt (formular Joomly) ---------- */

.contact-form .control-group { display: grid; gap: 6px; margin-bottom: 18px; }
.contact-form label { color: var(--cp-ink); font-size: 14px; font-weight: 600; }
.contact-form .star { color: var(--cp-accent); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
	width: 100%;
	padding: 14px 16px;
	font: 400 16px/1.5 var(--cp-font);
	color: var(--cp-ink);
	background: var(--cp-light);
	border: 2px solid transparent;
	border-radius: 12px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--cp-navy); background: var(--cp-white); }
.contact-form textarea { min-height: 160px; }
.contact-form fieldset { border: 0; margin: 0; padding: 0; }
.contact-form legend, .contact-form .joomla-modal { display: none; }
.contact-form .form-check, .contact-form .checkboxes { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.contact-form input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--cp-accent); }
.contact-form .invalid { color: var(--cp-accent); }
.contact-form input.invalid, .contact-form textarea.invalid { border-color: var(--cp-accent); }

/* ---------- Paticka ---------- */

.cp-footer { padding: 80px 0 30px; background: var(--cp-dark); color: rgba(255, 255, 255, .65); font-size: 15px; }
.cp-footer a { color: rgba(255, 255, 255, .65); }
.cp-footer a:hover { color: var(--cp-white); }
.cp-footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.cp-footer h4 { margin-bottom: 18px; color: var(--cp-white); font-size: 17px; }
.cp-footer ul { margin: 0; padding: 0; list-style: none; }
.cp-footer li { margin-bottom: 8px; }
.cp-footer__brand { margin-bottom: 14px; color: var(--cp-white); font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.cp-footer__brand b { color: var(--cp-accent); }
.cp-footer__brand img { display: block; width: 220px; height: auto; }
.cp-footer__line { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cp-footer__ico { flex: none; width: 18px; height: 18px; background: var(--cp-accent); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.cp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.cp-footer__bottom p { margin: 0; }
.cp-footer__bottom span + span::before { content: ""; margin-left: 22px; }

.cp-totop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--cp-accent);
	color: var(--cp-white);
	box-shadow: 0 12px 24px -10px rgba(0, 152, 224, .8);
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s;
}
.cp-totop.is-visible { opacity: 1; pointer-events: auto; }
.cp-totop:hover { color: var(--cp-white); }

/* ---------- Cookie lista a zpravy ---------- */

.cp-cookies {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 200;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
	align-items: center;
	justify-content: space-between;
	max-width: 900px;
	margin: 0 auto;
	padding: 16px 20px 16px 24px;
	background: var(--cp-white);
	border-radius: 20px;
	box-shadow: 0 24px 60px -20px rgba(7, 29, 51, .45);
}
.cp-cookies[hidden] { display: none; }
.cp-cookies p { margin: 0; flex: 1 1 400px; font-size: 14px; line-height: 1.6; }
.cp-cookies a { white-space: nowrap; text-decoration: underline; }
.cp-cookies__buttons { display: flex; gap: 10px; }

joomla-alert, .alert { display: block; margin: 20px 0; padding: 16px 20px; border-radius: 14px; background: var(--cp-light); color: var(--cp-ink); }

/* ---------- Tablet a mobil ---------- */

@media (max-width: 1180px) {
	.cp-nav .mod-menu { gap: 22px; }
}

@media (max-width: 1024px) {
	.cp-header__cta { display: none; }
	.cp-burger { display: block; margin-left: auto; }
	.cp-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: 0;
		overflow: hidden;
		background: var(--cp-white);
		box-shadow: 0 20px 30px -20px rgba(7, 29, 51, .35);
		transition: max-height .3s ease;
	}
	.cp-nav.is-open { max-height: 85vh; overflow-y: auto; }
	.cp-nav .mod-menu { display: block; padding: 10px 20px 0; }
	.cp-nav a, .cp-nav .mod-menu__toggle-sub { padding: 12px 0; font-size: 16px; }
	.cp-nav .mod-menu > li.deeper > :first-child::after { display: none; }
	.cp-nav ul.mod-menu__sub { position: static; min-width: 0; padding: 0 0 8px 16px; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
	.cp-nav ul.mod-menu__sub a { padding: 8px 0; }
	.cp-nav ul.mod-menu__sub a:hover { background: none; }
	.cp-nav a.cp-nav__cta { display: inline-flex; margin: 10px 20px 24px; padding: 6px 26px 6px 6px; color: var(--cp-white); }
	.cp-packages, .cp-audience, .cp-posts { grid-template-columns: repeat(2, 1fr); }
	.cp-article__grid { grid-template-columns: 1fr; gap: 40px; }
	.cp-article__aside { position: static; }
	.cp-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	body { font-size: 16px; }
	.cp-topbar__meta span { display: none; }
	.cp-section { padding: 76px 0; }
	.cp-hero { padding-top: 46px; }
	.cp-hero__grid, .cp-about__grid, .cp-exams.is-tabs, .cp-booking, .cp-faq-grid, .cp-split { grid-template-columns: 1fr; gap: 40px; }
	.cp-exams.is-tabs { gap: 20px; }
	.cp-hero__photo { min-height: 420px; }
	.cp-hero__photo img { height: 380px; }
	.cp-quick { grid-template-columns: 1fr; margin-bottom: -40px; }
	.cp-quick li { border-right: 0; border-bottom: 1px solid var(--cp-line); }
	.cp-about { padding-top: 120px; }
	.cp-head--split { display: block; }
	.cp-packages { grid-template-columns: 1fr; }
	.cp-booking__form, .cp-booking__info { padding: 40px 26px; }
	.cp-form { grid-template-columns: 1fr; }
	.cp-form > label:nth-of-type(4) { grid-column: auto; }
	.cp-pagehead { padding: 56px 0 50px; }
}

@media (max-width: 600px) {
	.cp-topbar__meta { display: none; }
	.cp-logo__text { font-size: 20px; }
	.cp-audience, .cp-tiles, .cp-features, .cp-checks, .cp-posts { grid-template-columns: 1fr; }
	.cp-tiles li:nth-child(2), .cp-tiles li:nth-child(4) { transform: none; }
	.cp-tiles li { min-height: 150px; }
	.cp-exam { padding: 30px 24px; }
	.cp-exam::after { left: 38px; top: 44px; }
	.cp-consult { padding: 26px 24px; }
	.cp-note { padding: 80px 22px 22px; }
	.cp-note::before { top: 22px; left: 22px; margin-top: 0; }
	.cp-footer__cols { grid-template-columns: 1fr; }
	.cp-table th, .cp-table td { padding: 14px; }
	.cp-table td:nth-last-child(-n+2) { white-space: normal; }
	.cp-portrait img { height: 300px; }
}

/* ---------- Karpalni tunel: doplnky ---------- */

/* uvodni fotka na sirku (vyplni ramecek) */
.cp-hero__photo--cover { min-height: 500px; }
.cp-hero__photo--cover img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; }

/* postup lecby - cislovane kroky */
.cp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: krok; }
.cp-steps li { position: relative; padding: 30px 26px 28px; border-radius: var(--cp-radius); background: var(--cp-white); box-shadow: 0 1px 0 var(--cp-line), 0 24px 50px -34px rgba(7, 29, 51, .35); font-size: 15px; line-height: 1.55; counter-increment: krok; }
.cp-steps li::before { content: counter(krok, decimal-leading-zero); display: block; margin-bottom: 14px; color: var(--cp-accent); font-size: 34px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.cp-steps strong { display: block; margin-bottom: 6px; font-size: 18px; }
.cp-section--dark .cp-steps li { background: var(--cp-dark-2); box-shadow: none; color: rgba(255, 255, 255, .75); }
.cp-section--dark .cp-steps strong { color: var(--cp-white); }

/* fotogalerie kliniky */
.cp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cp-gallery li { margin: 0; overflow: hidden; border-radius: 20px; }
.cp-gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.cp-gallery li:hover img { transform: scale(1.04); }

/* tym lekaru */
.cp-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.cp-team li { overflow: hidden; border-radius: 22px; background: var(--cp-white); box-shadow: 0 1px 0 var(--cp-line), 0 24px 50px -34px rgba(7, 29, 51, .35); }
.cp-team img, .cp-team__ph { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: linear-gradient(135deg, var(--cp-blue-soft), #f3f9fd); }
.cp-team .cp-team__ph { display: grid; margin: 0; place-items: center; color: var(--cp-navy); font-size: 46px; font-weight: 800; letter-spacing: -.04em; }
.cp-team div { padding: 18px 20px 22px; }
.cp-team strong { display: block; color: var(--cp-ink); font-size: 17px; line-height: 1.3; }
.cp-team span { display: block; margin-top: 4px; color: var(--cp-muted); font-size: 14px; line-height: 1.45; }
.cp-team-list { columns: 2; gap: 40px; margin: 0; padding: 0; list-style: none; }
.cp-team-list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--cp-line); }
.cp-team-list small { display: block; color: var(--cp-muted); font-size: 14px; }

/* pojistovny */
.cp-insurers { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 34px; margin: 0; padding: 0; list-style: none; }
.cp-insurers img { display: block; width: 120px; height: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.cp-insurers img:hover { filter: none; opacity: 1; }

/* srovnavaci tabulka metod */
.cp-compare th:first-child { width: 34%; }
.cp-compare td.is-best { color: var(--cp-accent-dark); font-weight: 700; }

/* antispam: pole-past mimo obrazovku */
.kt-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* odkazy do magazinu na hlavnich strankach */
.cp-readmore { margin: 2em 0 0; padding: 28px 30px; background: var(--cp-light); box-shadow: none; }
.cp-readmore h3 { margin: 0 0 12px; font-size: 19px; }
.cp-readmore ul { margin: 0; }
.cp-readmore li { margin-bottom: .4em; }
.cp-readmore a { font-weight: 600; }

/* obrazek v textu */
.cp-figure { margin: 0 0 1.6em; }
.cp-figure img { display: block; width: auto; max-width: 100%; max-height: 440px; border-radius: 22px; }
.cp-figure figcaption { margin-top: 10px; color: var(--cp-muted); font-size: 14px; }

/* PDF z hlavniho webu kliniky (rozpis ordinaci, cenik) */
.cp-frame { overflow: hidden; border-radius: 22px; background: var(--cp-white); box-shadow: 0 1px 0 var(--cp-line), 0 30px 60px -36px rgba(7, 29, 51, .35); }
.cp-frame iframe { display: block; width: 100%; height: 1200px; border: 0; }
.cp-frame--short iframe { height: 1100px; }
.cp-frame__note { margin: 0 0 18px; color: var(--cp-muted); font-size: 14px; }

@media (max-width: 1024px) {
	.cp-steps, .cp-team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.cp-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.cp-steps { grid-template-columns: 1fr; }
	.cp-team { grid-template-columns: 1fr 1fr; gap: 14px; }
	.cp-team-list { columns: 1; }
	.cp-hero__photo--cover { min-height: 300px; }
	.cp-frame iframe { height: 80vh; }
	.cp-insurers img { width: 90px; }
	.cp-logo img { height: 44px; }
}
