/* ==========================================================================
   Green Group Colombia — 100% Local Stylesheet (Zero External CDNs)
   Aesthetic Refresh: Professional, Minimalist, Sustainable & Responsive
   ========================================================================== */

@font-face {
    font-family: 'Roboto Local';
    src: url('../fonts/roboto-latin-ext.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Roboto Local';
    src: url('../fonts/roboto-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --clr-primary: #00803f;
    --clr-primary-dark: #006331;
    --clr-primary-deeper: #004d2c;
    --clr-primary-light: #dcfce7;
    --clr-accent: #78c515;
    --clr-accent-hover: #62a50f;
    --clr-whatsapp: #25D366;
    --clr-whatsapp-dark: #1da851;
    --clr-bg: #ffffff;
    --clr-bg-subtle: #f6f9f7;
    --clr-text: #1e293b;
    --clr-text-muted: #475569;
    --clr-border: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(7, 46, 22, 0.05);
    --shadow-md: 0 10px 25px rgba(7, 46, 22, 0.08);
    --shadow-lg: 0 20px 40px rgba(7, 46, 22, 0.14);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 9999px;
    --font-sans: 'Roboto Local', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --font-heading: 'Roboto Local', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

body.no-scroll {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

[hidden] {
    display: none !important;
}

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

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

ul, ol {
    list-style: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 5rem 0;
}

.bg-subtle {
    background-color: var(--clr-bg-subtle);
}

.bg-dark-green {
    background: linear-gradient(135deg, var(--clr-primary-deeper) 0%, var(--clr-primary-dark) 100%);
    color: #ffffff;
}

.text-center {
    text-align: center;
}

.text-white {
    color: #ffffff !important;
}

.text-gradient {
    background: linear-gradient(90deg, #86efac 0%, #bef264 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Buttons & Interactive Elements (Minimum 44x44px Touch Targets)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.65rem 1.35rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    user-select: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-lg {
    min-height: 52px;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(21, 128, 61, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(21, 128, 61, 0.35);
    background: linear-gradient(135deg, #16a34a 0%, var(--clr-primary) 100%);
}

.btn-accent {
    background: var(--clr-accent);
    color: var(--clr-primary-deeper);
    box-shadow: 0 6px 18px rgba(132, 204, 22, 0.3);
}

.btn-accent:hover {
    background: #a3e635;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}

.btn-outline-primary:hover {
    background: var(--clr-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--clr-primary-deeper);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-2px);
}

.btn-add-quote {
    background-color: var(--clr-primary-light);
    color: var(--clr-primary-dark);
    border: 1.5px solid rgba(21, 128, 61, 0.25);
    border-radius: var(--radius-md);
}

.btn-add-quote:hover {
    background-color: var(--clr-primary);
    color: #ffffff;
    border-color: var(--clr-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 128, 61, 0.22);
}

.btn-whatsapp-quote {
    background: linear-gradient(135deg, var(--clr-whatsapp) 0%, var(--clr-whatsapp-dark) 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-quote:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.42);
}

.btn-whatsapp-quote:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* ==========================================================================
   Top Bar & Sticky Header
   ========================================================================== */
.top-bar {
    background-color: var(--clr-primary-deeper);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    padding: 0.45rem 0;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.88);
}

.top-bar-link:hover {
    color: var(--clr-accent);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
    transition: var(--transition-smooth);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 1rem;
}

.brand-logo {
    max-height: 58px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav-link {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clr-text);
    padding: 0.5rem 0.25rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2.5px;
    background-color: var(--clr-primary);
    border-radius: 2px;
    transition: width 0.25s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--clr-primary);
}

.nav-link-flipbook {
    color: var(--clr-primary-dark);
    background: var(--clr-primary-light);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
}

.nav-link-flipbook::after {
    display: none;
}

.nav-link-flipbook:hover {
    background: var(--clr-primary);
    color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-quote-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    background: var(--clr-bg-subtle);
    border: 1.5px solid var(--clr-border);
    color: var(--clr-text);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-quote-cart:hover {
    border-color: var(--clr-primary);
    background: var(--clr-primary-light);
    color: var(--clr-primary-dark);
}

.quote-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background: var(--clr-primary);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
}

.hamburger-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: var(--clr-bg-subtle);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.hamburger-bar {
    width: 22px;
    height: 2.5px;
    background-color: var(--clr-text);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Mobile Drawer Navigation
   ========================================================================== */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 46, 22, 0.55);
    backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-nav-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 340px;
    height: 100vh;
    background: #ffffff;
    z-index: 1150;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 1px solid var(--clr-border);
}

.mobile-drawer-logo {
    max-height: 46px;
    width: auto;
}

.mobile-drawer-close {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
    background: var(--clr-bg-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    color: var(--clr-text);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--clr-primary-light);
    color: var(--clr-primary-dark);
}

.mobile-drawer-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--clr-border);
}

/* ==========================================================================
   Hero Slideshow Section (imagen de fondo limpia, sin puntos de navegacion)
   ========================================================================== */
.hero-section {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: clamp(430px, 41vw, 620px);
    background-color: #f2f3f3;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(6%);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 62%;
}

.hero-slide.active .hero-slide-img {
    animation: heroKenBurns 7s ease-out forwards;
}

@keyframes heroKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.07); }
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.hero-content {
    width: min(36%, 430px);
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.6rem;
}

.hero-title-line,
.hero-title-accent {
    display: block;
}

.hero-title-line {
    font-size: clamp(1.55rem, 2.55vw, 2.4rem);
    color: var(--clr-primary-deeper);
}

.hero-title-accent {
    font-size: clamp(2.1rem, 3.7vw, 3.4rem);
    color: var(--clr-accent);
}

.btn-hero-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.4rem;
    border-radius: var(--radius-pill);
    background: var(--clr-primary);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(0, 128, 63, 0.28);
    transition: var(--transition-smooth);
}

.btn-hero-contact:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 128, 63, 0.38);
}

.hero-years-card {
    position: absolute;
    z-index: 4;
    right: max(1.25rem, calc((100vw - 1280px) / 2 + 1.25rem));
    bottom: -3.4rem;
    min-width: 180px;
    padding: 1.15rem 1.9rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 50, 28, 0.14);
    animation: floatSlow 5s ease-in-out infinite;
}

.hero-years-title {
    display: block;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-primary);
}

.hero-years-text {
    display: block;
    font-size: 1rem;
    color: var(--clr-text);
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
/* ==========================================================================
   Section Headers & Category Lines
   ========================================================================== */
.section-header {
    max-width: 700px;
    margin: 0 auto 3.25rem;
}

.section-header-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--clr-primary);
    background: var(--clr-primary-light);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.75rem;
}

.eyebrow-light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--clr-accent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    color: var(--clr-primary-deeper);
    line-height: 1.2;
}

.section-description {
    margin-top: 0.75rem;
    color: var(--clr-text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   Products Grid & Product Cards
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.catalog-products-grid {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(21, 128, 61, 0.35);
}

.product-card-media {
    position: relative;
    background: #f8fafc;
    aspect-ratio: 1 / 1;
    display: block;
    padding: 0;
    overflow: hidden;
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

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

.product-badge-custom {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    background: var(--clr-primary-deeper);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.28rem 0.65rem;
    border-radius: var(--radius-pill);
}

.product-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-category {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--clr-primary);
    margin-bottom: 0.35rem;
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--clr-primary-deeper);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-card-title a:hover {
    color: var(--clr-primary);
}

.product-card-excerpt {
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    margin-bottom: 1.15rem;
    flex: 1;
}

.product-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.card-qty-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    background: var(--clr-bg-subtle);
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-text);
    cursor: pointer;
    transition: background 0.2s ease;
}

.qty-btn:hover {
    background: var(--clr-primary-light);
    color: var(--clr-primary-dark);
}

.qty-input {
    width: 56px;
    height: 44px;
    border: none;
    border-left: 1px solid var(--clr-border);
    border-right: 1px solid var(--clr-border);
    text-align: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    background: #ffffff;
}

/* ==========================================================================
   Home: Conoce nuestros productos, Nosotros, Branding y Aliados
   ========================================================================== */
.home-products-section {
    padding: 8rem 0 5rem;
    background: #ffffff;
}

.home-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    max-width: 1080px;
    margin: 0 auto;
}

.home-products-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    line-height: 1.2;
    color: var(--clr-primary-deeper);
    margin-bottom: 1.5rem;
}

.home-products-text {
    max-width: 470px;
    font-size: 0.95rem;
    color: var(--clr-text);
    margin-bottom: 1.75rem;
}

.home-products-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    padding: 0.95rem 2.4rem;
    border-radius: 6px;
    background: var(--clr-primary);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-line:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    background: var(--clr-primary-dark);
}

.btn-line-accent {
    background: var(--clr-accent);
}

.btn-line-accent:hover {
    background: var(--clr-accent-hover);
}

.home-products-visual {
    display: flex;
    justify-content: center;
}

.home-products-img {
    width: 100%;
    max-width: 440px;
    height: auto;
    animation: floatSlow 6s ease-in-out infinite;
}

.home-about-section {
    padding: 3rem 0 5rem;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 3.5rem;
    max-width: 1080px;
    margin: 0 auto;
}

.home-about-text p {
    font-size: 0.96rem;
    line-height: 1.65;
    text-align: justify;
    color: var(--clr-text);
    margin-bottom: 1.1rem;
}

.home-about-text strong {
    color: #111827;
}

.home-about-media {
    background: #e4efe8;
    border-radius: var(--radius-md);
    padding: 1.1rem;
}

.home-about-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.home-branding-section {
    padding: 4rem 0 3rem;
}

.home-section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    text-align: center;
    color: var(--clr-primary-deeper);
    margin-bottom: 2.5rem;
}

.branding-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 3rem;
}

.branding-viewport {
    overflow: hidden;
}

.branding-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.branding-tile {
    flex: 0 0 calc((100% - 4 * 1.5rem) / 5);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f1f5f2;
    transition: var(--transition-smooth);
}

.branding-tile:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--shadow-md);
}

.branding-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branding-arrow {
    position: absolute;
    top: calc(50% - 1rem);
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--clr-accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.branding-arrow:hover {
    color: var(--clr-primary);
    transform: translateY(-50%) scale(1.2);
}

.branding-arrow.prev { left: 0; }
.branding-arrow.next { right: 0; }

.branding-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.branding-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d4dcd7;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.branding-dot.active {
    background: var(--clr-primary-deeper);
    transform: scale(1.25);
}

.home-allies-section {
    padding: 3rem 0 5rem;
}

.allies-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.ally-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.ally-logo-card:hover {
    transform: translateY(-5px) scale(1.04);
}

.ally-logo-img {
    width: 100%;
    max-width: 190px;
    height: auto;
    mix-blend-mode: multiply;
}
/* ==========================================================================
   Catalog Page & Product Detail Page
   ========================================================================== */
.page-hero-banner {
    background: linear-gradient(135deg, var(--clr-primary-deeper) 0%, var(--clr-primary-dark) 100%);
    color: #ffffff;
    padding: 3rem 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.breadcrumb-list li + li::before {
    content: '/';
    margin-right: 0.5rem;
    opacity: 0.6;
}

.breadcrumb-detail {
    padding: 1.5rem 0 1rem;
    color: var(--clr-text-muted);
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.page-hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
}

.catalog-container {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 2rem;
    align-items: start;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.35rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--clr-primary-deeper);
    margin-bottom: 1rem;
}

.btn-toggle-categories {
    display: none;
    min-height: 44px;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-primary);
    background: var(--clr-primary-light);
    color: var(--clr-primary-dark);
    font-weight: 700;
    cursor: pointer;
}

.cat-tree-all,
.cat-tree-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
}

.cat-tree-all.active,
.cat-tree-parent.active,
.cat-tree-all:hover,
.cat-tree-parent:hover {
    background: var(--clr-primary-light);
    color: var(--clr-primary-dark);
}

.cat-count-pill {
    font-size: 0.75rem;
    background: var(--clr-bg-subtle);
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-pill);
    color: var(--clr-text-muted);
}

.cat-tree-children {
    padding-left: 0.85rem;
    border-left: 2px solid var(--clr-border);
    margin: 0.25rem 0 0.75rem 0.65rem;
}

.cat-tree-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    color: var(--clr-text-muted);
}

.cat-tree-child:hover,
.cat-tree-child.active {
    color: var(--clr-primary-dark);
    background: var(--clr-bg-subtle);
    font-weight: 700;
}

.sidebar-flipbook-card {
    background: var(--clr-bg-subtle);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.35rem;
}

.sidebar-flipbook-card h3 {
    font-size: 1.05rem;
    color: var(--clr-primary-deeper);
    margin-bottom: 0.4rem;
}

.sidebar-flipbook-card p {
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.toolbar-search-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 240px;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: var(--clr-bg-subtle);
}

.toolbar-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.65rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    min-height: 44px;
}

.toolbar-search-btn {
    width: 46px;
    height: 44px;
    border: none;
    background: var(--clr-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.toolbar-meta-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.toolbar-sort-select {
    min-height: 44px;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    background: #ffffff;
}

.active-filters-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
}

.filter-chip {
    background: var(--clr-primary-light);
    color: var(--clr-primary-dark);
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
}

.clear-filters-link {
    color: #dc2626;
    font-weight: 700;
}

.catalog-empty-box {
    text-align: center;
    padding: 4rem 1.5rem;
    background: var(--clr-bg-subtle);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--clr-border);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

/* Product Detail Layout */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

.product-main-image-box {
    position: relative;
    background: #f8fafc;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: zoom-in;
}

.product-detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-main-image-box:hover .product-detail-main-img {
    transform: scale(1.04);
}

.product-zoom-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.62);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.product-main-image-box:hover .product-zoom-btn,
.product-zoom-btn:focus-visible {
    opacity: 1;
    transform: scale(1);
}

.product-zoom-btn:hover {
    background: rgba(0, 0, 0, 0.85);
}

@media (hover: none) {
    .product-zoom-btn {
        top: auto;
        left: auto;
        right: 0.75rem;
        bottom: 0.75rem;
        width: 46px;
        height: 46px;
        margin: 0;
        opacity: 1;
        transform: none;
    }
}

/* Fullscreen image viewer (black modal) */
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.image-lightbox.open {
    display: flex;
    animation: lightboxIn 0.25s ease;
}

@keyframes lightboxIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-lightbox-img {
    max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: zoom-out;
}

.image-lightbox-close,
.image-lightbox-nav {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.image-lightbox-close:hover,
.image-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.image-lightbox-close {
    top: 1rem;
    right: 1rem;
}

.image-lightbox-nav.prev {
    left: 1rem;
    top: 50%;
    margin-top: -24px;
}

.image-lightbox-nav.next {
    right: 1rem;
    top: 50%;
    margin-top: -24px;
}

.product-thumbnails-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.product-thumb-btn {
    width: 72px;
    height: 72px;
    border: 2px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 4px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
}

.product-thumb-btn.active,
.product-thumb-btn:hover {
    border-color: var(--clr-primary);
}

.product-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-cat-badge {
    display: inline-block;
    background: var(--clr-primary-light);
    color: var(--clr-primary-dark);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.75rem;
}

.product-detail-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    color: var(--clr-primary-deeper);
    margin-bottom: 1rem;
}

.product-detail-description {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.product-detail-highlights {
    background: var(--clr-bg-subtle);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.highlight-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
}

.highlight-check {
    color: var(--clr-primary);
    font-weight: 700;
}

.product-detail-quote-box {
    background: #ffffff;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.quote-box-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.detail-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-add-btn {
    flex: 1;
}

/* ==========================================================================
   Quotation Cart Drawer & Toast Notifications
   ========================================================================== */
.quote-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 46, 22, 0.55);
    backdrop-filter: blur(4px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.quote-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.quote-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #ffffff;
    z-index: 1250;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
}

.quote-drawer.open {
    transform: translateX(0);
}

.quote-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--clr-primary-deeper);
    color: #ffffff;
}

.quote-drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.quote-drawer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.quote-drawer-close {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quote-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

.quote-empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.quote-empty-icon {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
}

.quote-empty-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.quote-empty-subtitle {
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    margin-bottom: 1.25rem;
}

.quote-cart-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    background: #ffffff;
}

.quote-item-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 6px;
    padding: 4px;
    flex-shrink: 0;
}

.quote-item-info {
    flex: 1;
    min-width: 0;
}

.quote-item-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--clr-primary-deeper);
    margin-bottom: 0.35rem;
}

.quote-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quote-item-qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--clr-border);
    background: var(--clr-bg-subtle);
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.quote-item-qty-val {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.quote-item-remove {
    width: 36px;
    height: 36px;
    border: none;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}

.quote-drawer-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--clr-border);
    background: var(--clr-bg-subtle);
}

.quote-notes-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.quote-notes-input {
    width: 100%;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 0.6rem;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
    resize: vertical;
}

.quote-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    margin-bottom: 0.85rem;
}

.btn-clear-quote {
    width: 100%;
    margin-top: 0.5rem;
    min-height: 38px;
    border: none;
    background: transparent;
    color: var(--clr-text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
}

/* ==========================================================================
   Footer & Permanent Floating WhatsApp Button
   ========================================================================== */
.site-footer {
    background-color: var(--clr-primary-deeper);
    color: rgba(255, 255, 255, 0.88);
    padding-top: 4.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 0.8fr;
    gap: 2.5rem;
    padding-bottom: 3.5rem;
}

.footer-logo {
    max-height: 62px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.25rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.social-btn:hover {
    background: var(--clr-accent);
    color: var(--clr-primary-deeper);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 1.15rem;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--clr-accent);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
}

.contact-icon {
    color: var(--clr-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-location-card {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.85rem;
}

.qr-card {
    background: #ffffff;
    color: var(--clr-primary-deeper);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    display: inline-block;
}

.qr-img {
    margin: 0 auto 0.5rem;
    border-radius: 6px;
}

.qr-caption {
    font-size: 0.78rem;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.5rem 0;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 1050;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--clr-whatsapp);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    transition: var(--transition-smooth);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.08) translateY(-3px);
    background: var(--clr-whatsapp-dark);
}

.floating-whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--clr-whatsapp);
    animation: waPulse 2.2s infinite;
}

.floating-whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--clr-primary-deeper);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 95px;
    right: 22px;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast-notification {
    background: var(--clr-primary-deeper);
    color: #ffffff;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Scroll Reveal Animations */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ==========================================================================
   Catalog: 5 columnas en escritorio, paginacion y carga sin recargar
   ========================================================================== */
.catalog-layout-section > .container {
    max-width: 1560px;
}

.catalog-container {
    grid-template-columns: 260px minmax(0, 1fr);
}

.catalog-products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.1rem;
}

.catalog-products-grid .product-card-body {
    padding: 0.9rem;
}

.catalog-products-grid .product-card-title {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.btn-view-more {
    background: transparent;
    color: var(--clr-primary);
    border: 1.5px solid var(--clr-primary);
    border-radius: var(--radius-md);
    padding: 0.7rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

.btn-view-more:hover {
    background: var(--clr-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.catalog-products-grid .qty-btn {
    width: 36px;
    height: 38px;
}

.catalog-products-grid .qty-input {
    width: 48px;
    height: 38px;
}

.catalog-products-grid .btn-add-quote {
    padding: 0.7rem 0.5rem;
    font-size: 0.82rem;
    gap: 0.35rem;
}

.catalog-content {
    min-width: 0;
    transition: opacity 0.25s ease;
}

.catalog-content.is-loading {
    opacity: 0.45;
    pointer-events: none;
}

.catalog-pagination {
    margin-top: 2.25rem;
}

.pagination-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}

.pagination-link {
    min-width: 42px;
    height: 42px;
    padding: 0 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--clr-text);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition-smooth);
}

a.pagination-link:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    transform: translateY(-2px);
}

.pagination-link.current {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: #ffffff;
}

.pagination-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-gap {
    display: inline-flex;
    align-items: center;
    padding: 0 0.25rem;
    color: var(--clr-text-muted);
}
/* ==========================================================================
   Responsive Breakpoints (Desktop, Tablet & Mobile)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .hero-slide.active .hero-slide-img,
    .hero-years-card,
    .home-products-img {
        animation: none;
    }
    .hero-slide,
    .branding-track {
        transition: none;
    }
}

@media (max-width: 1360px) {
    .catalog-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .catalog-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .allies-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content {
        width: min(42%, 430px);
    }
}

@media (max-width: 860px) {
    .main-nav,
    .btn-header-cta {
        display: none;
    }
    .hamburger-toggle {
        display: flex;
    }
    .product-detail-grid,
    .catalog-container,
    .home-products-grid,
    .home-about-grid {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .catalog-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .allies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .sidebar-header-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .sidebar-title {
        margin-bottom: 0;
    }
    .btn-toggle-categories {
        display: inline-flex;
        align-items: center;
    }
    .sidebar-categories-body {
        display: none;
        margin-top: 1rem;
    }
    .sidebar-categories-body.open {
        display: block;
    }

    /* Hero movil: imagen arriba, texto centrado debajo */
    .hero-section {
        display: block;
        min-height: 0;
    }
    .hero-slider {
        position: relative;
        height: 62vw;
        min-height: 230px;
    }
    .hero-container {
        justify-content: center;
        padding: 1.75rem 1.25rem 0.5rem;
    }
    .hero-content {
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .hero-title {
        margin-bottom: 1.25rem;
    }
    .hero-title-line {
        font-size: 1.6rem;
    }
    .hero-title-accent {
        font-size: 2.3rem;
    }
    .hero-years-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: max-content;
        margin: 1.5rem auto 0;
    }
    .home-products-section {
        padding: 3rem 0 3rem;
    }
    .home-products-grid {
        text-align: center;
    }
    .home-products-text {
        margin-left: auto;
        margin-right: auto;
    }
    .home-products-buttons {
        align-items: stretch;
    }
    .btn-line {
        justify-content: center;
    }
    .home-products-visual {
        order: -1;
    }
    .home-products-img {
        max-width: 300px;
    }
    .home-about-media {
        max-width: 320px;
        margin: 0 auto;
    }
    .branding-carousel {
        padding: 0 2.25rem;
    }
    .branding-tile {
        flex-basis: calc((100% - 2 * 1rem) / 3);
    }
    .branding-track {
        gap: 1rem;
    }
}

@media (max-width: 540px) {
    .section {
        padding: 3.5rem 0;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .catalog-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }
    .catalog-products-grid .product-card-category {
        font-size: 0.66rem;
    }
    .catalog-products-grid .product-card-title {
        font-size: 0.86rem;
    }
    .catalog-products-grid .btn-add-quote {
        font-size: 0.74rem;
        padding: 0.6rem 0.3rem;
    }
    .catalog-products-grid .btn-add-quote svg {
        display: none;
    }
    .allies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .branding-tile {
        flex-basis: calc((100% - 1rem) / 2);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .quote-cart-label {
        display: none;
    }
    .floating-whatsapp-tooltip {
        display: none;
    }
}

.footer-bottom-credit {
    width: 100%;
    text-align: center;
    font-size: 0.82rem;
}

.footer-bottom-credit a {
    color: var(--clr-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-bottom-credit a:hover {
    color: #ffffff;
}
