:root {
    --primary: #c9751e;
    /* Naranja/Dorado */
    --primary-hover: #b86a1a;
    --secondary: #171c36;
    /* Azul Oscuro */
    --secondary-hover: #1f274a;
    --text-dark: #333;
    --text-light: #fdfaf6;
    --text-gray: #6b7280;
    --bg-light: #fdfaf6;
    --bg-white: #ffffff;
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* Ocultar icono de carrito por petición del usuario */
.header-cart,
.header-icons a:has(.fa-shopping-cart) {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: #fff !important;
}

.text-light {
    color: var(--text-light);
}

.text-light-gray {
    color: #d1d5db;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--secondary);
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: #fff;
}

.btn-round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: #fff;
    transition: var(--transition);
}

.btn-round:hover {
    background-color: var(--primary);
}

/* =====================
   HEADER
   ===================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 1px 16px rgba(0, 0, 0, 0.07);
    transition: var(--transition);
    height: 90px;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 32px;
}

.logo img {
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.desktop-nav ul {
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    padding-bottom: 4px;
}

.desktop-nav a:hover {
    color: var(--primary);
}

.desktop-nav a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
}

.header-icon-btn:hover {
    color: var(--primary);
    background: rgba(201, 117, 30, 0.06);
}

.header-cart {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 4px;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 24px 40px;
    display: none;
    flex-direction: column;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu ul li {
    margin-bottom: 16px;
}

.mobile-menu ul li:last-child {
    margin-bottom: 0;
}

.mobile-menu a {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
}

.mobile-menu a:hover {
    color: var(--primary);
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
    position: relative;
    height: 720px;
    min-height: 540px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
    margin-top: 90px;
    /* offset for fixed header */
}

/* Slider Styles */
.hero-slider {
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.slider-arrow-prev {
    left: 20px;
}

.slider-arrow-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}


.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right,
            rgba(8, 6, 4, 0.82) 0%,
            rgba(8, 6, 4, 0.60) 38%,
            rgba(8, 6, 4, 0.18) 65%,
            rgba(0, 0, 0, 0.0) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 520px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary);
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.15;
    color: #ffffff;
    margin: 0;
}

.hero-title-italic {
    display: block;
    font-style: italic;
    font-weight: 400;
    color: var(--primary);
    font-family: var(--font-heading);
}

.hero-divider {
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    margin: 22px 0 20px;
    flex-shrink: 0;
}

.hero-text {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.90);
    margin: 0 0 32px 0;
    white-space: nowrap;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Hero primary button */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 26px;
    background-color: var(--primary);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.btn-hero-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
}

/* Hero video button */
.btn-hero-video {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 22px;
    background: transparent;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    white-space: nowrap;
}

.btn-hero-video:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.90);
    color: #fff;
}

.btn-play-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-left: 2px;
    /* optical centering of triangle */
}

/* =====================
   FEATURES CARD
   ===================== */
.features-wrapper {
    position: relative;
    z-index: 40;
    /* Nivel 4: above everything */
    margin-top: -65px;
    /* pull up so card straddles hero/sedes boundary */
    padding-bottom: 0;
    background: transparent;
    /* NO background — let hero show above, cream bg below */
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.features-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
    padding: 34px 40px;
    display: flex;
    align-items: center;
    gap: 0;
}

.feature-col {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 32px;
}

.feature-col:first-child {
    padding-left: 0;
}

.feature-col:last-child {
    padding-right: 0;
}

.feature-sep {
    width: 1px;
    height: 56px;
    background: #e8e2d9;
    flex-shrink: 0;
    align-self: center;
}

.feature-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
    min-width: 0;
}

.feature-text h3 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.feature-text p {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-gray);
    line-height: 1.55;
    margin: 0;
}

/* Legacy icon-circle (used elsewhere) */
.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--primary);
}

/* =====================
   COMMON SECTION STYLES
   ===================== */
section {
    padding: 80px 0;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

/* =====================
   RESPONSIVE – HERO & FEATURES
   ===================== */
@media (max-width: 1100px) {

    .hero-inner,
    .features-container,
    .header-content {
        padding: 0 28px;
    }

    .desktop-nav ul {
        gap: 22px;
    }

    .feature-col {
        padding: 0 18px;
    }
}

@media (max-width: 900px) {
    header {
        height: 72px;
    }

    .mobile-menu {
        top: 72px;
    }

    .hero {
        margin-top: 72px;
        height: 480px;
        min-height: 360px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .features-wrapper {
        margin-top: -40px;
        /* smaller overlap on tablet */
    }

    .cafeterias {
        margin-top: -40px;
        padding-top: 100px;
        /* 40px card + 60px breathing */
    }

    .features-card {
        flex-wrap: wrap;
        padding: 28px 24px;
        gap: 16px;
    }

    .feature-col {
        flex: 1 1 40%;
        min-width: 160px;
        padding: 12px 0;
    }

    .feature-col:first-child {
        padding-left: 0;
    }

    .feature-col:last-child {
        padding-right: 0;
    }

    .feature-sep {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 400px;
        align-items: flex-end;
        padding-bottom: 40px;
    }

    .hero-inner {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-text {
        white-space: normal;
        font-size: 0.92rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-hero-primary,
    .btn-hero-video {
        width: 100%;
        justify-content: center;
    }

    .features-wrapper {
        margin-top: 0;
        /* no overlap on mobile, card flows normally */
    }

    .cafeterias {
        margin-top: 0;
        padding-top: 60px;
    }

    .features-card {
        flex-direction: column;
        gap: 20px;
        padding: 24px 20px;
    }

    .feature-col {
        flex: 1 1 100%;
        padding: 0;
    }

    .features-container {
        padding: 0 20px;
    }
}

/* =====================
   CAFETERIAS SECTION
   ===================== */

.cafeterias {
    position: relative;
    overflow: hidden;
    background:
        url('assets/images/sec-sedes_01.jpg') left center / 380px auto no-repeat fixed,
        url('assets/images/sec-sedes_03.jpg') right center / 380px auto no-repeat fixed,
        #faf8f6 !important;
    margin-top: -65px;
    padding-top: 130px;
    padding-bottom: 80px;
    z-index: 1;
}

.cafeterias-deco {
    display: none;
}

/* Nivel 3: Container content above decos */
.cafeterias .container {
    position: relative;
    z-index: 3;
}

/* Section header block */
.cafeterias-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 52px;
}

.cafeterias-header-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 16px;
}

/* Section-wide title styling overrides for this section */
.cafeterias .section-subtitle {
    font-size: 0.78rem;
    letter-spacing: 3.5px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.cafeterias .section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 0;
    font-weight: 600;
}

.section-divider {
    width: 44px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    margin: 18px auto 22px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* Locations grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    margin: 0 0 48px;
    text-align: left;
}

/* Location card */
.location-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.location-card:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.13);
    transform: translateY(-4px);
}

/* Card image wrapper for zoom effect */
.location-card>img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.location-card:hover>img {
    transform: scale(1.04);
}

/* Card content */
.card-content {
    padding: 28px 28px 56px;
    flex: 1;
}

/* SEDE label */
.card-sede-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 0 0 0;
    line-height: 1.2;
}

/* Card orange divider */
.card-divider {
    width: 32px;
    height: 2.5px;
    background-color: var(--primary);
    border-radius: 2px;
    margin: 14px 0 16px;
}

/* Address & hours */
.location-address {
    color: var(--text-dark);
    font-size: 0.88rem;
    margin-bottom: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-address i {
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.location-hours {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-hours i {
    color: var(--primary);
    font-size: 0.82rem;
    flex-shrink: 0;
}

.card-content>p:last-of-type {
    color: var(--text-gray);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

/* Circular arrow button */
.location-card .btn-round {
    position: absolute;
    bottom: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.location-card .btn-round:hover {
    background-color: var(--primary);
    transform: scale(1.08);
}

/* Bottom CTA button */
.btn-outline-sedes {
    display: inline-flex;
    align-items: center;
    padding: 14px 34px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1.5px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
    transition: var(--transition);
    gap: 6px;
}

.btn-outline-sedes:hover {
    background-color: var(--secondary);
    color: #fff;
}

.btn-outline-sedes svg {
    transition: var(--transition);
}

.btn-outline-sedes:hover svg {
    stroke: #fff;
}

/* =====================
   RESPONSIVE — CAFETERIAS
   ===================== */
@media (max-width: 900px) {
    .cafeterias {
        padding: 60px 0;
    }

    .cafeterias .section-title {
        font-size: 2.2rem;
    }

    .cafeterias-deco {
        width: 180px;
        opacity: 0.05;
    }

    .location-card>img {
        height: 240px;
    }

    .card-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 720px) {
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cafeterias-deco {
        display: none;
    }

    .cafeterias .section-title {
        font-size: 1.9rem;
    }
}


/* Tienda */
.tienda-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.tienda-text {
    flex: 1;
}

.tienda-text p {
    margin-bottom: 25px;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.tienda-image {
    flex: 1;
}

.tienda-image img {
    width: 100%;
    border-radius: 10px;
}

/* Soluciones */
.soluciones-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.soluciones-images {
    flex: 1;
    display: flex;
    gap: 10px;
}

.soluciones-images img {
    width: 50%;
    object-fit: cover;
    border-radius: 10px;
}

.soluciones-text {
    flex: 1;
}

/* Fundación */
.fundacion-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.fundacion-image {
    flex: 1;
    position: relative;
}

.fundacion-image img {
    width: 100%;
    border-radius: 10px;
}

.fundacion-logo-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2rem;
    line-height: 1;
}

.fundacion-text {
    flex: 1;
}

.fundacion-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

/* Benefits & Newsletter */
.benefits-newsletter {
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

.benefit-item i {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 10px;
}

.benefit-item span {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.newsletter-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter-text h3 {
    font-size: 1.2rem;
    color: var(--secondary);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
    font-size: 1rem;
}

/* Footer */
.site-footer {
    background-color: var(--secondary);
    color: #fff;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-desc {
    color: #d1d5db;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #d1d5db;
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-col p {
    margin-bottom: 15px;
    color: #d1d5db;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col p i {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #9ca3af;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: #fff;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-grid .feature-item {
        border-right: none;
        border-bottom: 1px solid #f0ece6;
        padding: 16px 0;
    }

    .features-grid .feature-item:last-child {
        border-bottom: none;
    }

    .tienda-flex,
    .soluciones-flex,
    .fundacion-flex {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        height: auto;
        min-height: 420px;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .features {
        margin-top: 20px;
    }

    .features-card {
        padding: 24px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .features-grid .feature-item {
        border-right: none;
        border-bottom: 1px solid #f0ece6;
        padding: 16px 0;
    }

    .features-grid .feature-item:last-child {
        border-bottom: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Topbar */
.topbar {
    background-color: var(--secondary);
    color: #fff;
    font-size: 0.8rem;
    padding: 8px 0;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left,
.topbar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Adjust header for topbar */
.header-with-topbar {
    top: 34px;
    /* height of topbar approximately */
}

.header-with-topbar.scrolled {
    top: 0;
}

/* Tienda Hero */
.store-hero {
    padding-top: 150px;
    padding-bottom: 80px;
    background-color: var(--bg-light);
}

.store-hero-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.store-hero-text {
    flex: 1;
}

.store-hero-title {
    font-size: 3rem;
    color: var(--secondary);
    line-height: 1.1;
    margin-bottom: 20px;
}

.store-hero-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.store-hero-benefits {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.store-hero-benefit {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-gray);
    max-width: 100px;
}

.store-hero-benefit i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

.store-hero-image {
    flex: 1.2;
}

.store-hero-image img {
    width: 100%;
    object-fit: contain;
}

/* Categories */
.categories-grid {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.category-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 8px;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
}

.category-item:hover .category-icon {
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(217, 133, 34, 0.2);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.badge-top {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    z-index: 2;
}

.product-img {
    height: 200px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 20px;
}

.product-title {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 5px;
    font-weight: 700;
}

.product-subtitle {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.product-notes {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.btn-cart {
    width: 100%;
    background-color: var(--secondary);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
}

.btn-cart:hover {
    background-color: var(--primary);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.link-primary {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-primary:hover {
    color: var(--primary-hover);
}

/* Shipping Banner */
.shipping-banner {
    background-color: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    margin: 40px 0;
}

.shipping-text {
    padding: 40px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 30px;
}

.shipping-text i {
    font-size: 3rem;
    color: var(--primary);
}

.shipping-text h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.shipping-text p {
    color: var(--text-gray);
}

.shipping-img {
    height: 200px;
    width: 300px;
    object-fit: cover;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .store-hero-flex {
        flex-direction: column;
    }

    .shipping-banner {
        flex-direction: column;
    }

    .shipping-img {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        display: none;
    }

    .header-with-topbar {
        top: 0;
    }

    .categories-grid {
        justify-content: center;
    }
}

/* =========================================
   PRODUCT DETAIL PAGE STYLES
   ========================================= */

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
}

.product-gallery {
    display: flex;
    gap: 20px;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80px;
}

.thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.thumb.active,
.thumb:hover {
    border-color: var(--primary);
}

.main-image-container {
    flex: 1;
    background-color: #fcf9f4;
    /* Light beige matching image */
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.main-img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.expand-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: var(--secondary);
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-category-label {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.product-detail-title {
    font-family: 'Lora', serif;
    font-size: 2.8rem;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 5px;
}

.product-detail-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.product-reviews {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.product-detail-desc {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.product-bullets {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.product-bullets span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.product-options {
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 25px 0;
    margin-bottom: 30px;
}

.option-group h4 {
    font-size: 0.95rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.option-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.opt-btn {
    padding: 10px 25px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: transparent;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.opt-btn:hover {
    border-color: var(--primary);
}

.opt-btn.active {
    border-color: var(--primary);
    color: var(--primary);
}

.product-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 120px;
}

.quantity-selector button {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 0;
    cursor: pointer;
    color: #666;
}

.quantity-selector span {
    flex: 1;
    text-align: center;
    font-weight: 600;
}

.add-to-cart-btn {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 15px 0;
}

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Attributes Bar */
.attributes-bar {
    background-color: #fff;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 30px 0;
    margin-bottom: 50px;
}

.attributes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .attributes-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

.attr-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.attr-item i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 3px;
}

.attr-item h5 {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.attr-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Tabs Section */
.tabs-section {
    margin-bottom: 80px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 30px;
    overflow-x: auto;
}

.tab-btn {
    padding: 15px 30px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    color: #555;
    line-height: 1.7;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.feature-item i {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.contact-info .social-icons a {
    color: #fff;
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.contact-info .social-icons a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* =====================
   TIENDA HOME SECTION
   ===================== */
.tienda-home {
    background-color: #FCFBF9;
    position: relative;
    padding: 60px 0 0;
    overflow: hidden;
}

.tienda-deco-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 450px;
    height: auto;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.tienda-home .container {
    position: relative;
    z-index: 1;
}

.tienda-home-header {
    max-width: 600px;
    margin: 0 auto 30px;
}

.tienda-header-icon {
    height: 42px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.tienda-home-header .section-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tienda-home-header .section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.tienda-benefits-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tienda-benefit-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 0 30px;
}

.tienda-benefit-separator {
    width: 1px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.1);
}

.tienda-benefit-item img {
    height: 45px;
    width: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.benefit-text {
    text-align: left;
}

.benefit-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
}

.benefit-text p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 4px;
}

.tienda-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* keep horizontal alignment */
    margin-bottom: 25px;
    /* reduced space */
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
}

.products-header-left h3 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin: 0 0 5px;
}

.products-header-left p {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary);
    margin: 0;
}

.products-header-right {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.products-header-right:hover {
    color: var(--primary);
}

.home-products-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    margin-bottom: 50px;
    text-align: left;
    padding-bottom: 20px; /* Espacio para la sombra inferior o scrollbar */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.home-products-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari y Opera */
}

.home-product-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    /* Ajustes del carrusel */
    height: auto; 
    scroll-snap-align: start;
    flex: 0 0 calc(25% - 22.5px); /* 4 items en desktop (3 huecos de 30px = 90 / 4) */
}

.home-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.product-image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #F9F9F9;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrap img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.home-product-card:hover .product-image-wrap img {
    transform: scale(1.05);
}

.btn-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: color 0.3s, transform 0.2s;
}

.btn-fav:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-cat {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--secondary);
    margin: 0 0 10px;
    line-height: 1.3;
}

.product-notes,
.product-weight {
    font-size: 0.85rem;
    color: #777;
    margin: 0 0 5px;
}

.product-price-row {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--secondary);
}

.btn-cart-orange {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-cart-orange:hover {
    background-color: #d35400;
    /* darker orange */
    transform: scale(1.05);
}

.tienda-bottom-btn {
    margin-bottom: 80px;
}

.btn-outline-dark {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: var(--secondary);
    color: #fff;
}

.tienda-bottom-bar {
    background-color: var(--secondary);
    padding: 25px 0;
    color: #fff;
    position: relative;
    z-index: 1;
}

.bottom-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bottom-bar-flex span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #F7EAD7;
    /* soft cream text for contrast */
}

/* Responsive Tienda Home */
@media (max-width: 1024px) {
    .home-product-card {
        flex: 0 0 calc(50% - 15px); /* 2 items visibles */
    }
}

@media (max-width: 768px) {
    .tienda-benefits-top {
        gap: 30px;
    }

    .tienda-products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .bottom-bar-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .home-product-card {
        flex: 0 0 calc(75% - 22.5px); /* 1 item y medio visible para incitar el scroll */
    }
}

@media (max-width: 500px) {
    .home-product-card {
        flex: 0 0 85%; /* Casi 1 item entero visible con un poco del siguiente */
    }
}

/* =====================
   CATEGORIES SECTION
   ===================== */
.categories-section {
    background-color: var(--secondary);
    padding: 80px 0;
}

.categories-section .section-title {
    color: #fff;
    margin-bottom: 10px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.category-item {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 30px 15px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(224, 114, 29, 0.4);
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(224, 114, 29, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.category-item:hover .category-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* =====================
   SERVICIO DE MAQUILA
   ===================== */
.maquila-section {
    position: relative;
    background-color: #182042;
    padding-bottom: 60px;
    color: #fff;
}

section#maquila.maquila-section {
    padding-top: 0 !important;
}

.maquila-top-part {
    position: relative;
    padding-bottom: 40px;
}

.maquila-top-part .maquila-content {
    padding-top: 80px;
}

.maquila-video-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
}

.maquila-video-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #182042 45%, rgba(24, 32, 66, 0.8) 55%, transparent 80%),
        linear-gradient(to top, #182042 0%, transparent 15%);
    z-index: 1;
    pointer-events: none;
}

.maquila-deco-left {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 300px;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}

.maquila-deco-right {
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 300px;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}

.maquila-content {
    position: relative;
    z-index: 2;
}



.maquila-header-row {
    max-width: 800px;
    margin-bottom: 70px;
}

.maquila-subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.maquila-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 40px;
}

.maquila-title span {
    color: var(--primary);
}

.maquila-desc {
    color: #cbd5e1;
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Benefits Top Row */
.maquila-benefits-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 90px;
}

.maquila-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
}

.maquila-benefit img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.m-benefit-text strong {
    display: block;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 3px;
}

.m-benefit-text p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.3;
}

.m-separator {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Process Grid */
.maquila-process-title {
    text-align: center;
    margin-bottom: 40px;
}

.m-process-sub {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.maquila-process-title h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.2rem;
    color: #fff;
}

.maquila-process-title h3 span {
    color: var(--primary);
}

.maquila-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    margin-bottom: 80px;
}

.m-process-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background-color: #111827;
    height: 480px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.m-process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.m-card-content {
    position: relative;
    z-index: 2;
    height: 55%;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
}

.m-card-image {
    height: 45%;
    width: 100%;
    position: relative;
}

.m-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-step-number {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.m-card-icon {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.m-card-content h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-family: var(--font-serif);
}

.m-card-content p {
    color: #cbd5e1;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.m-connector {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(224, 114, 29, 0.6);
}

.m-connector::after {
    content: "→";
    font-family: sans-serif;
    font-weight: bold;
}

.m-connector.c-1 {
    left: calc(25% - 23px);
}

.m-connector.c-2 {
    left: calc(50% - 18px);
}

.m-connector.c-3 {
    left: calc(75% - 13px);
}

/* Bottom Floating Card */
.maquila-bottom-card {
    background-color: #fff;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    margin-bottom: -100px;
    /* Overlaps with next section */
    position: relative;
    z-index: 10;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.m-bc-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1.2;
}

.m-bc-left>svg {
    width: 64px;
    height: 64px;
}

.m-bc-texts h4 {
    color: var(--secondary);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.m-bc-texts p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.m-bc-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1.8;
}

.m-bc-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.m-bc-benefit:not(:last-child) {
    border-right: 1px solid #e2e8f0;
    margin-right: 15px;
    padding-right: 15px;
}

.m-bc-benefit img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-top: 3px;
}

.m-bc-benefit strong {
    display: block;
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.m-bc-benefit p {
    color: #64748b;
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.2;
}

.m-bc-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.m-whatsapp-btn {
    display: flex;
    align-items: center;
    background-color: #182042;
    color: #fff;
    padding: 16px 40px;
    border-radius: 40px;
    text-decoration: none;
    gap: 15px;
    transition: background-color 0.3s, transform 0.2s;
    justify-content: center;
    margin-bottom: 10px;
}

.m-whatsapp-btn:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    color: #fff;
}

.m-whatsapp-btn:hover .w-texts strong {
    color: #fff;
}

.m-whatsapp-btn:hover svg {
    stroke: #fff !important;
}

.w-texts {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.w-texts span {
    font-size: 0.95rem;
    opacity: 0.9;
}

.w-texts strong {
    font-size: 1.25rem;
    color: var(--primary);
    transition: color 0.3s;
}

.w-arrow {
    font-size: 1.2rem;
    margin-left: auto;
}

.w-subtext {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

/* Responsive Maquila */
@media (max-width: 1200px) {
    .maquila-benefits-row {
        flex-wrap: wrap;
    }

    .m-bc-center {
        flex-direction: column;
        align-items: flex-start;
        border: none;
        padding: 0;
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .maquila-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .m-connector.c-1 {
        left: calc(50% - 18px);
    }

    .m-connector.c-2 {
        display: none;
    }

    .m-connector.c-3 {
        left: calc(50% - 18px);
        top: calc(100% + 15px);
    }

    .maquila-bottom-card {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .m-bc-left,
    .m-bc-center,
    .m-bc-right {
        flex: none;
        border: none;
    }

    .m-bc-center {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 0;
        border-top: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
    }
}

@media (max-width: 768px) {
    .maquila-section {
        padding-top: 350px;
        /* Space for video on top */
    }

    .maquila-video-bg {
        width: 100%;
        height: 400px;
        right: 0;
    }

    .maquila-video-mask {
        background: linear-gradient(to top, #182042 10%, transparent 40%);
    }

    .maquila-header-row {
        margin-top: -30px;
    }

    .maquila-process-grid {
        grid-template-columns: 1fr;
    }

    .m-connector {
        top: 100%;
        left: 50% !important;
        transform: translate(-50%, -50%);
    }

    .m-connector.c-2 {
        display: flex;
    }

    .m-connector::after {
        content: "↓";
    }

    .m-bc-center {
        flex-direction: column;
    }
}

/* =====================
   FEATURES SECTION (PRODUCT PAGES)
   ===================== */
.features {
    padding: 60px 0;
    border-top: 1px solid #EAEAEA;
    border-bottom: 1px solid #EAEAEA;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 2px;
}

.feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: var(--text-dark);
}

.feature-item p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

/* Responsive features */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }
}

@media (max-width: 500px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Ocultar pestañas específicas en página de producto */
.tabs-header .tab-btn:nth-child(2),
.tabs-header .tab-btn:nth-child(3) {
    display: none !important;
}