/* ===== CSS VARIABLES ===== */
:root {
    --navy: #0F1E33;
    --navy-dark: #0A1626;
    --gold: #C7A253;
    --gold-dark: #A9863B;
    --gray: #F4F6F9;
    --line: #E4E9F0;
    --slate: #4A5A6E;
    --ink: #0F1E33;
    --white: #FFFFFF;
    --gold-soft: #F5EEDD;
    --gold-tint: rgba(199, 162, 83, 0.12);
    --navy-tint: rgba(15, 30, 51, 0.06);
    --muted: #8090A2;
    --shadow-sm: 0 2px 12px rgba(15, 30, 51, 0.06);
    --shadow-md: 0 14px 38px rgba(15, 30, 51, 0.10);
    --shadow-lg: 0 26px 60px rgba(15, 30, 51, 0.13);
    --shadow-xl: 0 36px 84px rgba(15, 30, 51, 0.17);
    --shadow-gold: 0 14px 34px rgba(199, 162, 83, 0.30);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 36px;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--slate);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    color: var(--ink);
    line-height: 1.15;
    font-weight: 700;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed; inset: 0; background: var(--white); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-key {
    width: 46px; height: 46px; margin: 0 auto 16px;
    border-radius: 14px; background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem;
    animation: keyPulse 1.1s ease-in-out infinite; box-shadow: var(--shadow-gold);
}
@keyframes keyPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.12); opacity: 1; }
}
.preloader-text {
    font-family: 'Sora', sans-serif; font-weight: 700;
    font-size: 1.6rem; letter-spacing: 0.5px; color: var(--ink);
}
.preloader-text span { color: var(--gold); }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0; transition: all var(--transition);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(20px);
    padding: 12px 0; box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--line);
}
.nav-container {
    max-width: 1240px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.15rem; box-shadow: var(--shadow-gold);
}
.logo-text {
    font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.4rem;
    letter-spacing: -0.3px; color: var(--ink);
}
.logo-text span { color: var(--gold); }
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a {
    font-size: 0.92rem; font-weight: 500; color: var(--slate);
    transition: color var(--transition); position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px;
    background: var(--gold); transition: width var(--transition); border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
    padding: 11px 26px; background: var(--navy); color: var(--white) !important;
    border-radius: 10px; font-size: 0.9rem; font-weight: 600; transition: all var(--transition);
}
.nav-cta:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.nav-cta::after { display: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { width: 25px; height: 2px; background: var(--ink); transition: all 0.3s; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Transparent navbar over dark hero / page-header (before scroll) */
.navbar:not(.scrolled) .logo-text { color: var(--white); }
.navbar:not(.scrolled) .logo-text span { color: var(--gold); }
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.82); }
.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active { color: var(--white); }
.navbar:not(.scrolled) .nav-cta { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); }
.navbar:not(.scrolled) .nav-cta:hover { background: var(--gold); border-color: var(--gold); }
.navbar:not(.scrolled) .hamburger span { background: var(--white); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 32px; border-radius: 10px; font-family: 'Inter', sans-serif;
    font-size: 0.94rem; font-weight: 600; cursor: pointer;
    transition: all var(--transition); border: none; white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-tint); transform: translateY(-3px); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-full { width: 100%; }
.btn-sm { padding: 11px 22px; font-size: 0.86rem; }

/* ===== SECTION STYLES ===== */
.section-tag {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 18px;
    background: var(--gold-tint); border-radius: 50px; font-size: 0.75rem;
    font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--gold-dark); margin-bottom: 18px;
}
.section-tag.navy { background: var(--navy-tint); color: var(--navy); }
.section-tag.light { background: rgba(255,255,255,0.16); color: var(--white); }
.section-header { text-align: center; margin-bottom: 56px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-title {
    font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700;
    letter-spacing: -0.5px; margin-bottom: 16px;
}
.section-title em { color: var(--gold); font-style: normal; }
.section-desc { font-size: 1.05rem; color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ===== HERO ===== */
.hero {
    position: relative; padding: 160px 0 120px; overflow: hidden;
    background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 55%, #142a47 100%);
    color: var(--white);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 85% 15%, rgba(199,162,83,0.20) 0%, transparent 48%),
                radial-gradient(ellipse at 8% 90%, rgba(199,162,83,0.08) 0%, transparent 45%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 50px;
    font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(199,162,83,0.22); }
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.9rem); font-weight: 700; letter-spacing: -1px;
    line-height: 1.1; margin-bottom: 20px; color: var(--white);
    animation: fadeInUp 0.8s ease-out 0.15s both;
}
.hero-title em { color: var(--gold); font-style: normal; }
.hero-subtitle {
    font-size: 1.12rem; color: rgba(255,255,255,0.72); max-width: 520px; margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}
.hero-trust { display: flex; align-items: center; gap: 30px; margin-top: 34px; animation: fadeInUp 0.8s ease-out 0.6s both; flex-wrap: wrap; }
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-item strong { font-family: 'Sora', sans-serif; font-size: 1.7rem; color: var(--white); line-height: 1; }
.hero-trust-item span { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 6px; }
.hero-trust-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.14); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Hero Visual */
.hero-visual { position: relative; animation: fadeInUp 0.9s ease-out 0.4s both; }
.hero-visual-img { position: relative; z-index: 1; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); border: 1px solid rgba(255,255,255,0.08); }
.hero-visual-img img { width: 100%; height: 500px; object-fit: cover; }
.hero-float-card {
    position: absolute; z-index: 2; background: var(--white); border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.hero-float-card.top { top: 28px; left: -26px; animation: floatY 4s ease-in-out infinite; }
.hero-float-card.bottom { bottom: 30px; right: -22px; animation: floatY 4s ease-in-out infinite 1.5s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-float-icon {
    width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center;
    justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.hero-float-icon.gold { background: var(--gold-tint); color: var(--gold-dark); }
.hero-float-icon.navy { background: var(--navy-tint); color: var(--navy); }
.hero-float-card .fc-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem; color: var(--ink); }
.hero-float-card .fc-sub { font-size: 0.74rem; color: var(--muted); }

/* ===== SEARCH BAR ===== */
.search-wrap { position: relative; z-index: 20; margin-top: -46px; }
.search-bar {
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    border: 1px solid var(--line); padding: 20px; display: grid;
    grid-template-columns: repeat(3, 1fr) auto; gap: 14px; align-items: end;
}
.search-field { display: flex; flex-direction: column; gap: 7px; }
.search-field label { font-size: 0.74rem; font-weight: 700; color: var(--slate); letter-spacing: 0.4px; text-transform: uppercase; padding-left: 2px; }
.search-field select {
    width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif; font-size: 0.92rem; color: var(--ink); background: var(--gray);
    cursor: pointer; appearance: none; transition: all var(--transition); outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C7A253' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.search-field select:focus { border-color: var(--gold); background-color: var(--white); box-shadow: 0 0 0 4px var(--gold-tint); }
.search-bar .btn { padding: 14px 30px; height: 48px; }

/* ===== ADVANTAGES STRIP ===== */
.advantages { padding: 80px 0; background: var(--white); }
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage-card {
    padding: 30px 24px; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-md); transition: all var(--transition); text-align: left;
}
.advantage-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.advantage-icon {
    width: 58px; height: 58px; border-radius: 16px; background: var(--gold-tint); color: var(--gold-dark);
    display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.advantage-card:nth-child(2) .advantage-icon,
.advantage-card:nth-child(4) .advantage-icon { background: var(--navy-tint); color: var(--navy); }
.advantage-card h4 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.advantage-card p { font-size: 0.9rem; color: var(--muted); }

/* ===== LISTINGS (featured + grid) ===== */
.listings-section { padding: 100px 0; background: var(--gray); }
.listings-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 20px; flex-wrap: wrap; }
.listings-head .section-header { text-align: left; margin: 0; }
.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.listing-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column;
}
.listing-card.hidden { display: none; }
.listing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.listing-img { position: relative; height: 230px; overflow: hidden; }
.listing-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.listing-card:hover .listing-img img { transform: scale(1.06); }
.listing-status {
    position: absolute; top: 14px; left: 14px; padding: 6px 14px; border-radius: 8px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--white);
}
.listing-status.satilik { background: var(--gold); }
.listing-status.kiralik { background: var(--navy); }
.listing-fav {
    position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center;
    color: var(--navy); font-size: 1rem; cursor: pointer; transition: all var(--transition);
}
.listing-fav:hover { background: var(--gold); color: var(--white); }
.listing-type-badge {
    position: absolute; bottom: 12px; left: 14px; padding: 5px 12px; border-radius: 7px;
    background: rgba(15,30,51,0.78); backdrop-filter: blur(6px); color: var(--white);
    font-size: 0.72rem; font-weight: 600;
}
.listing-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.listing-title { font-size: 1.16rem; font-weight: 700; margin-bottom: 7px; }
.listing-loc { display: flex; align-items: center; gap: 6px; font-size: 0.86rem; color: var(--muted); margin-bottom: 16px; }
.listing-loc svg { width: 15px; height: 15px; flex-shrink: 0; stroke: var(--gold); }
.listing-specs {
    display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
}
.listing-spec { display: flex; align-items: center; gap: 7px; font-size: 0.84rem; color: var(--slate); font-weight: 500; }
.listing-spec svg { width: 17px; height: 17px; stroke: var(--slate); flex-shrink: 0; }
.listing-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 12px; }
.listing-price { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.32rem; color: var(--navy); }
.listing-price span { font-size: 0.78rem; font-weight: 500; color: var(--muted); font-family: 'Inter', sans-serif; }

/* ===== CATEGORIES ===== */
.categories { padding: 100px 0; background: var(--white); }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.category-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 260px;
    display: flex; align-items: flex-end; transition: all var(--transition);
    background: var(--navy);
}
.category-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,30,51,0.1) 0%, rgba(10,22,38,0.85) 100%);
    transition: opacity var(--transition);
}
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.category-card:hover img { transform: scale(1.08); }
.category-content { position: relative; z-index: 2; padding: 26px; color: var(--white); width: 100%; }
.category-content h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 4px; }
.category-content span { font-size: 0.84rem; color: rgba(255,255,255,0.75); display: inline-flex; align-items: center; gap: 6px; }
.category-content .arrow { transition: gap var(--transition); }
.category-card:hover .category-content .arrow { gap: 12px; }

/* ===== WHY / STATS BAND ===== */
.why { padding: 110px 0; background: var(--gray); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why-images { position: relative; }
.why-img-main { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.why-img-main img { width: 100%; height: 500px; object-fit: cover; }
.why-badge {
    position: absolute; bottom: -26px; right: -22px; background: var(--white);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 22px 28px; text-align: center;
}
.why-badge .num { font-family: 'Sora', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.why-badge .lbl { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.why-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.why-list-item { display: flex; gap: 16px; align-items: flex-start; }
.why-check {
    width: 32px; height: 32px; border-radius: 10px; background: var(--gold-tint); color: var(--gold-dark);
    display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; margin-top: 2px;
}
.why-list-item h4 { font-size: 1.06rem; font-weight: 700; margin-bottom: 3px; }
.why-list-item p { font-size: 0.9rem; color: var(--muted); }

.stats-band { padding: 68px 0; background: var(--navy); position: relative; overflow: hidden; }
.stats-band::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 15% 30%, rgba(199,162,83,0.20) 0%, transparent 45%),
                radial-gradient(circle at 85% 80%, rgba(199,162,83,0.10) 0%, transparent 45%);
}
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat-number { font-family: 'Sora', sans-serif; font-size: 2.9rem; font-weight: 700; color: var(--white); line-height: 1; }
.stat-suffix { font-family: 'Sora', sans-serif; font-size: 2rem; color: var(--gold); }
.stat-label { display: block; font-size: 0.86rem; color: rgba(255,255,255,0.6); margin-top: 8px; letter-spacing: 0.3px; }

/* ===== AGENTS ===== */
.agents { padding: 110px 0; background: var(--white); }
.agents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.agent-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; transition: all var(--transition);
}
.agent-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.agent-photo { height: 320px; position: relative; overflow: hidden; }
.agent-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.6s ease; }
.agent-card:hover .agent-photo img { transform: scale(1.05); }
.agent-social {
    position: absolute; bottom: 14px; left: 50%; transform: translate(-50%, 20px);
    display: flex; gap: 10px; opacity: 0; transition: all var(--transition);
}
.agent-card:hover .agent-social { opacity: 1; transform: translate(-50%, 0); }
.agent-social a {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.95);
    display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 0.7rem;
    font-weight: 600; transition: all var(--transition);
}
.agent-social a:hover { background: var(--gold); color: #fff; }
.agent-info { padding: 24px; text-align: center; }
.agent-info h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 4px; }
.agent-role { font-size: 0.78rem; color: var(--gold-dark); font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; display: block; margin-bottom: 12px; }
.agent-meta { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 0.84rem; color: var(--muted); }
.agent-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 110px 0; background: var(--gray); }
.testimonials-slider { max-width: 860px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
    min-width: 100%; padding: 50px; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-sm);
}
.testimonial-stars { font-size: 1.2rem; color: var(--gold); letter-spacing: 4px; margin-bottom: 22px; }
.testimonial-text { font-family: 'Sora', sans-serif; font-weight: 400; font-size: 1.24rem; color: var(--ink); line-height: 1.6; margin-bottom: 30px; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.author-avatar {
    width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--white); font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.25rem;
}
.testimonial-author h4 { font-size: 1rem; font-weight: 700; }
.testimonial-author span { font-size: 0.83rem; color: var(--muted); }
.testimonial-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; }
.testimonial-btn {
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
    font-size: 1.1rem; color: var(--slate); cursor: pointer; transition: all var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.testimonial-btn:hover { border-color: var(--gold); background: var(--gold); color: var(--white); }
.testimonial-dots { display: flex; gap: 8px; }
.testimonial-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); cursor: pointer; transition: all var(--transition); }
.testimonial-dots .dot.active { background: var(--gold); width: 30px; border-radius: 5px; }

/* ===== CONTACT ===== */
.contact { padding: 110px 0; background: var(--white); }
.contact-wrap {
    display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--white);
    border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.contact-side {
    position: relative; padding: 56px 44px; color: var(--white);
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-dark) 100%);
    display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
.contact-side::before {
    content: ''; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px;
    border-radius: 50%; background: rgba(199,162,83,0.10);
}
.contact-side .cs-inner { position: relative; z-index: 2; }
.contact-side .section-tag { background: rgba(255,255,255,0.12); color: #fff; }
.contact-side h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.contact-side h2 em { font-style: normal; color: var(--gold); }
.contact-side > .cs-inner > p { color: rgba(255,255,255,0.72); margin-bottom: 30px; font-size: 1rem; }
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact-info-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-list li .ci-icon {
    width: 42px; height: 42px; border-radius: 12px; background: rgba(199,162,83,0.16); color: var(--gold);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-list li strong { display: block; color: var(--white); font-family: 'Sora', sans-serif; font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.contact-info-list li p { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.contact-form { padding: 52px 48px; }
.contact-form h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.contact-form > p { font-size: 0.9rem; color: var(--muted); margin-bottom: 26px; }
.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: 0.78rem; font-weight: 600; color: var(--slate); margin-bottom: 7px; padding-left: 2px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--ink); background: var(--gray);
    transition: all var(--transition); outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px var(--gold-tint);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C7A253' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.contact-form .btn { margin-top: 6px; padding: 16px; }

/* ===== PAGE HEADER (listings) ===== */
.page-header {
    padding: 150px 0 60px; position: relative; overflow: hidden;
    background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 60%, #142a47 100%);
    color: var(--white); text-align: center;
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 10%, rgba(199,162,83,0.18) 0%, transparent 50%);
}
.page-header .container { position: relative; z-index: 2; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.breadcrumb a { color: var(--gold); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.page-header h1 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 14px; }
.page-header h1 em { font-style: normal; color: var(--gold); }
.page-header p { font-size: 1.05rem; color: rgba(255,255,255,0.72); max-width: 600px; margin: 0 auto; }

/* ===== FILTER BAR ===== */
.listings-page { padding: 56px 0 100px; background: var(--gray); }
.filter-bar {
    display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px;
}
.filter-btn {
    padding: 11px 24px; border-radius: 50px; border: 1px solid var(--line); background: var(--white);
    font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 600; color: var(--slate);
    cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.filter-empty {
    display: none; text-align: center; padding: 60px 20px; color: var(--muted); font-size: 1.05rem;
    grid-column: 1 / -1;
}

/* ===== CTA ===== */
.cta-section { padding: 100px 0; position: relative; overflow: hidden; background: var(--white); }
.cta-inner {
    position: relative; border-radius: var(--radius-xl); overflow: hidden; padding: 70px 40px; text-align: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.cta-inner::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(199,162,83,0.18) 0%, transparent 45%),
                radial-gradient(circle at 82% 85%, rgba(199,162,83,0.12) 0%, transparent 45%);
}
.cta-content { position: relative; z-index: 2; color: var(--white); }
.cta-content h2 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 16px; }
.cta-content h2 em { font-style: normal; color: var(--gold); }
.cta-content p { font-size: 1.08rem; color: rgba(255,255,255,0.78); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
    padding: 8px 16px; background: rgba(255,255,255,0.06); border-radius: 8px; font-size: 0.78rem;
    font-weight: 500; color: rgba(255,255,255,0.7); transition: all var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--white); }
.footer-links h4 { color: var(--white); font-size: 1.02rem; font-weight: 600; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-newsletter h4 { color: var(--white); font-size: 1.02rem; font-weight: 600; margin-bottom: 12px; }
.footer-newsletter p { font-size: 0.88rem; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.newsletter-form { display: flex; }
.newsletter-form input {
    flex: 1; padding: 12px 16px; border: none; border-radius: 10px 0 0 10px; background: rgba(255,255,255,0.08);
    color: var(--white); font-family: 'Inter', sans-serif; font-size: 0.85rem; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
    padding: 12px 20px; background: var(--gold); color: var(--white); border: none;
    border-radius: 0 10px 10px 0; cursor: pointer; font-size: 1rem; transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--gold-dark); }
.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ===== BACK TO TOP & WHATSAPP ===== */
.back-to-top {
    position: fixed; bottom: 100px; right: 30px; width: 48px; height: 48px; background: var(--navy);
    color: var(--white); border: none; border-radius: 12px; font-size: 1.2rem; cursor: pointer;
    opacity: 0; visibility: hidden; transition: all var(--transition); box-shadow: var(--shadow-md);
    z-index: 100; display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); transform: translateY(-3px); }
.whatsapp-btn {
    position: fixed; bottom: 30px; right: 30px; display: flex; align-items: center; gap: 8px;
    padding: 14px 24px; background: #25D366; color: var(--white); border-radius: 50px; font-size: 0.85rem;
    font-weight: 600; box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3); z-index: 100; transition: all var(--transition);
}
.whatsapp-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4); }
.whatsapp-icon { font-size: 1.2rem; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 54px; }
    .hero-visual { max-width: 560px; }
    .search-bar { grid-template-columns: 1fr 1fr; }
    .search-bar .btn { grid-column: 1 / -1; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .listings-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; gap: 60px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
    .agents-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .contact-wrap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .nav-links.active {
        display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); padding: 24px; gap: 16px;
        box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line);
    }
    .navbar:not(.scrolled) .nav-links.active a { color: var(--slate); }
    .navbar:not(.scrolled) .nav-links.active a:hover,
    .navbar:not(.scrolled) .nav-links.active a.active { color: var(--gold-dark); }
    .hero { padding: 130px 0 90px; }
    .hero-float-card.top { left: 6px; }
    .hero-float-card.bottom { right: 6px; }
    .search-wrap { margin-top: -30px; }
    .search-bar { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .listings-head { flex-direction: column; align-items: flex-start; }
    .listings-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .categories-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
    .why-img-main img { height: 380px; }
    .why-badge { right: 16px; bottom: -20px; }
    .agents-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
    .contact-side { padding: 44px 32px; }
    .contact-form { padding: 40px 28px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .testimonial-card { padding: 34px 24px; }
    .cta-inner { padding: 52px 26px; }
    .hero-trust { gap: 20px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 2.3rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .whatsapp-text { display: none; }
    .hero-trust-divider { display: none; }
    .listing-specs { gap: 12px; }
}
