/* =========================================
   VARIABLES & DESIGN SYSTEM
   ========================================= */
:root {
    /* Rustic Palette */
    --color-primary: #8B5A2B;
    --color-primary-dark: #6E4620;
    --color-secondary: #4A5D23;
    --color-accent: #C17767;
    --color-bg: #F4EFE6;
    --color-surface: #FCFAf5;
    --color-text: #3E2723;
    --color-text-light: #795548;
    --color-border: #D7CCC8;
    --color-wapp: #25D366;

    --font-sans: 'IM Fell English', serif;
    --font-serif: 'IM Fell English', serif;

    --shadow-sm: 0 4px 6px rgba(62, 39, 35, 0.08);
    --shadow-md: 0 10px 30px rgba(62, 39, 35, 0.12);
    --shadow-lg: 0 20px 40px rgba(62, 39, 35, 0.16);

    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-full: 99px;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--color-secondary);
    line-height: 1.2;
}

h1,
h2 {
    font-family: var(--font-serif);
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

/* =========================================
   TYPOGRAPHY SPECIFICS
   ========================================= */
.eyebrow {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    font-family: var(--font-sans);
}

.btn.primary {
    background-color: rgba(139, 90, 43, 0.75);
    color: white;
    box-shadow: 0 8px 16px rgba(163, 107, 65, 0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(163, 107, 65, 0.3);
}

.btn.sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition-smooth);
}

#main-header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 221, 218, 0.5);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    transition: var(--transition-fast);
    position: relative;
}

#main-header.scrolled .desktop-nav a {
    color: var(--color-text);
    text-shadow: none;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.cart-toggle {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.cart-toggle:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

#cart-count {
    background: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    padding: 0.1rem 0.5rem;
    border-radius: 20px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    /* offset header */
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--color-secondary);
    /* Fallback */
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    overflow: hidden;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(59, 42, 34, 0.6), rgba(59, 42, 34, 0.3));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    color: white;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.8;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    font-style: italic;
    color: var(--color-accent);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 300;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    background: var(--color-surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'IM Fell English', serif;
    color: #3b501d;
    letter-spacing: 1px;
}

.about-text p {
    color: #5d4037;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-family: 'IM Fell English', serif;
    line-height: 1.6;
}

.about-video {
    width: 100%;
}

/* =========================================
   VIDEO GALLERY
   ========================================= */
.video-gallery {
    background-color: var(--color-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    padding-top: 133%;
    /* Tall vertical video aspect ratio */
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.gallery-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   PANORAMA FAMILIAR
   ========================================= */
.panorama {
    background: var(--color-surface);
}

.panorama-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* =========================================
   PRODUCTS
   ========================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

.product-img-wrapper {
    position: relative;
    padding-top: 100%;
    /* 1:1 aspect ratio */
    background: #F5EFEB;
    overflow: hidden;
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--color-primary);
}

/* =========================================
   FOOTER
   ========================================= */
#footer {
    background-color: var(--color-secondary);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 2rem;
}

.footer-brand h3 {
    color: white;
    font-family: var(--font-serif);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-brand p,
.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-contact h4,
.footer-social h4 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

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

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

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

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

/* =========================================
   CART SIDEBAR
   ========================================= */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-surface);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-family: var(--font-sans);
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    color: var(--color-text-light);
    transition: var(--transition-fast);
}

.close-btn:hover {
    color: var(--color-text);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.empty-cart-msg {
    text-align: center;
    color: var(--color-text-light);
    margin-top: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.remove-item {
    margin-left: auto;
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.btn.wapp-btn {
    width: 100%;
    background-color: var(--color-wapp);
    color: white;
}

.btn.wapp-btn:hover {
    background-color: #1eb757;
}

.btn.wapp-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.cart-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* =========================================
   FLOATING WHATSAPP
   ========================================= */
.floating-wapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--color-wapp);
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    transition: var(--transition-fast);
}

.floating-wapp:hover {
    transform: scale(1.1);
}

/* =========================================
   HERO ACTIONS & SECONDARY BUTTON
   ========================================= */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.btn.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn.secondary:hover {
    background-color: white;
    color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* =========================================
   CATEGORY FILTER TABS
   ========================================= */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-sans);
    transition: var(--transition-fast);
    color: var(--color-text-light);
    box-shadow: var(--shadow-sm);
}

.filter-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filter-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(163, 107, 65, 0.2);
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* =========================================
   ANIMATIONS & TRANSITIONS
   ========================================= */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   SUSTENTABILIDAD Y CALIDAD
   ========================================= */
.sustainability {
    background-color: var(--color-bg);
}

.sustainability-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.sustainability-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.sustainability-content p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.sustainability-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.sustainability-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

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

.sustainability-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.sustainability-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-secondary);
}

.sustainability-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
    line-height: 1.5;
}

.sustainability-video video {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* =========================================
   VENTA EMPRESA (B2B)
   ========================================= */
.b2b {
    background-color: var(--color-surface);
}

.b2b-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.b2b-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.b2b-info p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.b2b-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    font-size: 1.05rem;
    color: var(--color-text);
}

.highlight-item strong {
    color: var(--color-primary-dark);
}

.b2b-form-container {
    background: var(--color-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.b2b-form-container h3 {
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    text-align: center;
}

.b2b-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(163, 107, 65, 0.15);
}

.b2b-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* =========================================
   CONTACTO Y UBICACIÓN
   ========================================= */
.contact {
    background-color: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.8rem;
    background: var(--color-surface);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-item p a {
    transition: var(--transition-fast);
}

.contact-item p a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.contact-map {
    position: relative;
}

/* =========================================
   B2B SUCCESS CUSTOM MODAL
   ========================================= */
.b2b-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(59, 42, 34, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
}

.b2b-modal-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 550px;
    padding: 2.5rem;
    position: relative;
    border: 1px solid var(--color-border);
}

.b2b-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.b2b-modal-header h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.75rem;
}

.b2b-modal-close {
    background: none;
    border: none;
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--color-text-light);
    line-height: 1;
    transition: var(--transition-fast);
}

.b2b-modal-close:hover {
    color: var(--color-text);
}

.b2b-modal-body p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.b2b-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1rem;
    margin-top: 2rem;
}

.b2b-modal-actions .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .sustainability-grid,
    .b2b-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .sustainability-video,
    .contact-map {
        order: 2;
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .desktop-nav {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.2rem;
    }

    .hero-social-stats .stat-label {
        display: none;
    }

    .hero-actions {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0;
        margin-top: 0;
        justify-content: center;
        flex-wrap: nowrap;
        width: 100%;
    }
    .hero-actions .btn {
        font-size: 0.85rem;
        padding: 0.6rem 0.5rem;
        flex: 1;
        max-width: 150px;
        text-align: center;
        white-space: nowrap;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 10rem 1rem 2rem;
        margin-bottom: 25vh;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .sustainability-cards {
        grid-template-columns: 1fr;
    }
    
    .b2b-form-container {
        padding: 1.5rem;
    }
    
    .b2b-modal-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MODERN 3D SLIDER
   ========================================= */
.productos-slider-section {
    background: var(--color-bg);
    overflow: hidden;
}

.modern-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0.5rem 0 2rem 0;
    perspective: 1200px;
}

.modern-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem calc(50% - 140px) 2rem; /* 140px is half of slide width */
    scroll-behavior: smooth;
}

.modern-slider::-webkit-scrollbar {
    display: none;
}

.modern-slide {
    flex: 0 0 280px;
    height: 400px;
    scroll-snap-align: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.1s linear, filter 0.3s ease;
    transform-origin: center center;
    background: var(--color-surface);
}

.modern-slide img,
.modern-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    border: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.slider-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    .about .container {
        padding-top: 2.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    .about-text p {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    .modern-slider-wrapper {
        margin: 0.5rem 0 1rem 0;
    }
    .modern-slider {
        padding: 0.5rem calc(50% - 85px) 1rem;
        gap: 0.8rem;
    }
    .modern-slide {
        flex: 0 0 170px;
        height: 250px;
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* =========================================
   WHERE TO FIND US
   ========================================= */
.where-to-find {
    background: var(--color-surface);
}

.where-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}

.where-card {
    background: var(--color-bg);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

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

.where-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.where-card.with-bg {
    position: relative;
    overflow: hidden;
    border: none;
}

.where-card.with-bg .where-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.6);
    transition: transform 0.5s ease;
}

.where-card.with-bg:hover .where-bg-media {
    transform: scale(1.05);
}

.where-card.with-bg .where-content {
    position: relative;
    z-index: 1;
}

.where-card.with-bg h3,
.where-card.with-bg p,
.where-card.with-bg .where-icon {
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.where-card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.where-card p {
    color: var(--color-text-light);
}

/* =========================================
   HERO REVIEWS (GOOGLE MAPS)
   ========================================= */
.hero-reviews {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: 70vh;
    padding: 0;
    background: transparent;
    overflow: hidden;
    z-index: 10;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.reviews-track {
    display: flex;
    flex-direction: column;
    width: 100%;
    animation: scroll-reviews-vertical 90s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

.review-card {
    background: rgba(246, 240, 230, 0.55);
    color: #4a3320;
    padding: 1.2rem;
    border-radius: var(--radius-md);
    width: 100%;
    margin-right: 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-left: 4px solid var(--color-primary);
    border-top: 1px solid rgba(255,255,255,0.3);
    border-right: 1px solid rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.review-card .stars {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.review-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    font-style: italic;
    color: #3b2818;
}

.review-card .reviewer {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5c432d;
}

@keyframes scroll-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

@keyframes scroll-reviews-vertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } 
}

@media (max-width: 992px) {
    .hero-reviews {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: auto;
        padding: 2rem 0 1rem;
        background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
        mask-image: none;
        -webkit-mask-image: none;
    }
    .reviews-track {
        flex-direction: row;
        width: max-content;
        animation: scroll-reviews 80s linear infinite;
    }
    .review-card {
        width: 300px;
        margin-right: 1.5rem;
        margin-bottom: 0;
    }
    .review-card p {
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .review-card.expanded p {
        -webkit-line-clamp: unset;
        display: block;
    }
}

/* =========================================
   HERO SOCIAL STATS
   ========================================= */
.hero-social-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    padding: 0.6rem 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    cursor: default;
}

.stat-count {
    font-family: 'Rokkitt', serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-icon-svg {
    width: 18px;
    height: 18px;
    display: block;
}

.stat-count {
    font-weight: 800;
    color: var(--color-accent);
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1.15rem;
}

.stat-label {
    opacity: 0.9;
    font-size: 0.85rem;
    font-family: var(--font-sans);
}

