/* ========================================
   ESTILOS GLOBALES - STAR DG
   Nueva Paleta: Modern Tech & Trust
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    /* Colores principales - Tonos Azul Professional */
    --primary: #264b69;        /* Azul oscuro - Color de marca */
    --primary-dark: #1a3549;  /* Azul más oscuro */
    --primary-light: #3d7385; /* Azul verdoso */
    
    /* Colores de fondo */
    --background: #F8F9FA;    /* Gris muy claro - Fondo principal */
    --background-white: #FFFFFF; /* Blanco puro */
    --foreground: #212121;     /* Negro casi puro - Texto principal */
    --muted: #E9ECEF;         /* Gris claro */
    --muted-foreground: #6C757D; /* Gris medio */
    
    /* Colores de bordes y cards */
    --border: #DEE2E6;
    --card: #FFFFFF;
    
    /* Colores de estado */
    --success: #10b981;
    --destructive: #EF4444;
    
    /* Colores de acento - Tonos Azul */
    --accent-coral: #588ea7;  /* Azul medio */
    --accent-orange: #86bac1; /* Azul claro/turquesa */
    
    /* Color de acento azul */
    --accent-lime: #a1c5ce;  /* Azul muy claro */
    --accent-electric: #3d7385; /* Azul verdoso */
    
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   HEADER
   ======================================== */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--primary); /* Azul profundo */
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(26, 35, 126, 0.15);
}

header .logo {
    color: #ffffff;
}

header .search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

header .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

header .nav-desktop a {
    color: #ffffff;
}

header .nav-desktop a:hover {
    color: var(--accent-lime);
}

header .btn-cart {
    color: #ffffff;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--foreground);
}

.logo img {
    width: 45px;
    height: auto;
    display: block;
    border-radius: 8px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Buscador */
.search-bar {
    flex: 1;
    max-width: 400px;
    margin: 0 2rem;
}

.search-input {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Navegación Desktop */
.nav-desktop {
    display: flex;
    gap: 1.5rem;
}

.nav-desktop a {
    font-weight: 500;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.nav-desktop a:hover {
    color: var(--primary);
}

/* Acciones del Header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-cart {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    padding: 8px;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.btn-cart:hover {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--accent-coral); /* Coral vibrante */
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp {
    padding: 8px 15px;
    background-color: #25d366;
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
    background-color: #1fad50;
    transform: translateY(-2px);
}

/* Menú Móvil */
.btn-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.btn-menu svg {
    color: var(--foreground);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--primary); /* Azul profundo */
    border-bottom: none;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(26, 35, 126, 0.25);
    z-index: 99;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-weight: 500;
    border-bottom: 1px solid #333;
    color: #ffffff;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--accent-lime); /* Verde lima */
    padding-left: 10px;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    justify-content: center;
}

.mobile-social .social-link {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social .social-link.instagram {
    background: var(--accent-coral);
    color: #ffffff;
}

.mobile-social .social-link.instagram:hover {
    background: var(--accent-lime);
    color: var(--primary);
}

.mobile-social .social-link.facebook {
    background: var(--primary-light);
    color: #ffffff;
}

.mobile-social .social-link.facebook:hover {
    background: var(--accent-lime);
    color: var(--primary);
}

/* ========================================
   HERO
   ======================================== */

.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--background) 0%, #E9ECEF 100%); /* Fondo limpio gris/blanco */
    color: var(--foreground);
}

.hero-content h1 {
    color: var(--primary); /* Azul profundo */
}

.hero-content h1 .highlight {
    color: var(--accent-coral); /* Coral vibrante */
}

.hero-content > p {
    color: var(--muted-foreground);
}

.welcome-box {
    background: var(--card); /* Blanco puro */
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.welcome-header h2 {
    color: var(--primary); /* Azul profundo */
}

.welcome-header p {
    color: var(--muted-foreground);
}

.welcome-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.welcome-icon {
    font-size: 2rem;
}

.welcome-header h2 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.welcome-header p {
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.12);
    transform: translateY(-2px);
}

.benefit-content h3 {
    color: var(--primary); /* Azul profundo */
}

.benefit-icon {
    font-size: 1.5rem;
}

.benefit-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.benefit-content p {
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

/* Hero Main */
.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content h1 .highlight {
    color: var(--accent-coral);
}

.hero-content > p {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

/* Botones CTA */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 12px 25px;
    background-color: var(--primary); /* Azul profundo */
    color: #ffffff;
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-coral); /* Coral vibrante */
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    padding: 12px 25px;
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary); /* Azul profundo */
}

.stat-label {
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image-placeholder {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 40px rgba(26, 35, 126, 0.3);
}

.hero-image-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.hero-image-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-image-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--accent-coral); /* Coral vibrante */
    color: white;
    padding: 1rem;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

.hero-badge-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-badge-value {
    font-size: 1.2rem;
    font-weight: 800;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========================================
   CATEGORÍAS
   ======================================== */

.categories {
    padding: 4rem 0;
    background-color: var(--background); /* Fondo limpio */
}

.section-header h2 {
    color: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.section-header p {
    color: var(--muted-foreground);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 35, 126, 0.15);
    border-color: var(--primary);
}

.category-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.category-info {
    padding: 1rem;
    text-align: center;
}

.category-name {
    font-weight: 700;
    color: var(--primary); /* Azul profundo */
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Placeholder para categorías sin imagen */
.category-placeholder {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

/* ========================================
   SERVICIOS
   ======================================== */

.services {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(26, 35, 126, 0.12);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.service-description {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.service-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Why Choose */
.why-choose {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.05) 0%, rgba(57, 73, 171, 0.08) 100%);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border);
}

.why-choose h3 {
    color: var(--primary); /* Azul profundo */
}

.why-choose h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.benefits-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-box {
    background: white;
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.benefit-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.benefit-box-icon {
    color: var(--success);
    font-size: 1.2rem;
}

.benefit-box-text {
    font-weight: 500;
    font-size: 0.9rem;
}

.why-choose-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-coral); /* Coral vibrante */
    color: white;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.why-choose-cta a:hover {
    background: var(--accent-orange); /* Naranja */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background-color: var(--primary); /* Azul profundo */
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    font-size: 1.5rem;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8); /* Blanco con transparencia */
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Header Social */
.header-social {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
}

.header-social .social-link {
    padding: 6px 12px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-social .social-link.instagram {
    background: var(--accent-coral);
    color: #ffffff;
}

.header-social .social-link.instagram:hover {
    background: var(--accent-lime);
    color: var(--primary);
}

.header-social .social-link.facebook {
    background: var(--primary-light);
    color: #ffffff;
}

.header-social .social-link.facebook:hover {
    background: var(--accent-lime);
    color: var(--primary);
}

/* Footer Social Links */
.footer-section .social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-section .social-link {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section .social-link.instagram {
    background: var(--accent-coral);
    color: #ffffff;
}

.footer-section .social-link.instagram:hover {
    background: var(--accent-lime);
    color: var(--primary);
}

.footer-section .social-link.facebook {
    background: var(--primary-light);
    color: #ffffff;
}

.footer-section .social-link.facebook:hover {
    background: var(--accent-lime);
    color: var(--primary);
}

/* Footer Sections */
.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--accent-lime); /* Verde lima */
    padding-left: 5px;
}

.footer-section ul li span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Footer Bottom */
.footer-divider {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-lime);
}

/* Thank You Message */
.thank-you-message {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.thank-you-message p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ========================================
   CARRITO (PANEL LATERAL)
   ======================================== */

.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: white;
    z-index: 201;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-panel.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.cart-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.btn-close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.btn-close-cart:hover {
    color: var(--destructive);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted-foreground);
}

.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: var(--muted);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: #264b69; /* Azul oscuro */
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cart-item-quantity button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.cart-item-quantity button:hover {
    background: var(--muted);
}

.cart-item-quantity span {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.btn-remove-item {
    background: none;
    border: none;
    color: var(--destructive);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.btn-remove-item:hover {
    transform: scale(1.2);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--muted);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cart-total-label {
    font-weight: 600;
    font-size: 1.1rem;
}

.cart-total-value {
    font-weight: 800;
    font-size: 1.5rem;
    color: #264b69; /* Azul oscuro */
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    background: #3d7385; /* Azul verdoso */
    color: #ffffff; /* Blanco */
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-checkout:hover {
    background: #588ea7; /* Azul medio */
    color: #ffffff;
    transform: translateY(-2px);
}

/* ========================================
   ANIMACIONES
   ======================================== */

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.animate-slide-up {
    animation: slideInUp 0.5s ease forwards;
}

/* delay para animaciones */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .hero-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .header-social {
        display: none;
    }
    
    .btn-menu {
        display: block;
    }
    
    .search-bar {
        display: none;
    }
    
    .btn-whatsapp span {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
       ;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .category-icon {
        font-size: 2rem;
    }
    
    .benefits-list {
        flex-direction: column;
        align-items: center;
    }
    
    .benefit-box {
        width: 100%;
        max-width: 250px;
    }
    
    .cart-panel {
        width: 100%;
    }
}

/* ========================================
   MEDIA QUERIES
   ======================================== */
