@charset "UTF-8";

/* ==========================================================================
   LANGUAGE SYSTEM
   ========================================================================== */
body[data-lang="es"] .lang-en { display: none !important; }
body[data-lang="en"] .lang-es { display: none !important; }

/* ==========================================================================
   CSS CUSTOM PROPERTIES — DARK THEME (DEFAULT)
   ========================================================================== */
:root {
    /* Core palette */
    --bg-page: #0b1629;
    --bg-card: #0e1e38;
    --bg-card-alt: #101f3a;
    --accent-gold: #c9a84c;
    --accent-gold-hover: #dbb95a;
    --accent-gold-dim: rgba(201,168,76,0.2);
    --accent-gold-glow: rgba(201,168,76,0.08);
    --text-primary: #eef2f8;
    --text-secondary: #8a9bba;
    --text-muted: #5a6d8a;
    --border-subtle: rgba(201,168,76,0.15);
    --border-hover: rgba(201,168,76,0.45);
    --error-red: #e05c4d;
    --success-green: #34c759;
    --whatsapp: #25d366;
    --navbar-bg: rgba(11,22,41,0.6);
    --navbar-bg-scroll: rgba(11,22,41,0.97);
    --card-shadow: 0 4px 24px rgba(0,0,0,0.3);
    --overlay-hero: linear-gradient(100deg, rgba(11,22,41,0.97) 0%, rgba(11,22,41,0.85) 45%, rgba(11,22,41,0.3) 100%);
    --footer-bg: #060d1a;
    --dot-pattern: rgba(201,168,76,0.03);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing */
    --section-pad: clamp(60px, 10vw, 120px);
    --container-max: 1200px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.4s var(--ease-out-expo);
}

/* Light Theme */
[data-theme="light"] {
    --bg-page: #f4f1eb;
    --bg-card: #ffffff;
    --bg-card-alt: #faf8f3;
    --text-primary: #1a1a2e;
    --text-secondary: #5a5a6e;
    --text-muted: #8a8a9a;
    --border-subtle: rgba(201,168,76,0.25);
    --border-hover: rgba(201,168,76,0.6);
    --navbar-bg: rgba(244,241,235,0.6);
    --navbar-bg-scroll: rgba(244,241,235,0.97);
    --card-shadow: 0 4px 24px rgba(0,0,0,0.06);
    --overlay-hero: linear-gradient(100deg, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.78) 45%, rgba(26,26,46,0.2) 100%);
    --footer-bg: #0b1629;
    --dot-pattern: rgba(201,168,76,0.05);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.5s ease;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }

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

/* ==========================================================================
   DOT PATTERN BACKGROUND
   ========================================================================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, var(--dot-pattern) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */
.eyebrow {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-title em {
    font-style: italic;
    color: var(--accent-gold);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

.gold-line {
    width: 50px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    margin: 20px 0;
}

.gold-line-center {
    width: 50px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    margin: 20px auto;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: var(--navbar-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
    animation: navSlideDown 0.8s var(--ease-out-expo) forwards;
}

@keyframes navSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.navbar.scrolled {
    padding: 10px 0;
    background: var(--navbar-bg-scroll);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--border-subtle);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

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

.navbar-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-logo:hover img { transform: scale(1.05); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.35s var(--ease-out-expo);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-gold); }

/* Nav Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: 50px;
    padding: 6px 14px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #0b1629;
}

.nav-btn-wa {
    background: var(--whatsapp);
    border-color: var(--whatsapp);
    color: #fff;
}
.nav-btn-wa:hover {
    background: #20bd5a;
    border-color: #20bd5a;
    color: #fff;
    transform: scale(1.05);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.35s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-page);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-nav.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 700;
    transition: color 0.3s ease;
}

.mobile-nav a:hover { color: var(--accent-gold); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) saturate(0.85);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,0.12);
    border: 1px solid var(--accent-gold-dim);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 28px;
    /* Animation */
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s 0.3s var(--ease-out-expo) forwards;
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
    color: #fff;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(28px);
    animation: heroFadeUp 0.8s 0.45s var(--ease-out-expo) forwards;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: 1.12rem;
    color: #c0c8d8;
    margin-bottom: 32px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(28px);
    animation: heroFadeUp 0.8s 0.6s var(--ease-out-expo) forwards;
}

.hero-bullets {
    list-style: none;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d0d6e2;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
}

.hero-bullets li:nth-child(1) { animation: heroFadeUp 0.7s 0.7s var(--ease-out-expo) forwards; }
.hero-bullets li:nth-child(2) { animation: heroFadeUp 0.7s 0.82s var(--ease-out-expo) forwards; }
.hero-bullets li:nth-child(3) { animation: heroFadeUp 0.7s 0.94s var(--ease-out-expo) forwards; }

.hero-bullets li i {
    color: var(--accent-gold);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s 1.1s var(--ease-out-expo) forwards;
}

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: heroFadeUp 0.8s 1.4s var(--ease-out-expo) forwards;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 600;
}

.scroll-indicator-line {
    width: 2px;
    height: 28px;
    background: var(--accent-gold-dim);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-indicator-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--accent-gold);
    border-radius: 2px;
    animation: scrollLoop 1.8s ease-in-out infinite;
}

@keyframes scrollLoop {
    0%, 100% { top: 0; }
    50% { top: 18px; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-gold);
    color: #0b1629;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    border: 2px solid var(--accent-gold);
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 16px rgba(201,168,76,0.25);
}

.btn-gold:hover {
    background: transparent;
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.2);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-primary);
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    border: 1.5px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.35s ease;
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--whatsapp);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    border: 2px solid var(--whatsapp);
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 16px rgba(37,211,102,0.25);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    border-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 1;
}

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

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.problem-image-wrapper {
    position: relative;
}

.problem-image-wrapper img {
    border-radius: 16px;
    filter: brightness(0.8) saturate(0.85);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.problem-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-gold-dim);
    border-radius: 16px;
    z-index: -1;
}

.problem-causes {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cause-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.35s ease;
}

.cause-item:hover {
    border-color: var(--border-hover);
    transform: translateX(6px);
    box-shadow: var(--card-shadow);
}

.cause-item i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.cause-item span {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.92rem;
}

.problem-quote {
    margin-top: 28px;
    padding: 20px 24px;
    border-left: 3px solid var(--accent-gold);
    background: var(--accent-gold-glow);
    border-radius: 0 12px 12px 0;
}

.problem-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */
.process-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.process-card:hover::before { transform: scaleX(1); }

.process-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.process-number {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--accent-gold-dim);
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.process-card:hover .process-number { color: var(--accent-gold); }

.process-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.process-card p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Coverage list */
.coverage-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.coverage-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.coverage-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
}

.coverage-list li i {
    color: var(--accent-gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.coverage-image img {
    border-radius: 14px;
    width: 100%;
    height: 320px;
    object-fit: cover;
    filter: brightness(0.8) saturate(0.85);
}

/* ==========================================================================
   FOR WHOM SECTION
   ========================================================================== */
.whom-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 40px;
}

.whom-card {
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid var(--border-subtle);
}

.whom-card-yes {
    background: rgba(52,199,89,0.05);
    border-color: rgba(52,199,89,0.2);
}

.whom-card-no {
    background: rgba(224,92,77,0.05);
    border-color: rgba(224,92,77,0.2);
}

.whom-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whom-card-yes h3 i { color: var(--success-green); }
.whom-card-no h3 i { color: var(--error-red); }

.whom-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.whom-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.whom-card-yes .whom-list li i { color: var(--success-green); }
.whom-card-no .whom-list li i { color: var(--error-red); }

/* Inmobiliarias special block */
.inmob-block {
    background: var(--bg-card);
    border: 1px solid var(--accent-gold-dim);
    border-radius: 20px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.inmob-block h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.inmob-block h3 em { color: var(--accent-gold); font-style: italic; }

.inmob-block p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.inmob-image img {
    border-radius: 14px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.8) saturate(0.85);
}

/* ==========================================================================
   MISSION SECTION
   ========================================================================== */
.mission-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.mission-bg {
    position: absolute;
    inset: 0;
}

.mission-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(0.85);
}

.mission-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,22,41,0.92) 0%, rgba(11,22,41,0.7) 100%);
}

/* Gold accent line on left */
.mission-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    width: 3px;
    background: var(--accent-gold);
    z-index: 3;
    border-radius: 2px;
}

.mission-content {
    position: relative;
    z-index: 2;
    padding: 60px 80px;
    max-width: 700px;
}

.mission-content blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    color: #fff;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mission-content .attribution {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.stat-item {
    text-align: center;
    padding: 28px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 24px;
}

.contact-info h2 em { color: var(--accent-gold); font-style: italic; }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-gold-glow);
    border: 1px solid var(--accent-gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--accent-gold);
    color: #0b1629;
}

.contact-item-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item-value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.92rem;
}

.contact-item-value a { color: var(--text-primary); }
.contact-item-value a:hover { color: var(--accent-gold); }

/* Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px;
}

.contact-form-wrapper h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-page);
    border: 1.5px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

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

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

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

/* ==========================================================================
   MAP SECTION
   ========================================================================== */
.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    margin-top: 48px;
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--footer-bg);
    color: #fff;
    margin-top: var(--section-pad);
    position: relative;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    overflow: hidden;
    z-index: 1;
}

.footer-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-hover), var(--accent-gold));
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.footer-accent-2 {
    height: 16px;
    background: rgba(201,168,76,0.1);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    padding: 60px 0 32px;
    align-items: start;
}

.footer-logo-img {
    height: auto;
    width: 360px;
    max-width: 100%;
    margin-bottom: 16px;
    background: #fff;
    padding: 14px 20px;
    border-radius: 12px;
}

.footer-tagline {
    font-size: 0.92rem;
    color: #8a9bba;
    line-height: 1.7;
    max-width: 360px;
}

.footer-separator {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 0;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 36px 0;
}

.footer-col-title {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8a9bba;
    font-size: 0.88rem;
    padding: 4px 0;
    transition: all 0.3s ease;
}

.footer-link i {
    color: var(--accent-gold);
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
}

/* Arrow animation on hover */
.footer-link .arrow-icon {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    font-size: 0.7rem;
    color: var(--accent-gold);
}

.footer-link:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-link:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    text-align: center;
    font-size: 0.78rem;
    color: #5a6d8a;
    font-weight: 500;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON + POPUP
   ========================================================================== */
.wa-float-wrapper {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.wa-popup {
    background: #fff;
    color: #1a1a2e;
    border-radius: 16px 16px 4px 16px;
    padding: 14px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 6px 30px rgba(0,0,0,0.18);
    max-width: 240px;
    position: relative;
    opacity: 0;
    transform: translateY(10px) scale(0.92);
    pointer-events: none;
    transition: all 0.4s var(--ease-out-expo);
}

.wa-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.wa-popup::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-radius: 0 0 3px 0;
}

.wa-popup-close {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 2px 4px;
    transition: color 0.2s;
}

.wa-popup-close:hover { color: #333; }

.wa-popup p { margin: 0; padding-right: 14px; }

.wa-float {
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.35s ease;
    animation: waPulse 2s infinite;
    flex-shrink: 0;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.5);
    color: #fff;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 28px rgba(37,211,102,0.6), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ==========================================================================
   AUTHOR LINK (FOOTER)
   ========================================================================== */
.author-link {
    color: var(--accent-gold);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.author-link:hover { color: var(--accent-gold-hover); }

.author-arrow {
    font-size: 0.65rem;
    transition: transform 0.35s var(--ease-out-expo), opacity 0.35s ease;
    opacity: 0;
    transform: translateX(-6px);
}

.author-link:hover .author-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Form sending state */
.btn-gold.sending,
.btn-whatsapp.sending {
    opacity: 0.7;
    pointer-events: none;
}

.form-success-msg {
    background: rgba(52,199,89,0.1);
    border: 1px solid rgba(52,199,89,0.25);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--success-green);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: heroFadeUp 0.5s var(--ease-out-expo) forwards;
}

.form-error-msg {
    background: rgba(224,92,77,0.1);
    border: 1px solid rgba(224,92,77,0.25);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--error-red);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: heroFadeUp 0.5s var(--ease-out-expo) forwards;
}

/* ==========================================================================
   IMAGE PLACEHOLDERS
   ========================================================================== */
.img-placeholder {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
    padding: 20px;
    font-weight: 500;
    border: 1px dashed var(--border-subtle);
}
#noticias {
    background: var(--bg-card);
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    border-top: 1px solid var(--border-subtle);
}

#noticias::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(201,168,76,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

#noticias .container {
    position: relative;
    z-index: 1;
}

#noticias .elfsight-app-7250b8d1-926a-49d3-8cb1-f39479daa139 {
    width: 100% !important;
}

.eapps-widget-toolbar {
    display: none !important;
}
/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .problem-grid { grid-template-columns: 1fr; gap: 40px; }
    .coverage-box { grid-template-columns: 1fr; }
    .inmob-block { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .stats-row { grid-template-columns: repeat(3, 1fr); }
    .mission-content { padding: 48px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: flex; }

    .hero-content { padding: 100px 0 60px; }

    .process-cards { grid-template-columns: 1fr; }
    .whom-columns { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-links-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; gap: 16px; }

    .mission-content { padding: 36px 28px; }
    .mission-content blockquote { font-size: 1.2rem; }

    .hero h1 { font-size: clamp(2rem, 6vw, 2.8rem); }

    .problem-image-wrapper::after { display: none; }

    .hero-overlay {
        background: linear-gradient(0deg, rgba(11,22,41,0.97) 0%, rgba(11,22,41,0.8) 60%, rgba(11,22,41,0.4) 100%) !important;
    }

    .inmob-block { padding: 32px 24px; }
    .contact-form-wrapper { padding: 28px 20px; }

    .wa-float-wrapper {
        bottom: 20px;
        right: 20px;
    }

    .wa-float {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }

    .wa-popup { max-width: 200px; font-size: 0.82rem; }

    .scroll-indicator { display: none; }

    .form-actions { flex-direction: column; }
    .form-actions .btn-gold,
    .form-actions .btn-whatsapp { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn-gold,
    .hero-buttons .btn-outline { width: 100%; justify-content: center; }
}
[data-theme="light"] .navbar-logo img {
    filter: brightness(0) saturate(100%);
}