:root {
    --primary-color: #d4af37; /* Luxury Gold */
    --primary-hover: #b5952f;
    --bg-dark: #ffffff;
    --bg-card: rgba(0, 0, 0, 0.03);
    --text-main: #1f2328;
    --text-muted: #57606a;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
iframe:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.9);
    outline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

img,
video,
iframe,
canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scroll reveal effects */
.scroll-reveal {
    --reveal-distance: 2rem;
    --reveal-delay: 0ms;
    opacity: 0;
    transform: translate3d(0, var(--reveal-distance), 0);
    transition:
        opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay),
        transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay);
    will-change: opacity, transform;
}

.scroll-reveal.reveal-left {
    transform: translate3d(calc(var(--reveal-distance) * -1), 0, 0);
}

.scroll-reveal.reveal-right {
    transform: translate3d(var(--reveal-distance), 0, 0);
}

.scroll-reveal.reveal-up {
    transform: translate3d(0, var(--reveal-distance), 0);
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 900px) {
    .scroll-reveal {
        --reveal-distance: 1.25rem;
    }
}

@media (min-width: 901px) {
    .section-transition-image .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

h1 span {
    color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
    letter-spacing: 0.02em;
}

.section-title .letter {
    display: inline-block;
    color: var(--primary-color);
    transition: color 0.35s ease, transform 0.35s ease;
    will-change: color, transform;
}

.section-title.animated .letter {
    color: #111;
    transform: translateY(-0.25rem);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #111;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    background: rgba(17, 17, 17, 0.22);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-secondary:hover {
    background: rgba(17, 17, 17, 0.45);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0);
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, -webkit-backdrop-filter 0.35s ease, backdrop-filter 0.35s ease;
}

.navbar nav {
    margin-left: auto;
    margin-right: 2.5rem;
}

.navbar nav ul {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.mobile-call-cta {
    display: none;
}

.navbar.scrolled {
    position: fixed;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled nav a:not(.btn-primary) {
    color: #1a1a1a;
}

.navbar.scrolled nav a:hover:not(.btn-primary) {
    color: var(--primary-color);
}

.top-cta {
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.7rem 1.8rem;
    max-height: 4rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid var(--primary-color);
}

.navbar:not(.scrolled) .top-cta {
    background: transparent;
    color: #ffffff;
    border: 1px solid var(--primary-color);
}

.navbar:not(.scrolled) .top-cta:hover {
    background: var(--primary-color);
}

.navbar.scrolled .top-cta {
    max-width: 0;
    max-height: 0;
    padding: 0;
    border-width: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transform: translateY(-0.45rem);
}

@media (min-width: 901px) {
    .navbar:not(.scrolled):not(.cta-hidden) {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "logo cta"
            "logo nav";
        align-items: start;
        row-gap: 0.7rem;
        column-gap: 2rem;
    }

    .navbar:not(.scrolled):not(.cta-hidden) nav {
        grid-area: nav;
        justify-self: end;
        margin: 0;
        padding-top: 0;
    }

    .navbar:not(.scrolled):not(.cta-hidden)::after {
        content: none;
    }

    .navbar:not(.scrolled):not(.cta-hidden) .top-cta {
        grid-area: cta;
        justify-self: end;
        min-width: min(31rem, 100%);
        justify-content: center;
        text-align: center;
    }

    .navbar.cta-hidden .top-cta {
        max-width: 0;
        max-height: 0;
        padding: 0;
        border-width: 0;
        opacity: 0;
        pointer-events: none;
        overflow: hidden;
        transform: translateY(-0.45rem);
    }

    .navbar:not(.scrolled):not(.cta-hidden) > a:first-child {
        grid-area: logo;
    }

    .navbar.scrolled {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "logo cta"
            "logo nav";
        align-items: start;
        row-gap: 0;
        column-gap: 2rem;
    }

    .navbar.scrolled nav {
        grid-area: nav;
        justify-self: end;
        margin: 0;
        padding-top: 0;
    }

    .navbar.scrolled > a:first-child {
        grid-area: logo;
    }
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0) invert(1);
}

.navbar.scrolled .logo-img {
    filter: none;
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar nav li {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-dropdown-toggle::after {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-0.12rem) rotate(45deg);
}

.navbar nav .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: grid;
    min-width: 260px;
    gap: 0.1rem;
    padding: 0.6rem;
    list-style: none;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.4rem);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    visibility: hidden;
}

.navbar nav .nav-dropdown:hover .nav-dropdown-menu,
.navbar nav .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.navbar nav .nav-dropdown-menu a {
    display: block;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    color: #111;
    white-space: nowrap;
}

.navbar nav .nav-dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.14);
    color: #111;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    border-radius: 8px;
    background: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.navbar.scrolled .nav-toggle span {
    background: #111;
}

.navbar.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.navbar.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.navbar nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar nav a:hover:not(.btn-primary) {
    color: var(--primary-color);
}

.active-nav-link {
    color: var(--primary-color);
    font-weight: 600;
}

.navbar nav a.active-nav-link {
    color: var(--primary-color);
}

/* Hero Section Animation */
.hero-scroll-container {
    position: relative;
    height: 100vh;
    background-color: var(--bg-dark);
}

.canvas-sticky {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}

.section-transition-image {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    margin-bottom: 0;
    margin-top: -1px;
    object-position: center top;
}

.section-transition-image picture,
.section-transition-image img {
    width: 100%;
    display: block;
}

.section-transition-image img {
    height: clamp(22rem, 42vw, 34rem);
    object-fit: cover;
    object-position: center top;
}

.section-transition-image::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 24%;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
}

.hero-content {
    max-width: 800px;
    padding: 4rem 5%;
    text-align: left;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-100px, -50%); /* Init state for fade-in */
    opacity: 0; /* Init state for fade-in */
    z-index: 2;
    width: 100%;
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-content.animated {
    opacity: 1;
    transform: translate(0, -50%); /* Final state */
}

/* Global scroll fade effects */
.scroll-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.scroll-fade-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.hero-content h1 {
    font-size: 4.8rem;
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 0, 0, 0.8);
    animation: heroWindDrift 7s ease-in-out infinite;
    transform-origin: left center;
}

.hero-content p {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: heroWindDrift 8s ease-in-out 0.35s infinite;
    transform-origin: left center;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    animation: heroWindFloat 6.5s ease-in-out 0.7s infinite;
}

.hero-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    max-width: 42rem;
    margin-top: 1rem;
    list-style: none;
    animation: heroWindFloat 7.5s ease-in-out 0.9s infinite;
}

.hero-proof-list li {
    padding: 0.48rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.22);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.hero-content .btn-primary {
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.45), 0 10px 30px rgba(0, 0, 0, 0.22);
    animation: heroCtaGlow 4.8s ease-in-out infinite;
}

.hero-content .btn-primary:hover {
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.7), 0 14px 36px rgba(0, 0, 0, 0.28);
}

@keyframes heroWindDrift {
    0%, 100% {
        transform: translateX(0) skewX(0deg);
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 0, 0, 0.8);
    }
    35% {
        transform: translateX(7px) skewX(-0.6deg);
        text-shadow: 4px 4px 18px rgba(0, 0, 0, 0.75), 0 0 8px rgba(0, 0, 0, 0.65);
    }
    70% {
        transform: translateX(-3px) skewX(0.35deg);
        text-shadow: -2px 4px 16px rgba(0, 0, 0, 0.82), 0 0 7px rgba(0, 0, 0, 0.7);
    }
}

@keyframes heroWindFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    45% {
        transform: translate3d(8px, -2px, 0);
    }
    75% {
        transform: translate3d(-3px, 1px, 0);
    }
}

@keyframes heroCtaGlow {
    0%, 100% {
        box-shadow: 0 0 18px rgba(212, 175, 55, 0.45), 0 10px 30px rgba(0, 0, 0, 0.22);
    }
    50% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.68), 0 12px 34px rgba(0, 0, 0, 0.26);
    }
}

/* Background Decorative Orbs */
.orb {
    display: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(to right, #d4af37, #8a6a1c);
    top: -10%;
    right: -5%;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(to right, #e9ecef, #dee2e6);
    bottom: 10%;
    left: -5%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 30px) scale(1.1); }
}

/* Blueprint Section */
.blueprint-section {
    padding: 8rem 5%;
    background-color: #ffffff; /* White background to contrast the dark glass theme */
    position: relative;
    z-index: 3; 
    content-visibility: auto;
    contain-intrinsic-size: 1200px;
}

.blueprint-section .section-title {
    color: var(--text-main);
    text-align: center;
    margin-bottom: 4rem;
}

#blueprint-scroll-container {
    position: relative;
    height: 300vh; /* Scroll height for 240 frames */
    width: 100%;
    margin: 0 auto;
    max-width: 1400px;
}

.canvas-sticky-blueprint {
    position: sticky;
    top: 15vh;
    height: 70vh;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background-color: #000;
}

#blueprint-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 8rem 5%;
    background-color: #fafafa;
    position: relative;
    z-index: 3;
    content-visibility: auto;
    contain-intrinsic-size: 1100px;
}

.why-choose-us .section-title .letter {
    color: var(--primary-color);
}

.why-choose-us .section-title.animated .letter {
    color: #111;
}

.text-center {
    text-align: center;
}

.wcu-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 5rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.wcu-left, .wcu-right {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.wcu-item {
    transition: transform 0.4s ease;
}

.wcu-item:hover {
    transform: translateY(-5px);
}

.wcu-item h3 {
    font-size: 1.8rem;
    color: #111;
    margin-bottom: 1rem;
    font-weight: 800;
}

.wcu-item p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.wcu-right .wcu-item, 
.align-right {
    text-align: right;
}

.btn-dark {
    display: inline-block;
    background-color: #111;
    color: #fff;
    padding: 0.8rem 2.2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.wcu-center {
    position: relative;
    width: min(46vw, 520px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.wcu-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), transparent);
}

.wcu-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
}

.decor-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.15;
    z-index: 1;
    animation: float 6s infinite alternate ease-in-out;
}

@media (max-width: 1100px) {
    .wcu-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .wcu-center {
        width: 100%;
        order: -1;
    }
    
    .wcu-image {
        width: min(100%, 520px);
        aspect-ratio: 16 / 9;
        height: auto;
    }
    
    .wcu-right .wcu-item, 
    .align-right {
        text-align: left;
    }
}

/* Estimate Section */
.estimate-section {
    padding: 8rem 5%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 3;
    content-visibility: auto;
    contain-intrinsic-size: 1100px;
}

@media (min-width: 901px) {
    .estimate-section {
        background-image: url('Assets/optimized/section-living-room.webp'); /* The bright living room */
    }
}

.estimate-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.4); /* soft white wash to improve readability while showcasing the room */
    z-index: 1;
}

.estimate-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.estimate-title {
    margin-bottom: 2rem;
}

.estimate-intro {
    max-width: 42rem;
    margin: -0.75rem auto 2rem;
    color: var(--text-muted);
    text-align: center;
    font-size: 1.05rem;
}

.estimate-form-wrapper {
    width: 100%;
    min-height: 750px;
}

.estimate-form-frame {
    width: 100%;
    min-height: 733px;
    border: none;
    border-radius: 3px;
}

.placeholder-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 15vh;
}

.placeholder-title {
    font-size: 4rem;
    color: var(--text-main);
}

.placeholder-copy {
    max-width: 600px;
    margin: 1rem auto;
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Services Page */
.page-navbar {
    position: sticky;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.page-navbar .logo-img,
.page-navbar.scrolled .logo-img {
    filter: none;
}

.page-navbar nav a:not(.btn-primary) {
    color: #111;
}

.page-navbar nav a.active-nav-link {
    color: var(--primary-color);
}

.page-navbar .nav-toggle span {
    background: #111;
}

.page-navbar:not(.scrolled) .top-cta,
.page-navbar .top-cta {
    background: transparent;
    color: #111;
    border-color: var(--primary-color);
}

.page-navbar:not(.scrolled) .top-cta:hover,
.page-navbar .top-cta:hover {
    background: var(--primary-color);
    color: #111;
}

.services-page .btn-primary {
    border-radius: 8px;
}

.services-hero {
    display: grid;
    grid-template-columns: minmax(16rem, 0.8fr) minmax(18rem, 1.6fr) minmax(14rem, 0.8fr);
    align-items: stretch;
    width: 100%;
    margin: 0 0 6rem;
    min-height: 34rem;
    background: #f4f5f7;
}

.services-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--primary-color);
    color: #111;
}

.eyebrow {
    color: var(--primary-color);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services-hero-copy .eyebrow {
    color: #111;
}

.services-hero-copy h1 {
    font-size: clamp(2.1rem, 4vw, 4rem);
    max-width: 10ch;
}

.services-hero-copy p:not(.eyebrow) {
    font-size: 1.08rem;
    color: rgba(17, 17, 17, 0.78);
}

.services-hero-copy .btn-primary {
    align-self: flex-start;
    background: #111;
    border-color: #111;
    color: #fff;
}

.services-hero-media {
    position: relative;
    overflow: hidden;
}

.services-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(244, 245, 247, 0), rgba(244, 245, 247, 0.42));
    pointer-events: none;
}

.services-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-trust-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    padding: clamp(2rem, 4vw, 3.5rem);
    list-style: none;
}

.services-trust-list li {
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    align-items: center;
    gap: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.services-trust-list li::before {
    content: '✓';
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(212, 175, 55, 0.86);
    color: #fff;
    font-weight: 800;
}

.services-intro-section {
    padding: 6rem 5%;
    background:
        linear-gradient(rgba(17, 17, 17, 0.68), rgba(17, 17, 17, 0.68)),
        url("Website Assets/contact_bg.jpg") center / cover;
}

.services-intro-panel {
    display: grid;
    grid-template-columns: minmax(16rem, 0.9fr) minmax(18rem, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
    background: #fff;
    border-radius: 8px;
}

.services-intro-panel img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.services-intro-panel h2,
.services-video-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.6rem 0 1rem;
}

.services-intro-panel p:not(.eyebrow),
.services-video-cta p:not(.eyebrow) {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.text-link {
    display: inline-flex;
    margin-top: 1.4rem;
    color: #111;
    font-weight: 800;
    text-decoration-color: var(--primary-color);
    text-decoration-thickness: 0.16rem;
    text-underline-offset: 0.35rem;
}

.process-section,
.services-catalog-section {
    padding: 7rem 5%;
}

.center {
    text-align: center;
}

.services-section-title {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.process-card,
.service-tile {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-card {
    padding: 2.2rem;
    min-height: 15rem;
}

.process-card:hover,
.service-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.process-icon {
    display: inline-grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.6rem;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.14);
    color: var(--primary-color);
    font-weight: 800;
}

.process-card h3,
.service-tile h3 {
    margin-bottom: 0.7rem;
    font-size: 1.24rem;
}

.process-card p,
.service-tile p {
    color: var(--text-muted);
}

.services-catalog-section {
    background: #f7f7f5;
}

.services-catalog-heading {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.services-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.service-tile {
    min-height: 13rem;
    padding: 2rem;
}

.service-tile.featured {
    background: #111;
    color: #fff;
}

.service-tile.featured p {
    color: rgba(255, 255, 255, 0.72);
}

.services-video-cta {
    display: grid;
    grid-template-columns: minmax(12rem, 0.75fr) minmax(18rem, 1.25fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding: 6rem 5%;
    max-width: 1100px;
    margin: 0 auto;
}

.services-video-cta video {
    width: min(100%, 22rem);
    aspect-ratio: 1;
    object-fit: contain;
    margin: 0 auto;
}

.services-video-cta .btn-primary {
    margin-top: 1.4rem;
}

@media (max-width: 1100px) {
    .services-hero {
        grid-template-columns: 1fr 1fr;
        margin: 0 0 5rem;
    }

    .services-trust-list {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        background: #fff;
    }

    .services-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .page-navbar {
        position: sticky;
    }

    .services-hero {
        grid-template-columns: 1fr;
        margin: 0 0 4rem;
        min-height: 0;
    }

    .services-hero-copy {
        padding: 2rem 1.4rem;
    }

    .services-hero-copy h1 {
        max-width: 12ch;
        font-size: clamp(2.2rem, 11vw, 3.1rem);
    }

    .services-hero-media {
        min-height: 20rem;
    }

    .services-trust-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.4rem;
    }

    .services-trust-list li {
        grid-template-columns: 2.35rem 1fr;
        font-size: 0.98rem;
    }

    .services-trust-list li::before {
        width: 2rem;
        height: 2rem;
    }

    .services-intro-section,
    .process-section,
    .services-catalog-section,
    .services-video-cta {
        padding: 4rem 3%;
    }

    .services-intro-panel,
    .services-video-cta {
        grid-template-columns: 1fr;
    }

    .services-intro-panel {
        padding: 1.2rem;
    }

    .services-intro-panel img {
        aspect-ratio: 4 / 3;
    }

    .process-grid,
    .services-catalog-grid {
        grid-template-columns: 1fr;
    }

    .process-card,
    .service-tile {
        min-height: 0;
        padding: 1.5rem;
    }

    .services-section-title {
        margin-bottom: 2rem;
    }
}

/* Financing Page */
.financing-page .btn-primary {
    border-radius: 8px;
}

.financing-hero {
    display: grid;
    grid-template-columns: minmax(18rem, 0.58fr) minmax(24rem, 1.42fr);
    max-width: 1440px;
    margin: 3rem auto 7rem;
    min-height: 34rem;
    background: #f2f4f5;
}

.financing-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    padding: clamp(2rem, 5vw, 4.5rem);
    background: var(--primary-color);
    color: #111;
}

.financing-hero-copy .eyebrow {
    color: #111;
}

.financing-hero-copy h1 {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    max-width: 9ch;
}

.financing-hero-copy p:not(.eyebrow) {
    max-width: 23rem;
    color: rgba(17, 17, 17, 0.78);
    font-size: 1.15rem;
}

.financing-hero-copy .btn-primary {
    align-self: flex-start;
    margin-top: 1.5rem;
    background: #111;
    border-color: #111;
    color: #fff;
}

.financing-hero-media {
    position: relative;
    min-height: 34rem;
    overflow: hidden;
}

.financing-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.financing-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.18));
    pointer-events: none;
}

.financing-hero-note {
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    bottom: clamp(1rem, 4vw, 3rem);
    z-index: 1;
    display: grid;
    gap: 0.25rem;
    width: min(19rem, calc(100% - 2rem));
    padding: 1.2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.financing-hero-note strong {
    font-size: 1.2rem;
}

.financing-hero-note span {
    color: var(--text-muted);
}

.financing-benefits {
    padding: 0 5% 6rem;
}

.financing-section-title {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: clamp(2.4rem, 5vw, 4rem);
}

.financing-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 1.5rem;
}

.financing-benefit {
    display: flex;
    min-height: 22rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.financing-benefit.highlighted {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.34);
}

.financing-benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.45);
}

.finance-icon {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.6rem;
    color: var(--primary-color);
}

.finance-icon svg {
    width: 100%;
    height: 100%;
}

.financing-benefit h3 {
    margin-bottom: 1rem;
    font-size: 1.45rem;
}

.financing-benefit p {
    color: var(--text-muted);
}

.application-strip,
.financing-final-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 5%;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.application-strip h2,
.financing-final-cta h2 {
    margin: 0.35rem 0 0.5rem;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.application-strip p:not(.eyebrow),
.financing-final-cta p {
    max-width: 760px;
    color: var(--text-muted);
    font-size: 1.08rem;
}

.application-strip .btn-primary,
.financing-final-cta .btn-primary,
.no-credit-panel .btn-primary {
    min-width: 11rem;
    text-align: center;
}

.financing-message {
    display: grid;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(18rem, 1.1fr);
    align-items: center;
    min-height: 32rem;
    margin-top: 5rem;
    padding: 5rem 5%;
    background: #eff3f5;
    overflow: hidden;
}

.financing-message-copy {
    max-width: 620px;
    color: #fff;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.58));
}

.financing-message-copy p {
    margin-bottom: 2rem;
    font-size: clamp(1.4rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.45;
}

.financing-message-copy strong,
.financing-message-copy span {
    display: block;
}

.financing-message-copy span {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.72);
}

.financing-message img {
    width: 100%;
    height: 100%;
    max-height: 34rem;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.no-credit-section {
    padding: 6rem 5%;
    background:
        radial-gradient(circle at 18% 22%, rgba(0, 190, 214, 0.2), transparent 28rem),
        linear-gradient(135deg, #e9fbff 0%, #ffffff 48%, #f2f0ff 100%);
}

.no-credit-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 8px;
    border: 1px solid rgba(0, 190, 214, 0.22);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 70px rgba(21, 56, 78, 0.1);
}

.no-credit-panel .humm-logo {
    width: min(12rem, 52vw);
    height: auto;
    margin-bottom: 1.2rem;
}

.no-credit-panel .eyebrow {
    color: #00a6c8;
}

.no-credit-panel h2 {
    margin: 0.4rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #27235e;
}

.no-credit-panel p {
    max-width: 760px;
    color: #354050;
}

.no-credit-panel p + p {
    margin-top: 1rem;
}

.no-credit-panel .btn-primary {
    background: #00bed6;
    border-color: #00bed6;
    color: #101828;
    box-shadow: 0 12px 30px rgba(0, 190, 214, 0.26);
}

.no-credit-panel .btn-primary:hover {
    background: #27235e;
    border-color: #27235e;
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(39, 35, 94, 0.28);
}

.financing-testimonials {
    display: grid;
    grid-template-columns: minmax(14rem, 0.8fr) minmax(20rem, 1.2fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding: 7rem 5%;
    background: #e9f4f7;
}

.testimonial-media video {
    width: min(100%, 24rem);
    aspect-ratio: 1;
    margin: 0 auto;
    object-fit: contain;
}

.testimonial-stack {
    display: grid;
    gap: 1.2rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.testimonial-card p {
    margin-bottom: 1.3rem;
    color: var(--text-main);
    font-size: 1.05rem;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card span {
    color: var(--text-muted);
}

.financing-final-cta {
    max-width: none;
    padding: 4rem 8%;
    background: var(--primary-color);
    border-top: none;
}

.financing-final-cta h2,
.financing-final-cta p {
    color: #111;
}

.financing-final-cta .btn-primary {
    background: #fff;
    border-color: #fff;
    color: #111;
}

@media (max-width: 1100px) {
    .financing-hero {
        grid-template-columns: 0.8fr 1.2fr;
        margin: 2rem 3% 5rem;
    }

    .financing-benefit-grid {
        grid-template-columns: 1fr;
    }

    .financing-benefit {
        min-height: 0;
    }
}

@media (max-width: 900px) {
    .financing-hero,
    .financing-message,
    .financing-testimonials {
        grid-template-columns: 1fr;
    }

    .financing-hero {
        margin: 1rem 3% 4rem;
        min-height: 0;
    }

    .financing-hero-copy {
        padding: 2rem 1.4rem;
    }

    .financing-hero-copy h1 {
        font-size: clamp(2.4rem, 12vw, 3.2rem);
    }

    .financing-hero-media {
        min-height: 20rem;
    }

    .financing-hero-note {
        position: relative;
        right: auto;
        bottom: auto;
        width: auto;
        margin: -4rem 1rem 1rem;
    }

    .financing-benefits,
    .no-credit-section,
    .financing-testimonials {
        padding: 4rem 3%;
    }

    .financing-benefit {
        padding: 1.8rem;
    }

    .application-strip,
    .financing-final-cta,
    .no-credit-panel {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .application-strip,
    .financing-final-cta {
        padding: 3rem 3%;
    }

    .financing-message {
        margin-top: 3rem;
        padding: 4rem 3%;
    }

    .financing-message-copy {
        padding: 1.5rem;
    }

    .financing-message img {
        max-height: 24rem;
    }

    .testimonial-media video {
        width: min(100%, 18rem);
    }
}

/* About Page */
.about-page .btn-primary {
    border-radius: 8px;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(17rem, 0.7fr) minmax(20rem, 1.4fr) minmax(17rem, 0.9fr);
    max-width: 1360px;
    min-height: 34rem;
    margin: 3rem auto 7rem;
    background: #f0f2f4;
}

.about-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--primary-color);
    color: #111;
}

.about-hero-copy .eyebrow {
    color: #111;
}

.about-hero-copy h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    max-width: 9ch;
}

.about-hero-copy p:not(.eyebrow) {
    max-width: 23rem;
    color: rgba(17, 17, 17, 0.78);
    font-size: 1.12rem;
}

.about-hero-copy .btn-primary {
    align-self: flex-start;
    margin-top: 1.4rem;
    background: #111;
    border-color: #111;
    color: #fff;
}

.about-hero-media {
    overflow: hidden;
}

.about-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-quote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 4rem);
}

.founder-quote p {
    margin-bottom: 2rem;
    font-size: clamp(1.4rem, 2.4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.35;
}

.founder-quote strong {
    color: var(--primary-color);
    font-size: 1.45rem;
}

.founder-quote span {
    font-weight: 800;
}

.about-remodel {
    display: grid;
    grid-template-columns: minmax(18rem, 0.85fr) minmax(18rem, 1.15fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 5% 7rem;
}

.about-remodel-copy h2,
.about-legacy-copy h2 {
    margin: 0.6rem 0 1.3rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-remodel-copy p:not(.eyebrow),
.about-legacy-copy p {
    color: var(--text-muted);
    font-size: 1.08rem;
}

.about-remodel-visual {
    display: grid;
    place-items: center;
    min-height: 24rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f7f7f5, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.about-remodel-visual video {
    width: min(100%, 22rem);
    aspect-ratio: 1;
    object-fit: contain;
}

.about-team,
.about-faq,
.about-gallery {
    padding: 7rem 5%;
}

.about-team {
    background: #f7f7f5;
}

.about-section-title {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.team-card {
    min-height: 20rem;
    border-radius: 8px;
    overflow: hidden;
}

.gold-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.2rem;
    text-align: center;
    background: var(--primary-color);
    color: #fff;
}

.gold-card h3 {
    margin-bottom: 0.35rem;
    font-size: 1.65rem;
}

.gold-card span {
    margin-bottom: 1.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
}

.gold-card p {
    max-width: 22rem;
    font-size: 1.1rem;
}

.image-card img,
.image-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
}

.team-photo-card img {
    object-fit: cover;
}

.haydee-photo img {
    object-position: 47% 50%;
}

.jan-photo img {
    object-position: 20% 50%;
}

.marvin-photo img {
    object-position: 61% 50%;
}

.image-card video {
    object-fit: contain;
    padding: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 4rem;
}

.faq-grid article {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-grid h3 {
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
}

.faq-grid p {
    color: var(--text-muted);
}

.about-legacy {
    display: grid;
    grid-template-columns: minmax(18rem, 0.7fr) minmax(20rem, 1.3fr);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 7rem;
}

.about-legacy-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem);
    background: #f0f2f4;
}

.about-legacy-copy .btn-primary {
    align-self: flex-start;
    margin-top: 1.6rem;
    background: #111;
    border-color: #111;
    color: #fff;
}

.about-legacy img {
    width: 100%;
    min-height: 24rem;
    height: 100%;
    object-fit: cover;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    border-radius: 8px;
}

.about-final-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 4rem 8%;
    background: var(--primary-color);
}

.about-final-cta h2 {
    margin-bottom: 0.6rem;
    color: #111;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.about-final-cta p {
    color: rgba(17, 17, 17, 0.78);
    font-size: 1.08rem;
}

.about-final-cta .btn-primary {
    min-width: 11rem;
    background: #fff;
    border-color: #fff;
    color: #111;
    text-align: center;
}

@media (max-width: 1100px) {
    .about-hero {
        grid-template-columns: 1fr 1fr;
        margin: 2rem 3% 5rem;
    }

    .founder-quote {
        grid-column: 1 / -1;
        background: #fff;
    }

    .team-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .about-hero,
    .about-remodel,
    .about-legacy,
    .about-final-cta {
        grid-template-columns: 1fr;
    }

    .about-hero {
        margin: 1rem 3% 4rem;
        min-height: 0;
    }

    .about-hero-copy {
        padding: 2rem 1.4rem;
    }

    .about-hero-copy h1 {
        font-size: clamp(2.3rem, 12vw, 3.25rem);
    }

    .about-hero-media {
        min-height: 20rem;
    }

    .founder-quote {
        padding: 2rem 1.4rem;
    }

    .about-remodel,
    .about-team,
    .about-faq,
    .about-gallery {
        padding: 4rem 3%;
    }

    .about-remodel-visual {
        min-height: 18rem;
    }

    .team-grid,
    .faq-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        min-height: 16rem;
    }

    .about-legacy {
        padding: 0 3% 4rem;
    }

    .about-legacy img {
        min-height: 18rem;
    }

    .gallery-grid img {
        height: 15rem;
    }

    .about-final-cta {
        padding: 3rem 3%;
        text-align: left;
    }
}

/* Remaining Pages */
.modern-page-title {
    text-align: center;
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin: 0.5rem auto 3rem;
}

.contact-hero {
    display: grid;
    grid-template-columns: minmax(18rem, 0.75fr) minmax(24rem, 1.25fr);
    align-items: stretch;
    min-height: 42rem;
    padding-left: 8%;
    background: #f4f5f7;
}

.contact-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0;
}

.contact-hero-copy h1,
.blog-hero h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.08;
}

.contact-hero-copy h1 {
    max-width: 9ch;
}

.contact-hero-copy p:not(.eyebrow),
.blog-hero p {
    max-width: 32rem;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.contact-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: min(84rem, 84vw);
    margin: -6rem auto 7rem;
    padding: 3rem;
    position: relative;
    z-index: 2;
    background: #050505;
    color: #fff;
    border-radius: 8px;
}

.contact-info-band span {
    display: block;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.contact-info-band strong {
    font-size: 1.4rem;
}

.contact-form-section,
.blog-grid-section,
.investor-faq {
    padding: 7rem 5%;
}

.contact-form {
    display: grid;
    gap: 1.2rem;
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.newsletter-panel input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 8px;
    font: inherit;
}

.contact-form textarea {
    min-height: 9rem;
    resize: vertical;
}

.checkbox-row {
    grid-template-columns: auto 1fr;
    align-items: start;
    font-weight: 500;
    color: var(--text-muted);
}

.contact-form button,
.newsletter-panel button {
    border: none;
    border-radius: 8px;
    padding: 1rem 1.4rem;
    background: var(--primary-color);
    color: #111;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.newsletter-panel {
    display: grid;
    grid-template-columns: minmax(16rem, 0.9fr) minmax(20rem, 1.1fr);
    gap: 4rem;
    align-items: center;
    width: min(84rem, 84vw);
    margin: 2rem auto 7rem;
    padding: 4rem;
    border-radius: 8px;
    background: var(--primary-color);
}

.newsletter-panel h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.newsletter-panel form {
    display: grid;
    gap: 1rem;
}

.investor-hero {
    display: grid;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(22rem, 1.1fr);
    align-items: center;
    min-height: 42rem;
    padding: 5rem 8%;
    background: #eef0f1;
}

.investor-hero > div {
    padding: clamp(2rem, 5vw, 4rem);
    background: #fff;
    border-radius: 8px;
}

.investor-hero h1,
.track-record h2,
.investor-benefits h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

.investor-hero p:not(.eyebrow),
.track-record p,
.investor-effect p {
    color: var(--text-muted);
    font-size: 1.08rem;
}

.investor-hero img {
    width: 100%;
    max-height: 34rem;
    object-fit: cover;
}

.track-record {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 4rem;
    padding: 7rem 8%;
}

.investor-benefits {
    padding: 7rem 5%;
    background: var(--primary-color);
}

.investor-benefits .eyebrow,
.investor-benefits h2 {
    color: #fff;
}

.investor-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
    margin-top: 3rem;
}

.investor-card-grid article {
    min-height: 16rem;
    padding: 2rem;
    border-radius: 8px;
    background: #fff;
}

.investor-card-grid h3 {
    margin-bottom: 1rem;
}

.investor-card-grid p {
    color: var(--text-muted);
}

.investor-cta,
.about-final-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.investor-cta {
    width: min(84rem, 84vw);
    margin: 7rem auto;
    padding: 4rem;
    border-left: 6px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
}

.investor-cta span {
    color: var(--primary-color);
}

.investor-effect {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 3rem 8% 8rem;
}

.investor-effect img {
    width: 100%;
    border-radius: 8px;
}

.investor-form-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2rem);
    background: rgba(17, 17, 17, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.investor-form-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.investor-form-modal-panel {
    width: min(720px, 100%);
    max-height: min(760px, 92vh);
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
    transform: translateY(1rem) scale(0.98);
    transition: transform 0.24s ease;
}

.investor-form-modal.is-open .investor-form-modal-panel {
    transform: translateY(0) scale(1);
}

.investor-form-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.investor-form-modal-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
}

.investor-form-modal-close {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.investor-form-modal-body {
    height: min(564px, calc(92vh - 5rem));
}

.investor-form-modal-body iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

body.investor-form-open {
    overflow: hidden;
}

.blog-hero {
    padding: 8rem 8% 4rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.blog-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.blog-card img {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    border-radius: 8px;
}

.blog-card span {
    display: block;
    margin: 1.4rem 0 0.8rem;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.blog-card h2 {
    font-size: clamp(1.4rem, 2vw, 2rem);
}

.blog-card p {
    margin: 1rem 0;
    color: var(--text-muted);
}

.blog-card strong {
    color: var(--primary-color);
}

.blog-post {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 5%;
}

.blog-post > img {
    width: 100%;
    max-height: 32rem;
    object-fit: cover;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-post h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.blog-post h2 {
    margin-top: 2rem;
}

.blog-post p {
    margin-top: 1.2rem;
    color: var(--text-muted);
    font-size: 1.08rem;
}

@media (max-width: 1000px) {
    .contact-hero,
    .investor-hero,
    .track-record,
    .investor-effect,
    .newsletter-panel {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        padding-left: 0;
    }

    .contact-hero-copy {
        padding: 4rem 5%;
    }

    .contact-info-band,
    .investor-card-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-band {
        margin-top: 0;
        width: 100%;
        border-radius: 0;
    }

    .investor-cta {
        grid-template-columns: 1fr;
        width: 94vw;
        padding: 2rem;
    }
}

@media (max-width: 700px) {
    .contact-hero,
    .investor-hero {
        min-height: 0;
    }

    .contact-hero-copy h1,
    .blog-hero h1 {
        font-size: clamp(2.4rem, 13vw, 3.5rem);
    }

    .contact-info-band,
    .contact-form-section,
    .blog-grid-section,
    .investor-faq,
    .investor-benefits {
        padding: 4rem 3%;
    }

    .newsletter-panel {
        width: 94vw;
        padding: 2rem;
    }

    .blog-card img {
        height: 14rem;
    }
}

/* Features */
.features {
    margin-top: 0;
    padding: 0 5% 8rem 5%;
    position: relative;
    z-index: 2;
    --home-cover-offset: 0px;
    transform: translate3d(0, var(--home-cover-offset), 0);
    will-change: transform;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.features .container {
    position: relative;
    z-index: 2;
    margin-top: -22rem;
}

.features .section-title {
    color: var(--text-main);
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* Expertise Layout */
.expertise-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    align-items: stretch;
}

.liquid-glass {
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    color: #111;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.liquid-glass:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.92);
}

.financing-block {
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 8px solid var(--primary-color);
}

.financing-block h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.financing-block p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.service-item {
    display: flex;
    gap: 1.2rem;
    padding: 1.8rem 1.5rem;
    align-items: flex-start;
}

.service-item .icon-svg {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.15); /* Tinted gold backdrop for icon */
}

.service-item .icon-svg svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-color);
    stroke-width: 2.5;
}

.service-text h4 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.service-text p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .expertise-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .services-list {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    border-top: 4px solid var(--primary-color);
    padding: 4rem 5% 2rem;
    background: #ffffff;
    color: var(--text-main);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col-left .footer-logo-main {
    height: 180px;
    width: auto;
    object-fit: contain;
}

.footer-col-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-col-center p {
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-col-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.contact-item {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.contact-item strong {
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    color: #111;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .footer-col-right {
        align-items: center;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .navbar {
        padding: 1rem 3%;
        justify-content: space-between;
        align-items: center;
    }

    .nav-toggle {
        display: block;
    }

    .navbar nav {
        position: static;
        top: auto;
        right: auto;
        width: 100%;
        order: 3;
        display: none;
    }

    .navbar.menu-open nav {
        display: block;
    }

    .navbar nav ul {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.2rem;
        margin-top: 1rem;
        background: rgba(255, 255, 255, 0.94);
        border-radius: 8px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    }

    .navbar nav li,
    .navbar nav .nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .navbar nav .nav-dropdown-menu {
        position: static;
        display: grid;
        min-width: 0;
        width: 100%;
        gap: 0.15rem;
        margin-top: 0.5rem;
        padding: 0.55rem;
        background: rgba(0, 0, 0, 0.035);
        border: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
    }

    .navbar nav .nav-dropdown-menu a {
        padding: 0.5rem;
        white-space: normal;
    }

    .navbar nav a {
        color: #111;
    }

    .mobile-call-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 1.2rem;
        border-radius: 8px;
        background: var(--primary-color);
        color: #111;
        font-weight: 700;
        margin-top: 1rem;
        text-decoration: none;
        transition: transform 0.2s ease, background 0.2s ease;
    }

    .mobile-call-cta:hover {
        background: var(--primary-hover);
        transform: translateY(-1px);
    }

    .nav-toggle span {
        background: #111;
    }

    .navbar .logo-img {
        filter: none;
    }

    .top-cta {
        display: none;
    }

    .hero-content {
        display: block;
        top: auto;
        bottom: clamp(2.5rem, 9vh, 5rem);
        left: 0;
        width: 100%;
        max-width: 100%;
        padding: 0 1.25rem;
        text-align: left;
        transform: translateY(18px);
        opacity: 0;
    }

    .hero-content.animated {
        transform: translateY(0);
        opacity: 1;
    }

    .hero-content h1 {
        max-width: 12ch;
        font-size: clamp(2.05rem, 11vw, 3.4rem);
        margin-bottom: 0.9rem;
        line-height: 1;
    }

    .hero-content p {
        max-width: min(34rem, 92vw);
        font-size: clamp(0.98rem, 3.7vw, 1.15rem);
        line-height: 1.45;
        margin-bottom: 1.25rem;
    }

    .hero-content .btn-primary {
        padding: 0.75rem 1.35rem;
        font-size: 0.95rem;
    }

    .hero-content .btn-secondary {
        padding: 0.75rem 1.15rem;
        font-size: 0.95rem;
    }

    .hero-proof-list {
        gap: 0.45rem;
    }

    .hero-proof-list li {
        font-size: 0.78rem;
    }

    .canvas-sticky {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #hero-video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100vw;
        height: 100vh;
        min-height: 380px;
        object-fit: cover;
        object-position: center center;
        z-index: 0;
    }

    .hero-scroll-container {
        height: 100vh;
        background: #ffffff;
    }

    .navbar {
        background: transparent;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 100%;
    }

    .orb-1 {
        width: 250px;
        height: 250px;
        top: -5%;
        right: -15%;
    }

    .orb-2 {
        width: 200px;
        height: 200px;
        bottom: 5%;
        left: -10%;
    }

    .orb {
        display: none;
    }

    .features,
    .blueprint-section,
    .why-choose-us,
    .estimate-section,
    footer {
        padding-left: 3%;
        padding-right: 3%;
    }

    .estimate-section {
        background-attachment: scroll;
    }

    .features {
        padding-top: 0;
        padding-bottom: 4rem;
        /* Z-index layering: keep the second section above the hero while it covers it. */
        z-index: 8;
        background: #ffffff;
        border-radius: 0;
        box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.14);
        transition: transform 0.08s linear;
    }

    .section-transition-image {
        border-radius: 0;
        box-shadow: none;
    }

    .section-transition-image img {
        height: clamp(18rem, 58vw, 26rem);
    }

    .features .container {
        margin-top: -7rem;
    }

    .features .section-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        margin-bottom: 1.5rem;
    }

    .expertise-layout {
        gap: 1rem;
    }

    .financing-block {
        padding: 2rem 1.4rem;
    }

    .financing-block h3 {
        font-size: 1.65rem;
    }

    .financing-block p,
    .service-text p,
    .wcu-item p {
        font-size: 0.98rem;
    }

    .service-item {
        padding: 1.25rem;
    }

    .wcu-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 2rem;
    }

    .wcu-center {
        width: 100%;
        order: -1;
    }

    .wcu-image {
        width: 100%;
        max-width: 520px;
        height: auto;
        aspect-ratio: 16 / 9;
        margin: 0 auto;
    }

    .wcu-left,
    .wcu-right {
        gap: 2rem;
    }

    .wcu-right .wcu-item,
    .align-right {
        text-align: left;
    }

    .estimate-section {
        background-attachment: scroll;
        padding: 5rem 3%;
    }

    .estimate-container {
        padding: 2.5rem 1rem;
        border-radius: 8px;
    }

    .estimate-form-wrapper {
        min-height: 520px;
    }

    .footer-container,
    .footer-bottom {
        text-align: center;
    }

    .footer-col-left {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .navbar nav ul {
        padding: 0.75rem 0;
    }

    .top-cta {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .estimate-form-wrapper {
        min-height: 420px;
    }

    .footer-col-right {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content h1,
    .hero-content p,
    .cta-group,
    .hero-proof-list,
    .hero-content .btn-primary {
        animation: none;
    }
}


/* Local SEO Enhancements */
.local-seo-section{padding:6rem 5%;background:#fff}.local-seo-panel{display:grid;grid-template-columns:minmax(18rem,.85fr) minmax(20rem,1.15fr);gap:clamp(2rem,5vw,4rem);align-items:start;max-width:1200px;margin:0 auto;padding:clamp(2rem,5vw,4rem);border-radius:12px;background:#f7f7f5;border-left:6px solid var(--primary-color)}.local-seo-panel h2{font-size:clamp(2rem,4vw,3rem);margin:.6rem 0 1rem}.local-seo-panel p,.local-seo-panel li{color:var(--text-muted);font-size:1.04rem}.seo-link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:1.5rem}.seo-link-grid a{display:block;padding:.9rem 1rem;border-radius:8px;background:#fff;color:#111;font-weight:800;text-decoration:none;border:1px solid rgba(0,0,0,.08);transition:transform .2s ease,border-color .2s ease}.seo-link-grid a:hover{transform:translateY(-2px);border-color:rgba(212,175,55,.5)}.service-page .service-detail-hero{display:grid;grid-template-columns:minmax(18rem,.9fr) minmax(20rem,1.1fr);gap:clamp(2rem,5vw,4rem);align-items:center;min-height:34rem;padding:5rem 8%;background:#f4f5f7}.service-detail-hero-copy{padding:clamp(2rem,5vw,4rem);background:#fff;border-radius:12px;border-left:6px solid var(--primary-color)}.service-detail-hero h1{font-size:clamp(2.6rem,6vw,5rem);margin:.6rem 0 1rem}.service-detail-hero p:not(.eyebrow){color:var(--text-muted);font-size:1.14rem}.service-detail-hero img{width:100%;min-height:24rem;object-fit:cover;border-radius:12px}.service-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;max-width:1100px;margin:0 auto;padding:6rem 5%}.service-detail-card{padding:2rem;border:1px solid rgba(0,0,0,.08);border-radius:10px;background:#fff}.service-detail-card h2{font-size:1.35rem;margin-bottom:.7rem}.service-detail-card p{color:var(--text-muted)}.service-faq-section{padding:6rem 5%;background:#f7f7f5}.service-final-cta{display:grid;grid-template-columns:1fr auto;gap:2rem;align-items:center;padding:4rem 8%;background:var(--primary-color)}.service-final-cta h2{color:#111;font-size:clamp(1.8rem,4vw,2.8rem)}.service-final-cta p{color:rgba(17,17,17,.78)}.service-final-cta .btn-primary{background:#fff;border-color:#fff;color:#111}@media(max-width:900px){.local-seo-panel,.service-page .service-detail-hero,.service-detail-grid,.service-final-cta{grid-template-columns:1fr}.seo-link-grid{grid-template-columns:1fr}.local-seo-section,.service-detail-grid,.service-faq-section{padding:4rem 3%}.service-page .service-detail-hero{padding:3rem 3%}}

/* Non-home hero image sizing */
@keyframes mildHeroBreeze {
    0% {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
    50% {
        transform: scale(1.07) translate3d(-0.45rem, -0.25rem, 0);
    }
    100% {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
}

@keyframes softHeroBreeze {
    0% {
        transform: scale(1.01) translate3d(0, 0, 0);
    }
    50% {
        transform: scale(1.025) translate3d(-0.2rem, -0.12rem, 0);
    }
    100% {
        transform: scale(1.01) translate3d(0, 0, 0);
    }
}

.services-hero-media,
.financing-hero-media,
.about-hero-media,
.contact-hero,
.investor-hero,
.service-page .service-detail-hero {
    overflow: hidden;
}

.services-hero-media img,
.financing-hero-media img,
.about-hero-media img,
.contact-hero > img,
.investor-hero > img,
.service-detail-hero > img {
    animation: mildHeroBreeze 14s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}

@media (min-width: 901px) {
    .services-hero,
    .financing-hero,
    .about-hero,
    .contact-hero,
    .investor-hero,
    .service-page .service-detail-hero {
        align-items: stretch;
        min-height: 50vh;
    }

    .services-hero-media,
    .financing-hero-media,
    .about-hero-media,
    .contact-hero > img,
    .investor-hero > img,
    .service-detail-hero > img {
        align-self: stretch;
        width: 100%;
        height: 100%;
        min-height: 50vh;
        max-height: none;
        object-fit: cover;
        object-position: center;
    }

    .services-hero-media img,
    .financing-hero-media img,
    .about-hero-media img,
    .contact-hero img,
    .investor-hero img,
    .service-detail-hero img {
        width: 100%;
        height: 100%;
        min-height: 50vh;
        max-height: none;
        object-fit: cover;
        object-position: center;
    }

    .service-detail-hero img {
        border-radius: 0;
    }
}

@media (max-width: 900px) {
    .services-hero-media,
    .financing-hero-media,
    .about-hero-media {
        min-height: 100svh;
    }

    .services-hero-media,
    .financing-hero-media,
    .about-hero-media,
    .contact-hero img,
    .investor-hero img,
    .service-detail-hero img {
        width: 100%;
        height: 100svh;
        min-height: 100svh;
        max-height: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-hero-media img,
    .financing-hero-media img,
    .about-hero-media img,
    .contact-hero > img,
    .investor-hero > img,
    .service-detail-hero > img {
        animation: none;
        transform: none;
    }
}

/* Financing hero full-bleed image */
.financing-hero {
    position: relative;
    grid-template-columns: minmax(27rem, 0.46fr) minmax(0, 1.54fr);
    width: 100%;
    max-width: none;
    height: clamp(32rem, calc(100svh - 5.25rem), 44rem);
    min-height: 0;
    margin: 0 0 7rem;
    overflow: hidden;
}

.financing-hero-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: clamp(2.25rem, 4vw, 4rem);
}

.financing-hero-copy h1 {
    max-width: 14ch;
    font-size: clamp(2.35rem, 4.2vw, 4.1rem);
}

.financing-hero-copy p:not(.eyebrow) {
    max-width: 34rem;
}

.financing-hero-media {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 100%;
    min-height: 0;
}

.financing-hero-copy {
    grid-column: 1;
    grid-row: 1;
}

.financing-hero-media::after {
    display: none;
}

.financing-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    animation-name: softHeroBreeze;
    animation-duration: 18s;
}

@media (max-width: 900px) {
    .financing-hero {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        margin: 0 0 4rem;
    }

    .financing-hero-copy,
    .financing-hero-media {
        grid-column: 1;
    }

    .financing-hero-copy {
        grid-row: 1;
    }

    .financing-hero-media {
        grid-row: 2;
        height: calc(100svh - 5.25rem);
        min-height: 28rem;
    }
}

/* About hero full-bleed image */
.about-hero {
    position: relative;
    grid-template-columns: minmax(27rem, 0.44fr) minmax(0, 1fr) minmax(22rem, 0.36fr);
    width: 100%;
    max-width: none;
    height: clamp(32rem, calc(100svh - 5.25rem), 44rem);
    min-height: 0;
    margin: 0 0 7rem;
    overflow: hidden;
}

.about-hero-copy,
.founder-quote {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.about-hero-media {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 100%;
    min-height: 0;
}

.about-hero-copy {
    grid-column: 1;
    grid-row: 1;
    padding: clamp(2.25rem, 4vw, 4rem);
}

.about-hero-copy h1 {
    max-width: 14ch;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.about-hero-copy p:not(.eyebrow) {
    max-width: 34rem;
}

.founder-quote {
    grid-column: 3;
    grid-row: 1;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.founder-quote p {
    font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.about-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    animation-name: softHeroBreeze;
    animation-duration: 18s;
}

@media (max-width: 1100px) {
    .founder-quote {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

@media (max-width: 900px) {
    .about-hero {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        margin: 0 0 4rem;
    }

    .about-hero-copy,
    .about-hero-media,
    .founder-quote {
        grid-column: 1;
    }

    .about-hero-copy {
        grid-row: 1;
    }

    .about-hero-media {
        grid-row: 2;
        height: calc(100svh - 5.25rem);
        min-height: 28rem;
    }

    .founder-quote {
        grid-row: 3;
    }
}
