/* ==========================================================================
   ESTILOS GLOBALES - LARRINAGA & ARJONA ABOGADOS
   Concepto: Prestigio, Pulcritud y Rigor Legal (Blanco, Negro y Dorado)
   ========================================================================== */

/* Importación de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600&display=swap');

/* Variables de Entorno - Sistema de Diseño HSL */
:root {
    /* Tema Claro (Default) */
    --bg-primary-hsl: 0, 0%, 100%;
    --bg-secondary-hsl: 210, 20%, 98%;
    --bg-tertiary-hsl: 210, 16%, 95%;
    
    --text-primary-hsl: 215, 28%, 12%;
    --text-secondary-hsl: 215, 16%, 40%;
    --text-muted-hsl: 215, 13%, 60%;
    
    --border-color-hsl: 215, 18%, 90%;
    --gold-primary-hsl: 41, 55%, 57%; /* #CBA557 */
    --gold-secondary-hsl: 41, 55%, 45%;
    --gold-glow-hsl: 41, 55%, 85%;
    
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(203, 165, 87, 0.15);
    
    /* Fuentes */
    --font-serif: 'Cinzel', serif;
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Transiciones */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease-out;
}

[data-theme="dark"] {
    /* Tema Oscuro */
    --bg-primary-hsl: 220, 24%, 6%; /* Deep dark slate-black #07090e */
    --bg-secondary-hsl: 220, 24%, 10%; /* #0c0f17 */
    --bg-tertiary-hsl: 220, 24%, 14%; /* #111520 */
    
    --text-primary-hsl: 210, 20%, 98%; /* Off-white */
    --text-secondary-hsl: 215, 16%, 75%; /* Slate-grey light */
    --text-muted-hsl: 215, 13%, 48%;
    
    --border-color-hsl: 220, 20%, 16%;
    --gold-primary-hsl: 41, 55%, 57%; /* #CBA557 stays consistent */
    --gold-secondary-hsl: 41, 65%, 67%; /* Shiner gold in dark mode */
    --gold-glow-hsl: 41, 55%, 20%;
    
    --card-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
    --glass-bg: rgba(7, 9, 14, 0.85);
    --glass-border: rgba(203, 165, 87, 0.25);
}

/* Colores derivados listos para usar */
:root {
    --bg-primary: hsl(var(--bg-primary-hsl));
    --bg-secondary: hsl(var(--bg-secondary-hsl));
    --bg-tertiary: hsl(var(--bg-tertiary-hsl));
    
    --text-primary: hsl(var(--text-primary-hsl));
    --text-secondary: hsl(var(--text-secondary-hsl));
    --text-muted: hsl(var(--text-muted-hsl));
    
    --border-color: hsl(var(--border-color-hsl));
    --gold-primary: hsl(var(--gold-primary-hsl));
    --gold-secondary: hsl(var(--gold-secondary-hsl));
    --gold-glow: hsl(var(--gold-glow-hsl));
}

/* ==========================================================================
   EFECTO MARMOLEADO EXCLUSIVO PARA MODO OSCURO
   ========================================================================== */
[data-theme="dark"] body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(203, 165, 87, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(203, 165, 87, 0.03) 0%, transparent 55%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1440 900' preserveAspectRatio='none'%3E%3Cpath d='M -100,150 C 200,120 400,280 600,200 T 1100,550 T 1600,600' fill='none' stroke='%23CBA557' stroke-width='0.8' opacity='0.16' /%3E%3Cpath d='M 150,0 Q 250,220 180,450 T -100,750' fill='none' stroke='%23CBA557' stroke-width='0.4' opacity='0.1' /%3E%3Cpath d='M 800,900 C 700,720 900,500 1150,300 T 1600,150' fill='none' stroke='%23CBA557' stroke-width='0.5' opacity='0.12' /%3E%3Cpath d='M -50,-50 C 350,250 500,450 1490,950' fill='none' stroke='%23CBA557' stroke-width='1.2' opacity='0.22' /%3E%3Cpath d='M 350,250 Q 420,380 550,300 T 800,500' fill='none' stroke='%23CBA557' stroke-width='0.4' opacity='0.08' /%3E%3Cpath d='M 1200,-50 C 1000,150 800,200 600,50 T 100,250' fill='none' stroke='%23FFFFFF' stroke-width='0.3' opacity='0.06' /%3E%3Cpath d='M 1000,850 Q 1150,650 1300,750 T 1500,600' fill='none' stroke='%23FFFFFF' stroke-width='0.3' opacity='0.05' /%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

[data-theme="dark"] .section-bg-alt {
    background-color: hsla(var(--bg-secondary-hsl), 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .hero-banner {
    background: 
        radial-gradient(circle at center, rgba(203, 165, 87, 0.15) 0%, transparent 75%),
        linear-gradient(135deg, #090c13 0%, #05060a 50%, #0e121e 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Invertir el logotipo negro de PNG a blanco puro en modo oscuro */
[data-theme="dark"] .logo img,
[data-theme="dark"] .hero-logo-img {
    filter: invert(1) brightness(1.5);
}

[data-theme="dark"] .logo-glass-shield:hover .hero-logo-img {
    filter: invert(1) brightness(1.5) drop-shadow(0 10px 20px rgba(203, 165, 87, 0.35));
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1.serif, h2.serif, h3.serif, .font-serif {
    font-family: var(--font-serif);
    letter-spacing: 0.03em;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
    text-align: justify;
}

a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--gold-secondary);
}

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

/* ==========================================================================
   ESTRUCTURA Y CONTENEDORES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6.5rem 0;
    position: relative;
}

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

.text-center,
.text-center p,
.testimonial-slide p {
    text-align: center;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--gold-primary);
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    text-align: center;
}

/* ==========================================================================
   BOTONES Y COMPONENTES INTERACTIVOS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--gold-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--gold-secondary);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(203, 165, 87, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--gold-primary);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--gold-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-dark {
    background-color: #111827;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-dark:hover {
    background-color: #1f2937;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Tarjetas */
.card {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2.25rem 2rem;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card-bullets {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0 0;
    font-size: 0.9rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
    font-weight: 300;
    color: var(--text-secondary);
}

.card-bullets li strong {
    font-weight: 500;
    color: var(--text-primary);
}

.card-bullets li::before {
    content: "✦";
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 1px;
    flex-shrink: 0;
}

/* Capa Ghost (Overlay Técnico al hacer Hover) */
.card-ghost-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 10;
}

.card:hover .card-ghost-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ghost-overlay-content {
    width: 100%;
}

.ghost-badge {
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(203, 165, 87, 0.3);
    padding-bottom: 2px;
}

.ghost-title {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.ghost-description {
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 300;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================================================
   CABECERA & MENÚ DE NAVEGACIÓN (STICKY GLASSMORPHIC)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    transition: var(--transition-smooth);
}

.header.scrolled .nav-container {
    height: 70px;
}

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

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-smooth);
}

.header.scrolled .logo img {
    height: 42px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    line-height: 1.1;
}

.logo-subtitle {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    margin-top: 0.15rem;
}

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

.nav-link {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Controles de Navegación */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Botón Toggle Modo Claro/Oscuro */
.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.theme-toggle-btn:hover {
    background-color: var(--bg-secondary);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.theme-toggle-btn .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle-btn .sun-icon {
    display: block;
}

/* Menú Móvil Hamburger */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 38px;
    height: 38px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: currentColor;
    transition: var(--transition-smooth);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 1.5rem;
        gap: 2rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
    }
    
    .header.scrolled .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   FOOTER (PIE DE PÁGINA)
   ========================================================================== */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

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

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer-col h3 {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    margin-bottom: 1.75rem;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 25px;
    height: 1px;
    background-color: var(--gold-primary);
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 1rem;
    color: var(--text-secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

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

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.footer-contact-info svg {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    fill: none;
    stroke: var(--gold-primary);
    stroke-width: 2;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    text-align: left;
}

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

.footer-legal-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal-links a:hover {
    color: var(--gold-primary);
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP (ANIMACIÓN MAGNÉTICA)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background-color: #20ba59;
    color: #ffffff;
}

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

/* ==========================================================================
   ANIMACIONES DE CARGA Y DESPLAZAMIENTO (SCROLL REVEAL)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-left.active, .reveal-right.active { transform: translateX(0); }

/* Animación de pulso dorado */
@keyframes goldPulse {
    0% { box-shadow: 0 0 0 0 rgba(203, 165, 87, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(203, 165, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(203, 165, 87, 0); }
}

.pulse-gold {
    animation: goldPulse 2s infinite;
}

/* ==========================================================================
   COMPONENTES ESPECÍFICOS Y UTILIDADES
   ========================================================================== */

/* Hero Banner Global */
.hero-banner {
    background: 
        radial-gradient(circle at center, rgba(203, 165, 87, 0.05) 0%, transparent 70%),
        linear-gradient(135deg, #fdfcfb 0%, #f6f3ed 50%, #ffffff 100%);
    padding: 9.5rem 0 5.5rem 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(203, 165, 87, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 2.25rem;
    }
}

.hero-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-breadcrumbs a {
    color: var(--text-muted);
}

.hero-breadcrumbs span {
    color: var(--gold-primary);
}

/* Insignias de Acreditaciones */
.badge {
    background-color: var(--gold-glow);
    color: var(--gold-primary);
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    margin-bottom: 1rem;
}

/* Marcos elegantes de fotos */
.photo-frame {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.photo-frame::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid var(--gold-primary);
    pointer-events: none;
    border-radius: 4px;
    opacity: 0.75;
    transition: var(--transition-smooth);
}

.photo-frame:hover::after {
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    opacity: 1;
}

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

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

/* ==========================================================================
   ACORDEÓN DE PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
}

.faq-item:hover,
.faq-item.open {
    border-color: var(--gold-primary);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-smooth);
}

.faq-question h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.faq-item.open .faq-question h3,
.faq-question:hover h3 {
    color: var(--gold-primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    transition: var(--transition-smooth);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    transition: var(--transition-smooth);
}

/* Línea Horizontal */
.faq-icon::before {
    width: 14px;
    height: 2px;
}

/* Línea Vertical */
.faq-icon::after {
    width: 2px;
    height: 14px;
}

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

/* Ocultar vertical al estar abierto */
.faq-item.open .faq-icon::after {
    transform: scaleY(0);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer-inner {
    padding: 0 2rem 1.5rem 2rem;
    border-top: 1px solid transparent;
}

.faq-answer-inner p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-secondary);
}

/* ==========================================================================
   ESTILOS DE FORMULARIO DE CONTACTO
   ========================================================================== */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-primary);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-bottom-color: var(--gold-primary);
}

.form-label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-smooth);
}

/* Efecto de label flotante al enfocar o si tiene contenido */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: -1.25rem;
    font-size: 0.75rem;
    color: var(--gold-primary);
}

textarea.form-control {
    min-height: 120px;
    resize: none;
}

/* ==========================================================================
   ESTILOS DEL HERO SPLIT-SCREEN (NUEVO)
   ========================================================================== */
.hero-home {
    position: relative;
    padding: 10rem 0 8rem 0;
    overflow: hidden;
    background: 
        radial-gradient(circle at 85% 30%, rgba(203, 165, 87, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, #fdfcfb 0%, #f6f3ed 50%, #ffffff 100%);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .hero-home {
    background: 
        radial-gradient(circle at 85% 30%, rgba(203, 165, 87, 0.15) 0%, transparent 65%),
        linear-gradient(135deg, #090c13 0%, #05060a 50%, #0e121e 100%);
}

.hero-container {
    position: relative;
    z-index: 5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    text-align: left;
}

.badge-gold {
    background-color: var(--gold-glow);
    color: var(--gold-primary);
    border: 1px solid var(--glass-border);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--gold-primary);
    border-radius: 50%;
    animation: pulseDot 1.8s infinite;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gold-gradient-text {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 620px;
    font-weight: 300;
}

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

.hero-secondary-btn {
    border-color: var(--text-primary) !important;
    color: var(--text-primary) !important;
}

.hero-secondary-btn:hover {
    background-color: var(--text-primary) !important;
    color: var(--bg-primary) !important;
}

/* Sección Visual - Escudo Orbital */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-orbital-container {
    width: 340px;
    height: 340px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatContainer 6s ease-in-out infinite;
}

.logo-glass-shield {
    width: 270px;
    height: 270px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow), inset 0 0 30px rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    z-index: 2;
}

.logo-glass-shield:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--gold-primary);
    box-shadow: 0 20px 50px rgba(203, 165, 87, 0.25);
}

.shield-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.shield-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-logo-img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    margin-bottom: 0;
    filter: drop-shadow(0 4px 10px rgba(203, 165, 87, 0.15));
    transition: var(--transition-smooth);
}

.logo-glass-shield:hover .hero-logo-img {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 10px 20px rgba(203, 165, 87, 0.35));
}

.shield-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    line-height: 1.2;
}

.shield-subtitle {
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    margin-top: 0.2rem;
}

.orbital-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(203, 165, 87, 0.25);
    pointer-events: none;
}

.orbital-ring-1 {
    width: 340px;
    height: 340px;
    animation: rotateRing1 25s linear infinite;
}

.orbital-ring-2 {
    width: 300px;
    height: 300px;
    animation: rotateRing2 18s linear infinite reverse;
    border-color: rgba(203, 165, 87, 0.15);
}

/* Animaciones */
@keyframes floatContainer {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes rotateRing1 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateRing2 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseDot {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Adaptabilidad Responsiva del Hero */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-description {
        margin: 0 auto 2.5rem auto;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .logo-orbital-container {
        width: 280px;
        height: 280px;
    }
    .logo-glass-shield {
        width: 220px;
        height: 220px;
    }
    .orbital-ring-1 {
        width: 280px;
        height: 280px;
    }
    .orbital-ring-2 {
        width: 250px;
        height: 250px;
    }
}

/* ==========================================================================
   LÍNEA DEL TIEMPO INTERACTIVA (PROCESO)
   ========================================================================== */
.timeline-container {
    max-width: 1100px;
    margin: 4rem auto 2rem auto;
    padding: 0 1rem;
    position: relative;
}

.timeline-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2.5rem 0;
}

/* Línea de fondo */
.timeline-line {
    position: absolute;
    top: 65px; /* Altura centrada en los nodos circulares de 80px */
    left: 8%;
    right: 8%;
    height: 3px;
    background-color: var(--border-color);
    border-radius: 4px;
    z-index: 1;
    overflow: visible; /* Permite ver el nodo viajero */
}

/* Relleno de progreso */
.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%; /* Gobernado por JS */
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 12px rgba(203, 165, 87, 0.4);
}

/* Nodo viajero (Traveler Bead) */
.timeline-traveler {
    position: absolute;
    top: 50%;
    left: 0%; /* Gobernado por JS */
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-secondary) 100%);
    border: 3px solid var(--gold-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 0 15px var(--gold-primary), 0 0 5px rgba(0, 0, 0, 0.3);
    transition: left 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Estructura de cada Paso */
.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: var(--transition-smooth);
}

/* Círculo Numeral */
.timeline-node {
    width: 80px;
    height: 80px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Efectos de Hover y Active */
.timeline-step:hover .timeline-node {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(203, 165, 87, 0.15);
}

.timeline-step.active .timeline-node {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--gold-glow) 100%);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(203, 165, 87, 0.3);
}

/* Anillo exterior pulsante para el nodo activo */
.timeline-step.active .timeline-node::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* Contenido de texto */
.timeline-content {
    padding: 0 0.5rem;
    transition: var(--transition-smooth);
}

.timeline-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.timeline-step.active .timeline-content h3 {
    color: var(--gold-primary);
}

.timeline-content p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-secondary);
    opacity: 0.85;
    transition: var(--transition-smooth);
    text-align: center;
}

.timeline-step.active .timeline-content p {
    opacity: 1;
    color: var(--text-primary);
}

/* RESPONSIVIDAD: Diseñando la línea en vertical en móviles y tabletas */
@media (max-width: 991px) {
    .timeline-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
        padding-left: 0;
    }

    /* Reposicionar la línea de fondo de horizontal a vertical */
    .timeline-line {
        top: 0;
        bottom: 0;
        left: 40px; /* Centrado en el nodo que mide 80px */
        right: auto;
        width: 3px;
        height: calc(100% - 80px); /* Restando la mitad del último nodo para terminar en su centro */
        margin-top: 40px; /* Empezar en el centro del primer nodo */
    }

    .timeline-progress {
        width: 100% !important; /* En móvil crece en vertical */
        height: 0%; /* JS gobernará la altura */
        background: linear-gradient(180deg, var(--gold-primary), var(--gold-secondary));
        transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .timeline-traveler {
        top: 0%; /* JS gobernará el top */
        left: 50%;
        transform: translate(-50%, -50%);
        transition: top 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .timeline-step {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 2rem;
        width: 100%;
    }

    .timeline-node {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .timeline-content {
        padding: 0;
        max-width: 600px;
    }

    .timeline-content p {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .timeline-wrapper {
        gap: 2.5rem;
    }

    .timeline-line {
        left: 25px;
        height: calc(100% - 50px);
        margin-top: 25px;
    }

    .timeline-node {
        width: 50px;
        height: 50px;
        font-size: 0.95rem;
    }

    .timeline-step {
        gap: 1.25rem;
    }

    .timeline-content h3 {
        font-size: 1.05rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   MINI MAPAS INTERACTIVOS PREMIUM
   ========================================================================== */
.mini-map-link {
    display: block;
    text-decoration: none;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.mini-map-container {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.mini-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    transition: var(--transition-smooth);
    filter: grayscale(0.7) contrast(1.05);
    pointer-events: none;
}

[data-theme="dark"] .mini-map-container iframe {
    filter: grayscale(0.85) invert(0.92) hue-rotate(180deg) contrast(1.2);
}

.mini-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 5;
}

[data-theme="dark"] .mini-map-overlay {
    background: rgba(0, 0, 0, 0.55);
}

.mini-map-btn {
    padding: 0.5rem 1rem;
    background-color: var(--gold-primary);
    color: #0c0f17;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Efecto hover */
.mini-map-link:hover .mini-map-container {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
    box-shadow: 0 8px 25px rgba(203, 165, 87, 0.15);
}

.mini-map-link:hover .mini-map-container iframe {
    filter: grayscale(0) contrast(1) invert(0) hue-rotate(0);
    transform: scale(1.04);
}

[data-theme="dark"] .mini-map-link:hover .mini-map-container iframe {
    filter: grayscale(0) contrast(1) invert(0) hue-rotate(0);
}

.mini-map-link:hover .mini-map-overlay {
    opacity: 1;
}

.mini-map-link:hover .mini-map-btn {
    transform: translateY(0);
}

