/*
==========================================================================
Global Import & Export S.A. - Home
==========================================================================
*/

:root {
    --home-black: #050505;
    --home-ink: #111111;
    --home-ink-soft: #1b1d21;
    --home-white: #ffffff;
    --home-paper: #f7f8fa;
    --home-line: #e5e7eb;
    --home-line-strong: #cbd5e1;
    --home-muted: #64748b;
    --home-muted-dark: #334155;
    --home-cyan: #0ea5e9;
    --home-cyan-soft: rgba(14, 165, 233, 0.12);
    --home-success: #16a34a;
    --home-danger: #dc2626;
    --font-heading: "Outfit", "Inter", sans-serif;
    --font-body: "Inter", sans-serif;
    --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
    --shadow-dark: 0 28px 70px rgba(0, 0, 0, 0.32);
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

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

.home-page a,
.home-page button {
    -webkit-tap-highlight-color: transparent;
}

/*
==========================================================================
Slider configurable
==========================================================================
*/

.home-slider {
    position: relative;
    height: min(720px, 78vh);
    min-height: 520px;
    overflow: hidden;
    background: var(--home-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);
}

.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,
.home-slide__overlay--mobile-none {
    background: transparent;
}

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

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

.home-slide__content {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: min(640px, calc(100% - 52px));
    color: var(--home-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(--home-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: 10px;
    padding: 0 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.22s var(--transition), background 0.22s ease, color 0.22s ease;
}

.home-slide__btn--celeste,
.home-slide__btn--amarillo {
    background: var(--home-cyan);
    color: var(--home-white);
}

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

.home-slide__btn--blanco {
    background: var(--home-white);
    color: var(--home-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.42);
    color: var(--home-white);
    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="celeste"] .home-slider__arrow,
.home-slider[data-arrow-color="amarillo"] .home-slider__arrow {
    color: var(--home-cyan);
}

.home-slider[data-arrow-color="negro"] .home-slider__arrow {
    color: var(--home-black);
    background: rgba(255, 255, 255, 0.82);
}

.home-slider__arrow:hover {
    background: var(--home-cyan);
    color: var(--home-white);
}

.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="celeste"] .home-slider__dots button.active,
.home-slider[data-dot-color="amarillo"] .home-slider__dots button.active {
    background: var(--home-cyan);
}

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

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

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

/*
==========================================================================
Hero fallback
==========================================================================
*/

.home-hero {
    position: relative;
    min-height: min(760px, calc(100vh - 92px));
    display: flex;
    align-items: center;
    padding: 92px 0 96px;
    color: var(--home-white);
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.72)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.66)),
        url("/uploads/images/home-global-planet.png") center center / cover no-repeat;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 48%, rgba(14, 165, 233, 0.1), transparent 30%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
    pointer-events: none;
}

.home-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--home-cyan), transparent);
}

.home-hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.home-hero__content {
    max-width: 780px;
}

.home-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    padding: 0 14px;
    margin-bottom: 26px;
    border: 1px solid rgba(14, 165, 233, 0.45);
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.08);
    color: #bae6fd;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-badge__dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--home-cyan);
    box-shadow: 0 0 18px rgba(14, 165, 233, 0.9);
}

.home-title {
    margin: 0;
    font-family: var(--font-heading);
    max-width: 760px;
    font-size: clamp(48px, 6vw, 86px);
    font-weight: 950;
    line-height: 0.96;
    letter-spacing: 0;
    color: var(--home-white);
    text-shadow: 0 22px 60px rgba(0, 0, 0, 0.65);
}

.home-subtitle {
    max-width: 700px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
    line-height: 1.75;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.22s var(--transition), background 0.22s ease, border 0.22s ease, color 0.22s ease;
}

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

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

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

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

.home-btn--secondary:hover {
    border-color: var(--home-cyan);
    background: rgba(14, 165, 233, 0.12);
}

/*
==========================================================================
Resumen corporativo
==========================================================================
*/

.home-intro {
    padding: 62px 0;
    background: var(--home-black);
    color: var(--home-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-intro__container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: 36px;
    align-items: center;
}

.home-intro__content span {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--home-cyan);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-intro__content h2 {
    max-width: 720px;
    margin: 0 0 16px;
    font-family: var(--font-heading);
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.08;
    font-weight: 950;
}

.home-intro__content p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.7;
}

.home-intro__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-intro__metrics div {
    min-height: 122px;
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
}

.home-intro__metrics strong {
    display: block;
    margin-bottom: 8px;
    color: var(--home-white);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 950;
}

.home-intro__metrics span {
    display: block;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/*
==========================================================================
Marcas
==========================================================================
*/

.home-brands {
    padding: 42px 0;
    background: var(--home-white);
    border-bottom: 1px solid var(--home-line);
}

.home-brands__container,
.home-features__container,
.home-categories__container,
.home-products__container,
.home-b2b__container,
.home-cta-mayorista__container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 26px;
}

.home-brands__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    text-align: center;
}

.home-brands__header span,
.home-section-header span,
.home-b2b__badge,
.home-cta-mayorista__badge {
    display: inline-flex;
    color: var(--home-cyan);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-brands__header h2 {
    max-width: 620px;
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.1;
}

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

.home-brand-logo {
    min-height: 64px;
    min-width: 168px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
    border: 1px solid var(--home-line);
    border-radius: 10px;
    background: var(--home-paper);
    text-decoration: none;
    filter: grayscale(1);
    opacity: 0.8;
    transition: all 0.22s ease;
}

.home-brand-logo:hover {
    transform: translateY(-3px);
    filter: grayscale(0);
    opacity: 1;
    border-color: rgba(14, 165, 233, 0.45);
    background: var(--home-white);
}

.home-brand-logo img {
    max-width: 132px;
    max-height: 42px;
    object-fit: contain;
}

.home-brand-logo span {
    color: var(--home-ink);
    font-weight: 950;
    text-align: center;
}

/*
==========================================================================
Beneficios
==========================================================================
*/

.home-features {
    padding: 34px 0;
    background: var(--home-black);
}

.home-features__container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    overflow: hidden;
}

.home-feature-card {
    min-height: 154px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: #0b0b0c;
}

.home-feature-card__icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--home-cyan);
    border: 1px solid rgba(14, 165, 233, 0.35);
    background: rgba(14, 165, 233, 0.08);
}

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

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

/*
==========================================================================
Secciones dinamicas
==========================================================================
*/

.home-categories,
.home-products {
    padding: 96px 0;
}

.home-categories {
    background: var(--home-white);
}

.home-products {
    background: var(--home-paper);
}

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

.home-section-header h2 {
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: 0;
}

.home-section-header h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: var(--home-cyan);
}

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

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

.home-categories__grid[data-count="2"] {
    max-width: 880px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
}

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

.home-cat-card {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 12px;
    background: var(--home-white);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.28s var(--transition), box-shadow 0.28s ease, border 0.28s ease;
}

.home-cat-card__img {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.05), transparent),
        #fbfcfd;
}

.home-cat-card__img img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    display: block;
    filter: grayscale(0.06);
    transition: transform 0.5s var(--transition), filter 0.3s ease;
}

.home-cat-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.home-cat-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    color: var(--home-ink);
    font-size: 19px;
    line-height: 1.2;
    font-weight: 950;
}

.home-cat-card p {
    margin: 0 0 18px;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.55;
}

.home-cat-card__btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--home-cyan);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-cat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.42);
    box-shadow: var(--shadow-soft);
}

.home-cat-card:hover .home-cat-card__img img {
    transform: scale(1.06);
    filter: grayscale(0);
}

.home-no-cats {
    grid-column: 1 / -1;
    margin: 0;
    padding: 44px;
    text-align: center;
    color: var(--home-muted);
    border: 1px dashed var(--home-line-strong);
    border-radius: 12px;
}

/*
==========================================================================
Productos
==========================================================================
*/

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

.home-prod-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 12px;
    background: var(--home-white);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    transition: transform 0.28s var(--transition), box-shadow 0.28s ease, border 0.28s ease;
}

.home-prod-card__gallery {
    position: relative;
    padding-top: 88%;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.06), transparent),
        #fbfcfd;
    overflow: hidden;
}

.home-prod-card__link,
.home-prod-card__img-wrapper {
    position: absolute;
    inset: 0;
}

.home-prod-card__img-wrapper {
    inset: 10%;
}

.home-prod-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.34s var(--transition);
}

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

.home-prod-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.42);
    box-shadow: var(--shadow-soft);
}

.home-prod-card:hover .home-prod-card__img--primary {
    transform: scale(1.035);
}

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

.home-prod-card__badge {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.07em;
}

.home-prod-card__badge--offer {
    background: var(--home-cyan);
    color: var(--home-white);
}

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

.home-prod-card__details {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px;
    border-top: 1px solid var(--home-line);
}

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

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

.home-prod-card__title a {
    color: var(--home-ink);
    text-decoration: none;
}

.home-prod-card__title a:hover {
    color: var(--home-cyan);
}

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

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

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

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

.home-prod-card__price--call {
    color: var(--home-muted-dark);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-prod-card__pricing-tag {
    padding: 4px 7px;
    border-radius: 999px;
    background: var(--home-cyan-soft);
    color: #0369a1;
    font-size: 10px;
    font-weight: 900;
}

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

.home-prod-card__btn-cart:hover:not(:disabled) {
    transform: translateY(-2px);
    background: var(--home-cyan);
}

.home-prod-card__btn-cart--disabled {
    cursor: not-allowed;
    background: #e5e7eb;
    color: var(--home-muted);
}

.home-products__empty {
    padding: 48px;
    border: 1px dashed var(--home-line-strong);
    border-radius: 12px;
    background: var(--home-white);
    text-align: center;
    color: var(--home-muted);
}

/*
==========================================================================
B2B
==========================================================================
*/

.home-b2b {
    position: relative;
    padding: 104px 0;
    overflow: hidden;
    background: var(--home-black);
    color: var(--home-white);
}

.home-b2b::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.48;
}

.home-b2b__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
    gap: 56px;
    align-items: center;
}

.home-b2b h2 {
    max-width: 780px;
    margin: 14px 0 18px;
    font-family: var(--font-heading);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 950;
}

.home-b2b p {
    max-width: 700px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.72;
}

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

.home-b2b__visual {
    position: relative;
}

.home-b2b__diagram {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow-dark);
}

.home-b2b__diagram div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
    padding: 0 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--home-black);
}

.home-b2b__diagram span {
    color: var(--home-cyan);
    font-weight: 950;
}

.home-b2b__diagram strong {
    font-family: var(--font-heading);
    font-size: 20px;
}

/*
==========================================================================
CTA
==========================================================================
*/

.home-cta-mayorista {
    position: relative;
    padding: 98px 0;
    overflow: hidden;
    color: var(--home-black);
    background:
        linear-gradient(90deg, rgba(14, 165, 233, 0.07), transparent 34%),
        var(--home-white);
    text-align: center;
}

.home-cta-mayorista__container {
    max-width: 760px;
}

.home-cta-mayorista h2 {
    margin: 14px 0 18px;
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 950;
}

.home-cta-mayorista p {
    margin: 0 auto 30px;
    max-width: 620px;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.7;
}

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

.home-cta-mayorista__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    background: var(--home-black);
    color: var(--home-white);
    text-decoration: none;
    font-weight: 950;
    transition: background 0.22s ease, transform 0.22s var(--transition);
}

.home-cta-mayorista__link:hover {
    transform: translateY(-2px);
    background: var(--home-cyan);
}

.home-cta-mayorista__float {
    display: none;
}

/*
==========================================================================
Reveals and animations
==========================================================================
*/

@keyframes homeWorldSpin {
    to {
        background-position: 180px 0, 0 0;
    }
}

@keyframes homeSpin {
    to {
        transform: rotate(360deg);
    }
}

.home-spin {
    animation: homeSpin 1s linear infinite;
    display: inline-block;
}

/*
==========================================================================
Responsive
==========================================================================
*/

@media (max-width: 1200px) {
    .home-hero__container,
    .home-b2b__container {
        gap: 42px;
    }

    .home-features__container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .home-products__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .home-slider {
        height: 82vh;
        min-height: 620px;
    }

    .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-hero {
        min-height: auto;
        padding: 78px 0 72px;
    }

    .home-b2b__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-hero__content {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .home-b2b p,
    .home-b2b h2 {
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero__actions,
    .home-b2b__actions {
        justify-content: center;
    }

    .home-intro__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-intro__content h2,
    .home-intro__content p {
        margin-left: auto;
        margin-right: auto;
    }

    .home-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-slider {
        min-height: 560px;
    }

    .home-slider__arrow {
        width: 40px;
        height: 40px;
    }

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

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

    .home-hero,
    .home-intro,
    .home-categories,
    .home-products,
    .home-b2b,
    .home-cta-mayorista {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .home-hero__container,
    .home-intro__container,
    .home-brands__container,
    .home-features__container,
    .home-categories__container,
    .home-products__container,
    .home-b2b__container,
    .home-cta-mayorista__container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-title {
        font-size: 38px;
    }

    .home-subtitle {
        font-size: 15px;
    }

    .home-hero__actions,
    .home-b2b__actions {
        flex-direction: column;
    }

    .home-btn,
    .home-cta-mayorista__link {
        width: 100%;
    }

    .home-intro__metrics,
    .home-features__container,
    .home-categories__grid,
    .home-products__grid {
        grid-template-columns: 1fr !important;
    }

    .home-feature-card {
        min-height: auto;
    }

    .home-brands__grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-brand-logo {
        width: 100%;
    }

    .home-cat-card__img {
        min-height: 180px;
    }

    .home-cat-card__img img {
        height: 150px;
    }
}
