/* ========================================
   CoastalNomad - Main Stylesheet
   Modern Real Estate Platform for Digital Nomads
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    /* Colors - Ocean & Beach Inspired */
    --primary-blue: #0077CC;
    --primary-blue-dark: #005FA3;
    --secondary-teal: #00A6A6;
    --accent-coral: #FF6B6B;
    --sand-beige: #F4E4C1;
    
    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #E9ECEF;
    --gray: #ADB5BD;
    --dark-gray: #495057;
    --charcoal: #2C3E50;
    --black: #1A1A1A;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0077CC 0%, #00A6A6 100%);
    --gradient-warm: linear-gradient(135deg, #FF6B6B 0%, #FFD93D 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --gap-sm: 12px;
    --gap-md: 24px;
    --gap-lg: 40px;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Quicksand', 'Poppins', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--charcoal);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ========== UTILITY CLASSES ========== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-display);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-display);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--dark-gray);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--light-gray);
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.btn-whatsapp-large {
    background: #25D366;
    color: var(--white);
    font-size: 1.1rem;
    padding: 16px 32px;
}

.btn-whatsapp-large:hover {
    background: #128C7E;
    transform: scale(1.05);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-text {
    color: var(--primary-blue);
    background: none;
    padding: 0;
    font-weight: 600;
}

.btn-text:hover {
    text-decoration: underline;
}

.btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    color: var(--charcoal);
}

.btn-icon:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

/* Elegant Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 40px;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    position: relative;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0077CC 0%, #00A6A6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 119, 204, 0.2);
    flex-shrink: 0;
}

.logo-icon i {
    font-size: 1.2rem;
    color: white;
}

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

.logo-brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.3px;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--gray);
    font-weight: 400;
}

.logo-tagline strong {
    background: linear-gradient(90deg, #FF6B6B 0%, #FFA500 50%, #0077CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Compact Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--charcoal);
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(0, 119, 204, 0.06);
    color: var(--primary-blue);
}

.nav-link.active {
    background: rgba(0, 119, 204, 0.1);
    color: var(--primary-blue);
    font-weight: 600;
}

/* WhatsApp Button Compact */
.btn-whatsapp {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    white-space: nowrap;
    margin-left: 8px;
}

/* Language Selector - Compact */
.language-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 12px;
    margin-left: 8px;
    border-left: 2px solid #e5e7eb;
}

.language-flag {
    font-size: 1.2rem;
    background: white;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-flag:hover {
    opacity: 1;
    background: rgba(0, 119, 204, 0.05);
    border-color: var(--primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 119, 204, 0.12);
}

.language-flag.active {
    opacity: 1;
    background: linear-gradient(135deg, rgba(0, 119, 204, 0.08) 0%, rgba(0, 166, 166, 0.08) 100%);
    border-color: var(--primary-blue);
    box-shadow: 0 2px 6px rgba(0, 119, 204, 0.15);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--charcoal);
    z-index: 1001;
    position: relative;
}

/* ========== HERO SECTION WITH SLIDESHOW ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 100px;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 119, 204, 0.85) 0%, rgba(0, 166, 166, 0.75) 100%);
    z-index: 1;
}

/* Hero Controls */
.hero-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 3;
}

.hero-control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.1);
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    width: 40px;
    border-radius: 6px;
    background: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
}

.hero-text-content {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title .gradient-text {
    /* Opção 1: Gradiente Dourado Vibrante (ATUAL) */
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6B35 100%);
    
    /* Opção 2: Branco com Sombra Forte (descomente para usar)
    background: white;
    text-shadow: 0 3px 15px rgba(0,0,0,0.5), 0 0 40px rgba(255,255,255,0.3);
    */
    
    /* Opção 3: Amarelo Neon (descomente para usar)
    background: linear-gradient(135deg, #FFEB3B 0%, #FFC107 100%);
    */
    
    /* Opção 4: Coral Vibrante (descomente para usar)
    background: linear-gradient(135deg, #FF6B9D 0%, #FFA500 100%);
    */
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    font-weight: 800;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.5));
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 500;
    color: var(--coral-pink);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-family: var(--font-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-demo {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 18px 36px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-demo:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.45);
}

/* ========== ADVANCED SEARCH CARD ========== */
.hero-search-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.search-card-header h3 {
    font-size: 1.75rem;
    color: var(--charcoal);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.search-card-header h3 i {
    color: var(--primary-blue);
}

.search-card-header p {
    color: var(--gray);
    font-size: 1rem;
}

.search-form-advanced {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.search-field-advanced {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-field-advanced label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-field-advanced label i {
    color: var(--primary-blue);
    font-size: 1rem;
}

.search-field-advanced select {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    color: var(--charcoal);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-field-advanced select:hover {
    border-color: var(--primary-blue);
}

.search-field-advanced select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.1);
}

.btn-search-advanced {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--teal-blue) 100%);
    color: white;
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 119, 204, 0.35);
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-search-advanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 119, 204, 0.45);
}

.btn-search-advanced i {
    font-size: 1.2rem;
}

/* Old Search Styles (keep for compatibility) */
.search-container {
    max-width: 900px;
    margin: 0 auto;
}

.search-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 16px;
    display: flex;
    gap: 12px;
    box-shadow: var(--shadow-xl);
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--off-white);
    border-radius: var(--radius-md);
}

.search-field i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.search-field select {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--charcoal);
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

.btn-search {
    padding: 16px 32px;
    flex-shrink: 0;
}

/* ========== MODAL OVERLAY ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-chat-demo {
    position: relative;
    max-width: 600px;
    width: 100%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-chat-demo {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--charcoal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1;
}

.modal-close:hover {
    background: var(--coral-pink);
    color: white;
    transform: rotate(90deg);
}

/* ========== CHAT DEMO ========== */
.chat-demo-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 100%;
}

.chat-demo-header {
    padding: 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-align: center;
}

.chat-demo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.chat-demo-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.chat-demo-header p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.95;
}

.chat-demo-screen {
    height: 450px;
    overflow-y: auto;
    background: #f1f5f9;
    padding: 20px;
    scroll-behavior: smooth;
}

.chat-demo-screen::-webkit-scrollbar {
    width: 8px;
}

.chat-demo-screen::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.chat-demo-window {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-demo-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    animation: chatFadeIn 0.4s ease;
}

.chat-demo-message.client {
    flex-direction: row-reverse;
}

.chat-demo-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-demo-bubble {
    background: white;
    padding: 14px 16px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 70%;
    word-wrap: break-word;
}

.chat-demo-message.client .chat-demo-bubble {
    background: #3b82f6;
    color: white;
}

.chat-demo-name {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.chat-demo-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.chat-demo-footer {
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    display: flex;
    gap: 12px;
    justify-content: center;
}

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

/* ========== LIFESTYLE TAGS ========== */
.lifestyle-tags {
    padding: 40px 0;
    background: var(--off-white);
}

.tags-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tag-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    font-weight: 600;
    color: var(--charcoal);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-base);
}

.tag-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.tag-btn i {
    font-size: 1.2rem;
}

/* ========== SECTION STYLES ========== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--dark-gray);
}

/* ========== FEATURED PROPERTIES ========== */
.featured-properties {
    background: var(--white);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.property-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-coral);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.property-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
}

.property-actions .btn-icon {
    width: 40px;
    height: 40px;
}

.property-info {
    padding: 24px;
}

.property-location {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.property-title:hover {
    color: var(--primary-blue);
}

.property-description {
    color: var(--dark-gray);
    font-size: 0.9375rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-features {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--light-gray);
}

.feature {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--dark-gray);
    font-size: 0.875rem;
}

.feature i {
    color: var(--primary-blue);
}

.property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.amenity-badge {
    font-size: 0.875rem;
    padding: 6px 12px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    color: var(--charcoal);
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.property-price-brl {
    display: block;
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 400;
}

.property-qol {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.property-qol i {
    color: #FFD700;
}

/* ========== QUALITY OF LIFE ========== */
.quality-life {
    background: var(--off-white);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.quality-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-base);
}

.quality-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.quality-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.quality-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.quality-card p {
    color: var(--dark-gray);
    margin-bottom: 16px;
}

.quality-score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
}

/* ========== SUCCESS STORIES ========== */
.success-stories {
    background: var(--white);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.story-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.story-image {
    height: 300px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 28px;
}

.story-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.story-location {
    color: var(--primary-blue);
    font-size: 0.9375rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.story-text {
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.7;
}

.story-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    color: var(--charcoal);
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========== NEWSLETTER ========== */
.newsletter {
    background: var(--charcoal);
    color: var(--white);
    padding: 60px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.newsletter-content p {
    margin-bottom: 24px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: none;
    outline: none;
    font-size: 1rem;
}

.newsletter-form button {
    flex-shrink: 0;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 1.8rem;
    color: var(--secondary-teal);
}

.footer-col p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-col ul li i {
    color: var(--secondary-teal);
    margin-right: 8px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-links a:hover {
    background: var(--secondary-teal);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
    color: var(--white);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease 0.3s both;
}

.animate-slide-up {
    animation: fadeIn 0.8s ease 0.6s both;
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: 140px 0 80px;
    margin-bottom: 60px;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* ========== FILTERS SECTION ========== */
.filters-section {
    background: var(--off-white);
    padding: 40px 0;
}

.filters-container {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.filters-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--charcoal);
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: var(--transition-base);
}

.filter-select:focus {
    border-color: var(--primary-blue);
}

.amenities-filters label {
    display: block;
    font-weight: 600;
    margin-bottom: 16px;
}

.amenities-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-info p {
    margin: 0;
    color: var(--dark-gray);
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 2px solid var(--light-gray);
    color: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.view-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results i {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 24px;
}

.no-results h3 {
    margin-bottom: 12px;
}

.no-results p {
    color: var(--dark-gray);
    margin-bottom: 24px;
}

/* Properties Section Spacing */
.properties-section {
    padding: 40px 0 80px;
    background: var(--white);
}