/* --- Fuentes Locales --- */
@font-face {
    font-family: 'Barlow Local';
    src: url('./fonts/BarlowCondensed-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jakarta Local';
    src: url('./fonts/PlusJakartaSans-Regular.ttf') format('truetype'); 
    font-weight: 400; 
    font-style: normal;
    font-display: swap;
}

/* --- Variables y Configuración Base --- */
:root {
    --bg-color: #111111;
    --pink-accent: #FF0066;
    --yellow-accent: #FFE800;
    --purple-accent: #8338EC;
    --orange-accent: #FF5722;
    --text-white: #FFFFFF;
    --text-gray: #8A8A8A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hace que toda la página viaje suavemente 👇 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jakarta Local', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-white);
    overflow-x: hidden;
}

/* 👇  Le quito la rayita de enlace al logo y lo anima 👇 */ 
.logo-link {
    text-decoration: none; 
    color: inherit; 
    display: inline-block; 
    transition: transform 0.3s ease; 
}

.logo-link:hover {
    transform: scale(1.02); 
}


/* --- Barra de Navegación Flotante --- */
.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    
    /* 1. Ajuste de tamaño y posición */
    width: 92%; /* Para que no toque las orillas de la pantalla */
    max-width: 1400px; /* Para que en monitores gigantes no se estire de más */
    margin: 20px auto; /* Centra la barra horizontalmente */
    padding: 10px 40px; /* Espacio interno (arriba/abajo y a los lados) */
    
    /* 2. El color oscuro y bordes redondeados */
    background-color: #1a1a1a; 
    border-radius: 25px; /* Esto hace las esquinas completamente redondas (tipo píldora) */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Borde blanquito muy sutil */
    
    /* 3. El efecto de flotar al hacer scroll */
    position: sticky; 
    top: 20px; /* Al hacer scroll, se quedará flotando a 20px del techo */
    z-index: 1000; 
    
    /* 4. Sombra para dar profundidad */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6); 
}

/* --- 1. Lado Izquierdo: Contenedor de enlaces --- */
.nav-links {
    justify-self: start; /* Los alinea a la izquierda */
    display: flex;
    align-items: center;
}

/* Enlaces del menú */
.nav-links a {
    font-family: 'Jakarta Local', sans-serif;
    color: var(--text-gray);
    text-decoration: none;
    margin-right: 35px; /* Separación solo a la derecha */
    font-size: 16px; 
    font-weight: 700;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-white);
}

/* --- 2. Centro: Contenedor del Logo --- */
.logo {
    justify-self: center; /* Obliga al logo a estar en el medio exacto */
}

/* Logo Imagen */
.logo-img {
    height: 29px; 
    width: auto;
    display: block;
    transform: scale(2.6) translateY(2px); 
    
    /* CAMBIO CLAVE: Escala desde el centro, no desde la izquierda */
    transform-origin: center center; 
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(2.3); 
}

/* --- 3. Lado Derecho: Botón y Hamburguesa --- */
.nav-derecha {
    justify-self: end; /* Los empuja a la orilla derecha */
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- Ajuste de tamaño para el botón Ubicación en la barra --- */
.navbar .btn-outline {
    padding: 14px 24px; /* Un poco más angosto que el de cotizar */
    font-size: 16px; /* Letra un poco más pequeña para no robar protagonismo */
    border-width: 1px; /* Borde fino y elegante */
}


/* Botón de Cotizar en la barra */
.navbar .btn-primary {
    padding: 14px 32px; 
    font-size: 18px; 
}

/* --- Botones --- */
.btn-primary {
    font-family: 'Jakarta Local', sans-serif;
    background-color: var(--pink-accent);
    color: var(--text-white);
    padding: 24px 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* El efecto Glow (Resplandor Neón) */
.btn-primary:hover {
    transform: scale(1.03); 
    box-shadow: 0 8px 25px rgba(255, 0, 102, 0.5); /* Sombra rosa brillante */
    opacity: 0.9; 
}

.btn-outline {
    font-family: 'Jakarta Local', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.6); 
    color: var(--text-white);
    padding: 22px 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1.5px;
    transition: background-color 0.3s, color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 40px; 
}

/* --- Área Principal (Hero) --- */
.hero {
    display: flex;
    justify-content: space-between;
    padding: 80px 5% 60px;
    position: relative;
    min-height: 75vh;
}

.hero::before {
    content: ''; 
    position: absolute;
    left: 0; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 4px; 
    height: 180px; 
    background-color: var(--yellow-accent);
    z-index: 10; 
}

.hero-content {
    max-width: 60%;
    z-index: 2;
}

.subtitle {
    color: var(--pink-accent);
    font-weight: 600;
    font-size: 20px; 
    letter-spacing: 5px; 
    margin-bottom: 20px; 
}

.main-title {
    font-family: 'Barlow Local', sans-serif; 
    font-size: 190px; 
    font-weight: 900; 
    line-height: 150px; 
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: -3.5px;
}

.main-title .highlight {
    color: var(--pink-accent);
    white-space: nowrap; 
}

.main-title .nowrap {
    white-space: nowrap;
}

.description {
    color: var(--text-gray);
    font-size: 16px;
    max-width: 680px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* --- Gráficos (Mascota) --- */
.hero-graphics {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
}

.mascot-img {
    position: absolute;
    right: 5%; 
    top: 50%;
    transform: translateY(-50%);
    height: 92.5%; 
    width: auto;
    max-width: none; 
    opacity: 0.7;
    object-fit: contain; 
    animation: float-mascot 4s ease-in-out infinite;
}

/* --- Letrero amarillo (Ubicación) --- */
.location-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--yellow-accent);
    color: #000;
    font-family: 'Jakarta Local', sans-serif;
    font-weight: 1000; 
    padding: 8px 16px; 
    font-size: 14px;   
    line-height: 1.1; 
    letter-spacing: 1px;
}

/* --- Cinta inferior (Marquee) --- */
.marquee {
    background-color: var(--yellow-accent);
    color: #000;
    padding: 16px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: flex; 
    position: relative;
    z-index: 10; 
}

.marquee-content {
    font-family: 'Jakarta Local', sans-serif;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 2px;
    flex-shrink: 0; 
    padding-right: 10px; 
    animation: scroll 20s linear infinite; 
}

@keyframes scroll {
    0% { transform: translateX(0); } 
    100% { transform: translateX(-100%); } 
}

/* --- Botón WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    right: 40px;
    background-color: var(--pink-accent); 
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 0, 102, 0.3); 
    z-index: 999;
    transition: transform 0.3s ease;
    animation: pulse-animation 2s infinite; /* Animación fusionada aquí */
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse-animation {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 0, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 102, 0); }
}

@keyframes float-mascot {
    0% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(calc(-50% - 15px)) scale(1); }
    100% { transform: translateY(-50%) scale(1); }
    
}









/* --- SECCIÓN SERVICIOS --- */
.services-section {
    padding: 80px 5%;
    background-color: var(--bg-color);
}

.services-header {
    display: flex;
    justify-content: space-between;
    
    /* Cambiamos 'flex-end' por 'center' para subir el texto de la derecha */
    align-items: center; 
    
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.sub-heading {
    display: block;
    color: var(--pink-accent);
    font-family: 'Jakarta Local', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.main-heading {
    font-family: 'Barlow Local', sans-serif;
    font-size: clamp(36px, 6vw, 85px);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--text-white);
}

.desc-wrapper {
    max-width: 450px;
}

.desc-wrapper p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.5;
}

/* --- Regresamos a la cuadrícula limpia (sin líneas) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Volvemos a poner los espacios amplios que tenías al principio */
    gap: 60px 40px; 
}

/* --- Estructura de la tarjeta libre --- */
.service-card {
    display: flex;
    flex-direction: column;
    padding: 15px; 
    border-radius: 8px;
    /* Preparamos la animación para que el crecimiento y el contorno sean muy suaves */
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* --- Efecto al pasar el cursor (Hover) --- */
.service-card:hover {
    /* La tarjeta se agranda un 3% */
    transform: scale(1.03); 
    
    /* Creamos el contorno rosa perfecto de 2px de grosor */
    box-shadow: 0 0 0 2px var(--pink-accent); 
}

/* --- Efecto al hacer clic (Presionar) --- */
.service-card:active {
    /* La tarjeta pasa de estar grande a hundirse un poquito */
    transform: scale(0.97); 
    
    /* Mantenemos el contorno rosa y agregamos el destello de fondo */
    box-shadow: 0 0 0 2px var(--pink-accent); 
    background-color: rgba(255, 0, 102, 0.15); 
    
    /* El clic debe sentirse instantáneo */
    transition: transform 0.05s ease, background-color 0.05s ease, box-shadow 0.05s ease;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

/*LOS NUMEROS DE LAS 9 AREAS*/
.card-number {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 32px;
    font-weight: 800;
}

/* ANUNCIADO DE LAS 9 AREAS*/

.tag {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* LOS 9 TITULOS DE CADA AREA */
.card-title {
    font-family: 'Barlow Local', sans-serif;
    font-size: 38px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1;
}

/* CADA DESCRIPCION DE CADA AREA*/

.card-desc {
    color: var(--text-gray);
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1; 
}

.card-link {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
    align-self: flex-start;
    transition: opacity 0.3s;
}

.card-link:hover {
    opacity: 0.7;
}

/* --- Clases utilizadas de Color --- */
.color-pink { color: var(--pink-accent); }
.bg-pink { background-color: var(--pink-accent); color: white; }

.color-orange { color: var(--orange-accent); }
.bg-orange { background-color: var(--orange-accent); color: white; }

.color-purple { color: var(--purple-accent); }
.bg-purple { background-color: var(--purple-accent); color: white; }

.color-dark { color: #ffffff; }







/* --- BANNER DE ESTADÍSTICAS --- */
.stats-banner {
    background-color: var(--pink-accent);
    padding: 45px 5%;
    display: flex;
    justify-content: space-around; /* Reparte el espacio por igual */
    align-items: center;
    flex-wrap: wrap; /* Permite que se acomoden bien en celulares */
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: var(--text-white);
}

.stat-number {
    font-family: 'Barlow Local', sans-serif;
    font-size: 70px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    /* Le damos un toque de transparencia para que el número resalte más */
    color: rgba(255, 255, 255, 0.9); 
}


/* --- SECCIÓN GALERÍA --- */
.gallery-section {
    padding: 80px 5%;
    background-color: var(--bg-color);
}

/* Encabezado */
.gallery-header {
    margin-bottom: 40px;
}

/* NUESTRO TRABAJO */
.gallery-header .sub-heading {
    display: block;
    color: var(--pink-accent);
    font-family: 'Jakarta Local', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.4;
    margin-bottom: 5px;
}





/* GALERÍA */
.gallery-header .main-heading {
    font-family: 'Barlow Local', sans-serif;
    font-size: clamp(40px, 7vw, 90px);
    font-weight: 900;
    color: #EFEFEF; 
    text-transform: uppercase;
    line-height: 1;
}

/* --- Cuadrícula CSS Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px; 
    gap: 0px; /* 👈 1. Eliminamos completamente los márgenes entre fotos */
}

.gallery-item {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 0px; /* 👈 Quitamos lo redondeado para que las fotos peguen como bloques perfectos */
    background-color: transparent; /* 👈 2. Adiós al cuadro grisáceo del fondo */
}

.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 👈 3. Obliga a la foto a llenar el 100% del cuadro sin encogerse */
    object-position: center;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(1); /* 👈 4. Le quitamos el filtro oscurecedor para que luzca natural */
}

/* Pequeño zoom elegante al pasar el ratón */
.gallery-item:hover .gallery-photo {
    transform: scale(1.05); 
    filter: brightness(1.15); /* Se ilumina un poco al pasar el cursor */
    position: relative;
    z-index: 2;
}

/* --- Posicionamiento de las Imágenes Altas --- */
.item-tall-left {
    grid-column: 1; /* Se queda en la columna 1 */
    grid-row: 1 / span 2; /* Ocupa 2 filas de alto */
}

.item-tall-right {
    grid-column: 4; /* Se va a la columna 4 */
    grid-row: 1 / span 2; /* Ocupa 2 filas de alto */
}

/* --- Botón Inferior Derecho --- */
.gallery-footer {
    display: flex;
    justify-content: flex-end; /* Empuja el contenido a la derecha */
    margin-top: 30px;
}

/* BOTÓN */
/* Ajuste específico para que el botón de galería sea cuadrado y con tipografía Barlow */
.btn-square {
    font-family: 'Barlow Local', sans-serif; /* 👇 Cambiamos la tipografía a Barlow */
    font-weight: 700; /* Asegura que use el estilo Black condensado */
    padding: 16px 35px; /* Ajustamos un poquito el aire para que luzca imponente */
    border-radius: 3; /* Mantenemos el corte recto sin esquinas redondeadas */
    font-size: 26px; /* Subimos un poco el tamaño para que tenga más impacto visual */
    letter-spacing: 1px; /* Ajuste sutil de espacio entre letras */
}





/* --- SECCIÓN NOSOTROS --- */

:root {
    --bg-color: #111111;
    /* Agrega esta línea para el tono de la sección Nosotros */
    --bg-about: #1A1A1A; 
    
    --pink-accent: #FF0066;
    /* ... el resto de tus variables ... */
}

.about-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 5%;
    
    /* 👇 FONDO 👇 */
    background-color: var(--bg-about); 
    
    /* Opcional: Si quierO que se separe aún más, agrega un borde sutil */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    
    gap: 60px;
}
/* --- Columna Izquierda --- */
.about-content {
    flex: 1; /* Toma la mitad del espacio */
    max-width: 60%;
}

/* QUIENES SOMOS TEXTO */
.about-tag {
    display: inline-block;
    color: var(--pink-accent);
    font-family: 'Jakarta Local', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

/* TITULO BLANCO EN GRANDE */
.about-title {
    font-family: 'Barlow Local', sans-serif;
    font-size: clamp(36px, 6vw, 85px); 
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    color: #EFEFEF;
    margin-bottom: 30px;
}

/* MUCHO TEXTITO */
.about-desc {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 90%;
}

/* Fila de los 4 recuadros de valores */
.about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-item {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #EFEFEF;
    padding: 20px 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Le quito el borde derecho al último para que quede limpio */
.value-item:last-child {
    border-right: none;
}

/* --- Columna Derecha --- */
.about-image-wrapper {
    flex: 1;
    position: relative;
    max-width: 40%;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    /* Conservo el marco vertical original: la foto se encuadra sin deformarse */
    aspect-ratio: 600 / 750;
    object-fit: cover;
}

/* Los cuadrados decorativos flotantes */
.deco-square {
    position: absolute;
    width: 70px;
    height: 70px;
    z-index: 2; /* Para que queden encima de la foto */
}

.pink-square {
    top: -25px;
    left: -25px;
    background-color: var(--pink-accent);
}

.yellow-square {
    bottom: 40px; /* Sube un poco para no quedar en la orilla */
    right: -35px; /* Se sale un poco hacia la derecha de la foto */
    background-color: var(--yellow-accent);
}





/* --- Menú Hamburguesa (Oculto en Escritorio) --- */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001; /* Asegura que la "X" siempre quede por encima del menú */
}

.bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--text-white);
    transition: all 0.3s ease-in-out; /* Para la animación de la X */
}



/* ==============================================
   ESTILOS DE TESTIMONIOS (DESACTIVADOS)
=================================================
.testimonials-section {
    display: none;
    padding: 80px 5%;
    background-color: var(--bg-color); Mantiene el fondo oscuro
}

.testimonials-header {
    margin-bottom: 60px;
}

.testimonials-header .sub-heading {
    display: block;
    color: var(--pink-accent);
    font-family: 'Jakarta Local', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.testimonials-header .main-heading {
    font-family: 'Barlow Local', sans-serif;
    font-size: clamp(32px, 5vw, 70px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    color: var(--text-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px; /* Espacio amplio entre los testimonios 
}

/* --- Estructura base de la tarjeta --- 
.testimonial-card {
    display: flex;
    flex-direction: column;
    padding: 30px; /* Agregamos espacio interno para que parezca una tarjeta 
    border-radius: 12px; /* Esquinas ligeramente redondeadas 
    background-color: transparent; 
    border: 1px solid rgba(255, 255, 255, 0.03); /* Un borde casi invisible por defecto 
    
    /* 👇 Preparamos la animación para que sea fluida 👇 
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* --- La animación al pasar el cursor (Hover) 
.testimonial-card:hover {
    transform: translateY(-10px); /* La tarjeta "flota" 10 píxeles hacia arriba 
    background-color: #161616; /* El fondo se aclara un poco para destacar 
    border-color: var(--pink-accent); /* El borde se pinta de tu rosa característico 
    box-shadow: 0 15px 30px rgba(255, 0, 102, 0.1); /* Crea un resplandor rosa muy suave por debajo 
}

.stars {
    color: var(--yellow-accent);  Color amarillo brillante para las estrellas 
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.quote {
    font-family: 'Jakarta Local', sans-serif;
    color: var(--text-gray);
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1; Alinea los nombres abajo si un texto es más largo que otro 
}

.author h4 {
    font-family: 'Jakarta Local', sans-serif;
    color: var(--text-white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.author span {
    font-family: 'Jakarta Local', sans-serif;
    color: #666666; /* Un gris más oscuro para el puesto 
    font-size: 16px;
}

============================================== */



/* --- SECCIÓN DE CONTACTO (FONDO ROSA COMPLETO) --- */
.contact-split {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Centra el formulario con el texto */
    width: 100%;
    
    /* 👇 Ahora toda la sección completa es rosa 👇 */
    background-color: var(--pink-accent); 
    
    padding: 20px 8% 100px 8%; /* Damos buen espacio para que el rosa respire */
    gap: 60px;
}


.contact-left {
    flex: 1; /* El texto toma el espacio sobrante de la izquierda */
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* (Las clases contact-sub, contact-title, contact-desc y contact-info-list se quedan IGUAL, no las borres) */

/* --- Formulario Derecho (tarjeta oscura flotante) --- */
.contact-right {
    flex: 1;
    background-color: var(--bg-color);
    padding: 80px 8%;
    display: flex;
    align-items: center;
    border-radius: 16px;
    box-shadow: -10px 20px 50px rgba(0, 0, 0, 0.4);
}

.contact-sub {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-title {
    font-family: 'Barlow Local', sans-serif;
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.contact-desc {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    max-width: 85%;
    margin-bottom: 50px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-label {
    display: block;
    font-family: 'Jakarta Local', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.contact-info-list a, .contact-info-list span:not(.info-label) {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 16px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
}

.custom-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .input-group {
    flex: 1;
}



/* =========================================
   FORMULARIO: ETIQUETAS FLOTANTES (UX)
========================================= */
.floating-label-group {
    position: relative;
    width: 100%;
    flex: 1; /* Para que se acomoden perfecto a la mitad en la versión de escritorio */
}

/* Diseño base de las cajas de texto */
.floating-label-group .form-control {
    width: 100%;
    padding: 24px 20px 8px; /* Más padding arriba para hacerle espacio a la etiqueta cuando suba */
    background-color: #222222;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-white);
    font-family: 'Jakarta Local', sans-serif;
    font-size: 14px;
    outline: none;
    border-radius: 4px 4px 0 0;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    appearance: none; /* Quita la flechita fea por defecto del select */
}

/* Efecto visual al seleccionar la caja */
.floating-label-group .form-control:focus {
    border-bottom-color: var(--pink-accent);
    background-color: #2a2a2a;
}

/* Diseño del texto (label) cuando está en reposo */
.floating-label {
    position: absolute;
    top: 18px;
    left: 20px;
    color: var(--text-gray);
    font-size: 14px;
    font-family: 'Jakarta Local', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    pointer-events: none; /* Evita que el texto tape el clic del usuario */
    transition: 0.3s ease all;
}

/* --- LA MAGIA DE LA ANIMACIÓN --- 
   Si das clic (focus) O si ya escribiste algo (not placeholder-shown) 
   O si el select ya tiene una opción válida (valid) -> El texto sube.
*/
.floating-label-group .form-control:focus ~ .floating-label,
.floating-label-group .form-control:not(:placeholder-shown) ~ .floating-label,
.floating-label-group select.form-control:valid ~ .floating-label {
    top: 6px;
    left: 18px;
    font-size: 9px; /* Se hace chiquito */
    color: var(--pink-accent); /* Se pinta del neón de tu marca */
}




.btn-submit {
    background-color: var(--pink-accent);
    color: var(--text-white);
    font-family: 'Jakarta Local', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #E6005C;
    transform: translateY(-2px);
}



/* --- FOOTER FINAL --- */
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0A0A0A;
    padding: 25px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo img {
    height: 35px; /* Ajusta este valor si tu logo se ve muy chico o grande aquí */
    width: auto;
    /* Usamos el mismo truco para quitar el aire transparente de tu imagen original */
    transform: scale(2);
    transform-origin: left center;
}

.footer-copy {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 12px;
    color: var(--text-gray);
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-gray);
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--pink-accent);
}

/* --- REDES SOCIALES EN EL FOOTER --- */
.footer-social-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra los iconos justo debajo del texto */
    gap: 12px; /* Espacio entre el texto y los iconos */
}

.social-text {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: var(--pink-accent); /* El rosa de Estudio Candy para que resalte */
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-social {
    display: flex;
    gap: 30px; /*  Aumentamos la separación de 22px a 30px para que respiren */
}

.footer-social a img {
    width: 45px; /*  Aquí está la magia: cambiamos de 32px a 45px */
    height: auto;
    display: block;
    opacity: 0.65; 
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

/* Efecto al pasar el cursor sobre el icono */
.footer-social a:hover img {
    opacity: 1; /* Brillan al 100% */
    transform: scale(1.2); /* Un zoom un poco más notorio */
    filter: drop-shadow(0 0 12px rgba(255, 0, 102, 0.7)); /* Destello rosa más fuerte */
}




/* --- ESTILOS DEL MODAL DE SERVICIOS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Fondo oscuro semitransparente */
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Configuración para ocultarlo por defecto con transición suave */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Clase que se agregará con JavaScript para mostrar el modal */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #1A1A1A; 
    width: 90%;
    
    /* 👇 Subimos el límite de 900px a 1200px 👇 */
    max-width: 1200px; 
    
    /* 👇 Le obligamos a tener al menos 600px de alto para que respire 👇 */
    min-height: 600px; 
    
    border-radius: 4px;
    display: flex;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 35px;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    color: var(--pink-accent);
}

.modal-left {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-number-wrap {
    margin-bottom: 20px;
}

.modal-number {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 32px;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}

.modal-line {
    width: 40px;
    height: 2px;
    
}

.modal-title {
    font-family: 'Barlow Local', sans-serif;
    font-size: clamp(34px, 5vw, 65px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 20px;
}

.modal-desc {
    font-family: 'Jakarta Local', sans-serif;
    color: var(--text-gray);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-tags {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.modal-cta {
    font-family: 'Jakarta Local', sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    align-self: flex-start;
}

.modal-cta:hover {
    opacity: 0.7;
}

.modal-right {
    flex: 1;
    padding: 40px;
    display: flex;
    align-items: center;
}

.modal-right img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 👈 La magia: obliga a la foto a mostrarse completa */
    object-position: center; /* La mantiene centrada */

}



/* =========================================
   MENÚ DESPLEGABLE (BLINDADO)
========================================= */

/* 1. La caja de SERVICIOS (OBLIGATORIO: position: relative) */
.dropdown {
    position: relative; /* ¡Esto evita que flote y rompa tu barra! */
    display: inline-block; /* Le da su propio espacio en la fila */
    margin: 0 20px; /* Lo separa sanamente de Nosotros y Galería */
}

/* 2. El botón de texto */
.dropbtn {
    font-family: 'Jakarta Local', sans-serif;
    color: var(--text-gray);
    font-size: 16px; 
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 10px 0; 
    display: inline-block;
    transition: color 0.3s;
}

.dropdown:hover .dropbtn {
    color: var(--text-white);
}

/* 3. La ventana negra que cae */
.dropdown-content {
    display: none;
    position: absolute; /* Este SÍ flota por encima del resto de la web */
    background-color: #1A1A1A;
    min-width: 260px;
    box-shadow: 0px 15px 30px rgba(0,0,0,0.8);
    border-radius: 8px;
    top: 100%; /* Empieza exactamente debajo de la palabra */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    margin-top: 5px; /* Pequeño colchón visual */
}

/* 4. EL PUENTE INVISIBLE (Para que el menú no desaparezca al bajar el cursor) */
.dropdown-content::before {
    content: "";
    position: absolute;
    top: -20px; 
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

/* 5. Acción de abrir */
.dropdown:hover .dropdown-content {
    display: block;
}

/* 6. Los enlaces de adentro */
.dropdown-content a {
    color: var(--text-gray);
    padding: 12px 25px;
    display: block;
    font-size: 14px;
    font-family: 'Jakarta Local', sans-serif;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    margin: 0; /* Anula cualquier margen que herede de la barra */
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    color: var(--pink-accent);
    background-color: rgba(255, 0, 102, 0.05);
    padding-left: 30px;
}

/* 7. Línea separadora */
.dropdown-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.dropdown-content .todos-link {
    color: var(--text-white);
    text-align: center;
}

.dropdown-content .todos-link:hover {
    padding-left: 25px; 
    background-color: transparent;
}
/* =========================================
   PORTAFOLIO MOSAICO (SÚPER BLINDADO)
========================================= */
.portfolio-section {
    padding: 140px 5% 80px;
    background-color: var(--bg-color);
    width: 100%; 
    box-sizing: border-box; /* Evita que el padding rompa el ancho */
}

.portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-header .sub-heading {
    display: block;
    color: var(--pink-accent);
    font-family: 'Jakarta Local', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.portfolio-header .main-heading {
    font-family: 'Barlow Local', sans-serif;
    font-size: clamp(32px, 6vw, 70px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 15px;
}

.portfolio-desc {
    color: var(--text-gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   NUEVA GALERÍA: ESTILO MASONRY (CASCADA)
========================================= */
.new-masonry-grid {
    /* 👇 Aquí bajamos de 6 a 4 columnas 👇 */
    column-count: 4;
    column-gap: 15px; /* Le di un poquitito más de aire (15px) para que las fotos grandes respiren mejor */
    max-width: 1300px; /* Limitamos un poco el ancho para que en monitores gigantes no se estiren en exceso */
    margin: 0 auto;
    padding: 0 15px; 
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 15px; /* Le regresé el margen inferior para que se vea la cuadrícula limpia */
    border-radius: 8px; /* Le regresé el redondeo elegante a las esquinas */
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Efecto sutil al pasar el cursor */
.masonry-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* El video y la imagen se comportarán exactamente igual */
.masonry-item img,
.masonry-item video {
    width: 100%;
    height: auto; 
    display: block;
    transition: filter 0.4s ease, transform 0.4s ease;
    filter: brightness(1); 
    object-fit: cover; /* Asegura que el video llene bien el espacio */
}

/* El mismo efecto de brillo y zoom al pasar el cursor */
.masonry-item:hover img,
.masonry-item:hover video {
    filter: brightness(1.1);
    transform: scale(1.03); 
}


/* =========================================
   TEXTO FLOTANTE SOBRE LAS FOTOS (OVERLAY)
========================================= */
.masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Degradado oscuro que solo afecta la mitad inferior de la foto */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: flex-end; /* Lo pega abajo */
    justify-content: flex-start; /* Lo pega a la izquierda */
    padding: 30px 25px; /* Espacio interno para que respire */
    box-sizing: border-box;
    opacity: 0; /* Oculto por defecto */
    transition: opacity 0.3s ease;
    
    /* TRUCO: Permite que el script de fotos rotativas siga funcionando */
    pointer-events: none; 
    z-index: 3; /* Asegura que el texto quede por encima de la foto */
}

/* Al pasar el cursor sobre el recuadro, aparece el fondo degradado */
.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

/* Estilo exacto de la letra de tu imagen */
.overlay-text {
    color: var(--text-white);
    font-family: 'Jakarta Local', sans-serif;
    font-weight: 800; /* Letra extra gruesa */
    font-size: 15px; 
    line-height: 1.3; 
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: left; 
    max-width: 90%; 
    
    /* Efecto de desplazamiento sutil */
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

/* Al pasar el cursor, el texto sube a su posición original */
.masonry-item:hover .overlay-text {
    transform: translateY(0);
}

/* =========================================
   RESPONSIVO PARA LA NUEVA CASCADA
========================================= */
/* Tablet normal - 3 columnas */
@media screen and (max-width: 1024px) {
    .new-masonry-grid { column-count: 3; }
}

/* Móvil grande - 2 columnas */
@media screen and (max-width: 768px) {
    .new-masonry-grid { column-count: 2; }
}

/* Móvil chico - 1 columna */
@media screen and (max-width: 480px) {
    .new-masonry-grid { column-count: 1; }
}






/* =========================================================
   RESPONSIVE — MENÚ MÓVIL, TABLET Y CELULAR
   (No existían media queries antes; el hamburguesa no
   funcionaba porque .hamburger estaba en display:none fijo
   y no había estilos para nav-links.active)
========================================================= */

/* ---------- TABLET GRANDE (≤1024px) ---------- */
@media (max-width: 1024px) {

    .hero {
        flex-direction: column;
        min-height: auto;
        padding: 60px 6% 40px;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-graphics {
        position: relative;
        width: 100%;
        height: 320px;
    }

    .mascot-img {
        right: 50%;
        transform: translate(50%, -50%);
    }

    .hero::before {
        display: none;
    }

    .main-title {
        font-size: 100px;
        line-height: 90px;
        letter-spacing: -2px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-content,
    .about-image-wrapper {
        max-width: 100%;
    }

    .about-desc {
        max-width: 100%;
    }

    .contact-split {
        flex-direction: column;
        padding: 60px 6%;
    }

    .contact-right {
        width: 100%;
    }

    .candy-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .modal-content {
        max-width: 90%;
    }
}

/* ---------- MENÚ MÓVIL (≤900px) ---------- */
@media (max-width: 900px) {

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .navbar {
        padding: 14px 5%;
    }

    /* El menú se convierte en un panel a pantalla completa */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #1a1a1a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s ease, opacity 0.3s ease, visibility 0.4s;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        margin: 12px 0;
        font-size: 22px;
    }

    .navbar .btn-primary {
        padding: 12px 22px;
        font-size: 14px;
    }

    .dropdown {
        margin: 12px 0;
    }

    .dropdown-content {
        position: static;
        transform: none;
        display: none;
        box-shadow: none;
        margin-top: 15px;
        text-align: center;
    }

    .dropdown:hover .dropdown-content,
    .dropdown.active .dropdown-content {
        display: block;
    }
}

/* ---------- CELULAR (≤768px) ---------- */
@media (max-width: 768px) {

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .main-title {
        font-size: 58px;
        line-height: 54px;
        letter-spacing: -1px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        padding: 18px 30px;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-banner {
        gap: 30px 15px;
    }

    .stat-number {
        font-size: 48px;
    }

    /* Galería del inicio: colapsamos a 2 columnas y quitamos las verticales gigantes */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .item-tall-left,
    .item-tall-right {
        grid-column: auto;
        grid-row: span 2;
    }

    .gallery-footer {
        justify-content: center;
    }

    /* Portafolio (galeria.html): 2 columnas, sin piezas gigantes */
    .candy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 220px;
    }

    .item-large,
    .item-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .about-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-item:nth-child(2) {
        border-right: none;
    }

    .contact-info-list {
        align-items: center;
        text-align: center;
    }

    .contact-left {
        text-align: center;
        align-items: center;
    }

    .form-row {
        flex-direction: column;
        gap: 25px;
    }

    .site-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Modales de servicios: apilados en vez de lado a lado */
    .modal-content {
        flex-direction: column;
        overflow-y: auto;
        max-height: 90vh;
        min-height: auto;
    }

    .modal-left {
        padding: 50px 30px 20px;
    }

    .modal-right {
        padding: 0 30px 30px;
        order: -1;
        max-height: 250px;
    }
}

/* ---------- CELULAR CHICO (≤480px) ---------- */
@media (max-width: 480px) {

    .main-title {
        font-size: 42px;
        line-height: 40px;
    }

    .candy-grid {
        grid-template-columns: 1fr;
    }

    .item-large,
    .item-wide,
    .item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .item-tall-left,
    .item-tall-right {
        grid-row: span 1;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .value-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .value-item:last-child {
        border-bottom: none;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}



/* --- PANTALLA DE CARGA --- */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: #0A0A0A;
    z-index: 99999; /* Por encima de todo */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader-logo {
    width: 120px;
    height: auto;
    animation: latido 1.5s infinite ease-in-out;
}

.preloader.oculto {
    opacity: 0;
    visibility: hidden;
}

@keyframes latido {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px rgba(255, 0, 102, 0.5)); }
}

/* --- PANTALLA DE CARGA: ya definida arriba --- */



@keyframes latido {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px rgba(255, 0, 102, 0.5)); }
}

.noise-overlay {
    position: fixed;
    top: 0; left: 0; 
    width: 100vw; height: 100vh;
    pointer-events: none; 
    z-index: 0; 
    background: 
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 2px) 0 0,
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 2px) 15px 15px;
    background-size: 30px 30px;
}

/* --- SELECCIÓN DE TEXTO PERSONALIZADA --- */
::selection {
    background-color: var(--pink-accent);
    color: #111111; /* Texto oscuro para que contraste con el rosa */
}
::-moz-selection {
    background-color: var(--pink-accent);
    color: #111111;
}

/* =========================================
   VIDEOS DESTACADOS (GALERÍA)
========================================= */
.featured-videos {
    display: grid;
    /* El horizontal toma 2 partes (2fr) y el vertical 1 parte (1fr) */
    grid-template-columns: 2.2fr 1fr; 
    gap: 15px;
    max-width: 1300px;
    margin: 0 auto 15px auto; /* 15px de separación con la cascada de abajo */
    padding: 0 15px; 
}

.featured-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Forzamos a los videos a llenar su espacio sin deformarse */
.featured-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* El mismo efecto sutil al pasar el ratón que tienen tus fotos */
.featured-item:hover video {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* =========================================
   RESPONSIVO PARA VIDEOS DESTACADOS
========================================= */
/* En tablets y celulares, apilamos los videos uno sobre otro */
@media screen and (max-width: 900px) {
    .featured-videos {
        grid-template-columns: 1fr; /* Una sola columna */
    }
    
    /* Le damos un límite de altura al video vertical en celulares para que no sea gigante */
    .video-vertical {
        max-height: 60vh; 
    }
}

/* =========================================
   ETIQUETA INDICADORA DE MÚLTIPLES FOTOS
========================================= */
.badge-carrusel {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente */
    backdrop-filter: blur(4px); /* Efecto cristalino elegante */
    color: #ffffff;
    font-family: 'Jakarta Local', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 20px; /* Bordes redondeados como píldora */
    z-index: 4;
    pointer-events: none; /* Para que no estorbe al cursor */
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* =========================================
   EFECTO DE APARICIÓN AL SCROLLEAR (FADE-IN)
========================================= */
/* 1. Estado inicial: invisible y desplazado hacia abajo */
.estado-oculto {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 2. Estado visible: opacidad completa y vuelve a su posición normal */
.estado-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Ajuste clave: Una vez que ya es visible, le regresamos la velocidad normal
   para que tu efecto hover (hacerse grande al pasar el ratón) siga funcionando perfecto */
.masonry-item.estado-visible:hover {
    transform: scale(1.02);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}


/* =========================================
   MODO LIGHTBOX (PANTALLA COMPLETA)
========================================= */
/* Cambiamos el cursor a una lupa para avisar que se puede clickear */
.masonry-item { 
    cursor: zoom-in; 
}

/* El fondo oscuro de pantalla completa */
#lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Negro casi sólido */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Cuando se activa con JavaScript */
#lightbox-overlay.activo {
    opacity: 1;
    pointer-events: auto;
}

/* La imagen ampliada */
#lightbox-imagen {
    max-width: 90%;
    max-height: 80vh; /* Ocupa máximo el 80% del alto de la pantalla */
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* La cruz para cerrar */
.lightbox-cerrar {
    position: absolute;
    top: 25px;
    right: 40px;
    color: white;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
}
.lightbox-cerrar:hover { color: #f1f1f1; }

/* Botones de siguiente / anterior */
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 20px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
    backdrop-filter: blur(5px);
}
.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* Título debajo de la foto */
#lightbox-texto {
    color: white;
    margin-top: 20px;
    font-family: 'Jakarta Local', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Clase para ocultar las flechas si solo es 1 foto */
.ocultar-flechas { display: none !important; }

/* Ajustes para los videos del Lightbox */
.featured-item { 
    cursor: zoom-in; 
}

#lightbox-video {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    outline: none; /* Quita el borde azul molesto al darle clic al video */
}

/* ===========================================
                 IMAN DE VENTAS 
    ========================================== */
    
    .cta-magnet {
        background: linear-gradient(135deg, #d80056, #90003a); /* rosa/magenta corporativo */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 30px 20px;
        border-radius: 8px;
        min-height: 250px;
        box-shadow: 0 4px 15px rgba(216, 0, 86, 0.3);
        /*estas transiciones son para que combine con el efecto de las fotos*/
        transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/*al pasar el raton se eleva un poco y brilla mas*/
.cta-magnet:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(216, 0, 86, 0.6);
}

.cta-content {

    color: #ffffff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;

}

.cta-content h3 {

    font-size: 24px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    font-family: 'Jakarta Local', sans-serif;

}

.cta-content p {

    font-size: 15px;
    margin: 0;
    opacity: 0.9;
    font-family: 'Jakarta Local', sans-serif;
}


.cta-btn {

    display: inline-block;
    background: #ffffff;
    color: #d80056; /*TEXTO ROSA*/
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 10px;
    transition: background 0.3s, color 0.3s;
}

/* al pasar el raton,el boton cambia de color para invitar al clic*/

.cta-magnet:hover .cta-btn  {
    background: #000000;
    color: #FFFFFF;
}

/* =========================================
   FORMULARIO DE CONTACTO: TRAMPA Y AVISOS
========================================= */

/* Campo señuelo para robots. Se esconde sin usar display:none ni
   visibility:hidden, porque muchos bots detectan esos dos y lo saltan. */
.campo-trampa {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Aviso de "mensaje enviado" o de error.
   Va con display:none mientras no hay nada que decir: el formulario es un
   flex con gap, así que si solo lo dejara transparente seguiría ocupando
   su hueco y movería el botón hacia abajo. */
.form-aviso {
    display: none;
    font-family: 'Jakarta Local', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    padding: 14px;
    border-left: 3px solid transparent;
}

.form-aviso.visible {
    display: block;
    animation: aviso-aparece 0.3s ease;
}

@keyframes aviso-aparece {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-aviso.exito {
    color: var(--yellow-accent);
    border-left-color: var(--yellow-accent);
    background-color: rgba(255, 232, 0, 0.08);
}

.form-aviso.error {
    color: var(--pink-accent);
    border-left-color: var(--pink-accent);
    background-color: rgba(255, 0, 102, 0.08);
}

/* Botón mientras se está enviando */
.btn-submit:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}
