/* ==========================================================================
   GestorViajero Global Advisory - CSS Moderno & Fluido (Actualizado)
   Paleta: #0fbab7, #3e3932, #f1d989, #000c0c, #e2e3a9
   ========================================================================== */

:root {
    --color-teal: #0fbab7;
    --color-dark-brown: #3e3932;
    --color-gold: #f1d989;
    --color-black: #000c0c;
    --color-cream: #e2e3a9;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--color-dark-brown);
    background-color: var(--color-black);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

/* EFECTO DE TRANSICIÓN ENTRE PÁGINAS */
.page-transition {
    animation: pageFadeIn 0.6s ease forwards;
}

@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* PRELOADER 0.5s SOLO PARA INDEX */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    animation: hidePreloader 0.5s ease 0.5s forwards;
    pointer-events: none;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(15, 186, 183, 0.2);
    border-top-color: var(--color-teal);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes hidePreloader {
    to { opacity: 0; visibility: hidden; }
}

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

/* AVISO DISCLAMER GOOGLE ADS */
.gov-disclaimer-bar {
    background-color: var(--color-dark-brown);
    color: var(--color-cream);
    font-size: 0.82rem;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid rgba(241, 217, 137, 0.2);
}
.gov-disclaimer-bar strong { color: var(--color-gold); }

/* HEADER Y BURBUJA DE MENÚ LATERAL (OFF-CANVAS) */
.site-header {
    background: rgba(0, 12, 12, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 186, 183, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
}

.brand-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-cream);
    text-decoration: none;
}
.brand-logo span { color: var(--color-teal); }

/* BURBUJA FLOTANTE TRES LÍNEAS */
.menu-bubble-btn {
    width: 50px;
    height: 50px;
    background: var(--color-teal);
    border: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(15, 186, 183, 0.3);
    z-index: 1001;
}

.menu-bubble-btn:hover {
    background: var(--color-gold);
    transform: scale(1.08);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background-color: var(--color-black);
    transition: var(--transition);
}

/* PANEL LATERAL (DRAWER) */
.side-drawer {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100vh;
    background-color: #061919;
    border-left: 1px solid rgba(15, 186, 183, 0.3);
    z-index: 10000;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}

.side-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.drawer-header h3 {
    color: var(--color-cream);
    font-size: 1.2rem;
}

.close-bubble {
    background: transparent;
    border: none;
    color: var(--color-cream);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}
.close-bubble:hover { color: var(--color-teal); }

.drawer-nav {
    margin-top: 30px;
    flex-grow: 1;
}

.staggered-nav {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 24px;
}

.staggered-nav li a span {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.staggered-nav li:hover a span {
    transform: translateX(8px);
    color: var(--color-teal);
}

.staggered-nav a {
    text-decoration: none;
    color: var(--color-cream);
    font-weight: 600;
    font-size: 1.1rem;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* BOTONES CON RETROALIMENTACIÓN DE CLIC */
.btn-primary {
    background-color: var(--color-teal);
    color: var(--color-black);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 186, 183, 0.3);
}
.btn-primary.clicked { transform: scale(0.95); background-color: var(--color-cream); }

.btn-secondary {
    background-color: transparent;
    color: var(--color-cream);
    border: 2px solid var(--color-teal);
    padding: 10px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}
.btn-secondary:hover { background-color: var(--color-teal); color: var(--color-black); }
.btn-secondary.clicked { transform: scale(0.95); }

/* HERO CON TÍTULO EN MOVIMIENTO CONTINUO (CADA LETRA ESCALA Y FLOTA) */
.hero-abstract {
    position: relative;
    padding: 120px 0 100px;
    background: radial-gradient(circle at 80% 20%, #112d2d 0%, var(--color-black) 70%);
    overflow: hidden;
}

.abstract-bg-shape {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(15,186,183,0.15), rgba(241,217,137,0.05));
    border-radius: 50% 30% 70% 40% / 50% 60% 40% 50%;
    animation: morphShape 10s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes morphShape {
    0% { border-radius: 50% 30% 70% 40% / 50% 60% 40% 50%; transform: rotate(0deg); }
    100% { border-radius: 30% 60% 50% 70% / 40% 50% 60% 50%; transform: rotate(180deg); }
}

.hero-grid-fluid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.eyebrow-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-teal);
    margin-bottom: 20px;
}

.animated-headline-wave {
    font-size: 3.2rem;
    line-height: 1.2;
    color: var(--color-cream);
    font-weight: 800;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
}

.wave-char {
    display: inline-block;
    animation: continuousWave 2.5s ease-in-out infinite alternate;
}

/* Animación JS / CSS para que letras individuales tengan movimiento continuo */
.wave-char:nth-child(odd) { animation-delay: 0.1s; }
.wave-char:nth-child(even) { animation-delay: 0.4s; }

@keyframes continuousWave {
    0% { transform: translateY(0) scale(1); color: var(--color-cream); }
    50% { transform: translateY(-6px) scale(1.03); color: var(--color-teal); }
    100% { transform: translateY(0) scale(1); color: var(--color-gold); }
}

.hero-lead { font-size: 1.15rem; color: #a3a8a8; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; }

.hero-visual-organic { position: relative; height: 450px; }
.organic-img-1 {
    position: absolute;
    top: 0; left: 0;
    width: 80%; height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.organic-img-2 {
    position: absolute;
    bottom: 0; right: 0;
    width: 65%; height: 250px;
    object-fit: cover;
    border-radius: 20px;
}

/* GLASSMORPHISM & CARD GLOW */
.glass-card {
    background: rgba(62, 57, 50, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 186, 183, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-teal);
    box-shadow: 0 15px 35px rgba(15, 186, 183, 0.15);
}
.card-glow {
    position: absolute;
    top: -50px; left: -50px;
    width: 100px; height: 100px;
    background: var(--color-teal);
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.glass-card:hover .card-glow { opacity: 0.6; }

/* ESTILOS DE SECCIONES ESTÁNDAR */
.pillars-glass-section { padding: 100px 0; background-color: #051414; }
.section-header { max-width: 700px; margin: 0 auto 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--color-cream); font-weight: 800; margin-bottom: 16px; }
.section-header p { color: #a3a8a8; font-size: 1.05rem; }
.text-center { text-align: center; }

.pillars-grid-fluid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.glass-pillar-card { padding: 40px 32px; }
.step-num { font-size: 2rem; font-weight: 800; color: var(--color-gold); margin-bottom: 16px; display: block; }
.glass-pillar-card h3 { font-size: 1.35rem; color: var(--color-cream); margin-bottom: 14px; }
.glass-pillar-card p { color: #a3a8a8; font-size: 0.95rem; }

/* ASYMMETRIC SPLIT */
.asymmetric-split { padding: 100px 0; background-color: var(--color-black); }
.split-fluid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.asym-img { width: 100%; height: 450px; object-fit: cover; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
.split-content-box h2 { font-size: 2.4rem; color: var(--color-cream); margin-bottom: 24px; }
.split-content-box p { color: #a3a8a8; margin-bottom: 20px; }
.stats-row { display: flex; gap: 40px; margin-top: 30px; }
.stat-box .stat-number { font-size: 2.2rem; font-weight: 800; color: var(--color-teal); display: block; }
.stat-box .stat-text { font-size: 0.9rem; color: var(--color-cream); text-transform: uppercase; letter-spacing: 1px; }

/* GEOPOLITICAL COVERAGE */
.geopolitical-coverage { padding: 100px 0; background-color: #071919; }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.coverage-card { padding: 0; display: flex; flex-direction: column; }
.coverage-card img { width: 100%; height: 250px; object-fit: cover; }
.coverage-info { padding: 30px; }
.coverage-info h3 { color: var(--color-cream); font-size: 1.3rem; margin-bottom: 10px; }
.coverage-info p { color: #a3a8a8; font-size: 0.95rem; }

/* TIMELINE */
.timeline-consulting { padding: 100px 0; background-color: var(--color-black); }
.timeline-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.timeline-step { padding: 40px; }
.t-badge { background-color: var(--color-teal); color: var(--color-black); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; display: inline-block; margin-bottom: 16px; }
.timeline-step h4 { color: var(--color-cream); font-size: 1.2rem; margin-bottom: 10px; }
.timeline-step p { color: #a3a8a8; font-size: 0.95rem; }

/* TRUST EDITORIAL */
.trust-editorial { padding: 100px 0; background-color: #061616; }
.trust-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.trust-text h2 { font-size: 2.3rem; color: var(--color-cream); margin-bottom: 20px; }
.trust-text p { color: #a3a8a8; margin-bottom: 20px; }
.check-list-modern { list-style: none; margin-top: 20px; }
.check-list-modern li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--color-cream); font-weight: 600; }
.check-list-modern li::before { content: "✓"; position: absolute; left: 0; color: var(--color-teal); font-weight: 800; }
.rounded-shadow-organic { width: 100%; height: 400px; object-fit: cover; border-radius: 70% 30% 50% 50% / 30% 50% 50% 70%; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

/* QUICK FAQ */
.quick-faq-section { padding: 100px 0; background-color: var(--color-black); }
.faq-grid-fluid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.faq-box { padding: 40px; }
.faq-box h4 { color: var(--color-cream); font-size: 1.2rem; margin-bottom: 12px; }
.faq-box p { color: #a3a8a8; font-size: 0.95rem; }

/* NUEVAS SECCIONES ADICIONALES (8, 9, 10, 11) */
.risk-matrix-section { padding: 100px 0; background-color: #041212; }
.risk-grid-unique { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.risk-card { padding: 35px; }
.risk-tag { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; }
.risk-tag.critical { background-color: rgba(255, 99, 71, 0.2); color: #ff6347; border: 1px solid #ff6347; }
.risk-tag.moderate { background-color: rgba(241, 217, 137, 0.2); color: var(--color-gold); border: 1px solid var(--color-gold); }
.risk-tag.low { background-color: rgba(15, 186, 183, 0.2); color: var(--color-teal); border: 1px solid var(--color-teal); }
.risk-card h4 { color: var(--color-cream); font-size: 1.2rem; margin-bottom: 10px; }
.risk-card p { color: #a3a8a8; font-size: 0.95rem; }

.mobility-infographic { padding: 100px 0; background-color: var(--color-black); }
.info-grid-fluid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.info-content-box h2 { font-size: 2.3rem; color: var(--color-cream); margin-bottom: 20px; }
.info-content-box p { color: #a3a8a8; margin-bottom: 24px; }
.bullet-progress-list { display: flex; flex-direction: column; gap: 20px; }
.bp-item { display: flex; gap: 20px; align-items: flex-start; }
.bp-number { font-size: 1.5rem; font-weight: 800; color: var(--color-teal); }
.bp-item h4 { color: var(--color-cream); font-size: 1.1rem; margin-bottom: 4px; }
.bp-item p { color: #a3a8a8; font-size: 0.9rem; margin-bottom: 0; }
.asym-img-alt { width: 100%; height: 400px; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

.security-protocol-section { padding: 100px 0; background-color: #061919; }
.security-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.sec-card { padding: 40px; }
.sec-icon { font-size: 2.5rem; margin-bottom: 20px; }
.sec-card h3 { color: var(--color-cream); font-size: 1.3rem; margin-bottom: 12px; }
.sec-card p { color: #a3a8a8; font-size: 0.95rem; }

.success-stories-section { padding: 100px 0; background-color: var(--color-black); }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.testimonial-box { padding: 40px; }
.t-quote { color: var(--color-cream); font-size: 1.05rem; font-style: italic; margin-bottom: 20px; line-height: 1.6; }
.t-author { color: var(--color-teal); font-weight: 700; font-size: 0.95rem; display: block; }

/* CTA BANNER */
.cta-banner-modern { padding: 100px 0; background: linear-gradient(135deg, #092626 0%, var(--color-black) 100%); border-top: 1px solid rgba(15, 186, 183, 0.2); }
.cta-banner-modern h2 { font-size: 2.8rem; color: var(--color-cream); margin-bottom: 20px; }
.cta-banner-modern p { color: #a3a8a8; font-size: 1.1rem; max-width: 600px; margin: 0 auto 30px; }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }

/* FOOTER */
.site-footer { background-color: var(--color-black); border-top: 1px solid rgba(15, 186, 183, 0.1); color: var(--color-cream); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 60px; }
.footer-brand { font-size: 1.5rem; font-weight: 800; color: var(--color-cream); text-decoration: none; display: inline-block; margin-bottom: 16px; }
.footer-brand span { color: var(--color-teal); }
.footer-desc { color: #a3a8a8; font-size: 0.95rem; }
.footer-col h4 { color: var(--color-cream); font-size: 1.1rem; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #a3a8a8; text-decoration: none; transition: var(--transition); }
.footer-col ul a:hover { color: var(--color-teal); }
.footer-small { color: #a3a8a8; font-size: 0.85rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 30px; text-align: center; color: #a3a8a8; font-size: 0.9rem; }

/* SCROLL REVEAL CLASE BASE */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 968px) {
    .hero-grid-fluid, .split-fluid, .pillars-grid-fluid, .footer-grid, .coverage-grid, .timeline-wrapper, .trust-grid, .faq-grid-fluid, .risk-grid-unique, .info-grid-fluid, .security-cards-row, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .animated-headline-wave { font-size: 2.3rem; }
}