/* ==========================================================================
   Marbel Home 2026 — homepage styles (scoped to body.marbel-home main.mh)
   ========================================================================== */

html.mh-js { scroll-behavior: smooth; }
body.marbel-home { background: #0d0d0d; margin: 0; }

.marbel-home .mh {
	--ink: #0d0d0d;
	--ink2: #141613;
	--stone: #f4f1ea;
	--stone2: #e7e2d6;
	--white: #ffffff;
	--sage: #9db17d;
	--sage2: #7e9560;
	--sage-text: #4e6a3a;
	--text: #171a16;
	--muted: #5d6159;
	--muted-d: #aeb2a7;
	--line: rgba(23, 26, 22, 0.12);
	--line-d: rgba(255, 255, 255, 0.14);
	--radius: 20px;
	--shadow: 0 18px 50px -24px rgba(13, 13, 13, 0.35);
	display: block;
	font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.marbel-home .mh *,
.marbel-home .mh *::before,
.marbel-home .mh *::after { box-sizing: border-box; }
.marbel-home .mh img { max-width: 100%; height: auto; display: block; }
.marbel-home .mh a { color: inherit; }
.marbel-home .mh p { margin: 0; }
.marbel-home .mh ul,
.marbel-home .mh ol { list-style: none; margin: 0; padding: 0; }
.marbel-home .mh h1,
.marbel-home .mh h2,
.marbel-home .mh h3,
.marbel-home .mh h4 {
	font-family: "Fraunces", Georgia, "Times New Roman", serif;
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -0.012em;
	margin: 0;
	color: inherit;
	font-variation-settings: "opsz" 96;
}
.marbel-home .mh section[id] { scroll-margin-top: 90px; }

.mh-wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .mh-wrap { width: calc(100% - 32px); } }

.mh-section { padding: clamp(72px, 9vw, 120px) 0; }
.mh-light { background: var(--white); }
.mh-stone { background: var(--stone); }
.mh-dark { background: var(--ink); color: var(--white); }

.marbel-home .mh .mh-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sage-text);
}
.marbel-home .mh .mh-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--sage); }
.marbel-home .mh .mh-dark .mh-eyebrow,
.marbel-home .mh .mh-hero .mh-eyebrow,
.marbel-home .mh .mh-winter .mh-eyebrow { color: var(--sage); }

.marbel-home .mh .mh-h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 17ch; }
.marbel-home .mh .mh-lead { margin-top: 18px; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); max-width: 58ch; }
.marbel-home .mh .mh-dark .mh-lead { color: var(--muted-d); }
.mh-head { margin-bottom: clamp(36px, 5vw, 56px); }
.mh-head--split { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
@media (max-width: 820px) { .mh-head--split { grid-template-columns: 1fr; } }

/* Buttons ------------------------------------------------------------- */
.marbel-home .mh .mh-btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	height: 58px;
	padding: 0 28px 0 9px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.marbel-home .mh .mh-btn__i {
	display: inline-grid;
	place-items: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s;
}
.marbel-home .mh .mh-btn__i svg { width: 18px; height: 18px; }
.marbel-home .mh .mh-btn--primary { background: var(--sage); color: var(--ink); }
.marbel-home .mh .mh-btn--primary .mh-btn__i { background: var(--ink); color: var(--sage); }
.marbel-home .mh .mh-btn--primary:hover { background: #a9bc8c; transform: translateY(-2px); }
.marbel-home .mh .mh-btn--ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px); }
.marbel-home .mh .mh-btn--ghost .mh-btn__i { background: rgba(255, 255, 255, 0.14); color: #fff; }
.marbel-home .mh .mh-btn--ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.marbel-home .mh .mh-btn--ink { background: var(--ink); color: #fff; }
.marbel-home .mh .mh-btn--ink .mh-btn__i { background: var(--sage); color: var(--ink); }
.marbel-home .mh .mh-btn--ink:hover { background: #242723; transform: translateY(-2px); }
.marbel-home .mh .mh-btn--outline { background: transparent; color: var(--ink); border-color: rgba(23, 26, 22, 0.22); }
.marbel-home .mh .mh-btn--outline .mh-btn__i { background: var(--stone2); color: var(--ink); }
.marbel-home .mh .mh-btn--outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.marbel-home .mh .mh-btn:hover .mh-btn__i { transform: rotate(-45deg); }
.marbel-home .mh .mh-btn--call:hover .mh-btn__i { transform: none; }
.mh-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.marbel-home .mh .mh-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--sage-text);
	text-decoration: none;
}
.marbel-home .mh .mh-link svg { width: 16px; height: 16px; transition: transform 0.25s; }
.marbel-home .mh .mh-link:hover svg,
.marbel-home .mh .mh-card:hover .mh-link svg,
.marbel-home .mh .mh-post:hover .mh-link svg { transform: translateX(4px); }

/* Hero ---------------------------------------------------------------- */
.mh-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: min(94vh, 920px);
	padding: 180px 0 52px;
	color: #fff;
	background: var(--ink);
}
.marbel-home .mh .mh-hero__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 62%;
}
.mh-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(13, 13, 13, 0.82) 0%, rgba(13, 13, 13, 0.28) 28%, rgba(13, 13, 13, 0.1) 52%, rgba(13, 13, 13, 0.92) 100%),
		linear-gradient(100deg, rgba(13, 13, 13, 0.84) 0%, rgba(13, 13, 13, 0.55) 40%, rgba(13, 13, 13, 0.05) 78%);
}
.mh-hero__content { max-width: 800px; }
.marbel-home .mh .mh-hero__title { font-size: clamp(40px, 5.2vw, 70px); max-width: 15ch; color: #fff; }
.marbel-home .mh .mh-hero__title em { font-style: italic; font-weight: 500; color: var(--sage); }
.marbel-home .mh .mh-hero__lead { margin-top: 24px; max-width: 58ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: rgba(255, 255, 255, 0.84); }
.marbel-home .mh .mh-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: clamp(48px, 6vw, 80px) 0 0;
	padding: 26px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.mh-hero__stats li { display: grid; gap: 5px; }
.mh-hero__stats strong {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 600;
	font-size: clamp(26px, 2.4vw, 34px);
	line-height: 1;
	letter-spacing: -0.01em;
	color: #fff;
}
.mh-hero__stats span { font-size: 14px; color: rgba(255, 255, 255, 0.74); }
@media (max-width: 900px) { .marbel-home .mh .mh-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; } }
@media (max-width: 640px) {
	.mh-hero { padding: 120px 0 40px; min-height: 0; }
	.marbel-home .mh .mh-hero__title { font-size: clamp(36px, 10.5vw, 44px); }
	.marbel-home .mh .mh-hero__img { object-position: 60% 50%; }
	.mh-actions .mh-btn { width: 100%; justify-content: flex-start; }
}

/* Services -------------------------------------------------------------- */
.mh-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .mh-services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mh-services__grid { grid-template-columns: 1fr; } }
.marbel-home .mh .mh-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
}
.marbel-home .mh .mh-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mh-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone2); }
.marbel-home .mh .mh-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.marbel-home .mh .mh-card:hover .mh-card__media img { transform: scale(1.05); }
.mh-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.marbel-home .mh .mh-card__title { font-size: 22px; line-height: 1.15; }
.marbel-home .mh .mh-card__text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.mh-card__more { margin-top: auto; padding-top: 8px; }

/* About ----------------------------------------------------------------- */
.mh-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .mh-about__grid { grid-template-columns: 1fr; } }
.mh-about__media { position: relative; }
.marbel-home .mh .mh-about__media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 28px; }
@media (max-width: 900px) { .marbel-home .mh .mh-about__media img { aspect-ratio: 4 / 3; } }
.mh-badge {
	position: absolute;
	left: -18px;
	bottom: 36px;
	display: grid;
	gap: 2px;
	padding: 18px 22px;
	border-radius: 16px;
	background: var(--ink);
	color: #fff;
	box-shadow: var(--shadow);
}
.mh-badge strong { font-family: "Fraunces", Georgia, serif; font-size: 34px; font-weight: 600; line-height: 1; color: var(--sage); }
.mh-badge span { font-size: 13px; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 640px) { .mh-badge { left: 14px; bottom: 14px; } }
.mh-about__copy { display: grid; gap: 16px; margin-top: 22px; font-size: 16.5px; color: var(--muted); }
.marbel-home .mh .mh-points { display: grid; gap: 18px; margin: 30px 0 0; }
.mh-points li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.mh-points__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sage); color: var(--ink); }
.mh-points__icon svg { width: 16px; height: 16px; }
.mh-points strong { display: block; font-size: 17px; font-weight: 700; }
.mh-points div > span { font-size: 15px; color: var(--muted); }

/* Process --------------------------------------------------------------- */
.mh-process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
@media (max-width: 980px) { .mh-process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mh-process__grid { grid-template-columns: 1fr; } }
.mh-step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-d); }
.mh-step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--sage); }
.mh-step__num { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; font-size: 44px; line-height: 1; color: var(--sage); }
.marbel-home .mh .mh-step h3 { margin-top: 22px; font-size: 22px; color: #fff; }
.marbel-home .mh .mh-step p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted-d); }

/* Gallery --------------------------------------------------------------- */
.mh-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .mh-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.marbel-home .mh .mh-tile { position: relative; margin: 0; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 3; background: var(--stone2); }
.marbel-home .mh .mh-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.marbel-home .mh .mh-tile:hover img { transform: scale(1.05); }
.marbel-home .mh .mh-tile figcaption {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(13, 13, 13, 0.72);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	backdrop-filter: blur(6px);
}

/* Winter ---------------------------------------------------------------- */
.mh-winter { position: relative; isolation: isolate; padding: clamp(88px, 11vw, 150px) 0; color: #fff; background: var(--ink); }
.marbel-home .mh .mh-winter__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.mh-winter::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(95deg, rgba(13, 13, 13, 0.93) 0%, rgba(13, 13, 13, 0.78) 45%, rgba(13, 13, 13, 0.3) 100%);
}
.mh-winter__content { max-width: 640px; }
.marbel-home .mh .mh-winter .mh-h2 { color: #fff; }
.marbel-home .mh .mh-winter__content > p { margin-top: 20px; font-size: 17px; color: rgba(255, 255, 255, 0.84); }

/* FAQ ------------------------------------------------------------------- */
.mh-faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .mh-faq__grid { grid-template-columns: 1fr; } }
.mh-faq__aside { position: sticky; top: 110px; }
.marbel-home .mh .mh-faq__aside > p { margin-top: 18px; color: var(--muted); }
.marbel-home .mh .mh-faq__aside a { font-weight: 700; color: var(--sage-text); text-decoration: none; }
.mh-faq__list { border-top: 1px solid var(--line); }
.mh-faq__item { border-bottom: 1px solid var(--line); }
.marbel-home .mh .mh-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	cursor: pointer;
	list-style: none;
	font-family: "Fraunces", Georgia, serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
}
.marbel-home .mh .mh-faq__item summary::-webkit-details-marker { display: none; }
.mh-faq__icon {
	flex: 0 0 34px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--line);
	transition: background 0.25s, color 0.25s, transform 0.35s;
}
.mh-faq__icon svg { width: 14px; height: 14px; }
.mh-faq__item[open] .mh-faq__icon { background: var(--ink); color: #fff; transform: rotate(45deg); }
.marbel-home .mh .mh-faq__item > p { padding: 0 56px 24px 0; font-size: 16px; color: var(--muted); }
@media (max-width: 640px) { .marbel-home .mh .mh-faq__item > p { padding-right: 0; } .marbel-home .mh .mh-faq__item summary { font-size: 18px; } }

/* Estimate -------------------------------------------------------------- */
.mh-estimate__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .mh-estimate__grid { grid-template-columns: 1fr; } }
.marbel-home .mh .mh-estimate__text { margin-top: 18px; color: var(--muted); }
.marbel-home .mh .mh-contact { display: grid; gap: 14px; margin: 32px 0 0; }
.mh-contact li {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 16px;
	align-items: center;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--white);
}
.mh-contact__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--stone); color: var(--sage-text); }
.mh-contact__icon svg { width: 20px; height: 20px; }
.mh-contact small { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.marbel-home .mh .mh-contact a,
.marbel-home .mh .mh-contact .v { font-size: 16px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.marbel-home .mh .mh-contact a:hover { color: var(--sage-text); }
/* The GoHighLevel form is styled (in GHL) with white text for a dark page, so the card is dark. */
.mh-form { background: var(--ink); color: #fff; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 24px; padding: 22px; box-shadow: 0 24px 60px -30px rgba(13, 13, 13, 0.6); }
.mh-form__head { padding: 6px 6px 16px; }
.marbel-home .mh .mh-form__head h3 { font-size: 24px; color: #fff; }
.marbel-home .mh .mh-form__head p { margin-top: 6px; font-size: 14px; color: var(--muted-d); }
.mh-form__frame { min-height: 728px; }
.marbel-home .mh .mh-form iframe { display: block; width: 100%; border: 0; }

/* The shared site footer embeds a fixed 600px Google Map; keep it inside the viewport on phones. */
body.marbel-home footer iframe { max-width: 100%; }
@media (max-width: 640px) { .mh-form { padding: 14px; border-radius: 18px; } }

/* Blog ------------------------------------------------------------------ */
.mh-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .mh-blog__grid { grid-template-columns: 1fr; } }
.marbel-home .mh .mh-post { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.mh-post__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: var(--stone2); }
.marbel-home .mh .mh-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.marbel-home .mh .mh-post:hover .mh-post__media img { transform: scale(1.05); }
.mh-post__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mh-post__meta .cat { color: var(--sage-text); }
.marbel-home .mh .mh-post h3 { font-size: 21px; line-height: 1.2; }
.marbel-home .mh .mh-post:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Mobile action bar ------------------------------------------------------ */
.mh-mobilebar { display: none; }
@media (max-width: 767px) {
	.mh-mobilebar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(13, 13, 13, 0.92);
		backdrop-filter: blur(10px);
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}
	.marbel-home .mh .mh-mobilebar a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		height: 48px;
		border-radius: 999px;
		font-size: 14px;
		font-weight: 700;
		text-decoration: none;
	}
	.marbel-home .mh .mh-mobilebar__call { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }
	.marbel-home .mh .mh-mobilebar__est { background: var(--sage); color: var(--ink); }
	.mh-mobilebar svg { width: 16px; height: 16px; }
	body.marbel-home { padding-bottom: 72px; }
}

/* Reveal (small elements only; JS adds .is-in, failsafe reveals after 2.5s) */
html.mh-js .marbel-home .mh [data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s ease var(--d, 0ms), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms);
}
html.mh-js .marbel-home .mh [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html.mh-js .marbel-home .mh [data-reveal] { opacity: 1; transform: none; transition: none; }
	.marbel-home .mh * { transition-duration: 0.01ms !important; }
	html.mh-js { scroll-behavior: auto; }
}
