/* ================================================
   LIBERCLIMA — HOME V2
   Redesign inspirado en layout de tienda de appliances
   Usa variables de base.css: --color-primary, --color-accent
================================================ */

/* ── NAV ── */
.nav-v2 {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 8px 0 22px;
    transition: background 0.35s ease, backdrop-filter 0.35s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.nav-v2.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.07);
    padding: 14px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(14px, 2.2vw, 32px);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    display: block;
    width: 86px;
    height: 86px;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    object-fit: cover;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-v2.scrolled .nav-logo img {
    width: 72px;
    height: 72px;
    border-color: rgba(11, 60, 93, 0.12);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.nav-links {
    display: flex;
    gap: clamp(18px, 2.2vw, 34px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

.nav-links a:hover { color: #ffffff; }

.nav-v2.scrolled .nav-links a { color: #374151; }
.nav-v2.scrolled .nav-links a:hover { color: var(--color-primary); }

/* ── NAV: desplegable de rubros en "Catálogo" ── */
.nav-item--catalogo {
    position: relative;
}

.nav-catalogo-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-catalogo-caret {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.nav-item--catalogo.is-open .nav-catalogo-caret,
.nav-item--catalogo:focus-within .nav-catalogo-caret {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    margin-top: 10px;
    background: #ffffff;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.22);
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 260;
}

.nav-dropdown:empty {
    display: none;
}

#nav-catalogo-dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 9px;
    color: var(--color-dark);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

#nav-catalogo-dropdown a:hover,
#nav-catalogo-dropdown a:focus-visible {
    background: rgba(11, 60, 93, 0.08);
    color: var(--color-primary);
}

.nav-item--catalogo.is-open .nav-dropdown,
.nav-item--catalogo:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (hover: hover) {
    .nav-item--catalogo:hover .nav-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Instagram icon button */
.nav-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.22s;
    flex-shrink: 0;
}

.nav-social-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.nav-social-btn:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    transform: scale(1.08);
}

.nav-v2.scrolled .nav-social-btn {
    border-color: #e5e7eb;
    color: #374151;
}

.nav-v2.scrolled .nav-social-btn:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    color: #fff;
}

.nav-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px 9px 12px;
    background: rgba(37,211,102,0.15);
    border: 1.5px solid rgba(37,211,102,0.45);
    border-radius: 100px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s;
    backdrop-filter: blur(6px);
    letter-spacing: 0.01em;
}

.nav-wa-btn__icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.22s;
}

.nav-wa-btn__icon svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.nav-wa-btn:hover {
    background: rgba(37,211,102,0.25);
    border-color: rgba(37,211,102,0.7);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37,211,102,0.25);
}

.nav-wa-btn:hover .nav-wa-btn__icon {
    transform: scale(1.1);
}

.nav-cart-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.22s;
    flex-shrink: 0;
}

.nav-cart-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.nav-cart-btn:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-1px);
}

.nav-cart-btn__count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

.nav-v2.scrolled .nav-wa-btn {
    background: rgba(37,211,102,0.1);
    border-color: rgba(37,211,102,0.35);
    color: #1a1a1a;
}

.nav-v2.scrolled .nav-wa-btn:hover {
    background: rgba(37,211,102,0.18);
    border-color: #25D366;
    box-shadow: 0 4px 14px rgba(37,211,102,0.2);
}

.nav-v2.scrolled .nav-cart-btn {
    border-color: #e5e7eb;
    background: #fff;
    color: #374151;
}

.nav-v2.scrolled .nav-cart-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* hamburger (mobile) */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: background 0.3s;
}

.nav-v2.scrolled .nav-hamburger span { background: var(--color-dark); }


/* ── HERO ── */
.hero-v2 {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    padding-top: 118px;
    padding-bottom: 24px;
    overflow: hidden;
}

.hero-v2__bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/hero_tecnico.png');
    background-size: cover;
    background-position: center center;
    background-color: #0B3C5D;
}

.hero-v2__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(5,18,30,0.82) 0%,
        rgba(11,60,93,0.60) 45%,
        rgba(5,18,30,0.35) 100%
    );
}

.hero-v2__content {
    position: relative;
    z-index: 2;
    max-width: min(820px, 100%);
}

.hero-v2__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.07;
    letter-spacing: 0;
    margin-bottom: 28px;
}

.hero-v2__sub {
    color: rgba(255,255,255,0.72);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 480px;
}

.hero-v2__ctas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); }
    60% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}

@keyframes cta-wiggle {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-3deg); }
    40% { transform: rotate(3deg); }
    60% { transform: rotate(-2deg); }
    80% { transform: rotate(2deg); }
}

@keyframes cta-bounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-7px); }
    70% { transform: translateY(-3px); }
}

@keyframes cta-arrow-nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #ffffff;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.93rem;
    padding: 14px 26px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.22s ease;
    cursor: pointer;
}

.hero-cta-primary svg {
    width: 15px;
    height: 15px;
    transition: transform 0.22s ease;
}

.hero-cta-primary:hover {
    background: var(--color-accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(243,112,33,0.42);
}

.hero-cta-primary:hover svg {
    animation: cta-arrow-nudge 0.5s ease infinite;
}

.hero-cta-primary--pulse {
    animation: cta-pulse 0.7s ease-out;
}

.hero-cta-primary--wiggle {
    animation: cta-wiggle 0.5s ease;
}

.hero-cta-primary--bounce {
    animation: cta-bounce 0.55s ease;
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.hero-cta-secondary svg { width: 16px; height: 16px; }
.hero-cta-secondary:hover { color: #ffffff; }

.hero-v2__scroll {
    display: none;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}


/* ── CATEGORIES SECTION ── */
/* scroll-margin compensa el nav fijo al usar anchor #categorias */
#categorias { scroll-margin-top: 68px; }

.categories-section {
    height: 50vh;
    background: #fff;
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid #e5e7eb;
}

/* El container es columna: título arriba, grid llena el resto */
.categories-section > .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 20px;
    box-sizing: border-box;
}

.cat-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.6rem, 2.4vw, 2.15rem);
    font-weight: 800;
    color: #111827;
    letter-spacing: 0;
    line-height: 1.1;
    flex-shrink: 0;
}

.cat-grid {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

/* Las cards se estiran para llenar la fila del grid */
.cat-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 1.5px solid #e8ecf0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    min-width: 0;
    height: 100%;
    min-height: 0;
}

.cat-card:hover {
    box-shadow: 0 8px 24px rgba(11,60,93,0.12);
    transform: translateY(-3px);
    border-color: var(--color-primary);
}

/* Futuro scroller de productos — overflow ready */
.cat-card__media {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    position: relative;
}

.cat-card__media img {
    max-height: 70%;
    max-width: 80%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.cat-card:hover .cat-card__media img { transform: scale(1.07); }

.cat-card__info {
    flex-shrink: 0;
    padding: 10px 14px 12px;
    background: #f4f6f8;
    border-bottom: 1px solid #e8ecf0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cat-products-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.cat-product-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 14px 16px;
    box-sizing: border-box;
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.cat-product-slide:first-child {
    opacity: 1;
    transform: translateX(0);
}

.cat-products-track.is-carousel .cat-product-slide:first-child {
    opacity: 0;
    transform: translateX(-100%);
}

.cat-product-img {
    height: auto;
    max-height: min(150px, 82%);
    max-width: 86%;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.cat-card__media .cat-product-img {
    max-height: min(150px, 82%);
    max-width: 88%;
}

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

.cat-products-track.is-carousel-2 .cat-product-slide {
    animation: cat-slide-2 8s infinite ease-in-out both;
}

.cat-products-track.is-carousel-2 .cat-product-slide:first-child {
    animation-delay: -1.2s;
}

.cat-products-track.is-carousel-2 .cat-product-slide:nth-child(2) {
    animation-delay: 2.8s;
}

.cat-products-track.is-carousel-3 .cat-product-slide {
    animation: cat-slide-3 12s infinite ease-in-out both;
}

.cat-products-track.is-carousel-3 .cat-product-slide:first-child {
    animation-delay: -1.2s;
}

.cat-products-track.is-carousel-3 .cat-product-slide:nth-child(2) {
    animation-delay: 2.8s;
}

.cat-products-track.is-carousel-3 .cat-product-slide:nth-child(3) {
    animation-delay: 6.8s;
}

@keyframes cat-slide-2 {
    0% { opacity: 0; transform: translateX(100%); }
    10%, 52% { opacity: 1; transform: translateX(0); }
    64%, 100% { opacity: 0; transform: translateX(-100%); }
}

@keyframes cat-slide-3 {
    0% { opacity: 0; transform: translateX(100%); }
    10%, 32% { opacity: 1; transform: translateX(0); }
    44%, 100% { opacity: 0; transform: translateX(-100%); }
}

@media (min-width: 901px) and (max-height: 560px) {
    .hero-v2 {
        padding-top: 92px;
        padding-bottom: 16px;
    }

    .hero-v2__title {
        font-size: clamp(2rem, 4.4vw, 3.1rem);
        margin-bottom: 18px;
    }

    .hero-cta-primary {
        padding: 12px 22px;
        font-size: 0.86rem;
    }

    .hero-cta-secondary {
        font-size: 0.84rem;
    }

    .categories-section > .container {
        gap: 8px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .cat-section-title {
        font-size: clamp(1.4rem, 2vw, 1.75rem);
    }

    .cat-card__info {
        padding: 7px 10px 8px;
    }

    .cat-card__name {
        font-size: 0.78rem;
    }

    .cat-card__count {
        font-size: 0.58rem;
    }

    .cat-card__media .cat-product-img {
        max-height: min(86px, 80%);
    }
}

.cat-card__name {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(0.82rem, 1vw, 0.92rem);
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.cat-card__desc {
    display: block;
    font-size: clamp(0.64rem, 0.9vw, 0.7rem);
    color: var(--color-gray);
    font-weight: 500;
    line-height: 1.4;
}

.cat-card__count {
    display: inline-flex;
    width: fit-content;
    margin-top: 2px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #eef4f8;
    color: var(--color-primary);
    font-size: 0.64rem;
    font-weight: 800;
}


/* ── SECTION LABEL ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    background: var(--color-dark);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-label span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
}


/* ── PRODUCTS SECTION ── */
.products-section {
    padding: 90px 0 80px;
}

.products-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}

.products-head h2 {
    font-size: 1.9rem;
    margin-bottom: 8px;
}

.products-head p {
    font-size: 0.9rem;
    max-width: 500px;
}

.see-all {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gray);
    text-decoration: none;
    white-space: nowrap;
    align-self: flex-start;
    margin-top: 36px;
    transition: color 0.2s;
}

.see-all:hover { color: var(--color-dark); }

.products-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1.5px solid #e5e7eb;
    margin-bottom: 38px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.products-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1.5px;
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-gray);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    font-family: 'Inter', sans-serif;
}

.tab-btn:hover { color: var(--color-dark); }

.tab-btn.active {
    color: var(--color-dark);
    border-bottom-color: var(--color-dark);
}

.prod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* PRODUCT CARD — J.A.K style */
.prod-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    cursor: pointer;
}

.prod-card:hover {
    box-shadow: 0 10px 36px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.prod-card.hidden { display: none; }

.prod-card__img-wrap {
    position: relative;
    padding: 28px 24px 20px;
    background: #f9fafb;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 190px;
}

.prod-card__wish {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s, border-color 0.2s;
}

.prod-card__wish:hover { color: #ef4444; border-color: #ef4444; }

.prod-card__img-wrap img {
    max-height: 150px;
    width: auto;
    transition: transform 0.3s ease;
}

.prod-card:hover .prod-card__img-wrap img { transform: scale(1.05); }

.prod-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
    min-width: 0;
}

.prod-card__cotizar {
    flex: 1;
    background: var(--color-dark);
    color: #fff;
    border: none;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.prod-card__cotizar svg { width: 14px; height: 14px; flex-shrink: 0; }
.prod-card__cotizar:hover { background: var(--color-accent); }

.prod-card__cart {
    flex: 1;
    min-width: 0;
    background: var(--color-dark);
    color: #fff;
    border: none;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.prod-card__cart svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
}

.prod-card__cart:hover {
    background: var(--color-accent);
}

.prod-card__cart.is-added {
    background: #15803d;
}

button.btn-primary,
button.btn-secondary {
    font-family: 'Inter', sans-serif;
}

button.btn-primary {
    border: 0;
}

button.btn-secondary {
    background: transparent;
}

.prod-card__wa {
    width: 38px;
    height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #25D366;
    flex-shrink: 0;
    transition: all 0.2s;
    text-decoration: none;
}

.prod-card__wa:hover { background: #25D366; color: #fff; border-color: #25D366; }
.prod-card__wa svg { width: 18px; height: 18px; fill: currentColor; }

.prod-card__badge {
    background: #f4f6f8;
    color: var(--color-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 5px;
    white-space: nowrap;
    letter-spacing: 0.01em;
    flex-shrink: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.prod-card__info {
    padding: 13px 14px 16px;
}

.prod-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 7px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.prod-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.prod-card__stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.prod-card__stars svg {
    width: 13px;
    height: 13px;
    fill: #f59e0b;
}

.prod-card__reviews {
    font-size: 0.74rem;
    color: var(--color-gray);
    margin-left: 5px;
}

.prod-card__detail {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray);
    text-decoration: underline;
    cursor: pointer;
    text-underline-offset: 2px;
    transition: color 0.2s;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.prod-card__detail:hover { color: var(--color-dark); }

.prod-card__assoc-strip {
    display: flex;
    gap: 6px;
    padding: 0 14px 10px;
    flex-wrap: wrap;
}

.prod-card__assoc-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1.5px solid #e5e7eb;
    overflow: hidden;
    transition: border-color 0.2s;
    background: #f9fafb;
}

.prod-card__assoc-thumb:hover { border-color: var(--color-accent, #0ea5e9); }

.prod-card__assoc-thumb img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}


/* ── FEATURED PRODUCT ── */
.featured-section {
    padding: 80px 0;
    background: #f8fafc;
}

.featured-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    min-width: 0;
}

.featured-info__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.featured-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 16px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.featured-info > p {
    line-height: 1.7;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}

.featured-info__detail {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gray);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
    margin-bottom: 28px;
    transition: color 0.2s;
}

.featured-info__detail:hover { color: var(--color-dark); }

.featured-price-block {
    margin-bottom: 28px;
}

.featured-price-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-gray);
    margin-bottom: 4px;
}

.featured-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
}

.featured-price .price-note {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-gray);
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
}

.featured-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.featured-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-img img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.18));
    transition: transform 0.4s ease;
}

.featured-img img:hover { transform: scale(1.03) rotate(-1deg); }

.featured-img-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    min-width: 0;
}

.featured-img-col .featured-cta-row {
    width: 100%;
    justify-content: center;
}


/* ── GALLERY / SERVICIOS ── */
.gallery-section {
    padding: 80px 0;
}

.gallery-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.gallery-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 12px;
    line-height: 1.15;
}

.gallery-text > p {
    margin-bottom: 0;
    line-height: 1.65;
}

.gallery-arrows {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.arrow-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--color-dark);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-dark);
    transition: all 0.22s;
}

.arrow-btn:hover { background: var(--color-dark); color: #fff; }
.arrow-btn svg { width: 18px; height: 18px; }

.gallery-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gallery-img-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(145deg, #cbd5e1 0%, #94a3b8 100%);
}

.gallery-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-img-card .caption {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 28px 14px 14px;
    letter-spacing: 0.01em;
}

/* placeholder SVG para galería */
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(145deg, #e0e7ef 0%, #c8d6e5 100%);
}

.gallery-placeholder svg { width: 48px; height: 48px; opacity: 0.35; }
.gallery-placeholder span { font-size: 0.75rem; color: #64748b; font-weight: 600; text-align: center; padding: 0 16px; }


/* ── MISIÓN / STATS ── */
.mission-section {
    padding: 80px 0;
    background: #f8fafc;
}

.mission-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.mission-stats-list {
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.2s;
}

.stat-row:last-child { border-bottom: none; }
.stat-row:hover { background: #fafbfc; }

.stat-row__num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    min-width: 80px;
    flex-shrink: 0;
    letter-spacing: -0.03em;
}

.stat-row__label {
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.4;
}

.mission-text { padding-top: 8px; }

.mission-text h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    margin-bottom: 16px;
    line-height: 1.15;
}

.mission-text > p {
    margin-bottom: 22px;
    line-height: 1.65;
}

.mission-points {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mission-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.5;
}

.mission-points li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
    margin-top: 6px;
}


/* ── TESTIMONIALS ── */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: flex-start;
}

.testimonials-title h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 14px;
}

.testimonials-title h2 em {
    font-style: normal;
    color: var(--color-accent);
}

.testimonials-title p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.testimonials-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gray);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color 0.2s;
}

.testimonials-cta:hover { color: var(--color-dark); }

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.review-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    background: #fff;
    transition: box-shadow 0.22s, transform 0.22s;
}

.review-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.review-card__date {
    font-size: 0.74rem;
    color: var(--color-gray);
}

.review-card__stars {
    display: flex;
    gap: 2px;
}

.review-card__stars svg { width: 12px; height: 12px; fill: #f59e0b; }

.review-card__text {
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 18px;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    flex-shrink: 0;
}

.review-avatar.accent { background: var(--color-accent); }
.review-avatar.teal   { background: #0d9488; }

.review-card__name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-dark);
}

.review-card__role {
    font-size: 0.76rem;
    color: var(--color-gray);
    margin-top: 2px;
}


/* ── FOOTER V2 ── */
.footer-v2 {
    padding-top: 60px;
    border-top: 1px solid #e5e7eb;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 56px;
    border-bottom: 1px solid #e5e7eb;
}

.footer-newsletter h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-dark);
}

.footer-newsletter p {
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: border-color 0.2s;
}

.newsletter-form:focus-within { border-color: var(--color-primary); }

.newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: none;
    font-size: 0.88rem;
    outline: none;
    color: var(--color-dark);
    font-family: 'Inter', sans-serif;
}

.newsletter-input::placeholder { color: #9ca3af; }

.newsletter-submit {
    background: var(--color-dark);
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.2s;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.newsletter-submit:hover { background: var(--color-accent); }

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 0.87rem;
    color: var(--color-gray);
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
}

.footer-col ul li a:hover { color: var(--color-dark); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom-links {
    display: flex;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: 0.78rem;
    color: var(--color-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--color-dark); }

.footer-copy {
    font-size: 0.78rem;
    color: var(--color-gray);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
    text-decoration: none;
    transition: all 0.22s;
}

.social-link:hover {
    border-color: var(--color-dark);
    color: var(--color-dark);
    background: #f4f6f8;
}

.social-link svg { width: 16px; height: 16px; fill: currentColor; }


/* ── WHATSAPP FLOTANTE ── */
.wa-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 22px rgba(37,211,102,0.45);
    transition: transform 0.22s ease, box-shadow 0.22s;
    text-decoration: none;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}

.wa-float svg { width: 30px; height: 30px; fill: #fff; }


/* Carrito de consulta */
.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(15, 23, 42, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    width: min(420px, 94vw);
    background: #fff;
    box-shadow: -16px 0 48px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 0.26s ease;
    display: none;
    flex-direction: column;
}

.cart-open .cart-overlay {
    opacity: 1;
    pointer-events: auto;
}

.cart-open .cart-drawer {
    display: flex;
    transform: translateX(0);
}

.cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.cart-drawer__head strong {
    display: block;
    color: var(--color-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
}

.cart-drawer__head span {
    display: block;
    margin-top: 2px;
    color: var(--color-gray);
    font-size: 0.84rem;
}

.cart-drawer__close {
    width: 38px;
    height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #fff;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart-drawer__close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.4;
}

.cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px;
}

.cart-empty {
    display: grid;
    gap: 8px;
    padding: 28px 12px;
    text-align: center;
}

.cart-empty strong {
    color: var(--color-dark);
}

.cart-empty p {
    margin: 0;
    color: var(--color-gray);
    line-height: 1.5;
}

.cart-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f3;
}

.cart-item img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    padding: 8px;
}

.cart-item__info {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.cart-item__info strong {
    color: var(--color-dark);
    font-size: 0.9rem;
    line-height: 1.3;
}

.cart-item__info span {
    color: var(--color-gray);
    font-size: 0.78rem;
}

.cart-item__price {
    color: var(--color-dark) !important;
    font-weight: 700;
}

.cart-item__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.cart-item__controls button {
    min-width: 30px;
    height: 30px;
    border: 1px solid #dbe4ee;
    border-radius: 7px;
    background: #fff;
    color: var(--color-dark);
    font-weight: 800;
    cursor: pointer;
}

.cart-item__controls > span {
    min-width: 22px;
    text-align: center;
    color: var(--color-dark);
    font-weight: 800;
}

.cart-item__remove {
    padding: 0 10px;
    font-size: 0.76rem;
    font-weight: 700 !important;
}

.cart-drawer__foot {
    display: grid;
    gap: 10px;
    padding: 18px 24px 24px;
    border-top: 1px solid #e5e7eb;
}

.cart-drawer__quote,
.cart-drawer__clear {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.cart-drawer__quote.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}


/* ══════════════════════════════════════════════
   MENÚ MOBILE
══════════════════════════════════════════════ */
.nav-mobile {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(340px, 90vw);
    background: #ffffff;
    z-index: 300;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-mobile.open {
    transform: translateX(0);
    box-shadow: -10px 0 50px rgba(0,0,0,0.18);
}

.nav-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 299;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.nav-mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.nav-mobile__inner {
    padding: 24px 28px 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

.nav-mobile__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.nav-mobile__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav-mobile__logo img {
    display: block;
    width: 82px;
    height: 82px;
    border: 1px solid rgba(11, 60, 93, 0.12);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
    object-fit: cover;
}

.nav-mobile__close {
    width: 40px; height: 40px;
    border: 1.5px solid #e5e7eb;
    border-radius: 50%;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #374151;
    transition: all 0.2s;
    flex-shrink: 0;
}

.nav-mobile__close:hover { background: #f4f6f8; border-color: #d1d5db; }
.nav-mobile__close svg { width: 18px; height: 18px; }

.nav-mobile__links {
    list-style: none; padding: 0; margin: 0 0 32px;
    display: flex; flex-direction: column;
}

.nav-mobile__links li a {
    display: block;
    padding: 18px 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
    transition: color 0.2s, padding-left 0.2s;
}

.nav-mobile__links li a:hover {
    color: var(--color-primary);
    padding-left: 6px;
}

/* ── NAV MOBILE: rubros de "Catálogo" ── */
.nav-mobile__item--catalogo .nav-mobile__row {
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid #f3f4f6;
}

.nav-mobile__item--catalogo .nav-mobile__row a {
    flex: 1;
    border-bottom: 0;
}

.nav-mobile__caret {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    padding: 0;
    color: var(--color-dark);
    cursor: pointer;
    transition: transform 0.25s ease, color 0.2s ease;
}

.nav-mobile__caret svg {
    width: 18px;
    height: 18px;
}

.nav-mobile__caret[aria-expanded="true"] {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.nav-mobile__sublist {
    list-style: none;
    margin: 0;
    padding: 2px 0 14px;
    display: flex;
    flex-direction: column;
}

.nav-mobile__item--catalogo .nav-mobile__sublist a {
    display: block;
    padding: 10px 10px 10px 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none;
    border-bottom: 0;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s, padding-left 0.2s;
}

.nav-mobile__item--catalogo .nav-mobile__sublist a:hover,
.nav-mobile__item--catalogo .nav-mobile__sublist a:focus-visible {
    color: var(--color-primary);
    background: rgba(11, 60, 93, 0.06);
    padding-left: 14px;
}

.nav-mobile__social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.nav-mobile__social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
    transition: all 0.22s;
}

.nav-mobile__social-link svg {
    width: 20px; height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.nav-mobile__social-link.ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366);
    color: #fff;
    border-color: transparent;
}

.nav-mobile__social-link.wa {
    background: rgba(37,211,102,0.05);
    border-color: rgba(37,211,102,0.3);
    color: #155d27;
}

.nav-mobile__social-link.wa:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.nav-mobile__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    border: 0;
    padding: 18px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    transition: background 0.2s, transform 0.2s;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
}

.nav-mobile__cta:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.nav-mobile__cta + .nav-mobile__cta {
    margin-top: 10px;
}


/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* Tablet grande */
@media (max-width: 1100px) {
    .testimonials-inner {
        grid-template-columns: 260px 1fr;
        gap: 40px;
    }
}

/* Tablet */
@media (max-width: 1040px) {
    .nav-links,
    .nav-social-btn,
    .nav-wa-btn { display: none; }

    .nav-hamburger { display: flex; }
}

@media (max-width: 900px) {
    .hero-v2 {
        min-height: 520px;
        padding-top: 118px;
    }

    .featured-inner,
    .mission-inner,
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Featured: en mobile imagen va primero */
    .featured-inner { display: flex; flex-direction: column; }
    .featured-img-col { order: -1; }
    .featured-img img { max-height: 280px; }
    .featured-img-col .featured-cta-row { justify-content: flex-start; }

    /* Gallery: en tablet las imágenes apiladas */
    .gallery-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .gallery-head .gallery-arrows { align-self: flex-end; }
    .gallery-imgs { gap: 12px; }

    .testimonials-inner {
        grid-template-columns: 1fr;
    }
    .reviews-grid { grid-template-columns: 1fr 1fr; }

    .prod-grid { grid-template-columns: repeat(2, 1fr); }

    .categories-section { height: auto; min-height: 0; overflow: visible; }
    .categories-section > .container { height: auto; padding-top: 18px; padding-bottom: 18px; }
    .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cat-card { height: clamp(140px, 22vw, 165px); min-height: 0; }

    .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* Mobile */
@media (max-width: 640px) {
    .nav-v2 { padding: 14px 0; }
    .nav-logo img { width: 70px; height: 70px; }
    .nav-v2.scrolled .nav-logo img { width: 62px; height: 62px; }

    .hero-v2 { min-height: 520px; padding-bottom: 36px; padding-top: 112px; align-items: flex-end; }
    .hero-v2__title { font-size: clamp(2rem, 11vw, 2.8rem); margin-bottom: 22px; }
    .hero-v2__ctas { flex-direction: column; align-items: flex-start; }
    .hero-cta-primary,
    .hero-cta-secondary { max-width: 100%; }
    .hero-cta-primary { justify-content: center; text-align: center; }

    .categories-section { height: auto; min-height: 0; }
    .categories-section > .container { height: auto; padding: 12px 0 16px; }
    .cat-grid { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cat-card {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
    }
    .cat-card__media {
        flex: none;
        aspect-ratio: 1 / 1;
        min-height: 0;
        padding: 10px;
    }
    .cat-product-slide {
        padding: 0;
    }
    .cat-card__media .cat-product-img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    .cat-card__info { padding: 8px 9px 10px; }
    .cat-card__name { font-size: 0.78rem; }
    .cat-card__desc { font-size: 0.64rem; }
    .cat-card__count { font-size: 0.6rem; }

    .products-section { padding: 60px 0 50px; }
    .products-head { flex-direction: column; gap: 8px; }
    .products-head .see-all { margin-top: 0; }
    .prod-grid { grid-template-columns: 1fr; }

    .featured-section { padding: 60px 0; }
    .featured-cta-row { flex-direction: column; width: 100%; }
    .featured-cta-row .btn-primary,
    .featured-cta-row .btn-secondary { width: 100%; text-align: center; justify-content: center; }

    .gallery-section { padding: 60px 0; }
    .gallery-imgs { grid-template-columns: 1fr; }
    .gallery-img-card { aspect-ratio: 4/3; }

    .mission-section { padding: 60px 0; }
    .stat-row { padding: 18px 20px; gap: 16px; }
    .stat-row__num { font-size: 1.6rem; min-width: 65px; }

    .testimonials-section { padding: 60px 0; }
    .testimonials-inner { gap: 32px; }
    .reviews-grid { grid-template-columns: 1fr; }

    .footer-links-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 420px) {
    .container {
        width: calc(100% - 32px);
    }

    .prod-card__actions {
        flex-wrap: wrap;
    }

    .prod-card__cart {
        flex: 1 1 calc(100% - 46px);
    }

    .prod-card__badge {
        flex: 1 0 100%;
        white-space: normal;
        text-align: center;
    }

    .featured-info h2 {
        font-size: clamp(1.55rem, 9vw, 2.1rem);
    }

    .featured-img img {
        max-height: 240px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-submit {
        width: 100%;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-links {
        gap: 14px;
    }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .scroll-line { animation: none; }
    .nav-mobile { transition: none; }
    .nav-mobile-overlay { transition: none; }
}
