/* ==========================================
   VARIABLES Y RESET
   ========================================== */
   :root {
    --bg-color: #FAFAFA;       
    --surface-color: rgba(255, 255, 255, 0.85);
    --surface-accent: #FFFFFF;
    --primary-text: #1a1a1a;
    --secondary-text: #4a4a4a;
    --muted-text: #6e6e73;
    --accent-color: #9D84B6;
    --accent-hover: #8a72a3;
    --border-color: #e8e8e8;
    
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    
    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --blur-amt: 20px;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    background-color: var(--bg-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--primary-text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { 
    font-family: 'Outfit', sans-serif; 
    font-weight: 600; 
    line-height: 1.2;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: all 0.3s var(--ease-smooth);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 6%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(var(--blur-amt));
    -webkit-backdrop-filter: blur(var(--blur-amt));
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s var(--ease-smooth);
}

.logo { 
    font-size: 1.75rem; 
    letter-spacing: -1px; 
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.logo-dot {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a { 
    color: var(--muted-text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover,
.nav-links a.nav-active {
    color: var(--primary-text);
}

.nav-links a:hover::after,
.nav-links a.nav-active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 10px;
    cursor: pointer;
    border: none;
    z-index: 1002;
    position: relative;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-text);
    transition: all 0.3s ease;
    display: block;
    border-radius: 2px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-slider-container {
    position: relative;
    height: 92vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.8s ease-in-out, transform 10s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 3.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.2s var(--ease-out-expo) 0.4s forwards;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255,255,255,0.9);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    color: white;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-content p {
    color: rgba(255,255,255,0.95);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-text);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.9);
    color: var(--primary-text);
}

.btn-secondary:hover {
    background: white;
    transform: translateY(-3px);
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid white;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* ==========================================
   SECTIONS
   ========================================== */
.section-wrapper { 
    padding: 6rem 6%; 
}

.section-dark {
    background: #f8f8f8;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.section-header.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--accent-color);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title { 
    font-size: 3rem; 
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--muted-text);
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-text);
    font-weight: 500;
    transition: all 0.3s ease;
}

.link-arrow:hover {
    color: var(--primary-text);
    gap: 0.75rem;
}

/* ==========================================
   ASYMMETRIC GRID
   ========================================== */
.asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 280px);
    gap: 1.5rem;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: all 0.5s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(40px);
}

.grid-item.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.grid-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.grid-item.medium {
    grid-column: span 2;
    grid-row: span 1;
}

.grid-item.tall {
    grid-column: span 2;
    grid-row: span 2;
}

.grid-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.grid-item:hover .grid-image img {
    transform: scale(1.1);
}

.grid-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.grid-item:hover .grid-content {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
}

.grid-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    transform: translateY(0);
    transition: transform 0.4s var(--ease-out-expo);
}

.grid-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.grid-link {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s var(--ease-out-expo);
}

.grid-item:hover .grid-link {
    opacity: 1;
    transform: translateX(0);
}

.grid-item:hover .grid-content h3 {
    transform: translateY(-5px);
}

/* ==========================================
   PRODUCTS SLIDER
   ========================================== */
.products-slider {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-behavior: smooth;
    cursor: grab;
}

.products-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.products-slider:active {
    cursor: grabbing;
}

.products-track {
    display: flex;
    gap: 2rem;
    padding: 0 6%;
}

.product-card-slider {
    min-width: 320px;
    max-width: 320px;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    flex-shrink: 0;
}

.product-card-slider:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card-slider .img-container {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.product-card-slider .product-info {
    padding: 1.5rem;
}

.product-card-slider h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.btn-icon-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-smooth);
    cursor: pointer;
}

.btn-icon-small:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.slider-nav {
    display: flex;
    gap: 0.5rem;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.slider-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.slider-btn:hover svg {
    stroke: white;
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ==========================================
   CONTENT IMAGE GRID
   ========================================== */
.content-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.content-image-grid.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.content-side {
    padding: 2rem 0;
}

.image-side img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   RESPONSIVE GRIDS
   ========================================== */
@media (max-width: 1024px) {
    .asymmetric-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 250px);
    }
    
    .grid-item.large,
    .grid-item.medium,
    .grid-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .content-image-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .image-side img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .asymmetric-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .grid-item {
        min-height: 280px;
    }
    
    .products-track {
        gap: 1rem;
    }
    
    .product-card-slider {
        min-width: 280px;
    }
    
    .image-side img {
        height: 300px;
    }
}

/* ==========================================
   PRODUCT GRID
   ========================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-grid-centered {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 360px));
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    justify-content: center;
    padding: 0 2rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(40px);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.product-card.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.4rem 0.9rem;
    background: var(--accent-color);
    color: white;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
    letter-spacing: 0.5px;
}

.product-badge.sale {
    background: #e74c3c;
}

.img-container {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #f5f5f5;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.quick-view {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    padding: 0.7rem 1.3rem;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    opacity: 0;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.product-card:hover .quick-view {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.product-info {
    padding: 1.2rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.product-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    white-space: nowrap;
}

.product-desc {
    color: var(--muted-text);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.btn-cart {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cart:hover {
    background: var(--primary-text);
    color: white;
    border-color: var(--primary-text);
    transform: translateY(-2px);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    padding: 6rem 6%;
    background: linear-gradient(135deg, var(--accent-color), #b39ddb);
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.cta-section.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 1rem 2.5rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--primary-text);
    color: white;
    padding: 4rem 6% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin: 1.5rem 0;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

.heart {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* ==========================================
   FLOATING WHATSAPP
   ========================================== */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s var(--ease-elastic);
}

.floating-wa:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.floating-wa svg {
    width: 32px;
    height: 32px;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeUp {
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.hidden {
    display: none;
}

.show-anim {
    animation: fadeInScale 0.5s var(--ease-out-expo) forwards;
}

@keyframes fadeInScale {
    from { 
        opacity: 0; 
        transform: scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .section-wrapper {
        padding: 4rem 5%;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 2.5rem;
        margin: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-wrapper {
        padding: 3rem 5%;
    }
    
    .product-grid,
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .stats-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 5%;
    }
}

/* ==========================================
   SPLIT SECTION (NOSOTROS)
   ========================================== */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.split-content {
    padding: 2rem 0;
}

.split-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   VALUES GRID
   ========================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(30px);
}

.value-card.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color), #b39ddb);
    border-radius: 50%;
}

.value-icon svg {
    width: 36px;
    height: 36px;
    stroke: white;
    stroke-width: 2;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--muted-text);
    line-height: 1.7;
}

/* ==========================================
   TESTIMONIAL SECTION
   ========================================== */
.testimonial-section {
    background: linear-gradient(135deg, #f8f8f8, #ffffff);
    padding: 6rem 6%;
    text-align: center;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.testimonial-content.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   CATEGORY FILTER
   ========================================== */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 6%;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo);
}

.category-filter.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-smooth);
    color: var(--muted-text);
}

.filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

@media (max-width: 1024px) {
    .split-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .split-img {
        height: 400px;
    }
}

/* ==========================================
   CORRECCIÓN RESPONSIVA (MÓVIL)
   ========================================== */

/* 1. Estilos del Botón Hamburguesa (Base) */
.menu-toggle {
    display: none; /* Oculto en PC */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-text);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Animación del Hamburguesa a "X" */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================
   CORRECCIÓN RESPONSIVA: GRID 2x2 EN MÓVIL
   ========================================== */

/* 1. Estilos del Botón Hamburguesa */
.menu-toggle {
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-text);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* 2. Ajustes para Tablet y Móvil */
@media (max-width: 768px) {
    
    /* --- MENÚ --- */
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
    }

    .nav-links.active { transform: translateY(0); display: flex; }
    .nav-links a { font-size: 1.5rem; color: var(--primary-text); }

    /* --- LAYOUT GENERAL --- */
    .section-wrapper { padding: 3rem 1rem; } /* Menos borde lateral */
    .section-title { font-size: 1.75rem; }

    /* --- GRID 2x2 DE PRODUCTOS (CLAVE AQUÍ) --- */
    .product-grid-centered,
    .product-grid {
        display: grid;
        /* Forzamos 2 columnas exactas */
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; /* Espacio pequeño entre tarjetas */
        padding: 0;
    }

    /* Ajuste de la tarjeta para que quepa en espacio pequeño */
    .product-card {
        border-radius: var(--radius-sm); /* Bordes un poco menos redondeados */
    }

    .product-info {
        padding: 0.8rem; /* Menos relleno interno */
    }

    /* Header del producto (Nombre y Precio) */
    .product-header {
        flex-direction: column; /* Uno encima del otro */
        align-items: flex-start;
        gap: 0.2rem;
        margin-bottom: 0.5rem;
    }

    .product-header h3 {
        font-size: 0.95rem; /* Letra más pequeña */
        line-height: 1.2;
        /* Truncar texto si es muy largo (puntos suspensivos) */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .product-price {
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--accent-color);
    }

    .product-desc {
        display: none; /* Ocultamos la descripción en móvil para ahorrar espacio */
    }

    /* Botón "Consultar" más compacto */
    .btn-cart {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .btn-cart svg {
        width: 16px;
        height: 16px;
    }

    /* --- GRID ASIMÉTRICO (CATEGORÍAS) EN MÓVIL --- */
    .asymmetric-grid {
        display: grid;
        grid-template-columns: 1fr; /* Categorías sí quedan mejor en 1 columna */
        gap: 1rem;
    }
    
    .grid-item { min-height: 200px; }

    /* --- HERO SLIDER --- */
    .hero-content h1 { font-size: 2rem; }
    .hero-content { padding: 1.5rem; }

    /* --- FOOTER --- */
    .footer-content, .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .social-links { justify-content: center; }
}

/* Ajuste extra para móviles muy estrechos (iPhone 5/SE) */
@media (max-width: 350px) {
    .product-grid-centered {
        grid-template-columns: 1fr; /* Volver a 1 columna si la pantalla es minúscula */
    }
}

/* Ajuste específico para pantallas muy pequeñas (iPhone SE, etc) */
@media (max-width: 380px) {
    .product-grid-centered {
        grid-template-columns: 1fr; /* Una sola columna obligatoria */
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.85rem 1.8rem;
        font-size: 0.85rem;
    }
    
    .product-card-slider {
        min-width: 240px;
        max-width: 240px;
    }
    
    .grid-content h3 {
        font-size: 1.2rem;
    }
    
    .grid-content p {
        font-size: 0.85rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .footer-brand .logo {
        font-size: 1.4rem;
    }
    
    .floating-wa {
        width: 50px;
        height: 50px;
    }
    
    .floating-wa svg {
        width: 24px;
        height: 24px;
    }
}

/* Ajuste para pegar más la sección de testimonios a la anterior */
.testimonial-section {
    padding-top: 3rem; /* Reducimos de 6rem a 3rem */
}

/* --- CORRECCIÓN ANIMACIÓN NOSOTROS --- */
/* Cuando la grilla se activa, hacemos visibles las tarjetas de adentro */
.values-grid.reveal-active .value-card {
    opacity: 1;
    transform: translateY(0);
}

/* Ajuste de espacio vertical */
.testimonial-section {
    padding-top: 2rem; /* Subimos el testimonio para cerrar el hueco */
}