/* ==================================================
   TABLE OF CONTENTS
   1. CSS Variables & Reset
   2. Base & Typography
   3. Skip Link
   4. Header
   5. Mobile Menu
   6. Hero Slider
   7. Quick Actions
   8. About
   9. Strategic Areas
  10. Featured Properties
  11. Investment
  12. Development Capital
  13. Promotoras
  14. Off-Market
  15. Global Reach
  16. Methodology
  17. Insights
  18. Final CTA
  19. Footer
  20. WhatsApp Float
  21. Back to Top
  22. Utilities & Helpers
  23. Responsive
  24. Accessibility
  25. Performance
   ================================================== */

/* ================================================== */
/* 1. CSS VARIABLES & RESET                           */
/* ================================================== */

:root {
    --color-black: #07090A;
    --color-obsidian: #0B0F12;
    --color-anthracite: #141A1F;
    --color-slate: #26323B;
    --color-gold: #C79A45;
    --color-gold-light: #E0BE76;
    --color-gold-dark: #8D672B;
    --color-ivory: #F4F0E8;
    --color-white: #FFFFFF;
    --color-text-muted: #AEB5B9;
    --color-border: rgba(199, 154, 69, 0.25);

    --gold-gradient: linear-gradient(120deg, #8D672B 0%, #C79A45 35%, #E0BE76 50%, #B98735 75%, #8D672B 100%);

    --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --container-max: 1280px;
    --container-padding: clamp(1.25rem, 4vw, 3rem);

    --header-height: 72px;
    --header-height-scrolled: 64px;

    --transition-smooth: 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-ease: 350ms ease;

    --radius-sm: 2px;
    --radius-md: 4px;

    --z-header: 1000;
    --z-mobile-menu: 1100;
    --z-whatsapp: 900;
    --z-back-to-top: 800;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-black);
    color: var(--color-ivory);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

address {
    font-style: normal;
}

/* Focus-visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* ================================================== */
/* 2. BASE & TYPOGRAPHY                              */
/* ================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.75rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.25rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

h4 {
    font-size: 1.05rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

p {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    color: var(--color-text-muted);
    max-width: 65ch;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1px solid var(--color-border);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.section-tag--center {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

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

.section-title--center {
    text-align: center;
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    transition: all var(--transition-ease);
    min-height: 48px;
    min-width: 48px;
}

.btn--gold {
    background: var(--gold-gradient);
    color: var(--color-black);
    border-color: var(--color-gold);
}

.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(199, 154, 69, 0.25);
}

.btn--outline {
    background: transparent;
    color: var(--color-ivory);
    border-color: rgba(255, 255, 255, 0.25);
}

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

.btn--dark {
    background: var(--color-black);
    color: var(--color-ivory);
    border-color: var(--color-black);
}

.btn--dark:hover {
    background: var(--color-obsidian);
}

.btn--outline-dark {
    background: transparent;
    color: var(--color-black);
    border-color: var(--color-slate);
}

.btn--outline-dark:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-dark);
}

.btn--small {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    min-height: 40px;
}

/* ================================================== */
/* 3. SKIP LINK                                      */
/* ================================================== */

.skip-link {
    position: fixed;
    top: -100%;
    left: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-gold);
    color: var(--color-black);
    font-weight: 600;
    z-index: 9999;
    transition: top var(--transition-ease);
}

.skip-link:focus {
    top: 1rem;
}

/* ================================================== */
/* 4. HEADER                                         */
/* ================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: var(--z-header);
    background: rgba(7, 9, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(199, 154, 69, 0.08);
    transition: height var(--transition-smooth), background var(--transition-smooth);
}

.header--scrolled {
    height: var(--header-height-scrolled);
    background: rgba(7, 9, 10, 0.92);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    flex-shrink: 0;
}

.header__logo img {
    height: 36px;
    width: auto;
    transition: height var(--transition-ease);
}

.header--scrolled .header__logo img {
    height: 30px;
}

/* Navigation */
.header__nav {
    display: none;
}

@media (min-width: 1024px) {
    .header__nav {
        display: block;
    }
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__item {
    position: relative;
}

.nav__item>a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    transition: color var(--transition-ease);
}

.nav__item>a:hover,
.nav__item>a[aria-current="page"] {
    color: var(--color-ivory);
}

.nav__item>a[aria-haspopup="true"]::after {
    content: '';
    display: inline-block;
    margin-left: 0.3rem;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.5;
}

/* Submenu */
.submenu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 200px;
    background: var(--color-obsidian);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-ease);
}

.nav__item:hover .submenu,
.nav__item:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu li a {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    transition: all var(--transition-ease);
}

.submenu li a:hover {
    color: var(--color-ivory);
    background: rgba(199, 154, 69, 0.06);
}

/* Header Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header__lang {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.lang-btn {
    padding: 0.25rem 0.4rem;
    color: var(--color-text-muted);
    transition: color var(--transition-ease);
}

.lang-btn:hover {
    color: var(--color-ivory);
}

.lang-btn[aria-current="page"] {
    color: var(--color-gold);
}

.lang-divider {
    color: var(--color-text-muted);
    opacity: 0.3;
}

.header__cta {
    display: none;
}

@media (min-width: 1024px) {
    .header__cta {
        display: inline-flex;
    }
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

.hamburger__line {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-ivory);
    transition: all var(--transition-ease);
    transform-origin: center;
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ================================================== */
/* 5. MOBILE MENU                                    */
/* ================================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: var(--color-black);
    z-index: var(--z-mobile-menu);
    padding: var(--header-height) 0 2rem 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
}

.mobile-menu[aria-hidden="false"] {
    transform: translateX(0);
}

.mobile-menu__inner {
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 100%;
}

.mobile-menu__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav__list>li>a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.25rem;
    font-family: var(--font-serif);
    color: var(--color-ivory);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav__has-submenu>a::after {
    content: '+';
    float: right;
    opacity: 0.5;
}

.mobile-submenu {
    padding-left: 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-ease);
}

.mobile-submenu[aria-hidden="false"] {
    max-height: 400px;
}

.mobile-submenu li a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.mobile-menu__contact {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu__contact a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.mobile-menu__contact .btn {
    align-self: flex-start;
}

body.menu-open {
    overflow: hidden;
}

/* ================================================== */
/* 6. HERO SLIDER                                    */
/* ================================================== */

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: var(--color-black);
}

.hero__slider {
    position: relative;
    width: 100%;
    height: 100svh;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}

.hero__slide--active {
    opacity: 1;
    visibility: visible;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 6s ease;
}

.hero__slide--active .hero__bg {
    transform: scale(1);
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 9, 10, 0.75) 0%, rgba(7, 9, 10, 0.4) 60%, rgba(7, 9, 10, 0.65) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 780px;
    padding-top: var(--header-height);
}

.hero__tag {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.hero__title {
    color: var(--color-ivory);
    margin-bottom: 1.25rem;
}

.hero__text {
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    max-width: 60ch;
}

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

/* Controls */
.hero__controls {
    position: absolute;
    bottom: 2.5rem;
    right: var(--container-padding);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero__control {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-ivory);
    transition: all var(--transition-ease);
}

.hero__control:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.hero__indicator {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    min-width: 48px;
    text-align: center;
}

.hero__current {
    color: var(--color-ivory);
}

.hero__progress {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.hero__progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--color-gold);
    transition: width 0.3s linear;
}

.hero__pause {
    color: var(--color-text-muted);
    padding: 0.25rem;
    font-size: 0.8rem;
    transition: color var(--transition-ease);
}

.hero__pause:hover {
    color: var(--color-ivory);
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: var(--container-padding);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-ivory), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

.hero__scroll-text {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    writing-mode: vertical-rl;
}

@keyframes scrollPulse {
    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.5);
    }
}

/* Mobile hero adjustments */
@media (max-width: 767px) {
    .hero__controls {
        bottom: 1.5rem;
        right: 1rem;
        gap: 0.5rem;
    }
    .hero__control {
        width: 32px;
        height: 32px;
    }
    .hero__progress {
        width: 40px;
    }
    .hero__scroll {
        display: none;
    }
    .hero__tag {
        font-size: 0.6rem;
    }
}

/* ================================================== */
/* 7. QUICK ACTIONS                                   */
/* ================================================== */

.quick-actions {
    background: var(--color-obsidian);
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
}

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

@media (min-width: 768px) {
    .quick-actions__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    transition: all var(--transition-ease);
    min-height: 56px;
}

.quick-action:hover {
    background: rgba(199, 154, 69, 0.04);
    border-color: var(--color-border);
    transform: translateY(-2px);
}

.quick-action__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--color-gold);
}

.quick-action__icon svg {
    width: 100%;
    height: 100%;
}

.quick-action__title {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-ivory);
    flex: 1;
}

.quick-action__arrow {
    color: var(--color-gold);
    opacity: 0.5;
    transition: opacity var(--transition-ease);
}

.quick-action:hover .quick-action__arrow {
    opacity: 1;
}

@media (max-width: 480px) {
    .quick-action__title {
        font-size: 0.7rem;
    }
    .quick-action__icon {
        width: 22px;
        height: 22px;
    }
}

/* ================================================== */
/* 8. ABOUT                                          */
/* ================================================== */

.about {
    padding: 5rem 0;
    background: var(--color-black);
}

.about__grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about__image {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.about__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about__badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(7, 9, 10, 0.85);
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.badge__line {
    width: 24px;
    height: 1px;
    background: var(--color-gold);
}

.badge__text {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-ivory);
}

/* ================================================== */
/* 9. STRATEGIC AREAS                                */
/* ================================================== */

.areas {
    padding: 5rem 0;
    background: var(--color-obsidian);
}

.areas__grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .areas__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .areas__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.area-card {
    display: block;
    background: var(--color-anthracite);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition-ease);
}

.area-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border);
}

.area-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

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

.area-card:hover .area-card__image img {
    transform: scale(1.04);
}

.area-card__number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-gold);
    opacity: 0.6;
}

.area-card__content {
    padding: 1.5rem;
}

.area-card__content h3 {
    margin-bottom: 0.5rem;
}

.area-card__content p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.area-card__link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* ================================================== */
/* 10. FEATURED PROPERTIES                           */
/* ================================================== */

.featured {
    padding: 5rem 0;
    background: var(--color-black);
}

.featured__grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .featured__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.property-card {
    background: var(--color-obsidian);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition-ease);
}

.property-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border);
}

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

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

.property-card:hover .property-card__image img {
    transform: scale(1.04);
}

.property-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--color-gold);
    color: var(--color-black);
    padding: 0.2rem 0.75rem;
    border-radius: var(--radius-sm);
}

.property-card__body {
    padding: 1.25rem;
}

.property-card__category {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-gold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.property-card__location {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0.2rem 0 0.5rem 0;
}

.property-card__title {
    font-size: 1.2rem;
    font-family: var(--font-serif);
    margin-bottom: 0.25rem;
}

.property-card__price {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-ivory);
}

.property-card__meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0.5rem 0 0.75rem 0;
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.property-card__cta {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

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

/* ================================================== */
/* 11. INVESTMENT                                    */
/* ================================================== */

.investment {
    padding: 5rem 0;
    background: var(--color-obsidian);
}

.investment__grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .investment__grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

.investment__image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.investment__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.investment__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1rem;
    padding-left: 1rem;
}

.investment__list li {
    font-size: 0.9rem;
    color: var(--color-ivory);
    position: relative;
    padding-left: 1rem;
}

.investment__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

.investment__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.investment__legal {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.6;
    max-width: 60ch;
    margin-top: 0.5rem;
}

/* ================================================== */
/* 12. DEVELOPMENT CAPITAL                           */
/* ================================================== */

.development {
    padding: 5rem 0;
    background: var(--color-black);
    text-align: center;
}

.development__subtitle {
    max-width: 60ch;
    margin: 0 auto 3rem auto;
    color: var(--color-text-muted);
}

.development__timeline {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.development__timeline::before {
    content: '';
    position: absolute;
    top: 2.25rem;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: var(--color-border);
}

@media (max-width: 767px) {
    .development__timeline {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .development__timeline::before {
        display: none;
    }
}

.timeline__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.timeline__number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gold);
    background: var(--color-black);
    padding: 0 0.5rem;
}

.timeline__label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.development__legal {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.6;
    max-width: 60ch;
    margin: 1.5rem auto 0 auto;
}

/* ================================================== */
/* 13. PROMOTORAS                                    */
/* ================================================== */

.promotoras {
    padding: 5rem 0;
    background: var(--color-ivory);
    color: var(--color-black);
}

.promotoras__grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .promotoras__grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

.promotoras__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.promotoras__content .section-title {
    color: var(--color-black);
}

.promotoras__content p {
    color: var(--color-slate);
}

.promotoras__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1rem;
    padding-left: 1rem;
}

.promotoras__list li {
    font-size: 0.9rem;
    color: var(--color-black);
    position: relative;
    padding-left: 1rem;
}

.promotoras__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-gold-dark);
}

.promotoras__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.promotoras__image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

/* ================================================== */
/* 14. OFF-MARKET                                    */
/* ================================================== */

.offmarket {
    padding: 5rem 0;
    background: var(--color-anthracite);
}

.offmarket__content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.offmarket__text {
    margin: 0 auto 2rem auto;
}

.offmarket__steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    margin-bottom: 2.5rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.step__num {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gold);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
}

/* ================================================== */
/* 15. GLOBAL REACH                                  */
/* ================================================== */

.global {
    padding: 5rem 0;
    background: var(--color-black);
}

.global__subtitle {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto 2.5rem auto;
}

.global__map {
    position: relative;
    min-height: 240px;
    margin-bottom: 3rem;
    background: radial-gradient(ellipse at center, rgba(199, 154, 69, 0.04) 0%, transparent 70%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.map__dots {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 240px;
}

.dot {
    position: absolute;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.dot::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 16px rgba(199, 154, 69, 0.3);
}

.dot--madrid {
    top: 45%;
    left: 45%;
}

.dot--madrid::before {
    width: 14px;
    height: 14px;
    opacity: 1;
}

.dot--europe {
    top: 35%;
    left: 55%;
}

.dot--middle-east {
    top: 40%;
    left: 80%;
}

.dot--north-america {
    top: 30%;
    left: 15%;
}

.dot--latin-america {
    top: 65%;
    left: 30%;
}

.dot--asia {
    top: 55%;
    left: 88%;
}

.global__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.global__info strong {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.global__info span {
    font-size: 0.9rem;
    color: var(--color-ivory);
}

.global__cta {
    text-align: center;
}

/* ================================================== */
/* 16. METHODOLOGY                                   */
/* ================================================== */

.methodology {
    padding: 5rem 0;
    background: var(--color-obsidian);
}

.methodology__grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .methodology__grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.methodology__step {
    text-align: center;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
}

.methodology__step .step__number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-gold);
    opacity: 0.5;
    display: block;
    margin-bottom: 0.5rem;
}

.methodology__step h3 {
    font-size: 1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.methodology__step p {
    font-size: 0.85rem;
    margin: 0 auto;
}

/* ================================================== */
/* 17. INSIGHTS                                      */
/* ================================================== */

.insights {
    padding: 5rem 0;
    background: var(--color-black);
}

.insights__grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .insights__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.insight-card {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    transition: all var(--transition-ease);
}

.insight-card:hover {
    border-color: var(--color-border);
    transform: translateY(-2px);
}

.insight-card__category {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.insight-card h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0 0.5rem 0;
    font-family: var(--font-serif);
}

.insight-card h3 a {
    color: var(--color-ivory);
    transition: color var(--transition-ease);
}

.insight-card h3 a:hover {
    color: var(--color-gold);
}

.insight-card p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.insight-card__meta {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

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

/* ================================================== */
/* 18. FINAL CTA                                     */
/* ================================================== */

.final-cta {
    padding: 5rem 0;
    background: var(--color-gold);
    color: var(--color-black);
}

.final-cta__content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.final-cta__content h2 {
    color: var(--color-black);
    margin-bottom: 1rem;
}

.final-cta__content p {
    color: rgba(0, 0, 0, 0.7);
    margin: 0 auto 2rem auto;
}

.final-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.final-cta__buttons .btn--outline {
    border-color: rgba(0, 0, 0, 0.25);
    color: var(--color-black);
}

.final-cta__buttons .btn--outline:hover {
    border-color: var(--color-black);
}

/* ================================================== */
/* 19. FOOTER                                        */
/* ================================================== */

.footer {
    background: var(--color-black);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--color-border);
}

.footer__grid {
    display: grid;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    }
}

.footer__brand p {
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

.footer__brand img {
    height: 32px;
    width: auto;
}

.footer__column h4 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.footer__column ul li {
    margin-bottom: 0.4rem;
}

.footer__column ul li a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: color var(--transition-ease);
}

.footer__column ul li a:hover {
    color: var(--color-ivory);
}

.footer__contact address {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer__bottom {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.footer__legal ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.footer__legal ul li a {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    transition: color var(--transition-ease);
}

.footer__legal ul li a:hover {
    color: var(--color-ivory);
}

.footer__legal-notice p {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    opacity: 0.5;
    max-width: 80ch;
}

.footer__copy {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.footer__credit a {
    color: var(--color-text-muted);
    transition: color var(--transition-ease);
}

.footer__credit a:hover {
    color: var(--color-ivory);
}

/* ================================================== */
/* 20. WHATSAPP FLOAT                                */
/* ================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: var(--z-whatsapp);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(199, 154, 69, 0.35);
    transition: transform var(--transition-ease), box-shadow var(--transition-ease);
}

.whatsapp-float:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 28px rgba(199, 154, 69, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-float__tooltip {
    position: absolute;
    right: calc(100% + 0.75rem);
    background: var(--color-obsidian);
    color: var(--color-ivory);
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-ease);
    border: 1px solid var(--color-border);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 1rem;
        right: 1rem;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    .whatsapp-float__tooltip {
        display: none;
    }
}

/* ================================================== */
/* 21. BACK TO TOP                                   */
/* ================================================== */

.back-to-top {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    z-index: var(--z-back-to-top);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-obsidian);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-ease);
}

.back-to-top--visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

@media (max-width: 767px) {
    .back-to-top {
        bottom: 4.5rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }
}

/* ================================================== */
/* 22. UTILITIES & HELPERS                           */
/* ================================================== */

/* Text selection */
::selection {
    background: var(--color-gold);
    color: var(--color-black);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero__scroll-line {
        animation: none;
    }
    .hero__bg {
        transition: none;
    }
}

/* ================================================== */
/* 23. RESPONSIVE BREAKPOINTS                        */
/* ================================================== */

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --header-height: 64px;
    }
    .header__nav {
        display: none;
    }
    .header__cta {
        display: none;
    }
    .hero__content {
        max-width: 100%;
    }
    .hero__controls {
        bottom: 1.5rem;
        right: 1rem;
    }
    .investment__list {
        grid-template-columns: 1fr;
    }
    .promotoras__list {
        grid-template-columns: 1fr;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .quick-actions__grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .quick-action {
        padding: 0.5rem 0.75rem;
        min-height: 48px;
    }
    .quick-action__title {
        font-size: 0.65rem;
    }
    .hero__controls {
        gap: 0.25rem;
    }
    .hero__progress {
        width: 30px;
    }
    .hero__indicator {
        min-width: 36px;
        font-size: 0.65rem;
    }
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ================================================== */
/* 24. ACCESSIBILITY                                 */
/* ================================================== */

/* Focus styles for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* High contrast mode adjustments */
@media (prefers-contrast: high) {
    .btn--gold {
        background: var(--color-gold-dark);
        color: var(--color-white);
    }
    .btn--outline {
        border-color: var(--color-ivory);
    }
    .hero__overlay {
        background: rgba(0, 0, 0, 0.8);
    }
}

/* ================================================== */
/* 25. PERFORMANCE                                   */
/* ================================================== */

/* Will-change optimizations */
.hero__slide,
.area-card__image img,
.property-card__image img {
    will-change: transform;
}

/* Lazy loading placeholder */
img[loading="lazy"] {
    background: var(--color-anthracite);
}

/* Reduce repaints */
.header {
    will-change: transform, height, background;
}