﻿:root {
    --bg: #faf9f7;
    --bg-warm: #f4f1ec;
    --bg-stone: #ede8df;
    --charcoal: #2c2c2c;
    --charcoal-soft: #3d3d3d;
    --gold: #b8962e;
    --gold-bright: #d4aa3a;
    --gold-light: #e8d5a0;
    --gold-pale: #f5edda;
    --muted: #7a7a72;
    --line: rgba(184,150,46,0.18);
    --line-grey: rgba(44,44,44,0.1);
    --white: #ffffff;
    --ink: #1e1e1e;
    --serif: "Cormorant Garamond", "Fraunces", Georgia, serif;
    --sans: "DM Sans", "Helvetica Neue", sans-serif;
    --ease: cubic-bezier(0.22,1,0.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

em { font-style: italic; color: var(--gold); }
p  { color: var(--muted); line-height: 1.75; }

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    padding: 1.4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: all 0.5s var(--ease);
    background: transparent;
}

.nav.scrolled {
    background: rgba(250,249,247,0.97);
    backdrop-filter: blur(12px);
    padding: 1rem 3rem;
    border-bottom: 1px solid var(--line-grey);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav__links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav__links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.3rem 0;
    position: relative;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav.scrolled .nav__links a { color: var(--charcoal-soft); }

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease);
}

.nav__links a:hover::after { width: 100%; }
.nav__links a:hover { color: var(--gold); }
.nav.scrolled .nav__links a:hover { color: var(--gold); }

/* ===== DROPDOWN ===== */
.has-dropdown {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%; /* sits flush under the trigger — no gap = no accidental close */
    left: 0;
}

.has-dropdown.open .dropdown,
.has-dropdown:hover .dropdown {
    display: block;
}

/* Individual item hover state — this is the "scroll down and each one lights up" effect */
.dropdown a {
    display: block;
    color: #FFFDD0; /* your current red */
    text-decoration: none;
    padding: 12px 20px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

    .dropdown a:hover,
    .dropdown a:focus {
        color: #36454F; /* muted gray, matches the video */
        background-color: rgba(0,0,0,0.02);
        cursor: pointer;
    }

.dropdown li a::after { display: none; }

.dropdown li a:hover {
    background: var(--bg-warm);
    color: var(--gold);
}

.dropdown__divider {
    height: 1px;
    background: var(--line-grey);
    margin: 0.3rem 0;
}

/* ===== MOBILE TOGGLE ===== */
.nav__mobile-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.nav.scrolled .nav__mobile-toggle {
    border-color: var(--line-grey);
    color: var(--charcoal);
}

@media (max-width: 900px) {
    .nav__mobile-toggle { display: block; }

    .nav__links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--white);
        padding: 6rem 2rem 2rem;
        gap: 1.8rem;
        z-index: 998;
        overflow-y: auto;
        justify-content: flex-start;
    }

    .nav__links a { color: var(--charcoal-soft) !important; font-size: 0.9rem; }
    .nav__links.open { display: flex; }
}

.nav__links.open { background: var(--white); }

.nav__links.open a {
    color: var(--charcoal) !important;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.nav__links.open a:hover { color: var(--gold) !important; }

/* ===== LOGO ===== */
.nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav__logo-img {
    height: 95px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s var(--ease);
}

.nav__logo-img--light { display: block; }
.nav__logo-img--dark  { display: none; }
.nav.scrolled .nav__logo-img--light { display: none; }
.nav.scrolled .nav__logo-img--dark  { display: block; }

.footer__logo { margin-bottom: 1.5rem; }
.footer__logo-img { height: 92px; width: auto; object-fit: contain; display: block; }

@media (max-width: 778px) {
    .nav__logo-img   { height: 78px; }
    .footer__logo-img { height: 64px; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s var(--ease);
}

.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184,150,46,0.3);
}

.btn--outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn--outline-dark { background: transparent; color: var(--charcoal); border: 1px solid var(--charcoal); }
.btn--outline-dark:hover { background: var(--charcoal); color: var(--white); }

.btn--ink { background: var(--charcoal); color: var(--white); }
.btn--ink:hover { background: var(--ink); transform: translateY(-2px); }

.btn--sm { padding: 0.6rem 1.3rem; font-size: 0.68rem; }

/* ===== EYEBROW ===== */
.eyebrow {
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-block;
}

.eyebrow--light { color: var(--gold-light); }
.eyebrow--dark  { color: var(--muted); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 9rem 3rem 6rem;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(20,18,16,0.72) 0%, rgba(20,18,16,0.45) 50%, rgba(20,18,16,0.15) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero__visual { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.hero__inner { max-width: 1320px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.hero__content { max-width: 640px; }

.hero__eyebrow { display: inline-block; margin-bottom: 1.4rem; animation: rise 0.8s var(--ease) 0.1s both; }

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(3rem,6.5vw,6rem);
    color: var(--white);
    font-weight: 300;
    margin-bottom: 1.6rem;
    animation: rise 1s var(--ease) 0.25s both;
    line-height: 1.0;
}

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

.hero__sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    max-width: 480px;
    margin-bottom: 2.8rem;
    line-height: 1.8;
    font-weight: 300;
    animation: rise 0.9s var(--ease) 0.4s both;
}

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; animation: rise 0.8s var(--ease) 0.55s both; }

.hero__badge {
    position: absolute;
    bottom: 3rem; right: 3rem;
    background: var(--gold);
    color: var(--white);
    padding: 1.1rem 1.4rem;
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 400;
    z-index: 3;
    line-height: 1.5;
    letter-spacing: 0.04em;
    animation: rise 0.8s var(--ease) 1s both;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 3;
    animation: fadeIn 1s var(--ease) 1.5s both;
}

.hero__scroll::after {
    content: '';
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.4);
    animation: scrollLine 2.5s infinite;
}

.hero__bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.18);
    animation: rise 0.8s var(--ease) 0.7s both;
}

.hero__meta-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s;
    font-family: var(--sans);
    text-transform: uppercase;
}

.hero__meta-link:hover { color: var(--gold-light); }

.hero__meta-icon {
    width: 34px; height: 34px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s var(--ease);
}

.hero__meta-link:hover .hero__meta-icon {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

/* ===== ANIMATIONS ===== */
@keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scrollLine {
    0%,100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    50%      { opacity: 0.2; transform: scaleY(0.3); }
}

@keyframes rollGallery {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
section { padding: 7rem 3rem; }

.container { max-width: 1280px; margin: 0 auto; width: 100%; }

.section__header { text-align: center; max-width: 680px; margin: 0 auto 5rem; }
.section__header h2 { font-size: clamp(2.2rem,4vw,3.8rem); color: var(--charcoal); margin: 1rem 0 1.2rem; font-weight: 300; }
.section__header p  { color: var(--muted); font-size: 1rem; line-height: 1.8; }

/* ===== VALUES ===== */
.values { background: var(--bg); }

.values__grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    border: 1px solid var(--line-grey);
}

.value {
    background: var(--white);
    padding: 2.8rem 2.2rem;
    border-right: 1px solid var(--line-grey);
    transition: all 0.4s var(--ease);
    position: relative;
}

.value:last-child { border-right: none; }

.value::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.value:hover { background: var(--bg-warm); }
.value:hover::after { transform: scaleX(1); }

.value--clickable { cursor: pointer; }
.value--clickable:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }

.value__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 0.95rem; margin-bottom: 1.4rem; display: block; letter-spacing: 0.05em; }
.value__icon { width: 36px; height: 36px; margin-bottom: 1.2rem; color: var(--charcoal); opacity: 0.7; }
.value h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--charcoal); margin-bottom: 0.8rem; font-weight: 400; }
.value p  { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }

.value__more {
    display: inline-block;
    margin-top: 1.2rem;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    transition: letter-spacing 0.3s;
}

.value--clickable:hover .value__more { letter-spacing: 0.28em; }

/* ===== PRODUCTS GRID ===== */
.products-section { background: var(--bg-warm); }

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

.product-card {
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
    background: var(--bg-stone);
    cursor: pointer;
    transition: transform 0.6s var(--ease);
    text-decoration: none;
    display: block;
}

.product-card:hover { transform: translateY(-8px); box-shadow: 0 24px 64px rgba(0,0,0,0.12); }

.product-card__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.9s var(--ease); }
.product-card:hover .product-card__bg { transform: scale(1.05); }

.product-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,18,16,0.82) 100%); z-index: 2; }

.product-card__content { position: absolute; inset: 0; z-index: 3; padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; }

.product-card__cat { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.5rem; font-family: var(--sans); }
.product-card h3 { font-family: var(--serif); font-size: 1.8rem; color: var(--white); margin-bottom: 0.3rem; font-weight: 300; }
.product-card p  { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: all 0.5s var(--ease); }
.product-card:hover p { max-height: 80px; opacity: 1; margin-bottom: 0.8rem; }

.product-card__arrow {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    z-index: 4;
    transition: all 0.4s var(--ease);
}

.product-card:hover .product-card__arrow { background: var(--gold); color: var(--white); border-color: var(--gold); transform: rotate(-45deg); }

/* ===== ROLLING GALLERY ===== */
.rolling-gallery { background: var(--bg-warm); padding: 2.5rem 0; overflow: hidden; width: 100%; }

.rolling-gallery__track { display: flex; gap: 1.2rem; width: max-content; animation: rollGallery 40s linear infinite; }
.rolling-gallery__track:hover { animation-play-state: paused; }

.rolling-gallery__item { flex-shrink: 0; width: 280px; height: 190px; overflow: hidden; border-radius: 2px; }
.rolling-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.rolling-gallery__item:hover img { transform: scale(1.06); }

/* ===== COMPANY VIDEO ===== */
.video-section { background: var(--bg-stone); padding: 6rem 3rem; }
.video-section .section__header h2 { color: var(--charcoal); }
.video-section .eyebrow { color: var(--gold); }
.video-section .section__header p { color: var(--muted); }

.video-section__player { max-width: 960px; margin: 0 auto; background: #000; border: 1px solid var(--line-grey); box-shadow: 0 24px 80px rgba(0,0,0,0.12); overflow: hidden; }
.video-section__player video { width: 100%; display: block; max-height: 540px; background: #000; object-fit: contain; }

.video-section__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }

/* ===== INSTALLATION VIDEOS ===== */
.install-videos { background: var(--white); padding: 6rem 3rem; border-top: 1px solid var(--line-grey); width: 100%; }
.install-videos .section__header h2 { color: var(--charcoal); font-weight: 300; }
.install-videos .section__header h2 em { color: var(--gold); }
.install-videos .eyebrow { color: var(--gold); }
.install-videos .section__header p { color: var(--muted); }

.install-videos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1100px; margin: 0 auto; width: 100%; }

.install-video-card { background: var(--bg-warm); border: 1px solid var(--line-grey); overflow: hidden; transition: all 0.4s var(--ease); width: 100%; display: block; }
.install-video-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.08); transform: translateY(-4px); }

.install-video-card__player { width: 100%; background: #000; line-height: 0; }
.install-video-card__player video { width: 100%; display: block; max-height: 320px; object-fit: cover; background: #000; }

.install-video-card__info { padding: 1.8rem 2rem 2.2rem; }
.install-video-card__info h4 { font-family: var(--serif); font-size: 1.4rem; color: var(--charcoal); font-weight: 300; margin: 0.9rem 0 0.6rem; }
.install-video-card__info p  { font-size: 0.9rem; color: var(--muted); line-height: 1.75; margin: 0; }

/* ===== PROCESS ===== */
.process { background: var(--charcoal); color: var(--white); }
.process .section__header h2 { color: var(--white); font-weight: 300; }
.process .section__header h2 em { color: var(--gold-light); }
.process .section__header p { color: rgba(255,255,255,0.55); }

.process__steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; position: relative; }
.process__steps::before { content: ''; position: absolute; top: 32px; left: 14%; right: 14%; height: 1px; background: rgba(184,150,46,0.25); }

.step { text-align: center; }
.step__num { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(184,150,46,0.4); color: var(--gold-light); font-family: var(--serif); font-size: 1.3rem; font-style: italic; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; position: relative; z-index: 2; background: var(--charcoal); transition: all 0.4s var(--ease); }
.step:hover .step__num { background: var(--gold); color: var(--white); border-color: var(--gold); transform: scale(1.08); }
.step h4 { font-family: var(--serif); font-size: 1.15rem; color: var(--white); margin-bottom: 0.6rem; font-weight: 400; }
.step p  { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.65; padding: 0 0.5rem; }

/* ===== TESTIMONIAL ===== */
.testimonial { background: var(--bg-warm); padding: 7rem 3rem; }
.testimonial__inner { max-width: 800px; margin: 0 auto; text-align: center; }
.testimonial__mark { font-family: var(--serif); font-size: 6rem; color: var(--gold-light); line-height: 0.6; margin-bottom: 2rem; display: block; font-weight: 300; }
.testimonial blockquote { font-family: var(--serif); font-size: clamp(1.4rem,2.5vw,2.1rem); line-height: 1.4; color: var(--charcoal); margin-bottom: 2rem; font-weight: 300; font-style: italic; }
.testimonial cite { font-style: normal; font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-family: var(--sans); }

/* ===== CTA BANNER ===== */
.cta-banner { background: var(--charcoal); padding: 5.5rem 3rem; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -40%; right: -5%; width: 50%; height: 180%; background: radial-gradient(ellipse, rgba(184,150,46,0.08), transparent 60%); }

.cta-banner__inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }

.cta-banner h2 { font-size: clamp(2rem,3.5vw,3.2rem); color: var(--white); font-weight: 300; }
.cta-banner h2 em { color: var(--gold-light); }
.cta-banner p { color: rgba(255,255,255,0.6); margin-top: 0.8rem; font-size: 0.95rem; }
.cta-banner__actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

/* ===== PAGE HEADER ===== */
.page-header { background: var(--charcoal); color: var(--white); padding: 11rem 3rem 5.5rem; text-align: center; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 110%, rgba(184,150,46,0.1), transparent 60%); }
.page-header h1 { font-size: clamp(2.8rem,5.5vw,5rem); color: var(--white); margin: 1rem 0 1.2rem; position: relative; font-weight: 300; }
.page-header h1 em { color: var(--gold-light); }
.page-header p { color: rgba(255,255,255,0.65); max-width: 540px; margin: 0 auto; font-size: 1rem; position: relative; line-height: 1.8; }

/* ===== PRODUCT DETAIL ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.product-detail__visual { background-size: cover; background-position: center; min-height: 600px; }
.product-detail__content { padding: 5.5rem 4.5rem; background: var(--white); display: flex; flex-direction: column; justify-content: center; }
.product-detail__content h2 { font-size: clamp(2rem,3vw,3.2rem); color: var(--charcoal); margin: 1rem 0 1.5rem; font-weight: 300; }
.product-detail__content p  { color: var(--muted); line-height: 1.85; margin-bottom: 1.2rem; font-size: 0.95rem; }

.product-hero-image { width: 100%; }
.product-hero-image img { width: 100%; height: 60vh; object-fit: cover; display: block; }

.product-info-below { background: var(--white); padding: 5rem 3rem; text-align: center; }
.product-info-below h2 { font-size: clamp(2rem,3vw,3rem); color: var(--charcoal); margin: 0.8rem auto 1.5rem; font-weight: 300; max-width: 800px; }
.product-info-below p  { color: var(--muted); line-height: 1.85; margin-bottom: 1.2rem; font-size: 1rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.product-info-below > .container > div { display: flex; justify-content: center; }

/* ===== GALLERY ===== */
.gallery { max-width: 1000px; margin: 0 auto; }
.gallery__main { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-stone); margin-bottom: 1rem; border: 1px solid var(--line-grey); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: opacity 0.3s; }

.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 0.8rem; }
.gallery__thumb { aspect-ratio: 4/3; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: all 0.3s var(--ease); opacity: 0.6; }
.gallery__thumb:hover { opacity: 0.9; }
.gallery__thumb--active { border-color: var(--gold); opacity: 1; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.gallery__thumb:hover img { transform: scale(1.05); }

/* ===== LIGHTBOX (arrows) ===== */
.lightbox { max-width: 1000px; margin: 0 auto; }
.lightbox__main { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-stone); border: 1px solid var(--line-grey); margin-bottom: 1rem; }
.lightbox__main img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: opacity 0.25s ease; }

.lightbox__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: rgba(255,255,255,0.92); border: 1px solid var(--line-grey); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--charcoal); transition: all 0.3s var(--ease); z-index: 5; }
.lightbox__arrow:hover { background: var(--gold); color: var(--white); border-color: var(--gold); transform: translateY(-50%) scale(1.08); }
.lightbox__arrow--prev { left: 1rem; }
.lightbox__arrow--next { right: 1rem; }

.lightbox__counter { position: absolute; bottom: 1rem; right: 1rem; background: rgba(20,18,16,0.6); color: var(--white); padding: 0.3rem 0.8rem; font-size: 0.72rem; letter-spacing: 0.1em; font-family: var(--sans); }

.lightbox__thumbs { display: flex; gap: 0.6rem; overflow-x: auto; padding-bottom: 0.5rem; scrollbar-width: thin; scrollbar-color: var(--gold) var(--bg-stone); }
.lightbox__thumbs::-webkit-scrollbar       { height: 4px; }
.lightbox__thumbs::-webkit-scrollbar-track { background: var(--bg-stone); }
.lightbox__thumbs::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.lightbox__thumb { flex-shrink: 0; width: 110px; height: 75px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: all 0.3s var(--ease); opacity: 0.55; }
.lightbox__thumb:hover { opacity: 0.85; }
.lightbox__thumb--active { border-color: var(--gold); opacity: 1; }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease); }
.lightbox__thumb:hover img { transform: scale(1.05); }

/* ===== IMAGE LIGHTBOX POPUP ===== */
.img-lightbox { display: none; position: fixed; inset: 0; background: rgba(20,18,16,0.94); z-index: 9999; align-items: center; justify-content: center; padding: 2rem; backdrop-filter: blur(8px); }
.img-lightbox.open { display: flex; animation: fadeIn 0.3s var(--ease); }

.img-lightbox__box { max-width: 90vw; max-height: 90vh; animation: rise 0.35s var(--ease); text-align: center; }
.img-lightbox__box img { max-width: 100%; max-height: 80vh; width: auto; height: auto; display: block; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }

.img-lightbox__caption { margin-top: 1.2rem; color: var(--white); }
.img-lightbox__caption span { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.3rem; }
.img-lightbox__caption em  { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: rgba(255,255,255,0.9); }

.img-lightbox__close { position: fixed; top: 2rem; right: 2rem; background: none; border: 1px solid rgba(255,255,255,0.3); color: var(--white); width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; z-index: 2; }
.img-lightbox__close:hover { background: var(--gold); border-color: var(--gold); }

/* ===== PRODUCTS FILTER ===== */
.products-filter { background: var(--white); padding: 2rem 3rem; text-align: center; border-bottom: 1px solid var(--line-grey); }

.filter-btn { background: transparent; border: 1px solid var(--line-grey); color: var(--muted); padding: 0.55rem 1.5rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; margin: 0 0.3rem 0.5rem; transition: all 0.3s var(--ease); font-family: var(--sans); font-weight: 400; }
.filter-btn.active, .filter-btn:hover { background: var(--charcoal); color: var(--gold-light); border-color: var(--charcoal); }

/* ===== QUOTE FORM ===== */
.quote-wrap { max-width: 820px; margin: 0 auto; padding: 5rem 3rem; }

.quote-progress { display: flex; align-items: flex-start; margin-bottom: 4rem; }
.quote-progress__step { flex: 1; text-align: center; position: relative; }
.quote-progress__step::after { content: ''; position: absolute; top: 22px; left: 50%; width: 100%; height: 1px; background: var(--line-grey); z-index: 0; }
.quote-progress__step:last-child::after { display: none; }

.step-circle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-grey); background: var(--white); color: var(--muted); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-style: italic; font-size: 1.1rem; margin: 0 auto 0.6rem; position: relative; z-index: 1; transition: all 0.4s var(--ease); }
.quote-progress__step.active .step-circle { border-color: var(--gold); background: var(--gold); color: var(--white); }

.step-label { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.quote-progress__step.active .step-label { color: var(--gold); }

.form-section { display: none; animation: rise 0.5s var(--ease); }
.form-section.active { display: block; }
.form-section h3 { font-family: var(--serif); font-size: 2rem; color: var(--charcoal); margin-bottom: 0.5rem; font-weight: 300; }
.form-section > p { color: var(--muted); margin-bottom: 2rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 2rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field--full { grid-column: 1/-1; }
.form-field label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--charcoal); }
.form-field input, .form-field select, .form-field textarea { padding: 0.9rem 1rem; background: var(--white); border: 1px solid var(--line-grey); color: var(--ink); font-family: var(--sans); font-size: 0.92rem; transition: border-color 0.3s; outline: none; width: 100%; border-radius: 0; appearance: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 120px; }

.field-error { color: #c0392b; font-size: 0.78rem; margin-top: 0.2rem; }
.validation-summary { background: #fde8e8; border-left: 3px solid #c0392b; padding: 1rem 1.2rem; margin-bottom: 1.5rem; color: #c0392b; font-size: 0.88rem; }

.choices-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.8rem; margin-bottom: 2rem; }
.choice-card { border: 1px solid var(--line-grey); padding: 1.1rem 1rem; cursor: pointer; transition: all 0.3s var(--ease); display: flex; align-items: center; gap: 0.7rem; background: var(--white); font-size: 0.85rem; color: var(--charcoal-soft); }
.choice-card:hover { border-color: var(--gold); background: var(--gold-pale); }
.choice-card input[type="checkbox"] { accent-color: var(--gold); width: 15px; height: 15px; flex-shrink: 0; }

.form-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.quote-summary { background: var(--bg-warm); border: 1px solid var(--line-grey); padding: 1.5rem 2rem; margin-bottom: 2rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; max-width: 1200px; margin: 0 auto; padding: 5rem 3rem; }
.contact-info { padding: 3rem 4rem 3rem 0; border-right: 1px solid var(--line-grey); }
.contact-info h2 { font-size: 2rem; color: var(--charcoal); margin: 0.8rem 0 2rem; font-weight: 300; }
.contact-form { padding: 3rem 0 3rem 4rem; }
.contact-form h3 { font-family: var(--serif); font-size: 1.8rem; color: var(--charcoal); margin-bottom: 0.5rem; font-weight: 300; }
.contact-form > p { color: var(--muted); margin-bottom: 2rem; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1.8rem; }
.contact-list li { display: flex; gap: 1.2rem; align-items: flex-start; }
.contact-list__icon { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-list h4 { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 0.4rem; }
.contact-list a, .contact-list p { color: var(--muted); text-decoration: none; font-size: 0.9rem; line-height: 1.65; }
.contact-list a:hover { color: var(--gold); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center; max-width: 1200px; margin: 0 auto; padding: 7rem 3rem; }
.about-visual { position: relative; height: 540px; }
.about-visual__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.about-visual__frame { position: absolute; inset: -18px -18px 18px 18px; border: 1px solid var(--gold-light); pointer-events: none; z-index: -1; }
.about-content h2 { font-size: clamp(2rem,3vw,3rem); color: var(--charcoal); margin: 1rem 0 1.5rem; font-weight: 300; }
.about-content p  { color: var(--muted); line-height: 1.85; margin-bottom: 1.3rem; }

.about-hero-full { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.about-hero-full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.about-hero-full__overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(20,18,16,0.85) 0%, rgba(20,18,16,0.55) 55%, rgba(20,18,16,0.25) 100%); z-index: 1; }
.about-hero-full__content { position: relative; z-index: 2; max-width: 680px; padding: 9rem 3rem 5rem; color: var(--white); }
.about-hero-full__content h1 { font-size: clamp(2.6rem,5.5vw,4.2rem); color: var(--white); font-weight: 300; margin: 1rem 0 1.5rem; line-height: 1.1; }
.about-hero-full__content h1 em { color: var(--gold-light); font-style: italic; }
.about-hero-full__content p { color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 1.3rem; font-size: 1rem; }
.about-hero-full__quote { font-family: var(--serif); font-size: 1.2rem; color: var(--white) !important; font-style: italic; border-left: 3px solid var(--gold); padding-left: 1.2rem; margin-top: 1.5rem !important; }
.about-hero-full__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 4.5rem 3rem 2rem; }
.footer__top { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__brand h4 { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-light); margin-bottom: 0.8rem; font-weight: 400; }
.footer__brand p  { font-size: 0.88rem; line-height: 1.7; max-width: 340px; margin-bottom: 1.5rem; }
.footer__col h5 { font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.3rem; font-weight: 500; }
.footer__col a, .footer__col p { display: block; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; margin-bottom: 0.6rem; line-height: 1.6; transition: color 0.3s; }
.footer__col a:hover { color: var(--gold-light); }
.footer__social { display: flex; gap: 0.8rem; }
.footer__social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: all 0.3s; text-decoration: none; }
.footer__social a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.footer__bottom { max-width: 1280px; margin: 2rem auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.75rem; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ===== ALERTS ===== */
.alert-success { background: #f0faf0; border-left: 3px solid #2e7d32; color: #1b5e20; padding: 1rem 1.4rem; margin-bottom: 1.5rem; font-size: 0.9rem; }

/* ===== WHATSAPP ===== */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 998; width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,0.35); transition: transform 0.3s var(--ease), box-shadow 0.3s; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 10px 32px rgba(37,211,102,0.45); }
.whatsapp-float__tooltip { position: absolute; right: 64px; background: var(--ink); color: var(--white); font-size: 0.75rem; white-space: nowrap; padding: 0.5rem 0.9rem; border: 1px solid rgba(255,255,255,0.1); opacity: 0; pointer-events: none; transition: opacity 0.3s; letter-spacing: 0.05em; }
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

/* ===== INSTALLATIONS SHOWCASE ===== */
.installations { background: var(--white); padding: 7rem 3rem; }

.install-featured {
    display: flex;
    flex-direction: column;
    margin: 0 auto 3rem;
    overflow: visible;           /* never clip content */
    border: 1px solid var(--line-grey);
    max-width: 800px;
}

.install-featured__img {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    max-height: 700px; /* ← keep this for image size control */
    flex-shrink: 0; /* ← prevents image from stealing space from content */
}

.install-featured__img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.install-featured__content {
    padding: 1.2rem 2rem;
    background: var(--bg-warm);
    text-align: center;
    height: auto;                /* always grow with content */
}

.install-featured__content h3 {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin: 0.3rem 0 0.5rem;
    font-weight: 300;
    line-height: 1.15;
}

.install-featured__content p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.78rem;
    margin-bottom: 0.8rem;
}

.install-featured__tags { display: flex; gap: 0.3rem; flex-wrap: wrap; justify-content: center; margin-bottom: 0.8rem; }

.install-tag { background: var(--white); border: 1px solid var(--line-grey); color: var(--charcoal-soft); padding: 0.2rem 0.6rem; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--sans); }

/* ===== INSTALL GRID (masonry variant) ===== */
.install-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 240px; gap: 0.8rem; }
.install-card { position: relative; overflow: hidden; background: var(--bg-stone); cursor: pointer; }
.install-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.7s var(--ease); }
.install-card:hover img { transform: scale(1.06); }
.install-card--tall { grid-row: span 2; }
.install-card--wide { grid-column: span 2; }
.install-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20,18,16,0.75) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem; opacity: 0; transition: opacity 0.4s var(--ease); }
.install-card:hover .install-card__overlay { opacity: 1; }
.install-card__cat { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); font-family: var(--sans); margin-bottom: 0.2rem; }
.install-card__loc { font-size: 0.85rem; color: rgba(255,255,255,0.85); font-family: var(--serif); font-style: italic; }

/* ===== INSTALL GRID (clean uniform variant) ===== */
.install-grid-clean { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.install-tile { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-stone); cursor: pointer; }
.install-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.6s var(--ease); }
.install-tile:hover img { transform: scale(1.08); }
.install-tile__label { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,18,16,0.85) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem 1.1rem; opacity: 0; transition: opacity 0.4s var(--ease); }
.install-tile:hover .install-tile__label { opacity: 1; }
.install-tile__label span { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); font-family: var(--sans); display: block; margin-bottom: 0.15rem; }
.install-tile__label em  { font-size: 0.82rem; color: rgba(255,255,255,0.9); font-family: var(--serif); font-style: italic; display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .values__grid        { grid-template-columns: repeat(2,1fr); }
    .products__grid      { grid-template-columns: repeat(2,1fr); }
    .process__steps      { grid-template-columns: repeat(2,1fr); }
    .footer__top         { grid-template-columns: 1fr 1fr; }
    .product-detail      { grid-template-columns: 1fr; }
    .contact-grid        { grid-template-columns: 1fr; }
    .about-grid          { grid-template-columns: 1fr; gap: 3rem; }
    .cta-banner__inner   { grid-template-columns: 1fr; }
    .install-grid        { grid-template-columns: repeat(2,1fr); }
    .install-card--wide  { grid-column: span 2; }
    .install-card--tall  { grid-row: span 2; }
    .install-grid-clean  { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
    section { padding: 5rem 1.5rem; }
    .nav         { padding: 1rem 1.5rem; }
    .nav.scrolled{ padding: 0.8rem 1.5rem; }
    .values__grid       { grid-template-columns: 1fr; }
    .products__grid     { grid-template-columns: 1fr; }
    .process__steps     { grid-template-columns: 1fr 1fr; }
    .form-grid          { grid-template-columns: 1fr; }
    .choices-grid       { grid-template-columns: 1fr 1fr; }
    .footer__top        { grid-template-columns: 1fr; }
    .hero               { padding: 7rem 1.5rem 5rem; }
    .hero__badge        { bottom: 1.5rem; right: 1.5rem; font-size: 0.85rem; padding: 1rem 1.2rem; }
    .contact-info       { padding: 0 0 2rem; border-right: none; border-bottom: 1px solid var(--line-grey); }
    .contact-form       { padding: 2rem 0 0; }
    .about-visual       { height: 320px; }
    .about-hero-full__content { padding: 7rem 1.5rem 4rem; }
    .product-detail__content  { padding: 3rem 1.5rem; }
    .product-hero-image img   { height: 40vh; }
    .quote-wrap         { padding: 3rem 1.5rem; }
    .whatsapp-float     { bottom: 1.2rem; right: 1.2rem; }
    .video-section      { padding: 4rem 1.5rem; }
    .video-section__player video    { max-height: 240px; }
    .install-videos     { padding: 4rem 1.5rem; }
    .install-videos__grid           { grid-template-columns: 1fr; gap: 1.5rem; }
    .install-video-card__player video { max-height: 220px; }
    .install-video-card__info       { padding: 1.4rem 1.5rem 1.8rem; }
    .install-featured__img          { max-height: 260px; }
    .install-featured__content      { padding: 1.2rem 1.2rem; }
    .install-grid       { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .install-card--wide { grid-column: span 2; }
    .install-card--tall { grid-row: span 1; }
    .install-grid-clean { grid-template-columns: repeat(2,1fr); gap: 0.6rem; }
    .install-tile__label        { opacity: 1; padding: 0.7rem; }
    .install-tile__label span   { font-size: 0.58rem; }
    .install-tile__label em     { font-size: 0.72rem; }
    .rolling-gallery__item      { width: 200px; height: 140px; }
    .rolling-gallery            { padding: 1.8rem 0; }
    .lightbox__arrow    { width: 38px; height: 38px; }
    .lightbox__thumb    { width: 80px; height: 55px; }
    .img-lightbox__close{ top: 1rem; right: 1rem; }
}
