/* Modern Built Homes & Spaces — main stylesheet */

:root {
	--mbhs-cream: #F6F5F1;
	--mbhs-navy: #111B28;
	--mbhs-navy-2: #0B1119;
	--mbhs-gold: #CC9B42;
	--mbhs-white: #FFFFFF;
	--mbhs-ink-muted: #4B505A;
	--mbhs-font-display: 'Anton', Impact, sans-serif;
	--mbhs-font-body: 'Jost', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--mbhs-font-body);
	color: var(--mbhs-navy);
	background: var(--mbhs-white);
	font-weight: 300;
	line-height: 1.5;
}

img { max-width: 100%; display: block; }

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

.wrap {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
}

@media (min-width: 640px) {
	.wrap { padding: 0 40px; }
}
@media (min-width: 1024px) {
	.wrap { padding: 0 56px; }
}

.eyebrow {
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 500;
}
.eyebrow--accent { color: var(--mbhs-gold); margin-bottom: 14px; }

.link-underline {
	display: inline-block;
	font-size: 13px;
	letter-spacing: 0.03em;
	border-bottom: 1px solid rgba(255,255,255,0.5);
	padding-bottom: 2px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 14px 26px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	border-radius: 2px;
	transition: filter 0.15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn--accent { background: var(--mbhs-gold); color: var(--mbhs-navy); }
.btn--outline { background: transparent; color: var(--mbhs-cream); border: 1px solid rgba(246,245,241,0.5); }
.btn--outline:hover { filter: none; border-color: var(--mbhs-gold); color: var(--mbhs-gold); }

/* ---------- Site nav ---------- */
.mbhs-nav {
	background: var(--mbhs-navy);
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(204,155,66,0.25);
}
.mbhs-nav__inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.mbhs-nav__logo img { height: 36px; width: auto; }
.mbhs-nav__menu { display: none; }
.nav-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
	font-size: 13px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--mbhs-cream);
}
.nav-menu a:hover { color: var(--mbhs-gold); }
.mbhs-nav__phone {
	display: none;
	align-items: center;
	gap: 8px;
	background: var(--mbhs-gold);
	color: var(--mbhs-navy);
	padding: 10px 18px;
	border-radius: 2px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	white-space: nowrap;
}
.mbhs-nav__toggle {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}
.mbhs-nav__toggle-bar { width: 22px; height: 2px; background: var(--mbhs-cream); }
.mbhs-nav__mobile { display: none; padding: 0 24px 20px 24px; }
.mbhs-nav__mobile.is-open { display: block; }
.mbhs-nav__mobile .nav-menu { flex-direction: column; align-items: flex-start; gap: 16px; }
.mbhs-nav__phone--mobile { display: inline-flex; margin-top: 16px; align-items: center; gap: 8px; background: var(--mbhs-gold); color: var(--mbhs-navy); padding: 10px 18px; border-radius: 2px; font-size: 13px; font-weight: 600; }

@media (min-width: 960px) {
	.mbhs-nav__menu { display: block; }
	.mbhs-nav__phone { display: inline-flex; }
	.mbhs-nav__toggle { display: none; }
	.mbhs-nav__mobile { display: none !important; }
}

/* ---------- Hero ---------- */
.mbhs-hero {
	position: relative;
	overflow: hidden;
	min-height: 620px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: var(--mbhs-cream);
}
.mbhs-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mbhs-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17,27,40,0.25) 0%, rgba(17,27,40,0.45) 45%, rgba(17,27,40,0.93) 100%);
}
.mbhs-hero__motif { position: absolute; top: 32px; right: 32px; opacity: 0.28; display: none; }
.mbhs-hero__content { position: relative; padding: 64px 24px 96px 24px; max-width: 680px; }
.mbhs-hero__content h1 {
	font-family: var(--mbhs-font-display);
	font-weight: 400;
	font-size: 44px;
	line-height: 1;
	text-transform: uppercase;
	margin: 16px 0 18px 0;
}
.mbhs-hero__content p {
	font-size: 16px;
	line-height: 1.55;
	color: #D8DCE3;
	max-width: 480px;
	margin: 0 0 28px 0;
}
.mbhs-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.mbhs-hero__scroll {
	position: relative;
	display: none;
	align-items: center;
	gap: 10px;
	color: #B7BCC4;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0 24px 24px 24px;
}
.mbhs-hero__scroll-line { width: 1px; height: 30px; background: #B7BCC4; animation: mbhsFloat 2.2s ease-in-out infinite; }
@keyframes mbhsFloat { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(8px); opacity: 1; } }

.mbhs-trust-strip {
	position: relative;
	background: rgba(9,14,21,0.95);
	border-top: 1px solid rgba(204,155,66,0.35);
	padding: 16px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #C9CDD3;
}
.mbhs-trust-strip .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mbhs-gold); display: inline-block; }

@media (min-width: 640px) {
	.mbhs-hero { min-height: 720px; }
	.mbhs-hero__content h1 { font-size: 60px; }
	.mbhs-hero__content p { font-size: 17px; }
	.mbhs-trust-strip { gap: 28px; font-size: 12px; padding: 18px 40px; }
}
@media (min-width: 1024px) {
	.mbhs-hero { min-height: 820px; }
	.mbhs-hero__content { padding: 64px 56px 110px 56px; }
	.mbhs-hero__content h1 { font-size: 74px; }
	.mbhs-hero__motif { display: block; }
	.mbhs-hero__scroll { display: flex; padding-left: 56px; }
	.mbhs-trust-strip { padding: 18px 56px; }
}

/* ---------- Page hero (inner pages — shorter than homepage hero) ---------- */
.mbhs-hero--page { min-height: 360px; }
.mbhs-hero--page .mbhs-hero__content { padding-top: 128px; padding-bottom: 48px; max-width: 720px; }
.mbhs-hero--page .mbhs-hero__content h1 { font-size: 34px; }
.mbhs-hero--page .mbhs-hero__content p { max-width: 560px; }

@media (min-width: 640px) {
	.mbhs-hero--page { min-height: 400px; }
	.mbhs-hero--page .mbhs-hero__content h1 { font-size: 46px; }
}
@media (min-width: 1024px) {
	.mbhs-hero--page { min-height: 440px; }
	.mbhs-hero--page .mbhs-hero__content { padding-top: 150px; }
	.mbhs-hero--page .mbhs-hero__content h1 { font-size: 54px; }
}

/* ---------- Sections ---------- */
.mbhs-section { padding: 64px 0; }
.mbhs-section--white { background: var(--mbhs-white); }
.mbhs-section--cream { background: var(--mbhs-cream); }

.mbhs-h2 {
	font-family: var(--mbhs-font-display);
	font-weight: 400;
	font-size: 30px;
	text-transform: uppercase;
	line-height: 1.08;
	margin: 0 0 16px 0;
	max-width: 640px;
}
.mbhs-h2--small { font-size: 26px; margin-bottom: 40px; }
.mbhs-lead {
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--mbhs-ink-muted);
	max-width: 600px;
	margin: 0 0 40px 0;
}

@media (min-width: 640px) {
	.mbhs-section { padding: 88px 0; }
	.mbhs-h2 { font-size: 38px; }
	.mbhs-h2--small { font-size: 32px; }
}

/* ---------- Build grid / cards ---------- */
.mbhs-build-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
.mbhs-card {
	position: relative;
	display: block;
	border-radius: 2px;
	overflow: hidden;
	min-height: 280px;
	transition: transform 0.2s ease;
}
.mbhs-card:hover { transform: translateY(-2px); }
.mbhs-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mbhs-card__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(17,27,40,0.9) 0%, rgba(17,27,40,0.2) 55%, rgba(17,27,40,0.02) 100%);
}
.mbhs-card__badge {
	position: absolute; top: 20px; left: 20px;
	background: var(--mbhs-gold); color: var(--mbhs-navy);
	font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
	padding: 6px 12px; border-radius: 2px;
}
.mbhs-card__content { position: absolute; left: 22px; right: 22px; bottom: 22px; color: var(--mbhs-cream); }
.mbhs-card__content h3 { font-family: var(--mbhs-font-display); font-weight: 400; font-size: 21px; text-transform: uppercase; margin: 0 0 8px 0; }
.mbhs-card__content p { font-size: 13.5px; line-height: 1.5; color: #E3E6EA; margin: 0 0 10px 0; max-width: 380px; }
.mbhs-card--large { min-height: 360px; }
.mbhs-card--large h3 { font-size: 25px; }

@media (min-width: 780px) {
	.mbhs-build-grid { grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 24px; min-height: 520px; }
	.mbhs-card--large { grid-row: span 2; min-height: unset; }
	.mbhs-card { min-height: unset; }
}

/* ---------- Why choose us ---------- */
.mbhs-pillars { display: grid; grid-template-columns: 1fr; gap: 32px; }
.mbhs-pillar__rule { width: 32px; height: 2px; background: var(--mbhs-gold); margin-bottom: 16px; }
.mbhs-pillar h4 { font-size: 15px; font-weight: 600; margin: 0 0 8px 0; }
.mbhs-pillar p { font-size: 13.5px; line-height: 1.6; color: var(--mbhs-ink-muted); margin: 0; }

@media (min-width: 640px) {
	.mbhs-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.mbhs-pillars { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Testimonials ---------- */
.mbhs-testimonials { display: grid; grid-template-columns: 1fr; gap: 20px; }
.mbhs-testimonial { background: var(--mbhs-cream); border-radius: 2px; padding: 28px 26px; margin: 0; }
.mbhs-testimonial blockquote { font-size: 14px; line-height: 1.65; font-style: italic; margin: 0 0 18px 0; }
.mbhs-testimonial figcaption { font-size: 13px; font-weight: 500; }
.mbhs-testimonial figcaption span { color: #8A7A5C; font-weight: 400; }

@media (min-width: 780px) {
	.mbhs-testimonials { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- CTA band ---------- */
.mbhs-cta-band { background: var(--mbhs-navy); padding: 64px 0; text-align: center; }
.mbhs-cta-band h2 {
	font-family: var(--mbhs-font-display); font-weight: 400; font-size: 26px; text-transform: uppercase;
	color: var(--mbhs-cream); margin: 0 0 22px 0;
}
.mbhs-cta-band__meta { margin-top: 18px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #8A8F98; }

@media (min-width: 640px) {
	.mbhs-cta-band h2 { font-size: 32px; }
}

/* ---------- Photo grid (real project photography) ---------- */
.mbhs-photo-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.mbhs-photo-grid img { border-radius: 2px; width: 100%; height: 100%; object-fit: cover; display: block; }
.mbhs-photo-grid figcaption { margin-top: 8px; font-size: 12px; color: var(--mbhs-ink-muted); }

@media (min-width: 640px) {
	.mbhs-photo-grid { grid-template-columns: repeat(2, 1fr); }
	.mbhs-photo-grid--1 { grid-template-columns: 1fr; }
}
@media (min-width: 780px) {
	.mbhs-photo-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Steps (process / what-we-manage lists) ---------- */
.mbhs-steps { display: grid; grid-template-columns: 1fr; gap: 28px; }
.mbhs-step { display: flex; gap: 18px; align-items: flex-start; }
.mbhs-step__num {
	font-family: var(--mbhs-font-display); font-weight: 400; font-size: 26px;
	color: var(--mbhs-gold); line-height: 1; flex: none; width: 40px;
}
.mbhs-step__body h4 { font-size: 15px; font-weight: 600; margin: 0 0 6px 0; }
.mbhs-step__body p { font-size: 13.5px; line-height: 1.6; color: var(--mbhs-ink-muted); margin: 0; }

@media (min-width: 640px) {
	.mbhs-steps { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
}
@media (min-width: 1024px) {
	.mbhs-steps--3col { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Contact cards ---------- */
.mbhs-contact-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.mbhs-contact-card { background: var(--mbhs-cream); padding: 32px 28px; border-radius: 2px; }
.mbhs-contact-card h3 {
	font-family: var(--mbhs-font-display); font-weight: 400; font-size: 17px;
	text-transform: uppercase; margin: 0 0 16px 0;
}
.mbhs-contact-card__link {
	display: flex; align-items: center; gap: 12px;
	font-size: 16px; font-weight: 500; margin-bottom: 10px;
}
.mbhs-contact-card__link:hover { color: #8A7A5C; }
.mbhs-contact-card p { font-size: 13.5px; line-height: 1.6; color: var(--mbhs-ink-muted); margin: 14px 0 0 0; }

@media (min-width: 640px) {
	.mbhs-contact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Contact form ---------- */
.mbhs-form { max-width: 720px; }
.mbhs-form__row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
.mbhs-form__field { display: flex; flex-direction: column; gap: 8px; }
.mbhs-form__field--full { grid-column: 1 / -1; }
.mbhs-form__field label { font-size: 12px; font-weight: 500; letter-spacing: 0.03em; color: var(--mbhs-navy); }
.mbhs-form__field input,
.mbhs-form__field select,
.mbhs-form__field textarea {
	font-family: var(--mbhs-font-body);
	font-size: 14px;
	color: var(--mbhs-navy);
	background: var(--mbhs-white);
	border: 1px solid #D8D6CE;
	border-radius: 2px;
	padding: 12px 14px;
	width: 100%;
}
.mbhs-form__field input:focus,
.mbhs-form__field select:focus,
.mbhs-form__field textarea:focus { outline: 2px solid var(--mbhs-gold); outline-offset: 1px; }
.mbhs-form__field textarea { resize: vertical; min-height: 120px; }
.mbhs-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mbhs-form__notice {
	padding: 14px 18px; border-radius: 2px; font-size: 13.5px; margin-bottom: 24px;
}
.mbhs-form__notice--success { background: #E4EFE6; color: #2C5A34; }
.mbhs-form__notice--error { background: #F5E3E1; color: #8C3A2E; }

@media (min-width: 640px) {
	.mbhs-form__row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Honest pricing / quote band (no fabricated figures) ---------- */
.mbhs-quote-band { background: var(--mbhs-cream); border-radius: 2px; padding: 40px 30px; text-align: center; }
.mbhs-quote-band h3 {
	font-family: var(--mbhs-font-display); font-weight: 400; font-size: 22px;
	text-transform: uppercase; margin: 0 0 14px 0;
}
.mbhs-quote-band p { font-size: 14px; line-height: 1.6; color: var(--mbhs-ink-muted); max-width: 520px; margin: 0 auto 24px auto; }
.mbhs-quote-band .mbhs-cta-band__meta { color: var(--mbhs-ink-muted); }

/* ---------- Footer ---------- */
.mbhs-footer { background: var(--mbhs-navy-2); padding: 48px 0 28px 0; color: #C9CDD3; }
.mbhs-footer__top {
	display: flex; flex-direction: column; align-items: flex-start; gap: 32px;
	padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* Without this, the global `img { max-width:100%; display:block }` reset
   stretches a block-level image with only a height attribute to fill the
   full container width instead of preserving its aspect ratio — harmless
   at the old 48px height, but very visible now the logo is bigger and the
   mobile footer column is full-width. Matches the fix already applied to
   the header logo (.mbhs-nav__logo img). */
.mbhs-footer__top > img { height: 72px; width: auto; }
@media (max-width: 639px) {
	.mbhs-footer__top > img { height: 56px; }
}
.mbhs-footer__cols { display: flex; flex-wrap: wrap; gap: 40px; }
.mbhs-footer__heading { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #6E7480; margin-bottom: 14px; }
.mbhs-footer__links { display: flex; flex-direction: column; gap: 9px; list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.mbhs-footer__links a:hover { color: var(--mbhs-gold); }
.mbhs-footer__social { display: flex; gap: 14px; }
.mbhs-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(201,205,211,0.35); color: #C9CDD3; }
.mbhs-footer__social a:hover { color: var(--mbhs-navy); background: var(--mbhs-gold); border-color: var(--mbhs-gold); }
.mbhs-footer__bottom { padding-top: 22px; font-size: 11px; color: #6E7480; }

@media (min-width: 640px) {
	.mbhs-footer__top { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
