/* --- VARIABLES Y ESTILOS GLOBALES --- */
:root {
    --primary-color: #F28C28; /* Naranja corporativo */
    --secondary-color: #003366; /* Azul corporativo */
    --dark-grey: #222222;
    --medium-grey: #444444;
    --light-grey: #f4f4f4;
    --white-color: #ffffff;
    --font-title: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: var(--white-color);
    color: var(--dark-grey);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: #666;
}

/* --- HEADER Y NAVEGACIÓN --- */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--white-color);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.header.scrolled .nav-link {
    color: var(--dark-grey);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--white-color);
}

.header.scrolled .bar {
    background-color: var(--dark-grey);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 21, 41, 0.7);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: #e67e22;
}

/* --- VALUE PROPOSITION SECTION --- */
.value-prop {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.card.card-highlight {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.card.card-highlight h3, .card.card-highlight .card-icon {
    color: var(--primary-color);
}
.card.card-highlight p{
    color: var(--light-grey);
}

/* --- PROBLEM/SOLUTION SECTION --- */
.problem-solution {
    padding: 80px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.comparison-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.comparison-item h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--secondary-color);
}

.comparison-item ul {
    list-style: none;
}

.comparison-item ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.comparison-item .fa-check-circle { color: #27ae60; margin-right: 10px; }
.comparison-item .fa-times-circle { color: #c0392b; margin-right: 10px; }

/* --- STATISTICS SECTION --- */
.statistics {
    padding: 80px 0;
    background-color: var(--secondary-color);
    background-image: linear-gradient(rgba(0,51,102,0.9), rgba(0,51,102,0.9)), url('assets/stats-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: var(--white-color);
}

.light-text { color: var(--white-color) !important; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 4.5rem;
    font-weight: 700;
    font-family: var(--font-title);
    color: var(--primary-color);
}

.stat-item p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* --- CONTACT CTA --- */
.contact-cta {
    padding: 80px 0;
    background-color: var(--light-grey);
    text-align: center;
}

.cta-button-secondary {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button-secondary:hover {
    transform: scale(1.05);
    background-color: #002244;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--dark-grey);
    color: var(--light-grey);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-family: var(--font-title);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
    color: var(--light-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--primary-color); }
.footer-col p { margin-bottom: 10px; }

.social-links a {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}
.social-links a:hover { color: var(--primary-color); }

.footer-bottom {
    border-top: 1px solid var(--medium-grey);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* --- PÁGINA REALIDAD VIRTUAL --- */
.vr-hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background-image: linear-gradient(rgba(0, 21, 41, 0.75), rgba(0, 21, 41, 0.75)), url('assets/vr-hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.vr-hero-title { font-size: 3.5rem; }
.vr-hero-subtitle { font-size: 1.5rem; margin-bottom: 30px;}

.key-benefits {
    padding: 80px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}
.benefit-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.benefit-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.simulations {
    padding: 80px 0;
    background-color: var(--light-grey);
}

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

.sim-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.sim-card:hover {
    transform: scale(1.03);
}

.sim-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sim-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.sim-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
}

.youtube-cta {
    text-align: center;
    margin-top: 60px;
}
.youtube-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.cta-button-youtube {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: #FF0000;
    color: var(--white-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.cta-button-youtube:hover {
    transform: scale(1.05);
    background-color: #cc0000;
}

 /* --- VR BADGES & QUICK CONTACT --- */
 .vr-badges {
     padding: 40px 0 0;
 }
 .badges-list {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
 }

 @media (max-width: 768px) {
     .section-title { font-size: 2rem; }
     .hamburger { display: block; }
     .header.scrolled .hamburger .bar { background-color: var(--dark-grey); }

     .nav-menu {
         position: fixed;
         left: -100%;
         top: 80px;
         flex-direction: column;
         background-color: var(--white-color);
         width: 100%;
         text-align: center;
         transition: 0.3s;
         box-shadow: 0 10px 20px rgba(0,0,0,0.1);
     }
     .nav-menu.active { left: 0; }
     .nav-item { padding: 20px 0; }
     .nav-link { color: var(--dark-grey); }

     .grid-4, .stats-grid, .grid-3, .comparison-grid, .footer-grid {
         grid-template-columns: 1fr;
     }
     
     .hero-title, .vr-hero-title { font-size: 2.5rem; }
 }

 /* --- ANIMACIONES --- */
 @keyframes fadeIn {
     from { opacity: 0; transform: translateY(20px); }
     to { opacity: 1; transform: translateY(0); }
 }