/* ========================================================================
   CHIMBA CLEAN — Premium Construction Cleaning
   Design System: Cream / Gold / Charcoal — Editorial Luxury
   Typography: Bodoni Moda + Outfit
   ======================================================================== */

/* --- Design Tokens --- */
:root {
    /* Core Palette */
    --cream:          #F5F0E8;
    --cream-light:    #FAF8F3;
    --cream-mid:      #E8E1D4;
    --cream-warm:     #F0EAE0;
    --gold:           #B89B5E;
    --gold-light:     #CCAE6E;
    --gold-pale:      #D4C5A0;
    --gold-dark:      #96793E;
    --charcoal:       #1E1E1C;
    --charcoal-mid:   #2E2E2C;
    --charcoal-light: #4A4A46;
    --charcoal-warm:  #35332E;
    --off-black:      #141412;
    --white:          #FFFFFF;

    /* Functional */
    --bg:             var(--cream-light);
    --text:           var(--charcoal);
    --accent:         var(--gold);

    /* Typography */
    --font-display:   'Bodoni Moda', 'Georgia', serif;
    --font-body:      'Outfit', 'Helvetica Neue', sans-serif;

    /* Spacing Scale */
    --sp-2xs: 0.25rem;
    --sp-xs:  0.5rem;
    --sp-sm:  1rem;
    --sp-md:  1.5rem;
    --sp-lg:  2.5rem;
    --sp-xl:  4rem;
    --sp-2xl: 6rem;
    --sp-3xl: 10rem;

    /* Layout */
    --container:   1280px;
    --nav-height:  80px;
    --border:      1px solid rgba(184, 155, 94, 0.15);

    /* Motion */
    --ease:        cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur:         0.7s;
    --dur-fast:    0.35s;
    --dur-slow:    1.2s;
}


/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

::selection {
    background-color: var(--gold);
    color: var(--cream-light);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

.hide-mobile { display: inline; }


/* ========================================================================
   PAGE LOADER
   ======================================================================== */

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.loader__half {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: var(--charcoal);
    transition: transform 1s var(--ease) 0.6s;
}

.loader__half--left  { left: 0; transform-origin: left; }
.loader__half--right { right: 0; transform-origin: right; }

.loader.done .loader__half--left  { transform: translateX(-100%); }
.loader.done .loader__half--right { transform: translateX(100%); }

.loader__logo {
    position: relative;
    z-index: 1;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s var(--ease) 0.2s, transform 0.4s var(--ease) 0.2s;
}

.loader.done .loader__logo {
    opacity: 0;
    transform: scale(0.9);
}

.loader__logo-img {
    height: 48px;
    width: auto;
}


/* ========================================================================
   GRAIN OVERLAY
   ======================================================================== */

.grain {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    z-index: 9990;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    animation: grain 0.5s steps(1) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    30% { transform: translate(3%, -15%); }
    50% { transform: translate(12%, 9%); }
    70% { transform: translate(9%, 4%); }
    90% { transform: translate(-1%, 7%); }
}




/* ========================================================================
   SECTION HEADER
   ======================================================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--sp-xl);
}

.section-header--left { text-align: left; }

.section-header__label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--sp-sm);
    position: relative;
    padding-left: 2em;
}

.section-header__label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.2em;
    height: 1px;
    background-color: var(--gold);
}

.section-header--left .section-header__label::before {
    display: block;
}

.section-header:not(.section-header--left) .section-header__label {
    padding-left: 0;
}

.section-header:not(.section-header--left) .section-header__label::before {
    display: none;
}

.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}


/* ========================================================================
   NAVIGATION
   ======================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--dur-fast) var(--ease);
}

.nav--scrolled {
    background-color: rgba(250, 248, 243, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 1px 0 rgba(184, 155, 94, 0.1);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

.nav__logo { display: flex; align-items: center; z-index: 1001; }

.nav__logo-img {
    height: 32px;
    width: auto;
    transition: all var(--dur-fast) var(--ease);
}

.nav--scrolled .nav__logo-img {
    filter: brightness(0.15);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--sp-lg);
}

.nav__link {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream);
    transition: color var(--dur-fast) var(--ease);
    position: relative;
    padding: 0.4em 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width var(--dur-fast) var(--ease);
}

.nav__link:hover::after { width: 100%; }

.nav--scrolled .nav__link { color: var(--charcoal); }

.nav__link--cta {
    color: var(--gold) !important;
    border: 1px solid var(--gold);
    padding: 0.55em 1.8em;
    letter-spacing: 0.18em;
    transition: all var(--dur-fast) var(--ease);
}

.nav__link--cta::after { display: none; }

.nav__link--cta:hover {
    background-color: var(--gold);
    color: var(--cream-light) !important;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 7px;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 26px;
    height: 1px;
    background-color: var(--cream);
    transition: all var(--dur-fast) var(--ease);
    transform-origin: center;
}

.nav--scrolled .nav__toggle span { background-color: var(--charcoal); }
.nav__toggle.active span { background-color: var(--cream) !important; }

.nav__toggle.active span:first-child {
    transform: rotate(45deg) translate(2.5px, 2.5px);
}
.nav__toggle.active span:last-child {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
}


/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background-color: var(--charcoal);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease);
}

.mobile-menu.active { opacity: 1; pointer-events: all; }

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-lg);
}

.mobile-menu__link {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--cream);
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--dur) var(--ease);
}

.mobile-menu.active .mobile-menu__link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu__link:nth-child(1) { transition-delay: 0.12s; }
.mobile-menu.active .mobile-menu__link:nth-child(2) { transition-delay: 0.17s; }
.mobile-menu.active .mobile-menu__link:nth-child(3) { transition-delay: 0.22s; }
.mobile-menu.active .mobile-menu__link:nth-child(4) { transition-delay: 0.27s; }

.mobile-menu__link:hover { color: var(--gold); }

.mobile-menu__link--cta {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 0.15em;
}


/* ========================================================================
   HERO
   ======================================================================== */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    will-change: transform;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(20, 20, 18, 0.80) 0%,
            rgba(20, 20, 18, 0.35) 35%,
            rgba(20, 20, 18, 0.30) 65%,
            rgba(20, 20, 18, 0.75) 100%
        );
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--sp-3xl) var(--sp-lg) var(--sp-2xl);
    max-width: 1000px;
}

.hero__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-xl);
}

.hero__label-line {
    display: block;
    width: 48px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
}

.hero__label-line:last-child {
    background: linear-gradient(to left, transparent, var(--gold));
}

.hero__label-text {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
}

/* Title with clip reveal */
.hero__title {
    margin-bottom: var(--sp-lg);
}

.hero__title-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.4em;
    margin-bottom: -0.4em;
}

.hero__title-word {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 8vw, 7rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--cream-light);
    letter-spacing: -0.025em;
    transform: translateY(110%);
    transition: transform 1s var(--ease);
}

.hero__title-line.visible .hero__title-word {
    transform: translateY(0);
}

.hero__title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero__sub {
    font-family: var(--font-body);
    font-size: clamp(0.88rem, 1.1vw, 1rem);
    font-weight: 300;
    line-height: 1.85;
    color: rgba(245, 240, 232, 0.6);
    max-width: 580px;
    margin: 0 auto var(--sp-xl);
    letter-spacing: 0.01em;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-md);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8em;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 1.1em 2.8em;
    border: 1px solid transparent;
    transition: all var(--dur-fast) var(--ease);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background-color: var(--gold);
    color: var(--cream-light);
    border-color: var(--gold);
}

.btn--primary:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(184, 155, 94, 0.3);
}

.btn__arrow {
    display: flex;
    align-items: center;
    transition: transform var(--dur-fast) var(--ease);
}

.btn:hover .btn__arrow {
    transform: translateX(3px);
}

.btn--ghost {
    background-color: transparent;
    color: var(--cream);
    border-color: rgba(245, 240, 232, 0.2);
}

.btn--ghost:hover {
    border-color: rgba(245, 240, 232, 0.5);
    background-color: rgba(245, 240, 232, 0.04);
}

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

/* Hero corner labels */
.hero__corner {
    position: absolute;
    z-index: 2;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.25);
}

.hero__corner--bl { bottom: var(--sp-lg); left: var(--sp-lg); }
.hero__corner--br { bottom: var(--sp-lg); right: var(--sp-lg); }

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--sp-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 1px;
    height: 60px;
    background: var(--gold-light);
    animation: scrollLine 2.5s var(--ease-smooth) infinite;
}

@keyframes scrollLine {
    0% { top: -60px; opacity: 0; }
    30% { opacity: 1; }
    100% { top: 60px; opacity: 0; }
}


/* ========================================================================
   MARQUEE
   ======================================================================== */

.marquee {
    padding: var(--sp-lg) 0;
    background-color: var(--charcoal);
    overflow: hidden;
    border-top: 1px solid rgba(184, 155, 94, 0.12);
    border-bottom: 1px solid rgba(184, 155, 94, 0.12);
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: var(--sp-xl);
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    will-change: transform;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee__item {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(245, 240, 232, 0.3);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.marquee__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--gold);
    opacity: 0.4;
    flex-shrink: 0;
}


/* ========================================================================
   STATEMENT (with flanking portraits)
   ======================================================================== */

.statement {
    padding: var(--sp-xl) 0 0;
    background-color: var(--bg);
    overflow: visible;
    position: relative;
    z-index: 2;
}

.statement__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Subtle radial glow behind text */
.statement__inner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 155, 94, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.statement__content {
    flex: 1;
    text-align: center;
    padding: var(--sp-2xl) var(--sp-lg);
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.statement__content::before,
.statement__content::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    width: 100px;
}

.statement__content::before { top: var(--sp-lg); }
.statement__content::after  { bottom: var(--sp-lg); }

.statement__text {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--charcoal);
    letter-spacing: -0.005em;
}

.statement__text em {
    font-style: italic;
    color: var(--gold-dark);
}

/* Portraits */
.statement__portrait {
    flex-shrink: 0;
    width: 300px;
    position: relative;
    z-index: 1;
    align-self: flex-end;
    margin-bottom: -3rem;
}

.statement__portrait-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 40px rgba(20, 20, 18, 0.15));
    transition: transform 0.8s var(--ease);
}

.statement__portrait:hover .statement__portrait-img {
    transform: translateY(-8px);
}

.statement__portrait--left {
    margin-right: -2rem;
}

.statement__portrait--right {
    margin-left: -2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .statement__portrait {
        width: 220px;
    }

    .statement__portrait--left {
        margin-right: -1rem;
    }

    .statement__portrait--right {
        margin-left: -1rem;
    }
}

@media (max-width: 768px) {
    .statement {
        padding: var(--sp-lg) 0 0;
    }

    .statement__inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }

    .statement__content {
        width: 100%;
        flex: none;
        order: -1;
        padding: var(--sp-lg) var(--sp-sm);
        max-width: 100%;
    }

    .statement__portrait {
        width: 160px;
        margin-bottom: -2rem;
    }

    .statement__portrait--left,
    .statement__portrait--right {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .statement__portrait {
        width: 130px;
        margin-bottom: -1.5rem;
    }
}


/* ========================================================================
   SERVICES
   ======================================================================== */

.services {
    padding: var(--sp-3xl) 0;
    background-color: var(--charcoal);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(184, 155, 94, 0.2), transparent);
}

.services .section-header__title { color: var(--cream); }

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.service-card {
    position: relative;
    padding: var(--sp-xl) var(--sp-lg);
    border-right: 1px solid rgba(245, 240, 232, 0.06);
    transition: background-color var(--dur) var(--ease);
}

.service-card:last-child { border-right: none; }

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--sp-lg);
    right: var(--sp-lg);
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
}

.service-card:hover::after { transform: scaleX(1); }

.service-card:hover {
    background-color: rgba(245, 240, 232, 0.03);
}

.service-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--sp-xl);
}

.service-card__number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.service-card__icon {
    width: 28px;
    height: 28px;
    color: rgba(245, 240, 232, 0.15);
    transition: color var(--dur-fast) var(--ease);
}

.service-card:hover .service-card__icon { color: var(--gold); }

.service-card__icon svg { width: 100%; height: 100%; }

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: var(--sp-sm);
    letter-spacing: 0.01em;
}

.service-card__desc {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(245, 240, 232, 0.4);
    transition: color var(--dur-fast) var(--ease);
}

.service-card:hover .service-card__desc {
    color: rgba(245, 240, 232, 0.6);
}

.service-card__line { display: none; }


/* ========================================================================
   STATS
   ======================================================================== */

.stats {
    padding: var(--sp-2xl) 0;
    background-color: var(--cream);
    border-top: var(--border);
    border-bottom: var(--border);
}

.stats__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-lg);
    gap: var(--sp-2xl);
}

.stats__item {
    text-align: center;
    flex: 1;
}

.stats__number {
    display: inline;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--charcoal);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stats__unit {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 400;
    color: var(--gold);
    margin-left: 0.1em;
}

.stats__label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    margin-top: var(--sp-xs);
}

.stats__divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold-pale), transparent);
    flex-shrink: 0;
}


/* ========================================================================
   APPROACH
   ======================================================================== */

.approach {
    display: grid;
    grid-template-columns: 0.55fr 0.45fr;
    min-height: 100vh;
}

.approach__image-col {
    position: relative;
    overflow: hidden;
}

.approach__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s var(--ease-smooth);
}

.approach__image-col:hover .approach__image {
    transform: scale(1.03);
}

.approach__image-tag {
    position: absolute;
    bottom: var(--sp-lg);
    left: var(--sp-lg);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cream);
    padding: 0.6em 1.2em;
    background-color: rgba(20, 20, 18, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(184, 155, 94, 0.2);
}

.approach__content-col {
    padding: var(--sp-3xl) var(--sp-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--cream-light);
}

.approach__pillars {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pillar {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    padding: var(--sp-lg) 0;
    border-bottom: 1px solid var(--cream-mid);
    transition: all var(--dur-fast) var(--ease);
    position: relative;
}

.pillar:last-child { border-bottom: none; }

.pillar:hover {
    padding-left: var(--sp-sm);
}

.pillar__number {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.05em;
    flex-shrink: 0;
    width: 2em;
}

.pillar__text { flex: 1; }

.pillar__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.25em;
}

.pillar__desc {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--charcoal-light);
}

.pillar__arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: transparent;
    transition: all var(--dur-fast) var(--ease);
}

.pillar:hover .pillar__arrow {
    color: var(--gold);
    transform: translate(3px, -3px);
}


/* ========================================================================
   GALLERY — Horizontal Scroll
   ======================================================================== */

.gallery {
    padding: var(--sp-3xl) 0 var(--sp-2xl);
    background-color: var(--bg);
    overflow: hidden;
}

.gallery__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--sp-xl);
}

.gallery__header .section-header {
    margin-bottom: 0;
}

.gallery__intro {
    max-width: 340px;
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--charcoal-light);
    text-align: right;
}

.gallery__scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 var(--sp-lg);
    margin: 0 calc(-1 * var(--sp-lg));
}

.gallery__scroll::-webkit-scrollbar { display: none; }

.gallery__track {
    display: flex;
    gap: var(--sp-md);
    padding-bottom: var(--sp-sm);
}

.gallery__item {
    flex-shrink: 0;
    width: 420px;
    position: relative;
}

.gallery__item-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    margin-bottom: var(--sp-sm);
}

.gallery__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.gallery__item:hover .gallery__item-img img {
    transform: scale(1.04);
}

.gallery__item-info {
    display: flex;
    flex-direction: column;
    gap: 0.15em;
}

.gallery__item-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}

.gallery__item-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--charcoal);
}

.gallery__item-type {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--charcoal-light);
}


/* ========================================================================
   TESTIMONIAL
   ======================================================================== */

.testimonial {
    padding: var(--sp-3xl) 0;
    background-color: var(--charcoal);
    position: relative;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(184, 155, 94, 0.2), transparent);
}

.testimonial__inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.testimonial__mark {
    font-family: var(--font-display);
    font-size: 8rem;
    line-height: 0.4;
    color: var(--gold);
    margin-bottom: var(--sp-xl);
    opacity: 0.3;
}

.testimonial__quote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.65;
    color: var(--cream);
    margin-bottom: var(--sp-xl);
}

.testimonial__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-md);
}

.testimonial__divider {
    width: 48px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.testimonial__cite-name {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    font-style: normal;
}


/* ========================================================================
   CONTACT
   ======================================================================== */

.contact {
    padding: var(--sp-3xl) 0;
    background-color: var(--cream-light);
}

.contact__grid {
    display: grid;
    grid-template-columns: 0.45fr 0.55fr;
    gap: var(--sp-3xl);
    align-items: start;
}

.contact__desc {
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--charcoal-light);
    margin-top: var(--sp-md);
    margin-bottom: var(--sp-xl);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
}

.contact__detail-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.2em;
}

.contact__detail-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--charcoal);
    transition: color var(--dur-fast) var(--ease);
}

a.contact__detail-value:hover { color: var(--gold); }

/* Form */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
}

.form-group { margin-bottom: var(--sp-md); }

.form-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    margin-bottom: 0.6em;
}

.form-input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--charcoal);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--cream-mid);
    padding: 0.75em 0;
    outline: none;
    transition: border-color var(--dur-fast) var(--ease);
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.form-input:focus { border-bottom-color: var(--gold); }

.form-input::placeholder { color: rgba(42, 42, 40, 0.25); }

.form-input--select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23B89B5E' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
}

.form-input--textarea {
    resize: vertical;
    min-height: 100px;
}

.btn__loader {
    display: none;
    width: 14px;
    height: 14px;
    border: 1.5px solid transparent;
    border-top-color: var(--cream);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }


/* ========================================================================
   FOOTER
   ======================================================================== */

.footer {
    padding: var(--sp-2xl) 0 var(--sp-lg);
    background-color: var(--off-black);
}

.footer__upper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: var(--sp-xl);
    border-bottom: 1px solid rgba(245, 240, 232, 0.06);
    margin-bottom: var(--sp-lg);
}

.footer__logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--sp-sm);
}

.footer__tagline {
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.25);
}

.footer__links {
    display: flex;
    gap: var(--sp-3xl);
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 0.55em;
}

.footer__col-title {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6em;
}

.footer__link {
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(245, 240, 232, 0.4);
    transition: color var(--dur-fast) var(--ease);
}

.footer__link:hover { color: var(--cream); }

.footer__lower {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copy,
.footer__legal {
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(245, 240, 232, 0.2);
}


/* ========================================================================
   ANIMATIONS
   ======================================================================== */

[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-animate="fade-up"].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="reveal"] {
    /* clip-reveal handled by JS + .visible on .hero__title-line */
}

[data-animate][data-delay="1"] { transition-delay: 0.15s; }
[data-animate][data-delay="2"] { transition-delay: 0.30s; }
[data-animate][data-delay="3"] { transition-delay: 0.45s; }
[data-animate][data-delay="4"] { transition-delay: 0.60s; }


/* ========================================================================
   SCROLL PROGRESS
   ======================================================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(to right, var(--gold-dark), var(--gold-light));
    z-index: 1001;
    pointer-events: none;
    transition: width 0.05s linear;
}


/* ========================================================================
   RESPONSIVE
   ======================================================================== */

@media (max-width: 1100px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        border-bottom: 1px solid rgba(245, 240, 232, 0.06);
    }

    .service-card:nth-child(even) { border-right: none; }
}

@media (max-width: 1024px) {
    .approach {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .approach__image-col { height: 55vh; }

    .approach__content-col {
        padding: var(--sp-2xl) var(--sp-lg);
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-xl);
    }

    .gallery__item { width: 340px; }
}

@media (max-width: 768px) {
    :root { --nav-height: 68px; }


    .nav__links { display: none; }
    .nav__toggle { display: flex; }
    .hide-mobile { display: none; }

    .hero__content {
        padding: var(--sp-3xl) var(--sp-sm) var(--sp-2xl);
    }

    .hero__corner { display: none; }

    .services__grid { grid-template-columns: 1fr; }
    .service-card { border-right: none; padding: var(--sp-lg); }

    .stats__inner {
        flex-direction: column;
        gap: var(--sp-lg);
    }

    .stats__divider {
        width: 40px;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--gold-pale), transparent);
    }

    .gallery__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-sm);
    }

    .gallery__intro { text-align: left; max-width: 100%; }

    .gallery__item { width: 300px; }

    .form-row { grid-template-columns: 1fr; }

    .footer__upper {
        flex-direction: column;
        gap: var(--sp-xl);
    }

    .footer__links { gap: var(--sp-xl); }

    .footer__lower {
        flex-direction: column;
        gap: var(--sp-xs);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--sp-sm); }

    .hero__label-line { width: 20px; }

    .hero__actions {
        flex-direction: column;
        gap: var(--sp-sm);
    }
    .hero__actions .btn { width: 100%; }

    .approach__image-col { height: 40vh; }

    .marquee__item { font-size: 1.3rem; }

    .gallery__item { width: 280px; }

    .gallery__item-img { aspect-ratio: 3 / 4; }

    .statement { padding: var(--sp-2xl) 0; }
    .services  { padding: var(--sp-2xl) 0; }
    .gallery   { padding: var(--sp-2xl) 0 var(--sp-xl); }
    .testimonial { padding: var(--sp-2xl) 0; }
    .contact   { padding: var(--sp-2xl) 0; }
}
