/* ==========================================================================
   EstateBook Landing v3.1 — Unified Layout & Section Fixes
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;0,800;1,700&display=swap');

:root {
    --eb-primary:    #005f56;
    --eb-accent:     #cdaa56;
    --eb-navy:       #001f3f;
    --eb-canvas:     #f8f6f1;
    --eb-muted:      #5f6b7a;
    --eb-border:     #e4dccb;
    --eb-ease:       cubic-bezier(0.165, 0.84, 0.44, 1);
    --eb-font:       'Inter', sans-serif;
    --eb-serif:      'Playfair Display', serif;
    --pad-x:         clamp(24px, 6vw, 100px);
}

/* ─────────────────────────────────────────────
   Global Reset & Color Defaults
───────────────────────────────────────────── */
*, *::before, *::after { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}
html { 
    scroll-behavior: smooth; 
}

body#home {
    font-family: var(--eb-font) !important;
    background: var(--eb-canvas) !important;
    color: var(--eb-navy) !important;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Force elements within body#home to naturally inherit colors unless overwritten */
body#home p, body#home span, body#home label,
body#home div, body#home li, body#home a, body#home h1, body#home h2, body#home h3, body#home h4 {
    color: inherit;
}

body#home #landing-data { display: none !important; }

/* ─────────────────────────────────────────────
   Keyframes
───────────────────────────────────────────── */
@keyframes navReveal {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes backdropReveal {
    from { opacity: 0; transform: scale(1.04); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.4); }
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(6px); opacity: 0.5; }
}

/* Scroll-reveal utility classes */
.fade-section { opacity: 0; transform: translateY(40px); transition: opacity 0.75s var(--eb-ease), transform 0.75s var(--eb-ease); }
.fade-section.visible { opacity: 1; transform: translateY(0); }
.fade-up   { opacity: 0; transform: translateY(28px); transition: opacity 0.65s var(--eb-ease) var(--delay, 0s), transform 0.65s var(--eb-ease) var(--delay, 0s); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-card { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--eb-ease) var(--card-delay, 0s), transform 0.6s var(--eb-ease) var(--card-delay, 0s); }
.fade-card.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────
   1. Navigation Bar
───────────────────────────────────────────── */
body#home .glass-nav,
body#home nav.glass-nav {
    position: fixed !important;
    top: 0; left: 0; width: 100%;
    padding: 0 var(--pad-x) !important;
    height: 84px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(180deg,
        rgba(0,31,63,0.88) 0%,
        rgba(0,31,63,0.45) 55%,
        rgba(0,31,63,0) 100%) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    z-index: 1000 !important;
    animation: navReveal 1s var(--eb-ease) 0.15s both;
}

body#home .glass-nav::after {
    content: '';
    position: absolute;
    left: var(--pad-x); right: var(--pad-x); bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
    pointer-events: none;
}

body#home .glass-nav .logo {
    font-weight: 700 !important;
    font-size: clamp(0.95rem, 1.5vw, 1.25rem) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.28em !important;
    cursor: pointer;
}
body#home .glass-nav .logo span { color: var(--eb-accent) !important; }

body#home .glass-nav .nav-links {
    display: flex !important;
    align-items: center !important;
    gap: clamp(20px, 2.8vw, 44px) !important;
    list-style: none !important;
    margin: 0 !important; padding: 0 !important;
}
body#home .glass-nav .nav-links li { list-style: none !important; }
body#home .glass-nav .nav-links a {
    position: relative;
    text-decoration: none !important;
    color: rgba(255,255,255,0.88) !important;
    font-size: 0.71rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.22em !important;
    padding: 6px 0 !important;
    background: transparent !important;
    border: none !important;
    transition: color 0.3s var(--eb-ease) !important;
}
body#home .glass-nav .nav-links a::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: var(--eb-accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s var(--eb-ease);
}
body#home .glass-nav .nav-links a:hover { color: var(--eb-accent) !important; }
body#home .glass-nav .nav-links a:hover::after { transform: scaleX(1); }


/* ─────────────────────────────────────────────
   2. Hero Section
───────────────────────────────────────────── */
body#home .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('../img/explore.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    animation: backdropReveal 1.4s var(--eb-ease) both;
}

body#home .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        115deg,
        rgba(0,31,63,0.82) 0%,
        rgba(0,31,63,0.65) 45%,
        rgba(0,20,42,0.35) 100%
    );
    z-index: 1;
}

body#home .hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 2;
    pointer-events: none;
}

body#home .hero-inner {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
    padding: 120px var(--pad-x) 80px;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

body#home .hero-content {
    flex: 0 0 52%;
    max-width: 600px;
}

body#home .hero-content .badge {
    display: inline-block !important;
    color: var(--eb-accent) !important;
    background: transparent !important;
    border: none !important;
    font-size: 0.67rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.38em !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
    animation: fadeUp 1.1s var(--eb-ease) 0.5s both;
}

body#home .hero-content h1 {
    font-family: var(--eb-serif) !important;
    font-size: clamp(2.8rem, 5.5vw, 4.8rem) !important;
    line-height: 1.06 !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    color: #ffffff !important;
    margin-bottom: 24px !important;
    animation: fadeUp 1.15s var(--eb-ease) 0.65s both;
}
body#home .hero-content h1 em {
    font-style: italic;
    background: linear-gradient(135deg, #ffffff 0%, #f2e6c8 50%, var(--eb-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body#home .hero-content p {
    color: rgba(255,255,255,0.82) !important;
    font-size: clamp(0.95rem, 1.4vw, 1.08rem) !important;
    line-height: 1.8 !important;
    font-weight: 400 !important;
    margin-bottom: 36px !important;
    max-width: 480px;
    animation: fadeUp 1.2s var(--eb-ease) 0.8s both;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
    animation: fadeUp 1.2s var(--eb-ease) 0.95s both;
}

.btn-primary-hero {
    display: inline-flex; align-items: center;
    padding: 14px 32px;
    background: var(--eb-accent) !important;
    color: var(--eb-navy) !important;
    border: 1px solid var(--eb-accent);
    border-radius: 2px;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.18em;
    text-decoration: none !important;
    transition: background 0.3s var(--eb-ease), color 0.3s var(--eb-ease), transform 0.3s var(--eb-ease) !important;
}
.btn-primary-hero:hover { background: #ffffff !important; color: var(--eb-navy) !important; transform: translateY(-2px); }

.btn-ghost-hero {
    display: inline-flex; align-items: center;
    padding: 14px 32px;
    background: transparent !important;
    color: rgba(255,255,255,0.88) !important;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 2px;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.18em;
    text-decoration: none !important;
    transition: background 0.3s var(--eb-ease), color 0.3s var(--eb-ease), border-color 0.3s var(--eb-ease) !important;
}
.btn-ghost-hero:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.8);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    animation: fadeUp 1.2s var(--eb-ease) 1.1s both;
}
.stat-item { text-align: left; }
.stat-num {
    display: block;
    font-family: var(--eb-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1;
    margin-bottom: 3px;
}
.stat-label {
    font-size: 0.66rem !important;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.5) !important;
    font-weight: 500 !important;
}
.stat-sep {
    width: 1px; height: 36px;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   Hero Interactive Slide Card
───────────────────────────────────────────── */
body#home .hero-card-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    animation: fadeUp 1.3s var(--eb-ease) 0.75s both;
    position: relative;
}

body#home .hero-card {
    width: 100%;
    max-width: 370px;
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(30px) saturate(1.6) !important;
    -webkit-backdrop-filter: blur(30px) saturate(1.6) !important;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    overflow: hidden;
    box-shadow: 
        0 40px 100px rgba(0, 20, 42, 0.22),
        0 12px 36px rgba(0, 20, 42, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    animation: cardFloat 6s ease-in-out infinite;
    transition: transform 0.4s var(--eb-ease), box-shadow 0.4s var(--eb-ease);
}

body#home .hero-card:hover {
    box-shadow: 
        0 50px 120px rgba(0, 20, 42, 0.28),
        0 16px 44px rgba(0, 20, 42, 0.14);
}

body#home .hero-card-img-wrap {
    position: relative;
    margin: 0;
    height: 240px;
    overflow: hidden;
    background: #001f3f;
}

body#home #main-slide-img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body#home .hero-card:hover #main-slide-img {
    transform: scale(1.03);
}

body#home .card-img-overlay {
    position: absolute; 
    inset: 0;
    background: linear-gradient(to top, rgba(0, 15, 31, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

body#home .card-live-tag {
    position: absolute;
    top: 20px; 
    left: 20px;
    background: rgba(255, 255, 255, 0.90) !important;
    color: var(--eb-navy) !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    padding: 6px 14px;
    border-radius: 30px;
    display: flex; 
    align-items: center; 
    gap: 7px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.live-dot {
    width: 6px; 
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
    animation: livePulse 2s ease-in-out infinite;
}

body#home .hero-card-body { 
    padding: 24px 24px 20px; 
}

body#home .card-prop-row {
    display: flex; 
    justify-content: space-between;
    align-items: flex-start; 
    gap: 16px; 
    margin-bottom: 14px;
}

body#home .card-prop-name {
    font-family: var(--eb-serif);
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--eb-navy) !important;
    line-height: 1.25;
}

body#home .card-prop-loc {
    display: flex; 
    align-items: center; 
    gap: 5px;
    font-size: 0.78rem !important;
    color: var(--eb-muted) !important;
    margin-top: 6px;
}

body#home .card-rate-box { 
    text-align: right; 
    flex-shrink: 0; 
}

body#home .card-rate {
    font-family: var(--eb-font);
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--eb-primary) !important;
    line-height: 1;
}

body#home .card-rate-unit {
    font-size: 0.64rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--eb-muted) !important;
    margin-top: 4px;
}

body#home .card-amenities {
    display: flex; 
    gap: 6px; 
    flex-wrap: wrap;
    margin-bottom: 22px;
}

body#home .card-amenities span {
    font-size: 0.68rem !important;
    font-weight: 500 !important;
    color: #4a5568 !important;
    background: rgba(0, 31, 63, 0.05) !important;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

body#home .card-cta-btn {
    display: block !important;
    width: 100%;
    text-align: center;
    padding: 14px 18px !important;
    background: var(--eb-primary) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 12px;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 95, 86, 0.2);
    transition: 
        background 0.3s var(--eb-ease),
        box-shadow 0.3s var(--eb-ease),
        transform 0.2s var(--eb-ease) !important;
}

body#home .card-cta-btn:hover {
    background: #004d46 !important;
    box-shadow: 0 10px 24px rgba(0, 95, 86, 0.32);
    transform: translateY(-1px);
}

body#home .slide-dots {
    display: flex; 
    justify-content: center; 
    gap: 6px;
    padding: 0px 24px 20px;
    background: transparent;
}

body#home .slide-dot {
    width: 6px; 
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 31, 63, 0.15);
    border: none; 
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s, width 0.3s var(--eb-ease);
}

body#home .slide-dot.active {
    background: var(--eb-primary);
    width: 18px;
    border-radius: 3px;
}

body#home .hero-badge-float {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,31,63,0.72);
    border: 1px solid rgba(205,170,86,0.35);
    color: rgba(255,255,255,0.88) !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    padding: 8px 14px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    letter-spacing: 0.04em;
    margin-left: 10px;
}

body#home .scroll-cue {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    cursor: pointer;
    animation: fadeUp 1s var(--eb-ease) 1.5s both;
}
body#home .scroll-cue span {
    font-size: 0.62rem !important;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5) !important;
    font-weight: 600 !important;
}
body#home .scroll-cue-line {
    width: 1px; height: 36px;
    background: rgba(255,255,255,0.35);
    animation: scrollBounce 1.8s ease-in-out infinite;
}

/* ─────────────────────────────────────────────
   3. Featured Estates
───────────────────────────────────────────── */
body#home .explore-section {
    padding: clamp(90px, 11vw, 140px) var(--pad-x) clamp(70px, 9vw, 110px);
    background: var(--eb-canvas);
}

body#home .section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(52px, 7vw, 88px);
}
body#home .section-header::before {
    content: "ESTATEBOOK COLLECTION";
    display: block;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--eb-primary) !important;
    margin-bottom: 16px;
}
body#home .section-header h2 {
    font-family: var(--eb-serif) !important;
    font-size: clamp(2rem, 4.2vw, 3.1rem) !important;
    font-weight: 800 !important;
    color: var(--eb-navy) !important;
    letter-spacing: -0.03em !important;
    line-height: 1.12 !important;
    margin-bottom: 16px !important;
}
body#home .section-header p {
    color: var(--eb-muted) !important;
    font-size: 1.02rem !important;
    line-height: 1.75 !important;
}

body#home .property-grid-lite {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(24px, 3vw, 40px);
    margin-bottom: clamp(36px, 5vw, 60px);
}

body#home .featured-card {
    display: flex; flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--eb-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,31,63,0.07);
    transition: transform 0.4s var(--eb-ease), box-shadow 0.4s var(--eb-ease), border-color 0.4s var(--eb-ease);
}
body#home .featured-card:hover {
    transform: translateY(-8px);
    border-color: var(--eb-accent);
    box-shadow: 0 24px 60px rgba(0,31,63,0.13);
}

body#home .card-image-wrap {
    width: 100%; height: 240px;
    overflow: hidden; position: relative;
    background: #ece7dc;
}
body#home .featured-card-image {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.65s var(--eb-ease);
}
body#home .featured-card:hover .featured-card-image { transform: scale(1.05); }

body#home .card-pool-ribbon {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0,31,63,0.8);
    color: rgba(255,255,255,0.92) !important;
    font-size: 0.68rem !important; font-weight: 600 !important;
    padding: 4px 10px; border-radius: 20px;
    backdrop-filter: blur(4px);
}

body#home .card-details-box {
    padding: 24px 22px 26px;
    display: flex; flex-direction: column; flex: 1;
}
body#home .featured-card-title {
    font-family: var(--eb-serif) !important;
    font-size: 1.18rem !important; font-weight: 700 !important;
    color: var(--eb-navy) !important; margin-bottom: 6px !important;
    letter-spacing: -0.02em !important;
}
body#home .featured-card-location {
    font-size: 0.83rem !important; color: var(--eb-muted) !important;
    margin-bottom: 12px !important;
}
body#home .card-specs-row {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-bottom: 14px;
}
body#home .card-specs-row span {
    font-size: 0.73rem !important; color: var(--eb-muted) !important;
    background: #f5f0e8; padding: 3px 9px; border-radius: 12px;
}
body#home .featured-card-rate {
    font-family: var(--eb-serif) !important;
    font-size: 1.18rem !important; font-weight: 800 !important;
    color: var(--eb-primary) !important; margin-bottom: 18px !important;
}
body#home .featured-card-rate small {
    font-family: var(--eb-font) !important;
    font-size: 0.75rem !important; font-weight: 400 !important;
    color: var(--eb-muted) !important;
}
body#home a.btn-book-lite {
    margin-top: auto !important;
    display: block !important; width: 100% !important; text-align: center !important;
    text-decoration: none !important;
    padding: 13px 18px !important;
    background: transparent !important;
    color: var(--eb-navy) !important;
    border: 1px solid var(--eb-navy) !important;
    border-radius: 4px !important;
    font-size: 0.71rem !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: 0.16em !important;
    transition: background 0.3s var(--eb-ease), color 0.3s var(--eb-ease) !important;
}
body#home a.btn-book-lite:hover {
    background: var(--eb-navy) !important; color: #ffffff !important;
}

body#home .featured-cta-wrap { text-align: center; }
body#home .featured-cta-link {
    display: inline-flex !important; align-items: center !important;
    text-decoration: none !important;
    color: var(--eb-navy) !important;
    border: 1px solid var(--eb-navy) !important;
    background: transparent !important;
    padding: 15px 40px !important;
    border-radius: 4px !important;
    font-size: 0.71rem !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: 0.2em !important;
    transition: background 0.3s var(--eb-ease), color 0.3s var(--eb-ease) !important;
}
body#home .featured-cta-link:hover {
    background: var(--eb-primary) !important;
    color: #ffffff !important; border-color: var(--eb-primary) !important;
}
body#home .featured-empty {
    grid-column: 1/-1; text-align: center;
    padding: 48px 24px;
    color: var(--eb-muted) !important;
    border: 1px dashed var(--eb-border); border-radius: 8px;
    background: #ffffff;
}

/* ─────────────────────────────────────────────
   4. Mission & Vision
───────────────────────────────────────────── */
body#home .mission-section {
    background: linear-gradient(160deg, #001228 0%, #001f3f 50%, #002a52 100%) !important;
    padding: clamp(90px, 11vw, 140px) var(--pad-x) clamp(80px, 10vw, 120px) !important;
    position: relative;
    overflow: hidden;
    color: #ffffff !important; /* Explicitly sets layout base text to white */
}

body#home .mission-section::before {
    content: '';
    position: absolute; top: -120px; right: -120px;
    width: 520px; height: 520px;
    border-radius: 50%;
    border: 1px solid rgba(205,170,86,0.1);
    pointer-events: none;
}
body#home .mission-section::after {
    content: '';
    position: absolute; bottom: -80px; left: -80px;
    width: 360px; height: 360px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.05);
    pointer-events: none;
}

body#home .mission-inner {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 0 auto;
}

body#home .mission-header {
    text-align: center; margin-bottom: clamp(48px, 7vw, 80px);
}
body#home .mission-eyebrow {
    display: block;
    font-size: 0.67rem !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: 0.38em !important;
    color: var(--eb-accent) !important; margin-bottom: 18px;
}
body#home .mission-header h2 {
    font-family: var(--eb-serif) !important;
    font-size: clamp(2rem, 4.2vw, 3.2rem) !important;
    font-weight: 800 !important; line-height: 1.14 !important;
    color: #ffffff !important; letter-spacing: -0.03em !important;
}

body#home .mission-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 40px);
    margin-bottom: clamp(48px, 7vw, 80px);
}

body#home .mission-card {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 14px !important;
    padding: clamp(28px, 4vw, 48px) !important;
    position: relative;
    overflow: hidden;
    transition: background 0.4s var(--eb-ease), border-color 0.4s var(--eb-ease), transform 0.4s var(--eb-ease) !important;
}
body#home .mission-card:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(0,95,86,0.55) !important;
    transform: translateY(-4px) !important;
}
body#home .mission-card-gold:hover { border-color: rgba(205,170,86,0.55) !important; }

body#home .mission-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 120px; height: 120px;
    background: radial-gradient(circle at top left, rgba(0,95,86,0.18) 0%, transparent 70%);
    pointer-events: none;
}
body#home .mission-card-gold::before {
    background: radial-gradient(circle at top left, rgba(205,170,86,0.16) 0%, transparent 70%);
}

body#home .mission-card-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: rgba(0,95,86,0.18) !important;
    border: 1px solid rgba(0,95,86,0.35) !important;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    color: #4db8ad !important;
}
body#home .mission-card-gold .mission-card-icon {
    background: rgba(205,170,86,0.15) !important;
    border-color: rgba(205,170,86,0.35) !important;
    color: var(--eb-accent) !important;
}

body#home .mission-card-label {
    font-size: 0.64rem !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: 0.28em !important;
    color: #4db8ad !important; margin-bottom: 12px;
}
body#home .mission-card-gold .mission-card-label { color: var(--eb-accent) !important; }

body#home .mission-card h3 {
    font-family: var(--eb-serif) !important;
    font-size: clamp(1.1rem, 1.8vw, 1.45rem) !important;
    font-weight: 700 !important; 
    color: #ffffff !important;
    margin-bottom: 16px !important; line-height: 1.25 !important;
}
body#home .mission-card p {
    font-size: 0.92rem !important; 
    color: rgba(255,255,255,0.62) !important;
    line-height: 1.8 !important; 
    font-weight: 400 !important;
}
body#home .mission-card-line {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,95,86,0.6), transparent);
    border-radius: 0 0 14px 14px;
}
body#home .mission-card-gold .mission-card-line {
    background: linear-gradient(90deg, transparent, rgba(205,170,86,0.5), transparent);
}

body#home .values-strip {
    display: flex !important; align-items: center !important; justify-content: center !important;
    gap: 0 !important; flex-wrap: wrap !important;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 10px !important;
    padding: 24px clamp(20px, 4vw, 48px) !important;
}
body#home .value-item {
    display: flex !important; flex-direction: column !important; align-items: center !important; gap: 8px !important;
    padding: 10px clamp(18px, 3vw, 36px) !important;
    flex: 1 !important; min-width: 90px !important;
}
body#home .value-icon {
    font-size: 0.7rem !important;
    color: var(--eb-accent) !important;
    letter-spacing: 0.1em !important;
}
body#home .value-label {
    font-size: 0.68rem !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: 0.2em !important;
    color: rgba(255,255,255,0.5) !important;
}
body#home .value-sep {
    width: 1px; height: 40px;
    background: rgba(255,255,255,0.1) !important;
    flex-shrink: 0;
    align-self: center;
}

/* ─────────────────────────────────────────────
   5. Footer
───────────────────────────────────────────── */
body#home .main-footer {
    background: #050a10 !important;
    padding: clamp(70px, 9vw, 100px) var(--pad-x) 36px !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    color: #7a8694 !important; /* Base gray footer context */
}
body#home .footer-content {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr !important;
    gap: clamp(36px, 5vw, 72px) !important;
    margin-bottom: clamp(44px, 6vw, 72px) !important;
}
body#home .footer-brand .logo {
    color: #ffffff !important;
    font-weight: 700 !important; text-transform: uppercase !important;
    letter-spacing: 0.28em !important; font-size: 1.05rem !important;
    margin-bottom: 0 !important;
}
body#home .footer-brand .logo span { color: var(--eb-accent) !important; }
body#home .footer-brand p {
    color: #7a8694 !important; margin-top: 20px !important;
    line-height: 1.85 !important; font-size: 0.9rem !important;
    max-width: 400px !important;
}
body#home .footer-links h4, body#home .footer-social h4 {
    font-size: 0.66rem !important; text-transform: uppercase !important;
    letter-spacing: 0.28em !important; color: var(--eb-accent) !important;
    margin-bottom: 24px !important; font-weight: 700 !important;
}
body#home .footer-links a {
    display: block !important; color: #a0aab4 !important;
    text-decoration: none !important; margin-bottom: 12px !important;
    font-size: 0.88rem !important; font-weight: 500 !important;
    transition: color 0.25s var(--eb-ease), padding-left 0.25s var(--eb-ease) !important;
    background: transparent !important; border: none !important;
}
body#home .footer-links a:hover { color: #ffffff !important; padding-left: 4px !important; }

body#home .social-icons { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; }
body#home .social-icons a {
    width: 40px !important; height: 40px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 6px !important;
    color: rgba(255,255,255,0.75) !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    transition: background 0.3s var(--eb-ease), color 0.3s var(--eb-ease), transform 0.3s var(--eb-ease), border-color 0.3s var(--eb-ease) !important;
}
body#home .social-icons a:hover {
    background: var(--eb-accent) !important;
    border-color: var(--eb-accent) !important;
    color: #001f3f !important;
    transform: translateY(-3px) !important;
}
body#home .social-icons a i {
    line-height: 1 !important;
    font-size: 0.95rem !important;
    color: inherit !important;
}
body#home .footer-bottom {
    text-align: center !important; padding-top: 32px !important;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
    color: #4a5568 !important; font-size: 0.76rem !important;
    letter-spacing: 0.06em !important;
}

/* ─────────────────────────────────────────────
   Responsive Viewports
───────────────────────────────────────────── */
@media (max-width: 960px) {
    body#home .hero-inner {
        flex-direction: column;
        padding-top: 110px; padding-bottom: 60px;
        text-align: center;
    }
    body#home .hero-content { flex: none; max-width: 580px; }
    body#home .hero-content h1 br { display: none; }
    body#home .hero-content p { max-width: 100%; }
    .hero-ctas { justify-content: center; }
    .hero-stats { justify-content: center; }
    body#home .hero-card-col { align-items: center; width: 100%; }
    body#home .hero-card { max-width: 400px; width: 100%; animation: none; }
    body#home .scroll-cue { display: none; }
    body#home .mission-cards { grid-template-columns: 1fr; }
    body#home .footer-content { grid-template-columns: 1fr 1fr; }
    body#home .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 640px) {
    body#home .glass-nav { padding: 0 20px !important; height: auto !important; min-height: 68px !important; flex-wrap: wrap !important; row-gap: 8px !important; padding-top: 12px !important; padding-bottom: 12px !important; }
    body#home .glass-nav .nav-links { width: 100% !important; justify-content: flex-end !important; flex-wrap: wrap !important; gap: 12px 16px !important; }
    body#home .hero-inner { padding-top: 100px; }
    body#home .values-strip { flex-direction: column; }
}