/* =============================================================
   AGENT WEB STUDIO — LUXURY REAL ESTATE UI
   Typography: Plus Jakarta Sans for headings, Inter for body
   Inspired by Luxury Presence - Clean, Premium, Modern
   ============================================================= */

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

:root {
    /* Core palette */
    --emerald:        #0B3B2E;
    --emerald-deep:   #072720;
    --emerald-soft:   #14503F;
    --cream:          #F7F3EA;
    --cream-warm:     #EFE7D6;
    --paper:          #FBF9F4;
    --brass:          #B08A3E;
    --brass-light:    #D4B266;
    --brass-dark:     #8A6B2C;
    --ink:            #0F1A16;
    --ink-soft:       #4A544F;
    --line:           #E4DDCC;
    --white:          #FFFFFF;
    --whatsapp:       #25D366;
    --whatsapp-dark:  #1DA851;

    /* Aliases kept for backwards compat with JS/inline styles */
    --navy: var(--emerald);
    --navy-light: var(--emerald-soft);
    --gold: var(--brass);
    --gold-light: var(--brass-light);
    --gold-dark: var(--brass-dark);
    --light-grey: var(--cream);
    --grey: var(--line);
    --dark-grey: var(--ink-soft);

    --shadow-xs: 0 1px 2px rgba(11, 59, 46, 0.06);
    --shadow-sm: 0 4px 14px rgba(11, 59, 46, 0.08);
    --shadow:    0 12px 40px rgba(11, 59, 46, 0.10);
    --shadow-lg: 0 24px 70px rgba(11, 59, 46, 0.18);
    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;
    --ease:      cubic-bezier(0.22, 1, 0.36, 1);
    --transition: all 0.35s var(--ease);
}

html { scroll-behavior: smooth; }

/* ============================================================
   TYPOGRAPHY SYSTEM - Premium Luxury Real Estate
   Plus Jakarta Sans: Headings | Inter: Everything else
   ============================================================ */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--brass); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--brass-dark); }

/* ---------- Headings (Plus Jakarta Sans) ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--emerald-deep);
}

h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h4 {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h5 {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h6 {
    font-size: clamp(0.9rem, 1vw, 1rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink-soft);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Gold Text (Plus Jakarta Sans) ---------- */
.gold-text {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: var(--brass);
    font-style: italic;
    letter-spacing: -0.02em;
}

/* ============================================================
   PRELOADER
   ============================================================ */

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

#preloader-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    position: relative;
    z-index: 9999;
}

#preloader-image.slide-up {
    transform: translateY(-100vh);
    opacity: 0;
}

#preloader.hide {
    display: none;
}

/* ================ BUTTONS ================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    border: 1.5px solid transparent;
    border-radius: 100px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    min-width: 170px;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.25) 50%, transparent 80%);
    transform: translateX(-100%);
    transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
    background: var(--emerald);
    color: var(--cream);
    box-shadow: 0 10px 28px rgba(11, 59, 46, 0.25);
}
.btn-primary:hover {
    background: var(--emerald-deep);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(11, 59, 46, 0.35);
}

.btn-gold, .btn-secondary {
    background: linear-gradient(135deg, var(--brass-light), var(--brass));
    color: var(--emerald-deep);
    box-shadow: 0 10px 28px rgba(176, 138, 62, 0.28);
}
.btn-gold:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(176, 138, 62, 0.4);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-3px); }

.btn-outline {
    background: transparent;
    color: var(--emerald);
    border-color: var(--emerald);
}
.btn-outline:hover { background: var(--emerald); color: var(--cream); }

/* ================ HEADER / NAV ================ */
#main-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(251, 249, 244, 0.85);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: var(--transition);
}
#main-header.scrolled {
    background: rgba(251, 249, 244, 0.98);
    box-shadow: var(--shadow-sm);
}
nav .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px; padding-bottom: 14px;
}
.nav-links-wrapper {
    display: flex; align-items: center; gap: 40px; flex: 1;
    justify-content: space-between;
}
.nav-menu {
    list-style: none;
    display: flex; align-items: center; gap: 30px;
}
.nav-menu a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    position: relative;
    padding: 8px 0;
}
.nav-menu a::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 1.5px;
    background: var(--brass);
    transition: width .35s var(--ease);
}
.nav-menu a:hover { color: var(--emerald); }
.nav-menu a:hover::after { width: 100%; }

/* ================ LOGO ================ */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 0;
    border: none;
    padding: 0;
    background: transparent;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--emerald-deep);
    letter-spacing: -0.02em;
}

.logo-sub {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brass);
    margin-top: 1px;
}

#main-header:not(.scrolled) .logo-main {
    color: var(--cream);
}

#main-header:not(.scrolled) .logo-sub {
    color: var(--brass-light);
}

.mobile-logo {
    display: none;
}

.mobile-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mobile-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 0;
    border: none;
    padding: 0;
    background: transparent;
}

.mobile-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.mobile-logo-main {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: var(--cream);
    letter-spacing: -0.02em;
}

.mobile-logo-sub {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 8px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brass-light);
    margin-top: 1px;
}

#main-header.scrolled .mobile-logo-main {
    color: var(--emerald-deep);
}

#main-header.scrolled .mobile-logo-sub {
    color: var(--brass);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================ SECTIONS ================ */
.section { display: none; padding: 80px 0; }
.section.active { display: block; animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.section-header {
    display: flex; justify-content: space-between; align-items: end;
    margin-bottom: 40px; gap: 20px; flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.section-header h2 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}
.view-all {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brass);
    display: inline-flex;
    gap: 8px;
}
.view-all:hover { color: var(--emerald); gap: 14px; }

/* ================ HERO ================ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex; align-items: center;
    background:
        radial-gradient(1200px 600px at 80% 20%, rgba(176,138,62,0.15), transparent 60%),
        radial-gradient(900px 500px at 15% 90%, rgba(11,59,46,0.10), transparent 60%),
        linear-gradient(160deg, var(--paper) 0%, var(--cream) 100%);
    overflow: hidden;
    padding: 100px 0 80px;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--emerald) 1px, transparent 1px),
        linear-gradient(90deg, var(--emerald) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.025;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-badge { margin-bottom: 28px; }
.rerna-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px;
    background: rgba(11, 59, 46, 0.05);
    border: 1px solid rgba(11, 59, 46, 0.15);
    border-radius: 100px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald);
}
.rerna-badge strong {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: var(--brass);
    letter-spacing: 0.02em;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-bottom: 24px;
}
.hero-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--ink-soft);
    max-width: 620px;
    margin-bottom: 44px;
    line-height: 1.6;
}
.hero-buttons {
    display: flex; gap: 16px; flex-wrap: wrap;
}

/* Inner hero banners */
.listings-hero, .offplan-hero, .about-hero, .contact-hero,
.communities-hero, .goldenvisa-hero, .blog-hero, .valuation-hero {
    background: linear-gradient(rgba(10,22,40,0.75), rgba(10,22,40,0.85)),
        url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 132px 0 82px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: pageHeroZoom 12s ease-out forwards;
}

.listings-hero {
    background: linear-gradient(rgba(10,22,40,0.75), rgba(10,22,40,0.85)),
        url('https://pub-c00e374a716c45d1a147adbb02bbd1be.r2.dev/Pages/Properties.webp') center/cover no-repeat !important;
}
.offplan-hero {
    background: linear-gradient(rgba(10,22,40,0.75), rgba(10,22,40,0.85)),
        url('https://pub-c00e374a716c45d1a147adbb02bbd1be.r2.dev/Pages/Off-plan.webp') center/cover no-repeat !important;
}
.communities-hero {
    background: linear-gradient(rgba(10,22,40,0.75), rgba(10,22,40,0.85)),
        url('https://pub-c00e374a716c45d1a147adbb02bbd1be.r2.dev/Pages/Community.webp') center/cover no-repeat !important;
}
.about-hero {
    background: linear-gradient(rgba(10,22,40,0.75), rgba(10,22,40,0.85)),
        url('https://pub-c00e374a716c45d1a147adbb02bbd1be.r2.dev/Pages/About%20Page.webp') center/cover no-repeat !important;
}
.contact-hero {
    background: linear-gradient(rgba(10,22,40,0.75), rgba(10,22,40,0.85)),
        url('https://pub-c00e374a716c45d1a147adbb02bbd1be.r2.dev/Pages/Contact%20us.webp') center/cover no-repeat !important;
}
.valuation-hero {
    background: linear-gradient(rgba(10,22,40,0.75), rgba(10,22,40,0.85)),
        url('https://pub-c00e374a716c45d1a147adbb02bbd1be.r2.dev/Pages/Valuation.webp') center/cover no-repeat !important;
}
.goldenvisa-hero {
    background: linear-gradient(rgba(10,22,40,0.8), rgba(10,22,40,0.9)),
        url('https://pub-c00e374a716c45d1a147adbb02bbd1be.r2.dev/Pages/Golden%20Visa.webp') center/cover no-repeat !important;
}
.blog-hero {
    background: linear-gradient(rgba(10,22,40,0.75), rgba(10,22,40,0.85)),
        url('https://pub-c00e374a716c45d1a147adbb02bbd1be.r2.dev/Pages/Blog.webp') center/cover no-repeat !important;
}

@keyframes pageHeroZoom {
    from { background-size: 110% auto; }
    to   { background-size: 100% auto; }
}

.listings-hero h1, .offplan-hero h1, .about-hero h1, .contact-hero h1,
.communities-hero h1, .goldenvisa-hero h1, .blog-hero h1, .valuation-hero h1 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    color: var(--cream);
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}
.listings-hero p, .offplan-hero p, .about-hero p, .contact-hero p,
.communities-hero p, .goldenvisa-hero p, .blog-hero p, .valuation-hero p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: rgba(247, 243, 234, 0.75);
    font-size: 1.1rem;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

/* ================ FEATURED / GRIDS ================ */
.featured-section { padding: 80px 0; }

.listings-grid, .offplan-grid, .communities-grid, .sales-grid, .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

/* ================ PROPERTY CARD ================ */
.property-card, .listing-card, .offplan-card, .community-card, .sale-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: var(--transition);
    position: relative;
    display: flex; flex-direction: column;
    height: 100%;
}
.property-card:hover, .listing-card:hover, .offplan-card:hover,
.community-card:hover, .sale-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(176, 138, 62, 0.4);
}

/* ---- Image box ---- */
.property-image, .listing-card-image, .offplan-image, .offplan-card-image,
.community-image, .sale-image {
    position: relative;
    aspect-ratio: 4/3;
    width: 100%;
    overflow: hidden;
    background: var(--cream-warm);
}
.property-image img, .listing-card-image img, .offplan-image img,
.offplan-card-image img, .community-image img, .sale-image img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .8s var(--ease);
}
.property-card:hover .property-image img,
.listing-card:hover .listing-card-image img,
.offplan-card:hover .offplan-image img,
.offplan-card:hover .offplan-card-image img,
.community-card:hover .community-image img { transform: scale(1.08); }

/* ---- Badges ---- */
.listing-card-badges {
    position: absolute; top: 14px; left: 14px; right: 14px;
    display: flex; gap: 8px; flex-wrap: wrap;
    pointer-events: none;
    z-index: 2;
}
.property-badge, .property-status, .status-badge, .badge {
    display: inline-block;
    padding: 6px 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    white-space: nowrap;
    z-index: 2;
}
.badge-featured { background: var(--brass); color: var(--emerald-deep); }
.status-badge.sold, .badge-status { background: var(--ink); color: var(--cream); }
.status-badge.for-rent, .badge-type { background: var(--emerald); color: var(--cream); }

/* ---- Body ---- */
.property-info, .offplan-info, .community-info, .sale-info,
.property-content, .offplan-content, .community-content,
.listing-card-body, .offplan-card-body {
    padding: 24px 24px 26px;
    display: flex; flex-direction: column; gap: 10px;
    flex: 1 1 auto;
}
.property-info h3, .offplan-info h3, .community-info h3, .sale-info h3,
.property-title, .offplan-title, .community-title,
.listing-card-body h3, .offplan-card-body h3 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--emerald-deep);
    margin: 0 0 4px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}
.property-location, .property-community, .offplan-card-developer {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: var(--ink-soft);
    display: flex; align-items: center; gap: 6px;
    letter-spacing: 0.02em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.property-location::before { content: '📍'; }

.property-price, .offplan-price, .sale-price,
.listing-card-price, .offplan-card-price {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--brass-dark);
    margin: 8px 0 4px;
    letter-spacing: -0.02em;
}
.property-price sub { font-size: 12px; color: var(--ink-soft); font-weight: 400; }

.property-meta, .property-details, .listing-card-details {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: var(--ink-soft);
}
.property-meta span, .property-details span, .listing-card-details span {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 500;
    white-space: nowrap;
}

.offplan-card-details {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* ---- Action row ---- */
.property-actions, .listing-card-actions, .offplan-card-actions,
.community-actions {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-top: auto;
    padding-top: 6px;
}
.listing-card-actions .btn, .offplan-card-actions .btn,
.community-actions .btn { flex: 1 1 auto; }

.btn-sm {
    padding: 11px 20px;
    min-width: 0;
    font-size: 12px;
}

/* ================ FILTER BAR ================ */
.filter-bar {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    box-shadow: var(--shadow-sm);
}
.filter-bar select, .filter-bar input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--ink);
    transition: var(--transition);
    appearance: none;
}
.filter-bar select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230B3B2E' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.filter-bar select:focus, .filter-bar input:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: 0 0 0 4px rgba(176,138,62,0.12);
}

/* ================ ABOUT / SNIPPET ================ */
.about-snippet {
    padding: 90px 0;
    margin: 40px 0;
    background: linear-gradient(135deg, var(--emerald-deep) 0%, var(--emerald) 100%);
    border-radius: var(--radius-lg);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.about-snippet::before {
    content: '';
    position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(176,138,62,0.2), transparent 70%);
    pointer-events: none;
}
.about-snippet-content {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 60px;
    max-width: 1120px; margin: 0 auto;
}
.about-snippet-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    border: 4px solid var(--brass);
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.about-snippet-text h2 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.about-snippet-text p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: rgba(247,243,234,0.8);
    margin-bottom: 28px;
    font-size: 1.05rem;
    line-height: 1.6;
}
.about-snippet-text .stats {
    display: flex; gap: 40px; margin-bottom: 32px; flex-wrap: wrap;
}
.about-snippet-text .stats div {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    color: rgba(247,243,234,0.8);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.about-snippet-text .stats span {
    display: block;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--brass-light);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

/* ================ ABOUT FULL PAGE ================ */
.about-full { padding: 80px 0; }
.about-full-image img {
    width: 100%; aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
}
.about-full-text { padding: 20px 0; }
.about-ctas { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.rerna-badge-large {
    display: inline-block;
    padding: 12px 24px;
    background: var(--cream-warm);
    color: var(--emerald);
    border-radius: 100px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 20px;
}
.languages {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    color: var(--brass-dark);
    margin-top: 12px;
}

/* ================ PORTALS ================ */
.portal-section { padding: 70px 0; text-align: center; }
.portal-section h2 { margin-bottom: 30px; }
.portal-buttons {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.portal-btn {
    padding: 18px 40px;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    color: var(--emerald);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.portal-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--brass);
    color: var(--brass-dark);
}

/* ================ ROI CALCULATOR ================ */
.roi-calculator-section {
    padding: 80px 0;
    text-align: center;
}
.roi-calculator-section p { margin-bottom: 32px; }
.calculator {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    text-align: left;
}
.calc-group { margin-bottom: 20px; }
.calc-group label {
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 8px;
}
.calc-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--ink);
    transition: var(--transition);
}
.calc-group input:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: 0 0 0 4px rgba(176,138,62,0.15);
}
.calc-results {
    margin-top: 24px;
    padding: 24px;
    background: var(--cream-warm);
    border-radius: var(--radius);
    border-left: 4px solid var(--brass);
    display: none;
}
.calc-results.show { display: block; }
.calc-results h4 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: var(--emerald-deep);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.calc-results p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    margin: 6px 0;
    color: var(--ink);
}
.calc-results strong {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: var(--brass-dark);
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

/* ================ GOLDEN VISA ================ */
.goldenvisa-highlight {
    background:
        linear-gradient(135deg, rgba(11,59,46,0.95), rgba(7,39,32,0.95)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath fill='%23B08A3E' fill-opacity='0.15' d='M30 30l15-15v30zm0 0L15 15v30z'/%3E%3C/svg%3E");
    padding: 90px 40px;
    border-radius: var(--radius-lg);
    color: var(--cream);
    text-align: center;
    margin: 60px 0;
}
.goldenvisa-highlight h2 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: var(--brass-light);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.gv-highlight-content p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: rgba(247,243,234,0.85);
    max-width: 640px; margin: 0 auto 32px;
    font-size: 1.1rem;
    line-height: 1.6;
}
.gv-intro, .gv-benefits, .gv-requirements, .gv-process, .gv-faq, .gv-form { padding: 60px 0; }
.gv-lead {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 1.15rem;
    max-width: 780px;
    margin: 0 auto 20px;
    text-align: center;
}

.benefits-section { padding: 80px 0; }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.benefit-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    text-align: center;
    transition: var(--transition);
}
.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--brass);
}
.benefit-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--cream-warm), var(--cream));
    border-radius: 50%;
    color: var(--brass-dark);
    font-size: 26px;
}
.benefit-card h3 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.benefit-card p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}

.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.process-steps > div, .process-step {
    background: var(--white); padding: 28px;
    border-radius: var(--radius); border: 1px solid var(--line);
    position: relative; counter-increment: step;
}

/* ================ FAQ ================ */
.faq-container { max-width: 820px; margin: 40px auto 0; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.open { border-color: var(--brass); box-shadow: var(--shadow-sm); }
.faq-question {
    padding: 22px 26px;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    color: var(--emerald-deep);
    font-size: 1.02rem;
}
.faq-question::after {
    content: '+';
    color: var(--brass);
    font-size: 24px;
    transition: transform .3s var(--ease);
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    padding: 0 26px;
    transition: max-height .4s var(--ease), padding .4s var(--ease);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: var(--ink-soft);
    line-height: 1.6;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 26px 22px; }

/* ================ CONTACT ================ */
.contact-tabs { display: flex; gap: 12px; justify-content: center; margin: 40px 0 30px; flex-wrap: wrap; }
.contact-tabs .tab-btn {
    padding: 12px 26px; border-radius: 100px;
    background: transparent; border: 1.5px solid var(--line);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    color: var(--ink-soft); cursor: pointer;
    transition: var(--transition);
}
.contact-tabs .tab-btn.active,
.contact-tabs .tab-btn:hover { background: var(--emerald); color: var(--cream); border-color: var(--emerald); }

.contact-form, .gv-form form {
    max-width: 720px; margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: var(--ink);
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--brass);
    box-shadow: 0 0 0 4px rgba(176,138,62,0.12);
    background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.office-info, .map-container {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    margin-top: 24px;
}
.office-info p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
}
.map-container { padding: 0; overflow: hidden; }
.map-container iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ================ WHATSAPP SECTION ================ */
.whatsapp-contact {
    padding: 70px 40px; text-align: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-warm) 100%);
    border-radius: var(--radius-lg);
    margin: 60px 0;
}
.whatsapp-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.float-whatsapp {
    position: fixed; bottom: 28px; right: 28px;
    width: 60px; height: 60px;
    background: var(--whatsapp); color: var(--white);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 28px;
    box-shadow: 0 12px 30px rgba(37,211,102,0.4);
    z-index: 90;
    transition: var(--transition);
    animation: pulse 2.5s infinite;
}
.float-whatsapp:hover { transform: scale(1.1); }
@keyframes pulse {
    0%, 100% { box-shadow: 0 12px 30px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
    50% { box-shadow: 0 12px 30px rgba(37,211,102,0.4), 0 0 0 16px rgba(37,211,102,0); }
}

/* ================ RENTAL INDEX / RECENT SALES ================ */
.rental-index-grid, .recent-sales {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.rental-index-grid > div {
    background: var(--white); padding: 24px;
    border-radius: var(--radius); border: 1px solid var(--line);
    transition: var(--transition);
}
.rental-index-grid > div:hover { border-color: var(--brass); transform: translateY(-3px); }

/* ================ BLOG ================ */

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(176, 138, 62, 0.4);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--cream-warm);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    border-radius: 100px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 2;
}

.blog-badge.featured {
    background: var(--brass);
    color: var(--emerald-deep);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.blog-card-body {
    padding: 24px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: var(--ink-soft);
}

.blog-category {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 100px;
    background: var(--cream-warm);
    color: var(--emerald);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-date {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: var(--ink-soft);
}

.blog-card-title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--emerald-deep);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.blog-card-excerpt {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.blog-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.blog-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 10px;
    color: var(--ink-soft);
}

/* Blog Detail */
.blog-detail {
    padding: 40px 0;
    max-width: 820px;
    margin: 0 auto;
}

.blog-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
}

.blog-detail-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.blog-detail-header {
    margin-bottom: 30px;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--ink-soft);
}

.blog-detail-meta .blog-author {
    font-weight: 600;
    color: var(--emerald);
}

.blog-detail-meta .blog-views {
    color: var(--ink-soft);
}

.blog-detail-title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--emerald-deep);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 12px 0;
}

.blog-detail-excerpt {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--ink-soft);
    line-height: 1.6;
    border-left: 3px solid var(--brass);
    padding-left: 20px;
}

.blog-detail-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink);
}

.blog-detail-body p {
    margin-bottom: 20px;
}

.blog-detail-body h2,
.blog-detail-body h3,
.blog-detail-body h4 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.blog-detail-body ul,
.blog-detail-body ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.blog-detail-body li {
    margin-bottom: 8px;
}

.blog-detail-body blockquote {
    border-left: 4px solid var(--brass);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--cream-warm);
    border-radius: var(--radius-sm);
    font-style: italic;
}

.blog-detail-tags {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.blog-detail-tags h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--emerald-deep);
}

/* Share Buttons */
.blog-detail-share {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.blog-detail-share h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--emerald-deep);
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.share-btn.twitter { background: #1DA1F2; }
.share-btn.facebook { background: #1877F2; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.whatsapp { background: #25D366; }

/* ================ COMMUNITY CARD ================ */

.community-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.community-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(176, 138, 62, 0.4);
}

.community-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--cream-warm);
}

.community-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.community-card:hover .community-card-image img {
    transform: scale(1.08);
}

.community-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    border-radius: 100px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 2;
    background: var(--brass);
    color: var(--emerald-deep);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.community-card-body {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.community-card-body h3 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--emerald-deep);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.community-type {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: var(--brass);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.community-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    color: var(--ink-soft);
    padding: 8px 0;
}

.community-prices strong {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    color: var(--emerald-deep);
}

.community-lifestyle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0;
}

.community-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0;
}

.highlight-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--cream-warm);
    border-radius: 100px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: var(--ink-soft);
}

.community-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 10px;
}

.community-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* ================ FOOTER ================ */
footer {
    background: var(--emerald-deep);
    color: rgba(247,243,234,0.75);
    padding: 80px 0 30px;
    margin-top: 80px;
    position: relative;
}
footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--brass), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer-brand h3 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}
.footer-brand p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: rgba(247,243,234,0.65);
    max-width: 320px;
    line-height: 1.6;
}
.footer-links h4, .footer-contact h4 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}
.footer-links h4::after, .footer-contact h4::after, .footer-brand h3::after {
    content: '';
    display: block; width: 40px; height: 2px;
    background: var(--brass); margin-top: 10px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    color: rgba(247,243,234,0.7);
    font-size: 14px;
    letter-spacing: 0.02em;
}
.footer-links a:hover { color: var(--brass-light); padding-left: 6px; }
.footer-contact p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: rgba(247,243,234,0.7);
    margin-bottom: 10px;
    font-size: 14px;
}
.social-icons { display: flex; gap: 14px; margin-top: 20px; }
.social-icons a {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    background: rgba(247,243,234,0.08);
    border: 1px solid rgba(247,243,234,0.12);
    border-radius: 50%; color: var(--cream);
}
.social-icons a:hover { background: var(--brass); color: var(--emerald-deep); border-color: var(--brass); }
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(247,243,234,0.1);
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: rgba(247,243,234,0.5);
}

/* ================ TOAST ================ */
#toast-container {
    position: fixed; top: 24px; right: 24px;
    display: flex; flex-direction: column; gap: 10px;
    z-index: 9999;
}
.toast {
    padding: 14px 22px;
    background: var(--emerald-deep); color: var(--cream);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--brass);
    animation: slideIn .3s var(--ease);
    max-width: 340px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
}
.toast.success { border-left-color: #34D399; }
.toast.error { border-left-color: #F87171; }
.toast.fadeout { opacity: 0; transition: opacity .3s; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ================ SKELETON LOADERS ================ */
.skeleton {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}
.skeleton-image, .skeleton-line {
    background: linear-gradient(90deg, var(--cream-warm) 0%, var(--cream) 50%, var(--cream-warm) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: var(--radius-sm);
}
.skeleton-image { aspect-ratio: 4/3; border-radius: 0; }
.skeleton-content { padding: 24px; }
.skeleton-line { height: 14px; margin-bottom: 12px; }
.skeleton-line.short { width: 60%; }
.skeleton-line.medium { width: 80%; }
@keyframes shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

/* ================ MODAL / LIGHTBOX ================ */
.lightbox, .property-modal {
    position: fixed; inset: 0;
    background: rgba(15, 26, 22, 0.85);
    backdrop-filter: blur(6px);
    z-index: 999;
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.lightbox.open, .property-modal.open { display: flex; }

/* ================ LISTING DETAIL PAGE ================ */

#listing-detail {
    padding: 40px 0 80px;
}

.listing-detail-page {
    max-width: 1000px;
    margin: 0 auto;
}

.listing-detail-gallery {
    margin-bottom: 40px;
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-main {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--cream-warm);
    overflow: hidden;
}

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

.gallery-main img:hover {
    transform: scale(1.02);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.gallery-thumbs .thumb {
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-thumbs .thumb:hover {
    border-color: var(--brass);
    transform: scale(1.03);
}

.listing-detail-page-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.listing-detail-page-title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--emerald-deep);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.listing-detail-page-price {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--brass-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.listing-detail-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: var(--ink-soft);
}

.listing-detail-page-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.listing-detail-page-meta i {
    color: var(--brass);
    width: 16px;
}

.listing-detail-page-body {
    display: grid;
    gap: 40px;
}

.listing-detail-page-description h3,
.listing-detail-page-features h3,
.listing-detail-page-specs h3 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--emerald-deep);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.listing-detail-page-description p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--cream-warm);
    border-radius: var(--radius-sm);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: var(--ink);
}

.feature-tag i {
    color: var(--brass);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    background: var(--paper);
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}

.spec-item span {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
}

.spec-item strong {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--emerald-deep);
    margin-top: 4px;
    letter-spacing: -0.01em;
}

.listing-detail-page-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    margin-top: 12px;
}

.listing-detail-page-actions .btn {
    flex: 1;
    min-width: 160px;
}

/* ================ LISTING DETAIL MOBILE ================ */

@media (max-width: 768px) {
    .listing-detail-gallery .gallery-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
    
    .listing-detail-page-meta {
        font-size: 12px;
        gap: 10px 16px;
    }
    
    .listing-detail-page-price {
        font-size: 1.6rem;
    }
    
    .features-grid,
    .specs-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .listing-detail-page-actions {
        flex-direction: column;
    }
    
    .listing-detail-page-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .features-grid,
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

/* ================ RESPONSIVE ================ */
@media (max-width: 1024px) {
    .about-snippet-content { grid-template-columns: 1fr; text-align: center; padding: 0 30px; }
    .about-snippet-image { max-width: 300px; margin: 0 auto; }
    .about-snippet-text .stats { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links-wrapper {
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: var(--paper);
        flex-direction: column;
        padding: 30px 24px 40px;
        gap: 24px;
        transform: translateY(-120%);
        transition: transform .35s var(--ease);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    .nav-links-wrapper.active { transform: translateY(0); }
    .nav-menu { flex-direction: column; gap: 18px; width: 100%; align-items: center; }
    .nav-menu a { font-size: 15px; }

    .mobile-logo {
        display: block !important;
    }
    .mobile-logo img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .logo {
        display: none !important;
    }

    .section { padding: 50px 0; }
    .featured-section { padding: 50px 0; }
    .hero { min-height: auto; padding: 70px 0 60px; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { width: 100%; }

    .hero-title {
        font-size: clamp(2.8rem, 8vw, 3.5rem) !important;
    }
    h1 {
        font-size: clamp(2.2rem, 7vw, 3rem) !important;
    }
    h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
    }
    h3 {
        font-size: clamp(1.3rem, 4vw, 1.8rem) !important;
    }
    body {
        font-size: 0.95rem !important;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
    .nav-menu a {
        font-size: 0.9rem !important;
    }

    .listings-hero, .offplan-hero, .about-hero, .contact-hero,
    .communities-hero, .goldenvisa-hero, .blog-hero, .valuation-hero {
        min-height: 100svh;
        padding: 108px 0 54px;
    }

    .listings-grid, .offplan-grid, .communities-grid, .sales-grid, .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }

    .about-snippet { padding: 60px 0; border-radius: var(--radius); }
    .about-snippet-content { padding: 0 24px; gap: 30px; }
    .about-snippet-text .stats { gap: 24px; }
    .about-snippet-text .stats span { font-size: 1.8rem; }

    .filter-bar { grid-template-columns: 1fr; padding: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .calculator, .contact-form { padding: 26px; }

    .footer-grid { grid-template-columns: 1fr; gap: 34px; text-align: center; }
    .footer-links h4::after, .footer-contact h4::after,
    .footer-brand h3::after { margin-left: auto; margin-right: auto; }
    .footer-brand p { margin: 0 auto; }
    .social-icons { justify-content: center; }

    .whatsapp-buttons { flex-direction: column; }
    .whatsapp-buttons .btn { width: 100%; }
    .portal-buttons { flex-direction: column; align-items: stretch; }

    .goldenvisa-highlight { padding: 60px 24px; margin: 40px 0; }

    .float-whatsapp { width: 54px; height: 54px; font-size: 24px; bottom: 20px; right: 20px; }

    .btn { padding: 14px 26px; font-size: 13px; min-width: 0; }

    /* Blog Responsive */
    .blog-detail {
        padding: 20px 0;
    }
    .blog-detail-meta {
        font-size: 12px;
        gap: 10px;
    }
    .blog-card-body {
        padding: 18px;
    }
    .blog-detail-body {
        font-size: 0.95rem;
    }
    .blog-detail-image img {
        max-height: 300px;
    }
    .blog-card-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .blog-card-footer .btn {
        width: 100%;
        justify-content: center;
    }
    .share-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    
    .hero-title {
        font-size: clamp(2.2rem, 10vw, 2.8rem) !important;
    }
    h1 {
        font-size: clamp(1.8rem, 8vw, 2.2rem) !important;
    }
    h2 {
        font-size: clamp(1.5rem, 6vw, 1.8rem) !important;
    }
    body {
        font-size: 0.9rem !important;
    }
    
    .property-info, .offplan-info, .community-info { padding: 20px; }
    .property-price { font-size: 1.35rem; }
    .mobile-logo img {
        width: 34px;
        height: 34px;
    }
    .blog-card-title {
        font-size: 1.1rem;
    }
    .blog-card-excerpt {
        font-size: 13px;
    }
    .blog-detail-title {
        font-size: 1.3rem;
    }
    .blog-detail-body {
        font-size: 0.9rem;
    }
}

/* ============================================================
   SAFE FIX PACK — restore hero images + transparent header
   ============================================================ */

#main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(247,243,234,0.16) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#main-header .nav-menu a,
#main-header .logo-main { color: var(--cream) !important; }
#main-header .logo-sub { color: var(--brass-light) !important; }
#main-header .nav-menu a:hover { color: var(--brass-light) !important; }
#main-header .hamburger span { background: var(--cream) !important; }

#main-header.scrolled {
    background: rgba(251,249,244,0.98) !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: var(--shadow-sm) !important;
    backdrop-filter: saturate(160%) blur(14px) !important;
    -webkit-backdrop-filter: saturate(160%) blur(14px) !important;
}
#main-header.scrolled .nav-menu a,
#main-header.scrolled .logo-main { color: var(--ink) !important; }
#main-header.scrolled .logo-sub { color: var(--brass) !important; }
#main-header.scrolled .nav-menu a:hover { color: var(--emerald) !important; }
#main-header.scrolled .hamburger span { background: var(--emerald-deep) !important; }

#home.section { padding-top: 0 !important; }
#listings.section,
#offplan.section,
#communities.section,
#blog.section,
#about.section,
#contact.section,
#valuation.section,
#goldenvisa.section { padding-top: 0 !important; }

.hero {
    min-height: 100vh !important;
    padding: 132px 0 82px !important;
    position: relative !important;
    overflow: hidden !important;
    background:
        linear-gradient(90deg, rgba(7,39,32,0.76) 0%, rgba(7,39,32,0.52) 48%, rgba(7,39,32,0.22) 100%),
        url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=82') center/cover no-repeat !important;
}

.hero::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    opacity: 0.12 !important;
    pointer-events: none !important;
    background-image:
        linear-gradient(rgba(247,243,234,0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247,243,234,0.22) 1px, transparent 1px) !important;
    background-size: 82px 82px !important;
    animation: none !important;
}

.hero-slideshow {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
.hero-slideshow::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(7,39,32,0.76) 0%, rgba(7,39,32,0.50) 48%, rgba(7,39,32,0.20) 100%);
}
.hero-slide {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0;
    transform: scale(1.04);
    animation: heroFade 10s infinite ease-in-out;
    will-change: opacity, transform;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 2s; }
.hero-slide:nth-child(3) { animation-delay: 4s; }
.hero-slide:nth-child(4) { animation-delay: 6s; }
.hero-slide:nth-child(5) { animation-delay: 8s; }
@keyframes heroFade {
    0%   { opacity: 0; transform: scale(1.05); }
    6%   { opacity: 1; }
    22%  { opacity: 1; transform: scale(1.10); }
    30%  { opacity: 0; }
    100% { opacity: 0; transform: scale(1.05); }
}

.hero-content {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
}
.hero-title,
.hero-subtitle { color: var(--cream) !important; }
.hero-title .gold-text { color: var(--brass-light) !important; }
.hero-badge .rerna-badge {
    background: rgba(247,243,234,0.16) !important;
    border-color: rgba(247,243,234,0.38) !important;
    color: var(--cream) !important;
    backdrop-filter: blur(8px);
}

@media (max-width: 900px) {
    #main-header nav .nav-container {
        min-height: 64px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        justify-content: flex-end !important;
    }

    #main-header::after {
        display: none !important;
        content: none !important;
    }

    #main-header .hamburger {
        display: flex !important;
        position: relative !important;
        z-index: 1003 !important;
        width: 42px !important;
        height: 42px !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    #main-header .nav-links-wrapper {
        position: fixed !important;
        top: 64px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 1001 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        padding: 24px 20px 44px !important;
        background: transparent !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        transform: translateX(-100%) !important;
        transition: transform 0.34s var(--ease) !important;
        overflow-y: auto !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }
    #main-header .nav-links-wrapper.active { transform: translateX(0) !important; }
    #main-header.scrolled .nav-links-wrapper {
        background: rgba(251,249,244,0.98) !important;
        backdrop-filter: blur(14px) saturate(160%) !important;
        -webkit-backdrop-filter: blur(14px) saturate(160%) !important;
    }
    #main-header .nav-menu {
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    #main-header .nav-menu a {
        display: block !important;
        padding: 14px 16px !important;
        border-radius: 12px !important;
        color: var(--cream) !important;
        background: rgba(247,243,234,0.06) !important;
        border: 1px solid rgba(247,243,234,0.10) !important;
        text-align: left !important;
        font-size: 14px !important;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
        font-weight: 500 !important;
        letter-spacing: 0.04em !important;
        text-transform: uppercase !important;
    }
    #main-header.scrolled .nav-menu a {
        color: var(--emerald-deep) !important;
        background: rgba(11,59,46,0.05) !important;
        border-color: rgba(11,59,46,0.12) !important;
    }

    .hero {
        min-height: 100svh !important;
        padding: 108px 0 54px !important;
        align-items: center !important;
        background-position: center !important;
    }
    .hero-slideshow::after {
        background: linear-gradient(180deg, rgba(7,39,32,0.70) 0%, rgba(7,39,32,0.60) 48%, rgba(7,39,32,0.40) 100%) !important;
    }
    .hero-title { font-size: clamp(2.8rem, 8vw, 3.5rem) !important; }
    .hero-subtitle { font-size: 1rem !important; line-height: 1.55 !important; margin-bottom: 28px !important; }
    .hero-buttons { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; }
    .hero-buttons .btn { width: 100% !important; }
}
