/* ==================================================
        IMPORTACIÓN Y CONFIGURACIÓN DE MONTSERRAT
    ================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* =============================================
        REINICIO Y ESTILOS BASE MEJORADOS 
    ============================================ */
:root {
    --color-primary: #540606;
    --color-secondary: #dda97cdd;
    --color-accent: #3498db;
    --color-light: #f5efef;
    --color-dark: #540606;
    --color-texto-claro: #f5efef;
    --color-secundario: #dda97cdd;
    --color-principal: #540606;
    --color-hero-title: #f5efef;
    --color-hero-accent: #dda97c;
    --color-hero-subtitle: #f5efef;
    --shadow: 0 4px 6px rgba(255, 255, 255, 0.2);
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
    --container-padding: clamp(1rem, 5vw, 5%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #ffffff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Asegurar que todos los elementos usen Montserrat */
h1, h2, h3, h4, h5, h6, p, a, li, span, div, button, input, textarea, select, label, figcaption, blockquote, th, td {
    font-family: 'Montserrat', sans-serif;
}

/* Mejora de legibilidad para Montserrat */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #080808;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.7;
    color: #ffffff;
}

/* ===================================================
        HEADER MEJORADO - MENÚ TOGGLE PROFESIONAL 
    ================================================== */
.header-principal {
    background-image: linear-gradient(to right, #5a0202, #8a0303);
    box-shadow: none;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    animation: none;
}

.header-principal.scrolled {
    padding: 0.5rem var(--container-padding);
    background-image: linear-gradient(to bottom, rgba(84, 6, 6, 0.95), rgba(84, 6, 6, 0.8));
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.header-principal.scrolled .logo img {
    height: 40px;
    animation: none;
}

/* Botón del menú hamburguesa MEJORADO */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    width: 100%;
    height: 4px;
    background-color: var(--color-light);
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    transform-origin: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background-color: var(--color-secondary);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background-color: var(--color-secondary);
}

/* Mostrar navegación normal en pantallas grandes */
.barra-navegacion ul {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

.barra-navegacion li {
    position: relative;
    margin: 0 0.8rem;
}

.barra-navegacion a {
    text-decoration: none;
    color: var(--color-light);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

.barra-navegacion a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.barra-navegacion a:hover:after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.catalogo-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(84, 6, 6, 0.95);
    min-width: 200px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border-radius: 4px;
    padding: 0.5rem 0;
}

.catalogo-dropdown a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--color-light);
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.catalogo-dropdown a:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
    padding-left: 2rem;
}

.dropdown:hover .catalogo-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* =============================================
   EFECTOS DE DESTELLO SOLAR Y ANIMACIONES DE LETRAS 
   (TRANSFERIDOS DESDE EL APARTADO DE INICIO)
============================================= */

/* DESTELLO HORIZONTAL EN HEADER (EFECTO SOLAR) */
.header-principal::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.04) 20%, 
        rgba(255, 215, 0, 0.5) 50%,
        rgba(255, 255, 255, 0.04) 80%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: sunFlash 3.5s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes sunFlash {
    0% {
        left: -150%;
        opacity: 0.5;
    }
    50% {
        left: 150%;
        opacity: 0.7;
    }
    100% {
        left: 150%;
        opacity: 0.5;
    }
}

/* EFECTOS MEJORADOS EN ENLACES DE NAVEGACIÓN */
.barra-navegacion a {
    text-decoration: none;
    color: var(--color-light) !important;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.2);
}

.barra-navegacion a:hover {
    color: #FFD700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* SUBRAYADO SOLAR ANIMADO EN ENLACES */
.barra-navegacion a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #FFD700, #FF8C00, #FFD700);
    transition: var(--transition);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.barra-navegacion a:hover::after {
    width: 100%;
}

/* EFECTO EN LOGO */
.logo img {
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.2));
    transition: filter 0.3s ease;
}

.logo img:hover {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* ANIMACIÓN DE PULSO PARA LOGO */
@keyframes pulseLogo {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.2));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
    }
}

.logo img {
    animation: pulseLogo 2s infinite;
}

/* MEJORA DROPDOWN CON EFECTOS SOLARES */
.catalogo-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(84, 6, 6, 0.95);
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    border-radius: 4px;
    padding: 0.5rem 0;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.catalogo-dropdown a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--color-light);
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-shadow: 0 0 2px rgba(255, 215, 0, 0.1);
}

.catalogo-dropdown a:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
    color: #FFD700 !important;
    padding-left: 2rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.dropdown:hover .catalogo-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* EFECTO BRILLO EN BOTÓN HAMBURGUESA */
.menu-toggle span {
    box-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
}

.menu-toggle.active span {
    background-color: #FFD700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}
/* ===========================================
        WhatsApp flotante con animación
    ========================================== */
.whatsapp-flotante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.whatsapp-flotante:hover {
    transform: scale(1.1);
    animation: none;
}

.whatsapp-flotante img {
    width: 35px;
    height: 35px;
}

/* ======================================================= */
/* BANNER */
/* ======================================================= */
.banner {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 420px;
    overflow: hidden;
}

.banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(84, 6, 6, 0.58) 0%, rgba(84, 6, 6, 0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

.banner-text {
    position: absolute;
    top: 8%;
    left: 4%;
    z-index: 2;
    max-width: 54%;
    color: #ffffff;
    background: none;
    padding: 0;
    border-radius: 0;
}

.banner-text span {
    display: inline-block;
    vertical-align: middle;
    white-space: pre;
}

.banner-title {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.9;
    margin: 0 0 15px 0;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    opacity: 0;
    animation: titleIn 0.85s cubic-bezier(.22,.9,.36,1) forwards;
}

.banner-sub {
    font-size: clamp(1rem, 2.6vw, 1.6rem);
    line-height: 1.35;
    margin: 0;
    opacity: 0;
    transform: translateX(30px) rotate(2deg);
    animation: subIn 1s ease forwards;
    animation-delay: 0.25s;
}

@keyframes titleIn {
    from { opacity: 0; transform: translateX(-40px) skewX(-4deg) scale(0.98); filter: blur(2px); }
    to { opacity: 1; transform: translateX(0) skewX(0) scale(1); filter: blur(0); }
}

@keyframes subIn {
    from { opacity: 0; transform: translateX(60px) rotate(6deg); filter: blur(2px); }
    to { opacity: 1; transform: translateX(0) rotate(0deg); filter: blur(0); }
}

/* ======================================================= */
/* NUEVO DISEÑO MEJORADO PARA SECCIÓN DE CONTACTO */
/* ======================================================= */

/* Elementos decorativos de fondo */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(84, 6, 6, 0.03) 0%, rgba(221, 169, 124, 0.03) 100%);
    animation: floatBackground 8s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 8%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes floatBackground {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    33% { transform: translateY(-20px) rotate(120deg) scale(1.05); }
    66% { transform: translateY(10px) rotate(240deg) scale(0.95); }
}

/* Header de contacto mejorado */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px 20px;
}

.header-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, #540606, #8B0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.header-content p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Estadísticas */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #540606;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ======================================================= */
/* ANIMACIÓN DEL CONTADOR PERMANENTE PARA CLIENTES SATISFECHOS */
/* ======================================================= */
.stat-item:nth-child(3) .stat-number {
    animation: countPulse 3s ease-in-out infinite;
    position: relative;
}

.stat-item:nth-child(3) .stat-number::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 15px;
    height: 15px;
    background: #25D366;
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes countPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(84, 6, 6, 0);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 10px rgba(84, 6, 6, 0.3);
    }
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Layout principal */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Sidebar de contacto */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Tarjetas de información */
.info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(84, 6, 6, 0.08);
    border: 1px solid rgba(84, 6, 6, 0.1);
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(84, 6, 6, 0.12);
}

.main-info .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #540606, #8B0000);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.main-info .card-icon i {
    font-size: 1.5rem;
    color: white;
}

.main-info h3 {
    font-size: 1.4rem;
    color: #540606;
    margin-bottom: 10px;
    font-weight: 700;
}

.main-info > p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Métodos de contacto */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(84, 6, 6, 0.02);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-method:hover {
    background: rgba(84, 6, 6, 0.05);
    border-color: rgba(84, 6, 6, 0.1);
    transform: translateX(5px);
}

.method-icon {
    width: 40px;
    height: 40px;
    background: #540606;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon.whatsapp {
    background: #25D366;
}

.method-icon i {
    color: white;
    font-size: 1rem;
}

.method-info {
    flex: 1;
}

.method-type {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 4px;
}

.method-value {
    display: block;
    font-size: 1rem;
    color: #540606;
    font-weight: 600;
}

.method-detail {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 2px;
}

/* Tarjeta de redes sociales */
.social-card h4 {
    color: #540606;
    margin-bottom: 8px;
    font-weight: 700;
}

.social-card > p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.social-platforms {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-item {
    border-radius: 12px;
    overflow: hidden;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(84, 6, 6, 0.1);
    border-radius: 12px;
}

.social-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.social-link.instagram:hover {
    border-color: #E1306C;
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.05), transparent);
}

.social-link.facebook:hover {
    border-color: #1877F2;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.05), transparent);
}

.social-link.tiktok:hover {
    border-color: #000000;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), transparent);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.instagram .social-icon { 
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); 
}
.facebook .social-icon { 
    background: #1877F2; 
}
.tiktok .social-icon { 
    background: #000000; 
}

.social-icon i {
    color: white;
    font-size: 1.1rem;
}

.social-name {
    display: block;
    font-weight: 600;
    color: #540606;
    margin-bottom: 2px;
}

.social-handle {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

/* Contenedor del formulario */
.contact-form-container {
    background: #ffffff;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(84, 6, 6, 0.1);
    border: 1px solid rgba(84, 6, 6, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #540606, #8B0000);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #540606, #8B0000);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-header h3 {
    font-size: 1.8rem;
    color: #540606;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-header p {
    color: #666;
    font-size: 1rem;
}

/* Formulario moderno */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #540606;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-label i {
    color: #540606;
    font-size: 0.9rem;
}

.file-hint {
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(84, 6, 6, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #540606;
    box-shadow: 0 0 0 3px rgba(84, 6, 6, 0.1);
}

/* Grupo de archivos */
.file-input-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.file-input {
    display: none;
}

.file-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(84, 6, 6, 0.05);
    color: #540606;
    padding: 12px 20px;
    border: 2px dashed rgba(84, 6, 6, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.file-button:hover {
    background: rgba(84, 6, 6, 0.1);
    border-color: #540606;
}

/* Botón de enviar */
.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #540606, #8B0000);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(84, 6, 6, 0.3);
}

/* ======================================================= */
/* FOOTER */
/* ======================================================= */
.footer-principal {
    background-color: #f8f8f8;
    color: #333;
    padding: 30px 20px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    border-top: 4px solid #540606;
}

footer p {
    font-family: 'Montserrat', sans-serif;
    color: black;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1500px;
    margin: 0 auto;
}

.footer-columna {
    flex-basis: 30%;
    padding: 20px;
}

.footer-info {
    text-align: left;
}

.footer-container h3 {
    color: #dda97cdd;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.footer-enlaces ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-enlaces li {
    margin-bottom: 10px;
}

.footer-enlaces a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.footer-enlaces a:hover {
    color: #dda97cdd;
}

.footer-contacto {
    text-align: left;
}

.footer-contacto p {
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    color: black;
}

.footer-contacto i {
    margin-right: 8px;
    color: #dda97cdd;
}

.footer-social h3 {
    margin-top: 20px;
    text-align: left;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    color: #555;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #dda97cdd;
}

.mapa-ubicacion-footer iframe {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.copyright {
    text-align: left;
    margin-top: 30px;
    font-size: 0.8rem;
    color: #888;
    font-family: 'Montserrat', sans-serif;
}

/* =================================================
        ANIMACIONES Y EFECTOS DE MOVIMIENTO
    ================================================ */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* =======================================================
        RESPONSIVE DESIGN - Menú hamburguesa centrado
    ======================================================= */
@media (max-width: 768px) {
    /* Botón del menú hamburguesa */
    .menu-toggle {
        display: flex;
    }
    /* Navegación para móviles - CENTRADA */
    .barra-navegacion {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(to bottom, #380101, #5f0000);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .barra-navegacion.visible {
        right: 0;
    }
    .barra-navegacion ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    .barra-navegacion li {
        margin: 15px 0;
        width: 100%;
    }
    .barra-navegacion a {
        display: block;
        padding: 15px 0;
        font-size: 20px;
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        font-family: 'Montserrat', sans-serif;
    }
    .barra-navegacion a:after {
        display: none;
    }
    /* Dropdown en móviles */
    .catalogo-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: rgba(84, 6, 6, 0.7);
        margin-top: 10px;
        padding-left: 0;
        box-shadow: none;
        width: 100%;
        text-align: center;
    }
    .catalogo-dropdown.visible {
        display: block;
    }
    .catalogo-dropdown a {
        padding: 12px 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-family: 'Montserrat', sans-serif;
    }
    /* Header y Navegación */
    .header-principal {
        padding: 0.8rem 3%;
    }
    
    /* Contact Layout Responsive */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px 40px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        gap: 20px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Footer Responsive */
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-columna {
        flex-basis: 100%;
        text-align: center;
    }
    .footer-info, .footer-enlaces ul, .footer-contacto {
        text-align: center;
    }
    .footer-social h3, .footer-contacto h3 {
        text-align: center;
    }
    .social-icons {
        display: flex;
        justify-content: center;
    }
}

/* Para pantallas más grandes, asegurar que el dropdown funcione con hover */
@media (min-width: 769px) {
    .catalogo-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(84, 6, 6, 0.95);
        min-width: 200px;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: var(--transition);
        z-index: 100;
        border-radius: 4px;
        padding: 0.5rem 0;
        display: block !important;
    }
    .dropdown:hover .catalogo-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    /* Asegurar que la navegación sea visible */
    .barra-navegacion {
        display: block !important;
    }
}

@media (max-width: 576px) {
    .header-principal {
        padding: 0.8rem 1rem;
    }
    .logo img {
        height: 35px;
    }
    .whatsapp-flotante {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-flotante img {
        width: 30px;
        height: 30px;
    }
    
    /* Banner responsive */
    .banner {
        height: 55vh;
        min-height: 320px;
    }
    .banner-text {
        left: 4%;
        top: 8%;
        max-width: 86%;
    }
    .banner-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    .banner-sub {
        font-size: clamp(0.9rem, 3.6vw, 1.05rem);
        animation-delay: 0.15s;
    }
    
    /* Contact section responsive */
    .contact-form-container {
        padding: 25px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .header-content h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
}

/* =======================================================
        ESTILOS PARA LIBRO DE RECLAMACIONES
    ======================================================= */
.libro-reclamaciones {
    color: #fffefbc0 !important;
    font-weight: 700 !important;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.libro-reclamaciones::before {
    content: "";
    background-image: url('../img/libro-reclamaciones.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    width: 150px;
    height: 150px;
    margin-right: 8px;
    vertical-align: middle;
}

.libro-reclamaciones:hover {
    color: #ecc44ec0 !important;
    transform: translateX(5px);
}

.libro-reclamaciones::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

.libro-reclamaciones:hover::after {
    width: 100%;
}

@keyframes attention {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.libro-reclamaciones {
    animation: attention 2s ease-in-out infinite;
}

/* =======================================================
        ESTILOS PARA EL MAPA EN EL FOOTER
    ======================================================= */
.mapa-ubicacion-footer {
    width: 100%;
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.mapa-ubicacion-footer iframe {
    width: 100%;
    height: 200px;
    display: block;
}

/* Adaptación para pantallas más pequeñas */
@media (max-width: 768px) {
    .mapa-ubicacion-footer iframe {
        height: 150px;
    }
}

/* =======================================================
        BOTÓN VOLVER ARRIBA
    ======================================================= */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 998;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

/* =======================================================
        ESTILOS PARA TIKTOK MINI
    ======================================================= */
.tiktok-mini {
    max-width: 50px;
    transform: scale(0.7);
    transform-origin: top left;
    overflow: hidden;
    margin-top: 10px;
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ======================================================= */
/* ESTILOS PARA ALERTAS DE ÉXITO/ERROR */
/* ======================================================= */
.alert {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: slideInRight 0.5s ease;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid #155724;
    color: #155724;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 2px solid #721c24;
    color: #721c24;
}

.alert-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.alert-content i {
    font-size: 1.5rem;
    margin-top: 2px;
}

.alert-content h4 {
    margin: 0 0 5px 0;
    font-weight: 700;
}

.alert-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: inherit;
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.alert-close:hover {
    background: rgba(0,0,0,0.1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mejoras para el formulario */
.modern-form {
    position: relative;
}

/* Indicador de carga */
.form-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.form-loading.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #540606;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* =============================================
   PARTÍCULAS DE VERANO PARA HEADER
============================================= */
.summer-particles-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.summer-particles-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, 
        rgba(255, 215, 0, 0.1) 0%, 
        transparent 50%);
    animation: particleGlow 4s ease-in-out infinite alternate;
}

@keyframes particleGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* =============================================
   RESPONSIVE: AJUSTES PARA MÓVILES
============================================= */
@media (max-width: 768px) {
    .header-principal::after {
        animation-duration: 5s;
        opacity: 0.4;
    }
    
    .summer-particles-header {
        display: none; /* Ocultar en móviles para rendimiento */
    }
    
    .barra-navegacion a {
        text-shadow: 0 0 2px rgba(255, 215, 0, 0.1);
    }
    
    .barra-navegacion a:hover {
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
}