@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('variables.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #2c3e50;
    background: #fafafa;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d1b4e 50%, #1a1f3a 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(167, 139, 250, 0.1);
    margin: 0;
    padding: 0;
    width: 100%;
}

.header-container {
    width: 100%;
    margin: 0;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    flex-shrink: 0;
    padding: 8px 0;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #A78BFA, #A78BFA);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-menu a:hover {
    color: #A78BFA;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.3);
}

.nav-menu a:hover::after {
    width: 100%;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #20BA58 100%);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    border: 2px solid transparent;
    flex-shrink: 0;
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.whatsapp-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: none;
    background: #fafafa;
}

.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fafafa;
}

.hero-slides {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    filter: brightness(0.9) saturate(1.15);
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.15) 0%, rgba(45, 27, 78, 0.2) 50%, rgba(26, 31, 58, 0.15) 100%);
    z-index: 2;
}

@keyframes overlayPulse {
    0%, 100% { background: linear-gradient(135deg, rgba(26, 31, 58, 0.5) 0%, rgba(45, 27, 78, 0.6) 50%, rgba(26, 31, 58, 0.5) 100%); }
    50% { background: linear-gradient(135deg, rgba(26, 31, 58, 0.45) 0%, rgba(45, 27, 78, 0.55) 50%, rgba(26, 31, 58, 0.45) 100%); }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    width: 95%;
    max-width: 800px;
    padding: 2.5rem;
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.hero h1 {
    font-size: clamp(2.2rem, 8vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    line-height: 1.2;
    animation: slideDown 0.8s ease-out 0.2s both;
    color: var(--color-titulo-hero, #FFFFFF);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    font-weight: 300;
    line-height: 1.7;
    animation: slideUp 0.8s ease-out 0.4s both;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-btn {
    background: linear-gradient(135deg, #A78BFA 0%, #9F7AEA 100%);
    color: white;
    padding: clamp(0.9rem, 2vw, 1.2rem) clamp(2rem, 4vw, 3.5rem);
    border: none;
    border-radius: 50px;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 15px 40px rgba(167, 139, 250, 0.4);
    letter-spacing: 1px;
    animation: slideUp 0.8s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transition: left 0.5s;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 20px 50px rgba(167, 139, 250, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Hero Navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(167, 139, 250, 0.2);
    border: 2px solid rgba(167, 139, 250, 0.6);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.hero-nav:hover {
    background: rgba(167, 139, 250, 0.4);
    border-color: rgba(167, 139, 250, 0.9);
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 30px rgba(167, 139, 250, 0.6);
}

.hero-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-nav.prev {
    left: 25px;
}

.hero-nav.next {
    right: 25px;
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.indicator.active {
    background: #A78BFA;
    width: 30px;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.8);
}

/* Categorías */
.categorias {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 0;
    color: #1a3a52;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    padding: 2rem 0;
    background: linear-gradient(90deg, transparent 0%, var(--color-linea, #A78BFA) 50%, transparent 100%);
    background-size: 100% 4px;
    background-position: bottom;
    background-repeat: no-repeat;
}

.section-title::after {
    content: '';
    display: none;
}

.categorias::after,
.productos::after,
.contacto::after {
    content: '';
    display: none;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.categorias-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    padding: 0 !important;
}

.categoria-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    cursor: pointer;
}

.categoria-card.active {
    border-top-color: #667eea;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.35);
    transform: translateY(-12px) scale(1.02);
}

.categoria-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.categoria-card:hover::after {
    opacity: 1;
}

.categoria-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.25);
}

.categoria-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    padding: 15px;
    transition: transform 0.4s;
}

.categoria-card:hover .categoria-img {
    transform: scale(1.08);
}

.categoria-info {
    padding: 1.5rem;
    text-align: center;
}

.categoria-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a3a52;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.categoria-info p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2.2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: left 0.4s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Productos */
.productos {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 20px;
    display: block;
}

.productos-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
    padding: 0 !important;
}

/* Responsive breakpoints for productos-grid */
@media (min-width: 1024px) {
    .productos-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .productos-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }
}

.producto-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
}

.producto-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(32, 186, 88, 0.08));
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.producto-card:hover::after {
    opacity: 1;
}

.producto-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.25);
}

.producto-img-container {
    position: relative;
    overflow: hidden;
    height: 350px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.producto-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s;
}

.producto-card:hover .producto-img {
    transform: scale(1.12);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    color: #1a3a52;
    padding: 0.7rem 1.4rem;
    border-radius: 25px;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
    letter-spacing: 0.5px;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.producto-info {
    padding: 1.5rem;
}

.producto-info h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: #1a3a52;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.producto-desc {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.producto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.rating {
    color: #FFD700;
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20BA58 100%);
    color: white;
    padding: 0.85rem 1.6rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s;
}

.btn-whatsapp:hover::before {
    left: 100%;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #20BA58 0%, #1a9d4a 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}
    left: 100%;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #20BA58 0%, #1a9d4a 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Características */
.caracteristicas {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 20px;
    margin: 5rem 0;
}

.caracteristicas-container {
    max-width: 1400px;
    margin: 0 auto;
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.caracteristica-item {
    text-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid #25D366;
    position: relative;
    overflow: hidden;
}

.caracteristica-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.1), transparent);
    transition: left 0.6s;
}

.caracteristica-item:hover::before {
    left: 100%;
}

.caracteristica-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.2);
}

.caracteristica-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(167, 139, 250, 0.15));
    border-radius: 50%;
    color: #667eea;
}

.caracteristica-item:hover .caracteristica-icon {
    transform: scale(1.1) rotate(5deg);
}

.caracteristica-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #1a3a52;
    font-weight: 700;
}

.caracteristica-item p {
    color: #666;
    font-size: 0.95rem;
    font-weight: 300;
}

/* Contacto */
.contacto-hero-mini {
    background: linear-gradient(135deg, var(--color-primario, #1a3a52) 0%, var(--color-terciario, #2c5aa0) 100%);
    color: white;
    padding: 1.2rem 20px;
    text-align: center;
}

.contacto-hero-mini h1 {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.contacto-hero-mini p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.contacto {
    max-width: 1400px;
    margin: 1.5rem auto;
    padding: 0 20px;
}

.contacto-container-mini {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Métodos en Fila */
.contacto-methods-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.method-card {
    background: white;
    padding: 0.9rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
    border-top: 2px solid #25D366;
}

.method-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.12);
}

.method-card i {
    font-size: 1.6rem;
    color: #25D366;
    margin-bottom: 0.3rem;
}

.method-card h4 {
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
    color: #1a3a52;
    font-weight: 700;
}

.method-card p {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.6rem;
}

.btn-small {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-small:hover {
    background: #20BA58;
    transform: translateY(-1px);
}

/* Formulario Mínimo */
.contacto-form-mini {
    background: white;
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    border-top: 2px solid #25D366;
}

.contacto-form-mini h3 {
    font-size: 1rem;
    color: #1a3a52;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.contacto-form-mini input,
.contacto-form-mini textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    transition: all 0.3s;
}

.contacto-form-mini input:focus,
.contacto-form-mini textarea:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 8px rgba(37, 211, 102, 0.12);
}

.contacto-form-mini textarea {
    resize: vertical;
    min-height: 60px;
}

.btn-send {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #667eea 100%);
    color: white;
    padding: 0.7rem;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

/* Info en Fila */
.contacto-info-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.info-mini {
    background: white;
    padding: 0.9rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.info-mini i {
    font-size: 1.2rem;
    color: var(--color-linea, #A78BFA);
    margin-top: 0.05rem;
    flex-shrink: 0;
}

.info-mini strong {
    font-size: 0.9rem;
    color: #1a3a52;
    display: block;
    margin-bottom: 0.1rem;
}

.info-mini p {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
}

/* Responsive - Desktop Grande (1024px+) */
@media (min-width: 1024px) {
    .contacto-methods-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .method-card {
        padding: 1rem;
    }

    .method-card i {
        font-size: 1.8rem;
    }

    .method-card h4 {
        font-size: 0.95rem;
    }

    .method-card p {
        font-size: 0.8rem;
    }

    .btn-small {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .contacto-form-mini {
        padding: 1.5rem;
    }

    .contacto-form-mini h3 {
        font-size: 1.1rem;
    }

    .contacto-form-mini input,
    .contacto-form-mini textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .btn-send {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .contacto-info-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .info-mini {
        padding: 1rem;
        gap: 1rem;
    }

    .info-mini i {
        font-size: 1.3rem;
    }

    .info-mini strong {
        font-size: 0.95rem;
    }

    .info-mini p {
        font-size: 0.8rem;
    }
}

/* Responsive - Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .contacto-methods-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .method-card {
        padding: 0.9rem;
    }

    .method-card i {
        font-size: 1.5rem;
    }

    .method-card h4 {
        font-size: 0.9rem;
    }

    .method-card p {
        font-size: 0.75rem;
    }

    .btn-small {
        padding: 0.45rem 0.9rem;
        font-size: 0.75rem;
    }

    .contacto-form-mini {
        padding: 1.2rem;
    }

    .contacto-form-mini h3 {
        font-size: 1rem;
    }

    .contacto-form-mini input,
    .contacto-form-mini textarea {
        padding: 0.65rem;
        font-size: 0.85rem;
    }

    .btn-send {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .contacto-info-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .info-mini {
        padding: 0.9rem;
        gap: 0.8rem;
    }

    .info-mini i {
        font-size: 1.2rem;
    }

    .info-mini strong {
        font-size: 0.9rem;
    }

    .info-mini p {
        font-size: 0.75rem;
    }
}

/* Responsive - Móvil (max-width: 767px) */
@media (max-width: 767px) {
    .contacto-hero-mini {
        padding: 1rem 15px;
    }

    .contacto-hero-mini h1 {
        font-size: 1.4rem;
        margin-bottom: 0.15rem;
    }

    .contacto-hero-mini p {
        font-size: 0.8rem;
    }

    .contacto {
        margin: 1rem auto;
        padding: 0 15px;
    }

    .contacto-container-mini {
        gap: 1rem;
    }

    .contacto-methods-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .method-card {
        padding: 0.8rem;
        border-top: 2px solid #667eea;
    }

    .method-card i {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }

    .method-card h4 {
        font-size: 0.8rem;
        margin-bottom: 0.1rem;
    }

    .method-card p {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .btn-small {
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
    }

    .contacto-form-mini {
        padding: 1rem;
        border-top: 2px solid #667eea;
    }

    .contacto-form-mini h3 {
        font-size: 0.95rem;
        margin-bottom: 0.7rem;
    }

    .contacto-form-mini input,
    .contacto-form-mini textarea {
        padding: 0.55rem;
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        border-radius: 4px;
    }

    .contacto-form-mini textarea {
        min-height: 50px;
    }

    .btn-send {
        padding: 0.6rem;
        font-size: 0.85rem;
        border-radius: 4px;
    }

    .contacto-info-row {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .info-mini {
        padding: 0.8rem;
        gap: 0.6rem;
    }

    .info-mini i {
        font-size: 1.1rem;
    }

    .info-mini strong {
        font-size: 0.85rem;
        margin-bottom: 0.05rem;
    }

    .info-mini p {
        font-size: 0.7rem;
    }
}

.contacto-container {
    width: 100%;
}

.contacto-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contacto-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.contacto-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid #25D366;
    position: relative;
    overflow: hidden;
}

.contacto-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.05), rgba(255, 215, 0, 0.05));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.contacto-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.15);
}

.contacto-item:hover::before {
    opacity: 1;
}

.contacto-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #25D366 0%, #20BA58 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.contacto-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(32, 186, 88, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #667eea;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.contacto-item:hover .contacto-icon-wrapper {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(32, 186, 88, 0.2));
    transform: scale(1.1) rotate(5deg);
}

.contacto-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #1a3a52;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.contacto-text {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.contacto-detail {
    color: #667eea;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.btn-contacto {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #25D366 0%, #20BA58 100%);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
}

.btn-contacto:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.contacto-form {
    background: white;
    padding: 3.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-top: 4px solid #667eea;
}

.form-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-header h3 {
    font-size: 1.8rem;
    color: #1a3a52;
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-header h3 i {
    color: #667eea;
}

.form-header p {
    color: #666;
    font-size: 0.95rem;
    font-weight: 300;
}

.form-group {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #1a3a52;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #667eea;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    color: #333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.25);
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #667eea 100%);
    color: white;
    padding: 1.3rem;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit i {
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--color-primario, #1a1f3a) 0%, var(--color-terciario, #2d1b4e) 100%);
    color: white;
    padding: 2rem 0 1rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(167, 139, 250, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-block {
    padding: 0;
}

.footer-block h4 {
    color: var(--color-linea, #A78BFA);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #d0d0d0;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--color-linea, #A78BFA);
    width: 16px;
    text-align: center;
}

.footer-contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item a:hover {
    color: var(--color-linea, #A78BFA);
}

.footer-block ul {
    list-style: none;
    padding: 0;
}

.footer-block ul li {
    margin-bottom: 0.6rem;
}

.footer-block ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-block ul li a:hover {
    color: var(--color-linea, #A78BFA);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-linea, #A78BFA);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--color-linea, #A78BFA);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.85rem;
}

/* Admin Link */
.admin-link {
    display: none;
}

/* Responsive - Desktop Grande (1400px+) */
@media (min-width: 1400px) {
    .hamburger {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
    }

    .header-container {
        width: 100%;
        padding: 0 40px;
    }

    .container {
        max-width: 1400px;
        padding: 20px 40px;
    }

    .categorias,
    .productos,
    .contacto {
        max-width: 1400px;
        padding: 0 40px;
    }

    .hero {
        padding: 150px 40px;
    }

    .section-title {
        font-size: 3.2rem;
    }

    .categorias-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .caracteristicas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .contacto-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

/* Responsive - Desktop Estándar (1024px - 1399px) */
@media (min-width: 1024px) and (max-width: 1399px) {
    .hamburger {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
    }

    .header-container {
        width: 100%;
        padding: 0 30px;
    }

    .container {
        max-width: 1200px;
        padding: 15px 30px;
    }

    .categorias,
    .productos,
    .contacto {
        max-width: 1200px;
        padding: 0 30px;
    }

    .hero {
        padding: 120px 30px;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .categorias-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .caracteristicas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .contacto-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .nav-menu {
        gap: 2rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }
}

/* Responsive - Tablet Grande (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-slider-container {
        height: 600px;
    }

    .hero-nav {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .hero-nav.prev {
        left: 20px;
    }

    .hero-nav.next {
        right: 20px;
    }

    .hero-indicators {
        bottom: 25px;
        gap: 12px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 28px;
    }
}

/* Responsive - Tablet Grande (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .header-container {
        max-width: 100%;
        padding: 0 20px;
    }

    .container {
        max-width: 100%;
        padding: 12px 20px;
    }

    .categorias,
    .productos,
    .contacto {
        max-width: 100%;
        padding: 0 20px;
    }

    .hero {
        padding: 100px 20px;
        min-height: 500px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .categorias-grid,
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .caracteristicas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contacto-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contacto-form {
        padding: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contacto-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contacto-methods {
        grid-template-columns: 1fr;
    }

    .form-row-compact {
        grid-template-columns: 1fr;
    }

    .contacto-methods-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .method-card {
        padding: 0.8rem;
    }

    .method-card i {
        font-size: 1.4rem;
    }

    .method-card h4 {
        font-size: 0.8rem;
    }

    .method-card p {
        font-size: 0.7rem;
    }

    .btn-small {
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
    }

    .contacto-form-mini {
        padding: 1rem;
    }

    .contacto-form-mini h3 {
        font-size: 0.95rem;
        margin-bottom: 0.7rem;
    }

    .contacto-form-mini input,
    .contacto-form-mini textarea {
        padding: 0.55rem;
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .contacto-form-mini textarea {
        min-height: 50px;
    }

    .btn-send {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .contacto-info-row {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .info-mini {
        padding: 0.8rem;
        gap: 0.6rem;
    }

    .info-mini i {
        font-size: 1.1rem;
    }

    .info-mini strong {
        font-size: 0.85rem;
    }

    .info-mini p {
        font-size: 0.7rem;
    }
}

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 0.85rem;
    }

    .whatsapp-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    footer {
        padding: 3rem 0 1.5rem 0;
    }

    .footer-container {
        padding: 0 30px;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .social-links a {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* Responsive - Tablet Pequeña (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0 15px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .container {
        padding: 10px 15px;
    }

    .categorias,
    .productos,
    .contacto {
        padding: 0 15px;
    }

    .hero {
        padding: 80px 15px;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .categorias-grid,
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .caracteristicas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contacto-info {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .contacto-form {
        padding: 2rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .whatsapp-flotante {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .admin-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 90px;
        right: 20px;
    }
}

/* Responsive - Móvil (max-width: 767px) */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden;
    }

    header {
        padding: 0.8rem 0;
    }

    .header-container {
        gap: 0.8rem;
        padding: 0 12px;
        justify-content: space-between;
    }

    .logo {
        font-size: 1.2rem;
        gap: 10px;
        flex-shrink: 0;
    }

    .logo-img {
        height: 50px;
    }

    .whatsapp-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        gap: 6px;
        border-radius: 25px;
        flex-shrink: 0;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }

    .whatsapp-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }

    nav {
        width: 100%;
        position: relative;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #1a3a52 0%, #2c5aa0 100%);
        flex-direction: column;
        gap: 0;
        padding: 0;
        z-index: 99;
        width: 100%;
        margin: 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

    .nav-menu.active {
        display: flex;
        background: var(--color-menu-movil, #1a3a52);
    }

    .nav-menu li {
        list-style: none;
    }

    .nav-menu a {
        display: block;
        padding: 1.2rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s;
        text-align: center;
    }

    .nav-menu a:hover {
        background: rgba(255, 215, 0, 0.1);
        color: #FFD700;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        flex-shrink: 0;
        padding: 8px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .hamburger:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .hamburger span {
        width: 24px;
        height: 2.5px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-slider-container {
        height: 450px;
    }

    .hero-nav {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .hero-nav.prev {
        left: 15px;
    }

    .hero-nav.next {
        right: 15px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .hero-indicators {
        bottom: 20px;
        gap: 10px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 24px;
    }

    .container {
        padding: 8px 12px;
    }

    .categorias,
    .productos,
    .contacto {
        padding: 0 12px;
    }

    .hero {
        padding: 60px 12px;
        min-height: 350px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .categorias-grid,
    .productos-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    .categoria-card,
    .producto-card {
        border-radius: 15px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }

    .categoria-img {
        height: 200px;
    }

    .producto-img-container {
        height: 300px;
    }

    .categoria-info,
    .producto-info {
        padding: 1.2rem;
    }

    .categoria-info h3,
    .producto-info h3 {
        font-size: 1.1rem;
    }

    .caracteristicas-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .caracteristica-item {
        padding: 1.8rem;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contacto-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contacto-item {
        padding: 1.8rem;
    }

    .contacto-form {
        padding: 1.5rem;
    }

    .form-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .form-header h3 {
        font-size: 1.4rem;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    footer {
        padding: 1.5rem 0 0.8rem 0;
    }

    .footer-container {
        padding: 0 12px;
        margin: 0 auto;
        width: 100%;
    }

    .footer-top {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .footer-brand h3 {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }

    .footer-brand p {
        font-size: 0.75rem;
        margin: 0;
    }

    .footer-block {
        background: rgba(255, 255, 255, 0.05);
        padding: 0.8rem;
        border-radius: 8px;
        border-left: 3px solid var(--color-linea, #A78BFA);
        text-align: center;
    }

    .footer-block h4 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
        padding-bottom: 0.4rem;
        text-align: center;
    }

    .footer-block h4::after {
        display: none;
    }

    .footer-contact-item {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        gap: 0.6rem;
        justify-content: center;
    }

    .footer-contact-item i {
        font-size: 0.9rem;
    }

    .footer-block ul {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        align-items: center;
    }

    .footer-block ul li {
        margin-bottom: 0;
    }

    .footer-block ul li a {
        font-size: 0.75rem;
    }

    .footer-social {
        gap: 0.6rem;
        justify-content: center;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.7rem;
        padding-top: 0.8rem;
        margin-top: 0.8rem;
        text-align: center;
    }

    .footer-map-block {
        grid-column: 1 / -1;
    }

    .footer-map-container {
        height: 250px;
    }

    .whatsapp-flotante {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: 15px;
        right: 15px;
    }

    .admin-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 80px;
        right: 15px;
    }
}

/* Responsive - Móvil Pequeño (max-width: 479px) */
@media (max-width: 479px) {
    .header-container {
        padding: 0 10px;
    }

    .logo {
        font-size: 1rem;
        gap: 8px;
    }

    .logo-img {
        height: 40px;
    }

    .logo i {
        font-size: 1.2rem;
    }

    .whatsapp-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        gap: 4px;
    }

    .whatsapp-btn i {
        font-size: 0.9rem;
    }

    .container {
        padding: 6px 10px;
    }

    .categorias,
    .productos,
    .contacto {
        padding: 0 10px;
        margin: 3rem auto;
    }

    .hero {
        padding: 50px 10px;
        min-height: 300px;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
        padding-bottom: 1rem;
    }

    .section-title::after {
        width: 80px;
        height: 3px;
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .categorias-grid,
    .productos-grid {
        gap: 1rem;
    }

    .categoria-card,
    .producto-card {
        border-radius: 10px;
    }

    .categoria-img {
        height: 180px;
    }

    .producto-img-container {
        height: 280px;
    }

    .categoria-info,
    .producto-info {
        padding: 1.2rem;
    }

    .categoria-info h3,
    .producto-info h3 {
        font-size: 1rem;
    }

    .categoria-info p,
    .producto-desc {
        font-size: 0.85rem;
    }

    .badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .caracteristicas-grid {
        gap: 1rem;
    }

    .caracteristica-item {
        padding: 1.5rem;
    }

    .caracteristica-icon {
        font-size: 2.5rem;
    }

    .caracteristica-item h4 {
        font-size: 1.1rem;
    }

    .caracteristica-item p {
        font-size: 0.85rem;
    }

    .contacto-item {
        padding: 1.5rem;
    }

    .contacto-icon {
        font-size: 2.5rem;
    }

    .contacto-item h4 {
        font-size: 1.1rem;
    }

    .contacto-text {
        font-size: 0.85rem;
    }

    .contacto-form {
        padding: 1.2rem;
    }

    .form-header h3 {
        font-size: 1.2rem;
    }

    .form-header p {
        font-size: 0.85rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    .btn-submit {
        padding: 0.9rem;
        font-size: 0.9rem;
    }

    .footer-section h4 {
        font-size: 0.95rem;
    }

    .footer-section a,
    .footer-section p {
        font-size: 0.85rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    .whatsapp-flotante {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: 12px;
        right: 12px;
    }

    .admin-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        bottom: 70px;
        right: 12px;
    }
}


/* Responsive Hero - Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        height: 600px;
    }

    .hero-slider-container {
        height: 600px;
    }

    .hero-content {
        padding: 2rem;
        max-width: 700px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 3rem);
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: clamp(0.9rem, 1.5vw, 1rem);
        margin-bottom: 1.5rem;
    }

    .cta-btn {
        padding: clamp(0.8rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
        font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    }

    .hero-nav {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .hero-indicators {
        bottom: 25px;
        gap: 10px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 26px;
    }
}

/* Responsive Hero - Móvil (max-width: 767px) */
@media (max-width: 767px) {
    .hero {
        height: 350px;
    }

    .hero-slider-container {
        height: 350px;
    }

    .hero-content {
        padding: 1.5rem;
        max-width: 90%;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        margin-bottom: 0.6rem;
    }

    .hero p {
        font-size: clamp(0.85rem, 1.2vw, 0.95rem);
        margin-bottom: 1.2rem;
    }

    .cta-btn {
        padding: clamp(0.75rem, 1.2vw, 0.9rem) clamp(1.2rem, 2.5vw, 2rem);
        font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    }

    .hero-nav {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .hero-nav.prev {
        left: 15px;
    }

    .hero-nav.next {
        right: 15px;
    }

    .hero-indicators {
        bottom: 20px;
        gap: 8px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 22px;
    }
}

/* Responsive Hero - Móvil Pequeño (max-width: 479px) */
@media (max-width: 479px) {
    .hero {
        height: 350px;
    }

    .hero-slider-container {
        height: 350px;
    }

    .hero-content {
        padding: 1.2rem;
        max-width: 95%;
    }

    .hero h1 {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: clamp(0.8rem, 1vw, 0.85rem);
        margin-bottom: 1rem;
    }

    .cta-btn {
        padding: clamp(0.7rem, 1vw, 0.8rem) clamp(1rem, 2vw, 1.5rem);
        font-size: clamp(0.75rem, 1vw, 0.8rem);
    }

    .hero-nav {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .hero-nav.prev {
        left: 10px;
    }

    .hero-nav.next {
        right: 10px;
    }

    .hero-indicators {
        bottom: 15px;
        gap: 6px;
    }

    .indicator {
        width: 6px;
        height: 6px;
    }

    .indicator.active {
        width: 18px;
    }
}


/* ===== SPINNER DE CARGA ===== */
.loading-spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loading-spinner-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 100px;
    height: 100px;
    position: relative;
}

.loading-spinner .wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #2FA8F4;
    border-radius: 50%;
    animation: wave-pulse 2s ease-out infinite;
}

.loading-spinner .wave:nth-child(1) { 
    animation-delay: 0s; 
}

.loading-spinner .wave:nth-child(2) { 
    animation-delay: 0.4s; 
}

.loading-spinner .wave:nth-child(3) { 
    animation-delay: 0.8s; 
}

@keyframes wave-pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* ===== SPINNER DOTS ===== */
.loading-spinner.spinner-dots {
    width: 80px;
    height: 80px;
}

.loading-spinner.spinner-dots .dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #A78BFA;
    animation: dot-bounce 1.4s infinite ease-in-out both;
}

.loading-spinner.spinner-dots .dot:nth-child(1) {
    left: 8px;
    animation-delay: -0.32s;
}

.loading-spinner.spinner-dots .dot:nth-child(2) {
    left: 32px;
    animation-delay: -0.16s;
}

.loading-spinner.spinner-dots .dot:nth-child(3) {
    left: 56px;
    animation-delay: 0s;
}

@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== SPINNER BARS ===== */
.loading-spinner.spinner-bars {
    width: 60px;
    height: 60px;
}

.loading-spinner.spinner-bars .bar {
    position: absolute;
    width: 6px;
    height: 30px;
    background-color: #A78BFA;
    left: 27px;
    top: 15px;
    border-radius: 3px;
    animation: bar-rotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loading-spinner.spinner-bars .bar:nth-child(1) {
    transform: rotate(0deg) translateY(-45%);
    animation-delay: -0.9s;
}

.loading-spinner.spinner-bars .bar:nth-child(2) {
    transform: rotate(30deg) translateY(-45%);
    animation-delay: -0.75s;
}

.loading-spinner.spinner-bars .bar:nth-child(3) {
    transform: rotate(60deg) translateY(-45%);
    animation-delay: -0.6s;
}

.loading-spinner.spinner-bars .bar:nth-child(4) {
    transform: rotate(90deg) translateY(-45%);
    animation-delay: -0.45s;
}

.loading-spinner.spinner-bars .bar:nth-child(5) {
    transform: rotate(120deg) translateY(-45%);
    animation-delay: -0.3s;
}

.loading-spinner.spinner-bars .bar:nth-child(6) {
    transform: rotate(150deg) translateY(-45%);
    animation-delay: -0.15s;
}

@keyframes bar-rotate {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.1;
    }
}

/* ===== SPINNER RING ===== */
.loading-spinner.spinner-ring {
    width: 80px;
    height: 80px;
}

.loading-spinner.spinner-ring .ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #A78BFA;
    border-right-color: #A78BFA;
    border-radius: 50%;
    animation: ring-spin 1s linear infinite;
}

.loading-spinner.spinner-ring .ring:nth-child(1) {
    animation-delay: 0s;
}

.loading-spinner.spinner-ring .ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    animation-delay: -0.5s;
    animation-direction: reverse;
}

.loading-spinner.spinner-ring .ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

@keyframes ring-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===== SPINNER BALLS ===== */
.loading-spinner.spinner-balls {
    width: 80px;
    height: 80px;
    position: relative;
    animation: rotate-balls 1s infinite;
}

.loading-spinner.spinner-balls .ball {
    border-radius: 50%;
    display: block;
    height: 20px;
    width: 20px;
    position: absolute;
    left: 0;
    top: 0;
}

.loading-spinner.spinner-balls .ball:nth-child(1) {
    animation: ball1-anim 1s infinite;
    background-color: #fff;
    box-shadow: 30px 0 0 #ff3d00;
    margin-bottom: 10px;
}

.loading-spinner.spinner-balls .ball:nth-child(2) {
    animation: ball2-anim 1s infinite;
    background-color: #ff3d00;
    box-shadow: 30px 0 0 #fff;
}

@keyframes rotate-balls {
    0% { transform: rotate(0deg) scale(0.8) }
    50% { transform: rotate(360deg) scale(1.2) }
    100% { transform: rotate(720deg) scale(0.8) }
}

@keyframes ball1-anim {
    0% {
        box-shadow: 30px 0 0 #ff3d00;
        margin-bottom: 10px;
    }
    50% {
        box-shadow: 0 0 0 #ff3d00;
        margin-bottom: 0;
        transform: translate(15px, 15px);
    }
    100% {
        box-shadow: 30px 0 0 #ff3d00;
        margin-bottom: 10px;
    }
}

@keyframes ball2-anim {
    0% {
        box-shadow: 30px 0 0 #fff;
        margin-top: 0;
    }
    50% {
        box-shadow: 0 0 0 #fff;
        margin-top: -20px;
        transform: translate(15px, 15px);
    }
    100% {
        box-shadow: 30px 0 0 #fff;
        margin-top: 0;
    }
}
