/* ===================================================================
   Ideo Music IA - Hoja de Estilos Principal
   Versión Limpia y Refactorizada
=================================================================== */

/* -------------------------------------------------------------------
   1. Configuración Base y Variables
------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Roboto:wght@300;400;500;700&display=swap' );

:root {
    --bg-color: #0a0a0a;
    --text-color: #EAEAEA;
    --primary-color: #00dcc8;
    --primary-gradient: linear-gradient(135deg, #00dcc8 0%, #00b8a0 100%);
    --secondary-text-color: #BBBBBB;
    --card-bg-color: #1A1A1A;
    --card-hover-bg: #252525;
    --border-color: #333333;
    --accent-color: #4A90E2;
    --success-color: #28a745;
}

* { 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    background-color: var(--bg-color); 
    color: var(--text-color); 
    font-family: 'Roboto', sans-serif; 
    margin: 0; 
    padding: 0; 
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; /* Espacio para el header fijo */
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 2rem; /* Se quita el padding vertical para dar control a las secciones */
}

/* -------------------------------------------------------------------
   2. Estilos de Navegación (Header)
------------------------------------------------------------------- */
.nav-header {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 80px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px; /* Logo horizontal - más alto para mejor visibilidad */
    width: auto;
    max-width: 260px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* -------------------------------------------------------------------
   3. Estilos de Secciones Generales
------------------------------------------------------------------- */
.section {
    padding: 4rem 2rem; /* AJUSTE DE ESPACIADO APLICADO AQUÍ */
    text-align: center;
    position: relative;
    background-color: var(--bg-color);
}

.section h2 { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 2.8rem; 
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text-color); /* Color por defecto para títulos h2 */
}

.section h4 { 
    font-size: 1.3rem; 
    color: var(--secondary-text-color); /* Color por defecto para subtítulos h4 */
    margin-bottom: 3rem; /* Reducido de 4rem */
    font-weight: 400; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto;
    line-height: 1.8;
}

/* -------------------------------------------------------------------
   4. Estilos de la Sección Hero
------------------------------------------------------------------- */
.hero { 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    position: relative;
    overflow: hidden;
    padding: 2rem;
    margin-top: -80px; /* Compensa el padding-top del body */
}

.hero-video-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}

.hero-video-background video {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
}

.hero-video-fallback {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.85)), 
                url('https://i.postimg.cc/DwnHXwWD/temp-Imagegl1-EZJ.avif' ) no-repeat center center/cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.75) 30%, rgba(0, 220, 200, 0.12) 50%, rgba(10, 10, 10, 0.75) 70%, rgba(10, 10, 10, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative; z-index: 3; max-width: 900px; margin: 0 auto;
}

.logo-container { 
    margin-bottom: 2rem; position: relative; z-index: 4;
}

.logo-container img { 
    max-width: 280px; height: auto; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.8)); transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.hero h1 { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 3.8rem; 
    margin-bottom: 0.5rem; 
    color: #FFFFFF;
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
    letter-spacing: -1px;
}

#home .hero h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.7), 0px 4px 10px rgba(0, 0, 0, 0.5);
}
        
.hero p { 
    max-width: 700px; 
    font-size: 1.3rem; 
    margin: 0 auto 2.5rem;
    color: #F0F0F0;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.7;
}

.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 4; animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px; height: 30px; border: 2px solid var(--primary-color); border-top: none; border-left: none; transform: rotate(45deg); opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0) rotate(45deg); }
    40% { transform: translateX(-50%) translateY(-10px) rotate(45deg); }
    60% { transform: translateX(-50%) translateY(-5px) rotate(45deg); }
}
/* =============================================
   ESTILOS PARA EL HERO DE PÁGINAS INTERIORES
============================================= */

.page-hero {
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.85); /* ¡AQUÍ ESTÁ! 85% de oscuridad */
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.page-hero-content p {
    font-size: 1.3rem;
    color: #E0E0E0;
    max-width: 700px;
    margin: 0 auto;
}

/* -------------------------------------------------------------------
   5. Estilos de Botones (CTA)
------------------------------------------------------------------- */
.cta-button { 
    background: var(--primary-gradient); 
    color: #FFFFFF !important;
    padding: 18px 40px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: all 0.3s ease; 
    display: inline-block; 
    margin: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 220, 200, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover { 
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 220, 200, 0.45);
}

.cta-secondary { 
    color: #FFFFFF; 
    text-decoration: none; 
    font-weight: 500; 
    margin: 0 10px;
    padding: 18px 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    background-color: rgba(0, 220, 200, 0.12);
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-secondary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(0, 220, 200, 0.4);
}

/* -------------------------------------------------------------------
   6. Sección Carrusel de Artistas
------------------------------------------------------------------- */
/* =============================================
   ESTILOS GLOBALES PARA EL CARRUSEL DE ARTISTAS
============================================= */

/* Contenedor oscuro para cualquier sección de carrusel */
.section-dark.artists-section {
    background-color: var(--bg-color);
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Título dentro de una sección de carrusel */
.artists-section .section-subtitle {
    color: #BBBBBB;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* El carrusel en sí */
.artists-carousel {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    padding: 1rem 0;
}

.artists-scroll-container {
    display: inline-block;
    animation: scroll 60s linear infinite;
}

.artists-carousel:hover .artists-scroll-container {
    animation-play-state: paused;
}

/* ¡LA REGLA CLAVE! Se aplica a cualquier .artist-name */
.artist-name {
    color: #BBBBBB;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 1.5rem; /* El espaciado que queremos */
    transition: color 0.3s ease;
    display: inline-block;
}

.artist-name:hover {
    color: #00dcc8;
}

/* La animación de scroll (ya la teníamos, pero la incluimos para tener todo junto) */
@keyframes scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* -------------------------------------------------------------------
   7. Sección de Servicios (Tarjetas)
------------------------------------------------------------------- */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2.5rem; 
    text-align: left; 
    align-items: stretch;
}

.service-card { 
    background-color: var(--card-bg-color); 
    border-radius: 15px; 
    overflow: hidden; 
    transition: all 0.4s ease; 
    border: 1px solid var(--border-color);
    display: flex; 
    flex-direction: column;
    position: relative;
}

.service-card.recommended {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 45px rgba(0, 220, 200, 0.18);
}

.recommended-badge {
    position: absolute; top: 15px; right: -40px; background: var(--primary-gradient); color: white;
    padding: 5px 40px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; transform: rotate(45deg); z-index: 3;
}

.service-card:hover { 
    transform: translateY(-12px) scale(1.02); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background-color: var(--card-hover-bg);
}

.service-card.recommended:hover {
    transform: translateY(-12px) scale(1.07);
}

.service-card-image-container {
    width: 100%; height: 220px; overflow: hidden;
}

.service-card img { 
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card-content { 
    padding: 2rem; flex-grow: 1; display: flex; flex-direction: column;
}

.service-card-content h3 {
    font-family: 'Montserrat', sans-serif; margin-top: 0; color: #00dcc8;
    font-size: 1.5rem; margin-bottom: 0.5rem;
}

.service-card-content .slogan, .service-card-content p {
    color: #BBBBBB; margin-bottom: 1.5rem;
}

.service-card-content .slogan {
    font-style: italic; font-weight: 300; min-height: 40px;
}

.service-card-content p {
    flex-grow: 1;
}

.service-card .cta-button {
    margin-top: auto; text-align: center;
}

/* -------------------------------------------------------------------
   8. Sección Inspiracional
------------------------------------------------------------------- */
.section-gradient {
    background: linear-gradient(135deg, #1a0033 0%, #330066 50%, #660099 100%);
    color: #FFFFFF;
    padding: 6rem 2rem;
}

.inspirational-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; min-height: 70vh;
}

.inspirational-text h2 {
    font-family: 'Montserrat', sans-serif; font-size: 3.2rem; margin-bottom: 1.5rem; font-weight: 800;
    color: #FFFFFF; text-shadow: 0 2px 10px rgba(0,0,0,0.5); text-align: left;
}

.inspirational-text p {
    font-size: 1.3rem; color: #E0E0E0; margin-bottom: 2rem; line-height: 1.7; text-align: left;
}

.features-box {
    background: rgba(255,255,255,0.1); padding: 1.5rem; border-radius: 15px;
    margin-bottom: 2rem; backdrop-filter: blur(10px); text-align: left;
}

.features-box h3 {
    color: var(--primary-color); margin-top: 0; margin-bottom: 1rem; font-size: 1.4rem;
}

.features-box ul {
    list-style: none; padding: 0; margin: 0;
}

.features-box ul li {
    padding: 0.5rem 0; color: #FFFFFF;
}

.features-box ul li .fa-star {
    color: #FFD700; margin-right: 10px;
}

.inspirational-cta {
    text-align: center;
}

.cta-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.price-tag {
    font-size: 0.9rem; color: #CCCCCC; margin-top: 1rem;
}

.inspirational-image {
    position: relative; text-align: center;
}

.inspirational-image img {
    max-width: 100%; height: auto; border-radius: 20px; box-shadow: 0 20px 60px rgba(255, 0, 150, 0.3);
}

.image-badge {
    position: absolute; top: -20px; right: -20px; background: var(--primary-gradient); color: white;
    padding: 10px 20px; border-radius: 25px; font-weight: bold; font-size: 0.9rem; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Contenedor de dos imágenes motivacionales */
.dual-images-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.dual-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dual-image-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 220, 200, 0.28);
}

.dual-image-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.dual-image-item:hover img {
    transform: scale(1.04);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    text-align: center;
    padding: 1.5rem 0.75rem 0.75rem;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 0 0 16px 16px;
}

/* -------------------------------------------------------------------
   9. Sección Servicios Adicionales (Add-ons)
------------------------------------------------------------------- */
#addons {
    background-color: #1A1A1A;
}

.addons-container {
    max-width: 900px; margin: 0 auto; background: #0a0a0a; padding: 3rem;
    border-radius: 15px; border: 1px solid #333333; text-align: left;
}

.addons-container h3 {
    text-align: center; font-family: 'Montserrat', sans-serif; font-size: 2rem;
    margin-top: 0; margin-bottom: 2.5rem; color: #EAEAEA;
}

.addon-item {
    display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem;
}

.addon-item:last-child {
    margin-bottom: 0;
}

.addon-icon {
    font-size: 2.5rem; color: #00dcc8; margin-top: 5px; width: 40px; text-align: center;
}

.addon-text h4 {
    margin: 0 0 0.5rem 0; font-size: 1.2rem; color: #EAEAEA; font-family: 'Roboto', sans-serif;
    font-weight: 500; text-align: left; display: flex; align-items: center;
}

.addon-text p {
    margin: 0; color: #BBBBBB; font-size: 1rem;
}

.addon-tag {
    font-size: 0.8rem; padding: 3px 8px; border-radius: 5px; font-weight: bold;
    margin-left: 10px; line-height: 1; color: white;
}

.tag-free {
    background-color: #28a745;
}

.tag-extra {
    background-color: #4A90E2;
}

/* -------------------------------------------------------------------
   10. Footer
------------------------------------------------------------------- */
.footer { 
    background-color: #000; 
    padding: 5rem 2rem 2rem; 
    position: relative;
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 3rem; 
    margin-bottom: 3rem; 
    text-align: left; 
}

.footer-grid h4 { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--primary-color); 
    font-size: 1.1rem; 
    margin-bottom: 1.2rem;
}

.footer-grid a, .footer-grid p { 
    color: var(--secondary-text-color); 
    text-decoration: none; 
    display: block; 
    margin-bottom: 0.8rem; 
    transition: color 0.3s ease;
}

.footer-grid a:hover { 
    color: var(--primary-color); 
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-text-color);
}

/* -------------------------------------------------------------------
   11. Media Queries (Responsividad)
------------------------------------------------------------------- */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .hero h3 { font-size: 1.4rem; }
    .hero p { font-size: 1.1rem; }
    .section { padding: 4rem 1.5rem; }
    .service-card.recommended { transform: scale(1); }
    .nav-content { padding: 0 1rem; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-nav-toggle { display: block; }
    .hero { min-height: 100vh; padding: 1rem; }
    .hero h1 { font-size: 2.5rem; line-height: 1.2; }
    .hero h3 { font-size: 1.2rem; letter-spacing: 2px; }
    .hero p { font-size: 1rem; margin-bottom: 2rem; }
    .logo-container img { max-width: 220px; }
    .section h2 { font-size: 2.2rem; }
    .section h4 { font-size: 1.1rem; }
    .cta-button, .cta-secondary { 
        display: block; margin: 10px auto; width: 80%; max-width: 300px;
        padding: 16px 30px; font-size: 0.9rem;
    }
    .nav-header { padding: 0.8rem 0; }
    .logo { font-size: 1.3rem; }
    .inspirational-grid { grid-template-columns: 1fr; }
    .inspirational-text h2, .inspirational-text p { text-align: center; }
    .inspirational-image { margin-top: 3rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero h3 { font-size: 1rem; letter-spacing: 1px; }
    .hero p { font-size: 0.95rem; }
    .container { padding: 0 1rem; }
    .section { padding: 3rem 1rem; }
}
/* =============================================
   OCULTAR TEMPORALMENTE EL INDICADOR DE SCROLL
============================================= */

.scroll-indicator {
    display: none !important;
}
/* =============================================
   AJUSTE RESPONSIVO PARA EL CONTENIDO DEL HERO
============================================= */

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 80px; /* ¡LA SOLUCIÓN! Añade un espacio superior igual a la altura del header */
}
/* En css/style.css */

/* =============================================
   ESTILOS PARA LA SECCIÓN DE VIDEOS DE YOUTUBE
============================================= */

/* En css/style.css */

.youtube-grid {
    display: grid;
    grid-template-columns: 1fr; /* Por defecto, una sola columna (para móviles) */
    gap: 2.5rem;
    margin-top: 3rem;
    width: 100%;
}

/* Media Query para pantallas más grandes (tablets y escritorio) */
@media (min-width: 768px) {
    .youtube-grid {
        /* Cuando la pantalla sea más ancha de 768px, usa 2 columnas */
        grid-template-columns: 1fr 1fr;
    }
}

.youtube-video {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333333;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.youtube-video:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.youtube-video iframe {
    width: 100%;
    height: 200px;
    border: none;
    display: block; /* Elimina espacios extra debajo del iframe */
}

.youtube-video-info {
    padding: 1.5rem;
}

.youtube-video-info h4 {
    font-family: 'Montserrat', sans-serif;
    color: #EAEAEA;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.youtube-video-info p {
    color: #BBBBBB;
    margin: 0;
    font-size: 0.9rem;
}
/* =============================================
   ESTILOS PARA LA SECCIÓN DE ESTUDIO DESTACADO
============================================= */

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

/* CONTENEDOR DEL SLIDESHOW - ¡MUY IMPORTANTE! */
.studio-slideshow {
    position: relative; /* Base para el posicionamiento absoluto de las imágenes */
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* CADA IMAGEN DENTRO DEL SLIDESHOW - ¡LA CLAVE! */
.studio-slideshow .slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute; /* ¡Esto apila las imágenes una encima de otra! */
    top: 0;
    left: 0;
    opacity: 0; /* Por defecto, todas son invisibles */
    transition: opacity 1.2s ease-in-out;
    border-radius: 15px;
}

/* LA IMAGEN ACTIVA SE HACE VISIBLE */
.studio-slideshow .slide.active {
    opacity: 1;
}
/* =============================================
   RESPONSIVIDAD PARA LA SECCIÓN DE ESTUDIO DESTACADO
============================================= */

@media (max-width: 992px) { /* Se activa en tablets y móviles */
    .studio-feature-grid {
        grid-template-columns: 1fr; /* ¡LA CLAVE! Cambia a una sola columna */
        gap: 3rem;
    }

    .studio-description {
        text-align: center; /* Centra el texto en móvil */
    }

    .studio-description h2 {
        font-size: 2.5rem; /* Ajusta el tamaño del título para móvil */
    }

    .services-list {
        display: inline-block; /* Permite que la lista se centre correctamente */
        text-align: left;
    }
}

/* ... (el resto de los estilos para .studio-description, etc., que ya deberías tener) ... */
/* =============================================
   AJUSTE PARA SLIDESHOWS DENTRO DE TARJETAS
============================================= */

.service-card .studio-slideshow {
    height: 220px; /* La misma altura que tenían las imágenes estáticas */
    position: relative; /* Asegura que el posicionamiento de los slides funcione */
    overflow: hidden; /* Oculta cualquier desbordamiento */
}
/* =============================================
   ESTILOS PARA EL ACORDEÓN DE EQUIPAMIENTO (VERSIÓN REVISADA)
============================================= */

.accordion-container {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: left;
}

.accordion-item {
    background-color: #1A1A1A;
    margin-bottom: 1rem;
    border-radius: 10px;
    border: 1px solid #333333;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: #00dcc8;
}

.accordion-toggle {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    color: #EAEAEA;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-toggle:hover {
    background-color: rgba(0, 220, 200, 0.05);
}

.accordion-arrow {
    transition: transform 0.4s ease;
    color: #00dcc8;
    font-size: 1rem; /* Ajuste para que no sea tan grande */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 2rem; /* ¡LA CLAVE! Padding horizontal */
}

.accordion-content ul {
    list-style: none;
    padding: 0; /* ¡SIN PADDING AQUÍ! */
    margin: 0;
}

.accordion-content ul li {
    padding: 0.8rem 0;
    color: #BBBBBB;
    border-bottom: 1px solid #2a2a2a;
}

.accordion-content ul li strong {
    color: #EAEAEA;
}

.accordion-content ul li:last-child {
    border-bottom: none;
}

/* Estilos para cuando el acordeón está ACTIVO */
.accordion-item.active .accordion-toggle {
    color: #00dcc8;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid #333333;
}
/* =============================================
   ESTILOS PARA EL BOTÓN FLOTANTE DE WHATSAPP
============================================= */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Color oficial de WhatsApp */
    color: #FFFFFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px; /* Centra el ícono verticalmente */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: transform 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none; /* Pausa la animación al pasar el mouse */
}

/* Animación de pulso sutil */
@keyframes pulse-whatsapp {
    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);
    }
}
/* =============================================
   ESTILOS PARA LISTA DE FEATURES EN TARJETAS DE SERVICIO
============================================= */

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0; /* Espacio antes del botón */
    flex-grow: 1; /* Empuja el botón hacia abajo */
}

.service-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #BBBBBB;
    font-size: 1rem;
}

.service-features li i {
    color: #00dcc8; /* Color primario para los íconos */
    margin-right: 15px;
    font-size: 1.1rem;
    width: 20px; /* Ancho fijo para alinear el texto */
    text-align: center;
    margin-top: 2px; /* Pequeño ajuste vertical */
}

/* =============================================
   ESTILOS PARA EL DETALLE DE SERVICIOS (PÁGINA PRODUCCIÓN )
============================================= */

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    text-align: left;
}

.service-detail-item:last-child {
    margin-bottom: 0;
}

/* Clase para alternar la posición de la imagen */
.service-detail-item.reverse {
    direction: rtl; /* Invierte el orden de los elementos */
}

.service-detail-item.reverse > * {
    direction: ltr; /* Restaura la dirección del texto dentro de los hijos */
}

.service-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-detail-text .badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.service-detail-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.service-detail-text .slogan {
    font-style: italic;
    color: var(--secondary-text-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.service-detail-text h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.service-detail-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-detail-text ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--secondary-text-color);
}

.service-detail-text ul li i {
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
}

/* Adaptación para móviles */
@media (max-width: 768px) {
    .service-detail-item,
    .service-detail-item.reverse {
        grid-template-columns: 1fr; /* Una sola columna */
        direction: ltr; /* Resetea la dirección */
        gap: 2rem;
    }
    .service-detail-text {
        text-align: center;
    }
    .service-detail-text h3, .service-detail-text h4 {
        text-align: center;
    }
    .service-detail-text ul {
        display: inline-block;
        text-align: left;
    }
}
/* =============================================
   ESTILOS PARA LA SECCIÓN DE PROCESO
============================================= */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background-color: #1A1A1A;
    border-radius: 15px;
    border: 1px solid #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.process-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.process-step h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #EAEAEA;
    margin-top: 0;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--secondary-text-color);
    font-size: 1rem;
    line-height: 1.7;
}
/* =============================================
   ESTILOS PARA EL FORMULARIO DE CONTACTO
============================================= */

.contact-form {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem; /* Espacio entre columnas */
}

.form-group {
    margin-bottom: 2rem; /* Espacio entre filas de campos */
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem; /* Espacio entre la etiqueta y el campo */
    font-weight: 500;
    color: #BBBBBB;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem; /* Campos más grandes */
    border: 1px solid #333333;
    border-radius: 8px;
    background-color: #0a0a0a;
    color: #EAEAEA;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00dcc8;
    box-shadow: 0 0 0 3px rgba(0, 220, 200, 0.18);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* Adaptación para móviles */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
/* =============================================
   ESTILOS PARA LA PÁGINA DE CONTACTO
============================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* La columna del mapa es más ancha */
    gap: 4rem;
    margin-top: 4rem;
    text-align: left;
}

.contact-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color );
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
    width: 30px;
}

.contact-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
    color: var(--secondary-text-color);
    text-decoration: none;
    font-size: 1rem;
    margin: 0;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-map iframe {
    border-radius: 15px;
    height: 400px;
}

/* Adaptación para móviles */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-map {
        margin-top: 3rem;
    }
}
/* =============================================
   ESTILOS PARA EL MENÚ DE NAVEGACIÓN MÓVIL
============================================= */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.98);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 3rem;
    cursor: pointer;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}
.mobile-nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: color 0.3s ease;
}
.mobile-nav a:hover {
    color: var(--primary-color);
}



/* -------------------------------------------------------------------
   12. Optimizaciones CanciónExpress
------------------------------------------------------------------- */
.hero-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(0,220,200,0.12);
    border: 1px solid rgba(0,220,200,0.28);
    color: #dffef8;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.hero-trust-pills,
.contact-intro-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.hero-trust-pills span,
.contact-intro-pills span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #f4f4f4;
    font-size: 0.9rem;
}

.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: left;
}

.reassurance-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.reassurance-card h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--text-color);
}

.reassurance-card p {
    margin: 0;
    color: var(--secondary-text-color);
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible,
.cta-button:focus-visible,
.cta-secondary:focus-visible,
.main-nav a:focus-visible,
.mobile-nav a:focus-visible {
    outline: 2px solid #aaf8ef;
    outline-offset: 3px;
}

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

@media (max-width: 768px) {
    .hero-trust-pills span,
    .contact-intro-pills span {
        font-size: 0.82rem;
    }
}

.nav-header.is-scrolled{box-shadow:0 10px 28px rgba(0,0,0,0.28);background-color:rgba(12,12,12,0.96);}
