/*
==========================================================================
🏠 DICOSUMI HOME PAGE PREMIUM STYLESHEET
==========================================================================
*/

:root {
    --color-primary: #fecf0c; /* Dicosumi Corporate Yellow */
    --color-primary-rgb: 254, 207, 12;
    --color-black: #000000;
    --color-dark: #0f0f11;
    --color-gray-dark: #1e1e24;
    --color-gray: #7d7d8c;
    --color-gray-light: #f5f5f7;
    --color-white: #ffffff;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.12);
    --transition-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page {
    font-family: var(--font-body);
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/*
==========================================================================
1. HERO SECTION
==========================================================================
*/
.home-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at right, #1f1f23, var(--color-black));
    color: var(--color-white);
    overflow: hidden;
    padding: 60px 0;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(254, 207, 12, 0.08) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.7;
    pointer-events: none;
}

.home-hero__container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 26px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.home-hero__content {
    max-width: 100%;
}

.home-hero__visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-hero__image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #111;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/5;
}

.home-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-hero__image-wrapper:hover .home-hero__image {
    transform: scale(1.05);
}

.home-hero__glow {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(254, 207, 12, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.home-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--transition-premium);
}

.home-badge__dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary);
    display: inline-block;
    animation: pulseBadge 2s infinite ease-in-out;
}

.home-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 900;
    line-height: 1.12;
    margin: 0 0 20px 0;
    color: var(--color-white);
    letter-spacing: -0.02em;
    animation: fadeInUp 1s var(--transition-premium) 0.1s both;
}

.home-subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 36px 0;
    animation: fadeInUp 1.2s var(--transition-premium) 0.2s both;
}

.home-hero__actions {
    display: flex;
    gap: 16px;
    align-items: center;
    animation: fadeInUp 1.4s var(--transition-premium) 0.3s both;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s var(--transition-premium);
    cursor: pointer;
}

.home-btn--primary {
    background-color: var(--color-primary);
    color: var(--color-black);
    border: 2px solid var(--color-primary);
}

.home-btn--primary:hover {
    background-color: var(--color-black);
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(254, 207, 12, 0.25);
}

.home-btn--secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.home-btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--color-white);
    color: var(--color-white);
    transform: translateY(-2px);
}

/*
==========================================================================
1B. CONFIGURABLE HOME SLIDER
==========================================================================
*/
.home-slider {
    position: relative;
    height: min(720px, 78vh);
    min-height: 520px;
    overflow: hidden;
    background: var(--color-black);
}

.home-slider__track,
.home-slide,
.home-slide picture,
.home-slide img {
    width: 100%;
    height: 100%;
}

.home-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 550ms var(--transition-premium);
}

.home-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.home-slide picture,
.home-slide img {
    display: block;
}

.home-slide img {
    object-fit: cover;
}

.home-slide__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.home-slide__overlay--desktop-none {
    background: transparent;
}

.home-slide__overlay--desktop-soft {
    background: rgba(0, 0, 0, 0.28);
}

.home-slide__overlay--desktop-medium {
    background: rgba(0, 0, 0, 0.48);
}

.home-slide__content {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: min(620px, calc(100% - 52px));
    color: var(--color-white);
}

.home-slide__content--desktop {
    display: block;
}

.home-slide__content--mobile {
    display: none;
}

.home-slide__content--left {
    left: max(26px, calc((100vw - 1380px) / 2 + 26px));
    text-align: left;
}

.home-slide__content--center {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.home-slide__content--right {
    right: max(26px, calc((100vw - 1380px) / 2 + 26px));
    text-align: right;
}

.home-slide__content--oscuro {
    color: var(--color-black);
}

.home-slide__content h1 {
    margin: 0 0 16px;
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: 0;
}

.home-slide__content p {
    margin: 0 0 26px;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.55;
}

.home-slide__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 12px;
    padding: 0 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: all 0.25s var(--transition-premium);
}

.home-slide__btn--amarillo {
    background: var(--color-primary);
    color: var(--color-black);
}

.home-slide__btn--negro {
    background: var(--color-black);
    color: var(--color-white);
}

.home-slide__btn--blanco {
    background: var(--color-white);
    color: var(--color-black);
}

.home-slide__btn:hover {
    transform: translateY(-2px);
}

.home-slider__arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.38);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.home-slider__arrow svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-slider[data-arrow-color="amarillo"] .home-slider__arrow {
    color: var(--color-primary);
}

.home-slider[data-arrow-color="negro"] .home-slider__arrow {
    color: #000;
    background: rgba(255, 255, 255, 0.75);
}

.home-slider__arrow:hover {
    background: var(--color-primary);
    color: var(--color-black);
}

.home-slider__arrow--prev {
    left: 24px;
}

.home-slider__arrow--next {
    right: 24px;
}

.home-slider__dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
}

.home-slider__dots button {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.home-slider[data-dot-color="amarillo"] .home-slider__dots button.active {
    background: var(--color-primary);
}

.home-slider[data-dot-color="negro"] .home-slider__dots button.active {
    background: #000;
}

.home-slider[data-dot-color="blanco"] .home-slider__dots button.active {
    background: #fff;
}

.home-slider__dots button.active {
    width: 26px;
}

/*
==========================================================================
2. VALUE PROPOSITIONS STRIP
==========================================================================
*/
.home-features {
    background-color: var(--color-dark);
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home-features__container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 26px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.home-feature-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 10px;
}

.home-feature-card__icon {
    width: 52px;
    height: 52px;
    background-color: rgba(254, 207, 12, 0.08);
    border: 1px solid rgba(254, 207, 12, 0.15);
    border-radius: 12px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.home-feature-card:hover .home-feature-card__icon {
    background-color: var(--color-primary);
    color: var(--color-black);
    transform: scale(1.06) rotate(3deg);
}

.home-feature-card__info h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--color-white);
    font-family: var(--font-heading);
}

.home-feature-card__info p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.55);
}

/*
==========================================================================
3. TOP CATEGORIES Grid
==========================================================================
*/
.home-categories {
    padding: 100px 0;
    background-color: var(--color-white);
}

.home-categories__container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 26px;
}

.home-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px auto;
}

.home-section-header h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

.home-section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 12px auto 0 auto;
    border-radius: 20px;
}

.home-section-header p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-gray);
    margin: 0;
}

.home-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Symmetric grids based on total count */
.home-categories__grid[data-count="2"] {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.home-categories__grid[data-count="6"] {
    grid-template-columns: repeat(3, 1fr);
}

.home-cat-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--transition-premium);
}

.home-cat-card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--transition-premium);
}

.home-cat-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 20px 22px 22px;
    background-color: var(--color-white);
}

.home-cat-card h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.25;
}

.home-cat-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: gap 0.3s ease;
}

.home-cat-card__btn svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Hover effects */
.home-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.home-cat-card:hover .home-cat-card__img {
    transform: scale(1.08);
}

.home-cat-card:hover .home-cat-card__btn {
    gap: 10px;
}

.home-cat-card:hover .home-cat-card__btn svg {
    transform: translateX(4px);
}

/*
==========================================================================
4. FEATURED PRODUCTS GRID
==========================================================================
*/
.home-products {
    padding: 100px 0;
    background-color: var(--color-gray-light);
}

.home-products__container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 26px;
}

.home-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.home-prod-card {
    background-color: var(--color-white);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--transition-premium);
    height: 100%;
}

.home-prod-card__gallery {
    position: relative;
    padding-top: 100%; /* square ratio */
    background-color: #fcfcfd;
    overflow: hidden;
}

.home-prod-card__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.home-prod-card__img-wrapper {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
}

.home-prod-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.home-prod-card__img--hover {
    opacity: 0;
}

.home-prod-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(254, 207, 12, 0.05);
    color: var(--color-black);
    font-size: 26px;
    font-weight: 900;
    border-radius: 8px;
    border: 2px dashed rgba(254, 207, 12, 0.2);
}

.home-prod-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.home-prod-card__badge--offer {
    background-color: var(--color-primary);
    color: var(--color-black);
    box-shadow: 0 4px 10px rgba(254, 207, 12, 0.3);
}

.home-prod-card__badge--soldout {
    background-color: var(--color-black);
    color: var(--color-white);
}

.home-prod-card__details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.home-prod-card__brand {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--color-gray);
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.home-prod-card__title {
    margin: 0 0 12px 0;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 750;
}

.home-prod-card__title a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-prod-card__title a:hover {
    color: rgba(var(--color-primary-rgb), 0.85);
}

.home-prod-card__pricing {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 18px;
}

.home-prod-card__price {
    font-weight: 900;
}

.home-prod-card__price--current {
    font-size: 18px;
    color: var(--color-black);
}

.home-prod-card__price--original {
    font-size: 14px;
    text-decoration: line-through;
    color: var(--color-gray);
}

.home-prod-card__price--call {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.home-prod-card__pricing-tag {
    font-size: 10px;
    background-color: rgba(254, 207, 12, 0.08);
    color: var(--color-black);
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.home-prod-card__actions {
    margin-top: auto;
}

.home-prod-card__btn-cart {
    width: 100%;
    min-height: 44px;
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.home-prod-card__btn-cart svg {
    transition: transform 0.2s ease;
}

.home-prod-card__btn-cart:hover:not(:disabled) {
    background-color: var(--color-primary);
    color: var(--color-black);
}

.home-prod-card__btn-cart:hover:not(:disabled) svg {
    transform: scale(1.1) translateY(-1px);
}

.home-prod-card__btn-cart--disabled {
    background-color: var(--color-gray-light);
    color: var(--color-gray);
    cursor: not-allowed;
}

/* Hover gallery shift */
.home-prod-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 0, 0, 0.08);
}

.home-prod-card:hover .home-prod-card__img--primary {
    opacity: 0;
}

.home-prod-card:hover .home-prod-card__img--hover {
    opacity: 1;
    transform: scale(1.04);
}

.home-products__empty {
    text-align: center;
    padding: 60px;
    background-color: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    color: var(--color-gray);
}

/*
==========================================================================
5. B2B WHOLESALE PROPOSITION CTA
==========================================================================
*/
.home-b2b {
    position: relative;
    padding: 100px 0;
    background: radial-gradient(circle at left, #1e1e24, var(--color-black));
    color: var(--color-white);
    overflow: hidden;
}

.home-b2b::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(254, 207, 12, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(254, 207, 12, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

.home-b2b__container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 26px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.home-b2b__content {
    max-width: 100%;
}

.home-b2b__visual {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #111;
    aspect-ratio: 16/10;
}

.home-b2b__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-b2b__visual:hover .home-b2b__image {
    transform: scale(1.05);
}

.home-b2b__badge {
    display: inline-block;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.home-b2b h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
}

.home-b2b p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 36px 0;
}

.home-b2b p strong {
    color: var(--color-primary);
}

.home-b2b__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/*
==========================================================================
7. CTA REGISTRO MAYORISTA — Fondo blanco animado
==========================================================================
*/
.home-cta-mayorista {
    position: relative;
    padding: 110px 0;
    background-color: var(--color-white);
    color: var(--color-black);
    overflow: hidden;
    text-align: center;
}

.home-cta-mayorista::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 40%, rgba(254, 207, 12, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(254, 207, 12, 0.05) 0%, transparent 50%);
    animation: homeCtaGradient 14s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes homeCtaGradient {
    0%   { transform: translate(0, 0) rotate(0deg); }
    50%  { transform: translate(1.5%, 1%) rotate(1.5deg); }
    100% { transform: translate(-1%, -0.5%) rotate(-1deg); }
}

.home-cta-mayorista__container {
    max-width: 660px;
    margin: 0 auto;
    padding: 0 26px;
    position: relative;
    z-index: 2;
}

.home-cta-mayorista__badge {
    display: inline-block;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.home-cta-mayorista h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 18px 0;
    letter-spacing: -0.01em;
    color: var(--color-black);
}

.home-cta-mayorista p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-gray);
    margin: 0 auto 32px;
    max-width: 520px;
}

.home-cta-mayorista__link-wrap {
    display: flex;
    justify-content: center;
}

.home-cta-mayorista__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    color: var(--color-black);
    text-decoration: none;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 4px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.home-cta-mayorista__link svg {
    transition: transform 0.3s ease;
}

.home-cta-mayorista__link:hover {
    gap: 16px;
    color: var(--color-primary);
}

.home-cta-mayorista__link:hover svg {
    transform: translateX(5px);
}

/* Floating elements */
.home-cta-mayorista__float {
    position: absolute;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

.home-cta-mayorista__float--1 {
    width: 280px;
    height: 280px;
    top: -100px;
    left: -80px;
    animation: homeCtaFloat1 20s ease-in-out infinite;
}

.home-cta-mayorista__float--2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    right: -60px;
    animation: homeCtaFloat2 18s ease-in-out infinite;
}

.home-cta-mayorista__float--3 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 6%;
    animation: homeCtaFloat3 15s ease-in-out infinite;
}

.home-cta-mayorista__float--4 {
    width: 70px;
    height: 70px;
    bottom: 25%;
    left: 4%;
    animation: homeCtaFloat1 16s ease-in-out infinite reverse;
}

.home-cta-mayorista__float--5 {
    width: 50px;
    height: 50px;
    top: 55%;
    left: 12%;
    animation: homeCtaFloat2 12s ease-in-out infinite;
}

@keyframes homeCtaFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(35px, -30px) scale(1.06); }
    66%      { transform: translate(-25px, 20px) scale(0.94); }
}

@keyframes homeCtaFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(20px, -45px); }
}

@keyframes homeCtaFloat3 {
    0%, 100% { transform: scale(1); opacity: 0.06; }
    50%      { transform: scale(1.25); opacity: 0.1; }
}

/*
==========================================================================
6. BRANDS GRID
==========================================================================
*/
.home-brands {
    padding: 32px 0;
    background-color: var(--color-gray-light);
    border-top: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.home-brands__container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 26px;
}

.home-brands__header {
    text-align: center;
    margin-bottom: 40px;
}

.home-brands__header h3 {
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray);
    font-weight: 850;
    margin: 0;
}

.home-brands__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.home-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    max-width: 150px;
    text-decoration: none;
    opacity: 0.45;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.home-brand-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.home-brand-logo span {
    font-size: 16px;
    font-weight: 900;
    color: var(--color-black);
    font-family: var(--font-heading);
}

.home-brand-logo:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

/*
==========================================================================
📱 RESPONSIVE MEDIA QUERIES
==========================================================================
*/

@media (max-width: 1200px) {
    .home-hero {
        min-height: 600px;
    }
    .home-hero__container {
        gap: 40px;
    }
    .home-title {
        font-size: 44px;
    }
    .home-features__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .home-categories__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .home-products__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .home-slider {
        height: 82vh;
        min-height: 620px;
    }
    .home-slide__overlay--mobile-none {
        background: transparent;
    }
    .home-slide__overlay--mobile-soft {
        background: rgba(0, 0, 0, 0.28);
    }
    .home-slide__overlay--mobile-medium {
        background: rgba(0, 0, 0, 0.48);
    }
    .home-slide__content--desktop {
        display: none;
    }
    .home-slide__content--mobile {
        display: block;
        left: 50%;
        width: calc(100% - 40px);
        max-width: 420px;
        transform: translateX(-50%);
        text-align: center;
    }
    .home-slide__content--top {
        top: 72px;
    }
    .home-slide__content--center {
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .home-slide__content--bottom {
        top: auto;
        bottom: 72px;
    }
    .home-slide__content h1 {
        font-size: 34px;
    }
    .home-slide__content p {
        font-size: 15px;
    }
    .home-slider__arrow {
        width: 40px;
        height: 40px;
    }
    .home-slider__arrow svg {
        width: 21px;
        height: 21px;
    }
    .home-slider__arrow--prev {
        left: 12px;
    }
    .home-slider__arrow--next {
        right: 12px;
    }
    .home-hero {
        padding: 80px 0;
        min-height: auto;
    }
    .home-hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .home-hero__actions {
        justify-content: center;
    }
    .home-hero__visual {
        max-width: 400px;
        margin: 0 auto;
    }
    .home-title {
        font-size: 38px;
    }
    .home-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-categories__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    .home-section-header h2 {
        font-size: 32px;
    }
    .home-b2b {
        padding: 80px 0;
    }
    .home-b2b__container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .home-b2b__actions {
        justify-content: center;
    }
    .home-b2b__visual {
        max-width: 500px;
        margin: 0 auto;
    }
    .home-b2b h2 {
        font-size: 34px;
    }
    .home-cta-mayorista {
        padding: 80px 0;
    }
    .home-cta-mayorista h2 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .home-slider {
        min-height: 560px;
    }
    .home-slide__content h1 {
        font-size: 30px;
    }
    .home-slide__btn {
        width: 100%;
    }
    .home-hero {
        padding: 60px 0;
    }
    .home-hero__actions,
    .home-b2b__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
    }
    .home-btn {
        width: 100%;
    }
    .home-features__container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .home-categories__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    .home-categories__grid[data-count="2"] {
        grid-template-columns: 1fr !important;
    }
    .home-cat-card {
        border-radius: 14px;
    }
    .home-cat-card__img {
        aspect-ratio: 4 / 3;
    }
    .home-cat-card__content {
        padding: 12px 14px 14px;
        gap: 4px;
    }
    .home-cat-card h3 {
        font-size: 13px;
    }
    .home-cat-card__btn {
        font-size: 10px;
        gap: 4px;
    }
    .home-cat-card__btn svg {
        width: 12px;
        height: 12px;
    }
    .home-products__grid {
        grid-template-columns: 1fr;
    }
    .home-title {
        font-size: 32px;
    }
    .home-section-header h2 {
        font-size: 26px;
    }
    .home-b2b h2 {
        font-size: 26px;
    }
    .home-cta-mayorista {
        padding: 60px 0;
    }
    .home-cta-mayorista h2 {
        font-size: 26px;
    }
    .home-cta-mayorista p {
        font-size: 15px;
    }
    .home-cta-mayorista__float {
        display: none;
    }
    .home-brands__grid {
        gap: 30px;
    }
}

/*
==========================================================================
⚡ ANIMATIONS
==========================================================================
*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}
