@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    /* Color Palette */
    --primary-gold: #B79367;
    --primary-gold-rgb: 183, 147, 103;
    --dark-charcoal: #111111;
    --soft-beige: #F8F6F3;
    --white: #FFFFFF;
    --text-main: #333333;
    --text-muted: #666666;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;

    /* Spacing & Transitions */
    --section-padding: 100px 0;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
.serif {
    font-family: var(--font-serif);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--white);
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--dark-charcoal);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--dark-charcoal);
}

.section-title p {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: 600;
}

/* Header Hierarchies */
.top-bar {
    background-color: #0c0c0c;
    color: rgba(255, 255, 255, 0.5);
    padding: 8px 0;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

.main-header {
    background-color: #1a1a1a;
    padding: 0;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1000;
}

.main-header .container {
    max-width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

@media (max-width: 768px) {
    .main-header .container {
        padding: 0 20px;
        height: 70px;
    }
}

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand-logo {
    height: 70px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.main-header.sticky .brand-logo {
    height: 55px;
}

.nav-links ul {
    display: flex;
    gap: 30px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
}

.nav-links a {
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 35px 0;
    display: block;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-gold);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-gold);
}

.header-right-gold {
    background-color: var(--primary-gold);
    display: flex;
    align-items: center;
    padding: 20px 40px;
    gap: 30px;
    height: 100%;
}

.header-right-gold .btn-book {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 12px 25px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    font-weight: 600;
}

.header-right-gold .contact-call {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #1a1a1a;
}

.header-right-gold .phone-icon {
    width: 35px;
    height: 35px;
    background-color: #1a1a1a;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.header-right-gold .call-text {
    display: flex;
    flex-direction: column;
}

.header-right-gold .call-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.header-right-gold .phone-number {
    font-size: 13px;
    font-weight: 600;
}


@media (max-width: 768px) {
    .d-flex {
        flex-direction: column !important;
        gap: 40px !important;
    }
}

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

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--white);
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--dark-charcoal);
    transform: translateY(-2px);
}

.btn-mobile-hero {
    display: none;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--dark-charcoal);
}

.section-title p {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 600;
}

/* Hero Section */


.hero {
    position: relative;
    height: 90vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(17, 17, 17, 0.6), rgba(17, 17, 17, 0.2));
}

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

.hero .subtitle {
    display: inline-block;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

/* Property Detail Page Styles */
.property-hero {
    height: 70vh;
    background-color: #1a1a1a;
    /* Fallback for missing images */
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-price {
    font-size: 32px;
    color: var(--primary-gold);
    font-weight: 500;
    margin-top: 20px;
    font-family: var(--font-serif);
}

.detail-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

.property-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    border-left: 2px solid var(--primary-gold);
    padding-left: 25px;
}

.feature-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 5px;
}

.feature-value {
    display: block;
    font-size: 20px;
    font-family: var(--font-serif);
    color: var(--dark-charcoal);
}

.detail-image img {
    height: 600px;
    width: 100%;
    object-fit: cover;
}

.hero h2 {
    font-size: clamp(32px, 8vw, 68px);
    line-height: 1.1;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px !important;
    }
}

/* Elevated Property Showcase */

/* Elevated Property Showcase */
.property-showcase-elevated {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.property-showcase-elevated::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -150px;
    width: 600px;
    height: 600px;
    background-image: url('/Users/tilenecentrale/.gemini/antigravity/brain/d7c58ec2-ade6-4d35-bec6-3f902183c654/architectural_detail_dakar_luxury_1770306789377.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.03;
    transform: translateY(-50%);
    pointer-events: none;
}

.showcase-header {
    text-align: center;
    margin-bottom: 80px;
}

.showcase-header .subtitle {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.showcase-header h2 {
    font-size: 52px;
    color: var(--dark-charcoal);
    line-height: 1.1;
}

@media (max-width: 768px) {
    .showcase-header h2 {
        font-size: 32px !important;
    }
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.showcase-text .label {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 25px;
    display: block;
}

.showcase-text h3 {
    font-size: 42px;
    margin-bottom: 30px;
    line-height: 1.2;
    color: var(--dark-charcoal);
}

.text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .text-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.showcase-video-placeholder {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.showcase-video-placeholder img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--primary-gold);
    color: var(--white);
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent currentColor;
    margin-left: 4px;
}

.property-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .property-types-grid {
        grid-template-columns: 1fr !important;
    }
}

.type-card {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
}

.type-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.type-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--white);
}

.type-price {
    background-color: rgba(183, 147, 103, 0.9);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 10px;
}

.type-name {
    font-family: var(--font-serif);
    font-size: 16px;
}

@media (max-width: 992px) {
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .property-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Services section */
.services-section {
    padding: var(--section-padding);
}

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

.service-item {
    padding: 40px;
    background-color: var(--soft-beige);
    text-align: center;
    transition: var(--transition-smooth);
}

.service-item:hover {
    background-color: var(--dark-charcoal);
    color: var(--white);
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-item:hover h3 {
    color: var(--primary-gold);
}

/* About section */
.about-section {
    padding: var(--section-padding);
}

.about-img img {
    border-left: 10px solid var(--primary-gold);
    box-shadow: 20px 20px 0 var(--soft-beige);
}

/* Footer Styling */
footer {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: 80px 0 40px;
}

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

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column {
        margin-bottom: 20px;
    }
}

.footer-column h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 25px;
    position: relative;
    letter-spacing: 1px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 25px;
    height: 2px;
    background-color: var(--primary-gold);
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-column ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.img-animated {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-animated.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Unique Chevron Transition */
.chevron-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: var(--white);
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
    z-index: 10;
}


.about-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

/* Team Section */
.team-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F6F3 100%);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(183, 147, 103, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.team-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(183, 147, 103, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.team-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.type-card {
    position: relative;

    .team-card {
        position: relative;
        cursor: pointer;
    }

    .team-img-wrapper {
        width: 100%;
        height: 350px;
        overflow: hidden;
        border-radius: 50%;
        /* Circular Frame */
        margin-bottom: 20px;
        border: 2px solid rgba(183, 147, 103, 0.2);
        /* Optional subtle gold border */
        aspect-ratio: 1 / 1;
        /* Force square aspect ratio */
    }

    .team-img {
        height: 400px;
        overflow: hidden;
        position: relative;
        border-radius: 50%;
        aspect-ratio: 1 / 1;
        margin: 0 auto 20px;
        border: 1px solid rgba(183, 147, 103, 0.3);
    }

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

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

    .team-card:hover .team-img-wrapper img {
        transform: scale(1.05);
        filter: grayscale(0%);
    }

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

    .team-name {
        font-size: 28px;
        margin-bottom: 8px;
        color: var(--dark-charcoal);
        font-family: var(--font-serif);
    }

    .team-role {
        color: var(--primary-gold);
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 11px;
        font-weight: 600;
    }

    @media (max-width: 768px) {
        .team-img-wrapper {
            height: 450px;
        }

        .team-name {
            font-size: 24px;
        }
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .top-bar {
            display: none;
        }

        .main-header {
            padding: 10px 0;
        }

        .main-header .container {
            padding: 0 20px;
        }

        .brand-logo {
            height: 50px;
        }

        .header-right-gold {
            display: none;
        }

        .menu-toggle {
            display: flex;
            position: fixed;
            top: 10px;
            right: 20px;
            z-index: 10001;
            cursor: pointer;
            width: 50px;
            height: 50px;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: var(--transition-smooth);
        }

        .menu-toggle:hover {
            background: rgba(183, 147, 103, 0.2);
            border-color: var(--primary-gold);
            transform: scale(1.05);
        }

        .main-header.sticky .menu-toggle {
            background: rgba(183, 147, 103, 0.4);
        }

        .nav-links {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background-color: #0F0F0F;
            /* Dark Charcoal */
            z-index: 10000;
            padding: 120px 0 0;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        }

        .nav-links.active {
            opacity: 1;
            pointer-events: auto;
        }

        .nav-links ul {
            flex-direction: column;
            gap: 40px;
            text-align: center;
            width: 100%;
        }

        .nav-links a {
            color: rgba(255, 255, 255, 0.5);
            /* Dimmed initially */
            font-family: var(--font-serif);
            font-size: 42px;
            /* Large luxury type */
            padding: 10px 0;
            opacity: 0;
            transform: translateY(30px);
            transition: color 0.3s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease;
            display: inline-block;
            position: relative;
        }

        /* Active Menu Animations */
        .nav-links.active a {
            opacity: 1;
            transform: translateY(0);
            color: var(--white);
        }

        /* Staggered Delays */
        .nav-links.active li:nth-child(1) a {
            transition-delay: 0.1s;
        }

        .nav-links.active li:nth-child(2) a {
            transition-delay: 0.2s;
        }

        .nav-links.active li:nth-child(3) a {
            transition-delay: 0.3s;
        }

        .nav-links.active li:nth-child(4) a {
            transition-delay: 0.4s;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary-gold);
        }

        .nav-links a::after {
            content: '';
            display: none;
            /* Remove underlines for cleaner look */
        }

        .hero h2 {
            font-size: 42px;
        }

        .footer-grid {
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
    }

    @media (max-width: 768px) {
        .hero h2 {
            font-size: 38px;
        }

        .btn-mobile-hero {
            display: inline-block;
            margin: 0 auto;
            padding: 18px 40px;
            font-size: 14px;
            box-shadow: 0 10px 30px rgba(183, 147, 103, 0.3);
        }

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


    .menu-toggle span {
        position: absolute;
        /* To stack them for the icon */
        right: auto;
        width: 24px;
        height: 2px;
        background-color: var(--white);
        transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
        display: block;
    }

    /* Standard Hamburger State */
    .menu-toggle span:nth-child(1) {
        top: 18px;
    }

    .menu-toggle span:nth-child(2) {
        top: 24px;
        opacity: 1;
    }

    .menu-toggle span:nth-child(3) {
        top: 30px;
    }

    /* Active X State */
    .menu-toggle.active span:nth-child(1) {
        top: 24px;
        transform: rotate(45deg);
        background-color: var(--white);
        /* Keep white on dark overlay */
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        width: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        top: 24px;
        transform: rotate(-45deg);
        background-color: var(--white);
    }

    /* Proprietaires Page Styles */
    :root {
        --magazine-gold: #b79367;
        --magazine-black: #1a1a1a;
        --magazine-beige: #fbf9f6;
    }

    .editorial-hero {
        height: 100vh;
        display: grid;
        grid-template-columns: 1fr 1fr;
        background-color: var(--white);
        overflow: hidden;
    }

    .editorial-text {
        padding: 10% 15%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .editorial-image {
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .editorial-image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.05);
    }

    .manifesto-section {
        padding: 150px 0;
        background-color: var(--magazine-beige);
        text-align: center;
    }

    .manifesto-content {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .manifesto-content h2 {
        font-size: 52px;
        line-height: 1.1;
        margin-bottom: 40px;
        color: var(--magazine-black);
    }

    .manifesto-content p {
        font-size: 20px;
        line-height: 1.8;
        color: var(--text-muted);
        font-style: italic;
    }

    .process-magazine {
        padding: 120px 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 80px;
    }

    .process-step {
        position: relative;
    }

    .step-number {
        font-family: var(--font-serif);
        font-size: 120px;
        color: rgba(183, 147, 103, 0.1);
        position: absolute;
        top: -60px;
        left: -20px;
        z-index: 1;
    }

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

    .step-content h3 {
        font-size: 24px;
        margin-bottom: 15px;
        color: var(--magazine-black);
    }

    .valuation-cta {
        background-color: var(--magazine-black);
        color: var(--white);
        padding: 150px 0;
        position: relative;
        overflow: hidden;
    }

    .valuation-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/Users/tilenecentrale/.gemini/antigravity/brain/d7c58ec2-ade6-4d35-bec6-3f902183c654/architectural_detail_dakar_luxury_1770306789377.png');
        background-size: cover;
        background-position: center;
        opacity: 0.15;
    }

    @media (max-width: 992px) {
        .editorial-hero {
            grid-template-columns: 1fr;
        }

        .editorial-image {
            height: 50vh;
            order: -1;
        }

        .process-magazine {
            grid-template-columns: 1fr;
            gap: 100px;
        }
    }

    /* Mobile Alignment Fixes - Phase 9 */
    @media (max-width: 768px) {
        .manifesto-content h2 {
            font-size: 32px !important;
        }

        .editorial-hero h2.serif {
            font-size: 36px !important;
            line-height: 1.2 !important;
        }

        .manifesto-section,
        .valuation-cta,
        .process-magazine {
            padding: 60px 0;
        }

        .section-title h2 {
            font-size: 28px;
        }

        .hero-content h2 {
            font-size: 32px;
        }

        .hero-content .subtitle {
            font-size: 14px;
        }

        .step-number {
            font-size: 80px;
            top: -40px;
            left: 0;
        }

        .valuation-cta h2 {
            font-size: 32px !important;
        }

        .container {
            padding: 0 20px;
        }

        /* Phase 11: Content Stacking */
        .d-flex {
            flex-direction: column !important;
            gap: 40px !important;
        }

        .process-magazine {
            grid-template-columns: 1fr !important;
            gap: 60px !important;
        }

        .d-flex>div,
        .d-flex>img,
        .d-flex .flex-1 {
            width: 100% !important;
            max-width: 100% !important;
        }

        /* Ensure images in stacked layouts look good */
        .d-flex img {
            height: auto;
            width: 100%;
            object-fit: cover;
        }

        /* Phase 12: Typography Polish */
        .step-number {
            font-size: 60px !important;
            top: -30px !important;
            opacity: 0.15;
            z-index: 0;
        }

        /* Force all h2s to fit */
        h2,
        .serif,
        .section-title h2,
        .manifesto-content h2,
        .editorial-hero h2.serif,
        .hero-content h2,
        .valuation-cta h2 {
            font-size: 28px !important;
            line-height: 1.3 !important;
            word-wrap: break-word;
            hyphens: auto;
        }

        /* Phase 13: Aggressive Mobile Text Scaling */
        .step-number {
            display: none !important;
        }

        /* Strict 24px limit for ALL headers on mobile */
        h2,
        .serif,
        .section-title h2,
        .manifesto-content h2,
        .editorial-hero h2.serif,
        .hero-content h2,
        .valuation-cta h2 {
            font-size: 24px !important;
            line-height: 1.25 !important;
            word-break: break-word !important;
            overflow-wrap: break-word !important;
        }

        /* Phase 14: Hamburger Menu Sensitivity */
        .menu-toggle {
            display: flex !important;
            /* Ensure flex is active */
            flex-direction: column !important;
            /* Stack spans vertically */
            justify-content: center !important;
            /* Center icon vertically in the 50px box */
            align-items: center !important;
            /* Center icon horizontally */
            width: 50px !important;
            /* Touch target width */
            height: 50px !important;
            /* Touch target height */
            cursor: pointer !important;
            background-color: transparent;
            /* Clean hit area */
            gap: 6px !important;
            /* Explicit gap between lines */
        }

        /* Reset spans */
        .menu-toggle span {
            margin: 0 !important;
            /* Remove any legacy margins */
            display: block;
            flex-shrink: 0;
            /* Prevent squishing */
        }

        /* Adjust active state transforms if necessary */
        /* Since we rely on transforms that use translate, centering might offset slightly.
       However, the 50x50 box is centered, so the origin remains consistent. */
    }

    /* =========================================
   ABOUT PAGE REDESIGN STYLES
   ========================================= */

    /* Global Utilities for Redesign */
    .section-padding {
        padding: 120px 0;
    }

    .bg-soft-beige {
        background-color: #F9F7F4;
    }

    .bg-dark {
        background-color: #0F0F0F;
    }

    .text-white {
        color: #FFFFFF;
    }

    .mb-20 {
        margin-bottom: 20px;
    }

    .mb-30 {
        margin-bottom: 30px;
    }

    .mb-40 {
        margin-bottom: 40px;
    }

    .mb-60 {
        margin-bottom: 60px;
    }

    .mt-40 {
        margin-top: 40px;
    }

    .grid-2-cols {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .gap-80 {
        gap: 80px;
    }

    .gap-100 {
        gap: 100px;
    }

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

    .align-end {
        align-items: flex-end;
    }

    .d-none-mobile {
        display: block;
    }

    /* Typography */
    .display-title {
        font-size: clamp(48px, 6vw, 90px);
        line-height: 1.2;
        margin-bottom: 20px;
        letter-spacing: -0.5px;
    }

    .section-label {
        display: inline-block;
        font-family: var(--font-sans);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 4px;
        color: var(--primary-gold);
        margin-bottom: 15px;
        font-weight: 600;
    }

    .section-heading {
        font-size: clamp(32px, 4vw, 56px);
        line-height: 1.1;
        color: var(--dark-charcoal);
    }

    .text-body p {
        font-size: 16px;
        line-height: 1.8;
        color: #555;
        font-weight: 300;
    }

    /* Hero Section */
    .page-hero {
        position: relative;
        height: 85vh;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        /* Parallax effect */
    }

    .hero-overlay-gradient {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    }

    .hero-content-centered {
        position: relative;
        z-index: 2;
        text-align: center;
        color: #fff;
        max-width: 900px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0 20px;
    }

    .hero-content-centered h1,
    .hero-content-centered .display-title {
        color: #FFFFFF !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    @media (max-width: 768px) {

        .hero-content-centered h1,
        .hero-content-centered .display-title {
            font-size: 42px !important;
            /* Prevent crashing on mobile */
            line-height: 1.1;
        }
    }

    .subtitle-badge {
        display: inline-block;
        padding: 6px 16px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50px;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 20px;
        backdrop-filter: blur(5px);
    }

    .scroll-indicator {
        position: absolute;
        bottom: -15vh;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
        opacity: 0.7;
    }

    .scroll-indicator .line {
        width: 1px;
        height: 60px;
        background: linear-gradient(to bottom, #fff, transparent);
    }

    /* Image Frames */
    .image-frame-gold {
        position: relative;
        padding: 0;
    }

    .image-frame-gold::before {
        content: '';
        position: absolute;
        top: -20px;
        right: -20px;
        width: 100%;
        height: 100%;
        border: 1px solid var(--primary-gold);
        z-index: -1;
    }

    .image-frame-gold img {
        width: 100%;
        display: block;
        aspect-ratio: 4/5;
        object-fit: cover;
    }

    /* Values Section */
    .values-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        margin-top: 60px;
    }

    .value-card {
        padding: 40px 30px;
        border: 1px solid rgba(183, 147, 103, 0.2);
        transition: all 0.5s ease;
        background: #fff;
    }

    .value-card:hover {
        border-color: var(--primary-gold);
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    }

    .value-icon {
        font-size: 60px;
        font-family: var(--font-serif);
        color: rgba(183, 147, 103, 0.2);
        line-height: 1;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .value-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
        color: var(--dark-charcoal);
    }

    .value-card p {
        font-size: 14px;
        color: #666;
        line-height: 1.6;
    }

    /* Team Section Premium */
    .team-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .team-card-premium {
        position: relative;
        text-align: center;
    }

    .team-img {
        width: 250px !important;
        height: 250px !important;
        margin: 0 auto 20px;
        border-radius: 50% !important;
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 5px solid var(--white);
        aspect-ratio: 1 / 1;
    }

    .team-img img {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
        display: block;
        transition: var(--transition-smooth);
    }

    .team-card-premium:hover .team-img img {
        transform: scale(1.1);
    }

    .team-card-premium .team-overlay {
        position: absolute;
        inset: 0;
        background: rgba(183, 147, 103, 0.8) !important;
        /* Gold overlay */
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.4s ease;
        border-radius: 50%;
    }

    .team-card-premium:hover .team-overlay {
        opacity: 1;
    }

    .social-icons a {
        color: #fff;
        margin: 0 10px;
        font-size: 12px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        width: 35px;
        height: 35px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
    }

    .social-icons a:hover {
        background: var(--primary-gold);
        border-color: var(--primary-gold);
        color: #000;
    }

    .team-info h4 {
        font-size: 22px;
        margin-bottom: 5px;
        color: var(--dark-charcoal);
    }

    .team-info .role {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--primary-gold);
        font-weight: 600;
    }

    /* Review Button / Links */
    .btn-text-arrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 600;
        color: var(--dark-charcoal);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 5px;
    }

    .btn-text-arrow:hover {
        color: var(--primary-gold);
        border-color: var(--primary-gold);
    }

    .btn-text-arrow .arrow {
        transition: transform 0.3s ease;
    }

    .btn-text-arrow:hover .arrow {
        transform: translateX(5px);
    }

    .btn-gold {
        background-color: var(--primary-gold);
        color: #fff;
        padding: 18px 45px;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 12px;
        font-weight: 600;
        display: inline-block;
        border: 1px solid var(--primary-gold);
    }

    .btn-gold:hover {
        background-color: transparent;
        color: var(--primary-gold);
    }

    /* Animations Delay Classes */
    .delay-1 {
        transition-delay: 0.1s;
    }

    .delay-2 {
        transition-delay: 0.2s;
    }

    .delay-3 {
        transition-delay: 0.3s;
    }

    /* Responsive Adjustments */
    @media (max-width: 992px) {
        .page-hero {
            height: 70vh;
        }

        .grid-2-cols {
            grid-template-columns: 1fr;
            gap: 50px;
        }

        .values-grid,
        .team-grid {
            grid-template-columns: 1fr;
        }

        .image-content {
            order: -1;
        }

        /* Image first on mobile */
        .d-none-mobile {
            display: none;
        }

        .section-heading {
            font-size: 36px;
        }

        .display-title {
            font-size: 42px;
        }
    }

    /* Property Card Overlay Link */
    .card-link-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        cursor: pointer;
    }

    .type-card {
        position: relative;
    }
}

/* Closing any potential open media query */

/* Responsive Navbar Styles */
@media (max-width: 992px) {
    .main-header .container {
        padding: 0 20px;
        height: 70px;
    }

    .brand-logo {
        height: 40px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 1002;
    }

    .menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--white);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Hamburger Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Mobile Navigation Drawer */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #111;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 1s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        text-align: center;
    }

    .nav-links a {
        font-family: var(--font-serif);
        font-size: 32px;
        padding: 0;
        color: var(--white);
    }

    .header-right-gold {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 80vh;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .about-img img {
        box-shadow: 10px 10px 0 var(--soft-beige);
    }
}

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

@media (max-width: 768px) {
    .benefit-grid {
        grid-template-columns: 1fr;
    }
}

/* Airbnb Premium Section Redesign */
.airbnb-section .image-frame-gold {
    position: relative;
    z-index: 1;
}

.airbnb-section .image-frame-gold::before {
    top: -15px;
    right: -15px;
    border-width: 2px;
}

.benefit-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.benefit-card {
    background: white;
    padding: 25px;
    border: 1px solid rgba(183, 147, 103, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
    border-color: rgba(183, 147, 103, 0.3);
}

.card-icon {
    font-size: 24px;
    background: var(--soft-beige);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-gold);
}

.benefit-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark-charcoal);
}

.benefit-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .airbnb-section .grid-2-cols {
        gap: 40px;
    }

    .benefit-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Haute Conciergerie Premium Quote */
.premium-quote-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-quote-box:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {

    /* Haute Conciergerie Mobile Fixes */
    .premium-job-section .grid-2-cols,
    section .grid-2-cols {
        text-align: center;
    }

    /* Target the specific section using hierarchy if no specific class */
    section[style*="padding: 120px 0"] .grid-2-cols .animate-up:nth-child(2) {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    section[style*="padding: 120px 0"] .section-label {
        display: inline-block;
    }

    /* Center the divider */
    section[style*="padding: 120px 0"] .grid-2-cols div[style*="width: 60px"] {
        margin-left: auto;
        margin-right: auto;
    }

    /* Adjust Quote box for mobile */
    .premium-quote-box {
        text-align: center;
        padding: 30px;
    }

    .premium-quote-box .d-flex {
        justify-content: center;
    }

    .premium-quote-box span[style*="font-size: 60px"] {
        left: 50%;
        transform: translateX(-50%);
        top: -10px;
    }
}

/* Redesigned Properties Grid */
.property-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.premium-property-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    /* Round corners if desired, or keep sharp for classic luxury */
    /* border-radius: 4px; */
}

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

.premium-property-card:hover .property-bg-img {
    transform: scale(1.05);
}

.type-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.premium-property-card:hover .type-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.type-price {
    background: white;
    color: var(--dark-charcoal);
    padding: 8px 16px;
    font-family: var(--font-serif);
    font-size: 18px;
    align-self: flex-start;
    /* border-radius: 4px; */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-content-bottom {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.premium-property-card:hover .card-content-bottom {
    transform: translateY(0);
}

.type-name {
    font-family: var(--font-serif);
    font-size: 32px;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.property-category {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

@media (max-width: 768px) {
    .property-types-grid {
        grid-template-columns: 1fr;
    }

    .premium-property-card {
        height: 400px;
    }

    .type-name {
        font-size: 24px;
    }
}

/* Filter Bar */
.filter-btn {
    background: transparent;
    border: 1px solid rgba(183, 147, 103, 0.3);
    padding: 10px 25px;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-gold);
    color: white;
    border-color: var(--primary-gold);
}

/* Spotlight Section */
.spotlight-section .image-frame-gold::before {
    border-color: var(--primary-gold);
    top: 20px;
    left: 20px;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    border-width: 1px;
    z-index: -1;
}

@media (max-width: 768px) {
    .spotlight-section .grid-2-cols {
        text-align: center;
    }

    .spotlight-section .image-frame-gold {
        margin-bottom: 30px;
    }
}

/* Increased Padding for Footer Spacing */
.valuation-cta {
    padding-bottom: 140px !important;
}

/* FORCE CIRCULAR TEAM IMAGES GLOBAL OVERRIDE */
.team-img,
.team-img-wrapper {
    width: 280px !important;
    height: 280px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    margin: 0 auto 20px auto !important;
    overflow: hidden !important;
    border: 1px solid rgba(183, 147, 103, 0.4) !important;
}

.team-img img,
.team-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}