/* Mert Mobilya — layout modelled on the reference (espaciohomedesign.com) */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 200 600; font-display: swap; src: url("../fonts/jost-latin-ext.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: "Jost"; font-style: normal; font-weight: 200 600; font-display: swap; src: url("../fonts/jost-latin.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: "Kufi"; font-style: normal; font-weight: 200 600; font-display: swap; src: url("../fonts/kufi-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
	--ink: #222;
	--dark: #2f2f2f;
	--line: #d3d3d3;
	--m: 35px;
	--gap: 70px;
	--mb: 90px;
	--maxw: 1500px;
	--font: "Jost", "Kufi", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(0.4, 0, 0, 1);
}
@media (max-width: 1200px) { :root { --m: 25px; --gap: 50px; } }
@media (max-width: 960px)  { :root { --gap: 25px; } }
@media (max-width: 750px)  { :root { --m: 15px; --gap: 15px; --mb: 60px; } }
@media (min-width: 2200px) { html { font-size: 112.5%; } :root { --maxw: 1900px; --m: 45px; --gap: 80px; --mb: 110px; } }
@media (min-width: 3200px) { html { font-size: 125%; } :root { --maxw: 2400px; --m: 60px; --gap: 100px; --mb: 130px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.4; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body.mm-lang-ar { --font: "Kufi", "Jost", system-ui, sans-serif; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
i { font-style: italic; font-weight: 400; }
.mm-lang-ar i { font-style: normal; }
::selection { background: #e7dcc8; }
html.mm-lock, html.mm-lock body { overflow: hidden; }
.mm-menu { contain: layout paint; }
.mm-skip { position: fixed; inset-inline-start: 8px; top: 8px; z-index: 3000; background: #000; color: #fff; padding: 10px 16px; transform: translateY(-150%); transition: transform .2s; }
.mm-skip:focus { transform: none; }
.mm-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Layout helpers ---------- */
.mm-pad { padding-inline: var(--m); }
.mm-max { max-width: calc(var(--maxw) + 2 * var(--m)); margin-inline: auto; }
.mm-mb { margin-bottom: var(--mb); }
.mm-h2 { font-weight: 400; font-size: 4em; line-height: 1.15; letter-spacing: -0.01em; }
@media (max-width: 1200px) { .mm-h2 { font-size: 3.5em; } }
@media (max-width: 960px)  { .mm-h2 { font-size: 3em; } }
@media (max-width: 750px)  { .mm-h2 { font-size: 2.5em; } }
@media (max-width: 400px)  { .mm-h2 { font-size: 2.1em; } }
.mm-eyebrow { font-weight: 600; text-transform: uppercase; font-size: .8em; margin: 0 0 20px; }

/* Underline hover (reference "coolLink") */
.mm-ul { position: relative; }
.mm-ul::before { content: ""; position: absolute; inset-inline-start: 0; bottom: -4px; width: 100%; height: 3px; background: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform .3s var(--ease); pointer-events: none; }
[dir="rtl"] .mm-ul::before { transform-origin: left center; }
.mm-ul:hover::before, .mm-ul:focus-visible::before, .mm-ul.is-sel::before, .mm-ul[aria-current]::before { transform: scaleX(1); transform-origin: left center; }
[dir="rtl"] .mm-ul:hover::before, [dir="rtl"] .mm-ul.is-sel::before, [dir="rtl"] .mm-ul[aria-current]::before { transform-origin: right center; }

/* Long arrow */
.mm-arrow { display: block; width: 200px; flex: none; }
.mm-arrow__in { display: block; overflow: hidden; transform: translateX(12.5%); transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.mm-arrow svg { width: 100%; height: auto; overflow: visible; position: relative; inset-inline-start: -5px; transform: translateX(-25%); transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.mm-arrow line, .mm-arrow polyline { fill: none; stroke: currentColor; stroke-width: 2; stroke-miterlimit: 10; }
.mm-arrow--short { width: 100px; }
.mm-arrow--short line, .mm-arrow--short polyline { stroke-width: 3; }
[dir="rtl"] .mm-arrow { transform: scaleX(-1); }
a:hover > .mm-arrow .mm-arrow__in, a:hover .mm-tile__text .mm-arrow .mm-arrow__in, .mm-cta:hover .mm-arrow__in { transform: translateX(0); }
a:hover > .mm-arrow svg, a:hover .mm-tile__text .mm-arrow svg, .mm-cta:hover .mm-arrow svg { transform: translateX(0); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease-out, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Header ---------- */
.mm-header { position: fixed; z-index: 1000; top: 0; inset-inline: 0; display: grid; grid-template-columns: 170px 1fr 65px; column-gap: 70px; align-items: center; padding: 35px 35px 0; color: #fff; transition: transform 1s cubic-bezier(0, 0, .1, .99), background-color .3s ease-out, padding .3s ease-out, color .3s; }
.mm-header.is-hidden { transform: translateY(-100%); }
.mm-header.is-collapsed { padding: 10px 35px; background: #fff; color: var(--dark); border-bottom: 1px solid var(--line); }
.mm-header__logo { position: relative; display: block; width: 170px; transition: width .3s ease-out; }
.mm-header.is-collapsed .mm-header__logo { width: 125px; }
.mm-header__logo img { width: 100%; height: auto; }
.mm-logo-d { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.mm-logo-l { transition: opacity .3s; }
.mm-header.is-collapsed .mm-logo-d { opacity: 1; }
.mm-header.is-collapsed .mm-logo-l { opacity: 0; }
.mm-header__nav { justify-self: center; text-transform: uppercase; font-weight: 600; }
.mm-header__nav ul { display: grid; grid-auto-flow: column; grid-auto-columns: max-content; column-gap: 35px; list-style: none; margin: 0; padding: 3px; }
.mm-header__toggle { justify-self: end; position: relative; inset-inline-end: -17px; width: 65px; height: 50px; display: flex; align-items: center; justify-content: center; transition: transform .3s ease-out; }
.mm-header__toggle svg { width: 35px; height: 19px; overflow: visible; }
.mm-header__toggle line { stroke: currentColor; stroke-width: 3; transition: transform .3s ease-out; transform-origin: center; transform-box: fill-box; }
.mm-header__toggle:hover line:nth-child(1), .mm-header__toggle:hover line:nth-child(3) { transform: scaleX(.5); }
.mm-header__toggle:active { transform: scale(.8); }
@media (max-width: 1200px) {
	.mm-header { grid-template-columns: 145px 1fr 65px; column-gap: 25px; padding: 25px 25px 0; }
	.mm-header.is-collapsed { padding: 10px 25px; }
	.mm-header__logo { width: 145px; }
	.mm-header__toggle { inset-inline-end: -12px; }
	.mm-header__nav ul { column-gap: 37px; }
}
@media (max-width: 1120px) { .mm-header__nav ul { grid-template-rows: 1fr 1fr; column-gap: 40px; row-gap: 10px; } }
@media (max-width: 960px) { .mm-header__nav { visibility: hidden; } }
@media (max-width: 750px) {
	.mm-header { padding: 15px 15px 0; column-gap: 15px; grid-template-columns: 130px 1fr 65px; }
	.mm-header.is-collapsed { padding: 10px 15px; }
	.mm-header__logo, .mm-header.is-collapsed .mm-header__logo { width: 120px; }
	.mm-header__nav { display: none; }
	.mm-header__toggle { inset-inline-end: -7px; }
}

/* ---------- Full-screen menu ---------- */
.mm-menu { position: fixed; inset: 0; z-index: 1500; pointer-events: none; visibility: hidden; color: var(--dark); transition: visibility 0s 1s; }
.mm-menu.is-open { pointer-events: auto; visibility: visible; transition: none; }
.mm-menu__bg { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.mm-menu__bg i { display: block; height: 0; background: #fff; transition: height .7s cubic-bezier(.56, 0, .38, 1); }
.mm-menu__bg i:nth-child(2) { transition-delay: .08s; }
.mm-menu__bg i:nth-child(3) { transition-delay: .16s; }
.mm-menu__bg i:nth-child(4) { transition-delay: .24s; }
.mm-menu.is-open .mm-menu__bg i { height: 100%; }
.mm-menu:not(.is-open) .mm-menu__bg i { transition-delay: .2s; }
.mm-menu__head, .mm-menu__grid { position: relative; opacity: 0; transition: opacity .4s ease-out; }
.mm-menu.is-open .mm-menu__head, .mm-menu.is-open .mm-menu__grid { opacity: 1; transition-delay: .45s; }
.mm-menu__head { display: grid; grid-template-columns: 170px 1fr 50px; align-items: center; padding: 35px; }
.mm-menu__head::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 0; border-bottom: 1px solid var(--line); transition: width .7s cubic-bezier(.56, 0, .38, 1); }
.mm-menu.is-open .mm-menu__head::after { width: 100%; transition-delay: .6s; }
.mm-menu__logo { display: block; width: 170px; }
.mm-menu__langs { justify-self: center; display: flex; gap: 35px; font-weight: 600; font-size: .8em; text-transform: uppercase; }
.mm-menu__cita { justify-self: center; display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: .8em; text-transform: uppercase; }
.mm-menu__cita svg { width: 30px; height: 30px; }
.mm-menu__close { justify-self: end; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; position: relative; inset-inline-end: -10px; transition: transform .3s ease-out; }
.mm-menu__close svg { width: 25px; height: 25px; overflow: visible; }
.mm-menu__close line { stroke: var(--dark); stroke-width: 3; transition: transform .3s ease-out; transform-origin: center; transform-box: view-box; }
.mm-menu__close:hover line { transform: rotate(90deg); }
.mm-menu__close:active { transform: scale(.8); }
.mm-menu__grid { display: grid; grid-template-columns: repeat(4, 1fr); align-content: start; grid-auto-rows: minmax(400px, max-content); height: calc(100vh - 121px); height: calc(100dvh - 121px); overflow-y: auto; overscroll-behavior: contain; }
.mm-menu__group { position: relative; padding: 35px 35px 35px; border-inline-end: 1px solid var(--line); }
.mm-menu__group:nth-child(4n) { border-inline-end: 0; }
.mm-menu__title { font-weight: 500; text-transform: uppercase; font-size: 1.8em; line-height: 1.25; margin: 10px 0 30px; }
.mm-menu__group ul { list-style: none; margin: 0; padding: 0; }
.mm-menu__group li { margin-bottom: 15px; }
.mm-menu__group li a { font-weight: 600; font-size: .85em; text-transform: uppercase; }
.mm-menu__group li a::before { height: 2px; bottom: -3px; }
.mm-menu__group a[href^="mailto:"] { text-transform: none; }
@media (max-width: 1200px) {
	.mm-menu__head { grid-template-columns: 145px 1fr 50px; padding: 25px; }
	.mm-menu__logo { width: 145px; }
	.mm-menu__grid { grid-template-columns: repeat(3, 1fr); height: calc(100dvh - 99px); }
	.mm-menu__group, .mm-menu__group:nth-child(4n) { border-inline-end: 1px solid var(--line); padding: 25px; }
	.mm-menu__group:nth-child(3n) { border-inline-end: 0; }
}
@media (max-width: 960px) {
	.mm-menu__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: max-content; }
	.mm-menu__group, .mm-menu__group:nth-child(3n) { border-inline-end: 1px solid var(--line); min-height: 0; border-bottom: 1px solid var(--line); }
	.mm-menu__group:nth-child(2n) { border-inline-end: 0; }
}
@media (max-width: 750px) {
	.mm-menu__head { grid-template-columns: 1fr 50px; grid-template-areas: "logo close" "langs langs"; row-gap: 14px; padding: 15px; }
	.mm-menu__logo { grid-area: logo; width: 120px; }
	.mm-menu__close { grid-area: close; inset-inline-end: -7px; }
	.mm-menu__langs { grid-area: langs; justify-self: start; gap: 20px; }
	.mm-menu__cita { grid-area: cita; justify-self: end; grid-column: 1 / -1; grid-row: 2; }
	.mm-menu__cita svg { width: 22px; height: 22px; }
	.mm-menu__grid { grid-template-columns: 1fr; height: calc(100dvh - 115px); }
	.mm-menu__group, .mm-menu__group:nth-child(n) { border-inline-end: 0; padding: 22px 15px 10px; }
	.mm-menu__title { font-size: 1.5em; margin: 0 0 18px; }
	.mm-menu__bg { grid-template-columns: 1fr 1fr; }
}

/* ---------- Appointment bubble ---------- */

/* ---------- Hero ---------- */
.mm-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; height: 100vh; height: 100svh; min-height: 520px; max-height: -webkit-fill-available; overflow: hidden; background: var(--dark); color: #fff; margin-bottom: var(--mb); }
.mm-hero__media { position: absolute; inset: 0; }
.mm-hero__media::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .28; z-index: 1; }
.mm-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease-out; overflow: hidden; }
.mm-hero__slide.is-active { opacity: 1; }
.mm-hero { --kb: 7s; }
.mm-hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transform-origin: 50% 100%; transform: scale(1.04) translateX(1.5%); will-change: transform; }
.mm-hero__slide.is-active img, .mm-hero__slide.is-leaving img { animation: mm-kb var(--kb) linear forwards; }
@keyframes mm-kb { from { transform: scale(1.04) translateX(1.5%); } to { transform: scale(1.04) translateX(-1.5%); } }
[dir="rtl"] .mm-hero__slide.is-active img, [dir="rtl"] .mm-hero__slide.is-leaving img { animation-name: mm-kb-rtl; }
@keyframes mm-kb-rtl { from { transform: scale(1.04) translateX(-1.5%); } to { transform: scale(1.04) translateX(1.5%); } }
@media (max-aspect-ratio: 5/4) {
	.mm-hero__slide img { object-position: 0% 50%; transform: none; }
	.mm-hero__slide.is-active img, .mm-hero__slide.is-leaving img { animation-name: mm-kb-pan; animation-timing-function: ease-in-out; }
	@keyframes mm-kb-pan { from { object-position: 0% 50%; } to { object-position: 100% 50%; } }
	[dir="rtl"] .mm-hero__slide.is-active img, [dir="rtl"] .mm-hero__slide.is-leaving img { animation-name: mm-kb-pan-rtl; }
	@keyframes mm-kb-pan-rtl { from { object-position: 100% 50%; } to { object-position: 0% 50%; } }
}
@media (prefers-reduced-motion: reduce) { .mm-hero__slide.is-active img, .mm-hero__slide.is-leaving img { animation: none; } }
.mm-hero__wrap { position: relative; z-index: 2; min-width: 0; width: 80%; max-width: 62.5rem; display: flex; flex-direction: column; row-gap: 35px; top: .3em; }
.mm-hero__eyebrow { margin: 0; font-weight: 600; text-transform: uppercase; font-size: 1em; text-align: start; padding-inline-start: 8px; }
.mm-hero__title { margin: 0; font-weight: 500; text-transform: uppercase; font-size: 7em; line-height: 1.12; letter-spacing: -0.005em; }
.mm-hero__line { display: block; white-space: nowrap; text-align: center; }
.mm-hero__titles { display: grid; }
.mm-hero--per .mm-hero__title { grid-area: 1 / 1; display: block; color: inherit; opacity: 0; transform: translateY(18px); transition: opacity .8s ease-out, transform 1s cubic-bezier(.2, .6, .2, 1); pointer-events: none; }
.mm-hero--per .mm-hero__title.is-active { opacity: 1; transform: none; transition-delay: .35s; pointer-events: auto; }
/* Corner hero: title sits bottom-start, image stays clear */
.mm-hero--corner .mm-hero__media::after { opacity: 1; background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 35%, rgba(0, 0, 0, 0) 60%), linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 22%); }
.mm-hero--corner .mm-hero__eyebrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; }
.mm-hero--corner .mm-hero__wrap { position: absolute; top: auto; bottom: 90px; inset-inline-start: var(--m); width: calc(100% - 2 * var(--m)); max-width: 60rem; row-gap: 0; }
.mm-hero--sub .mm-hero__wrap { max-width: 46rem; }
.mm-hero--corner .mm-hero__title { font-size: min(6rem, 7.5vw); line-height: 1.05; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.mm-hero.mm-hero--corner .mm-hero__line, .mm-hero.mm-hero--corner .mm-hero__line:nth-child(n) { text-align: start; margin: 0; }
.mm-hero.mm-hero--sub .mm-hero__line:nth-child(2) { margin-top: .45em; font-size: .2em; font-weight: 600; letter-spacing: .14em; }
@media (max-width: 750px) { .mm-hero--corner .mm-hero__wrap { bottom: 70px; } .mm-hero--corner .mm-hero__title { font-size: min(4rem, 13vw); letter-spacing: 0; } .mm-hero--sub .mm-hero__title { font-size: min(4rem, 15vw); } .mm-hero.mm-hero--sub .mm-hero__line:nth-child(2) { font-size: .26em; } }
.mm-hero--two .mm-hero__line:nth-child(1) { text-align: start; }
.mm-hero--two .mm-hero__line:nth-child(2) { text-align: end; margin-top: -.08em; }
.mm-hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 45px; transform: translateX(-50%); font-weight: 600; font-size: .8em; text-transform: uppercase; white-space: nowrap; animation: mm-bob 2.4s ease-in-out infinite; }
@keyframes mm-bob { 50% { transform: translate(-50%, 6px); } }
.mm-hero__bars { position: absolute; z-index: 2; bottom: 45px; inset-inline-start: 35px; display: flex; gap: 8px; }
.mm-hero__bars i { display: block; width: 80px; height: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.mm-hero__bars b { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .mm-hero__bars b { transform-origin: right center; }
.mm-hero__bars i.is-active b { transform: scaleX(1); transition: transform var(--kb) linear; }
.mm-hero__bars i.is-done b { transform: scaleX(1); }
@media (max-width: 1200px) { .mm-hero__scroll, .mm-hero__bars { bottom: 30px; } .mm-hero__bars { inset-inline-start: 25px; } }
@media (max-width: 750px) {
	.mm-hero__wrap { width: calc(100% - 30px); row-gap: 20px; }
	.mm-hero__title { letter-spacing: -0.03em; }
	.mm-hero--two .mm-hero__line:nth-child(n), .mm-hero__eyebrow { text-align: center; padding: 0; }
	.mm-hero__scroll { bottom: 60px; }
	.mm-hero__bars { inset-inline: 15px; bottom: 30px; }
	.mm-hero__bars i { flex: 1; width: auto; }
}

/* ---------- Highlights (novelties) ---------- */
.mm-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.mm-news__item { display: flex; flex-direction: column; }
.mm-news__img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #eee; }
.mm-news__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease-out; }
.mm-news__item:hover .mm-news__img img { transform: scale(1.08); }
.mm-news__text { display: flex; flex-direction: column; }
.mm-news__k { position: relative; align-self: flex-start; margin-top: 15px; font-weight: 600; text-transform: uppercase; color: var(--dark); }
.mm-news__k::before { content: ""; position: absolute; inset-inline-start: 0; bottom: -4px; width: 100%; height: 3px; background: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform .3s var(--ease); }
.mm-news__item:hover .mm-news__k::before { transform: scaleX(1); transform-origin: left center; }
.mm-news__p { font-size: 1.2em; margin: 14px 0 15px; }
.mm-news__more { font-weight: 600; font-size: .8em; text-transform: uppercase; opacity: 0; transition: opacity .3s ease-out; }
.mm-news__item:hover .mm-news__more, .mm-news__item:focus-visible .mm-news__more { opacity: 1; transition-duration: .6s; }
@media (max-width: 960px) { .mm-news { grid-template-columns: 1fr; row-gap: 45px; } .mm-news__item { display: grid; grid-template-columns: 1fr 1fr; column-gap: 25px; align-items: center; } .mm-news__k { margin-top: 0; } }
@media (max-width: 578px) { .mm-news__item { display: flex; } .mm-news__k { margin-top: 15px; } .mm-news__more { opacity: 1; } }

/* ---------- Banner tiles ---------- */
.mm-tiles { display: grid; gap: var(--gap); }
.mm-tiles--two { grid-template-columns: repeat(2, 1fr); }
.mm-tiles--one { grid-template-columns: 1fr; }
.mm-tile { position: relative; display: block; aspect-ratio: 3 / 2; color: #fff; overflow: hidden; container-type: inline-size; }
.mm-tiles--three { grid-template-columns: repeat(3, 1fr); }
.mm-tiles--three .mm-tile__title { font-size: min(3.6rem, 10cqw); }
.mm-tile__img { position: absolute; inset: 0; overflow: hidden; background: #ddd; }
.mm-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease-out; }
.mm-tile__img::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .3; }
.mm-tile:hover .mm-tile__img img { transform: scale(1.1); }
.mm-tile__text { position: absolute; z-index: 2; inset: 7.5%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.mm-tile__title { font-weight: 500; text-transform: uppercase; font-size: min(4.5rem, 9cqw); line-height: 1.2; overflow-wrap: anywhere; }

.mm-tiles--one .mm-tile__title { font-size: min(7rem, 7.6cqw); }
.mm-tile__title--lines span { display: block; }
.mm-tile__sub { position: relative; margin-top: 18px; font-weight: 600; text-transform: uppercase; }
.mm-tile__sub::before { content: ""; position: absolute; inset-inline-start: 0; bottom: -4px; width: 100%; height: 3px; background: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform .3s var(--ease); }
.mm-tile:hover .mm-tile__sub::before { transform: scaleX(1); transform-origin: left center; }
.mm-tile__text .mm-arrow { position: absolute; bottom: 0; }
@media (max-width: 960px) { .mm-tiles--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 750px) { .mm-tiles--two, .mm-tiles--three { grid-template-columns: 1fr; } }
@media (max-width: 578px) { .mm-tile__title, .mm-tiles--three .mm-tile__title, .mm-tiles--one .mm-tile__title { font-size: min(2.6rem, 10cqw); } .mm-tile__text .mm-arrow { display: none; } .mm-tile__sub { margin-top: 10px; font-size: .85em; } .mm-tile__text { inset: 6%; } .mm-tile__text .mm-arrow { width: 90px; } }

/* ---------- Titular / paragraph / single image ---------- */
.mm-titular .mm-h2 { width: 100%; }
.mm-first { padding-top: 190px; }
@media (max-width: 750px) { .mm-first { padding-top: 130px; } }
.mm-parrafo { display: flex; flex-direction: column; align-items: flex-end; }
.mm-parrafo__in { width: 100%; max-width: 37.5rem; }
.mm-parrafo p { font-size: 1.5em; text-indent: 100px; }
.mm-parrafo p:last-child { margin-bottom: 0; }
.mm-parrafo .mm-parrafo__note { font-size: 1em; text-indent: 0; color: #6b6b6b; margin-top: 1.6em; }
@media (max-width: 960px) { .mm-parrafo p { font-size: 1.3em; } }
@media (max-width: 578px) { .mm-parrafo p { text-indent: 50px; } }
.mm-meta { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.mm-meta li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mm-meta span { font-weight: 600; font-size: .8em; text-transform: uppercase; }
.mm-meta a::before { height: 2px; bottom: -3px; }
.mm-single__img { overflow: hidden; aspect-ratio: 3 / 2; }
.mm-single__img img { width: 100%; height: 100%; object-fit: cover; }
.mm-prose p { text-indent: 0; }

/* ---------- CTA link ---------- */
.mm-ctawrap { display: flex; justify-content: center; }
.mm-cta { display: inline-flex; align-items: center; gap: 24px; color: var(--dark); }
.mm-cta__t { font-weight: 600; text-transform: uppercase; font-size: 1em; }
.mm-cta__t i { font-weight: 400; }
.mm-cta--small { gap: 14px; margin-top: 10px; }
.mm-cta--small .mm-cta__t { font-size: .8em; }
@media (max-width: 578px) { .mm-cta .mm-arrow:not(.mm-arrow--short) { width: 110px; } .mm-cta { gap: 14px; } .mm-cta__t { font-size: .9em; } }

/* ---------- Big words ---------- */
.mm-words__in { max-width: 90rem; margin-inline: auto; display: flex; flex-direction: column; padding-top: 35px; }
.mm-words__row { display: flex; align-items: center; width: fit-content; margin: 0; font-weight: 500; text-transform: uppercase; font-size: min(6.5vw, 6.5rem); line-height: 1.25; }
.mm-words__row--center { align-self: center; }
.mm-words__row--start { align-self: flex-start; }
.mm-words__row--end { align-self: flex-end; }
.mm-words__img { display: block; flex: none; width: 13vw; max-width: 12.5rem; height: 8.67vw; max-height: 8.33rem; margin: 0 15px; overflow: hidden; position: relative; top: -0.04em; }
.mm-words__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1) .2s; }
.mm-words__row.is-in .mm-words__img img, html:not(.js) .mm-words__img img { transform: scale(1); }
@media (max-width: 960px) { .mm-words__img { margin: 0 10px; } }

/* ---------- Staggered slider ---------- */
.mm-slider { position: relative; }
.mm-slider__track { display: flex; gap: var(--gap); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-bottom: 60px; cursor: grab; }
.mm-slider__track::-webkit-scrollbar { display: none; }
.mm-slider__track::after { content: ""; flex: 0 0 1px; }
.mm-slider__track.is-drag { cursor: grabbing; }
.mm-slider__track.is-drag a { pointer-events: none; }
.mm-slider__item { flex: 0 0 27.5rem; display: block; color: var(--dark); }
.mm-slider__item:nth-child(2n) { margin-top: 7.5rem; }
.mm-slider__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #eee; }
.mm-slider__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease-out; -webkit-user-drag: none; }
.mm-slider__item:hover .mm-slider__img img { transform: scale(1.08); }
.mm-caption { display: block; margin-top: 10px; font-size: .8em; font-weight: 600; text-transform: uppercase; opacity: 0; transition: opacity .3s ease-out; }
.mm-slider__item:hover .mm-caption, .mm-slider__item:focus-visible .mm-caption { opacity: 1; }
@media (hover: none) { .mm-caption { opacity: 1; } }
@media (max-width: 750px) { .mm-slider__item { flex-basis: 78vw; max-width: 22rem; } .mm-slider__item:nth-child(2n) { margin-top: 3.5rem; } .mm-slider__track { padding-bottom: 30px; } }

/* ---------- Marquee ---------- */
.mm-marquee { overflow: hidden; padding: 20px 0; }
.mm-marquee__track { display: flex; width: max-content; animation: mm-marquee 45s linear infinite; }
.mm-marquee:hover .mm-marquee__track { animation-play-state: paused; }
.mm-marquee__list { display: flex; align-items: center; gap: 150px; padding-inline-end: 150px; }
.mm-marquee__item { font-weight: 500; text-transform: uppercase; font-size: 3.2em; line-height: 1.6; color: var(--dark); transition: opacity .3s ease-out; white-space: nowrap; }
.mm-marquee__item:hover { opacity: .4; }
@keyframes mm-marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .mm-marquee__track { animation-name: mm-marquee-rtl; }
@keyframes mm-marquee-rtl { to { transform: translateX(50%); } }
@media (max-width: 750px) { .mm-marquee__list { gap: 70px; padding-inline-end: 70px; } .mm-marquee__item { font-size: 2.2em; } }
@media (prefers-reduced-motion: reduce) { .mm-marquee__track { animation: none; } .mm-marquee { overflow-x: auto; } }

/* ---------- Gallery ---------- */
.mm-gallery__track { display: flex; gap: 35px; height: 50vw; max-height: 85vh; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; }
.mm-gallery__track::-webkit-scrollbar { display: none; }
.mm-gallery__track::after { content: ""; flex: 0 0 1px; }
.mm-gallery__track.is-drag { cursor: grabbing; }
.mm-gallery__item { flex: none; height: 100%; overflow: hidden; cursor: zoom-in; }
.mm-gallery__item img { height: 100%; width: auto; max-width: none; object-fit: cover; -webkit-user-drag: none; }
@media (max-width: 750px) { .mm-gallery__track { height: 75vw; gap: 15px; } }

/* ---------- Facts ---------- */
.mm-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.mm-facts__t { font-weight: 500; text-transform: uppercase; font-size: 1.8em; line-height: 1.2; margin: 0 0 22px; color: var(--dark); }
.mm-facts p { font-size: 1.15em; margin: 0; }
@media (max-width: 960px) { .mm-facts { grid-template-columns: 1fr; gap: 45px; } .mm-facts p { max-width: 40rem; } }

/* ---------- Product grid (all products) ---------- */
.mm-all__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px 50px; margin-bottom: 50px; }
.mm-filter { display: flex; flex-wrap: wrap; gap: 14px 35px; }
.mm-filter button { font-weight: 600; text-transform: uppercase; font-size: .9em; color: var(--dark); }
.mm-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 35px; row-gap: 60px; }
.mm-card { display: block; color: var(--dark); }
.mm-card.is-hidden { display: none; }
.mm-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #eee; }
.mm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease-out, opacity .5s ease-out; }
.mm-card__alt { position: absolute; inset: 0; opacity: 0; }
.mm-card:hover .mm-card__media img { transform: scale(1.08); }
.mm-card.has-alt:hover .mm-card__alt { opacity: 1; }
.mm-card__meta { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.mm-card__kicker { font-weight: 600; font-size: .8em; text-transform: uppercase; }
.mm-card__title { font-size: 1.3em; }
@media (max-width: 960px) { .mm-grid { grid-template-columns: repeat(2, 1fr); column-gap: 25px; } }
@media (max-width: 578px) { .mm-grid { grid-template-columns: 1fr; row-gap: 40px; } }

/* Export countries */
.mm-countries__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 45px var(--gap); }
.mm-countries__region.is-hidden { display: none; }
.mm-countries__region ul { list-style: none; margin: 0; padding: 0; font-size: 1.15em; line-height: 1.8; }

/* ---------- Locations ---------- */
.mm-locs { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.mm-loc__map { aspect-ratio: 4 / 3; margin-bottom: 30px; background: #eee; }
.mm-loc__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.mm-loc p { font-size: 1.15em; }
.mm-loc a.mm-ul::before { height: 2px; bottom: -3px; }
@media (max-width: 750px) { .mm-locs { grid-template-columns: 1fr; gap: 50px; } }

/* ---------- Form ---------- */
.mm-formsec { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--gap); align-items: start; scroll-margin-top: 90px; }
.mm-formsec__list { list-style: none; margin: 35px 0 0; padding: 0; font-size: 1.2em; }
.mm-formsec__list li { margin-bottom: 12px; }
.mm-formsec__list small { font-size: .7em; text-transform: uppercase; font-weight: 600; }
.mm-formsec__list a::before { height: 2px; bottom: -3px; }
@media (max-width: 960px) { .mm-formsec { grid-template-columns: 1fr; gap: 45px; } }
.mm-form { display: flex; flex-direction: column; gap: 28px; }
.mm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 35px; }
@media (max-width: 578px) { .mm-form__row { grid-template-columns: 1fr; } }
.mm-field { display: flex; flex-direction: column; gap: 6px; }
.mm-field > span { font-weight: 600; font-size: .75em; text-transform: uppercase; letter-spacing: .02em; }
.mm-field input, .mm-field select, .mm-field textarea { width: 100%; font: inherit; font-size: 1.1em; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--dark); border-radius: 0; padding: 10px 0; outline: none; transition: border-color .2s; -webkit-appearance: none; appearance: none; }
.mm-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232f2f2f' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 12px; background-position: right 2px center; padding-inline-end: 24px; }
[dir="rtl"] .mm-field select { background-position: left 2px center; }
.mm-field textarea { resize: vertical; min-height: 120px; border: 1px solid var(--dark); padding: 12px; }
.mm-field input:focus, .mm-field select:focus, .mm-field textarea:focus { border-color: #000; box-shadow: 0 1px 0 #000; }
.mm-check { display: flex; gap: 12px; align-items: flex-start; font-size: .9em; cursor: pointer; }
.mm-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #000; flex: none; }
.mm-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; background: #000; border: 2px solid #000; color: #fff; font-weight: 600; font-size: .8em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.mm-btn:hover { background: #fff; color: #000; }
.mm-btn .mm-i { width: 22px; height: 22px; }
[dir="rtl"] .mm-btn .mm-i--arrow { transform: scaleX(-1); }
.mm-form__notice { margin: 0; padding: 14px 16px; font-size: .95em; }
.mm-form__notice--ok { background: #eef4ec; color: #24461f; }
.mm-form__notice--err { background: #f7eaea; color: #6b1f1f; }

/* ---------- Footer ---------- */
.mm-footer { background: #f4f0ea; color: var(--dark); }
.mm-footer__in { padding-top: 90px; padding-bottom: 35px; }
.mm-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--gap); align-items: end; padding-bottom: 70px; border-bottom: 1px solid #d9d2c7; }
.mm-footer__big { margin: 0; font-weight: 500; text-transform: uppercase; font-size: min(6.2vw, 6rem); line-height: 1.05; letter-spacing: -.01em; }
.mm-footer__big span { display: block; }
.mm-footer__big span + span { padding-inline-start: 1.2em; font-weight: 300; }
.mm-footer__reach { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 30rem; justify-self: end; }
.mm-footer__reach p { margin: 0; font-size: 1.05em; }
.mm-footer__cta { display: inline-flex; align-items: center; gap: 22px; padding: 18px 26px; background: var(--dark); color: #fff; font-weight: 600; text-transform: uppercase; transition: background-color .3s ease-out; }
.mm-footer__cta:hover { background: #000; }
.mm-footer__cta .mm-arrow { width: 70px; color: #fff; }
.mm-footer__cta .mm-arrow svg, .mm-footer__cta .mm-arrow__in { transform: translateX(0); }
.mm-footer__tel { font-size: 1.6em; font-weight: 500; }
.mm-footer__cols { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.2fr; gap: var(--gap); padding: 70px 0; }
.mm-footer__logo { display: block; width: 170px; margin-bottom: 22px; }
.mm-footer__logo img { width: 100%; height: auto; }
.mm-footer__brand p { margin: 0 0 22px; font-size: .9em; max-width: 24rem; }
.mm-footer__social { display: flex; gap: 14px; }
.mm-footer__social a { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid #cfc7bb; border-radius: 50%; color: var(--dark); transition: background-color .3s, color .3s, border-color .3s; }
.mm-footer__social a:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.mm-footer__social svg { width: 20px; height: 20px; }
.mm-footer__col h3 { margin: 0 0 22px; font-size: .8em; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #8a8177; }
.mm-footer__col ul { list-style: none; margin: 0; padding: 0; }
.mm-footer__col li { margin-bottom: 12px; }
.mm-footer__col li a { font-weight: 500; }
.mm-footer__col--cols ul { columns: 2; column-gap: 30px; }
.mm-footer__col--cols li { break-inside: avoid; }
.mm-footer__contact p { margin: 0 0 18px; font-size: .95em; }
.mm-footer__contact strong { display: block; margin-bottom: 4px; font-size: .75em; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #8a8177; }
.mm-footer__contact a { text-transform: none; overflow-wrap: anywhere; }
.mm-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 35px; padding-top: 25px; border-top: 1px solid #d9d2c7; font-size: .8em; }
.mm-footer__bar p { margin: 0; }
.mm-footer__langs { display: flex; gap: 20px; font-weight: 600; }
.mm-footer__langs .is-sel { color: #8a8177; }
.mm-footer__top-link { font-weight: 600; text-transform: uppercase; }
@media (max-width: 1200px) { .mm-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .mm-footer__top { grid-template-columns: 1fr; align-items: start; } .mm-footer__reach { justify-self: start; } .mm-footer__big { font-size: min(10vw, 5rem); } }
@media (max-width: 750px) {
	.mm-footer__in { padding-top: 60px; padding-bottom: 25px; }
	.mm-footer__top { padding-bottom: 45px; }
	.mm-footer__cols { grid-template-columns: 1fr 1fr; padding: 45px 0; row-gap: 45px; }
	.mm-footer__brand { grid-column: 1 / -1; }
	.mm-footer__contact { grid-column: 1 / -1; }
	.mm-footer__bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 414px) { .mm-footer__cols { grid-template-columns: 1fr; } .mm-footer__col--cols ul { columns: 2; } .mm-footer__cta { padding: 16px 20px; } .mm-footer__tel { font-size: 1.35em; } }

/* ---------- Lightbox ---------- */
.mm-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(255, 255, 255, .98); display: grid; place-items: center; opacity: 0; transition: opacity .3s; color: var(--dark); }
.mm-lightbox.is-open { opacity: 1; }
.mm-lightbox[hidden] { display: none; }
.mm-lightbox__fig { margin: 0; width: 100%; height: 100%; display: grid; place-items: center; padding: 70px 80px; }
.mm-lightbox__fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.mm-lightbox button { position: absolute; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
.mm-lightbox button svg { width: 28px; height: 28px; overflow: visible; }
.mm-lightbox__close { top: 25px; inset-inline-end: 25px; }
.mm-lightbox__close line { stroke: currentColor; stroke-width: 3; }
.mm-lightbox__prev { inset-inline-start: 15px; top: 50%; transform: translateY(-50%); }
.mm-lightbox__next { inset-inline-end: 15px; top: 50%; transform: translateY(-50%); }
[dir="rtl"] .mm-lightbox__prev svg, [dir="rtl"] .mm-lightbox__next svg { transform: scaleX(-1); }
.mm-lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); margin: 0; font-weight: 600; font-size: .8em; }
@media (max-width: 750px) { .mm-lightbox__fig { padding: 70px 10px; } .mm-lightbox__prev, .mm-lightbox__next { top: auto !important; bottom: 5px; transform: none !important; } }
.mm-i { width: 24px; height: 24px; }

/* Never crop furniture from below: any aspect mismatch trims the top (wall/ceiling) only */
.mm-tile__img img, .mm-card__media img, .mm-slider__img img, .mm-news__img img, .mm-words__img img { object-position: 50% 100%; }
@container (max-width: 440px) { .mm-tile__text .mm-arrow { display: none; } .mm-tile__sub { margin-top: 10px; } }

/* Circular 3D carousel (home rooms) — port of React Bits CircularCarousel */
.mm-cc { position: relative; overflow: hidden; }
.mm-cc__view { position: relative; width: 100%; height: 34vw; overflow: hidden; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; cursor: grab; -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.mm-cc__view.is-drag { cursor: grabbing; }
.mm-cc__view:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.mm-cc__stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .45s ease; }
.mm-cc.is-ready .mm-cc__stage { opacity: 1; }
.mm-cc__camera, .mm-cc__ring, .mm-cc__card { width: 0; height: 0; transform-style: preserve-3d; }
.mm-cc__camera { position: relative; }
.mm-cc__ring, .mm-cc__card { position: absolute; left: 0; top: 0; }
.mm-cc__card { cursor: pointer; }
.mm-cc__tile { position: absolute; outline: 1px solid transparent; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mm-cc__frame { position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; }
.mm-cc__photo { position: absolute; display: block; max-width: none; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.mm-cc__shade, .mm-cc__inner { position: absolute; inset: 0; pointer-events: none; background: #fff; }
.mm-cc__shade { opacity: var(--cc-depth, 0); }
.mm-cc__inner { opacity: .5; }
.mm-cc__caption { display: flex; justify-content: center; margin-top: 28px; text-align: center; }
.mm-cc__title { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mm-cc__title.is-anim { animation: mm-cc-title .52s cubic-bezier(.22,1,.36,1); }
.mm-cc__t { font-weight: 500; text-transform: uppercase; font-size: min(3.2rem, 9vw); line-height: 1.1; }
.mm-cc__s { font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; opacity: .6; }
.mm-cc__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.mm-cc__cats a { padding: .75em 1.4em; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.mm-cc__cats a:hover { border-color: var(--ink); }
.mm-cc__cats a.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mm-cc__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
@keyframes mm-cc-title { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 750px) { .mm-cc__caption { margin-top: 18px; } .mm-cc__cats { gap: 8px; margin-top: 18px; } .mm-cc__cats a { padding: .65em 1.1em; font-size: .72rem; } }
@media (prefers-reduced-motion: reduce) { .mm-cc__stage { transition: none; } .mm-cc__title.is-anim { animation: none; } }
