/* VARIABLES DE COLOR */
:root {
    --color-negro: #1a1a1a;
    --color-naranja: #cc5500;  /* Naranja oscuro */
    --color-blanco-crema: #f5f5f0;
    --color-blanco: #ffffff;
}

/* ESTILOS GENERALES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--color-blanco-crema);
    color: var(--color-negro);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ENCABEZADO */
header {
    background-color: var(--color-negro);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: var(--color-blanco);
    font-size: 1.8rem;
    margin-left: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--color-blanco);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--color-naranja);
}

.mobile-menu {
    display: none;
    color: var(--color-blanco);
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO SECTION CON VIDEO */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Contenedor del video para desktop */
.hero-video-container {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenedor del video para móvil */
.hero-video-mobile {
    display: none;
    position: relative;
    width: 100%;
}

/* AQUÍ DEBES COLOCAR TU VIDEO */
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video para móviles - se muestra completo horizontal */
.hero-video-mobile .hero-video {
    object-fit: contain;
    background-color: #000;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--color-blanco);
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: var(--color-naranja);
    color: var(--color-blanco);
}

.btn-primary:hover {
    background-color: #b34a00;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-blanco);
    border: 2px solid var(--color-blanco);
}

.btn-secondary:hover {
    background-color: var(--color-blanco);
    color: var(--color-negro);
    transform: translateY(-3px);
}

/* Contenido después del video en móviles */
.hero-mobile-content {
    display: none;
    padding: 60px 0;
    text-align: center;
    background-color: var(--color-negro);
    color: var(--color-blanco);
}

.hero-mobile-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.hero-mobile-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* SECCIONES GENERALES */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--color-negro);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-naranja);
}

/* SECCIÓN MODELO DE NEGOCIO */
.modelo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.modelo-card {
    background-color: var(--color-blanco);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.modelo-card:hover {
    transform: translateY(-10px);
}

.modelo-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.modelo-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-negro);
}

/* SECCIÓN CORTES */
.cortes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.corte-card {
    background-color: var(--color-blanco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.corte-card:hover {
    transform: translateY(-10px);
}

.corte-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.corte-content {
    padding: 20px;
}

.corte-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-negro);
}

.corte-content p {
    color: #666;
    margin-bottom: 15px;
}

.corte-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-naranja);
}

/* SECCIÓN PRECIOS */
.precios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.precio-seccion {
    background-color: var(--color-blanco);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.precio-seccion h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-negro);
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-naranja);
}

.precio-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.precio-item:last-child {
    border-bottom: none;
}

.precio-nombre {
    font-weight: 500;
}

.precio-valor {
    font-weight: bold;
    color: var(--color-naranja);
}

.precio-nota {
    margin-top: 20px;
    font-style: italic;
    color: #666;
    text-align: center;
}

/* SECCIÓN FRANQUICIAS */
.franquicia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.franquicia-text {
    font-size: 1.1rem;
}

.franquicia-text p {
    margin-bottom: 20px;
}

.franquicia-form {
    background-color: var(--color-blanco);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-naranja);
}

/* PIE DE PÁGINA */
footer {
    background-color: var(--color-negro);
    color: var(--color-blanco);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-blanco);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-naranja);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--color-naranja);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.9rem;
}

/* RESPONSIVE - ESTRUCTURA MEJORADA PARA MÓVILES */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-negro);
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }
    
    /* ESTRUCTURA MEJORADA PARA MÓVILES */
    .hero-video-container {
        display: none; /* Ocultamos el hero de desktop en móviles */
    }
    
    .hero-video-mobile {
        display: block; /* Mostramos el video móvil */
    }
    
    .hero-mobile-content {
        display: block; /* Mostramos el contenido después del video */
    }
    
    .franquicia-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 80%;
        text-align: center;
    }
}

/* AJUSTES PARA PANTALLAS MÁS PEQUEÑAS */
@media (max-width: 480px) {
    .hero-mobile-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-mobile-content p {
        font-size: 1rem;
    }
}