/* Global Styles */
:root {
	--nav-height: 72px;
	/* Brand red (matches Get Quote / primary CTAs) — before gradient tokens */
	--color-brand-red: #b71c1c;
	--color-brand-red-hover: #991b1b;
	/* CTAs: fully rounded corners + shared “relief” (inset highlight + drop shadow) */
	--btn-radius: clamp(14px, 1.8vw, 22px);
	--btn-bg-red: linear-gradient(180deg, #e53935 0%, var(--color-brand-red) 48%, #8e161c 100%);
	--btn-bg-red-hover: linear-gradient(180deg, #ef5350 0%, #d32f2f 50%, #b71c1c 100%);
	--btn-relief-red:
		0 2px 0 rgba(0, 0, 0, 0.14) inset,
		0 1px 0 rgba(255, 255, 255, 0.22) inset,
		0 4px 16px rgba(183, 28, 28, 0.36),
		0 2px 6px rgba(0, 0, 0, 0.16);
	--btn-relief-red-hover:
		0 2px 0 rgba(255, 255, 255, 0.14) inset,
		0 6px 22px rgba(183, 28, 28, 0.42),
		0 3px 8px rgba(0, 0, 0, 0.14);
	--btn-bg-green: linear-gradient(180deg, #22c55e 0%, #16a34a 45%, #15803d 100%);
	--btn-bg-green-hover: linear-gradient(180deg, #4ade80 0%, #22c55e 50%, #166534 100%);
	--btn-relief-green:
		0 2px 0 rgba(0, 0, 0, 0.12) inset,
		0 1px 0 rgba(255, 255, 255, 0.28) inset,
		0 4px 16px rgba(22, 163, 74, 0.34),
		0 2px 6px rgba(0, 0, 0, 0.14);
	--btn-relief-green-hover:
		0 2px 0 rgba(255, 255, 255, 0.14) inset,
		0 6px 22px rgba(22, 163, 74, 0.4),
		0 3px 8px rgba(0, 0, 0, 0.12);
	--btn-bg-purple: linear-gradient(180deg, #a855f7 0%, #7c3aed 48%, #5b21b6 100%);
	--btn-bg-purple-hover: linear-gradient(180deg, #c084fc 0%, #9333ea 50%, #6d28d9 100%);
	--btn-relief-purple:
		0 2px 0 rgba(0, 0, 0, 0.13) inset,
		0 1px 0 rgba(255, 255, 255, 0.28) inset,
		0 4px 16px rgba(124, 58, 237, 0.38),
		0 2px 6px rgba(0, 0, 0, 0.14);
	--btn-relief-purple-hover:
		0 2px 0 rgba(255, 255, 255, 0.14) inset,
		0 6px 22px rgba(124, 58, 237, 0.46),
		0 3px 8px rgba(0, 0, 0, 0.12);
	--btn-relief-light:
		0 2px 0 rgba(255, 255, 255, 0.95) inset,
		0 1px 0 rgba(30, 60, 114, 0.1) inset,
		0 4px 14px rgba(30, 60, 114, 0.14),
		0 2px 5px rgba(0, 0, 0, 0.08);
	--btn-relief-light-hover:
		0 2px 0 rgba(255, 255, 255, 1) inset,
		0 6px 20px rgba(30, 60, 114, 0.18),
		0 3px 8px rgba(0, 0, 0, 0.1);
	/* Display titles — Helvetica */
	--font-display: Helvetica, Arial, sans-serif;
	--title-tracking: -0.035em;
	--title-line-tight: 1.08;
	--title-text: #111111;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
	background-color: #fff;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.6;
	color: #333;
	background-color: #fff;
	background-image: none;
}

/* Screen-reader only: visible to SEO and assistive tech, hidden visually */

/* Navigation — truly transparent (no blur: blur causes a gray “frosted” bar) */
nav {
	background: transparent !important;
    padding: 1rem 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	margin: 0;
    z-index: 1000;
	box-shadow: none !important;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	transition: transform 0.35s ease;
	will-change: transform;
}

/* Compact header when scrolled: show hamburger only (works on desktop too) */
.nav-compact {
    background: rgba(0, 0, 0, 0.35) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.6rem 0;
}

.nav-compact .menu-toggle {
    display: inline-flex;
    align-items: center;
}

.nav-compact .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: column;
    padding: 1rem;
    gap: 0;
}

.nav-compact .nav-links.active {
    display: flex;
}

.nav-compact .nav-links li {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-compact .nav-links li a:not(.nav-cta-btn):not(.nav-quick-screen-quote-btn) {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: left;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* Full-screen hit layer when dropdown is open: below nav (1000), above page content */

/* Hide-on-scroll: slides up when scrolling down */

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
	justify-content: flex-end;
    align-items: center;
	gap: 1.5rem;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin-right: auto;
	flex-shrink: 0;
	text-decoration: none;
	color: #fff;
	font-family: var(--font-display), system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(0.82rem, 1.25vw, 1.05rem);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 14px rgba(0, 0, 0, 0.4);
}

.logo:hover {
	color: #fff;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo .logo-wordmark {
    display: inline-block;
	line-height: 1.1;
	white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a:not(.nav-cta-btn):not(.nav-quick-screen-quote-btn) {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s, text-shadow 0.3s;
    padding: 0.5rem 0;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.95),
        0 1px 3px rgba(0, 0, 0, 0.88),
        0 2px 10px rgba(0, 0, 0, 0.72),
        0 0 22px rgba(0, 0, 0, 0.55);
}

.nav-links a:not(.nav-cta-btn):not(.nav-quick-screen-quote-btn):hover {
    color: #ffd700;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.95),
        0 1px 3px rgba(0, 0, 0, 0.88),
        0 2px 10px rgba(0, 0, 0, 0.72),
        0 0 18px rgba(255, 215, 0, 0.45);
}

.nav-links a.nav-cta-btn {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #ffd700;
}

.nav-cta-btn {
    background: var(--btn-bg-red);
    color: #fff !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--btn-radius);
    border: 1px solid rgba(255, 220, 220, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
    box-shadow: var(--btn-relief-red);
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-cta-btn:hover {
    background: var(--btn-bg-red-hover) !important;
    color: #fff !important;
    border-color: rgba(255, 240, 240, 0.78) !important;
    box-shadow: var(--btn-relief-red-hover);
    transform: translateY(-1px);
}

/* Quick Screen Repair / calculator — nav (tool page) or home hero CTA */

.hero-quick-repair-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 48%, #1e3a8a 100%);
	color: #fff !important;
	padding: 0.5rem 1rem !important;
	border-radius: var(--btn-radius);
	border: 1px solid rgba(186, 214, 255, 0.55);
	text-decoration: none !important;
	font-weight: 600;
	font-size: clamp(0.7rem, 1.05vw, 0.85rem);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
	box-shadow:
		0 2px 0 rgba(0, 0, 0, 0.14) inset,
		0 1px 0 rgba(255, 255, 255, 0.22) inset,
		0 4px 16px rgba(29, 78, 216, 0.38),
		0 2px 6px rgba(0, 0, 0, 0.16);
	transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}


.hero-quick-repair-btn:hover {
	color: #fff !important;
	background: linear-gradient(180deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%) !important;
	border-color: rgba(219, 234, 254, 0.9) !important;
	box-shadow:
		0 2px 0 rgba(255, 255, 255, 0.12) inset,
		0 6px 22px rgba(29, 78, 216, 0.45),
		0 3px 8px rgba(0, 0, 0, 0.14);
	transform: translateY(-1px);
}


.hero-quick-repair-btn:focus-visible {
	outline: 3px solid rgba(147, 197, 253, 0.95);
	outline-offset: 3px;
}

.hero-quick-repair-btn {
	font-size: clamp(0.75rem, 2.2vw, 0.92rem);
	padding: 0.55rem 1.15rem !important;
}

/* Home hero: third slot in .cta-buttons (replaces Email Us) */
.cta-buttons .hero-quick-repair-btn--cta-row {
	order: 3;
	white-space: normal;
	text-align: center;
	line-height: 1.2;
	max-width: min(17.5rem, 100%);
}

/* Quick Screen Quote tool page */

/* Diagram: natural image 1008×1024; fluid width so it fits phones—browsers scale <map> areas with the rendered image */

/* Desktop: diagram left, instructions + cart right */

/* Absolutely positioned hit-zones (buttons/SVG) go inside; toggle .is-interactive when ready */

/* Desktop only: brand mark under cart in right column */

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    align-items: center;
    gap: 0.7rem;
    padding: 0.35rem 0;
    background: none;
    border: none;
    color: #fff;
    font-family: inherit;
    cursor: pointer;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.menu-toggle-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.menu-toggle-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

/* Hero — background extends under fixed nav; content starts just below nav */
.hero {
    position: relative;
    margin-top: 0;
    padding-top: calc(var(--nav-height) + 0.15rem);
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: #fff;
	background: #1a1a1a;
}

@media (min-width: 769px) {
    .hero-content {
        padding: 0 2rem 1.25rem;
    }

    .hero h1,
    .hero .hero-title--wrap {
        padding: 0;
        margin: 0 0 0.5rem;
    }

    .hero-logo {
        max-width: 220px;
        margin-bottom: 0.5rem;
    }

    .hero .hero-subtitle {
        font-size: clamp(0.85rem, 0.55rem + 0.9vw, 1.25rem);
        margin-bottom: 0.4rem;
        padding: 0.2rem 0.5rem;
    }

    .hero .hero-subtitle.hero-subtitle--multiline {
        line-height: 1.25;
    }

    .hero-service-area {
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    .hero p {
        margin-bottom: 0.75rem;
    }

    .cta-buttons {
        margin-top: 0.65rem;
    }

    .hero-stars {
        width: min(140px, 32vw);
        margin-top: 0.65rem;
    }

    .hero-fast-response {
        margin-top: 0.25rem;
    }
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.5);
    -webkit-filter: brightness(0.5);
    animation: kenBurns 30s infinite alternate ease-in-out;
}

/* Home hero: full-bleed background video (cover viewport; avoids intrinsic video box staying small) */
.hero-bg-container.hero-bg-video {
    overflow: hidden;
}

.hero-bg-image--lcp {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.85);
    -webkit-filter: brightness(0.85);
    z-index: 0;
    pointer-events: none;
    animation: none;
    transform: none;
}

@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(-2%, -2%); }
    100% { transform: scale(1.2) translate(2%, 2%); }
}

.screen-mesh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 4px 4px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(30, 60, 114, 0.25) 0%, 
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 2;
}

/* Video hero: less tint on top so the pool reads brighter (text still readable) */
.hero:has(.hero-bg-video) .hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(30, 60, 114, 0.12) 0%,
        rgba(0, 0, 0, 0.06) 100%
    );
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    z-index: 3;
    position: relative;
    /* Stack title + tagline (service pages use inline-block h1/p; column keeps them on separate rows) */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    max-width: 220px;
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: 
        drop-shadow(0 0 10px rgba(0, 0, 0, 0.4))
        drop-shadow(0 0 20px rgba(0, 0, 0, 0.3))
        drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: var(--title-tracking);
    line-height: var(--title-line-tight);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 1rem 2.5rem;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

/* Home hero: keep title on one centered line when there is room */

/* Home hero: long headline — centered, wraps (replaces single-line for long titles) */
.hero-title--wrap {
    display: block;
    width: 100%;
    max-width: min(36rem, 92vw);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    white-space: normal;
    line-height: 1.18;
    font-size: clamp(1.2rem, 2.2vw + 0.75rem, 2.35rem);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    box-sizing: border-box;
    transform: none;
    letter-spacing: 0.01em;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    padding: 0.75rem 1.25rem;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    display: inline-block;
}

/* Tagline under logo — title scale, single line */
.hero .hero-subtitle {
    font-size: clamp(0.72rem, 0.42rem + 2.65vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.03em;
    text-transform: none;
    margin-bottom: 1.25rem;
    white-space: nowrap;
    max-width: 100%;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.45),
        0 1px 3px rgba(0, 0, 0, 0.55);
    padding: 0.35rem 0.5rem;
}

/* Quick Screen tool hero: long subtitle must wrap and stay centered */
.hero .hero-subtitle.hero-subtitle--multiline {
    white-space: normal;
    text-align: center;
    max-width: min(38rem, 100%);
    width: 100%;
    line-height: 1.35;
    box-sizing: border-box;
}

/* Screening repair LP: shorter hero so photo + headline return above the fold */

/* Screening LP mobile: red waves/CTA stack above hero — push CTA down + reserve space for tagline */
@media (max-width: 768px) {
	/* Less negative overlap than generic .hero + .hero-cta-after so the red block sits lower */

	/* Shorter wave = less vertical intrusion over the photo on narrow screens */
}

.hero-service-area {
    font-size: 1rem;
    margin-top: 0.75rem;
    opacity: 0.95;
    font-weight: 500;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    display: inline-block;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem auto 0;
    width: fit-content;
}

.hero .cta-buttons {
    width: 100%;
    margin: 0.5rem auto 0;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .hero .cta-buttons {
        width: fit-content;
        margin-top: 0.65rem;
    }
}

.hero-fast-response {
    text-align: center;
    max-width: 28rem;
    margin: 0.4rem auto 0;
    padding: 0 1rem;
    font-size: 0.25rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hero-fast-response strong {
    display: block;
    margin-bottom: 0.12rem;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-stars {
    display: block;
    width: min(170px, 55vw);
    height: auto;
    margin: 1.05rem auto 0;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.55));
}

.btn-lottie-icon {
    display: inline-flex;
    width: 1.45rem;
    height: 1.45rem;
    flex-shrink: 0;
    pointer-events: none;
}

.btn-lottie-icon svg {
    filter: brightness(0) invert(1);
}

.btn {
    padding: 0.8rem 1.8rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--btn-radius);
    transition:
        background 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        border-color 0.25s ease,
        transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-quote {
    background: var(--btn-bg-red);
    color: #fff;
    order: 2; /* Center in 3-button layout */
    z-index: 2;
    border: 1px solid rgba(255, 220, 220, 0.45);
    box-shadow: var(--btn-relief-red);
}

.btn-quote:hover {
    background: var(--btn-bg-red-hover);
    border-color: rgba(255, 240, 240, 0.75);
    box-shadow: var(--btn-relief-red-hover);
    transform: translateY(-3px) scale(1.05);
    z-index: 2;
}

.btn-primary {
    background: var(--btn-bg-green);
    color: #fff;
    order: 1;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: var(--btn-relief-green);
}

.btn-primary:hover {
    background: var(--btn-bg-green-hover);
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: var(--btn-relief-green-hover);
    transform: translateY(-3px) scale(1.05);
    z-index: 2;
}

/* Reviews page: “View all on Google” CTA (purple, same relief pattern as other .btn variants) */

/* Reviews page: heading sits tight above summary bar */

/* Reviews page: summary banner (below “Customer Testimonials” heading) */

/* Container */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Section Headings — bold display type, red + gold rule */
.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.85rem, 1.35rem + 2.4vw, 2.85rem);
    letter-spacing: var(--title-tracking);
    line-height: var(--title-line-tight);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--title-text);
    position: relative;
    padding-bottom: 1.1rem;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(3.5rem, 18vw, 5.75rem);
    height: 4px;
    background: var(--color-brand-red);
    border-radius: 0;
}

/* In-page section headings (about, services, etc.) */

/* Home: Completed Projects — title centered; gallery full-bleed, images edge-to-edge */
.our-work-section {
    background: #fff;
    padding: 3rem 0 2.5rem;
}

.our-work-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.our-work-title {
    margin-bottom: 2.5rem;
}

.our-work-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    align-items: stretch;
}

.our-work-card {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    background: #e8edf5;
}

.our-work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.our-work-more {
    display: flex;
    justify-content: center;
    padding: 2rem 1.5rem 0;
}

.our-work-more-btn {
    text-transform: none;
    letter-spacing: 0;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.25rem;
}

.modal-backdrop.is-open {
    display: flex;
}

.modal-window {
    width: min(1100px, 100%);
    max-height: min(86vh, 820px);
    overflow: auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
    padding: 2.25rem 2.25rem 2rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: #111;
    font-size: 1.6rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.modal-close:hover {
    background: #f6f6f6;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.modal-gallery-card {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e8edf5;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .modal-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .modal-window {
        padding: 1.75rem 1.25rem 1.25rem;
    }
}

@media (max-width: 520px) {
    .modal-gallery {
        grid-template-columns: 1fr;
    }
}

/* Home: Services — card grid with gutters (separated tiles) */
.home-services-showcase {
    background: #eceef2;
    padding: 0 0 0.25rem;
}

/* Home: Service area map (below Services) */

.home-services-header {
    padding: 3rem 1.5rem 1.75rem;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.home-services-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.home-services-heading {
    margin-bottom: 0;
}

.home-services-bands {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2.2vw, 1.75rem);
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 3vw, 2.25rem) 2.75rem;
    box-sizing: border-box;
}

/* 12 columns: two rows of four tiles (each span 3) */
@media (min-width: 561px) {
    .home-services-bands {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .home-services-bands .home-service-tile {
        grid-column: span 3;
    }
}

.home-service-tile {
    position: relative;
    width: 100%;
    min-height: clamp(300px, 38vh, 500px);
    overflow: hidden;
    border: none;
    border-radius: 14px;
    display: block;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.home-service-tile:hover,
.home-service-tile:focus-visible {
    filter: brightness(1.04);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    outline: none;
}

.home-service-tile:focus-visible {
    outline: 3px solid #ffd700;
    outline-offset: 3px;
    z-index: 1;
}

.home-service-tile-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.45s ease;
}

/* Screening: align to top of photo so workers and the work up high stay visible (cover + center was cropping heads) */
.home-service-tile--screening .home-service-tile-bg {
    background-position: center top;
}

.home-service-tile:hover .home-service-tile-bg,
.home-service-tile:focus-visible .home-service-tile-bg {
    transform: scale(1.06);
}

.home-service-tile-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.45) 55%,
            rgba(0, 0, 0, 0.78) 100%
        );
    z-index: 1;
    pointer-events: none;
}

.home-service-tile-body {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem 1.75rem;
    box-sizing: border-box;
    max-width: 720px;
    margin: 0 auto;
}

.home-service-tile-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 0;
}

.home-service-tile-title {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 4.2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.92),
        0 2px 16px rgba(0, 0, 0, 0.65);
    margin-bottom: 0.65rem;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.home-service-tile-desc {
    display: block;
    font-size: clamp(0.9rem, 2.1vw, 1.05rem);
    line-height: 1.55;
    max-width: 38rem;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.88),
        0 1px 12px rgba(0, 0, 0, 0.6);
    opacity: 0.98;
    padding-top: 0.25rem;
}

.home-service-tile-cta {
    display: block;
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.85),
        0 2px 10px rgba(0, 0, 0, 0.55);
    padding-top: 0.5rem;
}

@media (max-width: 1100px) {
    .home-services-bands {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-services-bands .home-service-tile:nth-child(n) {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .home-services-bands {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home-services-bands .home-service-tile:nth-child(n) {
        grid-column: auto;
    }
}

/* Wide / featured service tile — spans the full row as a horizontal banner */
.home-services-bands .home-service-tile.home-service-tile--wide {
    min-height: clamp(220px, 26vh, 320px);
}

@media (min-width: 561px) {
    .home-services-bands .home-service-tile.home-service-tile--wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1100px) {
    .home-services-bands .home-service-tile--wide:nth-child(n) {
        grid-column: 1 / -1;
    }
}

.home-service-tile--wide .home-service-tile-bg {
    background-position: center 38%;
}

.home-service-tile--wide .home-service-tile-overlay {
    background:
        linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)),
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.35) 55%,
            rgba(0, 0, 0, 0.25) 100%
        );
}

.home-service-tile--wide .home-service-tile-body {
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 3rem);
}

.home-service-tile--wide .home-service-tile-stack {
    max-width: 880px;
}

.home-service-tile--wide .home-service-tile-title {
    font-size: clamp(1.8rem, 3.2vw, 2.65rem);
}

.home-service-tile--wide .home-service-tile-desc {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    max-width: 720px;
    margin-top: 0.65rem;
}

.home-service-tile-eyebrow {
    display: inline-block;
    font-size: clamp(0.7rem, 1.1vw, 0.78rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffd700;
    padding: 0.3rem 0.7rem;
    border: 1px solid rgba(255, 215, 0, 0.55);
    border-radius: 999px;
    margin-bottom: 0.85rem;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.25);
}

/* Quote Request Form Card (fake form, links to quote page) */
.form-card-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.form-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    max-width: 380px;
}

.form-card {
    background: #fef2f2;
    border: 2px solid rgba(204, 0, 0, 0.25);
    border-radius: 14px;
    padding: 2rem 2rem 1.5rem;
    box-shadow:
        0 10px 36px rgba(0, 0, 0, 0.12),
        0 4px 14px rgba(204, 0, 0, 0.14);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.form-card:hover {
    border-color: #CC0000;
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.16),
        0 8px 24px rgba(204, 0, 0, 0.22);
    transform: translateY(-4px);
    background: #fecaca;
}

.form-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: var(--title-tracking);
    line-height: var(--title-line-tight);
    color: var(--title-text);
    margin: 0 0 1.5rem 0;
    text-align: center;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.form-card-field {
    margin-bottom: 1.25rem;
}

.form-card-field-lg {
    margin-bottom: 1.5rem;
}

.form-card-label {
    display: block;
    font-size: 0.85rem;
    color: #4a0a0a;
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.form-card-line {
    display: block;
    height: 2px;
    background: rgba(204, 0, 0, 0.2);
    border-radius: 0;
}

.form-card-cta {
    margin-top: 1.5rem;
    padding: 0.7rem 1rem;
    background: var(--btn-bg-red);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--btn-radius);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 220, 220, 0.45);
    box-shadow: var(--btn-relief-red);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.form-card:hover .form-card-cta {
    background: var(--btn-bg-red-hover);
    border-color: rgba(255, 240, 240, 0.75);
    box-shadow: var(--btn-relief-red-hover);
}

/* Google Reviews Card – card layout like others, but Google’s own visual style */

/* Before & After Section */

/* Gallery/Image Grid */

/* Services Grid */

/* Wide / featured service card — horizontal banner spanning the whole row */

/* Why Choose Us — column layout: títulos sin caja, acentos en rojo de marca */
.why-choose-band {
    margin: 0;
    padding: clamp(2.85rem, 5.5vw, 4.25rem) 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.why-choose-band .container {
    padding-top: 0;
    padding-bottom: 0;
}

.why-choose-heading {
    margin: 0 auto 2.85rem;
    padding: 0;
    border: 0;
    text-align: center;
    max-width: 100%;
}

.why-choose-heading__text {
    display: inline-block;
    padding-bottom: 0.7rem;
    border-bottom: 7px solid #2a2a2a;
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: clamp(1.65rem, 1.1rem + 2.5vw, 2.65rem);
    line-height: 1.12;
}

.why-choose-heading__muted {
    color: #333;
}

.why-choose-heading__accent {
    color: var(--color-brand-red);
}

.why-choose-section {
    margin: 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(1.35rem, 2vw, 1.85rem);
    align-items: start;
}

.why-choose-card {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.why-choose-card-head {
    background: transparent;
    border: none;
    padding: 0 0.45rem 0.6rem;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.2rem;
}

.why-choose-card-head__dark,
.why-choose-card-head__blue {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
    max-width: 100%;
}

.why-choose-card-head__dark {
    font-size: clamp(1.05rem, 0.85rem + 0.75vw, 1.32rem);
    letter-spacing: 0.08em;
    color: #222;
}

.why-choose-card-head__blue {
    font-size: clamp(1.38rem, 1.12rem + 1.25vw, 2rem);
    letter-spacing: 0.06em;
    color: var(--color-brand-red);
}

.why-choose-card p {
    margin: 1rem 0 0;
    padding: 0 0.2rem;
    color: #4a4a4a;
    font-size: clamp(0.92rem, 0.84rem + 0.28vw, 1.02rem);
    line-height: 1.65;
    text-align: center;
}

/* Welcome band: Apple statement + Welcome heading + contact card */
.home-welcome-photo-band {
    position: relative;
    padding: 2.5rem 0 3rem;
    background: #e5eaee url('public/Photo%2029-band.webp') center / cover no-repeat;
}

.home-welcome-photo-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    pointer-events: none;
}

.home-welcome-photo-band .container {
    position: relative;
    z-index: 1;
}

.home-welcome-photo-band__apple.apple-statement {
    margin-top: 0;
}

.home-welcome-photo-band > .container > .section-title {
    margin-top: 2.25rem;
}

/* Home: section title on white, after service bands (before welcome / quote band) */
.container.home-after-services-heading-wrap {
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.container.home-after-services-heading-wrap .section-title {
    margin-bottom: 0;
}

/* Apple-style statement (Services) */
.apple-statement {
    max-width: 980px;
    margin: 2.75rem auto 0;
    text-align: center;
    padding: 0 1.25rem;
}

.apple-statement-eyebrow {
    margin: 0 0 0.75rem 0;
    color: rgba(17, 17, 17, 0.75);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.apple-statement-headline {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.04;
    color: #111;
    font-size: clamp(2.1rem, 2.4vw + 1.25rem, 3.35rem);
}

.apple-accent {
    color: var(--color-brand-red);
}

.apple-statement-subcopy {
    margin: 1.1rem auto 0;
    max-width: 52rem;
    color: rgba(17, 17, 17, 0.72);
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 520px) {
    .apple-statement-subcopy {
        font-size: 1rem;
    }
}

@media (max-width: 1200px) {
    .why-choose-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .why-choose-card-head {
        padding: 0 0.6rem 0.4rem;
    }
    .why-choose-card p {
        text-align: center;
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Estimate by text / SMS (service-screening.html) */

/* Nested under service-showcase: sits below photo + quick-quote CTA card */

/* Mobile: thin neutral left border — removes double red stripe (showcase + estimate card), screening only */

/* Service detail showcase — richer layout (service-custom-enclosures + other service-*.html pages) */

/* Screen repair landing — small jobs / single panels (service-screening.html) */

/* Content Sections */

/* Responsive embeds (maps, videos) */

/* Reviews */

/* Areas we serve: Popular cities list (red tick bullets like homepage) */

/* Initials avatar (Google-style colored circle) */
.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1;
    flex-shrink: 0;
    user-select: none;
}

.review-avatar--photo {
    padding: 0;
    background: transparent;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.review-avatar--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.review-avatar--c0 { background-color: #1a73e8; }
.review-avatar--c1 { background-color: #00897b; }
.review-avatar--c2 { background-color: #d93025; }
.review-avatar--c3 { background-color: #7b1fa2; }
.review-avatar--c4 { background-color: #0277bd; }
.review-avatar--c5 { background-color: #e65100; }
.review-avatar--c6 { background-color: #5e35b1; }
.review-avatar--c7 { background-color: #00838f; }
.review-avatar--c9 { background-color: #c2185b; }
.review-avatar--c10 { background-color: #5c6bc0; }
.review-avatar--c11 { background-color: #795548; }
.review-avatar--c12 { background-color: #ad1457; }
.review-avatar--c13 { background-color: #1565c0; }
.review-avatar--c14 { background-color: #e91e63; }

.review-stars {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    line-height: 1;
}

.review-verified {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-shrink: 0;
    border-radius: 50%;
    background: #1a73e8;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.review-verified::before {
    content: "✓";
}

.review-google-mark {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.review-text {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.review-author {
    font-weight: 600;
    color: var(--color-brand-red);
}

/* Interior pages: pull CTA up over hero bottom so photo reads continuous under waves + red band */

/* Extend hero image/overlay past section so it shows behind the CTA block */
.hero:has(+ .hero-cta-after) .hero-bg-container,
.hero:has(+ .hero-cta-after) .hero-overlay,
.hero:has(+ .hero-cta-after) .screen-mesh-overlay {
	bottom: clamp(-120px, -19vw, -70px);
}

.hero:has(+ .hero-cta-after) {
	position: relative;
	z-index: 1;
}

/* Remove white gap between red CTA band and next section (e.g. map strip on Reviews) */

/* FAQ: keep clear space below red CTA band so the white window does not tuck under the waves/band */

/* Screening repair LP (service-screening.html): compact band + CTAs */

/* Repair LP: stack "Free estimate" + Call vertically (desktop too) */

/* Long selector beats .hero-cta-after__lead a[href^="tel:"] (same-ish specificity, later in file) */

/* Screening repair LP: CTAs read in caps without shouting in source */

/* Keep "Request your quote" aligned with the call button width on the repair LP */

/* Request quote — orange */

/* Quick screen tool — blue */

/* Text / SMS — orange */

/* service-screening.html: compact red band on small screens */

/* Phone in red band: green CTA (site-wide hero band, matches screening repair LP) */

/* Estimate CTA in red band: orange (paired with green call button) */

/* Home: reviews carousel */
.home-reviews {
    margin: 3.25rem 0 0;
}

/* Home: Wisetack financing band */
.wisetack-band {
    margin: 0 0 2.75rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.wisetack-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.95fr) minmax(320px, 1.05fr);
    gap: 0;
    align-items: stretch;
}

.wisetack-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
}

.wisetack-media img {
    width: 100%;
    height: auto;
    max-width: 420px;
    display: block;
    border-radius: 0;
    border: none;
    background: transparent;
}

.wisetack-copy {
    padding: 1.35rem 1.5rem;
}

.wisetack-title {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: var(--title-tracking);
    line-height: 1.08;
    color: var(--title-text);
    font-size: clamp(1.35rem, 1.05rem + 1.2vw, 1.85rem);
    margin: 0 0 0.85rem;
}

.wisetack-text {
    margin: 0 0 1.25rem;
    color: #555;
    font-size: 0.98rem;
    line-height: 1.7;
}

.wisetack-fineprint {
    margin: 0;
    color: rgba(17, 17, 17, 0.55);
    font-size: 0.85rem;
    line-height: 1.5;
}

.wisetack-logo {
    margin-top: 1.1rem;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.wisetack-logo img {
    width: min(320px, 80%);
    height: auto;
    display: block;
    opacity: 0.98;
    transform: scale(1.08);
    transform-origin: center;
    /* Trim faint edge lines inside the PNG */
    clip-path: inset(0 7% 0 7%);
}

@media (max-width: 900px) {
    .wisetack-grid {
        grid-template-columns: 1fr;
    }
    .wisetack-copy {
        padding: 1.2rem 1.15rem;
    }
    .wisetack-media {
        padding: 0.9rem;
    }
}

.home-reviews-google-badge {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.home-reviews-google-badge img {
    width: min(200px, 70vw);
    height: auto;
    display: block;
}

.home-reviews-google-meta {
    margin: 0.4rem 0 0;
    text-align: center;
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.01em;
}

/* Home: Google-style review summary card */
.google-review-summary {
    max-width: 520px;
    margin: 1.5rem auto 0;
    padding: 0 0.5rem;
}

.google-review-summary__inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem 1.15rem;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.12);
}

.google-review-summary__profile {
    flex-shrink: 0;
    width: clamp(72px, 18vw, 88px);
    height: clamp(72px, 18vw, 88px);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8eaed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

.google-review-summary__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.google-review-summary__body {
    min-width: 0;
    flex: 1;
}

.google-review-summary__name {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.25rem);
    font-weight: 700;
    color: #202124;
    line-height: 1.2;
}

.google-review-summary__stars-row {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}

.google-review-summary__stars {
    color: #fbbc04;
    font-size: clamp(1rem, 0.92rem + 0.35vw, 1.15rem);
    letter-spacing: 0.04em;
    line-height: 1;
}

.google-review-summary__gmark {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.google-review-summary__count {
    margin: 0 0 0.85rem;
    font-size: 0.875rem;
    line-height: 1.35;
}

.google-review-summary__count a {
    color: #5f6368;
    text-decoration: none;
}

.google-review-summary__count a:hover {
    color: #202124;
    text-decoration: underline;
}

.google-review-summary__write-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.45rem 1rem;
    border: 1px solid #dadce0;
    border-radius: 8px;
    background: #fff;
    color: #3c4043 !important;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.google-review-summary__write-btn:hover {
    background: #f8f9fa;
    border-color: #bdc1c6;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15);
}

@media (max-width: 480px) {
    .google-review-summary__inner {
        padding: 0.9rem;
    }

    .google-review-summary__write-btn {
        width: 100%;
    }
}

/* Screen Mesh Types (Screening service page) */

.reviews-carousel {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.reviews-carousel-viewport {
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    background: #fff;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.reviews-carousel-viewport:focus-visible {
    outline: 2px solid var(--brand-red, #c43d52);
    outline-offset: 3px;
}

.reviews-carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}

.reviews-carousel-slide {
    flex: 0 0 calc(100% / 3);
    padding: 2rem 2.25rem 1.75rem;
    text-align: center;
}

.reviews-carousel-slide:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.reviews-carousel-slide .review-text {
    font-style: italic;
}

.reviews-carousel-slide .review-avatar {
    margin-bottom: 0.75rem;
}

.review-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    max-width: min(220px, 88%);
    margin: 0.75rem auto 0.85rem;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f3f4;
}

.review-photos img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

@media (max-width: 1100px) {
    .reviews-carousel-slide {
        flex-basis: calc(100% / 2);
    }
}

.reviews-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    padding: 0;
    margin: 0;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.96);
    color: #111;
    font-size: 1.85rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    -webkit-tap-highlight-color: transparent;
}

.reviews-carousel-btn:hover {
    background: #fff;
}

.reviews-carousel-btn--prev {
    left: -20px;
}

.reviews-carousel-btn--next {
    right: -20px;
}

@media (max-width: 768px) {
    .reviews-carousel-slide {
        flex-basis: 100%;
        padding: 1.5rem 1.25rem 1.25rem;
        text-align: left;
    }
    .reviews-carousel-slide .review-avatar {
        margin-left: 0;
        margin-right: 0;
    }
    .reviews-carousel-btn--prev {
        left: 10px;
    }
    .reviews-carousel-btn--next {
        right: 10px;
    }
}

/* Insurance Documents */

/* FAQ page: content in a centered “window” panel */

/* FAQ Section */

/* Footer — negro arriba / centro, degradado a rojo de marca hacia abajo */
footer {
    background: linear-gradient(
        180deg,
        #0b0c0f 0%,
        #0b0c0f 48%,
        #1c0c10 58%,
        #3f1016 72%,
        #651418 86%,
        var(--color-brand-red) 100%
    );
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    padding: 3.25rem 1.5rem 2.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
}

.footer-brand {
    display: grid;
    place-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.footer-logo {
    width: min(220px, 70vw);
    height: auto;
    object-fit: contain;
    opacity: 0.96;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.55));
}

.footer-title {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
    line-height: 1.1;
}

.footer-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.98rem;
}

.footer-service-area {
    font-size: 0.95rem;
    opacity: 0.88;
    margin: 0.25rem 0 0 0;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.95rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.footer-social-link--facebook {
    background: rgba(24, 119, 242, 0.92);
    border-color: rgba(24, 119, 242, 0.7);
}

.footer-social-link--whatsapp {
    background: rgba(37, 211, 102, 0.92);
    border-color: rgba(37, 211, 102, 0.7);
}

.footer-social-link--yelp {
	background: rgba(214, 19, 25, 0.92);
	border-color: rgba(214, 19, 25, 0.7);
}

.footer-social-link--instagram {
	background: linear-gradient(
		45deg,
		#f9ce34 0%,
		#ee2a7b 38%,
		#d92e7f 55%,
		#6228d7 78%,
		#405de6 100%
	);
	border-color: rgba(255, 255, 255, 0.35);
}

.footer-social-link--instagram img {
	width: 20px;
	height: 20px;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.footer-social-link:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    border-color: rgba(255, 255, 255, 0.28);
}

.footer-social-link:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.75);
    outline-offset: 3px;
}

.footer-social-link img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 1.75rem auto 0;
}

.footer-item {
    display: block;
    padding: 1.25rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.42),
        0 2px 10px rgba(0, 0, 0, 0.28);
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.22s ease;
}

.footer-item:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.55),
        0 4px 18px rgba(0, 0, 0, 0.35);
    transform: translateY(-3px);
}

.footer-item:focus-visible {
    outline: 2px solid rgba(255, 215, 0, 0.9);
    outline-offset: 3px;
}

.footer-item:active {
    transform: translateY(-1px);
}

.footer-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    margin: 0 auto 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.footer-item-icon svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.92);
    opacity: 0.95;
}

.footer-item-label {
    margin: 0 0 0.25rem 0;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.footer-item-value {
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-weight: 600;
    word-break: break-word;
}

.footer-item:hover .footer-item-value {
    color: #fff;
}

.footer-item:hover .footer-item-label {
    color: rgba(255, 255, 255, 0.72);
}

.footer-item:hover .footer-item-icon {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-item {
        text-align: left;
        display: grid;
        grid-template-columns: 54px 1fr;
        gap: 0.9rem;
        align-items: start;
    }
    .footer-item-icon {
        margin: 0;
    }

    .footer-item-icon {
        grid-row: 1 / span 2;
    }

    .footer-item-label,
    .footer-item-value {
        grid-column: 2;
    }
}

/* Quote page — full-width band: inverted footer gradient (brand red → black) so black meets footer top */

/* Jobber embed: marco redondeado y sombra alrededor del formulario real */

/* Quote page — Request form (custom) */

/* Hide honeypot visually (but keep for bots) */

/* Mobile break helper */
.mobile-break {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li a:not(.nav-cta-btn):not(.nav-quick-screen-quote-btn) {
        display: block;
        width: 100%;
        padding: 1rem;
        text-align: left;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    }

    .nav-links li a.nav-cta-btn {
        display: block;
        width: 100%;
        padding: 1rem;
        text-align: left;
    }

    .logo {
        font-size: clamp(0.65rem, 2.8vw, 0.9rem);
        gap: 0.4rem;
    }

    .logo-img {
        height: 40px;
    }

    .hero {
        margin-top: 0;
        padding-top: calc(var(--nav-height) + 0.5rem);
        min-height: 100vh;
        min-height: 100dvh;
        padding-bottom: 1.5rem;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero-content {
        padding: 0.5rem 1rem 0.75rem;
    }

    .hero-logo {
        max-width: 180px;
        width: 100%;
        height: auto;
        margin-bottom: 0.4rem;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0.5rem 1rem 0;
        margin: 0 0 1rem;
    }

    /* Show subtitle but hide description on mobile */
    .hero-subtitle {
        display: inline-block !important;
        font-size: clamp(0.68rem, 0.38rem + 2.4vw, 1.55rem);
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: 0.025em;
        white-space: nowrap;
        max-width: 100%;
        padding: 0.45rem 0.35rem;
        margin-bottom: 1rem;
        margin-top: 0;
    }

    .hero-subtitle.hero-subtitle--multiline {
        white-space: normal !important;
        text-align: center !important;
        display: block !important;
        max-width: 100%;
        width: 100%;
        line-height: 1.4;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0.6rem 1rem;
    }

    .section-title {
        font-size: clamp(1.55rem, 1.2rem + 1.8vw, 2rem);
        line-height: 1.1;
        letter-spacing: -0.03em;
        padding-bottom: 0.95rem;
        margin-bottom: 2rem;
    }

    .home-services-header {
        padding: 2rem 1rem 1.5rem;
    }

    .our-work-section {
        padding: 2rem 0 2rem;
    }

    .our-work-inner {
        padding: 0 1rem;
    }

    .our-work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .our-work-title {
        margin-bottom: 1.5rem;
    }

    .home-service-tile {
        min-height: clamp(280px, 48vh, 440px);
    }
    
    .mobile-break {
        display: inline;
    }

    .container {
        padding: 2rem 1rem;
    }

    /* FAQ solid blocks on mobile */

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.8rem;
        margin-top: 1rem;
    }

    .hero-fast-response {
        font-size: calc(0.47rem * 0.5);
        margin-top: 0.35rem;
        padding: 0 1.25rem;
    }

    .hero-fast-response strong {
        font-size: inherit;
    }

    .hero-stars {
        width: min(118px, 40vw);
        margin-top: 0.75rem;
    }

    .review-stars {
        font-size: 1.1rem;
        margin-bottom: 0.65rem;
        letter-spacing: 0.02em;
        gap: 0.35rem;
    }

    .review-verified {
        width: 16px;
        height: 16px;
    }

    .cta-buttons .hero-quick-repair-btn--cta-row {
        width: 75%;
        max-width: 280px;
        box-sizing: border-box;
        font-size: clamp(0.62rem, 2.85vw, 0.82rem);
        padding: 0.7rem 0.75rem !important;
    }

    .btn {
        width: 75%;
        max-width: 240px;
        justify-content: center;
        padding: 0.75rem 1.2rem;
        font-size: 1.15rem;
    }

    .btn-quote {
        order: 1; /* Most important on top for mobile */
    }
    
    .btn-primary { order: 2; }
}

/* Lightbox Modal */

@keyframes lightboxFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Navigation Cards */

/* Floating Get Quote — bottom right (above safe area / home indicator) */
.floating-quote-btn {
    position: fixed;
    z-index: 10050;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: calc(0.75rem + env(safe-area-inset-right, 0px));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    background: var(--btn-bg-red);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--btn-radius);
    box-shadow: var(--btn-relief-red);
    border: 1px solid rgba(255, 220, 220, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Blog: transparent header like the rest of the site (no gray bar over hero/image) */

/* Blog index hero — same pattern as .hero: pull under body nav-padding so transparent nav sits on photo (no white band) */

/* Blog post hero — same Photo 1 + overlay as blog index / interior pages; extends under fixed nav */

/* Inline images in post body: no card frame (matches hero) */

.floating-quote-btn:hover {
    background: var(--btn-bg-red-hover);
    color: #fff !important;
    transform: translateY(-2px);
    border-color: rgba(255, 240, 240, 0.78);
    box-shadow: var(--btn-relief-red-hover);
}

.floating-quote-btn:focus-visible {
    outline: 3px solid #ffd700;
    outline-offset: 3px;
}

#quote-form {
    scroll-margin-top: calc(var(--nav-height, 72px) + 1rem);
}

@media (max-width: 768px) {
    .floating-quote-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.72rem;
        bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
        right: calc(0.5rem + env(safe-area-inset-right, 0px));
    }
}

.home-service-tile-bg--enclosures { background-image: url('public/image%20%286%29.webp'); }
.home-service-tile-bg--screening { background-image: url('public/Photo%2017.webp'); }
.home-service-tile-bg--refurbish { background-image: url('public/paintcage.webp'); }
.home-service-tile-bg--pressure { background-image: url('public/pressurewash.webp'); }
.home-service-tile-bg--dogdoor { background-image: url('public/dog%20door.webp'); }
.home-service-tile-bg--hurricane { background-image: url('public/hurricanecables.webp'); }
.home-service-tile-bg--screws { background-image: url('public/screws.webp'); }
.home-service-tile-bg--gutter { background-image: url('public/suppergutter.webp'); }
.home-service-tile-bg--newcage { background-image: url('public/cages2.webp'); }

@media (max-width: 768px) {
    .home-service-tile-bg--enclosures { background-image: url('public/image%20%286%29-mobile.webp'); }
    .home-service-tile-bg--screening { background-image: url('public/Photo%2017-mobile.webp'); }
    .home-service-tile-bg--refurbish { background-image: url('public/paintcage-mobile.webp'); }
    .home-service-tile-bg--pressure { background-image: url('public/pressurewash-mobile.webp'); }
    .home-service-tile-bg--dogdoor { background-image: url('public/dog%20door-mobile.webp'); }
    .home-service-tile-bg--hurricane { background-image: url('public/hurricanecables-mobile.webp'); }
    .home-service-tile-bg--screws { background-image: url('public/screws-mobile.webp'); }
    .home-service-tile-bg--gutter { background-image: url('public/suppergutter-mobile.webp'); }
    .home-service-tile-bg--newcage { background-image: url('public/cages2-mobile.webp'); }
}
