/* ---------- CSS Variables ---------- */
        :root {
            --color-bg: #f9f7f4;
            --color-bg-alt: #f0ece6;
            --color-primary: #a67c4a;
            --color-primary-dark: #7f5e34;
            --color-primary-light: #c9ad8b;
            --color-secondary: #2d2a24;
            --color-text: #2d2a24;
            --color-text-light: #5f5a52;
            --color-white: #ffffff;
            --color-offwhite: #faf8f5;
            --color-gold: #b8945c;
            --color-gold-soft: rgba(166, 124, 74, 0.12);
            --font-serif: 'Playfair Display', serif;
            --font-sans: 'Inter', sans-serif;
            --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --shadow-soft: 0 12px 40px rgba(45, 42, 36, 0.06);
            --shadow-card: 0 8px 32px rgba(45, 42, 36, 0.08);
            --shadow-hover: 0 20px 60px rgba(45, 42, 36, 0.12);
            --radius-card: 20px;
            --radius-btn: 60px;
            --max-width: 1280px;
            --nav-height: 80px;
        }

        /* ---------- Reset & Base ---------- */
        *,
        *::before,
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

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

        /* ---------- Typography ---------- */
        h1,
        h2,
        h3,
        h4 {
            font-family: var(--font-serif);
            font-weight: 600;
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        h1 {
            font-size: clamp(2.8rem, 8vw, 5.2rem);
            font-weight: 700;
        }
        h2 {
            font-size: clamp(2.2rem, 5vw, 3.6rem);
            font-weight: 600;
            margin-bottom: 1rem;
        }
        h3 {
            font-size: clamp(1.4rem, 2.5vw, 1.8rem);
            font-weight: 600;
        }
        .section-label {
            font-family: var(--font-sans);
            text-transform: uppercase;
            letter-spacing: 0.15em;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--color-primary);
            margin-bottom: 0.5rem;
        }

        /* ---------- Layout Helpers ---------- */
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section {
            padding: 6rem 0;
            position: relative;
        }

        .section--alt {
            background: var(--color-bg-alt);
        }

        .section--dark {
            background: var(--color-secondary);
            color: var(--color-white);
        }

        .section--dark .section-label {
            color: var(--color-gold);
        }

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

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

        /* ---------- Buttons ---------- */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            padding: 0.9rem 2.4rem;
            border-radius: var(--radius-btn);
            font-family: var(--font-sans);
            font-weight: 600;
            font-size: 0.95rem;
            letter-spacing: 0.01em;
            border: none;
            cursor: pointer;
            transition: all var(--transition-smooth);
            text-decoration: none;
            background: var(--color-primary);
            color: var(--color-white);
            box-shadow: 0 4px 16px rgba(166, 124, 74, 0.25);
            position: relative;
            overflow: hidden;
        }

        .btn::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
            opacity: 0;
            transition: opacity 0.4s;
        }

        .btn:hover::after {
            opacity: 1;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 32px rgba(166, 124, 74, 0.35);
        }

        .btn--outline {
            background: transparent;
            border: 1.5px solid var(--color-primary);
            color: var(--color-primary);
            box-shadow: none;
        }

        .btn--outline:hover {
            background: var(--color-primary);
            color: var(--color-white);
            box-shadow: 0 12px 32px rgba(166, 124, 74, 0.25);
        }

        .btn--white {
            background: var(--color-white);
            color: var(--color-secondary);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        }
        .btn--white:hover {
            background: var(--color-offwhite);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        }

        .btn--gold {
            background: var(--color-gold);
            color: var(--color-white);
            box-shadow: 0 4px 16px rgba(184, 148, 92, 0.3);
        }
        .btn--gold:hover {
            background: var(--color-primary-dark);
            box-shadow: 0 12px 32px rgba(184, 148, 92, 0.4);
        }

        /* ---------- Navbar ---------- */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--nav-height);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 2rem;
            background: rgba(249, 247, 244, 0.85);
            backdrop-filter: blur(16px) saturate(180%);
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            border-bottom: 1px solid rgba(45, 42, 36, 0.05);
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            background: rgba(249, 247, 244, 0.96);
            box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
        }

        .navbar .logo {
            font-family: var(--font-serif);
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--color-secondary);
            text-decoration: none;
            letter-spacing: -0.02em;
        }
        .navbar .logo span {
            color: var(--color-primary);
        }

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

        .nav-links a {
            text-decoration: none;
            color: var(--color-text-light);
            font-size: 0.9rem;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
            letter-spacing: 0.01em;
        }

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

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

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 1.2rem;
        }

        .lang-switcher {
            display: flex;
            gap: 4px;
            background: var(--color-offwhite);
            padding: 4px;
            border-radius: 40px;
            border: 1px solid rgba(45, 42, 36, 0.06);
        }

        .lang-switcher button {
            background: transparent;
            border: none;
            padding: 0.3rem 0.8rem;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--color-text-light);
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: var(--font-sans);
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }

        .lang-switcher button.active {
            background: var(--color-primary);
            color: var(--color-white);
            box-shadow: 0 2px 8px rgba(166, 124, 74, 0.25);
        }

        .lang-switcher button:hover:not(.active) {
            color: var(--color-secondary);
        }

        .mobile-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0.4rem;
        }

        .mobile-toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--color-secondary);
            transition: all 0.3s ease;
            border-radius: 4px;
        }
        .mobile-toggle.open span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .mobile-toggle.open span:nth-child(2) {
            opacity: 0;
        }
        .mobile-toggle.open span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* ---------- Hero ---------- */
        #hero {
            padding-top: calc(var(--nav-height) + 4rem);
            padding-bottom: 4rem;
            min-height: 100vh;
            display: flex;
            align-items: center;
            background: linear-gradient(145deg, #f9f7f4 0%, #f0ece6 100%);
            position: relative;
            overflow: hidden;
        }

        #hero::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -10%;
            width: 70%;
            height: 130%;
            background: radial-gradient(ellipse at 70% 50%, rgba(166, 124, 74, 0.08), transparent 70%);
            pointer-events: none;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-content .badge {
            display: inline-block;
            background: var(--color-gold-soft);
            color: var(--color-primary-dark);
            padding: 0.3rem 1.2rem;
            border-radius: 40px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 1.5rem;
        }

        .hero-content h1 {
            margin-bottom: 1.2rem;
            max-width: 800px;
        }

        .hero-content h1 .highlight {
            color: var(--color-primary);
            font-style: italic;
        }

        .hero-content p {
            font-size: 1.2rem;
            color: var(--color-text-light);
            max-width: 560px;
            margin-bottom: 2.5rem;
            line-height: 1.7;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
        }

        .hero-stats {
            display: flex;
            gap: 3rem;
            margin-top: 3rem;
            padding-top: 2.5rem;
            border-top: 1px solid rgba(45, 42, 36, 0.06);
        }

        .hero-stats .stat-item {
            display: flex;
            flex-direction: column;
        }

        .hero-stats .stat-number {
            font-family: var(--font-serif);
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--color-secondary);
            line-height: 1;
        }

        .hero-stats .stat-label {
            font-size: 0.85rem;
            color: var(--color-text-light);
            margin-top: 0.25rem;
        }

        .hero-visual {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero-visual .hero-image {
            width: 100%;
            max-width: 520px;
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-hover);
            object-fit: cover;
            aspect-ratio: 4/3;
            transition: transform 0.6s ease;
        }

        .hero-visual .floating-card {
            position: absolute;
            bottom: -20px;
            left: -20px;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(12px);
            padding: 1rem 1.5rem;
            border-radius: 16px;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(255, 255, 255, 0.3);
            font-size: 0.85rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            animation: float 4s ease-in-out infinite;
        }

        .floating-card .icon {
            font-size: 1.6rem;
        }

        @keyframes float {
            0%,
            100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        /* ---------- Properties ---------- */
        .property-card {
            background: var(--color-white);
            border-radius: var(--radius-card);
            overflow: hidden;
            box-shadow: var(--shadow-card);
            transition: all var(--transition-smooth);
            transform: translateY(0);
        }

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

        .property-card img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            display: block;
        }

        .property-card .body {
            padding: 1.5rem 1.8rem 2rem;
        }

        .property-card .body h3 {
            margin-bottom: 0.3rem;
        }

        .property-card .body .location {
            font-size: 0.85rem;
            color: var(--color-text-light);
            display: flex;
            align-items: center;
            gap: 0.4rem;
            margin-bottom: 0.8rem;
        }

        .property-card .body .price {
            font-family: var(--font-serif);
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--color-primary);
        }

        .property-card .body .meta {
            display: flex;
            gap: 1.2rem;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(45, 42, 36, 0.06);
            font-size: 0.85rem;
            color: var(--color-text-light);
        }

        /* ---------- Testimonials ---------- */
        .testimonial-card {
            background: var(--color-white);
            padding: 2.2rem;
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            transition: all var(--transition-smooth);
        }

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

        .testimonial-card .stars {
            color: var(--color-gold);
            letter-spacing: 2px;
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .testimonial-card blockquote {
            font-size: 1rem;
            line-height: 1.7;
            color: var(--color-text);
            margin-bottom: 1.2rem;
            font-weight: 400;
        }

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

        .testimonial-card .author img {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
        }

        .testimonial-card .author .name {
            font-weight: 600;
            font-size: 0.95rem;
        }
        .testimonial-card .author .role {
            font-size: 0.8rem;
            color: var(--color-text-light);
        }

        /* ---------- FAQ ---------- */
        .faq-item {
            background: var(--color-white);
            border-radius: 16px;
            margin-bottom: 0.8rem;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
            border: 1px solid rgba(45, 42, 36, 0.04);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-item button {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.4rem 2rem;
            background: transparent;
            border: none;
            font-size: 1rem;
            font-weight: 600;
            font-family: var(--font-sans);
            color: var(--color-secondary);
            cursor: pointer;
            text-align: left;
            gap: 1rem;
        }

        .faq-item button .icon {
            font-size: 1.4rem;
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        .faq-item.open button .icon {
            transform: rotate(180deg);
        }

        .faq-item .answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            padding: 0 2rem;
            color: var(--color-text-light);
        }

        .faq-item.open .answer {
            max-height: 200px;
            padding: 0 2rem 1.6rem 2rem;
        }

        /* ---------- Contact Form ---------- */
        .contact-form {
            background: var(--color-white);
            padding: 2.5rem 3rem;
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
        }

        .contact-form .form-group {
            margin-bottom: 1.2rem;
        }

        .contact-form label {
            display: block;
            font-weight: 500;
            font-size: 0.9rem;
            margin-bottom: 0.3rem;
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 0.8rem 1.2rem;
            border: 1px solid rgba(45, 42, 36, 0.08);
            border-radius: 12px;
            font-family: var(--font-sans);
            font-size: 0.95rem;
            transition: border 0.3s ease;
            background: var(--color-offwhite);
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--color-primary);
            box-shadow: 0 0 0 3px rgba(166, 124, 74, 0.1);
        }

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

        .form-success {
            display: none;
            background: #e6f4e6;
            color: #2a6b2a;
            padding: 1rem 1.5rem;
            border-radius: 12px;
            margin-top: 1rem;
            font-weight: 500;
        }

        /* ---------- Footer ---------- */
        .footer {
            background: var(--color-secondary);
            color: rgba(255, 255, 255, 0.7);
            padding: 3rem 0 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

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

        .footer .logo {
            font-family: var(--font-serif);
            font-size: 1.4rem;
            color: var(--color-white);
            text-decoration: none;
        }
        .footer .logo span {
            color: var(--color-gold);
        }

        .footer .socials {
            display: flex;
            gap: 1.2rem;
        }

        .footer .socials a {
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            transition: color 0.3s;
            font-size: 1.2rem;
        }
        .footer .socials a:hover {
            color: var(--color-gold);
        }

        .footer .copy {
            font-size: 0.85rem;
            opacity: 0.6;
        }

        /* ---------- Responsive ---------- */
        @media (max-width: 1024px) {
            .grid-2 {
                gap: 2rem;
            }
            .grid-3 {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .mobile-toggle {
                display: flex;
            }

            .nav-links {
                position: fixed;
                top: var(--nav-height);
                left: 0;
                right: 0;
                background: rgba(249, 247, 244, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                padding: 2rem 2rem;
                gap: 1.8rem;
                transform: translateY(-120%);
                transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                border-bottom: 1px solid rgba(0, 0, 0, 0.04);
                box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
                align-items: flex-start;
            }

            .nav-links.open {
                transform: translateY(0);
            }

            .nav-actions {
                gap: 0.8rem;
            }
            .nav-actions .btn {
                padding: 0.5rem 1.2rem;
                font-size: 0.8rem;
            }

            .grid-2 {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .grid-3 {
                grid-template-columns: 1fr;
            }

            #hero {
                padding-top: calc(var(--nav-height) + 2rem);
                min-height: auto;
            }

            .hero-content h1 {
                font-size: clamp(2.2rem, 10vw, 3rem);
            }

            .hero-stats {
                flex-wrap: wrap;
                gap: 1.5rem;
            }

            .hero-visual .floating-card {
                display: none;
            }

            .section {
                padding: 4rem 0;
            }
            .container {
                padding: 0 1.2rem;
            }

            .contact-form {
                padding: 1.8rem;
            }

            .footer .container {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .hero-content .badge {
                font-size: 0.65rem;
                padding: 0.2rem 1rem;
            }
            .hero-content p {
                font-size: 1rem;
            }
            .hero-actions {
                flex-direction: column;
                align-items: stretch;
            }
            .hero-actions .btn {
                justify-content: center;
            }
            .property-card .body {
                padding: 1.2rem;
            }
            .property-card img {
                height: 180px;
            }
            .faq-item button {
                padding: 1rem 1.2rem;
                font-size: 0.9rem;
            }
            .faq-item .answer {
                padding: 0 1.2rem;
            }
            .faq-item.open .answer {
                padding: 0 1.2rem 1.2rem 1.2rem;
            }
        }

        /* ---------- Animation Reveal ---------- */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .js .reveal {
            opacity: 0;
            transform: translateY(40px);
        }

        .js .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* reduced motion */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
            .reveal {
                opacity: 1 !important;
                transform: none !important;
            }
            .floating-card {
                animation: none !important;
            }
        }

        /* ---------- RTL override ---------- */
        [dir="rtl"] .hero-content p {
            margin-right: 0;
        }

        [dir="rtl"] .hero-stats .stat-item {
            align-items: flex-end;
        }

        [dir="rtl"] .floating-card {
            left: auto;
            right: -20px;
        }

        [dir="rtl"] .nav-links {
            align-items: flex-end;
        }

        @media (max-width: 768px) {
            [dir="rtl"] .nav-links {
                align-items: flex-start;
            }
            [dir="rtl"] .hero-stats .stat-item {
                align-items: flex-start;
            }
        }
