/* ==========================================================================
   CONFIGURACIÓN GLOBAL Y VARIABLES
   ========================================================================== */
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --nav-font: "Inter",  sans-serif;
}

:root {
    --primary-black: #121212;
    --second-text: #212529;
    --default-color: #F5F5DC;
    --light-color: #e0e0e0;
    --accent-color: #d4af37;
    --accent-color-dark: #b8952e;
    --contrast-color: #212529;
    --background-color: #121212;
    --background-color-rgba: rgba(15, 15, 15, 0.9);
    --muted-color: #cccccc;

    --accent-red: #E63946;
    --accent-orange: #F4A261;
    --aguayo-yellow: #E9C46A;
    --topbar-background: #80211b;
    --topbar-background-rgb: 128, 33, 27;
    --glass-bg: rgba(255, 255, 255, 0.75);
}

:root {
    --nav-color: #F5F5DC;
    --topvar-color: #212529;
    --accent-red: #E63946;
    --accent-orange: #F4A261;
    --aguayo-yellow: #E9C46A;
    --topbar-background: #80211b;
    --topbar-background-rgb: 128, 33, 27;
    --glass-bg: rgba(255, 255, 255, 0.75);
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--default-color);
    overflow-x: hidden;
    background-color: var(--background-color);
    background-image: url('../../assets/img/dark-bg.webp');
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    margin: 0;
}

/* Tipografía Base */
h1, h2, h3, .navbar-brand { font-family: 'Playfair Display', serif; }
h1.display-4 { font-size: 2.8rem; line-height: 1.2; }
h2.display-5 { font-size: 2.2rem; letter-spacing: 1px; margin-top: 20px; }

section { padding-top: 4.5rem !important; }
section .header-section p { color: rgba(255, 255, 255, 0.6) !important; font-size: 1rem; margin-top: 10px; line-height: 1.6; }
section .header-section p.header-text {
    color: var(--accent-color) !important;
    font-size: .9rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0;
    text-transform: uppercase;
}
section .header-section p.header-final-text {
    max-width: 700px;
}
/* Loader */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--accent-orange);
    border-top-color: var(--accent-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

#backToTop {
    position: fixed;
    bottom: 90px;
    right: 28px;
    background-image: url('../../assets/img/accent.png');
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: none;
    z-index: 996;
}

.divider {
    background-color: rgba(255, 255, 255, 0.6) !important;
    width: 60px;
    height: 3px;
    margin-top: 10px;
}

.bg-custom-dark {
/*     content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; */
    background: rgba(0, 0, 0, 0.4); /* Oscurece un poco más el patrón de fondo */
/*     z-index: 1; */
}

/* ==========================================================================
   TOPBAR & NAVBAR (CABECERA)
   ========================================================================== */
/* --- Topbar --- */
.topbar {
    background-image: url('../../assets/img/accent.png');
    color: var(--topvar-color);
    height: 30px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    transition: transform 0.3s ease-in-out;
}
.topbar-socials a { color: var(--topvar-color); margin-right: 15px; font-size: 14px; text-decoration: none; }
.topbar-contact { font-size: 13px; font-weight: 500; }
.topbar-contact a { color: var(--topvar-color); }
.topbar.hidden { transform: translateY(-100%); }

#mainNav .container-nav { width: 100%; }

/* --- Configuración Base y Reset --- */
#mainNav {
    /* background: rgba(255, 255, 255, 0.7) !important; */
    background-image: url('../../assets/img/dark-wood.webp');
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%); /* Soporte para Safari */
    padding: 0.5rem 0 !important;
    min-height: 85px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease-in-out;
}
@media (min-width: 992px) { #mainNav { top: 30px; transition: top 0.3s ease-in-out; } }
@media (max-width: 991.98px) { #mainNav { top: 0 !important; } body { padding-top: 0 !important; } }
.topbar.hidden + #mainNav { top: 0 !important; }

#mainNav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nav-color) !important;
    padding: 0.5rem 1.2rem !important;
    white-space: nowrap;
    transition: color 0.3s ease;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}
#mainNav .nav-link:hover { color: var(--accent-color) !important; }

/* Logo y Toggler */
#mainNav .logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 25px;
    margin: 0 !important;
    z-index: 1050;
}
#mainNav .nav-logo-img { height: 55px; width: auto; transition: transform 0.3s ease; }

/* --- Botón CTA (Pill Style) --- */
#mainNav .btn-cta-nav {
    /* background-color: var(--accent-color); */
    background-image: url('../../assets/img/accent.png');
    color: var(--contrast-color) !important;
    border-radius: 50px !important; /* Bordes redondeados consistentes */
    padding: 10px 24px !important;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.2);
}
#mainNav .btn-cta-nav:hover {
    /* background: var(--accent-color-dark); */
    background-image: url('../../assets/img/accent.png');
    color: var(--contrast-color) !important;
    transform: translateY(-2px);
    border: 2px solid var(--accent-color-dark);
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.3);
}

.navbar-toggler {
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

#mainNav .hamburger {
    width: 28px; /* Ancho clásico */
    height: 3px;  /* Grosor definido */
    background: var(--accent-color);
    display: block;
    position: relative;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}
/* Las otras dos líneas */
#mainNav .hamburger::before,
#mainNav .hamburger::after {
    content: '';
    width: 28px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}
#mainNav .hamburger::before { top: -9px; }
#mainNav .hamburger::after { top: 9px; }
#mainNav .menu-active .hamburger { background: transparent !important; }
#mainNav .menu-active .hamburger::before { transform: rotate(45deg); top: 0; }
#mainNav .menu-active .hamburger::after { transform: rotate(-45deg); top: 0; }

/* --- COMPORTAMIENTO DESKTOP (992px+) --- */
@media (min-width: 992px) {
    .nav-group { flex: 1; }
    .nav-group:first-child { justify-content: flex-end; }
    .nav-group:last-child { justify-content: flex-start; }
}

/* --- COMPORTAMIENTO MÓVIL (Bajo 992px) --- */
@media (max-width: 991.98px) {
    #mainNav .container-nav {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr; /* [Hamburguesa] [Logo] [Carrito] */
        align-items: center;
        width: 100%;
        padding: 0 15px;
    }
    #mainNav .grid-nav {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        grid-template-rows: auto !important; /* Fuerza una sola fila para la cabecera */
        align-items: center !important;
        gap: 0 !important;
    }
    #mainNav #customToggler {
        grid-column: 1 !important;
        justify-self: start !important;
        position: static !important; /* Quitamos el absolute que tenías */
        transform: none !important;
        grid-row: 1 !important;
        margin: 0 !important;
        display: flex !important;
    }
    #mainNav .logo-wrapper {
        grid-column: 2 !important;
        justify-self: center !important;
        grid-row: 1 !important;
        margin: 0 !important;
        padding: 5px 0 !important;
    }
    #mainNav .cart-mobile-wrapper {
        grid-column: 3 !important;
        justify-self: end !important;
        grid-row: 1 !important;
        margin: 0 !important;
        display: flex !important;
    }
    #mainNav #navbarNav { grid-column: 1 / span 3 !important; grid-row: 2 !important; }
    #mainNav .navbar-toggler { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); }
    #mainNav .nav-logo-img { height: 50px !important; }
    #mainNav .navbar-collapse { display: none; }
    #mainNav .navbar-collapse.show {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        /* background: rgba(255, 255, 255, 0.97) !important */
        background-image: url('../../assets/img/dark-wood.webp');
        backdrop-filter: blur(20px) saturate(180%);
        /* backdrop-filter: blur(20px); */
        -webkit-backdrop-filter: blur(20px);
        padding: 30px 20px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 4px solid var(--accent-color);
        z-index: 1000;
    }
    #mainNav .nav-link { padding: 15px !important; font-size: 0.8rem; font-weight: 600;}
}

/* ==========================================================================
   #HERO SECTION
   ========================================================================== */
#hero { 
    min-height: 100vh;
    overflow: hidden;

    background-image: url(../../assets/img/hero.webp);
    background-size: cover; /* Asegura que cubra todo el espacio sin deformarse */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat;

    /* 2. Superposición Oscura (Overlay) para Legibilidad del Texto */
    background-color: rgba(0, 0, 0, 0.1); 
    background-blend-mode: darken; /* Mezcla el color negro con la imagen */
}
#hero h1.display-4 {
    color: var(--default-color);
    font-family: var(--heading-font);
    font-size: 54px;
    line-height: 1.1;
    text-align: left;
    text-shadow: 2px 2px 4px #000;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.6));
}
#hero .lead {
    color: var(--default-color);
    text-align: left;
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 500;
    max-width: 750px;
    margin-left: 0;
    text-shadow: 2px 2px 4px #000;
}
#hero .hero-img { max-height: 450px; width: 100%; object-fit: cover; }
#hero .btn-cta {
    /* background: linear-gradient(45deg, var(--accent-color), var(--accent-color-dark)); */
    background-image: url('../../assets/img/accent.png');
    color: var(--contrast-color) !important;
    border: 2px solid var(--accent-color-dark);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#hero .btn-cta:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3); }

#hero .cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 992px) { #hero .cta-container { flex-direction: row; justify-content: start; } }

#hero .cta-container .btn-ghost-action {
    /* background: linear-gradient(-45deg, var(--accent-color), var(--accent-color-dark)); */
    background-image: url('../../assets/img/accent.png');
    color: var(--contrast-color) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--accent-color-dark);
    text-transform: uppercase;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#hero .cta-container .btn-ghost-action:hover { transform: translateY(-5px); }

/* Media query para móviles y tablets */
@media (max-width: 991.98px) {
    #hero { padding-top: 120px; text-align: center; min-height: auto; }
    #hero .display-4 { font-size: 2.2rem; }
    #hero .lead { font-size: 1.1rem; margin-bottom: 2rem !important; }
    #hero .hero-img { margin-top: 20px; max-height: 300px; }
}
@media (max-width: 768px) { #hero { text-align: center; } }

/* ==========================================================================
   #MENÚ SECTION
   ========================================================================== */
/* Tarjetas de Producto */
#menu .product-card {
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
/*     background: #fff; */
    background-color: var(--background-color-rgba) !important;
    backdrop-filter: blur(5px);
    cursor: pointer;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}
#menu a { text-decoration: none; color: inherit; }
#menu .product-card:hover { 
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid var(--accent-orange);
}
#menu .product-img-portrait { position: relative; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; background-color: #f8f9fa; }
#menu .product-img-portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }

#menu .card-title {
    color: var(--default-color) !important;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}
#menu .product-card .card-text {
    color: var(--light-color) !important;
    font-size: 1rem;
}
/* Badges y Botones de Card */
.product-code-badge {
    position: absolute;
    bottom: 8px; /* Distancia desde abajo */
    left: 8px;   /* Distancia desde la izquierda */
    background-color: rgba(0, 0, 0, 0.6); /* Fondo negro semi-transparente para legibilidad */
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem; /* Tamaño de texto pequeño */
    font-family: monospace; /* Estilo de código */
    z-index: 10; /* Asegura que esté por encima de la imagen */
    pointer-events: none; /* Evita que interfiera con los clics en la imagen/enlace */
}
/* Estilo base para las cintas */
#menu .ribbon {
    position: absolute;
    top: 10px;
    right: -30px;
    transform: rotate(45deg);
    width: 120px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    padding: 5px 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
#menu .ribbon-new { background-color: #28a745; }      /* Verde */
#menu .ribbon-featured { background-color: #ffc107; } /* Dorado */
#menu .ribbon-out { background-color: #dc3545; }      /* Rojo */

#menu .btn-pedido-minimal {
    /* width: 100%; */
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    background: transparent !important;
    border-radius: 5px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 8px;
}
#menu .btn-pedido-minimal:hover { background-color: var(--second-text) !important; color: #ffffff !important; }
#menu .btn-ws-minimal {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}
#menu .btn-ws-minimal:hover { color: #25d366 !important; transform: scale(1.1); }

/* ==========================================================================
   #CONCEPTO SECTION 
   ========================================================================== */
#concepto .icon-box {
    min-width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}
#concepto .service-item:hover .icon-box { transform: rotate(-10deg) scale(1.1); background: var(--primary-black); }
#concepto .service-item:hover .icon-box i { color: #fff !important; }
#concepto .service-item h5 { color: var(--primary-black); letter-spacing: 0.5px; }

#concepto .aguayo-stripe {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    background: repeating-linear-gradient(
        45deg,
        var(--accent-red),
        var(--accent-red) 10px,
        #F4A261 10px,
        #F4A261 20px,
        #E9C46A 20px,
        #E9C46A 30px
    );
    z-index: -1;
    border-radius: 15px;
}

#concepto .info-card {
    /* background-color: var(--background-color) !important; */
    background-color:  var(--background-color-rgba) !important;
    /* background-image: url('../../assets/img/dark-wood.webp'); */
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    padding: 20px 20px;
}

/* ==========================================================================
   #CONTACT-FORM SECTION 
   ========================================================================== */
/* Rediseño de Input Estilo Orosco Gofer */
#contact-form .contact-form {
    /* Fondo oscuro con 80% de opacidad para dejar pasar la textura */
    background-color: rgba(15, 15, 15, 0.8) !important; 
    
    /* Efecto de desenfoque de fondo (clave para el estilo premium) */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* Borde sutil en oro viejo para definir el área */
    border: 1px solid rgba(212, 175, 55, 0.2);
    
    /* Sombra profunda para dar elevación */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    
    /* Espaciado y suavizado de esquinas */
    padding: 40px !important;
    border-radius: 20px !important;
    
    /* Aseguramos que el texto descriptivo inferior sea legible */
    color: #b0b0b0; 
}

/* Ajuste para el texto de "campos obligatorios" al pie del formulario */
#contact-form .contact-form .footer-text {
    color: rgba(224, 224, 224, 0.6);
    font-size: 0.85rem;
    margin-top: 15px;
}

#contact-form .form-control-custom {
    display: block;
    width: 100%;
    padding: 12px 20px; /* Más aire interno para sensación premium */
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0; /* Blanco hueso para evitar fatiga visual */
    background-color: rgba(20, 20, 20, 0.8); /* Fondo oscuro translúcido */
    background-clip: padding-box;
    border: 1px solid rgba(212, 175, 55, 0.3); /* Borde oro viejo sutil */
    border-radius: 8px; /* Bordes suavizados */
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(5px); /* Efecto cristal esmerilado */
}

/* Estilo cuando el usuario hace clic (Focus) */
#contact-form .form-control-custom:focus {
    color: #ffffff;
    background-color: rgba(30, 30, 30, 0.9);
    border-color: #d4af37; /* El oro se intensifica al escribir */
    outline: 0;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2); /* Brillo dorado suave */
}

/* Estilo del Placeholder (Texto de ejemplo) */
#contact-form .form-control-custom::placeholder {
    color: rgba(224, 224, 224, 0.4);
    font-style: italic;
}

#contact-form .form-select-custom {
    display: block;
    width: 100%;
    padding: 12px 2.25rem 12px 20px; /* Sincronizado con el padding de los inputs */
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #e0e0e0; /* Crema suave para legibilidad */
    background-color: rgba(20, 20, 20, 0.8); /* Fondo oscuro translúcido */
    
    /* Flecha personalizada en color oro viejo (#d4af37) */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d4af37' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    
    border: 1px solid rgba(212, 175, 55, 0.3); /* Borde sutil */
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

/* Estado Focus: Al hacer clic o seleccionar */
#contact-form .form-select-custom:focus {
    border-color: #d4af37; /* Brillo dorado completo */
    outline: 0;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    color: #fff;
}

/* Estilo para las opciones dentro del select (depende del navegador, pero ayuda) */
#contact-form .form-select-custom option {
    background-color: #1a1a1a; /* Fondo sólido para las opciones */
    color: #e0e0e0;
    padding: 10px;
}

/* Estilo para el botón de enviar */
#contact-form .btn-cta {
    background-image: url('../../assets/img/accent.png');
    /* background-color: #d4af37; */
    color: #1a1a1a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

#contact-form .btn-cta:hover {
    background-color: #b8952d;
    transform: translateY(-2px);
}

/* ==========================================================================
   #CONTACTO SECTION 
   ========================================================================== */
#contacto .contact-info-card {
    background-color: rgba(15, 15, 15, 0.8) !important; 
}

/* Iconos de contacto con la paleta de colores */
#contacto .contact-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

#contacto .contact-text {
    color: var(--light-color);
}

/* Efecto Dark para Google Maps */
#contacto .map-container iframe {
    /* filter: grayscale(100%) invert(92%) contrast(83%); */ /* Ajuste para tono oscuro premium */
    transition: filter 0.5s ease;
}

#contacto .map-container:hover iframe {
    filter: grayscale(0%) invert(0%) contrast(100%); /* Vuelve a color al pasar el mouse */
}

/* Ajuste de altura para que ambas columnas midan lo mismo en Desktop */
@media (min-width: 992px) {
    #contacto .map-container {
        min-height: 100%;
    }
}

/* Nunca tono oscuro en móviles */
@media (max-width: 991.98px) {
    #contacto .map-container iframe {
        filter: grayscale(0%) invert(0%) contrast(100%);
    }
}

/* ==========================================================================
   FOOTER & COMPONENTES FLOTANTES
   ========================================================================== */
.footer {
    background-color: var(--primary-black);
    background-image: url('../../assets/img/dark-wood.webp');
    backdrop-filter: blur(15px) saturate(180%);
    background-size: cover;
    color: var(--default-color);
}

.footer h4, 
.footer h5, 
.footer .fs-4 {
    font-size: 1.15rem !important; /* Reducción para mayor elegancia */
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem !important;
}

.footer-logo span {
    font-size: 1.15rem !important;
    font-family: 'Montserrat', sans-serif; /* Cambio a Montserrat para limpieza */
}

/* Iconos de Redes Sociales (50% más grandes + Animación) */
.social-links-container {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: var(--accent-color) !important;
    font-size: 1.45rem; /* Tamaño equilibrado: notable pero sutil */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.social-icon:hover {
    transform: translateY(-5px); /* Flotación un poco más corta para mayor elegancia */
    color: var(--accent-color-dark) !important;
    filter: drop-shadow(0 4px 8px rgba(230, 57, 70, 0.3));
}

/* Links de Navegación */
.footer-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.footer-nav a i {
    font-size: 0.8rem;
    color: var(--accent-color);
}

.footer-nav a:hover {
    color: #fff !important;
    padding-left: 10px; /* Desplazamiento sutil al hover */
}

/* Botón CTA del Footer (Rojo Resaltante) */
.btn-footer-cta {
    background-image: url('../../assets/img/accent.png');
    color: var(--primary-black) !important;
    border: none;
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn-footer-cta:hover {
    background-color: var(--accent-darkgold); /* Un rojo un poco más oscuro para el hover */
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
}

/* --- Botón de WhatsApp flotante --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px; /* Distancia al borde inferior */
    right: 20px;  /* Distancia al borde derecho */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.whatsapp-float:hover { background-color: #128c7e; color: #FFF; transform: scale(1.1); }





/* ==========================================================================
   TESTIMONIAL SECTION
   ========================================================================== */
/* Variables actualizadas para el estilo oscuro */
:root {
    --gold-primary: #d4af37;
    --dark-surface: rgba(15, 15, 15, 0.9); /* Fondo de tarjeta semi-oscuro */
    --text-main: #e0e0e0; /* Blanco suave para no cansar la vista */
    --text-muted: #b0b0b0;
}
.testimonials {
    position: relative;
}

.testimonials .container {
    position: relative;
    z-index: 2; /* Asegura que el contenido esté sobre la capa oscura */
}

#testimonials .mySwiper {
    padding-bottom: 60px; /* Espacio extra para navegación y paginación */
    position: relative;
}

#testimonials .testimonial-card {
    background: var(--background-color-rgba);
    backdrop-filter: blur(5px); /* Efecto de cristal esmerilado muy elegante */
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.15); /* Bordes sutiles en oro */
    /* margin: 20px; */
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

#testimonials .profile-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

#testimonials .profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#testimonials .client-name {
    font-size: 1.5rem;
    color: var(--default-color);
    margin-bottom: 5px;
}

#testimonials .client-role {
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

#testimonials .testimonial-text {
    color: var(--text-main);
    line-height: 1.6;
    font-size: 1rem;
}

#testimonials .quote-container {
    position: relative;
    padding: 10px 0;
    margin-bottom: 1rem;
}

#testimonials .quote-icon {
    font-size: 1.5rem;
    color: var(--gold-primary);
    opacity: 0.8;
    line-height: 0;
}

#testimonials .quote-icon .rotate {
    transform: rotate(180deg);
    display: inline-block; /* Necesario para que funcione en elementos inline */
}

/* Estrellas doradas con brillo */
#testimonials .stars {
    color: var(--gold-primary);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Navegación Swiper adaptada */
#testimonials .swiper-button-next, 
#testimonials .swiper-button-prev {
    color: var(--gold-primary) !important;
    top: auto;
    bottom: 0px; /* Las bajamos al área del padding */
    transform: none;
    width: 40px;
    height: 40px;
}

#testimonials .swiper-button-prev { left: 40%; }
#testimonials .swiper-button-next { right: 40%; }
#testimonials .swiper-button-next:after,
#testimonials .swiper-button-prev:after { font-size: 25px; font-weight: bold; }

#testimonials .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.3) !important;
    opacity: 1;
    border-radius: 50%; /* Un toque levemente redondeado o 0 para recto total */
    transition: all 0.3s ease;
}

#testimonials .swiper-pagination-bullet-active {
    width: 25px; /* Lo convertimos en un rectángulo alargado */
    height: 8px;
    background: var(--gold-primary) !important; /* Oro viejo para el activo */
    border-radius: 4px;
}

@media (min-width: 769px) and (max-width: 992px) {
    #testimonials .swiper-button-prev { left: 35%; }
    #testimonials .swiper-button-next { right: 35%; }
}
@media (max-width: 768px) {
    #testimonials .swiper-button-prev { left: 30%; }
    #testimonials .swiper-button-next { right: 30%; }
}
