/* ═══════════════════════════════════════════════════════════════════════════
   COMPONENTS — Nav, Footer, Cards, Floating bar, Popup
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── NAV ─────────────────────────────────────────────────────────────────── */
.nav-shell {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid rgba(13, 59, 46, 0.08);
    transition: box-shadow var(--t-base), background var(--t-base);
}
/* Mobile drawer covers the full viewport — no backdrop pseudo needed.
   Previously a fixed `::before` with z-index:-1 painted a dark layer that, per
   CSS stacking rules, sat OVER the .nav-list white background and tinted the
   drawer gray. Removed to keep the panel solid white. */

/* Hide floating elements while drawer or popup is open to prevent overlap */
body:has(.nav-list.is-open) .floating-bar,
body:has(.nav-list.is-open) .floating-enquiry,
body:has(.popup-overlay:not([hidden])) .floating-bar,
body:has(.popup-overlay:not([hidden])) .floating-enquiry {
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms var(--ease-out);
}
.nav-shell.is-scrolled {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 6px 30px rgba(10, 31, 28, 0.06);
}

.nav-strip {
    background: var(--grad-dark);
    color: rgba(255,255,255,0.78);
    font-size: var(--fs-xs);
    letter-spacing: 0.04em;
}
.nav-strip-inner {
    max-width: var(--maxw); margin-inline: auto;
    padding: 8px var(--space-6);
    display: flex; justify-content: flex-end; gap: var(--space-6);
    flex-wrap: wrap;
}
.nav-strip-item { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.78); }
.nav-strip-item:hover { color: var(--eco-glow); }
.nav-strip-item a { color: inherit; }
.nav-strip-cin { color: var(--eco-glow); font-weight: 600; letter-spacing: 0.12em; }
/* nav-strip mobile hide handled in responsive.css */

.nav-main { position: relative; }
.nav-inner {
    max-width: var(--maxw); margin-inline: auto;
    padding: var(--space-3) var(--space-6);
    display: flex; align-items: center; gap: var(--space-5);
    min-height: var(--nav-h);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}
.nav-brand img {
    width: auto;
    height: 70px;
    max-height: 70px;
    object-fit: contain;
    transition: transform var(--t-base) var(--ease-out);
}
.nav-brand:hover img { transform: scale(1.04); }

.nav-list {
    display: flex; align-items: center; gap: 2px;
    margin-left: auto;
    list-style: none;
    flex-wrap: nowrap;
}
.nav-link {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--slate-700);
    border-radius: var(--r-md);
    transition: all var(--t-fast) var(--ease-out);
    position: relative;
    white-space: nowrap;
    line-height: 1;
}
.nav-link:hover { color: var(--eco-deep); }
.nav-link.is-active {
    color: var(--eco-deep); font-weight: 600;
}
.nav-link.is-active::after {
    content: ''; position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 2px; background: var(--grad-emerald); border-radius: 2px;
}

.nav-has-dropdown { position: relative; }
.nav-dropdown-btn { background: transparent; cursor: pointer; }
.nav-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 240px;
    background: var(--pure);
    border-radius: var(--r-md);
    padding: var(--space-2);
    box-shadow: 0 18px 50px rgba(10,31,28,0.14), 0 0 0 1px rgba(13,59,46,0.05);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all var(--t-base) var(--ease-out);
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown,
.nav-has-dropdown.is-open .nav-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
    display: block; padding: 10px 14px;
    font-size: 0.92rem; font-weight: 500;
    color: var(--slate-700); border-radius: var(--r-sm);
    transition: all var(--t-fast);
}
.nav-dropdown a:hover { background: var(--eco-fog); color: var(--eco-deep); }

.nav-cta-wrap { margin-left: var(--space-2); }
.nav-cta-wrap .btn { white-space: nowrap; }
.nav-cta-wrap .btn-sm { padding: 0.65rem 1rem; font-size: 0.7rem; }

/* ─── LANGUAGE SWITCHER ──────────────────────────────────────────────────── */
.nav-lang { margin-left: var(--space-2); }
.nav-lang-btn {
    display: inline-flex !important;
    align-items: center; gap: 6px;
    padding: 8px 12px !important;
    background: var(--eco-fog);
    border: 1px solid rgba(21,128,61,0.18);
    border-radius: var(--r-pill) !important;
    font-size: 0.78rem !important;
    font-weight: 700;
    color: var(--eco-deep) !important;
    letter-spacing: 0.04em;
    transition: all var(--t-fast);
}
.nav-lang-btn:hover { background: var(--eco-primary); color: var(--pure) !important; border-color: var(--eco-primary); }
.nav-lang-btn:hover svg { color: var(--pure); }
.nav-lang-btn svg:first-child { color: var(--eco-primary); }
.nav-lang-btn:hover svg:first-child { color: var(--pure); }
.nav-lang-current { letter-spacing: 0.08em; font-size: 0.8rem; }

.nav-lang-dropdown {
    min-width: 200px;
    right: 0; left: auto;
}
.nav-lang-dropdown a {
    display: flex !important;
    align-items: center;
    gap: var(--space-3);
    padding: 10px 14px !important;
    font-size: var(--fs-sm);
}
.nav-lang-dropdown a:hover { background: var(--eco-fog); }
.nav-lang-dropdown a.is-active { background: var(--eco-fog); color: var(--eco-deep); font-weight: 600; }
.nav-lang-code {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--pure);
    color: var(--eco-primary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border: 1px solid rgba(21,128,61,0.10);
    flex-shrink: 0;
}
.nav-lang-dropdown a.is-active .nav-lang-code { background: var(--eco-primary); color: var(--pure); border-color: var(--eco-primary); }
.nav-lang-native {
    flex: 1;
    color: var(--slate-700);
    font-weight: 500;
}
.nav-lang-dropdown a.is-active .nav-lang-native { color: var(--eco-deep); font-weight: 600; }

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    background: var(--eco-deep);
    color: var(--pure);
    flex-shrink: 0;
    position: relative;
    z-index: 102;
    transition: background var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { background: var(--eco-corporate); }
.nav-toggle:active { transform: scale(0.94); }
.nav-toggle[aria-expanded="true"] {
    background: var(--pure);
    color: var(--eco-deep);
    box-shadow: 0 6px 20px rgba(10,31,28,0.18);
}
.nav-toggle-icon {
    position: relative;
    width: 22px;
    height: 16px;
    display: inline-block;
}
.nav-toggle-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform-origin: center;
    transition:
        top 0.28s var(--ease-out) 0.18s,
        opacity 0.18s ease 0.18s,
        width 0.28s var(--ease-out) 0.18s,
        transform 0.28s var(--ease-out) 0s;
}
.nav-toggle-icon span:nth-child(1) { top: 0;    width: 80%; }
.nav-toggle-icon span:nth-child(2) { top: 7px;  width: 100%; }
.nav-toggle-icon span:nth-child(3) { top: 14px; width: 60%; }
.nav-toggle:hover .nav-toggle-icon span:nth-child(1),
.nav-toggle:hover .nav-toggle-icon span:nth-child(3) { width: 100%; }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span {
    transition:
        top 0.28s var(--ease-out) 0s,
        opacity 0.18s ease 0s,
        width 0.28s var(--ease-out) 0s,
        transform 0.28s var(--ease-out) 0.18s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
    top: 7px; width: 100%;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
    top: 7px; width: 100%;
    transform: rotate(-45deg);
}

/* By default (desktop) hide drawer-only chrome */
.nav-drawer-head, .nav-drawer-foot, .nav-divider { display: none; }


/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
    position: relative;
    background: var(--grad-dark);
    color: rgba(255,255,255,0.78);
    padding: var(--space-24) 0 var(--space-8);
    overflow: hidden;
}
.footer-glow {
    position: absolute; width: 480px; height: 480px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(120px);
}
.footer-glow-1 { top: -100px; left: -100px; background: rgba(52,211,153,0.10); animation: glow-pulse 12s ease-in-out infinite; }
.footer-glow-2 { bottom: -100px; right: -120px; background: rgba(212,175,55,0.06); animation: glow-pulse 10s ease-in-out infinite reverse; }

.footer-grid {
    position: relative; z-index: 1;
    max-width: var(--maxw); margin-inline: auto;
    padding-inline: var(--space-6);
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: var(--space-12);
}
/* footer-grid responsive handled in responsive.css */

.footer-brand-col .footer-logo img {
    height: 96px;
    width: auto;
    max-width: 100%;
    background: var(--pure);
    padding: 10px 14px;
    border-radius: var(--r-md);
    object-fit: contain;
    margin-bottom: var(--space-5);
}
.footer-tagline {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.65);
    line-height: var(--lh-loose);
    max-width: 320px;
    margin-bottom: var(--space-4);
}
.footer-cin {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: var(--eco-glow);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: var(--space-5);
}

.footer-social { display: flex; gap: var(--space-3); }
.footer-social a {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
    transition: all var(--t-fast) var(--ease-out);
    border: 1px solid rgba(255,255,255,0.08);
}
.footer-social a:hover {
    background: var(--eco-glow); color: var(--ink);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52,211,153,0.30);
}

.footer-heading {
    color: var(--pure);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: var(--space-5);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.65);
    transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer-links a:hover { color: var(--eco-glow); padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-6); }
.footer-contact li { display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-sm); }
.footer-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--eco-glow);
    font-weight: 600;
}
.footer-contact a:hover { color: var(--eco-glow); }

.footer-subscribe {
    position: relative;
    display: flex; align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--r-pill);
    padding: 4px;
}
.footer-subscribe input {
    flex: 1;
    background: transparent; border: 0;
    padding: 10px 16px;
    color: var(--pure);
    font-size: var(--fs-sm);
    outline: none;
}
.footer-subscribe input::placeholder { color: rgba(255,255,255,0.5); }
.footer-subscribe button {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--grad-emerald);
    color: var(--pure);
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform var(--t-fast);
}
.footer-subscribe button:hover { transform: scale(1.05); }
.footer-subscribe .form-msg {
    position: absolute; top: calc(100% + 8px); left: 16px;
    color: var(--eco-glow); font-size: 0.78rem;
}

.footer-bottom {
    position: relative; z-index: 1;
    max-width: var(--maxw); margin-inline: auto;
    margin-top: var(--space-16);
    padding: var(--space-6);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; align-items: center;
    gap: var(--space-4); flex-wrap: wrap;
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.55);
}
.footer-legal { display: flex; gap: var(--space-6); }
.footer-legal a:hover { color: var(--eco-glow); }

/* ─── FLOATING ENQUIRY PILL ───────────────────────────────────────────────── */
.floating-enquiry {
    position: fixed;
    left: 20px; bottom: 24px;
    z-index: 90;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 20px 12px 16px;
    background: var(--grad-emerald);
    color: var(--pure);
    border-radius: var(--r-pill);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 30px rgba(21,128,61,0.35);
    transition: all var(--t-base) var(--ease-out);
    isolation: isolate;
}
.floating-enquiry:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(52,211,153,0.45);
}
.floating-enquiry-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.floating-enquiry-pulse {
    position: absolute; z-index: -1;
    inset: 0;
    border-radius: var(--r-pill);
    border: 2px solid var(--eco-glow);
    opacity: 0;
    animation: pulse-ring 2.4s var(--ease-out) infinite;
}
@keyframes pulse-ring {
    0%   { opacity: 0.7; transform: scale(1); }
    100% { opacity: 0;   transform: scale(1.25); }
}

/* floating-enquiry mobile sizing handled in responsive.css */

/* ─── FLOATING BAR ────────────────────────────────────────────────────────── */
.floating-bar {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: var(--z-floating);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floating-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--pure);
    box-shadow: var(--shadow-lg);
    transition: all var(--t-base) var(--ease-out);
    border: 0; cursor: pointer;
}
.floating-whatsapp { background: #25D366; }
.floating-call     { background: var(--eco-primary); }
.floating-top      { background: var(--ink); opacity: 0; pointer-events: none; transform: translateY(20px); }
.floating-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.floating-btn:hover { transform: translateY(-4px) scale(1.05); }
/* floating-bar mobile sizing handled in responsive.css */

/* ─── POPUP ───────────────────────────────────────────────────────────────── */
.popup-overlay[hidden] {
    display: none !important;
}
.popup-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(10, 31, 28, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    padding: var(--space-4);
    opacity: 1;
    transition: opacity var(--t-base) var(--ease-out);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.popup {
    width: 100%; max-width: 540px;
    background: var(--pure);
    border-radius: var(--r-xl);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    position: relative;
    max-height: 90vh; overflow-y: auto;
    animation: popup-in 0.4s var(--ease-out) both;
}
@keyframes popup-in {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.popup-close {
    position: absolute; top: 14px; right: 18px;
    width: 38px; height: 38px;
    color: var(--slate-500);
    background: var(--slate-100);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--t-fast);
    z-index: 2;
}
.popup-close:hover { background: var(--ink); color: var(--pure); transform: rotate(90deg); }

/* ─── PREMIUM POPUP ──────────────────────────────────────────────────────── */
.popup-premium {
    max-width: 960px;
    padding: 0;
    overflow: hidden;
    border-radius: var(--r-2xl);
}
.popup-premium .popup-close {
    top: 14px; right: 14px;
    background: rgba(255,255,255,0.92);
    color: var(--eco-deep);
    box-shadow: var(--shadow);
    z-index: 5;
}
.popup-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    min-height: 540px;
}
/* popup-grid mobile handled in responsive.css */

/* Left visual */
.popup-visual {
    position: relative;
    background: var(--grad-hero);
    color: var(--pure);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    overflow: hidden;
    isolation: isolate;
    display: flex; align-items: center;
}
.popup-visual::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: var(--grad-mesh);
    opacity: 0.6;
}
.popup-visual-glow {
    position: absolute; z-index: -1;
    width: 320px; height: 320px;
    bottom: -100px; right: -100px;
    background: radial-gradient(circle, rgba(52,211,153,0.40) 0%, transparent 70%);
    filter: blur(40px);
    animation: glow-pulse 8s ease-in-out infinite;
}
.popup-visual-inner { width: 100%; position: relative; z-index: 1; }
.popup-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: var(--space-5);
}
.popup-brand img {
    height: 52px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background: var(--pure);
    padding: 8px 12px;
    border-radius: var(--r-md);
}
.popup-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    background: rgba(52,211,153,0.10);
    border: 1px solid rgba(52,211,153,0.30);
    border-radius: var(--r-pill);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--eco-glow);
    font-weight: 600;
    margin-bottom: var(--space-5);
}
.popup-eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--eco-glow);
    box-shadow: 0 0 12px var(--eco-glow);
    animation: glow-pulse 2.5s ease-in-out infinite;
}
.popup-visual h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.5rem, 2.4vw, 1.85rem);
    color: var(--pure);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-4);
}
.popup-visual h3 em {
    font-style: italic;
    background: linear-gradient(120deg, var(--eco-glow), var(--gold-soft));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.popup-visual p {
    color: rgba(255,255,255,0.72);
    font-size: var(--fs-sm);
    line-height: var(--lh-base);
    margin-bottom: var(--space-5);
}
.popup-benefits {
    list-style: none; padding: 0; margin: 0 0 var(--space-6);
    display: grid; gap: var(--space-3);
}
.popup-benefits li {
    display: flex; align-items: center; gap: var(--space-3);
    font-size: 0.86rem;
    color: rgba(255,255,255,0.85);
}
.popup-benefits li svg {
    flex-shrink: 0;
    width: 22px; height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: rgba(52,211,153,0.15);
    color: var(--eco-glow);
}
.popup-trust {
    margin-top: auto;
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255,255,255,0.10);
    display: flex; flex-direction: column; gap: var(--space-3);
}
.popup-trust-item { display: flex; flex-direction: column; gap: 2px; }
.popup-trust-label {
    font-size: 0.68rem; letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--eco-glow);
    font-weight: 600;
}
.popup-trust-value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--pure);
    font-weight: 500;
    /* Force uniform-height (lining) + evenly-spaced (tabular) digits so the
       phone number reads cleanly instead of Cormorant's default old-style figures. */
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
}
.popup-trust-value-sm {
    font-size: 1.05rem;
    overflow-wrap: anywhere;
}
.popup-trust-value:hover { color: var(--eco-glow); }

/* Right actions */
.popup-actions {
    padding: clamp(1.25rem, 3.5vw, 2.5rem);
    display: flex; flex-direction: column;
    background: var(--pure);
}
.popup-actions-head { margin-bottom: var(--space-5); }
.popup-actions-head h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.4rem, 2.2vw, 1.65rem);
    color: var(--eco-deep);
    margin-bottom: 4px;
}
.popup-actions-head p {
    color: var(--slate-500);
    font-size: var(--fs-sm);
}

.popup-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}
.popup-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: var(--space-4) var(--space-4) var(--space-4);
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-md);
    text-align: left;
    cursor: pointer;
    transition: all var(--t-base) var(--ease-out);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: var(--ink);
}
.popup-cta::after {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background: var(--grad-emerald);
    opacity: 0;
    transition: opacity var(--t-base) var(--ease-out);
}
.popup-cta:hover {
    transform: translateY(-3px);
    border-color: transparent;
    color: var(--pure);
    box-shadow: var(--shadow-glow);
}
.popup-cta:hover::after { opacity: 1; }
.popup-cta:hover .popup-cta-icon { background: rgba(255,255,255,0.20); color: var(--pure); }
.popup-cta:hover .popup-cta-sub { color: rgba(255,255,255,0.85); }
.popup-cta-icon {
    width: 40px; height: 40px;
    border-radius: var(--r-sm);
    background: var(--pure);
    color: var(--eco-primary);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-2);
    box-shadow: var(--shadow-sm);
    transition: all var(--t-base);
}
.popup-cta strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: inherit;
    line-height: 1.1;
}
.popup-cta-sub {
    font-size: 0.74rem;
    color: var(--slate-500);
    transition: color var(--t-base);
}
.popup-cta-gold { background: linear-gradient(135deg, rgba(212,175,55,0.10), rgba(230,200,105,0.06)); border-color: rgba(212,175,55,0.30); }
.popup-cta-gold .popup-cta-icon { color: var(--gold-deep); background: rgba(212,175,55,0.10); }
.popup-cta-gold::after { background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%); }
.popup-cta-gold:hover { box-shadow: var(--shadow-gold); }

.popup-tab {
    animation: fade-up 0.4s var(--ease-out);
}
.popup-tab h5 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.35rem;
    color: var(--eco-deep);
    margin: var(--space-3) 0 var(--space-4);
}
.popup-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--eco-primary);
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: var(--eco-fog);
    transition: all var(--t-fast);
}
.popup-back:hover { background: var(--eco-primary); color: var(--pure); }

.popup-foot {
    margin-top: auto;
    padding-top: var(--space-5);
    display: flex; align-items: center; gap: var(--space-3);
    font-size: 0.76rem;
    color: var(--slate-500);
    border-top: 1px solid var(--slate-200);
    padding-top: var(--space-4);
}
.popup-foot a {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--slate-100);
    color: var(--slate-500);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--t-fast);
}
.popup-foot a:hover { background: var(--eco-primary); color: var(--pure); transform: translateY(-2px); }

/* Mobile popup responsiveness moved to responsive.css */

@keyframes sheet-slide-up {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── CARDS ───────────────────────────────────────────────────────────────── */
.card {
    background: var(--pure);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--slate-100);
    transition: transform 0.5s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.5s var(--ease-out);
    display: flex; flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(21, 128, 61, 0.18);
    box-shadow: var(--shadow-md);
}

.card-media {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--slate-100);
    position: relative;
}
.card-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--t-slow) var(--ease-out);
}
.card:hover .card-media img { transform: scale(1.05); }
.card-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,31,28,0.35) 100%);
}

.card-body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; gap: var(--space-3); }
.card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--eco-fog);
    color: var(--eco-primary);
    border-radius: var(--r-pill);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    align-self: flex-start;
}
.card-title { font-size: var(--fs-lg); color: var(--ink); }
.card-desc { font-size: var(--fs-sm); color: var(--slate-500); line-height: var(--lh-base); }

/* Feature card with icon */
.feature-card {
    background: var(--pure);
    border: 1px solid var(--slate-100);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    transition: transform 0.5s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: var(--grad-emerald);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(21, 128, 61, 0.16);
    box-shadow: var(--shadow-md);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    background: var(--eco-fog);
    color: var(--eco-primary);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-5);
    transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.feature-card:hover .feature-icon {
    background: var(--eco-primary);
    color: var(--pure);
    transform: scale(1.05);
}
.feature-title {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-2);
    color: var(--eco-deep);
    letter-spacing: -0.005em;
}
.feature-desc {
    color: var(--slate-500);
    font-size: var(--fs-sm);
    line-height: var(--lh-base);
}

/* Stat card */
.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--r-lg);
    padding: var(--space-6);
    color: var(--pure);
    text-align: left;
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1;
    color: var(--eco-glow);
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}
.stat-label { font-size: var(--fs-sm); font-weight: 600; color: var(--pure); margin-bottom: 4px; }
.stat-sub   { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
