/* Julie Alisados - Estilos Premium v1.1 */
:root {
    --pearl-white: #FFFFFF;
    --soft-cream: #FFF0F5;
    --gold: #D4AF37;
    --gold-light: #F2D06B;
    --gold-dark: #B4941F;
    --dark-text: #1A1A1A;
    --light-text: #222222;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.3);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--pearl-white);
    color: var(--dark-text);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    /* Para el fondo translúcido */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('FONDO WEB.jpg');
    background-size: cover;
    background-position: center 20%;
    background-attachment: fixed;
    opacity: 0.3;
    filter: blur(0px);
    z-index: -1;
    /* Detrás de todo */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--pearl-white);
    padding: 5px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    max-width: 98%;
    margin: 0 auto;
    padding: 0 10px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    display: block;
}

.header-titles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    padding-left: 15px;
}

.header-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    color: var(--dark-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-title span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gold-dark);
    margin-top: 2px;
}

.header-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    margin: 4px 0 0;
    color: var(--dark-text);
    text-transform: lowercase;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* Navigation - Mobile First */
.hamburger {
    display: none;
    /* Oculto por defecto en escritorio */
}

@media (max-width: 768px) {
    header {
        background-color: var(--pearl-white);
        padding: 5px 0;
    }

    .header-container {
        height: 80px;
        padding: 0 10px;
    }

    .logo-img {
        height: 60px;
    }

    .header-titles {
        padding-left: 10px;
    }

    .header-title {
        font-size: 0.85rem;
    }

    .header-title span {
        font-size: 0.6rem;
    }

    .header-subtitle {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }


    .hamburger {
        display: block;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid var(--gold);
        border-radius: 8px;
        cursor: pointer;
        padding: 8px;
        z-index: 1100;
        transition: all 0.3s ease;
    }

    .hamburger span {
        display: block;
        width: 28px;
        height: 2px;
        background-color: var(--gold);
        margin: 6px 0;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .hamburger.active {
        background: var(--gold);
    }

    .hamburger.active span {
        background-color: #fff;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hamburger {
        position: relative;
        z-index: 2000;
        /* Asegurar que el botón esté por encima de todo */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 100px 30px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1050;
        display: flex;
        flex-direction: column;
        border-left: 1px solid var(--gold);
    }

    .nav-menu.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }

    .nav-menu ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        gap: 25px !important;
        margin-top: 20px;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
        padding-bottom: 15px;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        font-size: 1.1rem !important;
        display: block;
        width: 100%;
        color: var(--dark-text);
        letter-spacing: 2px;
    }

    /* Añadir un elemento decorativo al menú */
    .nav-menu::before {
        content: "JA";
        position: absolute;
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
        font-family: var(--font-heading);
        font-size: 2.5rem;
        color: var(--gold);
        opacity: 0.2;
        letter-spacing: 5px;
    }
}

/* Redes Sociales en Header (Versión Mini con Colores Vivos) */
.header-socials {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-right: 15px;
    margin-right: 15px;
    border-right: 1px solid rgba(212, 175, 55, 0.3);
}

.header-social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-social-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

/* Colores de Fondo Permanentes */
.header-social-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 2px 8px rgba(214, 36, 159, 0.3);
}

.header-social-icon.facebook {
    background: #1877F2;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

.header-social-icon.tiktok {
    background: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header-social-icon:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .header-socials {
        border-right: none;
        padding-right: 0;
        margin: 20px 0 10px;
        justify-content: flex-start;
        width: 100%;
    }
}

.nav-menu {
    margin-left: auto;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    /* Menú horizontal por defecto */
    gap: 15px;
    align-items: center;
}

@media (max-width: 480px) {
    .nav-menu ul {
        gap: 10px;
    }

    .nav-menu a {
        font-size: 0.8rem;
    }
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--gold);
}

.btn-nav {
    background-color: var(--gold);
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 50px;
    text-align: center;
}

/* Adjust Hero for sticky header */
.hero {
    padding: 110px 0 20px;
    /* Ajustado para que el título sea visible bajo el menú fijo */
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}


.btn-gold {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #fff;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-gold);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-image-banner {
    margin-top: 10px;
    /* Menos espacio entre botón y banner */
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    /* Necesario para posicionar controles sobre el banner */
}

.banner-title h3 {
    font-family: var(--font-heading);
    color: #C5A059 !important;
    font-size: 2.2rem;
    padding-top: 20px !important;
    /* Espacio muerto eliminado */
    line-height: 1.6 !important;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: none !important;
    text-align: center;
    overflow: visible !important;
    height: auto !important;
}

.image-banner-wrapper {
    width: 100% !important;
    max-width: 100%;
    display: flex;
    justify-content: flex-start;
    /* Alineación a la izquierda para control total del scroll */
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    margin: 0 auto !important;
}

.image-banner-wrapper::-webkit-scrollbar {
    display: none;
}

.image-banner-track {
    display: flex;
    gap: 10px;
    width: 100%;
    /* Cambiado de max-content para permitir centrado */
    padding: 0;
}

.image-banner-track.banner-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    animation: none !important;
}

/* Slider Manual Modificado - Controles Superpuestos */
.manual-track {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    animation: none !important;
    width: max-content !important;
}

.slider-controls {
    position: absolute;
    top: 0;
    /* Cambio a 0 para cubrir todo el alto del banner */
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    width: 100%;
    pointer-events: none;
    /* Permite interactuar con lo que hay debajo */
    z-index: 20;
}

/* Contenedor inferior para el botón de pausa */
.controls-center {
    position: absolute;
    bottom: 30px;
    /* Posicionado abajo */
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    pointer-events: auto;
    /* Reactivar clicks en los botones */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: rgba(197, 160, 89, 0.3);
    color: #fff;
    border-color: var(--gold);
    transform: scale(1.1);
}

.slider-btn.prev,
.slider-btn.next {
    background: rgba(255, 255, 255, 0.05);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.promo-slider-wrapper {
    display: flex;
    justify-content: center;
    /* En PC, si caben varias se centran */
    padding-bottom: 30px;
}

@media (max-width: 768px) {
    .image-banner-track.banner-centered {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .image-card {
        width: 95% !important;
        max-width: 400px !important;
        height: 480px !important;
    }
}

/* Solo las que no son estáticas o centradas se mueven */
.image-banner-track:not(.banner-static):not(.banner-centered) {
    width: max-content;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 6 - 10px * 6));
        /* Ajustado al nuevo ancho de tarjeta (350px) + gap (10px) para 6 tarjetas */
    }
}

/* Ajustes finales de tarjeta para modo fluido */
.image-card {
    width: 315px !important;
    max-width: 315px !important;
    min-width: 250px !important;
    flex-shrink: 0;
    background: #fdf4f7 !important;
    /* Fondo suave por si el video tarda en cargar */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--gold);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 560px;
    /* Ajustado a 9:16 exacto para 315px de ancho */
    display: flex;
    flex-direction: column;
}

/* Ajuste específico para la Línea de Productos */
.product-line .image-card {
    height: 385px;
    /* Reducido un 30% de 550px */
}

.image-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.2);
}

/* Estilos para etiquetas de productos en banner */
.product-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.85);
    color: var(--soft-cream);
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--gold);
    transition: background 0.3s ease;
}

.product-link {
    text-decoration: none;
    display: block;
    overflow: hidden;
}

.product-link:hover .product-label {
    background: var(--gold-dark);
}

/* Variantes de velocidad para marquesinas */
.marquee-fast {
    animation: marquee 12s linear infinite !important;
}

/* Variante estática (sin movimiento) */
.banner-static {
    animation: none !important;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    /* Cambiado a contain para ver términos legales */
    display: block;
    background: #000;
    /* Fondo negro para que no se vea el fondo rosa si hay desfase */
}

.placeholder-img-large {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* Ajuste perfecto sin espacios blancos */
    background-color: transparent;
    transition: transform 0.8s ease;
}

.image-card:hover .placeholder-img-large {
    transform: scale(1.1);
}

/* Navigation Arrows */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.banner-nav:hover {
    background: var(--gold);
    color: #fff;
}

.banner-nav.prev {
    left: 10px;
}

.banner-nav.next {
    right: 10px;
}

/* Dots */
.banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gold);
    width: 25px;
    border-radius: 10px;
}

/* The original .placeholder-img-large rule had these properties, which were not part of the combined rule.
   They are kept here to maintain the visual style of the placeholder. */
.placeholder-img-large {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--soft-cream);
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.btn-gold:hover {
    background: var(--soft-cream);
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 240, 245, 0.6);
    border-color: var(--gold);
}

/* Services Section */
.services {
    padding: 30px 0;
    /* Reducido para un aspecto más compacto */
    background-color: var(--soft-cream);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('png_20230705_121027_0000.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.25;
    /* Sube la opacidad solicitada */
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services .section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.8rem;
    color: var(--dark-text);
    margin-bottom: 25px;
    /* Reducido para compactar */
    position: relative;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    /* Sombreado para legibilidad */
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 25px auto 0;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .services-grid {
        gap: 25px;
    }
}

.service-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: var(--shadow-soft);
    flex: 0 1 320px;
    min-width: 280px;
}

@media (min-width: 768px) {
    .service-card {
        padding: 25px;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
}

.icon-gold {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-logo {
    width: 45px;
    /* Tamaño tipo icono más pequeño */
    height: auto;
    transition: transform 0.3s ease;
}

.service-card:hover .service-logo {
    transform: scale(1.1);
}

.service-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark-text);
}

.service-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Results Section */
.results {
    padding: 80px 0;
    /* Simetrizado: 80px arriba y abajo */
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
    }
}

.image-container {
    border-radius: 20px;
    border: 1px solid var(--gold);
    padding: 10px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    width: 100%;
    /* Ensure it fills column */
}

.result-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.result-label {
    background: var(--gold);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    font-family: var(--font-heading);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    margin-top: -5px;
}

.placeholder-img {
    width: 100%;
    height: 300px;
    background-color: #EEE;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    background-image: linear-gradient(45deg, #f3f3f3 25%, #e6e6e6 25%, #e6e6e6 50%, #f3f3f3 50%, #f3f3f3 75%, #e6e6e6 75%, #e6e6e6 100%);
    background-size: 20px 20px;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--soft-cream);
}

.features-grid {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 20px;
    text-align: center;
}

.feature-item {
    flex: 1;
    max-width: 260px;
}

@media (max-width: 992px) {
    .features-grid {
        flex-wrap: wrap;
        gap: 30px;
    }

    .feature-item {
        max-width: 45%;
    }
}

@media (max-width: 576px) {
    .feature-item {
        max-width: 100%;
    }
}

.feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}



/* Testimonials */
.testimonials {
    padding: 40px 0;
    /* Espacio profesional y equilibrado */
    background-color: var(--soft-cream);
    width: 100%;
    overflow: hidden;
    text-align: center;
    /* Asegurar centrado de elementos internos */
}

.testimonials .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.testimonials .section-title {
    margin-bottom: 35px !important;
    /* Reducido para simetría */
}

.testimonials .section-title,
.testimonials .certification-text,
.testimonials .google-badge {
    padding: 0 20px;
    /* Mantener texto con margen */
}

.google-badge {
    display: inline-flex;
    /* Centrado flex */
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    /* Compactado */
    background: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.google-badge span {
    font-size: 0.9rem;
    color: #555;
}

.certification-text {
    margin: 0 auto 25px;
    /* Reducido espacio muerto */
    color: var(--dark-text);
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    background: rgba(255, 255, 255, 0.7);
    display: block;
    /* Para centrado efectivo */
    max-width: fit-content;
    padding: 15px 35px;
    border-radius: 50px;
    border: 1px solid var(--gold);
    box-shadow: var(--shadow-soft);
}


/* Testimonials Infinite Vertical Scroll */
.testimonials-infinite-container {
    width: 98%;
    max-width: 1250px;
    height: 400px;
    /* Altura para ver aprox 3 testimonios panorámicos */
    margin: 20px auto 0;
    overflow: hidden;
    position: relative;
    /* Máscara de difuminado arriba y abajo */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.testimonials-infinite-track {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: scrollVertical 25s linear infinite;
}

.testimonials-infinite-container:hover .testimonials-infinite-track {
    animation-play-state: paused;
}

@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
        /* Se mueve la mitad del track (el bloque duplicado) */
    }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.75);
    padding: 12px 60px;
    /* Más horizontal, menos vertical para alargar */
    border-radius: 80px;
    /* Cápsula más alargada y elegante */
    border: 1px solid var(--gold);
    box-shadow: var(--shadow-soft);
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    /* Mayor separación entre texto y usuario */
    position: relative;
    backdrop-filter: blur(5px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 25px;
    font-size: 8rem;
    color: rgba(212, 175, 55, 0.05);
    font-family: serif;
    line-height: 1;
}

@media (max-width: 768px) {
    .fade-container {
        min-height: 420px;
        /* Ajustado para móvil */
        padding: 10px 0;
    }

    .fade-wrapper {
        max-width: 90%;
    }

    .testimonial-card {
        flex-direction: column;
        border-radius: 30px;
        /* Menos redondeado en móvil por el alto */
        padding: 25px 20px;
        gap: 15px;
        text-align: center;
    }

    .quote {
        text-align: center;
    }

    .google-user {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding-left: 0;
        padding-top: 15px;
    }

    .testimonial-card::before {
        font-size: 5rem;
        left: 15px;
    }

    .quote {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

.stars {
    color: #fbbc04;
    font-size: 1.1rem;
    margin-bottom: 20px;
    /* Arriba del texto solicitado */
}

.google-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    /* Separador lateral en lugar de arriba */
    padding-left: 30px;
    min-width: 180px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.stars {
    color: #fbbc04;
    /* Color Google Stars */
    font-size: 0.8rem;
    margin-top: 2px;
}

.quote {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin: 0;
    line-height: 1.6;
    text-align: left;
    flex: 1;
    font-family: var(--font-heading);
    font-weight: 500;
}

.source {
    font-size: 0.8rem;
    color: #888;
    display: block;
}

/* About Section */
.about {
    padding: 80px 0;
    text-align: center;
}

.about .legibility-box {
    padding: 40px;
}

/* Footer Section */
footer {
    background-color: var(--soft-cream);
    color: var(--dark-text);
    padding: 15px 0 10px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

footer .section-title {
    font-size: 1.3rem;
    /* Título ultra-compacto */
    margin-bottom: 0;
}

footer .section-title::after {
    margin-top: 8px;
    width: 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    /* Reducción adicional */
}

.footer-sedes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    /* Reducción adicional */
    width: 95%;
    max-width: 640px;
    /* Reducción adicional */
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer-sedes {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        /* Reducción adicional */
    }
}

.footer-sede {
    background: #fff;
    padding: 16px;
    /* Reducido padding */
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-sede h4 {
    font-family: var(--font-heading);
    color: var(--gold-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
    /* Fuente minimalista */
}

.map-wrapper {
    width: 100%;
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
    height: 115px;
    /* Reducción adicional (aprox 144 * 0.8) */
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.map-wrapper iframe {
    height: 100% !important;
}

.sede-address {
    font-size: 0.7rem;
    /* Reducción adicional */
    margin-bottom: 6px;
    color: var(--light-text);
}

.btn-gps {
    display: inline-block;
    padding: 6px 16px;
    /* Reducción adicional */
    background-color: var(--gold);
    color: white !important;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.7rem;
    /* Reducción adicional */
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gps:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    /* Reducción adicional */
}

.social-icon {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    /* Minimalista */
    height: 38px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #fff !important;
    text-decoration: none;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Colores Originales Permanentes */
.social-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 5px 15px rgba(214, 36, 159, 0.2);
}

.social-icon.facebook {
    background: #1877F2;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.2);
}

.social-icon.tiktok {
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.1);
    filter: brightness(1.1);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .social-icon {
        width: 50px;
        height: 50px;
    }

    .social-icon svg {
        width: 28px;
        height: 28px;
    }
}


.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    margin-top: 10px;
}

.footer-legal a {
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--gold-dark);
}

.footer-sic {
    margin: 40px auto 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-sic a {
    display: block;
    transition: all 0.4s ease;
    opacity: 0.5;
    /* Sutil por defecto */
    filter: grayscale(100%);
    /* Blanco y negro para que sea elegante */
}

.footer-sic a:hover {
    transform: translateY(-5px);
    opacity: 1;
    filter: grayscale(0%);
    /* Cobra color al pasar el mouse */
}

.sic-logo {
    width: 100px;
    /* Más pequeño y discreto */
    height: auto;
    display: block;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sic-text {
    font-size: 0.65rem;
    color: var(--dark-text);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 20px;
}

/* Responsive */
/* Desktop Refinements */
@media (min-width: 768px) {
    header {
        padding: 20px 0;
    }

    .header-container {
        justify-content: space-between;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        padding: 0;
        box-shadow: none;
        right: auto;
        margin-left: auto;
        /* Empuja el menú a la derecha */
    }

    .nav-menu ul {
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .logo-img {
        width: 180px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        /* Reducido para móviles */
    }

    .hero h2 {
        font-size: 24px;
    }

    .section-title {
        font-size: 26px !important;
        margin-bottom: 20px;
    }

    .hero-image-banner {
        width: 100%;
        margin: 10px 0;
        padding: 0;
    }

    .image-banner-wrapper {
        padding: 10px 0;
    }

    .image-card {
        width: 280px !important;
        max-width: 280px !important;
        min-width: 240px !important;
        height: 500px !important;
        /* Ajustado a 9:16 para 280px de ancho */
    }

    .product-line .image-card {
        height: 320px !important;
    }

    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 20px;
    }

    .product-card-large {
        height: 480px;
    }

    .google-badge {
        flex-direction: column;
        padding: 15px;
        text-align: center;
        gap: 8px;
    }

    .certification-text {
        font-size: 0.95rem;
        padding: 10px 20px;
        margin: 0 15px 20px;
    }

    .testimonials-infinite-container {
        height: 450px;
    }

    .features-grid,
    .services-grid,
    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-sedes {
        flex-direction: column;
        gap: 30px;
    }

    .btn-gold {
        width: 100%;
        text-align: center;
        padding: 15px 25px;
        font-size: 0.9rem;
    }
}

/* Floating WhatsApp Button */
.btn-whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--gold);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    z-index: 2000;
    text-decoration: none;
}

.btn-whatsapp-floating:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 240, 245, 0.8);
    background-color: var(--soft-cream);
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-whatsapp-floating svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

/* --- SECCIÓN FAQ (ACORDEÓN) --- */
.faq-section {
    padding: 100px 0;
    background-color: var(--pearl-white);
}

.faq-container {
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

.faq-question {
    width: 100%;
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.faq-question span {
    padding-right: 20px;
}

.faq-question svg {
    color: var(--gold);
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--soft-cream);
}

.faq-answer p {
    padding: 25px 30px;
    line-height: 1.8;
    color: var(--dark-text);
    font-size: 1rem;
}

/* Estado Activo */
.faq-item.active {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.faq-item.active .faq-question {
    color: var(--gold-dark);
    font-weight: 700;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 800px;
    /* Ajustado para el texto largo */
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1.1rem;
    }

    .faq-answer p {
        padding: 20px;
        font-size: 0.95rem;
    }
}