/* ===== ANIMACIONES Y ESTILOS GLOBALES DEL INDEX ===== */
/* Animaciones - Revelar */
.revelar {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.revelar.activo {
    opacity: 1;
    transform: translateY(0);
}

/* Variación: Entrar desde la izquierda */
.revelar-izquierda {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.revelar-izquierda.activo {
    opacity: 1;
    transform: translateX(0);
}

/* Variación: Entrar desde la derecha */
.revelar-derecha {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.revelar-derecha.activo {
    opacity: 1;
    transform: translateX(0);
}

/* Retrasos para efectos en cascada */
.retraso-1 {
    transition-delay: 0.2s;
}

.retraso-2 {
    transition-delay: 0.4s;
}

.retraso-3 {
    transition-delay: 0.6s;
}

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

:root {
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-light: #6b7280;
    --bg-light: #f9fafc;
    --bg-white: #ffffff;
    --border: #e5e9f0;
    --accent: #1e4a7a;
    --accent-light: #2a5f94;
    --accent-bg: #eef3f9;
    --shadow-sm: 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --luz-faro: rgba(255, 240, 180, 0.15);
    --oro-faro: #ffd966;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* ===== ELEMENTOS DE FARO ===== */
@keyframes destello-luz {
    0% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
}

.destello {
    animation: destello-luz 3s infinite;
}

.faro-icon {
    position: relative;
    display: inline-block;
}

.faro-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255, 240, 180, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: destello-luz 4s infinite;
    pointer-events: none;
}

@keyframes onda {
    0% {
        transform: translateX(-100%) translateY(0);
    }
    100% {
        transform: translateX(100%) translateY(10px);
    }
}

.onda-animada {
    position: relative;
    overflow: hidden;
}

.onda-animada::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(30, 74, 122, 0.02) 20px,
        rgba(30, 74, 122, 0.02) 40px
    );
    animation: onda 15s linear infinite;
    pointer-events: none;
}

/* Haz de luz para secciones */
.haz-de-luz {
    position: relative;
    overflow: hidden;
}

.haz-de-luz::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% -50%, var(--luz-faro) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.haz-de-luz-invertido::before {
    background: radial-gradient(ellipse at 50% 150%, var(--luz-faro) 0%, transparent 70%);
}

.haz-de-luz > *,
.haz-de-luz-invertido > * {
    position: relative;
    z-index: 1;
}

/* Separador con faro */
.separador-faro {
    position: relative;
    height: 80px;
    margin: 3rem 0;
    overflow: hidden;
}

.separador-faro::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--oro-faro), var(--accent), transparent);
}

.separador-faro i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent);
    font-size: 2.5rem;
    background: var(--bg-light);
    padding: 0 30px;
    z-index: 2;
    text-shadow: 0 0 15px var(--oro-faro);
}

.separador-faro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Destello para hover */
@keyframes destello {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-center {
    display: flex;
    gap: 3rem;
}

.nav-center a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    letter-spacing: 0.3px;
}

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

.nav-center a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-center a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-nav {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
    letter-spacing: 0.3px;
}

.btn-nav:hover {
    background: var(--accent);
    color: white;
}

/* Menú Hamburguesa */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent);
    background: none;
    border: none;
    padding: 0.5rem;
    transition: color 0.3s;
}

.menu-toggle:hover {
    color: var(--accent-light);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 999;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    text-align: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    background: var(--accent-bg);
    color: var(--accent);
    padding-left: 1.5rem;
}

.mobile-menu .btn-nav-mobile {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-menu .btn-nav-mobile:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    background: white;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #ff8c00 0%, #ffc885, #ff8c00);
}

.faro-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.faro-footer-linea {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.faro-footer-linea.derecha {
    background: linear-gradient(90deg, var(--accent), transparent);
}

.faro-footer i {
    color: var(--accent);
    font-size: 1.3rem;
    opacity: 0.7;
    animation: destello-luz 3s infinite;
}

/* ===== FIN ESTILOS DEL INDEX ===== */

/* ===== ESTILOS ESPECÍFICOS DE PERSONAL.HTML ===== */
/* HEADER */
.header-section {
    margin-top: 65px;
    height: 650px;
    padding: 6rem 2rem;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.header-section h1,
.header-section p {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.header-section h1 {
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.5px;
}

.header-section p {
    font-size: 1rem;
    color: white;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* SECTION */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
}

/* QUÉ ES */
.what-is {
    background: var(--bg-white);
}

.what-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.what-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* animation for reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.what-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.what-benefits {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.what-image {
    transition: all 0.3s ease;
    cursor: pointer;
}

.what-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(25, 118, 210, 0.2);
}

/* PROCESO SLIDER */
.process-section {
    background: var(--accent-bg);
    padding: 5rem 2rem;
}

.process-inner {
    max-width: 860px;
    margin: 0 auto;
}

/* Progress bar */
.slider-progress-bar {
    width: 100%;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.slider-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    width: 16.66%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step indicators */
.slider-indicators {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.indicator {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: scale(1.1);
}

.indicator.visited {
    border-color: var(--accent);
    color: var(--accent);
}

.indicator:hover:not(.active) {
    border-color: var(--accent);
    color: var(--accent);
}

/* Viewport & Track */
.slider-viewport {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slide {
    min-width: 100%;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3.5rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 4px 24px rgba(25, 118, 210, 0.07);
}

.slide-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent-bg);
    line-height: 1;
    min-width: 90px;
    text-align: center;
    letter-spacing: -2px;
    user-select: none;
}

.slide-content {
    flex: 1;
}

.slide-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.slide-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.slide-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Navigation */
.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.slider-btn:hover:not(:disabled) {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

.slider-btn:disabled {
    border-color: var(--border);
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

.slide-counter {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 50px;
    text-align: center;
}

/* OBJETIVOS */
.objectives {
    background: var(--bg-white);
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.objective-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    transition: all 0.3s;
}

.objective-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.1);
}

.objective-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.objective-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.objective-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* BENEFITS SECTION */
.benefits {
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.benefit-card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    height: 100%;
}


.benefit-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.1);
}

.benefit-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CONTACT CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--accent) 0%, #1565c0 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 3rem 0;
}

.contact-cta h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-contact {
    padding: 1rem 2.5rem;
    background: white;
    color: var(--accent);
    border: none;
    border-radius: 3px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-center, .nav-right { 
        display: none; 
    }
    .menu-toggle { 
        display: block; 
    }
    .mobile-menu { 
        display: block; 
    }

    .header-section h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .what-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .what-benefits {
        grid-template-columns: 1fr;
    }

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

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

    .section {
        padding: 3.5rem 1.5rem;
    }

    .header-section {
        padding: 3rem 1.5rem;
    }

    .slide {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
    }
    
    .slide-number {
        font-size: 3.5rem;
        min-width: auto;
    }

    footer {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .btn-primary {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
        min-width: 200px;
    }
}

.nav-center,
.nav-center li,
.nav-center .menu-item {
    list-style: none !important;
}

.nav-center li::marker,
.nav-center .menu-item::marker {
    content: "" !important;
}

.nav-center {
    display: flex !important;
    gap: 30px;
    align-items: center;
}

nav {
    margin-top: 15px;
}