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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #111111; /* Fondo oscuro por defecto */
    color: #ffffff;
    overflow-x: hidden;
}

/* ================= HEADER STYLES (TRANSPARENTE SOBRE EL HERO) ================= */
.main-header {
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
}

/* Logotipo Adaptado a Fondo Fotográfico */
.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #ffffff; /* Blanco para resaltar */
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.logo-sub {
    font-size: 10px;
    color: #f3cfb3; /* Tono champagne premium */
    letter-spacing: 3px;
    font-weight: 600;
    margin-top: -2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Menú de Navegación */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 15px;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}

.nav-menu ul li a:hover, 
.nav-menu ul li a.active {
    color: #f3cfb3; /* Resalta en tono champagne */
    font-weight: 600;
}

/* Selector de Idioma */
.lang-selector select {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(5px);
    outline: none;
}

/* ================= HERO SECTION (FULL BACKGROUND IMAGE) ================= */
.hero-section {
    width: 100%;
    height: 100vh;
    position: relative;
    
    /* Imagen por defecto al cargar la página por primera vez */
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)), url('background3.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    display: flex;
    align-items: center;
    
    /* EFECTO TRANSICIÓN SUAVE: Cambia el fondo con un difuminado elegante */
    transition: background-image 0.8s ease-in-out; 
}
.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.hero-content {
    max-width: 750px;
    z-index: 10;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero-title i {
    color: #f3cfb3; /* Palabra clave destacada en Champagne */
    font-style: italic;
}

.hero-subtitle {
    font-size: 13px;
    letter-spacing: 3px;
    color: #f5f5f5;
    margin-bottom: 35px;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-hero {
    display: inline-block;
    text-decoration: none;
    background-color: #d15790; /* Rosa/Fucsia vibrante de la captura */
    color: #ffffff;
    padding: 16px 45px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(209, 87, 144, 0.4);
}

.btn-hero:hover {
    transform: translateY(-2px);
    background-color: #b54378;
}

/* Flechas del Slider */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: background 0.3s, transform 0.3s;
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.prev-arrow { left: 40px; }
.next-arrow { right: 40px; }

/* ================= WIDGETS FLOTANTES SOBRE LA IMAGEN ================= */

/* Google Widget (Abajo Izquierda) */
.google-reviews-widget {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 10;
}

.reviews-text {
    display: flex;
    flex-direction: column;
}

.reviews-text .rating {
    font-weight: 600;
    font-size: 14px;
    color: #e67e22;
}

.reviews-text .count {
    font-size: 11px;
    color: #555555;
    font-weight: 600;
}

/* WhatsApp Flotante (Abajo Derecha) */
.btn-float-contact {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background-color: #d15790;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(209, 87, 144, 0.4);
    transition: transform 0.3s, background-color 0.3s;
    z-index: 10;
}

.btn-float-contact:hover {
    transform: scale(1.05);
    background-color: #b54378;
}

/* RESPONSIVE (Ajustes para Tablets y Celulares) */
@media (max-width: 992px) {
    .nav-menu { display: none; }
    .hero-container { padding: 0 30px; }
    .hero-title { font-size: 40px; }
    .slider-arrow { display: none; } /* Ocultar flechas en móvil para limpiar espacio */
    
    .google-reviews-widget {
        bottom: auto;
        top: 120px;
        left: 30px;
    }
}
/* ================= HERO SECTION (FULL BACKGROUND IMAGE) ================= */
.hero-section {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden; /* Evita cualquier desborde de las capas internas */
}

/* Capas absolutas para el truco del desvanecimiento */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Capa frontal con transición de opacidad controlada por JS */
.front-bg {
    transition: opacity 0.8s ease-in-out;
    opacity: 1;
}

/* Clase auxiliar que aplicaremos dinámicamente para hacer el fade-out transitorio */
.front-bg.fade {
    opacity: 0;
}

/* Modificamos el contenedor de contenido para asegurar que se ubique por encima de los fondos */
.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 5; /* Por encima de las imágenes */
}

/* Asegurar que las flechas y los widgets queden siempre arriba */
.slider-arrow, .google-reviews-widget, .btn-float-contact {
    z-index: 10;
}
/* ================= SECCIÓN SOBRE NOSOTROS (ESTILO HERO) ================= */
.about-section-hero {
    width: 100%;
    min-height: 85vh; /* Casi pantalla completa para dar aire visual */
    position: relative;
    
    /* Imagen de fondo de Richard trabajando o de un montaje imponente */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.65)), url('background-about.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efecto Parallax elegante al hacer scroll */
    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.about-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: center; /* Centramos el bloque de contenido */
}

.about-content {
    max-width: 800px; /* Ancho óptimo para lectura */
    text-align: center; /* Texto centrado para diferenciarlo del Hero */
    z-index: 10;
}

.about-subtitle {
    font-size: 12px;
    letter-spacing: 4px;
    color: #f3cfb3; /* Tono champagne premium */
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.about-title i {
    color: #f3cfb3;
    font-style: italic;
}

.about-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #f5f5f5;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.about-text strong {
    font-weight: 600;
    color: #ffffff;
}

/* Botón Estilizado */
.about-actions {
    margin-top: 35px;
}

.btn-about-primary {
    display: inline-block;
    text-decoration: none;
    background-color: transparent;
    color: #ffffff;
    padding: 15px 40px;
    border: 2px solid #ffffff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-about-primary:hover {
    background-color: #ffffff;
    color: #111111; /* Invierte colores al pasar el mouse */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.15);
}

/* RESPONSIVE AJUSTES */
@media (max-width: 768px) {
    .about-container { padding: 0 20px; }
    .about-title { font-size: 34px; }
    .about-text { font-size: 15px; }
    .about-section-hero { background-attachment: scroll; } /* Desactiva parallax en móviles para mejor rendimiento */
}
/* RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CAMBIO AQUÍ: Movimiento suave en todo el sitio web */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Esto compensa la altura del header fijo para que no tape el texto */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #111111; /* Fondo oscuro por defecto */
    color: #ffffff;
    overflow-x: hidden;
}
/* ================= SECCIÓN DE DESTACADO NAVIDEÑO ================= */
/* ================= SECCIÓN DE DESTACADO NAVIDEÑO (FONDO FIJO ABAJO) ================= */
.featured-service-section {
    width: 100%;
    min-height: 75vh;
    position: relative;
    
    /* Imagen de fondo comercial */
    background-image: url('christmas-luxury-bg.jpeg');
    background-size: cover;
    
    /* CAMBIO AQUÍ: Forzamos a que la imagen se alinee abajo y se quede fija (Efecto Parallax) */
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed; 
    
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.featured-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: flex-end; /* Empuja la caja de texto a la derecha como en la referencia */
}

/* Caja de contenido estilizada y limpia */
.featured-info-box {
    background-color: rgba(255, 255, 255, 0.95); /* Fondo blanco limpio con ligera transparencia */
    padding: 50px;
    border-radius: 12px;
    max-width: 550px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 5;
    backdrop-filter: blur(5px);
}

.featured-tag {
    font-size: 11px;
    letter-spacing: 2px;
    color: #d15790; /* Rosa/Fucsia corporativo para resaltar */
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #111111; /* Texto oscuro para legibilidad sobre el fondo blanco */
    line-height: 1.3;
    margin-bottom: 20px;
}

.featured-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #444444;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
}

.featured-benefit {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #666666;
    font-style: italic;
    margin-bottom: 30px;
    border-left: 3px solid #d15790;
    padding-left: 12px;
}

/* Botón de Acción Principal */
.btn-featured-cta {
    display: inline-block;
    text-decoration: none;
    background-color: #111111; /* Botón elegante negro */
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-featured-cta:hover {
    background-color: #d15790; /* Cambia a rosa en hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(209, 87, 144, 0.3);
}

/* RESPONSIVE AJUSTES */
@media (max-width: 992px) {
    .featured-container {
        justify-content: center; /* Centra la caja en tabletas y móviles */
        padding: 0 20px;
    }
    .featured-info-box {
        padding: 35px 25px;
    }
    .featured-title {
        font-size: 28px;
    }
}


/* ================= SECCIÓN DE SERVICIOS INTERACTIVA ================= */
.services-grid-section {
    width: 100%;
    background-color: #111111;
    padding: 100px 0;
    position: relative;
}

.services-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-subtitle {
    font-size: 11px;
    letter-spacing: 4px;
    color: #f3cfb3; /* Tono champagne */
    font-weight: 600;
    margin-bottom: 10px;
}

.services-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #ffffff;
}

/* Grilla adaptable */
.services-grid {
    display: block; /* Compatibilidad nativa limpia */
}

/* Contenedor Flex para las filas de servicios */
@media (min-width: 769px) {
    .services-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 25px;
    }
}

/* Tarjeta de Servicio Individual */
.service-item {
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    cursor: pointer;
    
    /* EFECTO EN IMAGEN: Empieza en tonos más apagados/desaturados */
    filter: grayscale(30%);
    transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
    
    /* Cálculo de ancho para que entren 3 por fila en pantallas grandes */
    width: 100%;
}

@media (min-width: 769px) {
    .service-item {
        width: calc(33.333% - 17px);
        margin-bottom: 0;
    }
    /* Para que los últimos dos servicios (04 y 05) se expandan elegantemente al 50% cada uno */
 
    .service-item:nth-child(7) {
        width: calc(100% - 13px);
    }
}

/* Capa de protección oscura inicial */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

/* Contenido de la tarjeta */
.service-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.service-number {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #f3cfb3;
    display: block;
    margin-bottom: 10px;
    font-style: italic;
    opacity: 0.8;
}

.service-item-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 12px;
    
    /* EFECTO: Transición suave para la iluminación del texto */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.service-item-desc {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.5;
    font-weight: 300;
    max-width: 90%;
}

/* ================= EFECTOS INTERACTIVOS (HOVER) ================= */
.service-item:hover {
    transform: translateY(-5px);
    filter: grayscale(0%); /* La imagen recobra todo su color real */
    box-shadow: 0 15px 30px rgba(209, 87, 144, 0.15);
}

/* Al pasar el mouse, cambiamos el tono del overlay dándole un toque de color magenta transparente */
.service-item:hover .service-overlay {
    background: linear-gradient(to top, rgba(209, 87, 144, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
}

/* Al pasar el mouse, EL TEXTO SE ILUMINA en el rosa vibrante corporativo */
.service-item:hover .service-item-title {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(209, 87, 144, 0.8);
}

/* RESPONSIVE MÓVIL */
@media (max-width: 768px) {
    .services-container { padding: 0 20px; }
    .services-title { font-size: 32px; }
    .service-item { height: 350px; padding: 25px; }
    .service-item-title { font-size: 24px; }
}

/* ================= SECCIÓN DE CONTACTO (CONTACT US) ================= */
.contact-section {
    width: 100%;
    background-color: #161616; /* Un tono sutilmente diferente al #111111 para separar secciones */
    padding: 100px 0;
    position: relative;
}

.contact-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

@media (min-width: 993px) {
    .contact-container {
        flex-direction: row; /* Dos columnas en pantallas grandes */
    }
}

/* --- BLOQUE DEL FORMULARIO --- */
.contact-form-block {
    flex: 1.2;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-subtitle {
    font-size: 11px;
    letter-spacing: 4px;
    color: #f3cfb3; /* Champagne */
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 15px;
}

.contact-title i {
    color: #f3cfb3;
    font-style: italic;
}

.contact-desc {
    font-size: 15px;
    color: #b3b3b3;
    line-height: 1.6;
    font-weight: 300;
}

/* Estilos del Formulario de Lujo */
.luxury-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 576px) {
    .form-row {
        flex-direction: row;
    }
    .form-row .form-group {
        flex: 1;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    letter-spacing: 1px;
    color: #f3cfb3;
    font-weight: 600;
    text-transform: uppercase;
}

.luxury-form input,
.luxury-form select,
.luxury-form textarea {
    width: 100%;
    padding: 14px 18px;
    background-color: #222222;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.luxury-form input:focus,
.luxury-form select:focus,
.luxury-form textarea:focus {
    border-color: #d15790; /* Iluminación fucsia corporativa al seleccionar */
    background-color: #2a2a2a;
    box-shadow: 0 0 10px rgba(209, 87, 144, 0.2);
}

.luxury-form select option {
    background-color: #222222;
    color: #ffffff;
}

/* Botón de Envío */
.btn-submit-contact {
    background-color: #d15790;
    color: #ffffff;
    border: none;
    padding: 16px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(209, 87, 144, 0.3);
}

.btn-submit-contact:hover {
    background-color: #b54378;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209, 87, 144, 0.5);
}

/* --- BLOQUE DE INFORMACIÓN Y MAPA --- */
.contact-info-block {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background-color: #222222;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

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

.info-icon {
    font-size: 20px;
}

.info-text strong {
    display: block;
    font-size: 13px;
    color: #f3cfb3;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-text p, 
.info-text a {
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: #d15790;
}

/* Contenedor del Mapa */
.map-container {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    /* Filtro sutil para amoldar el mapa de Google al tema oscuro */
    filter: invert(90%) hue-rotate(180deg) grayscale(10%) contrast(95%);
}

/* RESPONSIVE AJUSTES */
/* Grilla adaptable */
.services-grid {
    display: block; /* Compatibilidad nativa limpia */
}

/* Contenedor Flex para las filas de servicios */
@media (min-width: 769px) {
    .services-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 25px;
    }
    
    /* Las primeras 5 tarjetas se acomodan en filas de 3 columnas */
    .service-item {
        width: calc(33.333% - 17px);
        margin-bottom: 0;
    }

    /* CAMBIO AQUÍ: Obliga al último servicio (06 LED Robot Show) a ocupar el 100% de su fila */
    .service-item:last-child {
        width: 100%;
        height: 500px; /* Le damos un poco más de altura para que luzca imponente a lo ancho */
    }
}
/* ================= SECCIÓN ABOUT US COMPLETA ================= */

/* --- Hero Superior --- */
.about-hero-section {
    width: 100%;
    height: 45vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('about-hero-bg.jpeg');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.about-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    color: #ffffff;
    margin-top: 20px;
}
.about-hero-title i { color: #f3cfb3; font-style: italic; }

.about-hero-subtitle {
    font-size: 11px;
    letter-spacing: 4px;
    color: #f3cfb3;
    font-weight: 600;
}

/* --- Sección Biografía (Dos Columnas Asimétricas) --- */
.about-bio-section {
    width: 100%;
    padding: 120px 0;
    background-color: #111111;
}

.about-bio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

@media (min-width: 992px) {
    .about-bio-container {
        flex-direction: row;
        align-items: center;
    }
}

/* Columna de Imágenes tipo Collage Elegante */
.about-bio-images {
    flex: 1;
    position: relative;
    height: 600px;
    width: 100%;
}

.image-wrapper {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.main-img {
    width: 75%;
    height: 500px;
    top: 0;
    left: 0;
    z-index: 2;
}

.secondary-img {
    width: 55%;
    height: 350px;
    bottom: 0;
    right: 0;
    z-index: 3;
    border: 4px solid #111111; /* Crea un corte limpio sobre la foto de atrás */
}

/* Columna de Texto */
.about-bio-text {
    flex: 1;
}

.bio-tag {
    font-size: 11px;
    letter-spacing: 3px;
    color: #d15790;
    font-weight: 600;
    margin-bottom: 15px;
}

.bio-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 30px;
}

.bio-paragraph {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 300;
}

.italic-quote {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #f3cfb3;
    font-style: italic;
    border-left: 3px solid #d15790;
    padding-left: 20px;
    margin: 30px 0;
}

/* Estadísticas de éxito */
.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #d15790;
    font-weight: 600;
    display: block;
}

.stat-label {
    font-size: 12px;
    color: #888888;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* --- Sección de Pilares --- */
.about-pillars-section {
    width: 100%;
    padding: 100px 0;
    background-color: #161616;
}

.pillars-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.pillars-header {
    text-align: center;
    margin-bottom: 60px;
}

.pillars-subtitle {
    font-size: 11px;
    letter-spacing: 4px;
    color: #f3cfb3;
    font-weight: 600;
    margin-bottom: 10px;
}

.pillars-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #ffffff;
}

.pillars-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 769px) {
    .pillars-grid {
        flex-direction: row;
    }
}

.pillar-card {
    flex: 1;
    background-color: #222222;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-icon {
    font-size: 24px;
    color: #d15790;
    display: block;
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 15px;
}

.pillar-card p {
    font-size: 14px;
    color: #aaaaaa;
    line-height: 1.6;
    font-weight: 300;
}

/* RESPONSIVE GENERAL MÓVIL */
@media (max-width: 768px) {
    .about-bio-container, .pillars-container { padding: 0 20px; }
    .about-hero-title { font-size: 32px; }
    .bio-title { font-size: 28px; }
    .about-bio-images { height: 450px; }
    .main-img { height: 380px; }
    .secondary-img { height: 240px; }
    .pillars-title { font-size: 28px; }
}


/* ================= CORRECCIÓN Y SOPORTE PARA EL DROPDOWN ================= */

/* Indicador de flecha al lado del texto */
.arrow-indicator {
    font-size: 11px;
    margin-left: 3px;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Contenedor relativo del ítem del menú */
.nav-menu ul li.has-dropdown {
    position: relative;
}

/* --- PANEL DEL MEGA MENÚ --- */
.nav-menu ul li.has-dropdown .mega-dropdown {
    position: fixed; /* Se ancla a lo ancho de la ventana del navegador */
    top: 90px; /* Justo debajo del header */
    left: 0;
    width: 100vw;
    background-color: #111111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    padding: 25px 0;
    z-index: 999;
    
    /* EFECTO DE REVELACIÓN ELEGANTE (Invisibilidad inicial) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

/* Caja contenedora interna alineada con el sitio */
.mega-dropdown-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 15px;
}

/* --- TARJETAS INDIVIDUALES DEL DESPLEGABLE --- */
.dropdown-item {
    flex: 1;
    height: 160px;
    position: relative;
    background-size: cover;
    background-position: center center;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    text-decoration: none;
    
    /* Empiezan ligeramente desaturadas para contraste */
    filter: grayscale(20%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Capa oscura interna */
.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

/* Contenido de texto */
.item-content {
    position: relative;
    z-index: 2;
}

.item-number {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    color: #f3cfb3; /* Tono Champagne */
    font-style: italic;
    display: block;
    margin-bottom: 2px;
}

.dropdown-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* ================= INTERACCIONES HOVER (AL PASAR EL MOUSE) ================= */

/* Al pasar el mouse sobre la pestaña del menú, se muestra el panel */
.nav-menu ul li.has-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Rotación sutil de la flecha indicadora */
.nav-menu ul li.has-dropdown:hover .arrow-indicator {
    transform: rotate(180deg);
    color: #f3cfb3;
}

/* Comportamiento al apuntar a un servicio específico de la lista */
.dropdown-item:hover {
    transform: translateY(-4px);
    filter: grayscale(0%);
}

.dropdown-item:hover .item-overlay {
    background: linear-gradient(to top, rgba(209, 87, 144, 0.5) 0%, rgba(0, 0, 0, 0.1) 100%); /* Tinte fucsia sutil */
}

.dropdown-item:hover h4 {
    color: #f3cfb3; /* El texto brilla en tono champagne */
}


/* ================= DISPOSITIVOS MÓVILES Y TABLETS (MEDIA QUERY) ================= */
@media (max-width: 992px) {
    
    /* Botón Hamburguesa Estilizado */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1100;
        padding: 0;
    }
    
    .hamburger-menu .bar {
        width: 100%;
        height: 3px;
        background-color: #ffffff;
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }
    
    /* Animación del botón al abrirse */
    .hamburger-menu.open .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger-menu.open .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.open .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Transformación del menú a Panel Lateral Lateral (Right Side Drawer) */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido por defecto */
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: #111111;
        padding: 120px 40px 40px 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        transition: right 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
        z-index: 1050;
        overflow-y: auto; /* Permite scroll interno si hay muchos elementos */
    }

    /* Clase activa que inyectará JS para abrir el menú */
    .nav-menu.open {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
    }

    .nav-menu ul li {
        width: 100%;
    }

    .nav-menu ul li a {
        font-size: 20px;
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* --- COMPORTAMIENTO DEL DROPDOWN EN MÓVIL --- */
    .nav-menu ul li.has-dropdown:hover .mega-dropdown {
        opacity: 0;
        visibility: hidden;
        transform: none;
    }

    .nav-menu ul li.has-dropdown .mega-dropdown {
        position: relative;
        top: 0;
        width: 100%;
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        
        /* Sistema colapsable de acordeón */
        display: none; /* Controlado dinámicamente por JS */
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    /* Mostrar acordeón activo */
    .nav-menu ul li.has-dropdown .mega-dropdown.active {
        display: block;
        margin-top: 15px;
    }

    .mega-dropdown-container {
        flex-direction: column;
        gap: 12px;
        padding: 0;
    }

    .dropdown-item {
        height: 100px; /* Reducimos la altura en teléfonos para ahorrar espacio */
        filter: grayscale(0%); /* En móvil mostramos color completo de una vez */
    }
    
    .dropdown-item h4 {
        font-size: 16px;
    }

    /* Ajuste para el selector de lenguaje en móvil */
    .header-actions {
        margin-right: 50px; /* Le da espacio al botón hamburguesa */
    }
}



/* =========================================================================
   FOOTER PREMIUM - HANDMADE BY RICHARD QUIJADA
   ========================================================================= */
.main-footer {
    background-color: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 80px 0 40px 0;
    position: relative;
    z-index: 10;
    font-family: 'Montserrat', sans-serif;
}

.footer-columns {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin-bottom: 60px;
}

.footer-column {
    display: table-cell;
    vertical-align: top;
    padding: 0 20px;
}

.footer-column h4 {
    font-family: 'Playfair Display', serif;
    color: #f3cfb3;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-column p, 
.footer-column ul li, 
.footer-column ul li a {
    font-size: 14px;
    color: #999999;
    line-height: 1.8;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.footer-brand .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    letter-spacing: 2px;
    color: #ffffff;
    display: block;
}

.footer-brand .logo-sub {
    font-size: 9px;
    letter-spacing: 3px;
    color: #f3cfb3;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
}

.footer-brand p {
    margin-top: 20px;
    font-size: 13px;
}

/* Barra de créditos inferior */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    letter-spacing: 1px;
    color: #555555;
    text-transform: uppercase;
}

/* Adaptación Responsiva para Celulares (Simulación de Flex sin usar flex/grid) */
@media (max-width: 768px) {
    .footer-columns {
        display: block;
    }
    .footer-column {
        display: block;
        width: 100% !important;
        padding: 0 0 40px 0;
        text-align: center;
    }
    .footer-column:last-child {
        padding-bottom: 0;
    }
    .main-footer {
        padding: 60px 0 30px 0;
    }
}
/* =========================================================================
   SOPORTE RESPONSIVO ABSOLUTO PARA TABLETAS Y TELÉFONOS (HASTA 1024PX)
   ========================================================================= */
@media (max-width: 1024px) {
    
    /* 1. Forzar visualización táctil del botón hamburguesa */
    .hamburger-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 2500 !important;
        position: relative !important;
    }

    /* 2. Transformación de la barra a panel lateral flotante */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important; /* Escondido a la derecha */
        width: 300px !important;
        height: 100vh !important;
        background-color: #0b0b0b !important;
        padding: 120px 30px 40px 30px !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8) !important;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
        z-index: 2000 !important;
        display: block !important; /* Rompe el flexbox de escritorio */
        overflow-y: auto !important;
    }

    /* Clase inyectada por JS para deslizar el menú a pantalla */
    .nav-menu.open {
        right: 0 !important;
    }

    /* 3. Menú vertical limpio */
    .nav-menu ul {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        width: 100% !important;
        display: block !important;
    }

    .nav-menu ul li {
        width: 100% !important;
        margin: 0 !important;
        display: block !important;
    }

    .nav-menu ul li a {
        font-size: 16px !important;
        display: block !important;
        width: 100% !important;
        padding: 18px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        color: #ffffff !important;
        text-align: left !important;
    }

    /* Anular el comportamiento HOVER de escritorio en pantallas táctiles */
    .nav-menu ul li.has-dropdown:hover .mega-dropdown {
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
        transform: none !important;
    }

    /* 4. Convertir el Mega Dropdown en un acordeón táctil intuitivo */
    .nav-menu ul li.has-dropdown .mega-dropdown {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background-color: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important; /* JS lo controla */
    }

    /* Mostrar el acordeón al presionarse */
    .nav-menu ul li.has-dropdown .mega-dropdown.active {
        display: block !important;
        margin-top: 5px !important;
        margin-bottom: 15px !important;
    }

    /* Reestructurar las rejillas complejas a filas verticales sencillas */
    .mega-dropdown-container {
        display: block !important;
        padding: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .dropdown-item {
        display: flex !important;
        align-items: center !important;
        height: 65px !important;
        margin-bottom: 8px !important;
        border-radius: 6px !important;
        background-position: center center !important;
        background-size: cover !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        text-decoration: none !important;
    }

    .dropdown-item .item-content {
        padding: 0 20px !important;
        transform: none !important;
        position: relative !important;
        z-index: 2 !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .dropdown-item h4 {
        font-size: 13px !important;
        margin: 0 !important;
        color: #ffffff !important;
        font-family: 'Montserrat', sans-serif !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
    }

    .dropdown-item .item-number {
        font-size: 11px !important;
        color: #f3cfb3 !important;
    }
}
/* =========================================================================
   ESTILOS PREMIUM: EFECTO ABANICO EN ARCO Y LIGHTBOX
   ========================================================================= */
.special-event-section {
    padding: 120px 0;
    background-color: #111111;
    position: relative;
}

.special-event-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.event-visuals-col, .event-info-col {
    display: table-cell;
    vertical-align: middle;
    width: 50%;
}

.event-info-col {
    padding-left: 60px;
}

/* --- MAQUETACIÓN DEL ARCO FÍSICO 3D --- */
.flyers-arch-container {
    position: relative;
    width: 100%;
    height: 480px;
    margin: 0 auto;
    perspective: 1000px; /* Profundidad de campo */
}

.flyer-arch-card {
    position: absolute;
    width: 240px;
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.4s, border-color 0.3s;
    background-color: #1a1a1a;
}

.flyer-arch-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Posicionamiento en Abanico Asimétrico */
.flyer-left {
    left: 10%;
    bottom: 20px;
    transform: rotate(-12deg) translateY(15px) translateZ(-40px);
    z-index: 2;
}

.flyer-center {
    left: 50%;
    top: 10px;
    transform: translateX(-50%) scale(1.08) translateZ(20px);
    z-index: 5;
    border-color: rgba(243, 207, 179, 0.3);
}

.flyer-right {
    right: 10%;
    bottom: 20px;
    transform: rotate(12deg) translateY(15px) translateZ(-40px);
    z-index: 2;
}

/* Efectos Hover Dinámicos al pasar el mouse */
.flyer-arch-card:hover {
    z-index: 10 !important;
    border-color: #f3cfb3 !important;
    transform: scale(1.1) rotate(0deg) translateY(-10px) !important;
}

/* Pequeñas etiquetas con las fechas sobre los flyers */
.arch-badge {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(11, 11, 11, 0.85);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.central-badge {
    color: #f3cfb3;
    border-color: #f3cfb3;
}

/* --- ESTILOS DE LA VENTANA LIGHTBOX EMERGENTE --- */
.lightbox-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(7, 7, 7, 0.95);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 85%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    animation: zoomInLight 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes zoomInLight {
    to { transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #f3cfb3;
}

/* --- AJUSTES DE BOTONES Y DETALLES DE TEXTO --- */
.section-title-left { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 400; color: #ffffff; margin-bottom: 25px; }
.event-description { font-family: 'Montserrat', sans-serif; font-size: 15px; line-height: 1.8; color: #b3b3b3; margin-bottom: 30px; font-weight: 300; }
.event-details-list { margin-bottom: 40px; }
.detail-item { font-family: 'Montserrat', sans-serif; font-size: 14px; color: #ffffff; margin-bottom: 12px; padding-left: 15px; border-left: 2px solid #f3cfb3; }
.event-action-buttons { display: flex; gap: 15px; width: 100%; }
.btn-event { flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 55px; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; text-decoration: none; border-radius: 6px; transition: all 0.3s ease; }
.btn-icon { margin-right: 10px; font-size: 16px; }
.btn-phone { background-color: transparent; border: 1px solid #ffffff; color: #ffffff; }
.btn-phone:hover { background-color: #ffffff; color: #111111; }
.btn-whatsapp { background-color: #25d366; border: 1px solid #25d366; color: #ffffff; }
.btn-whatsapp:hover { background-color: #1ebd58; border-color: #1ebd58; }

/* --- ADAPTACIÓN ADAPTABLE (TABLETAS Y CELULARES) --- */
@media (max-width: 1024px) {
    .special-event-grid { display: block; }
    .event-visuals-col, .event-info-col { display: block; width: 100%; }
    .event-info-col { padding-left: 0; margin-top: 60px; }
    .flyers-arch-container { height: 420px; max-width: 550px; }
    .flyer-arch-card { width: 180px; height: 270px; }
    .flyer-left { left: 5%; }
    .flyer-right { right: 5%; }
}

@media (max-width: 480px) {
    .flyers-arch-container { height: 340px; }
    .flyer-arch-card { width: 130px; height: 200px; }
    .arch-badge { font-size: 9px; padding: 4px 10px; bottom: 8px; }
    .event-action-buttons { flex-direction: column; }
}

/* Estilo interactivo para el botón de correo navideño */
.btn-featured-email:hover {
    background-color: #blue !important;
    color: #blue !important;
}

/* Ajuste responsive para celulares: se apilan verticalmente si la pantalla es pequeña */
@media (max-width: 480px) {
    .featured-actions {
        flex-direction: column !important;
    }
    .btn-featured-email {
        padding: 15px 0;
    }
}
/* =========================================================================
   BOTÓN FLOTANTE PREMIUM DE INSTAGRAM (LADO DERECHO)
   ========================================================================= */
.instagram-floating-btn {
    position: fixed;
    right: 25px;
    bottom: 95px; /* Lo situamos en la esquina inferior derecha */
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.35);
    z-index: 999; /* Asegura que flote sobre galerías y textos sin chocar con el menú */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    text-decoration: none;
}

/* Icono SVG Blanco */
.instagram-floating-btn .instagram-icon {
    width: 26px;
    height: 26px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

/* Efectos Interactivos (Efecto de expansión de Gala) */
.instagram-floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(220, 39, 67, 0.5);
}

.instagram-floating-btn:hover .instagram-icon {
    transform: rotate(10deg);
}

/* Ajuste Responsivo para Celulares */
@media (max-width: 768px) {
    .instagram-floating-btn {
        right: 20px;
        bottom: 50px;
        width: 50px;
        height: 50px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }
    .instagram-floating-btn .instagram-icon {
        width: 22px;
        height: 22px;
    }
}
/* =========================================================================
   BOTÓN FLOTANTE PREMIUM DE TIKTOK (LADO DERECHO - APILADO)
   ========================================================================= */
.tiktok-floating-btn {
    position: fixed;
    right: 25px;
    bottom: 155px; /* Posicionado exactamente arriba del de Instagram (25px + 55px + 15px de margen) */
    width: 55px;
    height: 55px;
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    /* Sombras sutiles con la paleta de color de TikTok */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 
                -2px -2px 10px rgba(0, 242, 234, 0.2), 
                2px 2px 10px rgba(254, 44, 85, 0.2);
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
}

.tiktok-floating-btn .tiktok-icon {
    color: #ffffff;
    transition: transform 0.3s ease;
}

/* Efectos de Iluminación al pasar el mouse */
.tiktok-floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 
                -3px -3px 15px rgba(0, 242, 234, 0.4), 
                3px 3px 15px rgba(254, 44, 85, 0.4);
}

.tiktok-floating-btn:hover .tiktok-icon {
    transform: scale(1.05) rotate(-8deg);
}

/* =========================================================================
   AJUSTE RESPONSIVO PARA MÓVILES (Para que no estorben con el botón de WhatsApp)
   ========================================================================= */
@media (max-width: 768px) {
    /* Si en celular el botón de WhatsApp ocupa todo el ancho inferior,
       subimos los botones laterales para que no se superpongan */
    .instagram-floating-btn {
        right: 20px;
        bottom: 90px; /* Sube un poco en móvil */
        width: 50px;
        height: 50px;
    }
    
    .tiktok-floating-btn {
        right: 20px;
        bottom: 155px; /* Se mantiene perfectamente arriba del de Instagram en móviles */
        width: 50px;
        height: 50px;
    }
}