/* ===== 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: -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 EMPRESARIAL.HTML ===== */
/* HEADER */
.header-section {
    margin-top: 65px;
    background: linear-gradient(135deg, var(--accent-bg) 0%, var(--bg-white) 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

.header-text {
    padding: 4rem 3rem 4rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.header-section p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.7;
}

.header-image {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.header-image-placeholder {
    position: absolute;
    inset: 0;
    background: var(--accent-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--accent);
    border-left: 1px solid var(--border);
}

.header-image-placeholder i {
    font-size: 3rem;
    opacity: 0.4;
}

.header-image-placeholder span {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

.header-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(232,241,251,0.3) 0%, transparent 40%);
    pointer-events: none;
}

/* STATS BAR */
.stats-bar {
    background: var(--accent);
    padding: 2rem;
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item { color: white; }

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.82rem;
    opacity: 0.85;
    line-height: 1.4;
}

/* 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);
}

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

.what-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    padding: 1.5rem;
    background: var(--accent-bg);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.benefit-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* DIFERENCIAL — mismo estilo que benefit-item pero con accent-warm */
.diferencial-wrap {
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 8px;
    border-left: 4px solid var(--accent-warm);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent-warm);
    margin-top: 2rem;
}

.diferencial-wrap h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-warm);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.diferencial-wrap p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* ÁREAS DE IMPACTO */
.impact-areas { background: var(--accent-bg); }

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

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

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

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

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

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

/* PROCESO */
.proceso-section { background: var(--bg-white); }

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.proceso-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12%;
    width: 76%;
    height: 1px;
    background: var(--border);
    z-index: 0;
}

.proceso-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.proceso-num {
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 auto 1.4rem;
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 1px var(--border);
    transition: all 0.3s;
}

.proceso-step:hover .proceso-num {
    background: var(--accent-light);
    transform: scale(1.1);
}

.proceso-step h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.proceso-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* RESULTADOS */
.results { background: var(--bg-white); }

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

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

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

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

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

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

/* TESTIMONIOS — mismo estilo base que impact-card */
.testimonial-section { background: var(--accent-bg); }

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

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

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

.testimonial-stars {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar {
    width: 38px;
    height: 38px;
    background: var(--accent-bg);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* FAQ */
.faq-section { background: var(--bg-white); }

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-white);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.3rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    gap: 1rem;
    transition: background 0.2s;
    font-family: inherit;
}

.faq-question:hover { background: var(--accent-bg); }

.faq-question i {
    color: var(--accent);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-question.open i { transform: rotate(180deg); }

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.3rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    border-top: 1px solid var(--border);
}

.faq-answer.open { display: block; }

/* 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;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.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);
}

.btn-contact-outline {
    padding: 1rem 2.5rem;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-contact-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.cta-location {
    margin-top: 1.5rem;
    font-size: 0.82rem;
    opacity: 0.75;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

    .header-section {
        grid-template-columns: 1fr;
    }

    .header-text {
        padding: 3rem 1.5rem 2rem;
        text-align: center;
    }

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

    .header-section p {
        max-width: 100%;
    }

    .header-image {
        min-height: 220px;
        order: -1;
    }

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

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

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

    .impact-grid, .results-grid, .testimonial-grid { 
        grid-template-columns: 1fr; 
    }

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

    .proceso-grid::before { 
        display: none; 
    }

    .stats-inner { 
        grid-template-columns: 1fr 1fr; 
    }

    .section { 
        padding: 3.5rem 1.5rem; 
    }

    footer {
        padding: 1.5rem;
    }
}

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

.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;
}