/* ==========================================================================
   Rehabilitace M+M Novotní – styly dceřiné šablony (web i editor)
   ========================================================================== */

/* ---------- Písma (uložená v šabloně, bez Google Fonts) ---------- */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-wght-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: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-ext-wght-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: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-wght-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: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-ext-wght-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;
}

/* ---------- Barvy a proměnné ---------- */
:root,
body {
	--mm-teal: #0e4f57;
	--mm-teal-900: #0b3b42;
	--mm-mint: #3fb8a0;
	--mm-mint-600: #2a9d87;
	--mm-mint-50: #e8f5f1;
	--mm-coral: #f2876b;
	--mm-coral-50: #fdede7;
	--mm-sand: #f7f4ef;
	--mm-text: #1f2d30;
	--mm-muted: #55686b;
	--mm-line: rgba(14, 79, 87, 0.1);
	--mm-radius: 22px;
	--mm-radius-sm: 14px;
	--mm-shadow: 0 24px 60px -28px rgba(14, 79, 87, 0.35);
	--mm-wrap: 1180px;
	--mm-font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
	--mm-font-body: "Inter", "Segoe UI", system-ui, sans-serif;

	/* Napojení na proměnné Neve */
	--bodyfontfamily: var(--mm-font-body);
	--headingsfontfamily: var(--mm-font-head);
	--nv-text-color: var(--mm-text);
	--nv-primary-accent: var(--mm-teal);
	--nv-secondary-accent: var(--mm-teal-900);
}

html {
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	font-family: var(--mm-font-body);
	color: var(--mm-text);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--mm-font-head);
	color: var(--mm-teal);
	letter-spacing: -0.015em;
}

.mm-wrap {
	width: 100%;
	max-width: var(--mm-wrap);
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
}

/* Kotvy v onepage nezajedou pod lepicí hlavičku */
.mm-page [id],
.mm-section {
	scroll-margin-top: 96px;
}

/* ---------- Hlavička (Neve) ---------- */
.mm-onepage .header {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar.mm-onepage .header { top: 32px; }
@media (max-width: 782px) { .admin-bar.mm-onepage .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar.mm-onepage .header { top: 0; } }

.header .header-main-inner,
.header .header-main {
	background-color: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	backdrop-filter: saturate(160%) blur(10px);
}
.header .header-main {
	border-bottom: 1px solid var(--mm-line);
}
.header .site-logo img {
	height: auto;
}
.header .nav-ul > li > .wrap > a,
.header .nav-ul > li > a {
	font-family: var(--mm-font-head);
	font-weight: 600;
	font-size: 15px;
	color: var(--mm-teal);
}
.header .nav-ul > li > .wrap > a:hover,
.header .nav-ul > li > a:hover,
.header .nav-ul > li.mm-active > .wrap > a {
	color: var(--mm-mint-600);
}

/* ---------- Oznamovací lišta ---------- */
.mm-notice {
	background: var(--mm-coral-50);
	color: #7a2e1a;
	font-size: 15px;
	line-height: 1.45;
}
.mm-notice .mm-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding-block: 10px;
	text-align: center;
}
.mm-notice p { margin: 0; }
.mm-notice a { color: inherit; text-decoration: underline; }
.mm-notice__icon {
	flex: none;
	width: 20px;
	height: 20px;
	background: var(--mm-coral);
	-webkit-mask: var(--mm-i-info) center / contain no-repeat;
	mask: var(--mm-i-info) center / contain no-repeat;
}

/* ---------- Tlačítka ---------- */
.mm-btn .wp-block-button__link,
.wp-block-button.mm-btn .wp-block-button__link {
	font-family: var(--mm-font-head);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	padding: 15px 28px;
	border-radius: 999px;
	border: 2px solid var(--mm-teal);
	background: var(--mm-teal);
	color: #fff;
	text-decoration: none;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.wp-block-button.mm-btn .wp-block-button__link:hover {
	background: var(--mm-teal-900);
	border-color: var(--mm-teal-900);
	color: #fff;
	transform: translateY(-1px);
}
.wp-block-button.mm-btn--call .wp-block-button__link {
	background: var(--mm-coral);
	border-color: var(--mm-coral);
	color: var(--mm-teal-900);
	box-shadow: 0 14px 30px -14px rgba(242, 135, 107, 0.9);
}
.wp-block-button.mm-btn--call .wp-block-button__link:hover {
	background: #ee7556;
	border-color: #ee7556;
	color: var(--mm-teal-900);
}
.mm-btn--call .wp-block-button__link::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 10px;
	vertical-align: -3px;
	background: currentColor;
	-webkit-mask: var(--mm-i-phone) center / contain no-repeat;
	mask: var(--mm-i-phone) center / contain no-repeat;
}
.wp-block-button.mm-btn.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--mm-teal);
}
.wp-block-button.mm-btn.is-style-outline .wp-block-button__link:hover {
	background: var(--mm-teal);
	color: #fff;
}

/* ---------- Společné prvky sekcí ---------- */
.mm-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 6px 14px 6px 10px;
	border-radius: 999px;
	background: #fff;
	color: var(--mm-teal);
	font-family: var(--mm-font-head);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	box-shadow: 0 1px 0 var(--mm-line);
}
.mm-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mm-coral);
	box-shadow: 0 0 0 4px rgba(242, 135, 107, 0.2);
}

.mm-card {
	background: #fff;
	border-radius: var(--mm-radius);
	box-shadow: var(--mm-shadow);
	border: 1px solid var(--mm-line);
	padding: 32px;
	box-sizing: border-box;
}

/* Ikony u kontaktních řádků */
.mm-ico {
	position: relative;
	padding-left: 34px;
}
.mm-ico::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 22px;
	height: 22px;
	background: var(--mm-mint-600);
	-webkit-mask: var(--mm-i, var(--mm-i-info)) center / contain no-repeat;
	mask: var(--mm-i, var(--mm-i-info)) center / contain no-repeat;
}
.mm-ico--phone { --mm-i: var(--mm-i-phone); }
.mm-ico--mobile { --mm-i: var(--mm-i-mobile); }
.mm-ico--mail { --mm-i: var(--mm-i-mail); }
.mm-ico--pin { --mm-i: var(--mm-i-pin); }
.mm-ico--clock { --mm-i: var(--mm-i-clock); }

/* ---------- Ordinační hodiny ---------- */
.mm-hours table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	border: 0;
	font-size: 15px;
}
.mm-hours th,
.mm-hours td {
	padding: 7px 10px;
	border: 0;
	border-bottom: 1px solid var(--mm-line);
	text-align: left;
	font-weight: 400;
	background: none;
}
.mm-hours td { text-align: right; font-variant-numeric: tabular-nums; }
.mm-hours tr:last-child th,
.mm-hours tr:last-child td { border-bottom: 0; }
.mm-hours tr.is-closed td { color: var(--mm-muted); }
.mm-hours tr.is-today th,
.mm-hours tr.is-today td {
	background: var(--mm-mint-50);
	font-weight: 700;
	color: var(--mm-teal);
}
.mm-hours tr.is-today th { border-radius: 10px 0 0 10px; }
.mm-hours tr.is-today td { border-radius: 0 10px 10px 0; }
.mm-hours tr.is-today th::after {
	content: "dnes";
	margin-left: 8px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--mm-mint-600);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	vertical-align: 2px;
}
.mm-hours__note {
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--mm-muted);
}

/* ==========================================================================
   SEKCE: Úvod (hero)
   ========================================================================== */
.mm-section.mm-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	margin: 0 !important;
	padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
	background: var(--mm-mint-50);
}
.mm-hero::before,
.mm-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	pointer-events: none;
}
.mm-hero::before {
	width: min(760px, 90vw);
	aspect-ratio: 1;
	right: -14%;
	top: -32%;
	background: radial-gradient(circle at 40% 40%, rgba(63, 184, 160, 0.28), rgba(63, 184, 160, 0) 68%);
}
.mm-hero::after {
	width: 240px;
	aspect-ratio: 1;
	left: -80px;
	bottom: -120px;
	border: 40px solid rgba(242, 135, 107, 0.12);
}

.mm-hero .mm-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
	margin: 0;
}
.mm-hero .mm-hero__grid > .wp-block-column {
	margin: 0;
	flex-basis: auto !important;
}

.mm-hero__title {
	margin: 0 0 20px;
	font-size: clamp(2.5rem, 5.4vw, 4.1rem);
	line-height: 1.04;
	font-weight: 800;
	letter-spacing: -0.03em;
}
.mm-hero__title mark {
	color: var(--mm-mint-600) !important;
	background: linear-gradient(transparent 72%, rgba(242, 135, 107, 0.35) 72%, rgba(242, 135, 107, 0.35) 90%, transparent 90%) !important;
	padding: 0 0.04em;
}
.mm-hero__lead {
	margin: 0 0 30px;
	max-width: 36em;
	font-size: clamp(17px, 1.6vw, 19px);
	color: var(--mm-muted);
}

.mm-hero__cta {
	gap: 12px;
	margin: 0 0 36px;
}

.mm-trust {
	list-style: none;
	margin: 0;
	padding: 24px 0 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	border-top: 1px solid var(--mm-line);
}
.mm-trust li {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--mm-muted);
}
.mm-trust li strong {
	display: block;
	margin-bottom: 2px;
	font-family: var(--mm-font-head);
	font-size: 17px;
	color: var(--mm-teal);
}

/* Karta s kontaktem */
.mm-hero__card {
	position: relative;
}
.mm-hero__card::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	z-index: -1;
	border-radius: var(--mm-radius);
	background: var(--mm-mint);
	opacity: 0.25;
}
.mm-card__label {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--mm-mint-50);
	color: var(--mm-mint-600);
	font-family: var(--mm-font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.mm-hero__card h2 {
	margin: 0 0 18px;
	font-size: 26px;
	line-height: 1.2;
}
.mm-hero__card h3 {
	margin: 24px 0 8px;
	font-size: 17px;
}
.mm-hero__card p.mm-ico {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.5;
}
.mm-hero__card a {
	color: var(--mm-teal);
	font-weight: 600;
	text-decoration: none;
}
.mm-hero__card a:hover { color: var(--mm-mint-600); text-decoration: underline; }
.mm-link-arrow {
	margin: 18px 0 0;
	font-family: var(--mm-font-head);
	font-weight: 700;
}
.mm-link-arrow a::after { content: " →"; }

@media (max-width: 920px) {
	.mm-hero .mm-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.mm-hero__card::before { inset: 12px -8px -12px 8px; }
}
@media (max-width: 560px) {
	.mm-trust { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.mm-trust li strong { display: inline; margin-right: 6px; }
	.mm-hero__cta .wp-block-button { width: 100%; }
	.mm-hero__cta .wp-block-button__link { width: 100%; text-align: center; box-sizing: border-box; }
	.mm-card { padding: 24px; }
}

/* ==========================================================================
   Společné pro obsahové sekce
   ========================================================================== */
.mm-section {
	margin: 0 !important;
	padding: clamp(64px, 9vw, 120px) 0;
}
.mm-section__title {
	margin: 0 0 20px;
	font-size: clamp(2rem, 3.6vw, 2.9rem);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.025em;
}
.mm-lead {
	font-size: clamp(17px, 1.5vw, 19px);
	color: var(--mm-text);
}
.mm-section p { margin-top: 0; }

/* ==========================================================================
   SEKCE: O nás
   ========================================================================== */
.mm-about {
	background: var(--mm-sand);
}
.mm-about .mm-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 88px);
	align-items: start;
	margin: 0;
}
.mm-about .mm-about__grid > .wp-block-column,
.mm-values > .wp-block-column {
	margin: 0;
	flex-basis: auto !important;
}
.mm-about__text p { color: var(--mm-muted); }
.mm-about__text p.mm-lead { color: var(--mm-text); }

.mm-quote,
.mm-about .wp-block-quote.mm-quote {
	margin: 32px 0 0;
	padding: 24px 28px 24px 64px;
	position: relative;
	border: 0;
	border-radius: var(--mm-radius);
	background: #fff;
	box-shadow: 0 1px 0 var(--mm-line);
	font-style: normal;
}
.mm-quote::before {
	content: "“";
	position: absolute;
	left: 20px;
	top: 6px;
	font-family: var(--mm-font-head);
	font-size: 72px;
	line-height: 1;
	font-weight: 800;
	color: var(--mm-coral);
}
.mm-quote p {
	margin: 0 0 10px;
	font-style: normal;
	font-family: var(--mm-font-head);
	font-size: 19px;
	line-height: 1.45;
	font-weight: 600;
	color: var(--mm-teal) !important;
}
.mm-quote cite {
	display: block;
	font-size: 14px;
	font-style: normal;
	color: var(--mm-muted);
}

/* Fotky */
.mm-about__media {
	position: relative;
	margin: 0 0 40px;
	padding: 0 0 48px;
}
.mm-about__media .wp-block-image { margin: 0; }
.mm-about__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--mm-radius);
}
.mm-about__photo-small {
	position: absolute !important;
	right: -12px;
	bottom: 0;
	width: 38%;
}
.mm-about__photo-small img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--mm-radius-sm);
	border: 6px solid var(--mm-sand);
	box-shadow: var(--mm-shadow);
}
.mm-about__badge {
	position: absolute;
	left: -16px;
	bottom: 12px;
	margin: 0 !important;
	padding: 14px 20px;
	border-radius: var(--mm-radius-sm);
	background: var(--mm-teal);
	color: rgba(255, 255, 255, 0.85) !important;
	font-size: 13px;
	line-height: 1.3;
	box-shadow: var(--mm-shadow);
}
.mm-about__badge strong {
	display: block;
	font-family: var(--mm-font-head);
	font-size: 24px;
	font-weight: 800;
	color: #fff;
}

/* Časová osa */
.mm-timeline {
	list-style: none;
	margin: 0;
	padding: 0 0 0 4px;
	position: relative;
}
.mm-timeline::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 10px;
	bottom: 10px;
	width: 2px;
	background: linear-gradient(var(--mm-mint), rgba(63, 184, 160, 0.25));
}
.mm-timeline li {
	position: relative;
	margin: 0;
	padding: 0 0 18px 40px;
	color: var(--mm-muted);
	font-size: 16px;
	line-height: 1.45;
}
.mm-timeline li:last-child { padding-bottom: 0; }
.mm-timeline li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--mm-sand);
	border: 4px solid var(--mm-mint);
}
.mm-timeline li:first-child::before { border-color: var(--mm-coral); }
.mm-timeline li:last-child::before { background: var(--mm-teal); border-color: var(--mm-teal); }
.mm-timeline strong {
	display: inline-block;
	min-width: 64px;
	margin-right: 8px;
	font-family: var(--mm-font-head);
	font-weight: 800;
	color: var(--mm-teal);
}

/* Hodnoty */
.mm-values {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: clamp(48px, 6vw, 80px) 0 0;
}
.mm-value {
	position: relative;
	padding: 28px 28px 24px 28px;
	border-radius: var(--mm-radius);
	background: #fff;
	box-shadow: 0 1px 0 var(--mm-line);
}
.mm-value::before {
	content: "";
	display: block;
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: var(--mm-mint-50);
}
.mm-value::after {
	content: "";
	position: absolute;
	left: 40px;
	top: 40px;
	width: 24px;
	height: 24px;
	background: var(--mm-mint-600);
	-webkit-mask: var(--mm-v-i, var(--mm-i-heart)) center / contain no-repeat;
	mask: var(--mm-v-i, var(--mm-i-heart)) center / contain no-repeat;
}
.mm-value--heart { --mm-v-i: var(--mm-i-heart); }
.mm-value--award { --mm-v-i: var(--mm-i-award); }
.mm-value--home { --mm-v-i: var(--mm-i-home); }
.mm-value h3 {
	margin: 0 0 6px;
	font-size: 18px;
}
.mm-value p {
	margin: 0;
	font-size: 15px;
	color: var(--mm-muted);
}

@media (max-width: 560px) {
	.mm-timeline strong { display: block; margin: 0 0 2px; }
	.mm-value { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
	.mm-value::before { grid-row: span 2; margin: 0; }
	.mm-value::after { left: 32px; top: 32px; }
}
@media (max-width: 920px) {
	.mm-about .mm-about__grid { grid-template-columns: minmax(0, 1fr); }
	.mm-values { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.mm-about__photo-small { right: 0; }
	.mm-about__badge { left: 12px; }
}

/* ==========================================================================
   SEKCE: Náš tým
   ========================================================================== */
.mm-team {
	background: #fff;
}
.mm-section__head {
	max-width: 720px;
	margin: 0 auto clamp(36px, 5vw, 56px);
	text-align: center;
}
.mm-section__head .mm-lead { color: var(--mm-muted); margin-bottom: 0; }

.mm-team__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}
/* Neve/WP obal pro skupiny v klasické šabloně */
.mm-team__grid > .wp-block-group__inner-container {
	display: contents;
}
.mm-member {
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	border-radius: var(--mm-radius);
	background: #fff;
	border: 1px solid var(--mm-line);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.mm-member:hover {
	transform: translateY(-3px);
	box-shadow: var(--mm-shadow);
}
.mm-member .wp-block-image { margin: 0 0 18px; }
.mm-member__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 6;
	object-fit: cover;
	background: var(--mm-mint-50);
}
.mm-member > .wp-block-group__inner-container {
	display: contents;
}
.mm-member > *:not(.wp-block-image):not(.wp-block-group__inner-container),
.mm-member > .wp-block-group__inner-container > *:not(.wp-block-image) {
	margin-left: 22px;
	margin-right: 22px;
}
h3.mm-member__name {
	margin-top: 0;
	margin-bottom: 2px;
	font-size: 18px;
	line-height: 1.3;
}
.mm-member__role {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--mm-mint-600);
}
.mm-member__tags {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--mm-teal);
}
.mm-member__tags::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--mm-coral);
	vertical-align: 2px;
}
.mm-member__bio {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--mm-muted);
}

/* Pruh „Rozšiřujeme tým“ */
.mm-hiring {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px 40px;
	align-items: center;
	margin-top: clamp(40px, 5vw, 64px);
	padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px);
	border-radius: var(--mm-radius);
	background: var(--mm-teal);
	color: rgba(255, 255, 255, 0.82);
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.mm-hiring > .wp-block-group__inner-container { display: contents; }
.mm-hiring::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -60px;
	top: -90px;
	width: 260px;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 44px solid rgba(63, 184, 160, 0.18);
}
.mm-hiring h3 {
	margin: 0 0 6px;
	color: #fff;
	font-size: 22px;
}
.mm-hiring p { margin: 0; max-width: 46em; font-size: 15px; }
.mm-hiring__cta { margin: 0; }
.mm-btn--mail .wp-block-button__link::before {
	-webkit-mask-image: var(--mm-i-mail);
	mask-image: var(--mm-i-mail);
}

@media (max-width: 1080px) {
	.mm-team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	.mm-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.mm-hiring { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	/* Kompaktní karty: obrázek vlevo, text vpravo */
	.mm-team__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.mm-member {
		display: grid;
		grid-template-columns: 88px minmax(0, 1fr);
		column-gap: 16px;
		padding: 14px;
		align-items: start;
	}
	.mm-member .wp-block-image {
		grid-row: 1 / span 4;
		margin: 0;
	}
	.mm-member__photo img { border-radius: var(--mm-radius-sm); aspect-ratio: 1; }
	.mm-member > *:not(.wp-block-image):not(.wp-block-group__inner-container),
	.mm-member > .wp-block-group__inner-container > *:not(.wp-block-image) { margin-left: 0; margin-right: 0; }
	h3.mm-member__name { font-size: 17px; }
	.mm-member__role { margin-bottom: 6px; }
	.mm-member__tags { margin-bottom: 6px; }
	.mm-member__bio { margin-bottom: 0; font-size: 13.5px; }
	.mm-hiring__cta .wp-block-button,
	.mm-hiring__cta .wp-block-button__link { width: 100%; text-align: center; box-sizing: border-box; }
}

/* ==========================================================================
   SEKCE: Služby
   ========================================================================== */
.mm-services {
	background: var(--mm-mint-50);
}
.mm-problems {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.mm-problems > .wp-block-group__inner-container,
.mm-problem > .wp-block-group__inner-container,
.mm-cta > .wp-block-group__inner-container {
	display: contents;
}
.mm-problem {
	position: relative;
	margin: 0 !important;
	padding: 28px 28px 26px 96px;
	border-radius: var(--mm-radius);
	background: #fff;
	box-shadow: 0 1px 0 var(--mm-line);
	transition: transform .2s ease, box-shadow .2s ease;
}
.mm-problem:hover {
	transform: translateY(-3px);
	box-shadow: var(--mm-shadow);
}
.mm-problem::before {
	content: "";
	position: absolute;
	left: 28px;
	top: 28px;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--mm-mint-50);
}
.mm-problem::after {
	content: "";
	position: absolute;
	left: 40px;
	top: 40px;
	width: 24px;
	height: 24px;
	background: var(--mm-mint-600);
	-webkit-mask: var(--mm-p-i, var(--mm-i-heart)) center / contain no-repeat;
	mask: var(--mm-p-i, var(--mm-i-heart)) center / contain no-repeat;
}
.mm-problem:hover::before { background: var(--mm-coral-50); }
.mm-problem:hover::after { background: var(--mm-coral); }
.mm-problem--back { --mm-p-i: var(--mm-i-spine); }
.mm-problem--injury { --mm-p-i: var(--mm-i-bandage); }
.mm-problem--surgery { --mm-p-i: var(--mm-i-stetho); }
.mm-problem--sport { --mm-p-i: var(--mm-i-run); }
.mm-problem--kids { --mm-p-i: var(--mm-i-baby); }
.mm-problem--women { --mm-p-i: var(--mm-i-women); }
.mm-problem h3 {
	margin: 0 0 6px;
	font-size: 18px;
}
.mm-problem p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--mm-muted);
}

/* Metody */
.mm-services .mm-methods {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	margin: clamp(56px, 7vw, 96px) 0 0;
}
.mm-services .mm-methods > .wp-block-column {
	margin: 0;
	flex-basis: auto !important;
}
.mm-methods__photo { margin: 0; }
.mm-methods__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border-radius: var(--mm-radius);
	box-shadow: var(--mm-shadow);
}
.mm-methods__text h3 {
	margin: 0 0 10px;
	font-size: clamp(1.5rem, 2.4vw, 1.9rem);
	font-weight: 800;
}
.mm-methods__text > p { color: var(--mm-muted); margin-bottom: 22px; }
.mm-methods__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 20px;
}
.mm-methods__list li {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 10px 14px 10px 44px;
	border-radius: var(--mm-radius-sm);
	background: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--mm-teal);
}
.mm-methods__list li::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	background: var(--mm-mint-600);
	-webkit-mask: var(--mm-i-check) center / contain no-repeat;
	mask: var(--mm-i-check) center / contain no-repeat;
}

/* Pruh s výzvou */
.mm-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	margin-top: clamp(48px, 6vw, 72px);
	padding: 22px 22px 22px 32px;
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--mm-shadow);
}
.mm-cta__text {
	margin: 0 !important;
	font-size: 17px;
	color: var(--mm-muted);
}
.mm-cta__text strong { color: var(--mm-teal); font-family: var(--mm-font-head); }
.mm-cta__btn { margin: 0; }

@media (max-width: 960px) {
	.mm-problems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mm-services .mm-methods { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.mm-problems { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.mm-problem { padding: 20px 20px 20px 84px; }
	.mm-problem::before { left: 20px; top: 20px; }
	.mm-problem::after { left: 32px; top: 32px; }
	.mm-methods__list { grid-template-columns: minmax(0, 1fr); }
	.mm-cta { border-radius: var(--mm-radius); padding: 22px; text-align: center; justify-content: center; }
	.mm-cta__btn, .mm-cta__btn .wp-block-button, .mm-cta__btn .wp-block-button__link { width: 100%; box-sizing: border-box; text-align: center; }
}

/* ==========================================================================
   Patička
   ========================================================================== */
.mm-footer {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--mm-teal-900);
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	line-height: 1.6;
}
.mm-footer__shape {
	position: absolute;
	z-index: -1;
	right: -160px;
	top: -200px;
	width: 520px;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 70px solid rgba(63, 184, 160, 0.08);
}
.mm-footer a { color: #fff; text-decoration: none; }
.mm-footer a:hover { color: #7fdcc8; text-decoration: underline; }
.mm-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-block: 64px 48px;
}
.mm-footer__logo { display: inline-block; margin-bottom: 14px; }
.mm-footer__logo svg { display: block; width: 240px; height: auto; }
.mm-footer__brand p { max-width: 30em; margin: 0; }
.mm-footer__title {
	margin: 6px 0 16px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.mm-footer__list,
.mm-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mm-footer__list li { margin: 0 0 12px; }
.mm-footer__menu li { margin: 0 0 8px; }
.mm-footer .mm-ico::before { background: #7fdcc8; top: 0.15em; width: 20px; height: 20px; }
.mm-footer .mm-ico { padding-left: 32px; }
.mm-footer .mm-hours th,
.mm-footer .mm-hours td {
	padding: 5px 8px;
	border-bottom-color: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
}
.mm-footer .mm-hours tr.is-today th,
.mm-footer .mm-hours tr.is-today td {
	background: rgba(127, 220, 200, 0.14);
	color: #fff;
}
.mm-footer .mm-hours tr.is-today th::after { background: var(--mm-coral); color: var(--mm-teal-900); }
.mm-footer .mm-hours__note { color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.mm-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 20px 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
}
.mm-footer__bottom p { margin: 0; }
.mm-sep { margin: 0 6px; opacity: 0.5; }

@media (max-width: 960px) {
	.mm-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.mm-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 48px 32px; }
	.mm-footer { padding-bottom: 72px; } /* místo pro tlačítko Zavolat */
}

/* ---------- Plovoucí tlačítko Zavolat (mobil) ---------- */
.mm-callfab {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 60;
	display: none;
	align-items: center;
	gap: 8px;
	padding: 14px 20px 14px 16px;
	border-radius: 999px;
	background: var(--mm-coral);
	color: var(--mm-teal-900);
	font-family: var(--mm-font-head);
	font-weight: 800;
	font-size: 16px;
	text-decoration: none;
	box-shadow: 0 16px 34px -12px rgba(11, 59, 66, 0.55);
}
.mm-callfab:hover,
.mm-callfab:focus { color: var(--mm-teal-900); }
.mm-callfab__icon {
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--mm-i-phone) center / contain no-repeat;
	mask: var(--mm-i-phone) center / contain no-repeat;
}
@media (max-width: 782px) {
	.mm-callfab { display: inline-flex; }
}

/* ---------- Přístupnost ---------- */
.mm-page a:focus-visible,
.mm-footer a:focus-visible,
.mm-callfab:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--mm-coral);
	outline-offset: 3px;
}

/* ---------- Ikony (SVG masky) ---------- */
:root,
body {
	--mm-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
	--mm-i-mobile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='3' width='12' height='18' rx='2'/%3E%3Cpath d='M11 4h2M12 17v.01'/%3E%3C/svg%3E");
	--mm-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
	--mm-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='11' r='3'/%3E%3Cpath d='M17.66 16.66 13.41 20.9a2 2 0 0 1-2.82 0l-4.25-4.24a8 8 0 1 1 11.32 0z'/%3E%3C/svg%3E");
	--mm-i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
	--mm-i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 12.57 12 20l-7.5-7.43A5 5 0 1 1 12 6.01a5 5 0 1 1 7.5 6.57'/%3E%3C/svg%3E");
	--mm-i-award: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 14 7 22l5-3 5 3-1.5-8'/%3E%3C/svg%3E");
	--mm-i-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8M5 10v10h14V10M10 20v-6h4v6'/%3E%3C/svg%3E");
	--mm-i-spine: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M8 7.5h8M9 12h6M8 16.5h8M9 21h6'/%3E%3C/svg%3E");
	--mm-i-bandage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='8' width='20' height='8' rx='4' transform='rotate(-45 12 12)'/%3E%3Cpath d='M11 11h.01M13 13h.01M11 13h.01M13 11h.01'/%3E%3C/svg%3E");
	--mm-i-stetho: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3H5v6a4 4 0 0 0 8 0V3h-1M9 13v1a5 5 0 0 0 10 0v-2'/%3E%3Ccircle cx='19' cy='10' r='2'/%3E%3C/svg%3E");
	--mm-i-run: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13' cy='4' r='1.5'/%3E%3Cpath d='M4 17l5 1 .75-1.5M15 21v-4l-4-3 1-6M7 12V9l5-1 3 3 3 1'/%3E%3C/svg%3E");
	--mm-i-baby: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 10h.01M15 10h.01M9.5 15a3.5 3.5 0 0 0 5 0M12 3a2 2 0 0 0 0 4'/%3E%3C/svg%3E");
	--mm-i-women: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='5'/%3E%3Cpath d='M12 14v7M9 18h6'/%3E%3C/svg%3E");
	--mm-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
	--mm-i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E");
}
