/* ==========================================================
   EJO PROPERTIES — PREMIUM REVAMP OVERRIDES
   Add this file AFTER your existing style.css:
   <link rel="stylesheet" href="assets/css/premium-revamp.css">
   ========================================================== */

:root {
    --ejo-ivory: #f4efe8;
    --ejo-ivory-soft: #fbf8f3;
    --ejo-charcoal: #111111;
    --ejo-charcoal-soft: #3f3d3a;
    --ejo-rosegold: #d3a188;
    --ejo-burnished: #a87a5d;
    --ejo-taupe: #e5d9cb;
    --ejo-taupe-dark: #c4ae9a;
    --section-pad-y: 8.75rem;
}

body {
    background:
        radial-gradient(circle at 12% 0%, rgba(211,161,136,0.08), transparent 32rem),
        linear-gradient(180deg, #fbf8f3 0%, #f1ebe2 100%);
    color: var(--ejo-charcoal);
}

/* Glossy black header matching footer */
.site-header {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 18%, rgba(0,0,0,0) 38%),
        linear-gradient(180deg, #060606 0%, #151515 50%, #050505 100%);
    border-bottom: 1px solid rgba(211,161,136,0.32);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 14px 38px rgba(0,0,0,0.38);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 88px;
    padding: 1.15rem 0;
}

.logo img {
    max-height: 52px;
    width: auto;
    filter:
        drop-shadow(0 0 12px rgba(211,161,136,0.35))
        drop-shadow(0 8px 20px rgba(0,0,0,0.25));
}

.main-nav a {
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.13em;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.42rem;
    width: 0;
    height: 1px;
    background: var(--ejo-rosegold);
    transition: width .28s ease;
}

.main-nav a:hover::after { width: 100%; }

.site-header .btn {
    height: 54px;
    padding: 0 2rem;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
}

.site-header .btn-outline,
.nav-cta .btn-outline {
    background: rgba(255,255,255,0.02);
    color: #ffffff;
    border-color: rgba(255,255,255,0.58);
}

.site-header .btn-outline:hover,
.nav-cta .btn-outline:hover {
    background: #ffffff;
    color: #0b0b0b;
}

.site-header .btn-primary,
.nav-cta .btn-primary {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)),
        linear-gradient(180deg, #242424 0%, #070707 100%);
    border: 1px solid rgba(211,161,136,0.25);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Full cinematic hero */
.hero {
    width: 100%;
    min-height: calc(100vh - 88px);
    padding: 0;
    display: flex;
    align-items: center;
    isolation: isolate;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 24%;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.35));
    pointer-events: none;
}

.hero-media,
.hero-media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media-img {
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
    filter: saturate(0.92) contrast(1.08) brightness(0.82);
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hero-overlay {
    z-index: 1;
    background:
        radial-gradient(circle at 18% 45%, rgba(0,0,0,0.2), transparent 25rem),
        linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.56) 42%, rgba(0,0,0,0.20) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.46) 100%);
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-overlay-content {
    max-width: 760px;
    margin-left: 0;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero-badge {
    border: 1px solid rgba(211,161,136,0.72);
    background: rgba(8,8,8,0.34);
    color: rgba(255,255,255,0.94);
    padding: 0.72rem 1.2rem;
    letter-spacing: 0.22em;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: clamp(3.4rem, 7vw, 7.25rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
    max-width: 760px;
    text-shadow: 0 14px 45px rgba(0,0,0,0.55);
}

.hero h1 em {
    color: var(--ejo-rosegold);
    text-shadow: 0 10px 28px rgba(211,161,136,0.22);
}

.hero-sub {
    max-width: 610px;
    font-size: clamp(1.05rem, 1.25vw, 1.25rem);
    line-height: 1.85;
    color: rgba(255,255,255,0.9);
}

.hero-cta-row {
    gap: 1rem;
    margin-bottom: 3.6rem;
}

.hero-stats {
    gap: 4.2rem;
    padding-top: 1rem;
}

.hero-stat-num {
    font-size: clamp(3rem, 5vw, 5.2rem);
    color: var(--ejo-rosegold);
    text-shadow: 0 8px 26px rgba(0,0,0,0.45);
}

.hero-stat-label {
    color: rgba(255,255,255,0.78);
    letter-spacing: 0.22em;
}

/* Buttons */
.btn {
    height: 64px;
    padding: 0 2.6rem;
    border-radius: 0;
    letter-spacing: 0.18em;
    box-shadow: none;
}

.btn-primary {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)),
        linear-gradient(180deg, #202020 0%, #070707 100%);
    border: 1px solid rgba(255,255,255,0.14);
}

.btn-primary:hover {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)),
        linear-gradient(180deg, #2c2c2c 0%, #0d0d0d 100%);
}

.btn-gold,
.btn-whatsapp {
    background: linear-gradient(180deg, #d9aa91 0%, #c48d72 100%);
    color: #111111;
    box-shadow: 0 16px 34px rgba(168,122,93,0.22);
}

.btn-outline-light {
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    border-color: rgba(255,255,255,0.72);
    backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #111111;
}

/* Sections */
section {
    padding-top: var(--section-pad-y);
    padding-bottom: var(--section-pad-y);
}

.section-header-center {
    margin-bottom: 4.5rem;
}

.section-header-center p {
    color: var(--ejo-charcoal-soft);
    margin-top: 1rem;
    font-size: 1.02rem;
    line-height: 1.85;
}

.section-alt {
    background:
        radial-gradient(circle at 85% 10%, rgba(211,161,136,0.12), transparent 28rem),
        linear-gradient(180deg, #fbf8f3 0%, #f1ebe2 100%);
}

/* Trust strip */
.trust-strip {
    background: #fbf8f3;
    border-top: 1px solid rgba(211,161,136,0.16);
    border-bottom: 1px solid rgba(211,161,136,0.18);
}

.trust-item {
    letter-spacing: 0.12em;
}

/* Cards and grids */
.property-grid {
    gap: 3rem;
}

.property-card,
.feature-card,
.form-card,
.property-summary-card {
    border: 1px solid rgba(211,161,136,0.24);
    background: rgba(255,255,255,0.74);
    box-shadow: 0 18px 52px rgba(26,26,26,0.06);
}

.property-card {
    backdrop-filter: blur(8px);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(26,26,26,0.14);
}

.property-card-image {
    aspect-ratio: 16 / 11;
}

.property-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.24));
    pointer-events: none;
}

.property-card-image img,
.two-col-visual img,
.editorial-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card-tag {
    z-index: 2;
    background: rgba(8,8,8,0.72);
    color: #ffffff;
    border: 1px solid rgba(211,161,136,0.45);
    backdrop-filter: blur(6px);
}

.property-card-body {
    padding: 2rem;
}

.property-card-title {
    font-size: 1.58rem;
}

.property-card-link {
    border-color: rgba(17,17,17,0.85);
    letter-spacing: 0.13em;
    padding: 1rem;
}

.feature-card {
    padding: 3rem 2.35rem;
}

.feature-icon {
    background: rgba(211,161,136,0.18);
    border: 1px solid rgba(211,161,136,0.35);
}

.two-col {
    gap: 5rem;
}

.two-col-visual {
    border-radius: 0;
    box-shadow: 0 28px 70px rgba(26,26,26,0.12);
    border: 1px solid rgba(211,161,136,0.24);
}

/* Glossy black sections */
.site-footer,
.stat-bar,
.lead-form-section {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 22%, rgba(0,0,0,0) 42%),
        linear-gradient(180deg, #080808 0%, #171717 52%, #050505 100%);
}

.stat-num {
    font-size: clamp(3rem, 5vw, 5.5rem);
}

.stat-label {
    letter-spacing: 0.14em;
}

/* Tables and process */
.table-wrap {
    border-color: rgba(211,161,136,0.28);
    box-shadow: 0 18px 48px rgba(26,26,26,0.06);
    background: rgba(255,255,255,0.72);
}

table.portfolio-table th {
    background: #111111;
    color: #f4efe8;
}

.process-step {
    border-bottom-color: rgba(211,161,136,0.25);
}

.process-num {
    color: var(--ejo-rosegold);
}

/* Floating WhatsApp */
.float-whatsapp {
    background: linear-gradient(180deg, #d9aa91 0%, #c48d72 100%);
    box-shadow: 0 20px 46px rgba(168,122,93,0.45);
}

/* Mobile polish */
@media (max-width: 968px) {
    .header-inner {
        min-height: 74px;
    }

    .hero {
        min-height: 82vh;
    }

    .hero-overlay-content {
        max-width: 92%;
    }

    .property-grid {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    :root {
        --section-pad-y: 5.5rem;
    }

    .container {
        padding: 0 1.35rem;
    }

    .site-header {
        background:
            linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)),
            linear-gradient(180deg, #050505 0%, #111111 100%);
    }

    .header-inner {
        min-height: 70px;
        padding: 0.8rem 0;
    }

    .logo img {
        max-height: 42px;
    }

    .hero {
        min-height: 76vh;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.84) 100%);
    }

    .hero-overlay-content {
        padding: 6.6rem 1.35rem 3.8rem;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.62rem;
        letter-spacing: 0.16em;
        line-height: 1.6;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 13.5vw, 4.35rem);
        line-height: 1.02;
    }

    .hero-sub {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .hero-stats {
        gap: 1.8rem;
    }

    .hero-stat-num {
        font-size: 3rem;
    }

    .hero-stat-label {
        font-size: 0.66rem;
        letter-spacing: 0.15em;
    }

    .btn {
        height: 58px;
        width: 100%;
        padding: 0 1.2rem;
        font-size: 0.74rem;
    }

    .feature-card,
    .property-card-body {
        padding: 1.65rem;
    }

    .stat-bar-grid {
        gap: 2rem;
    }

    .mobile-cta-bar {
        background: rgba(244,239,232,0.96);
        backdrop-filter: blur(10px);
    }
}





/* HERO READABILITY FIX */
.hero-overlay {
    background:
        linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.58) 42%, rgba(0,0,0,0.22) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.62) 100%);
}

.hero-overlay-content {
    max-width: 620px;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 5.2rem);
    line-height: 1.02;
    max-width: 620px;
}

.hero-sub {
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.75;
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: clamp(2.4rem, 11vw, 3.5rem);
        line-height: 1.05;
    }

    .hero-overlay-content {
        max-width: 100%;
    }

    .hero-sub {
        font-size: 0.95rem;
    }
}



/* FINAL HERO POLISH — added after review */

.hero {
    min-height: 100vh;
}

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.65) 0%,
            rgba(0,0,0,0.35) 50%,
            rgba(0,0,0,0.15) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,0.20) 0%,
            rgba(0,0,0,0.38) 100%
        );
}

.hero-stats {
    display: flex;
    gap: 80px;
    align-items: flex-end;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .hero {
        min-height: 85vh;
    }

    .hero-overlay-content {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .hero-stats {
        gap: 2rem;
    }
}