/* ══════════════════════════════════════════════
   CICI ASKARI REAL ESTATE — SHARED STYLES
   Lighter luxury theme with warm coastal palette
   ══════════════════════════════════════════════ */

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

:root {
    --bg: #f7f5f2;
    --bg-card: #ffffff;
    --bg-elevated: #faf9f7;
    --bg-dark: #1a1a1a;
    --bg-dark-card: #222;
    --text-primary: #1a1a1a;
    --text-secondary: #555;
    --text-muted: #888;
    --accent: #4a7c9b;
    --accent-hover: #3d6b87;
    --accent-light: rgba(74,124,155,0.1);
    --border: rgba(0,0,0,0.08);
    --border-light: rgba(0,0,0,0.12);
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-height: 80px;
    --transition: cubic-bezier(0.25, 0.1, 0.25, 1);
    --danger: #c0392b;
    --success: #27ae60;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--sans); background: var(--bg); color: var(--text-primary);
    line-height: 1.6; overflow-x: hidden;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

body.high-contrast { --bg: #fff; --bg-card: #fff; --text-primary: #000; --text-secondary: #111; --text-muted: #333; --border: rgba(0,0,0,0.3); }
body.grayscale > *:not(.a11y-trigger):not(.a11y-panel):not(.toast-container) { filter: grayscale(1); }
body.big-cursor, body.big-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Ccircle cx='24' cy='24' r='20' fill='%234a7c9b' opacity='0.5'/%3E%3Ccircle cx='24' cy='24' r='5' fill='%23000'/%3E%3C/svg%3E") 24 24, auto !important; }
body.highlight-links a { outline: 3px solid var(--accent) !important; outline-offset: 2px; }

/* ── PRELOADER ── */
#preloader {
    position: fixed; inset: 0; z-index: 99999; background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader { width: 40px; height: 40px; border: 2px solid var(--border-light); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── HEADER / NAV ── */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--header-height);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(24px, 4vw, 60px);
    background: transparent;
    transition: background 0.4s ease, height 0.3s ease, box-shadow 0.4s ease;
}
header.scrolled {
    background: rgba(247,245,242,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    height: 64px; box-shadow: 0 1px 0 var(--border);
}
header.dark-header { background: transparent; }
header.dark-header.scrolled { background: rgba(26,26,26,0.95); }
/* All pages: white text initially (over dark hero/page-header) */
header .logo-name, header nav a { color: #fff; transition: color 0.3s; }
header .hamburger span { background: #fff; }
/* Scrolled state (inner pages): light bg, dark text */
header.scrolled .logo-name { color: var(--text-primary); }
header.scrolled nav a { color: var(--text-secondary); }
header.scrolled .hamburger span { background: var(--text-primary); }
header.scrolled nav a:hover { color: var(--text-primary); }
header.scrolled nav a.active { color: var(--accent); }
/* Home page scrolled: dark bg, keep white text */
header.dark-header.scrolled .logo-name { color: #fff; }
header.dark-header.scrolled nav a { color: rgba(255,255,255,0.8); }
header.dark-header.scrolled nav a:hover { color: #fff; }
header.dark-header.scrolled nav a.active { color: var(--accent); }
header.dark-header.scrolled .hamburger span { background: #fff; }

.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text-primary); }
.logo-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.logo-text { display: flex; flex-direction: column; gap: 3px; }
.logo-name { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: 1px; transition: color 0.3s; }
.logo-tagline { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); font-weight: 500; line-height: 1; }

nav { display: flex; align-items: center; gap: 32px; }
nav a { text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; position: relative; transition: color 0.3s ease; }
nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--accent); transition: width 0.3s ease; }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--accent); }
nav a.active::after { width: 100%; }

.nav-cta {
    padding: 10px 24px; background: var(--accent); color: #fff !important;
    border-radius: 4px; font-weight: 600; font-size: 12px !important;
    letter-spacing: 1px !important; text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* Mobile menu */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger span { width: 24px; height: 1.5px; transition: all 0.3s ease; display: block; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -4px); }

.mobile-nav {
    display: none; position: fixed; inset: 0; z-index: 999;
    background: rgba(26,26,26,0.98);
    flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a { text-decoration: none; color: #fff; font-family: var(--serif); font-size: 28px; font-weight: 400; opacity: 0; animation: fadeUp 0.5s ease forwards; }
.mobile-nav a:nth-child(1) { animation-delay: 0.05s; }
.mobile-nav a:nth-child(2) { animation-delay: 0.1s; }
.mobile-nav a:nth-child(3) { animation-delay: 0.15s; }
.mobile-nav a:nth-child(4) { animation-delay: 0.2s; }
.mobile-nav a:nth-child(5) { animation-delay: 0.25s; }
.mobile-nav a:nth-child(6) { animation-delay: 0.3s; }
.mobile-nav a:nth-child(7) { animation-delay: 0.35s; }
.mobile-nav a:nth-child(8) { animation-delay: 0.4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── HERO (home page only) ── */
.hero {
    position: relative; height: 100vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg { display: none; }
.hero-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0; filter: brightness(0.85);
}


.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.05) 40%, rgba(10,10,10,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 860px; padding: 0 24px; }
.hero-label {
    display: inline-block; font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--accent); font-weight: 600; margin-bottom: 24px;
    opacity: 0; animation: fadeUp 1s var(--transition) forwards 0.3s;
}
.hero h1 {
    font-family: var(--serif); font-size: clamp(36px, 6vw, 72px); font-weight: 400;
    line-height: 1.1; letter-spacing: -0.5px; margin-bottom: 24px; color: #fff;
    opacity: 0; animation: fadeUp 1s var(--transition) forwards 0.5s;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
    font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,0.8);
    max-width: 600px; margin: 0 auto 40px; line-height: 1.7; font-weight: 300;
    opacity: 0; animation: fadeUp 1s var(--transition) forwards 0.7s;
}
.hero-actions {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    opacity: 0; animation: fadeUp 1s var(--transition) forwards 0.9s;
}
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
    opacity: 0; animation: fadeUpCentered 1s ease forwards 1.4s;
}
.scroll-indicator span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.2); position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--accent); animation: scrollDown 2s ease infinite; }
@keyframes scrollDown { 0% { top: -100%; } 100% { top: 100%; } }
@keyframes fadeUpCentered { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ── PAGE HEADER (for inner pages) ── */
.page-header {
    background: var(--bg-dark); padding: 160px clamp(24px, 5vw, 80px) 80px;
    text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(74,124,155,0.08) 0%, transparent 70%);
}
.page-header .section-label { color: var(--accent); position: relative; }
.page-header h1 {
    font-family: var(--serif); font-size: clamp(32px, 5vw, 56px); font-weight: 400;
    color: #fff; margin-bottom: 16px; position: relative;
}
.page-header p { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 600px; margin: 0 auto; position: relative; line-height: 1.7; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; font-size: 13px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    text-decoration: none; border-radius: 4px;
    transition: all 0.3s ease; cursor: pointer;
    font-family: var(--sans); border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-dark { background: transparent; color: var(--text-primary); border: 1px solid var(--border-light); }
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }

/* ── SECTIONS ── */
section { padding: clamp(80px, 10vw, 120px) clamp(24px, 5vw, 80px); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-label { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; display: block; }
.section-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); font-weight: 400; line-height: 1.2; margin-bottom: 20px; }
.section-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.7; font-weight: 300; }

/* ── ABOUT ── */
#about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 60px; max-width: 1100px; margin: 0 auto; align-items: start; }
.about-image { position: relative; width: 280px; border-radius: 8px; overflow: hidden; background: var(--bg-card); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.about-image img { width: 100%; height: auto; display: block; aspect-ratio: 3/4; object-fit: cover; }
.about-image-accent { position: absolute; bottom: -16px; right: -16px; width: 140px; height: 140px; border: 1px solid var(--accent); border-radius: 8px; opacity: 0.3; z-index: -1; }
.about-content h2 { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 40px); font-weight: 400; margin-bottom: 24px; line-height: 1.2; }
.about-content p { color: var(--text-secondary); font-size: 15px; line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); }
.stat-item h3 { font-family: var(--serif); font-size: 36px; color: var(--accent); font-weight: 400; line-height: 1; }
.stat-item p { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; margin-bottom: 0; }

/* ── SERVICES ── */
#services { background: var(--bg-card); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.service-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 8px; padding: 40px 32px; transition: all 0.4s ease; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.service-card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 48px; height: 48px; margin-bottom: 24px; color: var(--accent); }
.service-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 16px; }
.service-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ── LISTINGS ── */
#listings { background: var(--bg); }
.listings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.listing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all 0.4s ease; }
.listing-card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.listing-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #eee; }
.listing-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.listing-card:hover .listing-image img { transform: scale(1.05); }
.listing-badge { position: absolute; top: 16px; left: 16px; padding: 6px 14px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 4px; color: #fff; }
.badge-active { background: rgba(39,174,96,0.9); }
.badge-pending { background: rgba(74,124,155,0.9); }
.badge-sold { background: rgba(180,60,60,0.85); }
.listing-details { padding: 24px; }
.listing-price { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--accent); margin-bottom: 8px; }
.listing-address { font-size: 15px; color: var(--text-primary); margin-bottom: 4px; font-weight: 500; }
.listing-city { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.listing-specs { display: flex; gap: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.listing-spec { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.listing-spec svg { width: 14px; height: 14px; color: var(--text-muted); }

/* ── MARKET INSIGHTS ── */
#insights { background: var(--bg-card); }
.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.insight-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 8px; padding: 32px; transition: all 0.4s ease; }
.insight-card:hover { border-color: var(--accent); box-shadow: 0 8px 30px rgba(0,0,0,0.04); }
.insight-number { font-family: var(--serif); font-size: 48px; color: var(--accent); font-weight: 400; line-height: 1; margin-bottom: 12px; }
.insight-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.insight-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ── AREAS ── */
#areas { background: var(--bg); }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; max-width: 1200px; margin: 0 auto; }
.area-card { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; }
.area-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.area-card:nth-child(6) { grid-column: span 2; }
.area-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.area-card:hover img { transform: scale(1.06); }
.area-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.85) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; transition: background 0.3s ease; }
.area-card:hover .area-overlay { background: linear-gradient(180deg, transparent 20%, rgba(10,10,10,0.9) 100%); }
.area-name { font-family: var(--serif); font-size: 22px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.area-detail { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--bg-card); position: relative; overflow: hidden; }
.testimonials-container { max-width: 800px; margin: 0 auto; position: relative; }
.testimonial-slide { text-align: center; display: none; animation: fadeIn 0.5s ease; }
.testimonial-slide.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.testimonial-quote { font-family: var(--serif); font-size: clamp(20px, 2.5vw, 28px); font-weight: 400; line-height: 1.6; font-style: italic; margin-bottom: 32px; color: var(--text-primary); }
.testimonial-quote::before { content: '\201C'; display: block; font-size: 64px; color: var(--accent); line-height: 1; margin-bottom: 16px; font-style: normal; }
.testimonial-author { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.testimonial-location { font-size: 13px; color: var(--text-muted); }
.testimonial-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 24px; }
.testimonial-stars svg { width: 18px; height: 18px; color: var(--accent); }
.testimonial-nav { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.testimonial-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-light); border: none; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.testimonial-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ── FAQ ── */
#faq { background: var(--bg); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; cursor: pointer; gap: 16px; background: none; border: none; width: 100%; text-align: left; color: var(--text-primary); font-family: var(--sans); font-size: 16px; font-weight: 500; transition: color 0.3s ease; }
.faq-question:hover { color: var(--accent); }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s ease; color: var(--text-muted); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 24px; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

/* ── CONTACT ── */
#contact { background: var(--bg-card); position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 1100px; margin: 0 auto; }
.contact-info h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); font-weight: 400; margin-bottom: 24px; line-height: 1.2; }
.contact-info p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail { display: flex; align-items: center; gap: 16px; }
.contact-detail-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--accent-light); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-icon svg { width: 18px; height: 18px; color: var(--accent); }
.contact-detail-text a, .contact-detail-text span { color: var(--text-primary); text-decoration: none; font-size: 15px; font-weight: 500; }
.contact-detail-text small { display: block; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; font-weight: 400; }
.contact-form { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 8px; padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; color: var(--text-primary); font-family: var(--sans); font-size: 14px; transition: border-color 0.3s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--bg); color: var(--text-primary); }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.privacy-check input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.privacy-check label { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.privacy-check label a { color: var(--accent); text-decoration: none; }
.form-success { display: none; text-align: center; padding: 40px; }
.form-success svg { width: 48px; height: 48px; color: var(--accent); margin-bottom: 16px; }
.form-success h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 8px; }
.form-success p { color: var(--text-secondary); }

/* ── CTA BANNER ── */
.cta-banner { background: var(--bg-dark); padding: 80px clamp(24px, 5vw, 80px); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(74,124,155,0.08) 0%, transparent 70%); }
.cta-banner h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); font-weight: 400; margin-bottom: 16px; position: relative; color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 500px; margin: 0 auto 32px; position: relative; }
.cta-banner .btn { position: relative; }

/* ── FOOTER ── */
footer { background: var(--bg-dark); padding: 60px clamp(24px, 5vw, 80px) 32px; color: #fff; }
footer .logo-name { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto 48px; }
.footer-brand { max-width: 280px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; margin-top: 16px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; margin-bottom: 12px; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--accent); }
.broker-info { max-width: 1200px; margin: 0 auto 24px; padding: 16px 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.broker-info strong { color: rgba(255,255,255,0.7); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.3s ease; }
.footer-legal a:hover { color: var(--accent); }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-link { width: 36px; height: 36px; border-radius: 6px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s ease; }
.social-link:hover { border-color: var(--accent); background: rgba(74,124,155,0.15); }
.social-link svg { width: 16px; height: 16px; color: rgba(255,255,255,0.6); }

/* ── LEGAL MODALS ── */
.legal-modal { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.6); align-items: center; justify-content: center; padding: 24px; }
.legal-modal.active { display: flex; }
.legal-modal-content { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; max-width: 680px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 40px; }
.legal-modal-content h2 { font-family: var(--serif); font-size: 28px; margin-bottom: 24px; }
.legal-modal-content h3 { font-size: 16px; font-weight: 600; margin: 24px 0 12px; color: var(--accent); }
.legal-modal-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.legal-close { float: right; background: none; border: none; color: var(--text-muted); font-size: 28px; cursor: pointer; line-height: 1; transition: color 0.3s ease; }
.legal-close:hover { color: var(--text-primary); }

/* ── COOKIE CONSENT ── */
#cookieConsent { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998; background: rgba(26,26,26,0.98); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,0.08); padding: 20px clamp(24px, 4vw, 60px); display: none; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
#cookieConsent p { font-size: 13px; color: rgba(255,255,255,0.7); max-width: 600px; }
#cookieConsent a { color: var(--accent); text-decoration: none; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions button { padding: 10px 20px; border-radius: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; cursor: pointer; font-family: var(--sans); border: none; text-transform: uppercase; }
.cookie-accept { background: var(--accent); color: #fff; }
.cookie-decline { background: transparent; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.15) !important; }

/* ── ACCESSIBILITY WIDGET ── */
.a11y-trigger { position: fixed; bottom: 24px; left: 24px; z-index: 9997; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.15); transition: all 0.3s ease; }
.a11y-trigger:hover { background: var(--accent-hover); transform: scale(1.08); }
.a11y-trigger svg { width: 24px; height: 24px; }
.a11y-panel { position: fixed; bottom: 84px; left: 24px; z-index: 9997; width: 320px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.12); padding: 24px; display: none; animation: fadeUp 0.3s ease; }
.a11y-panel.active { display: block; }
.a11y-panel h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 4px; }
.a11y-panel .a11y-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.a11y-option { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.a11y-option:last-child { border-bottom: none; }
.a11y-option-label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.a11y-option-label svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.a11y-toggle { width: 44px; height: 24px; border-radius: 12px; background: var(--border-light); border: none; cursor: pointer; position: relative; transition: background 0.3s; flex-shrink: 0; }
.a11y-toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.3s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.a11y-toggle.active { background: var(--accent); }
.a11y-toggle.active::after { transform: translateX(20px); }
.a11y-font-controls { display: flex; gap: 8px; }
.a11y-font-btn { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg); color: var(--text-primary); cursor: pointer; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.a11y-font-btn:hover { border-color: var(--accent); color: var(--accent); }
.a11y-reset { display: block; width: 100%; margin-top: 16px; padding: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; color: var(--text-secondary); font-size: 13px; font-weight: 500; cursor: pointer; text-align: center; transition: all 0.3s; font-family: var(--sans); }
.a11y-reset:hover { border-color: var(--accent); color: var(--accent); }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── TOAST ── */
.toast-container { position: fixed; top: 100px; right: 24px; z-index: 10001; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 14px 20px; border-radius: 8px; font-size: 13px; font-weight: 500; animation: slideInRight 0.3s ease; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-primary); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.toast.success { border-left: 3px solid #4caf50; }
.toast.error { border-left: 3px solid #f44336; }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .areas-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
    .area-card:nth-child(1) { grid-column: span 1; grid-row: span 1; }
    .area-card:nth-child(6) { grid-column: span 1; }
    .about-grid { grid-template-columns: 220px 1fr; gap: 40px; }
    .about-image { width: 220px; }
}

@media (max-width: 768px) {
    nav { display: none; }
    .hamburger { display: flex; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .about-image { width: 200px; margin: 0 auto; }
    .about-image-accent { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .listings-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .areas-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
    .area-card, .area-card:nth-child(1), .area-card:nth-child(6) { grid-column: span 1; grid-row: span 1; }
    .form-row { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .hero-sub { font-size: 15px; }
    .a11y-panel { left: 12px; right: 12px; width: auto; bottom: 80px; }
    .a11y-trigger { bottom: 16px; left: 16px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .stat-item h3 { font-size: 28px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .about-image { width: 160px; }
}

/* iOS Safari fixes */
@supports (-webkit-touch-callout: none) { .hero { min-height: -webkit-fill-available; } }

/* ── IDX SEARCH ── */
.search-container { max-width: 1100px; margin: 0 auto; }
.search-embed { min-height: 600px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.search-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 500px; text-align: center; padding: 40px; }
.search-placeholder svg { width: 64px; height: 64px; color: var(--accent); margin-bottom: 24px; opacity: 0.5; }
.search-placeholder h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 12px; }
.search-placeholder p { color: var(--text-secondary); max-width: 400px; font-size: 15px; line-height: 1.7; }

/* ── MUSIC PLAYER TOGGLE ── */
.music-toggle {
    position: fixed; bottom: 24px; left: 24px; z-index: 999;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(20,20,20,0.85); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.music-toggle svg { width: 22px; height: 22px; }
.music-toggle:hover { background: rgba(30,30,30,0.95); color: #fff; transform: scale(1.08); }
.music-toggle.playing {
    background: var(--accent); border-color: var(--accent); color: #fff;
    animation: musicPulse 2s ease-in-out infinite;
}
@keyframes musicPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(74,124,155,0.3); }
    50% { box-shadow: 0 4px 30px rgba(74,124,155,0.6); }
}
@media (max-width: 768px) {
    .music-toggle { bottom: 16px; left: 16px; width: 42px; height: 42px; }
    .music-toggle svg { width: 18px; height: 18px; }
}

/* ── AREAS SHOWCASE (Animated Cycling) ── */
.areas-showcase-section {
    padding: 60px 0 40px; max-width: 1200px; margin: 0 auto;
}
.areas-showcase {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    padding: 0 24px; min-height: 360px;
}
.area-showcase-card {
    border-radius: 16px; overflow: hidden; position: relative;
    background: var(--bg-card); border: 1px solid var(--border);
    opacity: 0; transform: translateY(24px) scale(0.96);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.area-showcase-card.visible {
    opacity: 1; transform: translateY(0) scale(1);
}
.area-showcase-card.exiting {
    opacity: 0; transform: translateY(-20px) scale(0.96);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.area-showcase-card:nth-child(2) { transition-delay: 0.1s; }
.area-showcase-card:nth-child(3) { transition-delay: 0.2s; }
.area-showcase-image {
    width: 100%; height: 260px; overflow: hidden;
}
.area-showcase-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.area-showcase-card:hover .area-showcase-image img {
    transform: scale(1.06);
}
.area-showcase-info {
    padding: 20px 24px 24px; text-align: center;
}
.area-showcase-info h3 {
    font-family: var(--serif); font-size: 22px; margin-bottom: 6px;
    color: var(--text);
}
.area-showcase-info p {
    font-size: 14px; color: var(--text-secondary); letter-spacing: 0.5px;
}
.areas-showcase-dots {
    display: flex; justify-content: center; gap: 10px;
    padding: 32px 0 0;
}
.area-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(74,124,155,0.25); border: none; cursor: pointer;
    transition: all 0.3s ease;
}
.area-dot.active {
    background: var(--accent); transform: scale(1.3);
}
@media (max-width: 1024px) {
    .areas-showcase { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .areas-showcase { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .area-showcase-image { height: 220px; }
}
