:root {
    --primary: #e2b04a; /* Dorado Premium */
    --bg-dark: #0a0a0a;
    --bg-light: #151515;
    --text-white: #ffffff;
    --transition: all 0.4s ease;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Bebas Neue', cursive; letter-spacing: 2px; }


/* =========================================
   SECCIÓN PROCESO (3 PASOS) - Diseño Premium
   ========================================= */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.process-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Diseño de la tarjeta base */
.step-card {
    background: linear-gradient(145deg, #151515, #0a0a0a);
    border: 1px solid #222;
    border-radius: 15px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden; /* Evita que el número de fondo se salga */
    transition: all 0.4s ease;
    text-align: center;
    z-index: 1;
}

/* Efecto al pasar el ratón */
.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(226, 176, 74, 0.1); /* Resplandor dorado suave */
}

/* Número gigante de fondo (Marca de agua) */
.step-bg-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: 'Bebas Neue', cursive;
    font-size: 12rem;
    color: rgba(255, 255, 255, 0.02); /* Muy transparente */
    z-index: -1; /* Lo manda al fondo */
    line-height: 1;
    transition: color 0.4s ease;
}

.step-card:hover .step-bg-number {
    color: rgba(226, 176, 74, 0.08); /* El número se tiñe de dorado al pasar el ratón */
}

/* Estilo de los Iconos */
.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(226, 176, 74, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 30px;
    border: 1px solid rgba(226, 176, 74, 0.3);
    transition: all 0.4s ease;
}

/* El icono se rellena de dorado al hacer hover */
.step-card:hover .step-icon {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(226, 176, 74, 0.4);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.step-card p {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.6;
}

/* --- RESPONSIVE DESIGN PARA LOS PASOS --- */

/* Tablets */
@media (max-width: 1024px) {
    .process-wrapper {
        gap: 20px;
    }
    .step-card {
        padding: 40px 20px;
    }
}

/* Móviles: Se apilan verticalmente */
@media (max-width: 768px) {
    .process-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .step-bg-number {
        font-size: 10rem;
    }
}

/* Navbar */
/* =========================================
   MENÚ DE NAVEGACIÓN (Efecto Cinta 35mm)
   ========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    background: rgba(10, 10, 10, 0.98); /* Fondo casi negro opaco */
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.8);
    transition: var(--transition);
}

/* La Magia: Perforaciones de la cinta de celuloide (Arriba y Abajo) */
.navbar::before, 
.navbar::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 6px;
    /* Esto crea los típicos agujeros cuadrados de los fotogramas de cine */
    background-image: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 12px,
        rgba(255, 255, 255, 0.15) 12px,
        rgba(255, 255, 255, 0.15) 18px
    );
}

.navbar::before { top: 4px; }
.navbar::after { bottom: 4px; }

.logo { 
    font-size: 2rem; 
    font-weight: bold; 
    z-index: 2; /* Para que quede por encima de los agujeros de la cinta */
}
.logo span { color: var(--primary); }

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 35px; 
    align-items: center;
    z-index: 2;
}

.nav-links li {
    position: relative; /* Necesario para la línea animada debajo del texto */
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-white); 
    font-size: 0.85rem; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease; 
}

/* Efecto Hover Premium: Línea dorada que crece desde el centro */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 50%;
    background-color: var(--primary);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover { color: var(--primary); }

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

/* Botón especial del menú (sin la línea debajo) */
.btn-reserva {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary) !important;
    padding: 10px 24px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-reserva::after {
    display: none !important; /* Quitamos la línea de hover para el botón */
}

.btn-reserva:hover {
    background: var(--primary);
    color: #000 !important;
    box-shadow: 0 0 15px rgba(226, 176, 74, 0.4); /* Resplandor al pasar el ratón */
}

/* Menú Hamburguesa (Para Móviles) */
.burger {
    display: none;
    cursor: pointer;
    z-index: 2;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Responsive para que no se rompa en teléfonos */
@media (max-width: 900px) {
    .nav-links {
        display: none; /* Se oculta en móvil para dejar paso a la hamburguesa */
    }
    .burger {
        display: block;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.video-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.9));
    z-index: 0;
}

/* =========================================
   SECCIÓN PORTFOLIO DE VÍDEOS (3 Columnas)
   ========================================= */

.video-grid {
    display: grid;
    /* Forzamos 3 columnas exactas para escritorio */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: #1a1a1a; /* Fondo gris muy oscuro para la tarjeta */
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* Efecto hover: la tarjeta se eleva ligeramente */
.video-card:hover {
    transform: translateY(-10px);
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9; /* Mantiene el formato cine panorámico siempre */
    overflow: hidden;
    background: #000;
    border-radius: 4px;
    margin-bottom: 15px;
}

.portfolio-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que no queden bordes negros feos */
    display: block;
}

.video-card h3 {
    font-size: 1.1rem;
    color: var(--primary); /* Usa el color dorado que definimos al principio */
    text-transform: uppercase;
    text-align: center;
    margin-top: 10px;
}

/* --- RESPONSIVE DESIGN PARA LOS VÍDEOS --- */

/* Tablets: pasamos de 3 a 2 columnas */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móviles: pasamos todo a 1 sola columna para que se vea bien en vertical */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

.hero-content { position: relative; z-index: 1; padding: 0 20px; }
.hero-content h1 { font-size: 5rem; line-height: 1; margin-bottom: 20px; }
.hero-content h1 span { color: var(--primary); }

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin: 10px;
    transition: var(--transition);
}

.btn-primary { background: var(--primary); color: black; }
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(226, 176, 74, 0.3); }

.btn-secondary { background: transparent; border: 2px solid white; color: white; }

/* Responsive Grid */
.section { padding: 100px 10%; }
.section-title { font-size: 3rem; text-align: center; margin-bottom: 50px; color: var(--primary); }

.process-container, .pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.price-card {
    background: var(--bg-light);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #333;
}

.price-card.featured { border-color: var(--primary); transform: scale(1.05); }

/* Mobile */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 3rem; }
    .nav-links { display: none; } /* Deberías añadir un menú lateral para producción real */
}
.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #888;
}

/* =========================================
   SECCIÓN FOTOS (3 Columnas, 16:9)
   ========================================= */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    
    /* Nuevas reglas para reducir el ancho y centrar */
    max-width: 1100px; /* Puedes subir o bajar este número según tu gusto */
    margin: 0 auto;    /* El 'auto' a los lados es lo que centra la cuadrícula */
}
.photo-item {
    position: relative;
    overflow: hidden;
    /* Cambiamos al formato panorámico de cine */
    aspect-ratio: 16 / 9; 
    cursor: pointer;
    border-radius: 5px;
    background: #111;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(226, 176, 74, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-overlay i {
    font-size: 2rem;
    color: white;
}

.photo-item:hover img { transform: scale(1.1); }
.photo-item:hover .photo-overlay { opacity: 1; }

/* --- RESPONSIVE DESIGN PARA LAS FOTOS --- */

/* Tablets: 2 columnas */
@media (max-width: 1024px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móviles: 1 columna */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos del Modal (Ventana emergente) */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 80vh;
    box-shadow: 0 0 20px rgba(226, 176, 74, 0.2);
    border: 2px solid #333;
}

.close-modal {
    position: absolute;
    top: 30px; right: 40px;
    color: white; font-size: 40px; cursor: pointer;
}
.pricing-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
}

.price-card {
    background: #111;
    border: 1px solid #333;
    padding: 40px 30px;
    border-radius: 15px;
    width: 350px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Efecto hover sutil */
.price-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.card-header h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.target {
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;
}

.price-amount {
    font-family: 'Bebas Neue';
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i { color: var(--primary); font-size: 0.8rem; }
.features-list .not-included { color: #555; text-decoration: line-through; }
.features-list .not-included i { color: #555; }

/* Estilos para el paquete Pro (Destacado) */
.price-card.featured {
    background: #151515;
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.price-card.featured .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #000;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
}

/* CTA debajo de la tabla */
.pricing-cta {
    text-align: center;
    margin-top: 60px;
}

.small-text {
    font-size: 0.8rem;
    color: #666;
    margin-top: 15px;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .price-card {
        width: 100%;
    }
    .price-card.featured {
        transform: scale(1);
    }
}

/* =========================================
   SECCIÓN EQUIPO (4 Columnas)
   ========================================= */

.team-grid {
    display: grid;
    /* Forzamos 4 columnas en escritorio, bajando el ancho mínimo a 220px */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    margin-bottom: 80px;
    max-width: 1200px; /* Limitamos el ancho para que las fotos no se separen demasiado */
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    text-align: center;
}

.member-img {
    /* Mantenemos las fotos redondas pero ajustamos su tamaño máximo */
    width: 180px; 
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    filter: grayscale(100%);
    transition: var(--transition);
}

.team-member:hover .member-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.team-member .role {
    color: var(--primary);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem; /* Un poco más pequeña para que no rompa la línea */
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.team-member .description {
    font-size: 0.85rem;
    color: #aaa;
    max-width: 250px;
    margin: 0 auto;
    line-height: 1.4;
}

/* --- RESPONSIVE DESIGN PARA EL EQUIPO --- */

/* Laptops pequeñas / Tablets grandes: bajamos a 2 columnas */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Móviles: todo a 1 columna */
@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .member-img {
        width: 150px;
        height: 150px;
    }
}

/* Especificaciones Técnicas */
.tech-specs {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary);
}

.tech-header {
    margin-bottom: 30px;
}

.tech-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 10px;
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.tech-item span {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 480px) {
    .member-img {
        width: 150px;
        height: 150px;
    }
}

/* Contenedor principal del formulario */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #111; /* Fondo ligeramente más claro que el negro puro */
    padding: 50px;
    border-radius: 15px;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); /* Sombra para darle profundidad */
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header p {
    color: #aaa;
}

/* Estructura del Formulario */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px; /* Separación vertical entre elementos */
}

/* Grid para poner Nombre y Email en paralelo */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.input-group label {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estilos de los campos de texto y selector */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 8px;
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

/* Personalización de la flecha del Selector (Combo) */
.contact-form select {
    cursor: pointer;
    appearance: none; 
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048"><path fill="%23e2b04a" d="M2048 640L1024 1664 0 640h2048z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 20px top 50%;
    background-size: 14px auto;
}

.contact-form select option {
    background: #111; /* Color de fondo de las opciones al desplegar */
    color: #fff;
}

/* Efecto al hacer clic o escribir (Focus) */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #222;
    box-shadow: 0 0 15px rgba(226, 176, 74, 0.15); /* Resplandor dorado */
}

/* Botón a todo el ancho */
.btn-block {
    width: 100%;
    margin-top: 10px;
    font-size: 1.1rem;
    padding: 20px;
}

/* Ajustes para Teléfonos Móviles */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr; /* Apila el Nombre y Email en móvil */
    }
    .contact-wrapper {
        padding: 30px 20px; /* Menos relleno en pantallas pequeñas */
    }
}

/* =========================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================= */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 35px; /* Tamaño del icono */
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 2000; /* Nos aseguramos de que esté por encima de todo */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    
    /* Llamamos a la animación de pulso */
    animation: pulse-wa 2s infinite;
}

/* Efecto al pasar el ratón */
.whatsapp-float:hover {
    background-color: #128c7e; /* Verde un poco más oscuro */
    transform: scale(1.1); /* Se hace un poco más grande */
    animation: none; /* Detenemos el pulso al hacer hover */
}

/* Animación del latido/pulso */
@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- RESPONSIVE DESIGN PARA MÓVILES --- */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}

/* =========================================
   FOOTER PREMIUM (Optimizado para Firefox)
   ========================================= */

.main-footer {
    background-color: var(--bg-dark);
    padding: 80px 20px 60px; /* Más espacio arriba para la cinta */
    text-align: center;
    position: relative;
    border-top: 1px solid #222;
    margin-top: 50px;
    width: 100%;
    overflow: hidden; /* Evita desbordamientos extraños */
}

/* Efecto cinta de cine arriba y abajo para simetría total */
.main-footer::before,
.main-footer::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 6px;
    /* Optimizamos el gradiente para bordes más limpios en Firefox */
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 12px,
        rgba(255, 255, 255, 0.1) 12px,
        rgba(255, 255, 255, 0.1) 18px
    );
    z-index: 1;
}

.main-footer::before { top: 10px; }
.main-footer::after { bottom: 10px; }

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.main-footer p {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* Para que no se rompa en pantallas pequeñas */
}

.footer-links a {
    color: #777;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links .separator {
    color: #333;
    font-size: 0.8rem;
    user-select: none; /* Evita que se seleccione la barra */
}

/* Ajuste específico para Firefox y móviles */
@media (max-width: 768px) {
    .main-footer {
        padding: 60px 20px 40px;
    }
    .footer-links {
        gap: 10px;
    }
    .footer-links .separator {
        display: none;
    }
    .footer-links a {
        width: 100%; /* Enlaces uno debajo de otro en móvil */
        margin: 5px 0;
    }
}