/* =====================================================================
   MODULMONT – design systém (přepis návrhu do tříd, žádné inline styly).
   Barvy: Lesní zelená (--primary #3d5a3f), akcent ořech/zlatá (#c08a4a).
   Fonty: Archivo (nadpisy/text), Fraunces (akcent, kurzíva).
   ===================================================================== */

/* build: 2026-07-24 iterace 7 (cache-bust) */
:root {
	--primary: #3d5a3f;
	--primary-dark: #2f4633;
	--accent: #c08a4a;
	--ink: #2b2b28;
	--ink-soft: #55534a;
	--muted: #6b6759;
	--bg: #f7f4ee;
	--line: #e6dfd2;
	--font-head: 'Archivo', system-ui, -apple-system, sans-serif;
	--font-body: 'Archivo', system-ui, -apple-system, sans-serif;
	--font-accent: 'Fraunces', Georgia, 'Times New Roman', serif;
	--head-weight: 700;
	--head-accent-weight: 700;
	--rad: 18px;
	--rad-lg: 28px;
	--rad-sm: 10px;
	--rad-btn: 6px;
	--wrap: 1280px;
}

/* ---- základ ---- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #fff; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-head); }
p { text-wrap: pretty; }

.mm-container {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
	width: 100%;
}
.mm-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--primary);
	color: #fff;
	padding: 10px 16px;
	z-index: 100;
	border-radius: 0 0 var(--rad-btn) 0;
}
.mm-skip:focus { left: 0; }
.mm-accent {
	font-family: var(--font-accent);
	font-weight: var(--head-accent-weight);
	color: var(--primary);
}
.mm-eyebrow,
.mm-badge {
	font-size: 12.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--primary);
	font-weight: 600;
}
.mm-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 9px;
	max-width: 100%;
	padding: 7px 14px;
	border: 1px solid #e0d8c8;
	border-radius: var(--rad-btn);
	background: rgba(255, 255, 255, 0.72);
	text-align: center;
}
.mm-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
}
.mm-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	display: inline-block;
}
@keyframes mmPulse {
	0% { box-shadow: 0 0 0 0 rgba(192, 138, 74, 0.55); }
	70% { box-shadow: 0 0 0 7px rgba(192, 138, 74, 0); }
	100% { box-shadow: 0 0 0 0 rgba(192, 138, 74, 0); }
}
.mm-dot--pulse { animation: mmPulse 2s ease-out infinite; }

/* ---- tlačítka ---- */
.mm-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--primary);
	color: #f4efe6;
	font-weight: 600;
	font-size: 15.5px;
	padding: 15px 28px;
	border-radius: var(--rad-btn);
	text-decoration: none;
	box-shadow: 0 16px 34px -14px rgba(61, 90, 63, 0.6);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.mm-btn:hover { color: #f4efe6; box-shadow: 0 18px 36px -12px rgba(61, 90, 63, 0.7); transform: translateY(-1px); }
.mm-btn--sm { padding: 11px 22px; font-size: 14.5px; font-weight: 700; }
.mm-btn--ghost {
	background: rgba(255, 255, 255, 0.7);
	color: var(--ink);
	border: 1px solid #dcd4c5;
	box-shadow: none;
}
.mm-btn--ghost:hover { color: var(--ink); background: #fff; }

/* ---- animace (1:1 z návrhu) ---- */
@keyframes mmUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes mmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mmScale { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes mmDraw { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@keyframes mmHF { from { opacity: 0; } to { opacity: 1; } }
@keyframes mmDrop { 0% { opacity: 0; transform: translateY(-72px); } 60% { opacity: 1; } 100% { transform: translateY(0); } }
@keyframes mmHeroIn { from { transform: translateX(var(--mm-shift, 0px)) scale(var(--mm-scale, 1.25)); } to { transform: translateX(0) scale(1); } }
@keyframes mmCoverCenter { 0% { opacity: 0; transform: translateY(4%) scale(1.36); } 8% { opacity: 1; } 56% { transform: translateY(4%) scale(1.36); } 100% { transform: translateY(0) scale(1); } }

/* ---- progress bar + header ---- */
.mm-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0;
	background: var(--accent);
	z-index: 60;
	transition: width 0.08s linear;
}
.mm-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(247, 244, 238, 0.9);
	backdrop-filter: saturate(1.1) blur(16px);
	border-bottom: 1px solid var(--line);
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.mm-header--kinetic {
	transform: translateY(-105%);
}
.mm-topbar { background: var(--primary); color: #eef0e6; font-size: 12.5px; }
.mm-topbar__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 8px;
}
.mm-topbar__note { display: inline-flex; align-items: center; gap: 8px; opacity: 0.92; }
.mm-topbar__contact { display: inline-flex; align-items: center; gap: 20px; }
.mm-topbar__contact a { color: #eef0e6; text-decoration: none; font-weight: 600; }
.mm-header__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px 36px;
	flex-wrap: wrap;
	padding-block: 14px;
}
.mm-brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.mm-brand__mark,
.mm-brand .custom-logo { width: 50px; height: 50px; object-fit: contain; display: block; }
.mm-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.mm-brand__name { font-weight: 700; letter-spacing: 0.16em; font-size: 24px; color: #24241f; }
.mm-brand__tag { font-size: 11px; color: #8a8578; letter-spacing: 0.06em; text-transform: uppercase; }
.mm-header__navs {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
}
.mm-header__main {
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.7vw, 26px);
	flex-wrap: wrap;
	justify-content: flex-end;
}
.mm-nav .mm-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.6vw, 26px);
	flex-wrap: wrap;
}
.mm-nav a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600; transition: color 0.2s ease; }
.mm-nav--info a { color: #6b6759; font-size: 14px; font-weight: 500; }
.mm-nav a:hover { color: var(--primary); }

/* ---- hamburger + mobilní menu ---- */
.mm-burger { display: none; }
.mm-burger__box { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 24px; height: 18px; }
.mm-burger__box span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.mm-burger[aria-expanded="true"] .mm-burger__box span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mm-burger[aria-expanded="true"] .mm-burger__box span:nth-child(2) { opacity: 0; }
.mm-burger[aria-expanded="true"] .mm-burger__box span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
	.mm-burger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		border: 1px solid var(--line);
		border-radius: var(--rad-btn);
		background: rgba(255, 255, 255, 0.6);
		cursor: pointer;
		flex: none;
	}
	.mm-header__row { justify-content: space-between; flex-wrap: nowrap; gap: 12px; padding-block: 12px; }
	/* Topbar: bez „Přijímáme zakázky", jen kontakt zarovnaný vpravo. */
	.mm-topbar__note { display: none; }
	.mm-topbar__row { justify-content: flex-end; }
	.mm-header__navs {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 40;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #f7f4ee;
		border-top: 1px solid var(--line);
		border-bottom: 1px solid var(--line);
		padding: 6px clamp(20px, 4vw, 48px) 18px;
		box-shadow: 0 26px 44px -26px rgba(0, 0, 0, 0.4);
		display: none;
	}
	.mm-header.mm-nav-open .mm-header__navs { display: flex; }
	.mm-header__navs .mm-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.mm-header__navs .mm-nav a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 16px; }
	.mm-nav--info a { color: var(--ink); font-size: 16px; font-weight: 600; }
	.mm-header__main { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.mm-header__main .mm-btn { margin-top: 16px; justify-content: center; }
}

/* ---- hero (homepage) ---- */
.mm-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(178deg, #f8f5ef 0%, #f3eee3 54%, #ece2d0 100%);
}
.mm-hero__glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(56% 54% at 72% 46%, rgba(192, 138, 74, 0.10), transparent 74%);
	pointer-events: none;
}
.mm-hero__row {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(12px, 1.5vw, 36px);
	padding-block: clamp(22px, 3.4vw, 50px);
	min-height: calc(100vh - 130px);
}
.mm-hero__col { flex: 1 1 330px; min-width: 0; position: relative; z-index: 2; }
.mm-hero__figcol { flex: 1.4 1 390px; min-width: 0; position: relative; z-index: 1; align-self: center; }
.mm-hero__fig { width: 100%; transform-origin: 50% 50%; will-change: transform, opacity; }
.mm-hero .mm-badge { margin-bottom: 26px; animation: mmUp 0.9s 6.8s both; }
.mm-hero__title {
	font-weight: 800;
	font-size: clamp(42px, 5.4vw, 78px);
	line-height: 1.02;
	letter-spacing: -0.015em;
	margin: 0 0 22px;
	color: #22221d;
	animation: mmUp 1s 6.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.mm-hero__lead {
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.65;
	color: var(--ink-soft);
	max-width: 32em;
	margin: 0 0 32px;
	animation: mmUp 1s 7.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.mm-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; animation: mmUp 1s 7.25s cubic-bezier(0.22, 1, 0.36, 1) both; }
.mm-hero__points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	animation: mmUp 1s 7.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.mm-hero__points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.mm-hero__points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---- coming-soon (stejná hero sekce – varianta A: text vlevo, dům vpravo) ---- */
.mm-hero--cs .mm-hero__row { min-height: 100vh; min-height: 100dvh; }
/* Posun domu doprava, aby jeho stín nezasahoval do textu vlevo. */
.mm-hero--cs .mm-hero__figcol { padding-left: clamp(0px, 4vw, 72px); }
.mm-hero__brand { margin-bottom: 24px; gap: 12px; animation: mmUp 0.9s 6.7s both; }
.mm-hero__brand .mm-brand__mark { width: 40px; height: 40px; }
.mm-hero__brand .mm-brand__name { font-size: clamp(17px, 2.34vw, 26px); }
.mm-hero__title--cs { color: #1e1e1b; }
.mm-hero__title--cs .mm-hero__t1 { font-weight: 800; }        /* „Dřevostavby“ – extra bold */
.mm-hero__title--cs .mm-hero__t2 { font-weight: 700; }        /* „na klíč“ – bold */
.mm-hero__lead a { color: var(--primary); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(61, 90, 63, 0.35); }
.mm-hero__lead a:hover { border-bottom-color: var(--primary); }
@media (max-width: 860px) {
	.mm-hero--cs .mm-hero__row { align-content: center; }
	.mm-hero--cs .mm-hero__figcol { padding-left: 0; }
}

/* ---- WIP panel (jen pro přihlášené na homepage) ---- */
.mm-wip { background: #f1ece1; border-top: 1px solid #e7e1d5; }
.mm-wip .mm-container { padding-block: clamp(40px, 6vw, 80px); text-align: center; }
.mm-wip h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 12px 0 12px; color: #22221d; }
.mm-wip p { max-width: 48em; margin-inline: auto; color: var(--ink-soft); }

/* ---- obsah stránek ---- */
.mm-main { display: block; }
.mm-content { padding-block: clamp(40px, 6vw, 88px); }
.mm-page__title { font-size: clamp(30px, 4vw, 52px); line-height: 1.06; color: #22221d; margin: 0 0 24px; }
.mm-page__content { max-width: 62rem; }
.mm-page__content > * { margin-block: 0 1.1em; }

/* ---- patička ---- */
.mm-footer { background: #1e2219; color: #cfc9b8; }
.mm-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 36px;
	padding-block: clamp(44px, 6vw, 72px) 34px;
}
.mm-footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mm-footer__logo span { font-weight: 700; letter-spacing: 0.16em; font-size: 15px; color: #f6f0e2; }
.mm-footer__slogan { font-family: var(--font-accent); font-style: italic; font-size: 19px; color: #d8b485; margin: 0 0 6px; }
.mm-footer__desc { font-size: 13.5px; line-height: 1.6; color: #a49e8d; margin: 0 0 12px; }
.mm-footer__legal { font-size: 12.5px; line-height: 1.7; color: #857f6f; margin: 0; }
.mm-footer__h { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #857f6f; margin: 0 0 14px; }
.mm-footer__col a,
.mm-footer__menu a { color: #cfc9b8; font-size: 14px; text-decoration: none; }
.mm-footer__col a:hover,
.mm-footer__menu a:hover { color: #fff; }
.mm-footer__col { display: flex; flex-direction: column; gap: 9px; }
.mm-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.mm-footer__bar { border-top: 1px solid #33372b; }
.mm-footer__credit a { color: #cfc9b8; text-decoration: none; border-bottom: 1px solid rgba(207, 201, 184, 0.4); }
.mm-footer__credit a:hover { color: #fff; border-bottom-color: #fff; }
.mm-footer__soc { display: flex; gap: 14px; margin-top: 6px; }
.mm-footer__soc-ic { color: #cfc9b8; display: inline-flex; align-items: center; justify-content: center; border-bottom: 0; transition: color 0.2s ease, transform 0.2s ease; }
.mm-footer__soc-ic:hover { color: #fff; transform: translateY(-2px); }
.mm-footer__barrow {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	padding-block: 18px;
	font-size: 12.5px;
	color: #857f6f;
}

/* ---- společné pro sekce homepage / podstránky ---- */
.mm-eyebrow { color: var(--accent); }
.mm-eyebrow--light { color: #e8c79a; }
.mm-eyebrow--gold { color: #d8b485; }
.mm-sec__head { max-width: 660px; margin-bottom: clamp(30px, 4vw, 54px); }
.mm-h2 {
	font-weight: var(--head-weight);
	font-size: clamp(30px, 4.2vw, 54px);
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 14px 0 0;
	color: #22221d;
}
.mm-h2--light { color: #f6f0e2; }
.mm-textlink { color: var(--primary); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(61, 90, 63, 0.35); }
.mm-textlink:hover { border-bottom-color: var(--primary); }
.mm-btn--accent { background: var(--accent); color: #26211a; box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.5); }
.mm-btn--accent:hover { color: #26211a; }
.mm-btn--ghost-light { background: transparent; color: #fbf8f1; border: 1px solid rgba(255, 255, 255, 0.42); box-shadow: none; }
.mm-btn--ghost-light:hover { color: #fbf8f1; background: rgba(255, 255, 255, 0.08); }

/* V číslech */
.mm-stats { background: #fbf9f4; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mm-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: clamp(20px, 3vw, 40px); padding-block: clamp(36px, 4.5vw, 60px); }
.mm-stats__item { text-align: center; }
.mm-stats__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(38px, 4.5vw, 58px); color: var(--primary); line-height: 1; }
.mm-stats__label { font-size: 14px; color: #6a685e; margin-top: 8px; }

/* O nás teaser */
.mm-about__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 5vw, 68px); align-items: center; padding-block: clamp(56px, 8vw, 108px); }
.mm-about__text p { font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.75; color: var(--ink-soft); margin: 0 0 18px; }
.mm-about__text p:last-child { margin-bottom: 0; }

/* Parallax citát */
.mm-quote { position: relative; background-image: linear-gradient(rgba(26, 31, 21, 0.58), rgba(26, 31, 21, 0.72)), url("../img/pristup.jpg"); background-position: center; background-size: cover; background-attachment: fixed; }
.mm-quote__inner { max-width: 1000px; margin: 0 auto; padding: clamp(105px, 15vw, 225px) clamp(20px, 4vw, 48px); text-align: center; }
.mm-quote__text { font-family: var(--font-accent); font-style: italic; font-weight: 500; font-size: clamp(27px, 4.4vw, 50px); line-height: 1.2; color: #fbf8f1; margin: 20px auto 0; max-width: 17em; text-wrap: balance; }

/* Co nabízíme – dlaždice */
.mm-services { background: #f1ece1; border-top: 1px solid #e7e1d5; border-bottom: 1px solid #e7e1d5; }
.mm-services .mm-container { padding-block: clamp(56px, 8vw, 108px); }
.mm-tiles { display: flex; flex-wrap: wrap; gap: clamp(14px, 1.6vw, 20px); }
.mm-tiles__col { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px); }
.mm-tile { position: relative; overflow: hidden; border-radius: var(--rad-lg); text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(240px, 26vw, 322px); box-shadow: 0 40px 80px -50px rgba(43, 43, 40, 0.55); }
.mm-tile--lg { flex: 1.15 1 380px; min-width: 0; min-height: clamp(430px, 56vw, 620px); }
.mm-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
.mm-tile:hover img { transform: scale(1.06); }
.mm-tile__grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 22, 16, 0.86) 0%, rgba(20, 22, 16, 0.3) 46%, rgba(20, 22, 16, 0) 74%); }
.mm-tile__body { position: relative; padding: clamp(22px, 2.6vw, 40px); display: block; }
.mm-tile__label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #e8c79a; font-weight: 600; }
.mm-tile__title { display: block; font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(24px, 2.8vw, 40px); line-height: 1.05; margin: 10px 0 12px; color: #fbf8f1; }
.mm-tile__desc { display: block; font-size: 15px; line-height: 1.6; color: #e4ded0; margin: 0 0 16px; max-width: 34em; }
.mm-tile__more { display: inline-flex; align-items: center; gap: 8px; color: #fbf8f1; font-weight: 600; font-size: 14.5px; }
.mm-tile [data-arrow] { display: inline-block; transition: transform 0.35s ease; }
.mm-tile:hover [data-arrow] { transform: translateX(5px); }

/* Proč MODULMONT */
.mm-why .mm-container { padding-block: clamp(56px, 8vw, 108px); }
.mm-why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(24px, 3vw, 44px); }
.mm-why__card { border-top: 2px solid var(--primary); padding-top: 20px; }
.mm-why__card h3 { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 22px; margin: 0 0 8px; color: #22221d; }
.mm-why__card p { font-size: 14.5px; line-height: 1.65; color: #6a685e; margin: 0; }

/* Realizace (tmavá) */
.mm-work { background: #24291f; color: #eee7d6; }
.mm-work .mm-container { padding-block: clamp(56px, 8vw, 108px); }
.mm-work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(30px, 4vw, 48px); }
.mm-work__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.mm-figure { margin: 0; position: relative; border-radius: var(--rad); overflow: hidden; }
.mm-figure img { display: block; width: 100%; height: clamp(240px, 26vw, 340px); object-fit: cover; }
.mm-figure figcaption { position: absolute; left: 14px; bottom: 12px; color: #fbf8f1; font-size: 13px; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }

/* FAQ */
.mm-faq { background: #f1ece1; border-top: 1px solid #e7e1d5; border-bottom: 1px solid #e7e1d5; }
.mm-faq__wrap { max-width: 900px; padding-block: clamp(56px, 8vw, 108px); }
.mm-faq__list { border-top: 1px solid #e0d8c8; }
.mm-faq details { border-bottom: 1px solid #e0d8c8; }
.mm-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: clamp(17px, 1.7vw, 21px); color: #22221d; }
.mm-faq summary::-webkit-details-marker { display: none; }
.mm-faq [data-chev] { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #d3c9b6; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; color: var(--primary); transition: transform 0.25s ease; }
.mm-faq details[open] [data-chev] { transform: rotate(45deg); }
.mm-faq__a { padding: 0 4px 24px; max-width: 62ch; font-size: 15.5px; line-height: 1.7; color: #57554c; }

/* CTA Navštivte nás */
.mm-cta { background: radial-gradient(120% 150% at 80% 0%, #46654a 0%, var(--primary) 46%, var(--primary-dark) 100%); color: #f4efe6; }
.mm-cta__inner { max-width: 900px; margin: 0 auto; padding-block: clamp(60px, 8vw, 112px); text-align: center; }
.mm-cta__inner p { font-size: clamp(15px, 1.5vw, 18.5px); line-height: 1.68; color: #dfe3d5; max-width: 40em; margin: 16px auto 30px; }
.mm-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Parallax předěl */
.mm-divider { height: clamp(300px, 46vh, 520px); background-image: linear-gradient(rgba(20, 22, 16, 0.1), rgba(20, 22, 16, 0.3)), url("../img/divider.jpg"); background-position: center 42%; background-size: cover; background-attachment: fixed; }

/* Kontakt */
.mm-contact .mm-container { padding-block: clamp(56px, 8vw, 110px); }
.mm-contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.mm-contact__lead { font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.7; color: var(--ink-soft); max-width: 34em; margin: 14px 0 30px; }
.mm-contact__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.mm-contact__item { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.mm-contact__ic { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #f1ece1; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.mm-contact__k { display: block; font-size: 12px; color: #8a8578; }
.mm-contact__social { display: flex; gap: 12px; }
.mm-contact__social a { text-decoration: none; padding: 11px 18px; border: 1px solid #dcd4c5; border-radius: var(--rad-btn); color: var(--ink); font-size: 14px; font-weight: 600; }

/* Formulář */
.mm-formcard { background: #fff; border: 1px solid #ece5d6; border-radius: var(--rad-lg); padding: clamp(24px, 3vw, 40px); box-shadow: 0 40px 80px -50px rgba(43, 43, 40, 0.45); }
.mm-form { display: flex; flex-direction: column; gap: 18px; }
.mm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mm-field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; color: #4a483f; }
.mm-field input, .mm-field textarea, .mm-field select { padding: 13px 15px; border: 1px solid #ddd5c6; border-radius: var(--rad-sm); font-size: 15px; color: var(--ink); background: #fbfaf6; outline: none; font-family: inherit; }
.mm-field textarea { resize: vertical; min-height: 110px; }
.mm-field input:focus, .mm-field textarea:focus, .mm-field select:focus { border-color: var(--primary); background: #fff; }
.mm-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #6a685e; line-height: 1.5; }
.mm-consent input { margin-top: 3px; flex: none; }
.mm-consent a { color: var(--primary); }
.mm-form__submit { align-self: flex-start; border: none; cursor: pointer; }
.mm-form__err { font-size: 13.5px; color: #a4442f; background: #f7e7e0; border-radius: var(--rad-sm); padding: 11px 14px; margin: 0 0 16px; }
.mm-form__done { text-align: center; padding: 30px 10px; }
.mm-form__check { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #f4efe6; display: inline-flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 16px; }
.mm-form__done h3 { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 26px; margin: 0 0 8px; color: #22221d; }
.mm-form__done p { color: #6a685e; margin: 0; }

/* ---- hlavička podstránky ---- */
.mm-phero { position: relative; overflow: hidden; background: linear-gradient(178deg, #f8f5ef 0%, #f3eee3 60%, #ece2d0 100%); border-bottom: 1px solid var(--line); }
.mm-phero__glow { position: absolute; inset: 0; background: radial-gradient(60% 60% at 78% 30%, rgba(192, 138, 74, 0.10), transparent 72%); pointer-events: none; }
.mm-phero__inner { position: relative; padding-block: clamp(48px, 7vw, 96px); }
.mm-phero__title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.015em; margin: 12px 0 0; color: #22221d; max-width: 20ch; }
.mm-phero__lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: var(--ink-soft); max-width: 40em; margin: 18px 0 0; }

/* ---- katalog dřevostaveb ---- */
.mm-catalog .mm-container { padding-block: clamp(48px, 7vw, 96px); }
.mm-pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.mm-pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid #ece5d6; border-radius: var(--rad-lg); overflow: hidden; text-decoration: none; box-shadow: 0 30px 60px -50px rgba(43, 43, 40, 0.5); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.mm-pcard:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -45px rgba(43, 43, 40, 0.55); }
.mm-pcard__media { display: block; aspect-ratio: 4 / 3; background: #f1ece1; overflow: hidden; }
.mm-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.mm-pcard:hover .mm-pcard__media img { transform: scale(1.05); }
.mm-pcard__body { display: flex; flex-direction: column; gap: 6px; padding: clamp(18px, 2vw, 26px); }
.mm-pcard__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2vw, 26px); color: #22221d; }
.mm-pcard__meta { font-size: 14px; color: var(--muted); }
.mm-pcard__price { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }
.mm-pcard__price strong { color: var(--primary); }
.mm-pcard__more { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; font-size: 14.5px; }
.mm-pcard [data-arrow] { transition: transform 0.35s ease; }
.mm-pcard:hover [data-arrow] { transform: translateX(5px); }
.mm-why--surface { background: #f1ece1; border-top: 1px solid #e7e1d5; }

/* ---- realizace grid ---- */
.mm-work--archive { background: transparent; color: inherit; }
.mm-work--archive .mm-container { padding-block: clamp(48px, 7vw, 96px); }
.mm-rgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.mm-rcard { position: relative; display: block; border-radius: var(--rad); overflow: hidden; text-decoration: none; box-shadow: 0 30px 60px -50px rgba(43, 43, 40, 0.5); }
.mm-rcard__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #24291f; }
.mm-rcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.mm-rcard:hover .mm-rcard__media img { transform: scale(1.06); }
.mm-rcard__grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 22, 16, 0.82) 0%, rgba(20, 22, 16, 0.1) 55%, transparent 78%); }
.mm-rcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(16px, 2vw, 24px); }
.mm-rcard__title { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 1.9vw, 24px); color: #fbf8f1; }
.mm-rcard__meta { display: block; font-size: 13.5px; color: #e4ded0; margin-top: 4px; }
.mm-pagination { margin-top: clamp(28px, 4vw, 44px); }
.mm-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; margin: 0 3px; border: 1px solid #dcd4c5; border-radius: var(--rad-btn); text-decoration: none; color: var(--ink); }
.mm-pagination .page-numbers.current { background: var(--primary); color: #f4efe6; border-color: var(--primary); }

/* ---- detail modelu ---- */
.mm-product { padding-block: clamp(40px, 6vw, 80px) 0; }
/* Horní řádek: obrázek + ceník, stejná výška (obrázek dorovná výšku ceníku). */
.mm-product__top { display: flex; flex-wrap: wrap; gap: clamp(22px, 3.5vw, 48px); align-items: stretch; }
.mm-product__media { flex: 1.35 1 340px; position: relative; min-height: 300px; border-radius: var(--rad-lg); overflow: hidden; background: #f1ece1; }
.mm-product__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-product__side { flex: 0.85 1 300px; }
/* Spodní řádek: rozměry + nadstandard vedle sebe. */
.mm-product__boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 32px); margin-top: clamp(20px, 2.6vw, 32px); }
.mm-product__desc { margin-top: clamp(30px, 4.5vw, 60px); max-width: 62rem; }
@media (max-width: 780px) {
	.mm-product__top { gap: 20px; }
	.mm-product__boxes { grid-template-columns: 1fr; }
}
.mm-pricebox, .mm-specbox { background: #fbf9f4; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: clamp(20px, 2.4vw, 30px); }
.mm-product__boxes .mm-specbox { margin-top: 0; height: 100%; }
.mm-pricebox__h, .mm-specbox__h { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin: 0 0 14px; color: #22221d; }
.mm-ptable { width: 100%; border-collapse: collapse; }
.mm-ptable th { text-align: left; font-weight: 500; color: var(--ink-soft); padding: 9px 0; border-bottom: 1px solid var(--line); }
.mm-ptable td { text-align: right; font-weight: 700; color: #22221d; padding: 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mm-ptable tr:last-child th, .mm-ptable tr:last-child td { border-bottom: none; }
.mm-pricebox__note { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 14px 0 18px; }
.mm-pricebox__btn { width: 100%; justify-content: center; }
.mm-stages { padding-block: clamp(48px, 7vw, 90px); }
.mm-stages__h { margin-bottom: clamp(24px, 3vw, 40px); }
.mm-stages__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.mm-stages__card { border-top: 2px solid var(--primary); padding-top: 18px; }
.mm-stages__card h3 { font-family: var(--font-head); font-weight: 700; font-size: 19px; margin: 0 0 8px; color: #22221d; }
.mm-stages__card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.mm-stages__note { margin-top: 24px; font-size: 15px; color: var(--ink-soft); }

/* ---- detail realizace ---- */
.mm-single { padding-block: clamp(40px, 6vw, 80px); }
.mm-facts { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.mm-facts li { background: #f1ece1; border-radius: var(--rad-btn); padding: 10px 16px; }
.mm-facts__k { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: #8a8578; }
.mm-facts__v { display: block; font-weight: 700; color: #22221d; }
.mm-single__cover { margin: 0 0 28px; border-radius: var(--rad-lg); overflow: hidden; }
.mm-single__cover img { display: block; width: 100%; }
.mm-single__back { margin-top: 24px; }

/* ---- editovatelný obsah (Gutenberg) ---- */
.mm-page { padding-block: clamp(40px, 6vw, 80px); }
.mm-prose { max-width: 60rem; }
.mm-prose > * { margin-block: 0 1.05em; }
.mm-prose h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 3vw, 34px); color: #22221d; margin-top: 1.6em; line-height: 1.15; }
.mm-prose h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(19px, 2vw, 24px); color: #22221d; margin-top: 1.3em; }
.mm-prose p, .mm-prose li { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; color: var(--ink-soft); }
.mm-prose a { color: var(--primary); }
.mm-prose ul, .mm-prose ol { padding-left: 1.3em; }
.mm-prose li { margin-bottom: 0.4em; }
.mm-prose .wp-block-table, .mm-prose table { width: 100%; border-collapse: collapse; overflow-x: auto; display: block; }
.mm-prose table thead th { background: var(--primary); color: #f4efe6; text-align: left; padding: 12px 14px; font-weight: 600; }
.mm-prose table td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.mm-prose table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.mm-prose .wp-block-table tr:nth-child(even) td { background: #fbf9f4; }
.mm-prose figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.mm-prose img { border-radius: var(--rad); height: auto; }
.mm-prose .wp-block-gallery { margin: 1.4em 0; }
.mm-prose--legal { max-width: 52rem; }
.mm-prose--legal p, .mm-prose--legal li { font-size: 15.5px; }

/* ---- kontakt: mapa + CTA varianta ---- */
.mm-contact--cta { background: #fbf9f4; border-top: 1px solid var(--line); }
.mm-map { margin-top: clamp(24px, 3vw, 40px); border-radius: var(--rad-lg); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.mm-map iframe { display: block; width: 100%; }

/* ---- přeskočení intra (opakovaná návštěva v relaci) ---- */
.mm-no-intro #mmHeroFig svg g { animation: none !important; opacity: 1 !important; transform: none !important; }
.mm-no-intro .mm-hero .mm-badge,
.mm-no-intro .mm-hero__brand,
.mm-no-intro .mm-hero__title,
.mm-no-intro .mm-hero__lead,
.mm-no-intro .mm-hero__cta,
.mm-no-intro .mm-hero__points,
.mm-no-intro .mm-hero__fig { animation: none !important; opacity: 1 !important; transform: none !important; }
.mm-no-intro .mm-header--kinetic { transform: none; }

/* =====================================================================
   DOPLŇKY OBSAHU – katalog, detail modelu, servisní stránky, galerie.
   ===================================================================== */

/* Hlavička podstránky – zarovnaná vlevo, ale kontejner zůstává vycentrovaný
   (lícuje s obsahem sekcí pod ním; margin-inline NEnulovat!). */
.mm-phero__inner { text-align: left; }

/* ---- katalog: dlaždice ~3 na řádek, Grand XL širší (v téže sekci) ---- */
.mm-pgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 24px); }
.mm-pgrid .mm-pcard { grid-column: span 2; }        /* 3 na řádek */
.mm-pgrid .mm-pcard--wide { grid-column: span 4; }  /* širší dlaždice (2×) */
@media (max-width: 900px) {
	.mm-pgrid { grid-template-columns: repeat(2, 1fr); }
	.mm-pgrid .mm-pcard, .mm-pgrid .mm-pcard--wide { grid-column: span 2; }
}

.mm-pcard__media { position: relative; aspect-ratio: 3 / 2; }
.mm-pcard__tag {
	position: absolute;
	left: 12px;
	top: 12px;
	background: var(--accent);
	color: #26211a;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.01em;
	padding: 5px 11px;
	border-radius: var(--rad-btn);
	box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.55);
}
.mm-pcard__body { gap: 5px; padding: clamp(16px, 1.6vw, 22px); }
.mm-pcard__title { font-size: clamp(18px, 1.6vw, 22px); }
.mm-pcard__teaser { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin-top: 2px; }
.mm-pcard__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 14px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--line);
}
.mm-pcard__foot .mm-pcard__price,
.mm-pcard__foot .mm-pcard__more { margin-top: 0; font-size: 14px; }

/* Grand XL – širší dlaždice: celý obrázek nahoře (bez bílých okrajů), text pod ním.
   Dlaždice drží STEJNOU výšku jako sousední (grid stretch – vyšší určuje výšku obou).
   Obrázek zůstává ve své přirozené výšce (žádné bílé lemy) a případný rozdíl výšky se
   přidá jako mezera MEZI obrázkem a textem (margin-top:auto na body).
   Nadpis má stejnou velikost jako ostatní dlaždice (bez zvětšení). */
.mm-pcard--wide .mm-pcard__media { aspect-ratio: auto; flex: 0 0 auto; }
.mm-pcard--wide .mm-pcard__media img { position: static; width: 100%; height: auto; object-fit: contain; display: block; }
.mm-pcard--wide .mm-pcard__body { margin-top: auto; }
.mm-pcard--wide .mm-pcard__teaser { font-size: 15px; line-height: 1.6; }
@media (max-width: 560px) {
	.mm-pgrid { grid-template-columns: 1fr; }
	.mm-pgrid .mm-pcard, .mm-pgrid .mm-pcard--wide { grid-column: span 1; }
}

/* ---- detail modelu: text pod hlavní fotkou + nadstandardní vybavení ---- */
.mm-product__intro p { font-size: clamp(16px, 1.3vw, 17.5px); line-height: 1.75; color: var(--ink-soft); margin: 0 0 14px; }
.mm-product__intro p:last-child { margin-bottom: 0; }
.mm-equip { margin-top: 18px; }
.mm-equip__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mm-equip__list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink); line-height: 1.45; }
.mm-equip__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700; }

/* ---- servisní stránky (terasy, zateplení, o nás) ---- */
.mm-service .mm-container { padding-block: clamp(44px, 6vw, 84px); }
.mm-service__intro { max-width: 64rem; margin-bottom: clamp(28px, 4vw, 48px); }
.mm-service__intro h2 { margin-top: 0; }
.mm-service__what { margin-top: 8px; }
.mm-about2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 60px); align-items: center; margin-bottom: clamp(30px, 4.5vw, 56px); }
.mm-about2__text { max-width: none; }
.mm-about2__text h2 { margin-top: 0; }
.mm-about2__media { margin: 0; border-radius: var(--rad-lg); overflow: hidden; box-shadow: 0 40px 80px -55px rgba(43, 43, 40, 0.5); }
.mm-about2__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 780px) { .mm-about2 { grid-template-columns: 1fr; } }

/* materiálové „chipsy" */
.mm-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(22px, 3vw, 32px); border-top: 1px solid var(--line); }
.mm-chips__label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.mm-chip { background: #fff; border: 1px solid #e0d8c8; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--ink); }

/* ceníky zateplení */
.mm-ceniky { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(20px, 2.6vw, 30px); margin-top: clamp(24px, 3.5vw, 40px); }
.mm-cenik { background: #fbf9f4; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: clamp(20px, 2.4vw, 30px); }
.mm-cenik__h { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; line-height: 1.32; margin: 0 0 12px; color: #22221d; }
.mm-cenik__table { width: 100%; border-collapse: collapse; }
.mm-cenik__table th { text-align: left; font-weight: 400; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mm-cenik__table td { text-align: right; font-weight: 700; color: var(--primary); padding: 11px 0 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
.mm-cenik__table tr:last-child th, .mm-cenik__table tr:last-child td { border-bottom: none; }
.mm-cenik__item { display: block; font-weight: 700; color: #22221d; font-size: 15px; }
.mm-cenik__desc { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mm-service__note { max-width: 62rem; margin-top: 20px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---- servisní stránky: čitelné pásy + dvousloupcový úvod ---- */
.mm-band .mm-container { padding-block: clamp(44px, 6vw, 84px); }
.mm-band + .mm-band { border-top: 1px solid var(--line); }
.mm-band--surface { background: #f1ece1; border-top: 1px solid #e7e1d5; }
.mm-intro2 { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(22px, 5vw, 72px); align-items: start; }
.mm-intro2__head h2 { margin-top: 10px; }
.mm-intro2__text > * { margin-block: 0 1.05em; }
.mm-intro2__text > *:last-child { margin-bottom: 0; }
.mm-intro2__text p { font-size: clamp(16px, 1.3vw, 17.5px); line-height: 1.75; color: var(--ink-soft); }
@media (max-width: 820px) { .mm-intro2 { grid-template-columns: 1fr; gap: 14px; } }

/* ---- fotogalerie + lightbox ---- */
.mm-galsec { background: #f1ece1; border-top: 1px solid #e7e1d5; }
.mm-galsec .mm-container { padding-block: clamp(48px, 7vw, 88px); }
.mm-gallery { margin-top: clamp(28px, 4vw, 44px); }
.mm-product .mm-gallery { margin-top: clamp(40px, 6vw, 72px); }
.mm-gallery__h { margin: 0 0 clamp(20px, 3vw, 30px); }
.mm-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.mm-gallery__item { display: block; border-radius: var(--rad); overflow: hidden; aspect-ratio: 4 / 3; background: #e6dfd2; cursor: zoom-in; }
.mm-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.mm-gallery__item:hover img { transform: scale(1.05); }

/* Blok Galerie z editoru (klientem spravovaný obsah) – sladěný vzhled. */
.mm-prose .wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.mm-prose .wp-block-gallery.has-nested-images .wp-block-image,
.mm-prose .wp-block-gallery figure { margin: 0; width: auto !important; }
.mm-prose .wp-block-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rad); display: block; cursor: zoom-in; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.mm-prose .wp-block-gallery a:hover img,
.mm-prose .wp-block-gallery img:hover { transform: scale(1.05); }

.mm-lb-lock { overflow: hidden; }
.mm-lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(16, 17, 13, 0.93); padding: clamp(12px, 4vw, 48px); }
.mm-lb.is-open { display: flex; }
.mm-lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; }
.mm-lb__img { max-width: 100%; max-height: 82vh; border-radius: var(--rad-sm); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.mm-lb__cap { color: #cfc9b8; font-size: 13px; }
.mm-lb__close, .mm-lb__nav { background: rgba(255, 255, 255, 0.12); color: #fff; border: none; border-radius: 50%; width: 48px; height: 48px; font-size: 26px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
.mm-lb__close:hover, .mm-lb__nav:hover { background: rgba(255, 255, 255, 0.24); }
.mm-lb__close { position: absolute; top: 14px; right: 18px; }
.mm-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.mm-lb__prev { left: 12px; }
.mm-lb__next { right: 12px; }
@media (max-width: 600px) { .mm-lb__nav { width: 42px; height: 42px; font-size: 22px; } }

/* Časté dotazy jako samostatná stránka – seznam zarovnaný vlevo s nadpisem. */
.mm-faq--page .mm-container { padding-block: clamp(48px, 7vw, 96px); }
.mm-faq--page .mm-faq__list { max-width: 860px; }

/* ---- kalkulačka ---- */
.mm-calc__grid { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (max-width: 820px) { .mm-calc__grid { grid-template-columns: 1fr; } }
.mm-calc__form { display: flex; flex-direction: column; gap: clamp(20px, 2.6vw, 32px); }
.mm-calc__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.mm-calc__step legend, .mm-calc__label { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: #22221d; margin-bottom: 12px; display: block; padding: 0; }
.mm-calc__label em { font-family: var(--font-body); font-weight: 500; font-style: normal; font-size: 13px; color: var(--muted); }
.mm-calc__cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .mm-calc__cats { grid-template-columns: 1fr; } }
.mm-calc__cat, .mm-calc__radio { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 14px 12px; border: 1px solid #ddd5c6; border-radius: var(--rad-sm); background: #fff; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--ink); transition: border-color 0.15s ease, background 0.15s ease; }
.mm-calc__cat input, .mm-calc__radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mm-calc__cat:has(input:checked), .mm-calc__radio:has(input:checked) { border-color: var(--primary); background: #eef2ea; box-shadow: inset 0 0 0 1px var(--primary); }
.mm-calc__cat:has(input:focus-visible), .mm-calc__radio:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.mm-calc__radios { display: flex; flex-wrap: wrap; gap: 10px; }
.mm-calc__radio { flex: 1 1 auto; }
.mm-calc__select { width: 100%; padding: 13px 15px; border: 1px solid #ddd5c6; border-radius: var(--rad-sm); font-size: 15px; background: #fbfaf6; color: var(--ink); font-family: inherit; }
.mm-calc__items { display: flex; flex-direction: column; gap: 8px; }
.mm-calc__check { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--rad-sm); background: #fff; cursor: pointer; }
.mm-calc__check input { width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.mm-calc__check-l { flex: 1; font-size: 14.5px; }
.mm-calc__check-p { font-weight: 700; color: var(--primary); font-size: 14px; white-space: nowrap; }
.mm-calc__msg { background: #f1ece1; border-radius: var(--rad); padding: 20px 22px; }
.mm-calc__msg p { margin: 0 0 8px; color: var(--ink-soft); }
.mm-calc__msg p:last-child { margin: 0; }
.mm-calc__summary { position: sticky; top: 104px; }
.mm-calc__sumcard { background: #24291f; color: #eee7d6; border-radius: var(--rad-lg); padding: clamp(22px, 2.6vw, 32px); box-shadow: 0 40px 80px -55px rgba(0, 0, 0, 0.6); }
.mm-calc__sumlabel { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: #d8b485; }
.mm-calc__total { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); color: #fbf8f1; margin: 6px 0 14px; line-height: 1.1; }
.mm-calc__total.is-text { font-size: clamp(18px, 2vw, 22px); color: #e8dfc9; }
.mm-calc__note { font-size: 12.5px; line-height: 1.55; color: #a49e8d; margin: 0 0 16px; }
.mm-calc__sumcard .mm-btn { width: 100%; justify-content: center; }
.mm-calc__body { display: flex; flex-direction: column; gap: clamp(20px, 2.6vw, 32px); }
.mm-calc__body:empty { display: none; }
.mm-calc:not([data-cat]) .mm-calc__summary { opacity: 0.55; }
@media (max-width: 820px) { .mm-calc__summary { position: static; } }

/* ---- cookie lišta ---- */
.mm-cookie {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 120;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 22px;
	background: #24291f;
	color: #e4ded0;
	padding: 15px clamp(16px, 4vw, 40px);
	box-shadow: 0 -14px 34px -22px rgba(0, 0, 0, 0.7);
	transform: translateY(110%);
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.mm-cookie.is-in { transform: translateY(0); }
.mm-cookie[hidden] { display: none; }
.mm-cookie__text { margin: 0; font-size: 14px; line-height: 1.5; max-width: 62em; }
.mm-cookie__text a { color: #e8c79a; }
.mm-cookie .mm-btn { flex: none; }

/* ---- responsivita ---- */
@media (max-width: 860px) {
	.mm-hero__row { min-height: auto; padding-block: 40px 24px; }
	.mm-hero__figcol { order: -1; }
	.mm-hero__fig { --mm-scale: 1.06; }
	.mm-work__head { align-items: flex-start; }
	.mm-product__grid { grid-template-columns: 1fr; }
}
/* Fixed parallax na dotykových zařízeních nefunguje plynule → scroll. */
@media (max-width: 820px) {
	.mm-quote, .mm-divider { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
	* { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
	html { scroll-behavior: auto; }
}
