/* Reality Plus — Premium Real Estate Agency */
/* WEB NA MÍRU Package — Custom, Premium, White & Blue */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #1a56db;
    --primary-dark: #1244b0;
    --primary-light: #3b82f6;
    --primary-glow: rgba(26, 86, 219, 0.2);
    --primary-bg: rgba(26, 86, 219, 0.04);
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #9ca3af;
    --gray-300: #e5e7eb;
    --gray-200: #e5e7eb;
    --gray-100: #f8fafc;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --accent-green: #059669;
    --accent-amber: #d97706;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08), 0 4px 10px -6px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 40px -12px rgba(0,0,0,0.15);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.2);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: 82px;
}

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

/* ==================== DEMO BANNER ==================== */
.demo-banner {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: #fff;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.demo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 24px;
}

.demo-label {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.demo-cta {
    color: var(--primary-light) !important;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s;
}
.demo-cta:hover { color: #fff !important; }

/* ==================== PACKAGE INFO ==================== */
.package-info-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 10px 0;
    position: fixed;
    top: 42px;
    left: 0;
    right: 0;
    z-index: 9998;
    text-align: center;
    font-size: 14px;
}

.package-info-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.package-badge { font-weight: 700; font-size: 0.9rem; }
.package-details { font-size: 0.78rem; opacity: 0.85; margin: 0; }

/* ==================== NAVBAR ==================== */
.navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.875rem 0;
    position: sticky;
    top: 82px;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-size: 1.5rem;
}

.logo-icon { display: flex; align-items: center; }
.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}
.logo-accent { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--gray-900); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    background: var(--dark);
    color: var(--white);
    padding: 0;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&h=1080&fit=crop') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.7) 40%,
        rgba(26, 86, 219, 0.4) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 140px;
}

.hero-content {
    max-width: 700px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255,255,255,0.9);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--primary-light);
    position: relative;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    max-width: 560px;
    line-height: 1.75;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Search Bar */
.hero-search {
    position: absolute;
    bottom: -36px;
    left: 0;
    right: 0;
    z-index: 10;
}

.search-bar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0,0,0,0.06);
}

.search-field {
    flex: 1;
    padding: 0 1.25rem;
}

.search-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.search-field select {
    width: 100%;
    border: none;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    background: transparent;
    cursor: pointer;
    font-family: var(--font-body);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239ca3af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 18px;
}

.search-field select:focus { outline: none; }

.search-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
    flex-shrink: 0;
}

.search-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--primary-glow);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-body);
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-white:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.btn-ghost-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn-ghost-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

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

/* ==================== SECTIONS ==================== */
section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 4rem; }

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary-bg);
    color: var(--primary);
    border: 1px solid rgba(26, 86, 219, 0.1);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.8125rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==================== STATS STRIP ==================== */
.stats-strip {
    background: var(--white);
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ==================== SERVICES ==================== */
.services {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    padding: 2.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
    background: var(--primary);
    color: var(--white);
    border-color: transparent;
}
.service-card.featured::before { display: none; }
.service-card.featured p { color: rgba(255,255,255,0.8); }
.service-card.featured .service-icon-wrap { background: rgba(255,255,255,0.15); }
.service-card.featured .service-icon-wrap svg { stroke: var(--white); }
.service-card.featured .service-link { color: rgba(255,255,255,0.9); }
.service-card.featured .service-link:hover { color: var(--white); }

.service-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-icon-wrap svg { stroke: var(--primary); transition: all 0.3s ease; }
.service-card:hover .service-icon-wrap { background: var(--primary); }
.service-card:hover .service-icon-wrap svg { stroke: var(--white); }

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.service-link:hover { letter-spacing: 0.02em; }

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

.property-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-600);
    font-family: var(--font-body);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.property-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.property-card.hidden {
    display: none;
}

.property-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.property-badge.sale {
    background: var(--primary);
    color: var(--white);
}

.property-badge.rent {
    background: var(--accent-green);
    color: var(--white);
}

.property-price {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.property-location svg { stroke: var(--primary); flex-shrink: 0; }

.property-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
}

.property-features svg { stroke: var(--gray-400); }

.properties-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ==================== ABOUT ==================== */
.about { background: var(--gray-50); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-images { position: relative; }

.about-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}
.about-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.badge-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 900;
    font-family: var(--font-display);
    line-height: 1;
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

.about-text .section-tag { margin-bottom: 1rem; }

.about-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-lead {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--gray-700);
    line-height: 1.75;
}

.about-text > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.about-feature:hover {
    border-color: rgba(26, 86, 219, 0.15);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.06);
    transform: translateX(4px);
}

.af-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.about-feature h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.15rem; }
.about-feature p { color: var(--gray-600); font-size: 0.85rem; margin: 0; }

/* ==================== PROCESS ==================== */
.process { background: var(--white); }

.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.08;
    line-height: 1;
    margin-bottom: -1.5rem;
    position: relative;
    z-index: 0;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-bg);
    border: 2px solid rgba(26, 86, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-icon svg { stroke: var(--primary); }

.process-step:hover .step-icon {
    background: var(--primary);
    border-color: var(--primary);
}
.process-step:hover .step-icon svg { stroke: var(--white); }

.process-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.process-step p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.65;
}

.process-connector {
    display: flex;
    align-items: center;
    padding-top: 4.5rem;
    flex-shrink: 0;
}

/* ==================== TEAM ==================== */
.team { background: var(--gray-50); }

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

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

.team-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-socials {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.team-card:hover .team-socials {
    opacity: 1;
    transform: translateY(0);
}

.team-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.team-socials a:hover { background: var(--primary); }

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.team-role {
    display: block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-info p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials { background: var(--white); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--gray-50);
    padding: 2.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s ease;
    position: relative;
}

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

.testimonial-card.featured {
    background: var(--primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.testimonial-card.featured .testimonial-text { color: rgba(255,255,255,0.9); }
.testimonial-card.featured .testimonial-author span { color: rgba(255,255,255,0.7); }

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0,0,0,0.05);
}

.testimonial-card.featured .testimonial-author img {
    border-color: rgba(255,255,255,0.3);
}

.testimonial-author h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #0f3490 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--white);
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== GALLERY ==================== */
.gallery { background: var(--gray-50); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    grid-auto-rows: 250px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-label {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.gallery-price {
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(26, 86, 219, 0.8);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
}

/* ==================== CONTACT ==================== */
.contact { background: var(--white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-card {
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(26, 86, 219, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-card.highlight {
    grid-column: span 2;
    background: var(--dark);
    color: var(--white);
    border-color: transparent;
}
.contact-card.highlight h4 { color: var(--white); }
.contact-card.highlight p { color: var(--gray-400); }
.contact-card.highlight .cc-icon svg { stroke: var(--primary-light); }

.cc-icon {
    display: block;
    margin-bottom: 0.75rem;
}

.contact-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.contact-card p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.contact-card a:hover { text-decoration: underline; }

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.06);
}
.map-container iframe { display: block; }

/* Contact Form */
.contact-form {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.form-desc {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-xs);
    font-size: 0.9375rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--gray-900);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-privacy {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.78rem;
    margin-top: 1rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4.5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.75fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    fill: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary);
    color: var(--white);
    fill: var(--white);
    transform: translateY(-2px);
}

.footer-socials a svg { fill: currentColor; }

.footer-nav h4,
.footer-contact h4 {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--primary-light);
    text-decoration: none;
}
.footer-contact a:hover { text-decoration: underline; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
    .properties-grid { grid-template-columns: repeat(2, 1fr); }
    .search-bar { flex-wrap: wrap; }
    .search-field { min-width: 140px; }
}

@media (max-width: 968px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-img-main img { height: 350px; }
    .about-img-secondary { right: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .process-grid { flex-wrap: wrap; gap: 2rem; }
    .process-connector { display: none; }
    .process-step { flex: 0 0 calc(50% - 1rem); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { min-height: auto; }
    .hero .container { padding-top: 80px; padding-bottom: 120px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.large { grid-column: span 1; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        gap: 0.5rem;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }
    .nav-links.active { display: flex; }
    .nav-links a::after { display: none; }
    .hamburger { display: flex; }

    .hero h1 { font-size: 2.25rem; }

    .search-bar {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.5rem;
    }
    .search-field { padding: 0.5rem 0; width: 100%; }
    .search-divider { width: 100%; height: 1px; }
    .search-btn { width: 100%; justify-content: center; }
    .hero-search { bottom: -120px; }

    section { padding: 70px 0; }
    .stats-strip { padding: 60px 0 40px; }
    .section-header { margin-bottom: 2.5rem; }

    .services-grid { grid-template-columns: 1fr; }
    .properties-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .contact-cards { grid-template-columns: 1fr; }
    .contact-card.highlight { grid-column: auto; }
    .form-row { grid-template-columns: 1fr; }

    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .hero h1 { font-size: 2rem; }
    .about-badge { left: auto; right: 20px; top: auto; bottom: -20px; }
    .stat-number { font-size: 2.25rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .process-step { flex: 0 0 100%; }
}

@media (max-width: 768px) {
    .demo-banner { position: relative; }
    .package-info-banner { position: relative; top: 0; }
    .navbar { position: fixed; top: 0; left: 0; right: 0; }
    body { padding-top: 0; }
    .hero { margin-top: 60px; }
    .demo-content { flex-direction: column; gap: 6px; }
    .demo-text { display: none; }
}
