.home-hero { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; background: linear-gradient(145deg, #f7f9fc 0%, #edf2fb 100%); overflow: hidden; }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr); align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.home-hero__content { position: relative; z-index: 2; }
.home-hero__content p { max-width: 45rem; color: var(--zl-muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.home-hero__visual { position: relative; min-height: clamp(24rem, 45vw, 35rem); display: grid; place-items: center; }
.home-hero__visual img { position: relative; z-index: 2; width: min(76%, 25rem); filter: drop-shadow(0 2rem 2rem rgba(16,40,95,.18)); }
.home-hero__orbit { position: absolute; inset: 8%; border: 1px solid rgba(31,70,148,.23); border-radius: 50%; }
.home-hero__orbit::before, .home-hero__orbit::after { position: absolute; content: ''; border: 1px solid rgba(31,70,148,.14); border-radius: 50%; }
.home-hero__orbit::before { inset: 12%; }
.home-hero__orbit::after { inset: 24%; }
.home-hero__label { position: absolute; z-index: 3; padding: .5rem .75rem; color: var(--zl-blue-900); background: rgba(255,255,255,.88); border: 1px solid var(--zl-border); border-radius: 999px; box-shadow: 0 .5rem 1.5rem rgba(16,40,95,.09); font-size: .78rem; font-weight: 750; }
.home-hero__label--one { top: 15%; left: 1%; }
.home-hero__label--two { top: 42%; right: 0; }
.home-hero__label--three { right: 12%; bottom: 11%; }
.home-path-card { display: flex; flex-direction: column; }
.home-path-card .content-card__link { margin-top: auto; padding-top: 1rem; }
.home-brand-composition { min-height: 25rem; position: relative; display: grid; place-items: center; background: var(--zl-blue-950); border-radius: var(--zl-radius-lg); overflow: hidden; }
.home-brand-composition::before { width: 16rem; height: 16rem; content: ''; border: 3rem solid rgba(255,255,255,.08); transform: rotate(45deg); }
.home-brand-composition span { position: absolute; padding: .7rem 1rem; color: #fff; background: var(--zl-blue-700); border-radius: 999px; font-weight: 700; }
.home-brand-composition span:nth-child(1) { top: 16%; left: 9%; }
.home-brand-composition span:nth-child(2) { top: 44%; right: 8%; }
.home-brand-composition span:nth-child(3) { bottom: 13%; left: 18%; }
.home-units { display: grid; border-top: 1px solid rgba(255,255,255,.16); }
.home-units a { min-height: 5.4rem; display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 1rem; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.16); }
.home-units a:hover, .home-units a:focus-visible { padding-inline: 1rem; background: rgba(255,255,255,.05); }
.home-units span { color: #8ea7d3; font-size: .8rem; font-weight: 750; }
.home-units b { font-size: 1.4rem; }
.home-product-card { min-height: 26rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--zl-radius-lg); overflow: hidden; }
.home-product-card h2 { max-width: 32rem; }
.home-product-card p { max-width: 34rem; }
.home-product-card .button { margin-top: 1rem; }
.home-product-card--software { color: #d7e1f3; background: linear-gradient(145deg, var(--zl-blue-950), var(--zl-blue-700)); }
.home-product-card--software h2 { color: #fff; }
.home-product-card--software .eyebrow { color: #c4d3ef; }
.home-product-card--store { background: var(--zl-blue-50); border: 1px solid var(--zl-border); }

@media (max-width: 64rem) {
    .home-hero__grid { grid-template-columns: 1fr; }
    .home-hero__visual { min-height: 24rem; }
}
@media (max-width: 36rem) {
    .home-hero__label { display: none; }
    .home-hero__visual { min-height: 18rem; }
}

/* =======================================================
   HOME SLIDER DYNAMIC STYLES
   ======================================================= */
.home-slider {
    position: relative;
    height: min(680px, 75vh);
    min-height: 480px;
    overflow: hidden;
    background: #060d1d;
}

.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 0.6s ease;
}

.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.35); }
.home-slide__overlay--desktop-medium { background: rgba(0, 0, 0, 0.6); }

.home-slide__link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
}
.home-slide__link--desktop { display: block; }
.home-slide__link--mobile { display: none; }
@media (max-width: 768px) {
    .home-slide__link--desktop { display: none; }
    .home-slide__link--mobile { display: block; }
}

.home-slide__content {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: min(640px, calc(100% - 3rem));
    color: #ffffff;
}

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

.home-slide__content--v-top {
    top: 15%;
    bottom: auto;
    transform: none;
}
.home-slide__content--v-top.home-slide__content--center {
    transform: translateX(-50%);
}

.home-slide__content--v-bottom {
    top: auto;
    bottom: 15%;
    transform: none;
}
.home-slide__content--v-bottom.home-slide__content--center {
    transform: translateX(-50%);
}

.home-slide__content--v-center {
    top: 50%;
    transform: translateY(-50%);
}
.home-slide__content--v-center.home-slide__content--center {
    transform: translate(-50%, -50%);
}

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

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

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

.home-slide__content--oscuro {
    color: #0f172a;
}

.home-slide__btn-wrap {
    display: flex;
    width: 100%;
}
.home-slide__btn-wrap--left { justify-content: flex-start; }
.home-slide__btn-wrap--center { justify-content: center; }
.home-slide__btn-wrap--right { justify-content: flex-end; }
.home-slide__btn-wrap--full .home-slide__btn { width: 100%; justify-content: center; }

.home-slide__content h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 850;
    line-height: 1.1;
}

.home-slide__content p {
    margin: 0 0 1.5rem;
    font-size: clamp(0.95rem, 1.25vw, 1.15rem);
    line-height: 1.5;
    opacity: 0.92;
}

.home-slide__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 0.5rem;
    padding: 0 1.75rem;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 750;
    transition: transform 0.2s ease, filter 0.2s ease;
}

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

.home-slide__btn--amarillo { background: #eab308; color: #000000; }
.home-slide__btn--negro { background: #000000; color: #ffffff; }
.home-slide__btn--blanco { background: #ffffff; color: #000000; }

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

.home-slider__arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

.home-slider__arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

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

.home-slider__arrow--prev { left: 1.5rem; }
.home-slider__arrow--next { right: 1.5rem; }

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

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

.home-slider__dots button.active {
    width: 24px;
    background: #ffffff;
}

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

@media (max-width: 768px) {
    .home-slider {
        height: min(600px, 85vh);
    }
    .home-slide__content--desktop { display: none; }
    .home-slide__content--mobile { display: block; }
    .home-slide__content--top { top: 25%; transform: translateY(-25%); }
    .home-slide__content--bottom { top: 75%; transform: translateY(-75%); }
    .home-slider__arrow { display: none; }
}

/* =======================================================
   HOME CATEGORIAS DESTACADAS (ESTILO CANÓNICO DICOSUMI)
   ======================================================= */
.home-populares__header {
    text-align: center;
    max-width: 50rem;
    margin-inline: auto;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
.home-populares__header h2 {
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 900;
    color: #050505;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.15;
}
.home-populares__divider {
    display: block;
    width: 3.25rem;
    height: 3.5px;
    background: var(--primary, #1f4694);
    border-radius: 999px;
    margin: 0.85rem auto 1rem;
}
.home-populares__header p {
    margin: 0;
    color: #64748b;
    font-size: clamp(0.88rem, 1.8vw, 0.98rem);
    line-height: 1.6;
}

.cats-grid,
.home-categorias__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
    margin-top: clamp(1rem, 2vw, 1.5rem) !important;
    margin-bottom: 2rem !important;
}

@media (max-width: 1024px) {
    .cats-grid,
    .home-categorias__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1.25rem !important;
    }
}

@media (max-width: 640px) {
    .cats-grid,
    .home-categorias__grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

.home-cat-card,
.cat-card {
    border: 1px solid #ebebeb;
    border-radius: 1rem;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.home-cat-card:hover,
.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--primary, #1f4694);
}

.home-cat-card .cat-card__media,
.cat-card .cat-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #060d1d;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #f0f0ee;
    padding: 0;
}

.home-cat-card .cat-card__media img,
.cat-card .cat-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-cat-card:hover .cat-card__media img,
.cat-card:hover .cat-card__media img {
    transform: scale(1.09);
}

.cat-card__placeholder {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 30%, rgba(31, 70, 148, 0.55) 0%, rgba(10, 24, 50, 0.95) 70%),
        linear-gradient(180deg, #0a1733 0%, #060d1d 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.cat-card__placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #1f4694, #38bdf8, #1f4694);
}

.cat-card__placeholder-badge {
    position: absolute;
    top: 0.85rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
}

.cat-card__placeholder-icon {
    color: #60a5fa;
    margin-bottom: 0.55rem;
    filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.45));
    transition: transform 0.3s ease;
}

.home-cat-card:hover .cat-card__placeholder-icon {
    transform: scale(1.12);
}

.cat-card__placeholder-title {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.cat-card__placeholder-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.04em;
}

.home-cat-card .cat-card__body,
.cat-card .cat-card__body {
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
}

.home-cat-card .cat-card__name,
.cat-card .cat-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111111;
    text-align: center;
    line-height: 1.35;
    margin: 0;
    transition: color 0.2s ease;
}

.home-cat-card:hover .cat-card__name,
.cat-card:hover .cat-card__name {
    color: var(--primary, #1f4694);
}

.home-categories-section {
    padding-top: clamp(2.5rem, 4vw, 3.5rem) !important;
    padding-bottom: clamp(2.5rem, 4vw, 3.5rem) !important;
}

.home-populares__action {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.home-cat-button {
    background: var(--primary, #1f4694) !important;
    color: #ffffff !important;
    padding: 0.85rem 2.25rem !important;
    font-size: 0.95rem !important;
    font-weight: 750 !important;
    border-radius: 0.5rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    box-shadow: 0 4px 14px rgba(31, 70, 148, 0.22) !important;
    transition: all 0.2s ease !important;
}

.home-cat-button:hover {
    background: #10285f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(31, 70, 148, 0.3) !important;
}

/* =======================================================
   HOME PRODUCTOS POPULARES Y ADICIONALES (4 COLUMNAS DESKTOP ESTILO TIENDA)
   ======================================================= */
.home-popular-products-grid,
.home-additional-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 0;
}

.home-popular-products-grid .product-card,
.home-additional-products-grid .product-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.home-popular-products-grid .product-card:hover,
.home-additional-products-grid .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.09);
    border-color: #cbd5e1;
}

.home-popular-products-grid .product-card__media,
.home-additional-products-grid .product-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem;
    text-decoration: none;
}

.home-popular-products-grid .product-card__media img,
.home-additional-products-grid .product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.04));
}

.home-popular-products-grid .product-card:hover .product-card__media img,
.home-additional-products-grid .product-card:hover .product-card__media img {
    transform: scale(1.05);
}

.home-popular-products-grid .product-card__media .placeholder,
.home-additional-products-grid .product-card__media .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 600;
    gap: 0.4rem;
    background: #fafafa;
    border-radius: 0.5rem;
}

.home-popular-products-grid .product-card__media .placeholder svg,
.home-additional-products-grid .product-card__media .placeholder svg {
    width: 2.5rem;
    height: 2.5rem;
    opacity: 0.6;
}

.home-popular-products-grid .product-card__badge,
.home-additional-products-grid .product-card__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.home-popular-products-grid .product-card__badge.out-stock,
.home-additional-products-grid .product-card__badge.out-stock {
    background: #ffe4e6;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.home-popular-products-grid .product-card__badge.offer,
.home-additional-products-grid .product-card__badge.offer {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.home-popular-products-grid .product-card__badge.presale,
.home-additional-products-grid .product-card__badge.presale {
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.home-popular-products-grid .product-card__body,
.home-additional-products-grid .product-card__body {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex-grow: 1;
}

.home-popular-products-grid .product-card__name,
.home-additional-products-grid .product-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7rem;
}

.home-popular-products-grid .product-card__name a,
.home-additional-products-grid .product-card__name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.home-popular-products-grid .product-card__name a:hover,
.home-additional-products-grid .product-card__name a:hover {
    color: var(--primary, #1f4694);
}

.home-popular-products-grid .product-card__pricing,
.home-additional-products-grid .product-card__pricing {
    padding-top: 0.65rem;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.home-popular-products-grid .product-card__price,
.home-additional-products-grid .product-card__price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.home-popular-products-grid .product-card__price-old,
.home-additional-products-grid .product-card__price-old {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 0.4rem;
}

.home-popular-products-grid .product-card__tier-badge,
.home-additional-products-grid .product-card__tier-badge {
    display: inline-block;
    width: fit-content;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
}

.home-popular-products-grid .product-card__actions,
.home-additional-products-grid .product-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.45rem;
}

.home-popular-products-grid .product-card__actions .btn,
.home-additional-products-grid .product-card__actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 40px;
    box-sizing: border-box;
}

.home-popular-products-grid .product-card__actions .btn-primary,
.home-additional-products-grid .product-card__actions .btn-primary {
    background: var(--primary, #1f4694);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(31, 70, 148, 0.18);
}

.home-popular-products-grid .product-card__actions .btn-primary:hover,
.home-additional-products-grid .product-card__actions .btn-primary:hover {
    background: #10285f;
    transform: translateY(-1px);
}

.home-popular-products-grid .product-card__actions .btn-outline,
.home-additional-products-grid .product-card__actions .btn-outline {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #334155;
}

.home-popular-products-grid .product-card__actions .btn-outline:hover,
.home-additional-products-grid .product-card__actions .btn-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.home-popular-products-grid .product-card__actions .btn-whatsapp,
.home-additional-products-grid .product-card__actions .btn-whatsapp {
    background: #25d366;
    color: #ffffff;
}

.home-popular-products-grid .product-card__actions .btn-whatsapp:hover,
.home-additional-products-grid .product-card__actions .btn-whatsapp:hover {
    background: #1faf54;
}

@media (max-width: 1024px) {
    .home-popular-products-grid,
    .home-additional-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .home-popular-products-grid,
    .home-additional-products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ==========================================================================
   SECCIÓN 2: 3D SLIDER TECNOLOGÍA E INGENIERÍA (FONDO BLANCO / LIMPIO)
   ========================================================================== */
.home-tech3d-section {
    position: relative;
    background: #ffffff;
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
    color: #0f172a;
    border: none;
    box-shadow: none;
}

.home-tech3d-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3.5rem;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.home-tech3d-title {
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.home-tech3d-divider {
    width: 75px;
    height: 4px;
    background: linear-gradient(90deg, #1f4694, #0284c7);
    margin: 0 auto 1.25rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(31, 70, 148, 0.25);
}

.home-tech3d-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* 3D Carousel Stage */
.home-tech3d-carousel {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 1rem 0;
    z-index: 2;
}

.home-tech3d-stage {
    position: relative;
    width: 100%;
    height: 345px;
    perspective: 1200px;
    perspective-origin: 50% 50%;
    overflow: visible;
}

.home-tech3d-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* 3D Cards */
.home-tech3d-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 380px;
    max-width: 88vw;
    height: 335px;
    margin-left: -190px;
    border-radius: 20px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08), 0 0 1px 1px rgba(0, 0, 0, 0.03);
    transform-style: preserve-3d;
    transform-origin: center center;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease, filter 0.6s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    user-select: none;
}

/* 3D Positional States Computed by JS */
/* Center card */
.home-tech3d-card[data-pos="0"] {
    transform: translate3d(0, 0, 60px) scale(1);
    opacity: 1;
    z-index: 10;
    filter: brightness(1);
    pointer-events: auto;
    background: #ffffff;
    border-color: #1f4694;
    box-shadow: 0 25px 50px -12px rgba(31, 70, 148, 0.22), 0 0 0 1px #1f4694;
}

/* Right card (+1) */
.home-tech3d-card[data-pos="1"] {
    transform: translate3d(330px, 0, -100px) rotateY(-26deg) scale(0.86);
    opacity: 0.78;
    z-index: 5;
    filter: brightness(0.97);
    cursor: pointer;
    pointer-events: auto;
    background: #f8fafc;
    border-color: #e2e8f0;
}

/* Left card (-1) */
.home-tech3d-card[data-pos="-1"] {
    transform: translate3d(-330px, 0, -100px) rotateY(26deg) scale(0.86);
    opacity: 0.78;
    z-index: 5;
    filter: brightness(0.97);
    cursor: pointer;
    pointer-events: auto;
    background: #f8fafc;
    border-color: #e2e8f0;
}

/* Far right (+2 and beyond) */
.home-tech3d-card[data-pos="2"],
.home-tech3d-card[data-pos="3"],
.home-tech3d-card[data-pos="4"] {
    transform: translate3d(550px, 0, -280px) rotateY(-45deg) scale(0.65);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* Far left (-2 and beyond) */
.home-tech3d-card[data-pos="-2"],
.home-tech3d-card[data-pos="-3"],
.home-tech3d-card[data-pos="-4"] {
    transform: translate3d(-550px, 0, -280px) rotateY(45deg) scale(0.65);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* Card Inner */
.home-tech3d-card__inner {
    padding: 1.6rem 1.6rem 1.35rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Título de la Card Centrado y en 2 Líneas */
.home-tech3d-card__title {
    font-size: 1.32rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 auto 0.7rem;
    text-align: center;
    max-width: 280px;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Resumen centrado */
.home-tech3d-card__desc {
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.48;
    margin: 0 0 0.9rem;
    min-height: 3.2rem;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 4 Etiquetas simétricas ancho completo (grid 2x2) */
.home-tech3d-card__tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    width: 100%;
    margin-bottom: 0.95rem;
}

.home-tech3d-card__tag {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(0.68rem, 2vw, 0.74rem);
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 0.4rem 0.35rem;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Botón directo sin espacio excesivo */
.home-tech3d-card__action {
    margin-top: 0;
}

.home-tech3d-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1.5px solid #1f4694;
    color: #1f4694;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.home-tech3d-card__btn:hover {
    background: #1f4694;
    border-color: #1f4694;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(31, 70, 148, 0.3);
    transform: translateY(-2px);
}

/* Navigation buttons (Arrows) */
.home-tech3d-nav {
    position: absolute;
    top: 168px;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #1f4694;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.home-tech3d-nav:hover {
    background: #1f4694;
    border-color: #1f4694;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(31, 70, 148, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.home-tech3d-nav--prev {
    left: 20px;
}

.home-tech3d-nav--next {
    right: 20px;
}

/* CTA Button below Slider */
.home-tech3d-cta-wrap {
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: 1rem;
}

.home-tech3d-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 1.1rem 2.6rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #10285f 0%, #1f4694 50%, #0284c7 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(31, 70, 148, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.home-tech3d-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.home-tech3d-cta-button:hover::before {
    left: 100%;
}

.home-tech3d-cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(31, 70, 148, 0.45);
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .home-tech3d-card[data-pos="1"] {
        transform: translate3d(270px, 0, -100px) rotateY(-24deg) scale(0.85);
    }
    .home-tech3d-card[data-pos="-1"] {
        transform: translate3d(-270px, 0, -100px) rotateY(24deg) scale(0.85);
    }
}

@media (max-width: 991px) {
    .home-tech3d-stage {
        height: 350px;
    }
    .home-tech3d-card {
        width: 340px;
        height: 340px;
        margin-left: -170px;
    }
    .home-tech3d-card[data-pos="1"] {
        transform: translate3d(210px, 0, -120px) rotateY(-22deg) scale(0.82);
    }
    .home-tech3d-card[data-pos="-1"] {
        transform: translate3d(-210px, 0, -120px) rotateY(22deg) scale(0.82);
    }
    .home-tech3d-nav {
        top: 170px;
    }
    .home-tech3d-nav--prev {
        left: 5px;
    }
    .home-tech3d-nav--next {
        right: 5px;
    }
}

@media (max-width: 767px) {
    .home-tech3d-section {
        padding: 2.75rem 0 3rem;
    }
    .home-tech3d-header {
        margin-bottom: 1.75rem;
    }
    .home-tech3d-stage {
        height: 285px;
        perspective: none;
    }
    .home-tech3d-card {
        width: calc(100% - 96px);
        max-width: 310px;
        height: auto;
        min-height: 0;
        margin-left: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .home-tech3d-card__inner {
        padding: 1.25rem 1.15rem;
        height: auto;
    }
    .home-tech3d-card__title {
        font-size: 1.15rem;
        max-width: 250px;
        min-height: 2.5em;
        margin-bottom: 0.6rem;
    }
    .home-tech3d-card__desc {
        font-size: 0.82rem;
        line-height: 1.4;
        min-height: 2.8rem;
        margin-bottom: 0.75rem;
    }
    .home-tech3d-card__tags {
        gap: 0.35rem;
        margin-bottom: 0.75rem;
    }
    .home-tech3d-card__tag {
        font-size: 0.68rem;
        padding: 0.35rem 0.2rem;
    }
    .home-tech3d-card__action {
        margin-top: 0;
    }
    .home-tech3d-card__btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
    .home-tech3d-card[data-pos="0"] {
        transform: translateX(-50%) scale(1);
        opacity: 1;
        z-index: 10;
        pointer-events: auto;
    }
    .home-tech3d-card[data-pos="1"],
    .home-tech3d-card[data-pos="2"],
    .home-tech3d-card[data-pos="3"],
    .home-tech3d-card[data-pos="4"] {
        transform: translateX(120%) scale(0.85);
        opacity: 0;
        pointer-events: none;
        z-index: 1;
    }
    .home-tech3d-card[data-pos="-1"],
    .home-tech3d-card[data-pos="-2"],
    .home-tech3d-card[data-pos="-3"],
    .home-tech3d-card[data-pos="-4"] {
        transform: translateX(-220%) scale(0.85);
        opacity: 0;
        pointer-events: none;
        z-index: 1;
    }
    .home-tech3d-nav {
        width: 38px;
        height: 38px;
        top: 50%;
        transform: translateY(-50%);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    .home-tech3d-nav svg {
        width: 18px;
        height: 18px;
    }
    .home-tech3d-nav--prev {
        left: 2px;
    }
    .home-tech3d-nav--next {
        right: 2px;
    }
    .home-tech3d-cta-wrap {
        margin-top: 0.75rem;
    }
    .home-tech3d-cta-button {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.92rem;
    }
}

/* Sección de Productos Destacados en fondo blanco limpio */
.home-additional-products-section {
    background-color: #ffffff !important;
}

/* ==========================================================================
   SECCIÓN MARCAS Y ALIADOS TECNOLÓGICOS (MARQUEE INFINITO - OPCIÓN A)
   ========================================================================== */
.home-partners-section {
    background: #ffffff !important;
    border-top: none !important;
    border-bottom: none !important;
    padding: 1.25rem 0 1.75rem 0 !important;
    overflow: hidden;
}

.home-partners__header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 1.35rem auto;
    padding: 0 1rem;
}

.home-partners__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.28rem 0.8rem;
    border-radius: 9999px;
    background: rgba(11, 75, 216, 0.08);
    border: 1px solid rgba(11, 75, 216, 0.16);
    color: #0b4bd8;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.home-partners__badge svg {
    color: #0b4bd8;
}

.home-partners__title {
    font-size: clamp(1.65rem, 2.8vw, 2.15rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 0.45rem 0;
}

.home-partners__divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #0b4bd8, #38bdf8);
    border-radius: 9999px;
    margin: 0 auto 0.65rem auto;
}

.home-partners__subtitle {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.home-partners-marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.home-partners-row {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
}

.home-partners-track {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    width: max-content;
    will-change: transform;
}

.home-partners-track:hover {
    animation-play-state: paused;
}

.home-partners-track--left {
    animation: marquee-scroll-left 42s linear infinite;
}

.home-partners-track--right {
    animation: marquee-scroll-right 46s linear infinite;
}

@keyframes marquee-scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 0.575rem));
    }
}

@keyframes marquee-scroll-right {
    0% {
        transform: translateX(calc(-50% - 0.575rem));
    }
    100% {
        transform: translateX(0);
    }
}

.home-partner-card {
    flex-shrink: 0;
    width: 175px;
    height: 74px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.15rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.25s ease;
    cursor: default;
    user-select: none;
}

.home-partner-card:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(11, 75, 216, 0.4);
    box-shadow: 0 10px 20px rgba(11, 75, 216, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.home-partner-card__img {
    max-height: 42px;
    max-width: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.04));
    display: block;
}

.home-partner-card:hover .home-partner-card__img {
    transform: scale(1.04);
}

/* Ajuste de proximidad fluida para Productos Populares bajo las marcas */
.home-populares-section {
    padding-top: clamp(2rem, 3.5vw, 3rem) !important;
}

@media (max-width: 768px) {
    .home-partners-section {
        padding: 1rem 0 1.5rem 0 !important;
    }
    .home-partners__header {
        margin-bottom: 1rem;
    }
    .home-populares-section {
        padding-top: 1.75rem !important;
    }
    .home-partners-marquee-container {
        gap: 0.65rem;
        mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
    }
    .home-partners-track {
        gap: 0.75rem;
    }
    .home-partners-track--left {
        animation-duration: 30s;
    }
    .home-partners-track--right {
        animation-duration: 33s;
    }
    @keyframes marquee-scroll-left {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50% - 0.375rem)); }
    }
    @keyframes marquee-scroll-right {
        0% { transform: translateX(calc(-50% - 0.375rem)); }
        100% { transform: translateX(0); }
    }
    .home-partner-card {
        width: 140px;
        height: 60px;
        padding: 0.45rem 0.75rem;
        border-radius: 10px;
    }
    .home-partner-card__img {
        max-height: 32px;
        max-width: 100px;
    }
}




