/* =====================================================================
   Casa Remodeled — main.css
   Monochrome, clean, motion-enhanced theme modeled on ProFloors & Cabinets.
   Black / white / soft-gray palette · Poppins display · Inter body.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
	--black: #0e0e0e;
	--ink: #161616;
	--white: #ffffff;
	--gray: #ebe9e4;       /* card background */
	--gray-2: #f6f5f2;     /* alt section bg */
	--muted: #6c6863;
	--line: #e2e0db;
	--line-dark: rgba(255, 255, 255, 0.16);
	--turquoise: #00bcbd;
	--turquoise-dark: #029c9d;

	--font-display: "Poppins", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, sans-serif;

	--container: 1320px;
	--gutter: clamp(1.25rem, 4vw, 4rem);
	--section-y: clamp(4.5rem, 10vw, 8.5rem);

	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	font-family: var(--font-body);
	background: var(--white);
	color: var(--ink);
	font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--turquoise); color: var(--white); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
em { font-style: italic; }

/* ---------- Shared bits ---------- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 9999; background: var(--black); color: #fff; padding: 0.75rem 1.25rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

.container { max-width: var(--container); margin: 0 auto; }

.section { padding: var(--section-y) var(--gutter); }
.section--gray { background: var(--gray-2); }
.section--dark { background: var(--black); color: var(--white); }

.section__head { text-align: center; max-width: 820px; margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); }
.section-title {
	font-size: clamp(1.75rem, 4.2vw, 3rem);
	font-weight: 600;
	letter-spacing: -0.015em;
}
.section-title em { font-weight: 600; }
.section-text { margin-top: 1.5rem; color: var(--muted); font-size: clamp(1rem, 1.1vw, 1.125rem); }
.eyebrow {
	font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--turquoise); margin-bottom: 1rem; display: inline-block;
}

/* ---------- Buttons (rectangular, ProFloors-style) ---------- */
.btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	gap: 0.5rem; padding: 1rem 2.2rem; overflow: hidden;
	font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
	letter-spacing: 0.14em; text-transform: uppercase; border: 1.5px solid var(--black);
	transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; inset: 0; transform: scaleX(1); transform-origin: left; transition: transform 0.45s var(--ease); }

.btn--dark { background: var(--turquoise); color: #fff; border-color: var(--turquoise); }
.btn--dark::before { background: var(--turquoise-dark); transform: scaleX(0); transform-origin: right; }
.btn--dark:hover { color: #fff; border-color: var(--turquoise-dark); }
.btn--dark:hover::before { transform: scaleX(1); transform-origin: left; }
/* legacy alias used by the contact form button */
.btn--solid { background: var(--turquoise); color: #fff; border-color: var(--turquoise); }
.btn--solid::before { background: var(--turquoise-dark); transform: scaleX(0); transform-origin: right; }
.btn--solid:hover { color: #fff; border-color: var(--turquoise-dark); }
.btn--solid:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--outline { color: var(--black); border-color: var(--black); }
.btn--outline::before { background: var(--black); transform: scaleX(0); transform-origin: right; }
.btn--outline:hover { color: #fff; }
.btn--outline:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--light { background: #fff; color: var(--black); border-color: #fff; }
.btn--light::before { background: transparent; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }

.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost-light::before { background: #fff; transform: scaleX(0); transform-origin: right; }
.btn--ghost-light:hover { color: var(--black); border-color: #fff; }
.btn--ghost-light:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--block { width: 100%; }

/* =====================================================================
   Preloader
   ===================================================================== */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--black); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem; }
.preloader__inner { display: flex; align-items: baseline; gap: 0.75rem; font-family: var(--font-display); }
.preloader__name { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 600; letter-spacing: 0.02em; }
.preloader__count { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 300; font-variant-numeric: tabular-nums; opacity: 0.7; }
.preloader__count::after { content: "%"; font-size: 0.5em; vertical-align: super; }
.preloader__bar { width: min(260px, 60vw); height: 1px; background: var(--line-dark); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: #fff; }

/* =====================================================================
   Header / Nav
   ===================================================================== */
.site-header {
	position: fixed; top: 0; left: 0; width: 100%; z-index: 200;
	padding: 1.6rem var(--gutter);
	transition: transform 0.5s var(--ease), background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: 1600px; margin: 0 auto; }

.brand__mark { display: inline-flex; align-items: center; color: #fff; transition: color 0.4s var(--ease); }
.brand__lockup { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__icon { height: 34px; width: auto; flex: none; display: block; }
.brand__word { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.04em; line-height: 1; white-space: nowrap; }
.brand__word--thin { font-weight: 500; }
.brand__word--bold { font-weight: 800; }
.brand__lockup.brand__mark--lg { gap: 0.9rem; }
.brand__lockup.brand__mark--lg .brand__icon { height: 56px; }
.brand__lockup.brand__mark--lg .brand__word { font-size: 1.6rem; }
@media (max-width: 540px) {
	.brand__icon { height: 28px; }
	.brand__word { font-size: 0.85rem; }
}

/* Real logo images (logo-black.webp / logo-white.webp) */
.brand__img { width: auto; display: block; }
.site-header .brand__img { height: 52px; transition: height 0.4s var(--ease); }
.brand__img--footer { height: 70px; }

/* Front page: transparent header over dark hero → white logo;
   once scrolled (solid white bar) → black logo. */
.brand__img--dark { display: none; }
.brand__img--light { display: block; }
.site-header.is-scrolled .brand__img { height: 44px; }
.site-header.is-scrolled .brand__img--light { display: none; }
.site-header.is-scrolled .brand__img--dark { display: block; }

/* Inner pages: header is solid white from the start → black logo. */
body:not(.is-front) .site-header .brand__img--light { display: none; }
body:not(.is-front) .site-header .brand__img--dark { display: block; }

@media (max-width: 540px) {
	.site-header .brand__img,
	.site-header.is-scrolled .brand__img { height: 40px; }
	.brand__img--footer { height: 56px; }
}

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; gap: 2.25rem; align-items: center; }
.nav__list a { position: relative; font-family: var(--font-display); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; padding: 0.25rem 0; transition: color 0.3s var(--ease); }
.nav__list a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: var(--turquoise); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__list a:hover::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.site-header__actions .btn { padding: 0.7rem 1.4rem; font-size: 0.72rem; }
.header-cta { color: #fff; border-color: rgba(255,255,255,0.6); }
.header-cta::before { background: var(--turquoise); transform: scaleX(0); transform-origin: right; }
.header-cta:hover { color: #fff; border-color: var(--turquoise); }
.header-cta:hover::before { transform: scaleX(1); transform-origin: left; }

/* Scrolled state → white bar, dark text */
.site-header.is-scrolled { background: #fff; padding-top: 1rem; padding-bottom: 1rem; box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .brand__mark,
.site-header.is-scrolled .brand__dot,
.site-header.is-scrolled .nav__list a { color: var(--black); }
.site-header.is-scrolled .header-cta { color: var(--black); border-color: var(--black); }
.site-header.is-scrolled .header-cta::before { background: var(--turquoise); }
.site-header.is-scrolled .header-cta:hover { color: #fff; border-color: var(--turquoise); }
.site-header.is-scrolled .nav-toggle span { background: var(--black); }
.site-header.is-hidden { transform: translateY(-101%); }

/* Non-front pages: header sits on white from the start */
body:not(.is-front) .site-header { background: #fff; box-shadow: 0 1px 0 var(--line); }
body:not(.is-front) .site-header .brand__mark,
body:not(.is-front) .site-header .brand__dot,
body:not(.is-front) .site-header .nav__list a { color: var(--black); }
body:not(.is-front) .site-header .header-cta { color: var(--black); border-color: var(--black); }
body:not(.is-front) .site-header .header-cta::before { background: var(--turquoise); }
body:not(.is-front) .site-header .header-cta:hover { color: #fff; border-color: var(--turquoise); }
body:not(.is-front) .site-header .nav-toggle span { background: var(--black); }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; transition: transform 0.4s var(--ease), opacity 0.3s; }
body.menu-open .nav-toggle span { background: #fff !important; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 260; background: var(--black); color: #fff; display: flex; flex-direction: column; clip-path: inset(0 0 100% 0); pointer-events: none; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-menu.is-open { pointer-events: auto; }
.mobile-menu__bar { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); flex: none; }
.mobile-menu__logo { display: inline-flex; }
.mobile-menu__logo .brand__img { height: 40px; width: auto; }
.mobile-menu__logo .brand__img--light { display: block; }
.mobile-menu__logo .brand__img--dark { display: none; }
.mobile-menu__close { position: relative; width: 44px; height: 44px; flex: none; border: 1px solid var(--line-dark); border-radius: 50%; }
.mobile-menu__close span { position: absolute; top: 50%; left: 50%; width: 20px; height: 2px; background: #fff; }
.mobile-menu__close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-menu__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-menu__inner { width: 100%; padding: 1.5rem var(--gutter) 6rem; }
.mobile-menu__list { display: flex; flex-direction: column; }
.mobile-menu__list li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__list a { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 6.5vw, 2.3rem); display: block; padding: 0.65rem 0; }
.mobile-menu__list a:hover, .mobile-menu__list .current-menu-item > a { color: var(--turquoise); }
.mobile-menu__meta { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.4rem; color: rgba(255,255,255,0.7); }
.mobile-menu__socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.mobile-menu__socials a { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--line-dark); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.mobile-menu__socials a:hover { background: var(--turquoise); border-color: var(--turquoise); }
.mobile-menu__socials svg { width: 18px !important; height: 18px !important; flex: none; }
/* keep the floating CTA out of the way while the menu is open */
body.menu-open { overflow: hidden; }
body.menu-open .float-cta { opacity: 0; pointer-events: none; }

/* ---------- Nav dropdown ---------- */
.nav__has-dropdown { position: relative; }
.nav__caret { font-size: 0.7em; display: inline-block; transition: transform 0.3s var(--ease); }
.nav__has-dropdown:hover .nav__caret { transform: rotate(180deg); }
.nav__dropdown, .nav__list .sub-menu {
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
	min-width: 240px; background: #fff; padding: 0.6rem 0; margin-top: 0.6rem;
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14); border: 1px solid var(--line);
	display: flex; flex-direction: column; opacity: 0; visibility: hidden;
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav__dropdown::before, .nav__list .sub-menu::before { content: ""; position: absolute; top: -0.7rem; left: 0; right: 0; height: 0.7rem; }
.nav__has-dropdown:hover .nav__dropdown,
.nav__list .menu-item-has-children:hover .sub-menu {
	opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__dropdown a, .nav__list .sub-menu a {
	color: var(--ink) !important; padding: 0.65rem 1.5rem; font-size: 0.72rem; white-space: nowrap;
}
.nav__dropdown a::after, .nav__list .sub-menu a::after { display: none; }
.nav__dropdown a:hover, .nav__list .sub-menu a:hover { background: var(--gray-2); }

/* ---------- Desktop panel toggle (hamburger) ---------- */
.panel-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; }
.panel-toggle span { display: block; width: 26px; height: 2px; background: #fff; transition: background 0.4s var(--ease), transform 0.3s var(--ease); }
.panel-toggle:hover span:nth-child(1) { transform: translateX(-3px); }
.panel-toggle:hover span:nth-child(3) { transform: translateX(3px); }
.site-header.is-scrolled .panel-toggle span { background: var(--black); }
body:not(.is-front) .site-header .panel-toggle span { background: var(--black); }

/* ---------- Slide-in info panel ---------- */
.side-panel { position: fixed; top: 0; right: 0; height: 100%; width: min(460px, 92vw); z-index: 300; background: var(--black); color: #fff; transform: translateX(100%); transition: transform 0.6s var(--ease); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.side-panel.is-open { transform: translateX(0); }
.side-panel__inner { padding: clamp(1.75rem, 4vw, 2.75rem); display: flex; flex-direction: column; gap: clamp(1.75rem, 3vw, 2.5rem); min-height: 100%; }
.side-panel__top { display: flex; align-items: center; justify-content: space-between; }
.side-panel__top .brand__img--light { display: block; height: 46px; }
.side-panel__top .brand__img--dark { display: none; }
.side-panel__close { position: relative; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; flex: none; }
.side-panel__close span { position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; background: #fff; }
.side-panel__close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.side-panel__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.side-panel__close:hover { background: rgba(255, 255, 255, 0.08); }
.side-panel .eyebrow { color: rgba(255, 255, 255, 0.6); }
.side-panel__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; }
.side-panel__lead { color: rgba(255, 255, 255, 0.72); margin-top: 0.85rem; font-size: 0.95rem; }
.side-panel__actions { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.5rem; }
.side-panel__actions .btn { width: 100%; }
.side-panel__info { display: flex; flex-direction: column; }
.side-panel__info-row { display: flex; gap: 1.25rem; align-items: baseline; padding: 0.85rem 0; border-top: 1px solid var(--line-dark); }
.side-panel__info-row:last-child { border-bottom: 1px solid var(--line-dark); }
.side-panel__label { width: 4.5rem; flex: none; font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.side-panel__info-row a:hover { color: #fff; opacity: 0.8; }
.side-panel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 1rem; }
.side-panel__thumb { aspect-ratio: 1 / 1; overflow: hidden; display: block; }
.side-panel__thumb .casa-img, .side-panel__thumb .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.side-panel__thumb:hover .casa-img, .side-panel__thumb:hover .ph { transform: scale(1.08); }
.side-panel__socials { display: flex; gap: 0.6rem; margin-top: auto; padding-top: 1rem; }
.side-panel__socials a { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--line-dark); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.side-panel__socials a:hover { background: #fff; color: var(--black); }
.side-panel__socials svg { width: 18px !important; height: 18px !important; flex: none; }
.side-panel__overlay { position: fixed; inset: 0; z-index: 290; background: rgba(0, 0, 0, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease); }
.side-panel__overlay.is-open { opacity: 1; pointer-events: auto; }
body.panel-open { overflow: hidden; }

/* ---------- Header responsive (collapse to mobile nav) ---------- */
@media (max-width: 1024px) {
	.nav { display: none; }
	.panel-toggle { display: none; }
	.nav-toggle { display: flex; }
}
@media (max-width: 480px) {
	.site-header__actions .header-cta { display: none; }
}

/* =====================================================================
   Hero (dark, centered)
   ===================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 7rem var(--gutter) 4rem; overflow: hidden; background: var(--black); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__media { position: absolute; inset: -8% 0; }
.hero__media .ph { width: 100%; height: 100%; opacity: 0.55; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(14,14,14,0.55), rgba(14,14,14,0.75)); }
.hero__content { position: relative; z-index: 2; max-width: 1000px; }
.hero__title { font-size: clamp(2.5rem, 8vw, 6.5rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__subtitle { font-style: italic; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.15rem, 2.6vw, 2rem); margin-top: 1.25rem; color: rgba(255,255,255,0.92); }
.hero__lead { max-width: 50ch; margin: 1.5rem auto 0; color: rgba(255,255,255,0.78); font-size: clamp(1rem, 1.2vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.hero__scroll-line { width: 1px; height: 48px; background: linear-gradient(rgba(255,255,255,0.8), transparent); }

/* =====================================================================
   Intro strip
   ===================================================================== */
.intro { text-align: center; }
.intro__inner { max-width: 900px; margin: 0 auto; }
.intro__title { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 600; }
.intro__text { margin-top: 1.5rem; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.25rem); }

/* =====================================================================
   Projects
   ===================================================================== */
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); max-width: var(--container); margin: 0 auto; }
.project-card { display: block; }
.project-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3.4; }
.project-card__media .ph, .project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.project-card:hover .project-card__media .ph, .project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__caption { margin-top: 1rem; font-size: 0.92rem; color: var(--muted); }
.project-card__caption strong { color: var(--ink); font-weight: 600; }
.projects__cta { text-align: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 860px) { .projects__grid { grid-template-columns: 1fr; max-width: 520px; } }

/* =====================================================================
   Solutions (text + image grid)
   ===================================================================== */
.solutions__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: var(--container); margin: 0 auto; }
.solutions__title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 600; }
.solutions__text { color: var(--muted); margin-top: 1.5rem; font-size: 1.05rem; }
.solutions__actions { margin-top: 2rem; }
.solutions__media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.solutions__media > *:first-child { grid-column: 1 / -1; }
@media (max-width: 860px) { .solutions__inner { grid-template-columns: 1fr; } }

/* =====================================================================
   Highlight (flooring / RIVA-style band)
   ===================================================================== */
.highlight { background: var(--black); color: #fff; }
.highlight__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: var(--container); margin: 0 auto; }
.highlight__media { overflow: hidden; }
.highlight__media .ph { aspect-ratio: 4 / 3; }
.highlight__content .eyebrow { color: rgba(255,255,255,0.65); }
.highlight__title { font-size: clamp(1.75rem, 4vw, 2.85rem); font-weight: 600; }
.highlight__tag { font-style: italic; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); margin-top: 0.75rem; color: rgba(255,255,255,0.85); }
.highlight__text { margin-top: 1.5rem; color: rgba(255,255,255,0.72); }
.highlight__actions { margin-top: 2rem; }
@media (max-width: 860px) { .highlight__inner { grid-template-columns: 1fr; } }

/* =====================================================================
   Meet the expert
   ===================================================================== */
.expert__inner { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: var(--container); margin: 0 auto; }
.expert__media .ph { aspect-ratio: 4 / 5; }
.expert__title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 600; }
.expert__role { color: var(--muted); font-family: var(--font-display); font-weight: 500; letter-spacing: 0.04em; margin-top: 0.5rem; }
.expert__text { margin-top: 1.5rem; color: var(--muted); font-size: 1.05rem; }
.expert__text + .expert__text { margin-top: 1rem; }
.expert__signature { margin-top: 1.75rem; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; }
@media (max-width: 760px) { .expert__inner { grid-template-columns: 1fr; } }

/* =====================================================================
   Services grid (cards with icon + see more)
   ===================================================================== */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.75rem); max-width: var(--container); margin: 0 auto; }
.service-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	background: var(--gray); padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem);
	border: 1px solid transparent; transition: background 0.4s var(--ease), transform 0.5s var(--ease);
}
.service-card:hover { background: var(--gray-2); transform: translateY(-6px); border-color: var(--line); }
.service-card__icon { width: 64px; height: 64px; margin-bottom: 1.5rem; color: var(--black); }
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; line-height: 1.1; }
.service-card__tag { color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; letter-spacing: 0.02em; }
.service-card__text { color: var(--muted); margin-top: 1rem; font-size: 0.95rem; flex: 1; }
.service-card .btn { margin-top: 1.75rem; padding: 0.85rem 1.75rem; }
@media (max-width: 980px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Stats
   ===================================================================== */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); max-width: var(--container); margin: 0 auto; text-align: center; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; }
.stat__label { display: block; color: var(--muted); margin-top: 0.6rem; font-size: 0.9rem; letter-spacing: 0.04em; }
.section--dark .stat__label { color: rgba(255,255,255,0.65); }
@media (max-width: 700px) { .stats__grid { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   Testimonial
   ===================================================================== */
.quote { text-align: center; max-width: 950px; margin: 0 auto; }
.quote__text { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(1.4rem, 3.4vw, 2.4rem); line-height: 1.25; }
.quote__by { margin-top: 1.5rem; color: var(--muted); font-size: 0.95rem; letter-spacing: 0.04em; }

/* Reviews */
.reviews { text-align: center; }
.reviews__widget { max-width: var(--container); margin: 0 auto; }

/* Google reviews carousel */
.reviews__rating { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); font-size: 1rem; flex-wrap: wrap; justify-content: center; }
.reviews__g { width: 22px; height: 22px; display: inline-flex; }
.reviews__g svg { width: 100%; height: 100%; }
.reviews__stars { color: #f5a623; letter-spacing: 2px; }
.reviews__rating strong { font-family: var(--font-display); font-weight: 700; }
.reviews__count { color: var(--muted); }
.reviews__count a { color: var(--turquoise); text-decoration: underline; text-underline-offset: 2px; }

.reviews-carousel { position: relative; max-width: 820px; margin: 0 auto; }
.reviews-carousel__viewport { overflow: hidden; transition: height 0.5s var(--ease); }
.reviews-carousel__track { display: flex; align-items: flex-start; will-change: transform; transition: transform 0.6s var(--ease); }
.review-card { flex: 0 0 100%; box-sizing: border-box; padding: 0 clamp(0.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; align-items: center; text-align: center; }
.review-card__stars { color: #f5a623; letter-spacing: 3px; font-size: 1.15rem; margin-bottom: 1.25rem; }
.review-card__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 2.3vw, 1.55rem); line-height: 1.42; color: var(--ink); max-width: 60ch; }
.review-card__by { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; }
.review-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--turquoise); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; flex: none; }
.review-card__meta { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.review-card__src { font-size: 0.8rem; color: var(--muted); }
.reviews-carousel__nav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.reviews-carousel__arrow { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; font-size: 1.4rem; line-height: 1; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.reviews-carousel__arrow:hover { background: var(--turquoise); border-color: var(--turquoise); color: #fff; }
.reviews-carousel__dots { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; justify-content: center; max-width: 60vw; }
.reviews-carousel__dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background 0.3s var(--ease), width 0.3s var(--ease); }
.reviews-carousel__dots button.is-active { background: var(--turquoise); width: 24px; border-radius: 5px; }

/* =====================================================================
   Service detail pages
   ===================================================================== */
.svc-hero { padding-top: clamp(8rem, 15vw, 12rem); padding-bottom: clamp(2rem, 4vw, 3rem); text-align: center; max-width: 1000px; margin: 0 auto; }
.svc-hero__title { font-size: clamp(2.25rem, 6.5vw, 5rem); font-weight: 700; }
.svc-hero__lead { max-width: 56ch; margin: 1.5rem auto 0; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.svc-hero__actions { margin-top: 2rem; }
.svc-hero__media { margin-top: clamp(2.5rem, 5vw, 4rem); overflow: hidden; max-width: var(--container); margin-left: auto; margin-right: auto; }

.svc-intro { text-align: center; max-width: 900px; margin: 0 auto; }
.svc-intro__text { font-size: clamp(1.4rem, 3.2vw, 2.25rem); font-weight: 500; line-height: 1.3; }

.svc-showcase { max-width: var(--container); margin: 0 auto; padding-top: 0; }
.svc-showcase__media { overflow: hidden; }
.svc-showcase__media .ph, .svc-showcase__media .casa-img { width: 100%; }

/* About projects gallery */
.about-gallery { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.about-gallery__item { overflow: hidden; aspect-ratio: 1 / 1; display: block; }
.about-gallery__item .casa-img, .about-gallery__item .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.about-gallery__item:hover .casa-img, .about-gallery__item:hover .ph { transform: scale(1.06); }
@media (max-width: 640px) { .about-gallery { grid-template-columns: 1fr 1fr; } }

.svc-includes, .svc-options, .svc-gallery, .svc-faq, .svc-more { max-width: var(--container); margin: 0 auto; }
.svc-includes__head, .svc-options__head, .svc-gallery__head, .svc-faq__head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.svc-includes__title, .svc-options__title, .svc-gallery__title, .svc-faq__title { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 600; }

.svc-includes__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.svc-includes__list li { display: flex; gap: 1rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.svc-includes__list li:nth-child(odd) { padding-right: 2rem; }
.svc-includes__list li:nth-child(even) { padding-left: 2rem; }
.svc-includes__num { font-family: var(--font-display); font-weight: 600; color: var(--muted); font-size: 0.9rem; }
.svc-includes__item { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
@media (max-width: 720px) { .svc-includes__list { grid-template-columns: 1fr; } .svc-includes__list li:nth-child(odd), .svc-includes__list li:nth-child(even) { padding-left: 0; padding-right: 0; } }

.svc-options__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.opt-card { background: var(--gray-2); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.5rem); transition: background 0.4s var(--ease), transform 0.5s var(--ease); }
.opt-card:hover { background: var(--gray); transform: translateY(-4px); }
.opt-card__title { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 600; margin-bottom: 0.75rem; }
.opt-card__text { color: var(--muted); }
@media (max-width: 680px) { .svc-options__grid { grid-template-columns: 1fr; } }

.svc-gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.svc-gallery__item { grid-column: span 6; overflow: hidden; }
.svc-gallery__item.is-tall { grid-column: span 5; grid-row: span 2; }
.svc-gallery__item.is-wide { grid-column: span 7; }
.svc-gallery__item .ph, .svc-gallery__item img { transition: transform 0.9s var(--ease); }
.svc-gallery__item:hover .ph, .svc-gallery__item:hover img { transform: scale(1.05); }
.svc-gallery__item figcaption { padding-top: 0.75rem; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 760px) { .svc-gallery__grid { grid-template-columns: 1fr; } .svc-gallery__item, .svc-gallery__item.is-tall, .svc-gallery__item.is-wide { grid-column: span 1; grid-row: auto; } }

/* Service gallery — masonry of real project photos */
.svc-masonry { columns: 3 280px; column-gap: clamp(0.75rem, 1.5vw, 1.25rem); max-width: var(--container); margin: 0 auto; }
.svc-masonry figure { break-inside: avoid; margin: 0 0 clamp(0.75rem, 1.5vw, 1.25rem); overflow: hidden; border-radius: 2px; }
.svc-masonry .casa-img { width: 100%; height: auto; display: block; transition: transform 0.7s var(--ease); }
.svc-masonry figure:hover .casa-img { transform: scale(1.05); }
@media (max-width: 640px) { .svc-masonry { columns: 2 150px; } }

/* Hero video (service pages) — fits any orientation without cropping */
.svc-hero__media--video { text-align: center; }
.svc-hero__video { display: block; margin: 0 auto; max-width: 100%; max-height: 80vh; width: auto; height: auto; background: #000; border-radius: 2px; }

/* Extra service videos (mp4) */
.svc-videos__grid { display: flex; flex-wrap: wrap; gap: clamp(1rem, 2vw, 1.5rem); justify-content: center; max-width: var(--container); margin: 0 auto; }
.svc-videos__grid figure { flex: 1 1 320px; max-width: 540px; overflow: hidden; background: #000; border-radius: 4px; }
.svc-videos__grid video { width: 100%; height: auto; display: block; }

/* Home "in motion" video section — 4 columns */
.home-videos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.75rem, 1.5vw, 1.25rem); max-width: var(--container); margin: 0 auto; align-items: start; }
.home-videos__item { overflow: hidden; border-radius: 4px; background: #000; }
.home-videos__item video { width: 100%; height: auto; display: block; }
@media (max-width: 980px) { .home-videos__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .home-videos__grid { grid-template-columns: 1fr; } }

/* Service video (TikTok) */
.svc-video { text-align: center; }
.svc-video__head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.svc-video .eyebrow { color: rgba(255, 255, 255, 0.65); }
.svc-video__title { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 600; }
.svc-video__embed { width: 100%; max-width: 340px; margin: 0 auto; }
.svc-video__embed iframe { width: 100%; height: 745px; border: 0; border-radius: 10px; background: #000; display: block; }
.svc-video__cta { margin-top: 1.75rem; }
@media (max-width: 400px) { .svc-video__embed iframe { height: 680px; } }

.svc-faq__list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.5rem); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--black); transition: transform 0.4s var(--ease); }
.faq__icon::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__body { overflow: hidden; padding-bottom: 1.4rem; max-width: 65ch; color: var(--muted); }

.svc-more { text-align: center; }
.svc-more__list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.svc-more__row { display: flex; justify-content: space-between; align-items: center; padding: clamp(1.1rem, 2vw, 1.6rem) 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 3vw, 2.1rem); transition: padding-left 0.5s var(--ease), color 0.4s var(--ease); }
.svc-more__row:hover { padding-left: 1.25rem; color: var(--muted); }

/* =====================================================================
   About
   ===================================================================== */
.about-story__inner { display: grid; grid-template-columns: 0.5fr 1fr; gap: clamp(2rem, 6vw, 5rem); max-width: var(--container); margin: 0 auto; }
.about-story__body p:first-child { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 3.2vw, 2.4rem); line-height: 1.2; }
.about-story__body p:not(:first-child) { margin-top: 1.25rem; color: var(--muted); font-size: 1.05rem; max-width: 58ch; }
@media (max-width: 760px) { .about-story__inner { grid-template-columns: 1fr; } }

.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.75rem); max-width: var(--container); margin: 0 auto; }
.value-card { background: var(--gray); padding: clamp(1.75rem, 3vw, 2.5rem); }
.value-card__num { display: block; font-family: var(--font-display); font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.value-card h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; margin-bottom: 0.6rem; }
.value-card p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .values__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .values__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Contact
   ===================================================================== */
.contact { padding-top: clamp(8rem, 15vw, 11rem); padding-left: var(--gutter); padding-right: var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; }
.contact__title { font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 700; }
.contact__lead { margin-top: 1.25rem; max-width: 44ch; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.contact__details { margin-top: 2.5rem; }
.contact__details li { display: flex; gap: 1.5rem; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--line); }
.contact__details li:last-child { border-bottom: 1px solid var(--line); }
.contact__label { width: 4.5rem; flex: none; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact__details a:hover { color: var(--black); }
.contact__socials { display: flex; gap: 0.75rem; margin-top: 2rem; }
.contact__socials a { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.contact__socials a:hover { background: var(--black); color: #fff; }
.contact__socials svg { width: 18px !important; height: 18px !important; flex: none; }

.contact__form-wrap { background: var(--gray-2); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.75rem); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field label { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { background: #fff; border: 1px solid var(--line); padding: 0.9rem 1rem; transition: border-color 0.3s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(0, 188, 189, 0.12); }
.field textarea { resize: vertical; }
.contact-form__status { font-size: 0.9rem; min-height: 1.2em; }
.contact-form__status.is-ok { color: #1c7c3c; }
.contact-form__status.is-err { color: #c0392b; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1); }
.field__error { display: block; color: #c0392b; font-size: 0.78rem; margin-top: 0.15rem; }

/* Thank You page */
.thankyou { min-height: 78svh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: clamp(8rem, 15vw, 11rem); padding-bottom: var(--section-y); }
.thankyou__inner { max-width: 640px; margin: 0 auto; }
.thankyou__check { display: inline-flex; width: 72px; height: 72px; color: var(--turquoise); margin-bottom: 1.5rem; }
.thankyou__check svg { width: 100%; height: 100%; }
.thankyou__title { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 700; }
.thankyou__lead { margin-top: 1.25rem; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.thankyou__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.thankyou__meta { margin-top: 1.5rem; color: var(--muted); }
.thankyou__meta a { color: var(--turquoise); text-decoration: underline; text-underline-offset: 2px; }
.thankyou .section { padding-top: 0; }

/* What happens next */
.next-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); max-width: var(--container); margin: 0 auto; counter-reset: none; list-style: none; padding: 0; }
.next-step { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.next-step__num { font-family: var(--font-display); font-weight: 700; color: var(--turquoise); font-size: 1.5rem; display: block; margin-bottom: 0.75rem; }
.next-step h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 0.5rem; }
.next-step p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .next-steps__grid { grid-template-columns: 1fr; } }

/* While you wait (Thank You) + chips */
.thankyou-explore { text-align: center; }
.thankyou-explore__links, .error-404__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; max-width: 700px; margin: 0 auto; }
.thankyou-explore__chip, .error-404__chip { border: 1px solid var(--line); padding: 0.55rem 1.15rem; border-radius: 999px; font-size: 0.85rem; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.thankyou-explore__chip:hover, .error-404__chip:hover { background: var(--turquoise); border-color: var(--turquoise); color: #fff; }
.thankyou-explore__socials { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-top: 2.5rem; }
.thankyou-explore__socials span { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-right: 0.4rem; }
.thankyou-explore__socials a { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.thankyou-explore__socials a:hover { background: var(--turquoise); border-color: var(--turquoise); color: #fff; }
.thankyou-explore__socials svg { width: 18px !important; height: 18px !important; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* =====================================================================
   CTA band + Footer
   ===================================================================== */
.cta { background: var(--turquoise); color: #fff; text-align: center; }
.cta .eyebrow { color: rgba(255, 255, 255, 0.85); }
.cta__inner { max-width: 900px; margin: 0 auto; }
.cta__title { font-size: clamp(2rem, 6vw, 4rem); font-weight: 700; }
.cta__lead { max-width: 52ch; margin: 1.25rem auto 0; color: rgba(255,255,255,0.78); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.25rem; }

.site-footer { background: var(--black); color: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter) 2rem; }
.site-footer__top { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.site-footer__tag { margin-top: 1.25rem; color: rgba(255,255,255,0.6); max-width: 34ch; }
.footer-follow h4, .site-footer__col h4 { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem; font-weight: 600; }
.footer-socials { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.footer-socials a { width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid var(--line-dark); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.footer-socials a:hover { background: #fff; color: var(--black); }
.footer-socials svg { width: 17px !important; height: 17px !important; flex: none; }
.site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.site-footer__col a, .site-footer__col li { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom { max-width: var(--container); margin: 0 auto; padding-top: 2rem; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } .site-footer__nav { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   Basic pages / blog / 404
   ===================================================================== */
.basic-page { max-width: 860px; margin: 0 auto; padding-top: clamp(8rem, 15vw, 11rem); padding-bottom: var(--section-y); padding-left: var(--gutter); padding-right: var(--gutter); }
.basic-page__title { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 700; margin-bottom: 2rem; }
.basic-page__media { margin-bottom: 2.5rem; overflow: hidden; }
.prose p { margin-bottom: 1.25rem; }
.prose h2 { font-size: 1.9rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: var(--container); margin: 0 auto; }
.post-card__media { overflow: hidden; margin-bottom: 1rem; }
.post-card__title { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; }
.post-card__meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.75rem; }
.pagination { margin-top: 3rem; display: flex; justify-content: center; }
.pagination a, .pagination span { padding: 0.5rem 0.85rem; }
@media (max-width: 760px) { .post-list { grid-template-columns: 1fr; } }

.error-404 { min-height: 80svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(8rem, 15vw, 11rem) var(--gutter) var(--section-y); }
.error-404__inner { max-width: 720px; }
.error-404__code { font-family: var(--font-display); font-weight: 700; color: var(--turquoise); font-size: clamp(2.75rem, 9vw, 5.5rem); line-height: 1; margin-bottom: 0.5rem; }
.error-404__title { font-size: clamp(2.5rem, 9vw, 6rem); font-weight: 700; line-height: 0.95; }
.error-404__lead { margin-top: 1.25rem; max-width: 44ch; margin-left: auto; margin-right: auto; color: var(--muted); }
.error-404__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.error-404__links { margin-top: 2.75rem; }
.error-404__links-label { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }

/* =====================================================================
   Floating CTA (PPC)
   ===================================================================== */
.float-cta {
	position: fixed; z-index: 170;
	right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem);
	display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem;
	transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.float-cta--hidden { opacity: 0; transform: translateY(24px); pointer-events: none; }
.float-cta__btn {
	display: inline-flex; align-items: center; gap: 0.55rem;
	padding: 0.85rem 1.45rem; border-radius: 999px;
	font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.float-cta__btn svg { width: 18px; height: 18px; flex: none; }
.float-cta__btn--quote { background: var(--turquoise); color: #fff; animation: floatPulse 2.6s ease-in-out infinite; }
.float-cta__btn--call { background: #fff; color: var(--black); border: 1.5px solid var(--black); }
.float-cta__btn:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26); }
.float-cta__btn--quote:hover { background: var(--turquoise-dark); }
.float-cta__btn--call:hover { background: var(--black); color: #fff; }

@keyframes floatPulse {
	0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
	50% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 0 0 9px rgba(0, 188, 189, 0.22); }
}

/* Mobile: full-width sticky bottom bar (tap-to-call converts on PPC) */
@media (max-width: 768px) {
	.float-cta { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; align-items: stretch; }
	.float-cta__btn { flex: 1; justify-content: center; border-radius: 0; box-shadow: none; padding: 1.05rem 1rem; font-size: 0.9rem; animation: none; }
	.float-cta__btn:hover { transform: none; }
	.float-cta__btn--call { border: 0; }
	.float-cta__btn--quote { border: 0; }
	/* Keep footer content clear of the fixed bar */
	.site-footer__bottom { padding-bottom: 4.25rem; }
}

@media (prefers-reduced-motion: reduce) {
	.float-cta__btn--quote { animation: none; }
}

/* =====================================================================
   Placeholder
   ===================================================================== */
/* Real images dropped into assets/images/ (via casa_image) */
.casa-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__media .casa-img { position: absolute; inset: 0; opacity: 0.55; }

.ph { position: relative; overflow: hidden; width: 100%; background: linear-gradient(135deg, var(--gray), var(--gray-2)); }
.ph__inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; text-align: center; padding: 1.5rem; background-image: repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(14,14,14,0.025) 18px, rgba(14,14,14,0.025) 19px); }
.ph__tag { font-family: var(--font-display); font-weight: 500; font-size: clamp(0.95rem, 1.4vw, 1.2rem); color: var(--ink); max-width: 24ch; }
.ph__hint { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero__media .ph { background: linear-gradient(135deg, #2a2a2a, #161616); }
.hero__media .ph__tag, .hero__media .ph__hint { color: rgba(255,255,255,0.6); }
.highlight__media .ph, .solutions__media .ph { background: linear-gradient(135deg, var(--gray), var(--gray-2)); }

/* =====================================================================
   Reveal animation base states
   ===================================================================== */
[data-reveal], [data-reveal-lines] { opacity: 0; transform: translateY(26px); }
.no-js [data-reveal], .no-js [data-reveal-lines],
[data-reveal].is-in, [data-reveal-lines].is-in { opacity: 1; transform: none; }

/* Split-line reveal (text masked by JS, never hidden via CSS) */
.line-mask { display: block; overflow: hidden; }
.line-inner { display: block; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	[data-reveal], [data-reveal-lines] { opacity: 1; transform: none; }
	.preloader { display: none; }
}
