/* Vygenerováno z css/main.css (node build.mjs) – NEUPRAVOVAT, upravuj zdrojové soubory */
/* Base */
/* === css/base/variables.css === */
/*
 * Design tokeny – Schill landing
 * Zdroj: Figma (desktop 2055:20 – 1440 px, mobil 2059:350 – 412 px)
 * Figma variables obsahují jen textové styly (d nadpis, d text, m nadpis);
 * barvy, radiusy a rozestupy jsou odvozeny z hodnot použitých v designu.
 * Breakpointy nelze použít v @media přes var() – hodnoty jsou zde jen pro přehled:
 *   --bp-md: 768px; --bp-lg: 1024px; --bp-xl: 1440px
 */

:root {
	/* Barvy */
	--color-primary: #004777;
	--color-primary-light: #1575b5;
	--color-accent: #dcc296;
	--color-sand: #f2d5ab;
	--color-bronze: #b38d5a;
	--color-bronze-light: #e2d3bf;
	--color-bg: #f6f2eb;
	--color-surface: #ffffff;
	--color-surface-muted: #f3f3f3;
	--color-muted: #8f8f8f;           /* šipky úchytu „Pred a po“ */
	--color-white-translucent: rgb(255 255 255 / 0.7); /* tlačítko přes fotku */
	--color-white: #ffffff;

	/* Gradienty */
	--gradient-primary: linear-gradient(180deg, var(--color-primary) 21.443%, var(--color-primary-light) 100%);
	--gradient-primary-x: linear-gradient(270deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
	--gradient-primary-diagonal: linear-gradient(-45.77deg, var(--color-primary) 21.443%, var(--color-primary-light) 100%);
	--gradient-bronze: linear-gradient(211.92deg, var(--color-bronze) 11.258%, var(--color-bronze-light) 68.893%);
	--gradient-photo-shade: linear-gradient(180deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / 0.65) 100%); /* popis přes fotku */
	--gradient-bronze-mobile: linear-gradient(240.08deg, var(--color-bronze) 11.258%, var(--color-bronze-light) 68.893%);

	/* Font */
	--font-family-base: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-weight-regular: 400;
	--font-weight-bold: 700;
	--font-weight-extrabold: 800;
	--font-weight-black: 900;

	/* Typografie – mobil (výchozí) */
	--font-size-hero: 1.875rem;        /* 29.9 px */
	--line-height-hero: 1.1362;        /* 34 px při 29.9 px (poměr – škáluje s písmem) */
	--font-size-hero-lead: 0.8125rem;  /* 13.3 px */
	--font-size-h2: 1.125rem;          /* m nadpis 18 px */
	--line-height-h2: 1.25rem;         /* 20 px */
	--font-size-h3: 1.75rem;           /* 28 px */
	--line-height-h3: 1.75rem;         /* 28 px */
	--font-size-text: 0.6875rem;       /* 11 px */
	--line-height-text: normal;
	--font-size-stat: 0.9375rem;       /* 15 px */
	--line-height-stat: 1rem;          /* 16 px */
	--font-size-button: 0.625rem;      /* 10 px */
	--font-size-input: 0.625rem;       /* 9.8 px */
	--font-size-small: 0.4375rem;      /* 7 px */
	--font-size-footer: 0.5rem;        /* 8 px */
	--line-height-footer: 0.8125rem;   /* 13 px */
	--font-size-copy: 0.4375rem;       /* 7 px */
	--line-height-copy: 0.625rem;      /* 10 px */
	--font-size-pill: 0.7225rem;       /* 11.6 px */

	/* Rozestupy */
	--space-4: 0.25rem;
	--space-8: 0.5rem;
	--space-12: 0.75rem;
	--space-16: 1rem;
	--space-24: 1.5rem;
	--space-32: 2rem;
	--space-48: 3rem;
	--space-64: 4rem;
	--space-96: 6rem;

	/* Layout */
	--container-width: 68.75rem;       /* 1100 px */
	--container-gutter: 1.5625rem;     /* 25 px */

	/* Radiusy */
	--radius-sm: 3px;
	--radius-md: 5px;
	--radius-lg: 8px;
	--radius-xl: 11px;
	--radius-2xl: 15px;
	--radius-pill: 999px;

	/* Bordery */
	--border-width: 1px;
	--border-input: var(--border-width) solid var(--color-sand);

	/* Stíny (ve Figmě nejsou – navrženo pro rozbalovací menu) */
	--shadow-md: 0 0.5rem 1.5rem rgb(0 71 119 / 0.15);

	/* Přechody */
	--transition-base: 0.2s ease;
	--focus-ring: 2px solid var(--color-primary-light);
}

/* Desktop – hodnoty z Figmy (d nadpis, d text) */
@media (min-width: 1024px) {
	:root {
		--font-size-hero: 4.625rem;        /* 74.2 px */
		--line-height-hero: 1.0454;        /* 77.6 px při 74.2 px */
		--font-size-hero-lead: 1.5625rem;  /* 25.3 px */
		--font-size-h2: 1.875rem;          /* d nadpis 30 px */
		--line-height-h2: 2rem;            /* 32 px */
		--font-size-h3: 3.5rem;            /* 56 px */
		--line-height-h3: 3.625rem;        /* 58 px */
		--font-size-text: 1.375rem;        /* d text 22 px */
		--line-height-text: 1.5rem;        /* 24 px */
		--font-size-stat: 1.4125rem;       /* 22.6 px */
		--line-height-stat: 1.5rem;        /* 24 px */
		--font-size-button: 1.4075rem;     /* 22.5 px */
		--font-size-input: 1.0325rem;      /* 16.5 px */
		--font-size-small: 0.75rem;        /* 12 px */
		--font-size-footer: 1.2425rem;     /* 19.9 px */
		--line-height-footer: 2.02rem;     /* 32.3 px */
		--font-size-copy: 1.0875rem;       /* 17.4 px */
		--line-height-copy: 1.5533rem;     /* 24.9 px */
		--font-size-pill: 1.1229rem;       /* 18 px */

		--radius-xl: 11.26px;
	}
}

/* === css/base/reset.css === */
/* Moderní reset */

*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

button {
	background: none;
	border: 0;
	cursor: pointer;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* === css/base/typography.css === */
/* Fonty – Montserrat variabilní (400–900), subsety latin + latin-ext (SK diakritika) */

@font-face {
	font-family: "Montserrat";
	src: url("../assets/fonts/montserrat-latin-ext.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Montserrat";
	src: url("../assets/fonts/montserrat-latin.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
	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;
}

/* Základní typografie */

body {
	font-family: var(--font-family-base);
	font-size: var(--font-size-text);
	font-weight: var(--font-weight-regular);
	line-height: var(--line-height-text);
	color: var(--color-primary);
	background-color: var(--color-bg);
}

/* Místo pro spodní lištu rychlého kontaktu (47 px), aby nezakrývala patičku */
@media (max-width: 499.98px) {
	body {
		padding-bottom: 2.9375rem;
	}
}

strong,
b {
	font-weight: var(--font-weight-bold);
}

/* Společné utility */

.container {
	width: 100%;
	max-width: calc(var(--container-width) + 2 * var(--container-gutter));
	margin-inline: auto;
	padding-inline: var(--container-gutter);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

:focus-visible {
	outline: var(--focus-ring);
	outline-offset: 2px;
}


/* Sdílené bloky */
/* === css/blocks/button.css === */
/* Tlačítko – sdílený blok */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-8);
	font-weight: var(--font-weight-bold);
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	transition: filter var(--transition-base), transform var(--transition-base);
}

.button:hover {
	filter: brightness(1.12);
}

.button__icon {
	flex-shrink: 0;
	width: var(--button-icon-size, 1rem);
	height: var(--button-icon-size, 1rem);
}

/* Pill – „Zavolať" v headeru */
.button--pill {
	--button-pill-height: 1.356rem;   /* 21.7 px */
	--button-pill-width: 5.0625rem;   /* 81 px */
	--button-icon-size: 0.7684rem;    /* 12.3 px */
	justify-content: flex-start;
	gap: 0.2918rem;                   /* 4.7 px */
	width: var(--button-pill-width);
	height: var(--button-pill-height);
	padding-inline: 0.4375rem;        /* 7 px */
	font-size: var(--font-size-pill);
	font-weight: var(--font-weight-regular);
	color: var(--color-white);
	background-color: var(--color-primary);
	border-radius: var(--radius-pill);
}

/* Primární – gradient (CTA v sekcích) */
.button--primary {
	--button-width: 7.8125rem;        /* 125 px */
	width: var(--button-width);
	min-height: 1.8125rem;            /* 29 px */
	padding: var(--space-4) var(--space-8);
	font-size: var(--font-size-button);
	color: var(--color-white);
	background: var(--gradient-primary-x);
	border-radius: var(--radius-md);
}

.button--wide {
	--button-width: 11rem;            /* 176 px */
}

.button--block {
	--button-width: 100%;
}

/* Světlé – bílé tlačítko v hero */
.button--light {
	width: 7.8125rem;                 /* 125 px */
	min-height: 1.8125rem;            /* 29 px */
	padding: var(--space-4) var(--space-8);
	font-size: var(--font-size-button);
	color: var(--color-primary);
	background-color: var(--color-white);
	border-radius: var(--radius-md);
}

.button--light:hover {
	filter: none;
	background-color: var(--color-bg);
}

@media (min-width: 1024px) {
	.button--primary,
	.button--wide,
	.button--block {
		--button-width: 17.5625rem;   /* 281 px */
	}

	.button--primary {
		min-height: 4.0625rem;        /* 65 px */
		padding-inline: var(--space-16);
		border-radius: var(--radius-xl);
	}

	.button--light {
		width: 13.0512rem;            /* 208.8 px */
		min-height: 3.0279rem;        /* 48.4 px */
		font-size: 1.0441rem;         /* 16.7 px */
		border-radius: 8.353px;
	}

	.button--pill {
		--button-pill-height: 2.1082rem;  /* 33.7 px */
		--button-pill-width: 7.8706rem;   /* 125.9 px */
		--button-icon-size: 1.1946rem;    /* 19.1 px */
		gap: 0.4441rem;                   /* 7.1 px */
		padding-inline: 0.6802rem;        /* 10.9 px */
	}
}

/* === css/blocks/section-head.css === */
/* Nadpis sekce + podnadpis (podnadpis jen na desktopu – dle Figmy) */

.section-head {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.section-head__title {
	font-size: var(--font-size-h2);
	font-weight: var(--font-weight-extrabold);
	line-height: var(--line-height-h2);
	text-transform: uppercase;
}

.section-head__subtitle {
	display: none;
}

@media (min-width: 1024px) {
	.section-head__subtitle {
		display: block;
	}
}

/* === css/blocks/form-field.css === */
/* Formulářové pole – input / select s vlastní šipkou */

.form-field {
	--field-height: 3.125rem;         /* 50 px */
	--field-radius: var(--radius-md);
	--field-border: 1px;
	--field-font-size: 0.6149rem;     /* 9.8 px */
	--field-tracking: 0.0307rem;      /* 0.49 px */
	--field-padding: 0.6875rem;       /* 11 px */
	--chevron-width: 0.7878rem;       /* 12.6 px */
	--chevron-right: 1.0469rem;       /* 16.75 px */
	position: relative;
	container-type: inline-size;      /* pro zmenšení textu selectu podle šířky pole */
}

/* Select – text verzálkami, velikost tak, aby se vešel nejdelší název kliniky */
.form-field--select {
	--field-font-size: 1rem;          /* 16 px (Figma 20 px – zmenšeno pro „Bratislava Karloveské rameno“) */
	--field-tracking: 0.025rem;       /* 0.4 px */
	--field-padding: 0.9512rem;       /* 15.2 px */
}

/* Kompaktní select v panelu otevírací doby */
.form-field--compact {
	--field-font-size: 0.875rem;      /* 14 px */
	--field-radius: var(--radius-sm);
	--field-padding: 0.875rem;        /* 14 px */
	--chevron-width: 0.7247rem;       /* 11.6 px */
	--chevron-right: 0.9625rem;       /* 15.4 px */
}

.form-field__label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.form-field__control {
	display: block;
	width: 100%;
	height: var(--field-height);
	padding-inline: var(--field-padding);
	font-size: var(--field-font-size);
	letter-spacing: var(--field-tracking);
	color: var(--color-primary);
	background-color: var(--color-surface);
	border: var(--field-border) solid var(--color-sand);
	border-radius: var(--field-radius);
	transition: border-color var(--transition-base);
}

.form-field__control::placeholder {
	color: var(--color-primary);
	opacity: 1;
}

.form-field__control:hover,
.form-field__control:focus {
	border-color: var(--color-primary-light);
}

select.form-field__control {
	/* Na užším poli se text dál zmenší: nejdelší název tučně ≈ 20 em + rezerva na prostrkání */
	font-size: min(var(--field-font-size), calc((100cqi - var(--field-padding) - var(--chevron-right) - var(--chevron-width) - 0.5rem - 2 * var(--field-border)) / 20.8));
	padding-right: calc(var(--chevron-right) + var(--chevron-width) + 0.5rem);
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	cursor: pointer;
	appearance: none;
}

.form-field__chevron {
	position: absolute;
	top: 50%;
	right: var(--chevron-right);
	width: var(--chevron-width);
	height: auto;
	transform: translateY(-50%);
	pointer-events: none;
}

@media (min-width: 1024px) {
	.form-field {
		--field-height: 5.25rem;      /* 84 px */
		--field-radius: 8.398px;
		--field-border: 1.68px;
		--field-font-size: 1.0328rem; /* 16.5 px */
		--field-tracking: 0.0516rem;  /* 0.83 px */
		--field-padding: 1.05rem;     /* 16.8 px */
		--chevron-width: 1.2091rem;   /* 19.3 px */
		--chevron-right: 1.7831rem;   /* 28.5 px */
	}

	.form-field--select {
		--field-font-size: 1.4375rem; /* 23 px (Figma 33.6 px) */
		--field-tracking: 0.042rem;   /* 0.67 px */
		--field-padding: 1.5975rem;   /* 25.6 px */
	}

	.form-field--compact {
		--field-height: 4.1037rem;    /* 65.7 px */
		--field-radius: 3.94px;
		--field-border: 1.313px;
		--field-font-size: 1.1875rem; /* 19 px (Figma 26.3 px) */
		--field-tracking: 0.0328rem;  /* 0.53 px */
		--field-padding: 1.1489rem;   /* 18.4 px */
		--chevron-width: 0.9517rem;   /* 15.2 px */
		--chevron-right: 1.2625rem;   /* 20.2 px */
	}
}

/* === css/blocks/circle-media.css === */
/*
 * Kruhový výřez s fotkou a dekorativním bronzovým kruhem (služby)
 * Pozice se nastavují custom properties z rodičovského bloku (v % průměru kruhu):
 *   --circle-size, --circle-decor-x/y/flip, --circle-img-x/y/w/h/flip
 */

.circle-media {
	position: relative;
	width: var(--circle-size, 15.1875rem);
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50%;
}

.circle-media__decor {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: translate(var(--circle-decor-x, 0), var(--circle-decor-y, 0)) scaleX(var(--circle-decor-flip, 1));
}

.circle-media__img {
	position: absolute;
	top: var(--circle-img-y, 0);
	left: var(--circle-img-x, 0);
	width: var(--circle-img-w, 100%);
	max-width: none;
	height: var(--circle-img-h, 100%);
	object-fit: cover;
	transform: scaleX(var(--circle-img-flip, 1));
}


/* Sekce */
/* === css/blocks/header.css === */
/* Header – logo, tlačítko Zavolať, hamburger + rozbalovací navigace */

.header {
	--header-logo-size: 2.7606rem;    /* 44.2 px */
	position: relative;
	z-index: 20;
}

.header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-16);
	padding-top: 0.9rem;              /* 14.4 px */
	padding-bottom: 0.7125rem;        /* 11.4 px */
	padding-left: calc(var(--container-gutter) + 0.875rem);   /* 39 px */
	padding-right: calc(var(--container-gutter) + 0.6875rem); /* 36 px */
}

/* Logo – symbol + text, text sedí níž než střed symbolu (dle Figmy) */
.header__logo {
	display: flex;
	align-items: flex-end;
	gap: calc(var(--header-logo-size) * 0.193);
}

.header__logo-symbol {
	width: var(--header-logo-size);
	height: auto;
}

.header__logo-text {
	width: calc(var(--header-logo-size) * 1.007);
	height: auto;
	margin-bottom: calc(var(--header-logo-size) * 0.131);
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 1.1875rem;                   /* 19 px */
}

/* Hamburger – vizuálně 28 × 19 px, klikací plocha zvětšena paddingem */
.header__toggle {
	display: flex;
	margin: -0.75rem;
	padding: 0.75rem;
	border-radius: var(--radius-md);
}

.header__toggle-icon {
	width: 1.75rem;                   /* 28 px */
	height: auto;
}

/* Rozbalovací panely (menu, telefony) – ve Figmě chybí, navrženo */
.header__dropdown {
	position: absolute;
	top: 3.4375rem;                   /* 55 px – cca 6 px pod tlačítky */
	right: calc(var(--container-gutter) + 0.6875rem);
	min-width: 15rem;
	padding: var(--space-8);
	background-color: var(--color-surface);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

.header__dropdown[hidden] {
	display: none;
}

.header__link {
	display: block;
	padding: var(--space-12) var(--space-16);
	font-size: 0.875rem;
	font-weight: var(--font-weight-bold);
	color: var(--color-primary);
	border-radius: var(--radius-md);
	transition: background-color var(--transition-base);
}

.header__link:hover {
	background-color: var(--color-bg);
}

/* Telefon pobočky – název tučně, číslo pod ním */
.header__link--phone {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	font-weight: var(--font-weight-regular);
}

@media (min-width: 1024px) {
	.header {
		--header-logo-size: 4.2079rem; /* 67.3 px */
	}

	.header__inner {
		padding-top: 1.65rem;         /* 26.4 px */
		padding-bottom: 1.2625rem;    /* 20.2 px */
		padding-left: var(--container-gutter);
		padding-right: var(--container-gutter);
	}

	.header__actions {
		gap: 1.85rem;                 /* 29.6 px */
	}

	.header__toggle-icon {
		width: 2.7207rem;             /* 43.5 px */
	}

	.header__dropdown {
		top: 5.1875rem;               /* 83 px – cca 6 px pod tlačítky */
		right: var(--container-gutter);
	}

	.header__link {
		font-size: 1.125rem;
	}
}

/* === css/blocks/quick-contact.css === */
/*
 * Rychlý kontakt
 * – do 499 px: lišta u spodního okraje obrazovky, panel vyjíždí nahoru (Figma „mobile 1“ 2064:677 / „mobile 2“ 2064:676)
 * – 500–1023 px: skrytý
 * – od 1024 px: záložka u pravého okraje, panel vyjíždí doleva
 */

.quick-contact {
	display: none;
}

@media (max-width: 499.98px) {
	.quick-contact {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 30;
		display: flex;
		flex-direction: column;
		/* Výchozí stav: panel zasunutý pod spodní okraj, vidět je jen lišta */
		--quick-contact-tab-radius: 8px 8px 0 0;
		transform: translateY(calc(100% - 2.9375rem)); /* vidět jen lišta 47 px (panel může mít proměnnou výšku) */
		transition: transform 0.3s ease;
	}

	.quick-contact--open {
		--quick-contact-tab-radius: 0; /* otevřená lišta má rovné rohy (mobile 2) */
		transform: translateY(0);
	}

	.quick-contact__tab {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 2.9375rem;            /* 47 px */
		color: var(--color-white);
		background: var(--gradient-primary-x);
		border-radius: var(--quick-contact-tab-radius);
	}

	.quick-contact__tab-text {
		font-size: 1.2205rem;         /* 19.5 px */
		font-weight: var(--font-weight-bold);
		white-space: nowrap;
	}

	.quick-contact__panel {
		display: flex;
		justify-content: center;
		min-height: 9.1875rem;        /* 147 px dle návrhu, s rozbaleným seznamem vyšší */
		max-height: calc(100vh - 6rem);
		padding: 0.6625rem 1rem 1rem; /* 10.6 px nahoře */
		overflow-y: auto;
		background-color: var(--color-surface);
	}

	/* Na mobilu se panel zavírá lištou – křížek v návrhu není */
	.quick-contact__close {
		display: none;
	}

	.quick-contact__list {
		display: flex;
		flex-direction: column;
		gap: 0.7625rem;               /* 12.2 px */
	}

	.quick-contact__link {
		display: flex;
		align-items: center;
		gap: 0.5313rem;               /* 8.5 px */
		font-size: 0.8382rem;         /* 13.4 px */
		color: var(--color-primary);
		text-align: left;
	}

	.quick-contact__link:hover {
		text-decoration: underline;
	}

	.quick-contact__icon {
		width: 1.905rem;              /* 30.5 px */
		height: auto;
	}

	/* Rozbalený seznam telefonů / e-mailů – odsazený pod text položky */
	.quick-contact__sublist {
		display: flex;
		flex-direction: column;
		gap: var(--space-8);
		margin-top: var(--space-8);
		padding-left: 2.4363rem;      /* ikona 30.5 + mezera 8.5 px */
	}

	.quick-contact__sublist[hidden] {
		display: none;
	}

	.quick-contact__sublink {
		display: flex;
		flex-direction: column;
		font-size: 0.75rem;           /* 12 px */
		line-height: 1.3;
		color: var(--color-primary);
	}

	.quick-contact__sublink:hover {
		text-decoration: underline;
	}
}

@media (min-width: 1024px) {
	.quick-contact {
		position: fixed;
		top: min(29.125rem, calc(100vh - 18rem)); /* 466 px dle Figmy, na nízkém okně výš */
		right: 0;
		z-index: 30;
		display: flex;
		/* Výchozí stav: panel zasunutý za pravý okraj, vidět je jen záložka */
		transform: translateX(19.25rem);
		transition: transform 0.3s ease;
	}

	/* Otevřeno – panel vyjede */
	.quick-contact--open {
		transform: translateX(0);
	}

	.quick-contact__tab {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 4.625rem;              /* 74 px */
		color: var(--color-white);
		background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
		border-radius: 14.485px 0 0 14.485px;
	}

	.quick-contact__tab-text {
		font-size: 1.1316rem;         /* 18.1 px */
		font-weight: var(--font-weight-bold);
		white-space: nowrap;
		writing-mode: vertical-rl;
		transform: rotate(180deg);
	}

	.quick-contact__panel {
		position: relative;
		width: 19.25rem;              /* 308 px */
		min-height: 17.0625rem;       /* 273 px dle Figmy, s rozbaleným seznamem vyšší */
		max-height: calc(100vh - min(29.125rem, 100vh - 18rem) - 1rem); /* nepřesáhne spodek okna */
		padding: 4.0625rem 1rem 1.5rem 1.257rem; /* 65 | – | 24 | 20 px */
		overflow-y: auto;
		background-color: var(--color-surface);
	}

	.quick-contact__close {
		position: absolute;
		top: 0.4053rem;
		right: 1.425rem;
		display: flex;
		padding: 0.5rem;              /* ikona 14.5 px na pozici 14.5 / 30.8 px */
	}

	.quick-contact__close-icon {
		width: 0.9053rem;             /* 14.5 px */
		height: auto;
	}

	.quick-contact__list {
		display: flex;
		flex-direction: column;
		gap: 0.8846rem;               /* 14.2 px */
	}

	.quick-contact__link {
		display: flex;
		align-items: center;
		gap: 0.7933rem;               /* 12.7 px */
		font-size: 1.2448rem;         /* 19.9 px */
		color: var(--color-primary);
		text-align: left;
	}

	.quick-contact__link:hover {
		text-decoration: underline;
	}

	.quick-contact__icon {
		width: 2.8291rem;             /* 45.3 px */
		height: auto;
	}

	/* Rozbalený seznam telefonů / e-mailů – odsazený pod text položky */
	.quick-contact__sublist {
		display: flex;
		flex-direction: column;
		gap: var(--space-12);
		margin-top: var(--space-12);
		padding-left: 3.6224rem;      /* ikona 45.3 + mezera 12.7 px */
	}

	.quick-contact__sublist[hidden] {
		display: none;
	}

	.quick-contact__sublink {
		display: flex;
		flex-direction: column;
		font-size: 0.9375rem;         /* 15 px */
		line-height: 1.3;
		color: var(--color-primary);
	}

	.quick-contact__sublink:hover {
		text-decoration: underline;
	}
}

/* === css/blocks/hero.css === */
/* Hero – modrý panel s nadpisem a fotkou lékaře */

.hero__panel {
	position: relative;
	overflow: hidden;
	min-height: 19.6875rem;           /* 315 px */
	background: var(--gradient-primary);
	border-radius: var(--radius-lg);
}

.hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 2.625rem 1.5rem 1.75rem; /* 42 | 24 | 28 px */
	color: var(--color-white);
}

.hero__title {
	max-width: 7.09em;                /* 212 px při 29.9 px – zalomení škáluje s písmem */
	/* Pod 425 px se fotka posouvá doleva → nadpis se zmenšuje, aby ji nepřekrýval (412 px = 29.9 px dle Figmy) */
	font-size: clamp(1.125rem, 14.1vw - 1.7625rem, var(--font-size-hero));
	font-weight: var(--font-weight-black);
	line-height: var(--line-height-hero);
}

.hero__accent {
	color: var(--color-accent);
}

.hero__line {
	width: 7.8125rem;                 /* 125 px */
	height: auto;
	margin-top: 0.875rem;             /* 14 px */
}

.hero__lead {
	max-width: 10.0625rem;            /* 161 px */
	margin-top: 0.75rem;              /* 12 px */
	font-size: var(--font-size-hero-lead);
	line-height: normal;
}

.hero__button {
	margin-top: 3.5rem;               /* 56 px */
}

/* Fotka – výřez dle Figmy (obrázek zvětšený a posunutý v rámu) */
.hero__media {
	position: absolute;
	right: -2.3264rem;                /* přesah 37 px */
	bottom: 0;
	width: 16.4264rem;                /* 262.8 px */
	height: 19.6875rem;               /* 315 px */
	overflow: hidden;
}

.hero__img {
	position: absolute;
	top: -26.21%;
	left: -58.28%;
	width: 206.66%;
	max-width: none;
	height: 134.7%;
}

@media (min-width: 1024px) {
	/* Desktop: gradient přes celou šířku okna, fotka přesahuje nahoru do headeru */
	.hero {
		background: var(--gradient-primary);
	}

	.hero__panel {
		overflow: visible;
		min-height: 28.4375rem;       /* 455 px */
		background: none;
		border-radius: 0;
	}

	.hero__content {
		padding: 4.6875rem 0 3.78rem; /* 75 | 0 | 60.5 px */
	}

	.hero__title {
		max-width: 50.625rem;         /* 810 px */
	}

	.hero__line {
		width: 18.3889rem;            /* 294.2 px */
		margin-top: 1.6875rem;        /* 27 px */
	}

	.hero__lead {
		max-width: 36.25rem;          /* 580 px */
		margin-top: 0.9375rem;        /* 15 px */
	}

	.hero__button {
		margin-top: 2.5625rem;        /* 41 px */
	}

	.hero__media {
		right: 4.59rem;               /* 73.4 px */
		width: 24.2223rem;            /* 387.6 px */
		height: 31.4375rem;           /* 503 px */
	}

	.hero__img {
		top: -24.2%;
		height: 124.4%;
	}
}

/* === css/blocks/features.css === */
/* Proč Schill – nadpis + 4 karty s ikonou */

.features {
	padding-top: 2rem;                /* 32 px */
}

.features__title-suffix {
	display: inline;
}

.features__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7563rem 0.625rem;          /* 12.1 | 10 px */
	margin-top: 0.8125rem;            /* 13 px */
}

@media (min-width: 1024px) {
	.features {
		padding-top: 6.875rem;        /* 110 px */
	}

	.features__title-suffix {
		display: none;
	}

	.features__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.7825rem;               /* 12.5 px */
		margin-top: 1.475rem;         /* 23.6 px */
	}
}

/* Karta */

.feature-card {
	--feature-icon-col: 2.28rem;      /* 36.5 px */
	display: grid;
	grid-template-columns: var(--feature-icon-col) 1fr;
	align-items: center;
	gap: 0.6875rem;                   /* 11 px */
	min-height: 4.9333rem;            /* 78.9 px */
	padding-inline: 0.9333rem;        /* 14.9 px */
	background-color: var(--color-surface);
	border-radius: 3.2px;
}

.feature-card__icon {
	height: auto;
}

.feature-card__icon--experience {
	width: 1.734rem;                  /* 27.7 px */
}

.feature-card__icon--patients {
	width: 2.1158rem;                 /* 33.9 px */
}

.feature-card__icon--technology {
	width: 1.7333rem;                 /* 27.7 px */
}

.feature-card__icon--term {
	width: 2.2517rem;                 /* 36 px */
}

.feature-card__text {
	font-size: var(--font-size-stat);
	line-height: var(--line-height-stat);
}

@media (min-width: 1024px) {
	.feature-card {
		--feature-icon-col: 3.4375rem; /* 55 px */
		gap: 1rem;                    /* 16 px */
		min-height: 7.378rem;         /* 118 px */
		padding-inline: 1.4067rem;    /* 22.5 px */
		border-radius: 4.822px;
	}

	.feature-card__icon--experience {
		width: 2.6131rem;             /* 41.8 px */
	}

	.feature-card__icon--patients {
		width: 3.1885rem;             /* 51 px */
	}

	.feature-card__icon--technology {
		width: 2.6116rem;             /* 41.8 px */
	}

	.feature-card__icon--term {
		width: 3.3933rem;             /* 54.3 px */
	}
}

/* === css/blocks/services.css === */
/* Služby – 4 střídající se řádky (text + kruhová fotka) */

.services {
	padding-top: 4.2813rem;           /* 68.5 px */
}

@media (min-width: 1024px) {
	.services {
		padding-top: 8.875rem;        /* 142 px */
	}
}

/* Řádek služby – text a kruh se překrývají (stejná buňka gridu) */

.service {
	--circle-size: 15.1875rem;        /* 243 px */
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.service__media,
.service__content {
	grid-area: 1 / 1;
}

.service__media {
	justify-self: end;
}

.service__media--start {
	justify-self: start;
}

.service__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	align-self: start;
	padding-top: var(--service-offset);
}

.service__content--end {
	align-items: flex-end;
	justify-self: end;
	text-align: right;
}

.service__title {
	max-width: var(--service-title-width);
	font-size: var(--font-size-h3);
	font-weight: var(--font-weight-bold);
	line-height: var(--line-height-h3);
}

/* Na mobilu je v designu jiný (kratší) text nadpisu */
.service__title-desktop {
	display: none;
}

.service__text {
	display: none;
	max-width: var(--service-text-width);
}

.service__button {
	margin-top: 1rem;                 /* 16 px */
}

.service__note {
	max-width: 8.875rem;              /* 142 px */
	margin-top: 0.375rem;             /* 6 px */
	font-size: var(--font-size-small);
	line-height: 0.5rem;              /* 8 px */
}

.service__insurers {
	display: flex;
	align-items: center;
	gap: 0.1563rem;                   /* 2.5 px */
	margin-top: 0.6875rem;            /* 11 px */
}

/* Loga pojišťoven – výřez z většího obrázku dle Figmy */
.service__insurer {
	position: relative;
	overflow: hidden;
	width: var(--insurer-width);
	aspect-ratio: var(--insurer-ratio);
}

.service__insurer-img {
	position: absolute;
	top: var(--insurer-top, 0);
	left: var(--insurer-left, 0);
	width: var(--insurer-img-width, 100%);
	max-width: none;
	height: var(--insurer-img-height, 100%);
}

.service__insurer--union {
	--insurer-width: 1.8621rem;       /* 29.8 px */
	--insurer-ratio: 67.98 / 32.26;
	--insurer-top: -35.71%;
	--insurer-left: -15.25%;
	--insurer-img-width: 130.17%;
	--insurer-img-height: 169.88%;
}

.service__insurer--vszp {
	--insurer-width: 3.0561rem;       /* 48.9 px */
	--insurer-ratio: 111.56 / 27.62;
}

.service__insurer--dovera {
	--insurer-width: 3.2005rem;       /* 51.2 px */
	--insurer-ratio: 116.83 / 35.05;
	--insurer-top: -59.26%;
	--insurer-left: -0.23%;
	--insurer-img-width: 100.46%;
	--insurer-img-height: 207.41%;
}

/* Jednotlivé řádky – odsazení textu a pozice fotky v kruhu (z Figmy) */

.service--checkup {
	--service-offset: 3.25rem;        /* 52 px */
	--service-title-width: 11.625rem; /* 186 px */
	--service-text-width: 24.625rem;
	--circle-decor-x: 33.745%;
	--circle-decor-y: 7.82%;
	--circle-img-x: -37.667%;
	--circle-img-w: 161.03%;
	--circle-img-h: 107.33%;
}

.service--dentist {
	--service-offset: 2.1875rem;      /* 35 px */
	--service-title-width: 13.125rem; /* 210 px */
	--service-text-width: 31.0625rem;
	--circle-decor-x: -33.745%;
	--circle-decor-y: 7.82%;
	--circle-decor-flip: -1;
	--circle-img-x: 1.646%;
	--circle-img-y: 11.523%;
	--circle-img-w: 87.243%;
	--circle-img-h: 94.198%;
}

.service--smile {
	--service-offset: 3.9375rem;      /* 63 px */
	--service-title-width: 12.9375rem; /* 207 px */
	--service-text-width: 24.1875rem;
	--circle-decor-x: 53.5%;
	--circle-decor-y: 3.29%;
	--circle-decor-flip: -1;
	--circle-img-x: 14.815%;
	--circle-img-y: 5.761%;
	--circle-img-w: 87.243%;
	--circle-img-h: 94.198%;
}

.service--implant {
	--service-offset: 3.6875rem;      /* 59 px */
	--service-title-width: 11rem;     /* 176 px */
	--service-text-width: 19.8125rem;
	--circle-decor-x: -41.15%;
	--circle-decor-y: 4.94%;
	--circle-decor-flip: -1;
	--circle-img-x: 3.336%;
	--circle-img-y: 15.18%;
	--circle-img-w: 78.557%;
	--circle-img-h: 84.821%;
	--circle-img-flip: -1;
}

@media (min-width: 1024px) {
	.service {
		--circle-size: 33.5625rem;    /* 537 px */
	}

	.service__title-desktop {
		display: inline;
	}

	.service__title-mobile,
	.service__break {
		display: none;
	}

	.service__text {
		display: block;
		margin-top: var(--service-text-gap);
	}

	.service__button {
		margin-top: var(--service-button-gap);
	}

	.service__note {
		max-width: 33.5625rem;        /* 537 px */
		margin-top: 2rem;             /* 33 px */
		font-size: 1.125rem;          /* 18 px */
		line-height: 1.5rem;          /* 24 px */
	}

	.service__insurers {
		gap: 1.3125rem;               /* 21 px */
		margin-top: 1.5rem;           /* 24 px */
	}

	.service__insurer--union {
		--insurer-width: 4.2485rem;   /* 68 px */
	}

	.service__insurer--vszp {
		--insurer-width: 6.9728rem;   /* 111.6 px */
	}

	.service__insurer--dovera {
		--insurer-width: 7.3021rem;   /* 116.8 px */
	}

	.service--checkup {
		--service-offset: 7.4375rem;  /* 119 px */
		--service-text-gap: 0.8125rem;     /* 13 px */
		--service-button-gap: 1.8125rem;   /* 29 px */
		--service-title-width: 44.3125rem; /* 709 px */
	}

	.service--dentist {
		--service-offset: 6.8125rem;  /* 109 px */
		--service-text-gap: 0.875rem;     /* 14 px */
		--service-button-gap: 1.8125rem;   /* 29 px */
		--service-title-width: 44.3125rem;
	}

	.service--smile {
		--service-offset: 12.625rem;  /* 202 px */
		--service-text-gap: 1.4375rem;     /* 23 px */
		--service-button-gap: 2.5rem;   /* 40 px */
		--service-title-width: 48.0625rem; /* 769 px */
	}

	.service--implant {
		--service-offset: 12.9375rem; /* 207 px */
		--service-text-gap: 1.125rem;     /* 18 px */
		--service-button-gap: 1.4375rem;   /* 23 px */
		--service-title-width: 41.5625rem; /* 665 px */
	}
}

/* === css/blocks/reviews.css === */
/* Recenze – video karta + recenze (mobil: vodorovný posun, desktop: mřížka 3×2) */

.reviews {
	padding-top: 4.3125rem;           /* 69 px */
}

.reviews__head {
	max-width: 18.9375rem;            /* 303 px */
}

.reviews__body {
	display: grid;
	gap: 4.25rem;                     /* 68 px */
	margin-top: 1rem;                 /* 16 px */
}

.reviews__video {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 362 / 507.67;
	border-radius: var(--radius-2xl);
}

.reviews__video-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 48% 50%;
}

.reviews__badge {
	position: absolute;
	top: 7.495%;
	left: 5.406%;
	width: 18.73%;
	height: auto;
}

.reviews__play {
	position: absolute;
	top: 43.34%;
	left: 50%;
	width: 21.82%;
	height: auto;
	transform: translateX(-50%);
}

/* Mobil: vodorovný pás s posunem (bez JS) */
.reviews__list {
	display: flex;
	gap: 0.6563rem;                   /* 10.5 px */
	margin-inline: calc(var(--container-gutter) * -1);
	padding-inline: var(--container-gutter);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--container-gutter);
	scrollbar-width: none;
}

.reviews__list::-webkit-scrollbar {
	display: none;
}

@media (min-width: 1024px) {
	.reviews {
		padding-top: 9.5rem;          /* 152 px */
	}

	.reviews__head {
		max-width: 30.25rem;          /* 484 px */
	}

	.reviews__body {
		grid-template-columns: 15.5625rem minmax(0, 1fr); /* 249 px | zbytek */
		gap: 2.1rem;                  /* 33.6 px */
		margin-top: 3rem;             /* 48 px */
	}

	.reviews__video {
		align-self: start;
		margin-top: 0.1rem;
		aspect-ratio: 249 / 381.92;
		border-radius: 7.089px;
	}

	.reviews__badge {
		top: 6.853%;
	}

	.reviews__play {
		top: 34.107%;
		width: 23.843%;
	}

	.reviews__list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: start;
		gap: 0.2625rem 0.7813rem;     /* 4.2 | 12.5 px (řádek = nejvyšší karta) */
		margin-inline: 0;
		padding: 0.155rem 0 0;
		overflow: visible;
		background-color: var(--color-surface-muted);
		border-radius: 7.154px;
	}
}

/* Karta recenze – výřez ze sdíleného obrázku recenzí */

.review-card {
	position: relative;
	flex: 0 0 18.7783rem;             /* 300.5 px */
	overflow: hidden;
	aspect-ratio: var(--review-ratio);
	border-radius: var(--radius-md);
	scroll-snap-align: start;
}

.review-card__img {
	position: absolute;
	top: var(--review-top);
	left: var(--review-left);
	width: 221.08%;
	max-width: none;
	height: var(--review-height);
}

.review-card--renata {
	--review-ratio: 264.12 / 173.46;
	--review-top: -7.41%;
	--review-left: -116.49%;
	--review-height: 124.69%;
}

.review-card--daniel {
	--review-ratio: 264.12 / 189.88;
	--review-top: -7.14%;
	--review-left: -4.86%;
	--review-height: 113.91%;
}

@media (min-width: 1024px) {
	.review-card {
		border-radius: 4.395px;
	}
}

/* === css/blocks/before-after.css === */
/* Před a po – bronzový panel s fotkami (mobil: vodorovný posun) */

.before-after {
	padding-top: 6.9375rem;           /* 111 px */
}

.before-after__panel {
	position: relative;
	isolation: isolate;
	margin-top: 0.75rem;              /* 12 px */
	padding-block: 0.75rem 0.9375rem; /* 12 | 15 px */
}

/* Gradientové pozadí panelu */
.before-after__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--gradient-bronze-mobile);
	border-radius: var(--radius-md);
}

.before-after__list {
	display: flex;
	gap: 0.9975rem;                   /* 16 px */
	margin-inline: calc(var(--container-gutter) * -1);
	padding-inline: var(--container-gutter);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--container-gutter);
	scrollbar-width: none;
}

.before-after__list::-webkit-scrollbar {
	display: none;
}

.before-after__item {
	flex: 0 0 15.8211rem;             /* 253.1 px */
	scroll-snap-align: start;
}

/* Porovnání před/po – funkčnost dle hlavního webu (components/change.php), vzhled dle Figmy */
.before-after__compare {
	--position: 50%;                  /* pozice jezdce, nastavuje before-after.js */
	position: relative;
	overflow: hidden;
	aspect-ratio: 400 / 560;          /* velikost picture_change */
	border-radius: 3.8px;
	user-select: none;
}

.before-after__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* „Po“ – vidět vlevo od jezdce */
.before-after__img--after {
	clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

/* Popis dole přes tmavý přechod */
.before-after__description {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	padding: 2.5rem 0.625rem 0.75rem; /* 10 | 12 px */
	font-size: 0.625rem;              /* 10 px */
	line-height: 1.35;
	color: var(--color-bronze-light);
	background: var(--gradient-photo-shade);
	pointer-events: none;
}

.before-after__description-title {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.6875rem;             /* 11 px */
	color: var(--color-white);
}

/* Jezdec – bílá čára přes celou výšku + kulatý úchyt se šipkami */
.before-after__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--position);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;                   /* klikací plocha 44 px */
	transform: translateX(-50%);
	cursor: ew-resize;
	touch-action: none;               /* tažení úchytu neposouvá stránku ani pás */
}

.before-after__handle::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	background-color: var(--color-white);
	transform: translateX(-50%);
}

.before-after__knob {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.0625rem;                 /* 33 px */
	aspect-ratio: 1;
	color: var(--color-muted);
	background-color: var(--color-white);
	border-radius: 50%;
	box-shadow: var(--shadow-md);
	outline: var(--knob-outline, none);
	outline-offset: 2px;
	transform: scale(var(--knob-scale, 1));
	transition: transform var(--transition-base);
}

/* Zvětšení úchytu při najetí / fokusu (předává se přes custom property) */
.before-after__handle:hover {
	--knob-scale: 1.1;
}

/* Fokus z klávesnice – obrys jen kolem kulatého úchytu, ne celé výšky jezdce */
.before-after__handle:focus-visible {
	--knob-scale: 1.1;
	--knob-outline: var(--focus-ring);
	outline: none;
}

.before-after__arrows {
	width: 0.875rem;
	height: auto;
}

/* Odkaz na detail proměny (ACF change_link, jako na hlavním webu) */
.before-after__link {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	aspect-ratio: 1;
	color: var(--color-primary);
	background-color: var(--color-white-translucent);
	border-radius: 50%;
	transition: background-color var(--transition-base);
}

.before-after__link:hover {
	background-color: var(--color-white);
}

.before-after__button {
	margin-top: 0.75rem;              /* 12 px */
}

@media (min-width: 1024px) {
	.before-after {
		padding-top: 9.4375rem;       /* 151 px */
	}

	.before-after__panel {
		margin-top: 1.5625rem;        /* 25 px */
		padding-block: 1.0625rem;     /* 17 px */
	}

	.before-after__panel::before {
		inset-inline: 1.25rem;        /* 20 px */
		background: var(--gradient-bronze);
	}

	.before-after__list {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.0188rem;               /* 16.3 px */
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}

	.before-after__compare {
		border-radius: 3.937px;
	}

	.before-after__button {
		display: flex;
		margin-top: 1.625rem;         /* 26 px */
		margin-left: auto;
	}
}

/* === css/blocks/location.css === */
/* Otevírací hodiny – foto kliniky s lékařem + modrý panel s výběrem pobočky */

.location {
	padding-top: 4.3125rem;           /* 69 px */
}

.location__body {
	margin-top: 0.625rem;             /* 10 px */
}

.location__media {
	position: relative;
	aspect-ratio: 362 / 234;
}

.location__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 3.966px 3.966px 0 0;
}

/* Lékař přes fotku – výřez dle Figmy */
.location__doctor {
	position: absolute;
	top: 0;
	left: 47.75%;
	width: 49.72%;
	height: 100%;
	overflow: hidden;
}

.location__doctor-img {
	position: absolute;
	top: -24.13%;
	left: -58.18%;
	width: 206.33%;
	max-width: none;
	height: 123.99%;
}

.location__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	margin-top: -0.9375rem;           /* překryv 15 px */
	padding: 1.875rem 0.8125rem 2rem 1rem; /* 30 | 13 | 32 | 16 px */
	color: var(--color-white);
	background: var(--gradient-primary-diagonal);
	border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.location__label {
	font-size: 0.75rem;               /* 12 px */
	line-height: 0.6918rem;
	letter-spacing: 0.0375rem;        /* 0.6 px */
}

.location__field {
	margin-top: 0.5625rem;            /* 9 px */
}

.location__address {
	margin-top: 1.125rem;             /* 18 px */
	font-size: 0.75rem;               /* 12 px */
	font-style: normal;
	line-height: 1.5;                 /* 18 px (dříve 15 px) */
	letter-spacing: 0.0375rem;
}

.location__hours {
	display: flex;
	flex-direction: column;
	margin-top: 1rem;                 /* 16 px */
	font-size: 0.75rem;               /* 12 px */
	line-height: 1.5;                 /* 18 px (dříve 15 px) */
	letter-spacing: 0.0375rem;
}

.location__time {
	font-size: 1.125rem;              /* 18 px */
	line-height: 1.3;
}

@media (min-width: 1024px) {
	.location {
		padding-top: 3.75rem;         /* 60 px */
	}

	.location__body {
		display: grid;
		grid-template-columns: minmax(0, 34.375rem) minmax(0, 1fr); /* 550 | 557 px */
		margin-top: 2.5625rem;        /* 41 px */
	}

	.location__media {
		aspect-ratio: 550 / 356;
	}

	.location__img {
		border-radius: 6.738px;
	}

	.location__doctor {
		top: -5.899%;                 /* -21 px */
		left: 41.576%;
		width: 55.6%;
		height: 111.668%;
	}

	.location__panel {
		margin-top: 0;
		margin-left: -0.4375rem;      /* překryv 7 px */
		padding: 3.6875rem 2rem 2rem 3.3125rem; /* 59 | – | – | 53 px */
		border-radius: 0 var(--radius-md) var(--radius-md) 0;
	}

	.location__label {
		font-size: 0.9849rem;         /* 15.8 px */
		line-height: 0.9084rem;
		letter-spacing: 0.0492rem;
	}

	.location__field {
		max-width: 27.3307rem;        /* 437.3 px */
		margin-top: 0.7313rem;        /* 11.7 px */
	}

	.location__address {
		margin-top: 1.475rem;         /* 23.6 px */
		font-size: 0.9849rem;
		line-height: 1.5;             /* 23.6 px (dříve 19.7 px) */
		letter-spacing: 0.0492rem;
	}

	.location__hours {
		margin-top: 1.325rem;         /* 21.2 px */
		font-size: 0.9849rem;
		line-height: 1.5;             /* 23.6 px */
		letter-spacing: 0.0492rem;
	}

	.location__time {
		font-size: 1.4773rem;         /* 23.6 px */
	}
}

/* === css/blocks/contact.css === */
/* Kontakt – formulář */

.contact {
	padding-top: 4.3125rem;           /* 69 px */
}

.contact__form {
	display: grid;
	gap: 0.5rem;                      /* 8 px */
	margin-top: 0.5rem;               /* 8 px */
}

/* Honeypot – skryté pole pro roboty */
.contact__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact__submit {
	justify-self: end;
}

@media (min-width: 1024px) {
	.contact {
		padding-top: 9.375rem;        /* 150 px */
	}

	.contact__form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.6875rem 2.1875rem;     /* 11 | 35 px */
		margin-top: 0.5875rem;        /* 9.4 px */
	}

	.contact__submit {
		grid-column: 1 / -1;
		margin-top: 1rem;             /* 27 px celkem */
	}
}

/* === css/blocks/newsletter.css === */
/* Newsletter – fotka (mobil obdélník, desktop kruh s dekorací) + přihlášení e-mailem */

.newsletter {
	padding-top: 4.3125rem;           /* 69 px */
	padding-bottom: 3rem;             /* 48 px před patičkou */
}

.newsletter__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 9.9375rem; /* zbytek | 159 px */
	grid-template-areas:
		"content media"
		"form form";
}

.newsletter__media {
	grid-area: media;
	position: relative;
	overflow: hidden;
	margin-right: 0.5625rem;          /* 9 px */
	aspect-ratio: 159 / 189;
}

.newsletter__decor {
	display: none;
}

.newsletter__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.newsletter__content {
	grid-area: content;
	padding-top: 4.375rem;            /* 70 px */
}

.newsletter__head {
	max-width: 10.4375rem;            /* 167 px */
}

.newsletter__text {
	max-width: 11.625rem;             /* 186 px */
	margin-top: 0.5rem;               /* 8 px */
	font-size: 0.6875rem;             /* 11 px */
	line-height: normal;
}

.newsletter__form {
	grid-area: form;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	column-gap: var(--space-16);
}

.newsletter__field {
	grid-column: 1 / -1;
}

.newsletter__consent {
	max-width: 9.1875rem;             /* 147 px */
	margin-top: 0.8125rem;            /* 13 px */
	font-size: var(--font-size-small);
	line-height: normal;
}

.newsletter__consent-link {
	display: block;
	text-decoration: underline;
}

.newsletter__submit {
	margin-top: 0.5625rem;            /* 9 px */
}

@media (min-width: 1024px) {
	.newsletter {
		padding-top: 4.25rem;         /* 68 px */
		padding-bottom: 10.1875rem;   /* 163 px */
	}

	.newsletter__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 37.375rem); /* zbytek | 598 px */
		grid-template-rows: auto 1fr;
		grid-template-areas:
			"media content"
			"media form";
	}

	/* Kruh 524 px s bronzovým kruhem a fotkou (pozice z Figmy) */
	.newsletter__media {
		align-self: start;
		width: 32.75rem;              /* 524 px – přesahuje do sloupce s textem */
		margin-right: 0;
		aspect-ratio: 1;
		border-radius: 50%;
	}

	.newsletter__decor {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		transform: translate(-53.5%, 3.29%);
	}

	.newsletter__img {
		position: absolute;
		top: 1.676%;
		left: 2.794%;
		width: 87.52%;
		max-width: none;
		height: 103.54%;
	}

	.newsletter__content {
		padding-top: 5.125rem;        /* 82 px */
	}

	.newsletter__head {
		max-width: none;
	}

	.newsletter__text {
		max-width: none;
		margin-top: 1.625rem;         /* 26 px */
		font-size: var(--font-size-text);
		line-height: var(--line-height-text);
	}

	.newsletter__form {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		margin-top: 2.4375rem;        /* 39 px */
	}

	.newsletter__field {
		align-self: stretch;
	}

	.newsletter__consent {
		max-width: none;
		margin-top: 0.4375rem;        /* 7 px */
		line-height: 1.5rem;          /* 24 px */
	}

	.newsletter__consent-link {
		display: inline;
	}

	.newsletter__submit {
		margin-top: 1.8125rem;        /* 29 px */
	}
}

/* === css/blocks/footer.css === */
/* Footer – pískový pruh s logem a navigací, pod ním právní odkazy a copyright */

.footer__inner {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: 7.5625rem 7.875rem 1fr;   /* 121 | 126 | zbytek */
	grid-template-rows: 6.125rem 2.375rem auto auto; /* 98 | 38 | … */
	grid-template-areas:
		"logo services info"
		"logo services payments"
		"legal legal social"
		"copy copy social";
	padding-bottom: 1.6875rem;        /* 27 px */
	color: var(--color-primary);
}

/* Pískové pozadí přes celou šířku okna, výška = první dva řádky gridu */
.footer__bar {
	grid-area: 1 / 1 / 3 / -1;
	z-index: -1;
	background-color: var(--color-sand);
	box-shadow: 0 0 0 100vmax var(--color-sand);
	clip-path: inset(0 -100vmax);
}

.footer__logo {
	grid-area: logo;
	display: block;
	align-self: stretch;
}

.footer__logo-img {
	width: auto;
	height: 100%;
}

.footer__nav {
	padding-top: 1.5rem;              /* 24 px */
	font-size: var(--font-size-footer);
	line-height: var(--line-height-footer);
}

.footer__nav--services {
	grid-area: services;
}

.footer__nav--info {
	grid-area: info;
}

.footer__title {
	font-size: inherit;
	font-weight: var(--font-weight-bold);
	line-height: inherit;
}

.footer__link {
	transition: color var(--transition-base);
}

.footer__link:hover {
	text-decoration: underline;
}

.footer__payments {
	grid-area: payments;
	align-self: end;
	width: 4.4375rem;                 /* 71 px */
	height: auto;
	margin-bottom: 1.3125rem;         /* 21 px */
}

/* Mobil: právní odkazy v řádku oddělené svislítkem */
.footer__legal {
	grid-area: legal;
	display: flex;
	flex-wrap: wrap;
	padding-top: 0.875rem;            /* 14 px */
	font-size: var(--font-size-copy);
	line-height: var(--line-height-footer);
}

.footer__legal-item + .footer__legal-item::before {
	content: "|";
	margin-inline: 0.5em;
}

.footer__social {
	grid-area: social;
	display: flex;
	align-items: center;
	align-self: start;
	gap: 0.8125rem;                   /* 13 px */
	padding-top: 0.6875rem;           /* 11 px */
}

.footer__social-link {
	display: block;
	transition: opacity var(--transition-base);
}

.footer__social-link:hover {
	opacity: 0.8;
}

.footer__social-icon {
	height: auto;
}

.footer__social-icon--youtube {
	width: 1.25rem;                   /* 20 px */
}

.footer__social-icon--facebook {
	width: 1.1875rem;                 /* 19 px */
}

.footer__social-icon--instagram {
	width: 1.0625rem;                 /* 17 px */
}

.footer__copy {
	grid-area: copy;
	font-size: var(--font-size-copy);
	line-height: var(--line-height-copy);
}

@media (min-width: 1024px) {
	.footer__inner {
		max-width: calc(76.875rem + 2 * var(--container-gutter)); /* 1230 px obsah */
		grid-template-columns: repeat(3, minmax(0, 15.0625rem)) minmax(0, 17.5rem); /* 241 | 241 | 241 | 280 px */
		grid-template-rows: 15.25rem 5.875rem auto;   /* 244 | 94 | … */
		grid-template-areas:
			"logo services info legal"
			"logo services payments social"
			"copy copy copy copy";
		column-gap: clamp(1rem, 4.86vw, 4.375rem); /* 70 px na 1440 */
		padding-bottom: 3.8125rem;    /* 61 px */
	}

	.footer__nav {
		padding-top: 3.75rem;         /* 60 px */
	}

	.footer__payments {
		width: 11.0476rem;            /* 176.8 px */
		margin-bottom: 3.25rem;       /* 52 px */
	}

	.footer__legal {
		display: block;
		padding-top: 3.5625rem;       /* 57 px */
		font-size: var(--font-size-footer);
	}

	.footer__legal-item + .footer__legal-item::before {
		content: none;
	}

	.footer__social {
		align-self: end;
		gap: 1.6406rem;               /* 26.25 px */
		margin-left: 4.625rem;        /* 74 px */
		padding-top: 0;
		padding-bottom: 3.25rem;      /* 52 px */
	}

	.footer__social-icon--youtube {
		width: 2.3571rem;             /* 37.7 px */
	}

	.footer__social-icon--facebook {
		width: 2.2390rem;             /* 35.8 px */
	}

	.footer__social-icon--instagram {
		width: 2rem;                  /* 32 px */
	}

	.footer__copy {
		padding-top: 1rem;            /* 16 px */
	}
}
