/* ==========================================================================
   SIAMAQ INGENIERÍA · Arquitectura Visual B2B de Alta Ingeniería
   Tipografía local: Plus Jakarta Sans + Inter + IBM Plex Mono
   Sistema reticular arquitectónico: 1px structural rules, cero artificios
   ========================================================================== */

.home-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   HERO / SLIDER DINÁMICO WEBP
   ========================================================================== */
.siamaq-hero-slider {
    position: relative;
    background: #0b1118;
    color: #fff;
    overflow: hidden;
    border-bottom: 1px solid #1e293b;
    --hero-interval: 5s;
}

.hero-slider-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-height: clamp(480px, 66vh, 640px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.siamaq-hero-slider[data-transition="fade"] .hero-slider-track {
    display: grid;
    grid-template-columns: 100%;
    transform: none !important;
    transition: none;
}

.siamaq-hero-slider[data-transition="fade"] .hero-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    transition: opacity 0.75s ease, visibility 0s linear 0.75s;
}

.siamaq-hero-slider[data-transition="fade"] .hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition: opacity 0.75s ease, visibility 0s;
}

picture.hero-slide-media,
.hero-slide-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    pointer-events: none;
}

.hero-slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(96deg, rgba(11, 17, 24, 0.9) 0%, rgba(11, 17, 24, 0.68) 48%, rgba(11, 17, 24, 0.18) 100%);
    pointer-events: none;
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 24px 96px;
}

.hero-slide-copy {
    max-width: 650px;
    padding-left: 24px;
    border-left: 3px solid #cd4e00;
}

.hero-kicker-line {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #fdba74;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.hero-slide-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin: 0 0 18px;
    text-wrap: balance;
}

.hero-slide-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0 0 28px;
    max-width: 56ch;
}

.hero-slide-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #c2410c;
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    padding: 13px 22px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #cd4e00;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.hero-btn-primary:hover {
    background: #a83e00;
    border-color: #a83e00;
    color: #ffffff;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    padding: 13px 20px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.34);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.hero-btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0b1118;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    padding: 13px 20px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.hero-btn-outline-dark:hover {
    border-color: #0b1118;
    background: #f8fafc;
    color: #0b1118;
}

.hero-link-anchor {
    color: #94a3b8;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 10px;
    transition: color 0.16s ease;
}

.hero-link-anchor:hover {
    color: #ffffff;
}

/* Controles flecha y HUD técnico del slider */
.hero-slider-arrows {
    position: absolute;
    inset-inline: max(16px, calc((100vw - 1340px) / 2));
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.hero-arrow-btn {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(11, 17, 24, 0.7);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.hero-arrow-btn:hover {
    background: #cd4e00;
    border-color: #cd4e00;
}

.hero-slider-hud {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 6;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(11, 17, 24, 0.72);
    padding: 14px 24px;
}

.hero-hud-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    width: 40px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.hero-dot.is-active {
    width: 64px;
}

.hero-dot-bar {
    position: absolute;
    inset: 0;
    background: #cd4e00;
    transform-origin: left center;
    transform: scaleX(0);
}

.hero-dot.is-active .hero-dot-bar {
    transform: scaleX(1);
    animation: hero-progress var(--hero-interval, 5s) linear 1;
}

.siamaq-hero-slider.is-paused .hero-dot.is-active .hero-dot-bar,
.siamaq-hero-slider[data-autoplay="0"] .hero-dot.is-active .hero-dot-bar {
    animation-play-state: paused;
}

@keyframes hero-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.hero-hud-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.hero-counter {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
    color: #94a3b8;
    display: inline-flex;
    gap: 4px;
}

.hero-counter strong {
    color: #fff;
}

.hero-pause-btn {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: transparent;
    color: #e2e8f0;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 11px;
    border-radius: 4px;
    cursor: pointer;
}

.hero-pause-btn:hover {
    border-color: #fff;
    color: #fff;
}

/* Hero editorial por defecto (sin cabeceras subidas) */
.hero-editorial {
    padding: 64px 0 72px;
    background: #0b1118;
}

.hero-editorial-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.hero-spec-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 40px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-spec-bar dt {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.hero-spec-bar dd {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #f8fafc;
}

.hero-plate {
    background: #121b26;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    overflow: hidden;
}

.hero-plate-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-mono);
    font-size: 11px;
    color: #94a3b8;
}

.hero-plate-code {
    color: #fdba74;
    font-weight: 600;
}

.hero-plate-media {
    background: #ffffff;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.hero-plate-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    display: block;
}

.hero-plate-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    color: #fff;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.18s ease;
}

.hero-plate-footer:hover {
    background: #182332;
    color: #fff;
}

.hero-plate-label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.hero-plate-footer strong {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
}

.hero-plate-arrow {
    font-size: 18px;
    color: #fdba74;
}

/* ==========================================================================
   CINTILLO DE EMPRENDEDORES & CONTADOR DE VISITAS (SOCIAL PROOF)
   ========================================================================== */
.home-entrepreneurs-ribbon {
    background: linear-gradient(135deg, #0b1118 0%, #151d28 50%, #1c140e 100%);
    border-bottom: 1px solid rgba(234, 88, 12, 0.25);
    padding: 22px 0;
    position: relative;
    overflow: hidden;
}

.home-entrepreneurs-ribbon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ea580c, #f59e0b, transparent);
    opacity: 0.8;
}

.home-entrepreneurs-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.home-entrepreneurs-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    flex: 1;
}

/* ==========================================================================
   CONTADOR DE VISITAS ESTILO TARJETAS COLGANTES EN ANILLAS METÁLICAS CROMADAS
   ========================================================================== */
.hanging-desk-rack {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 8px 6px 8px;
    position: relative;
    flex-shrink: 0;
    user-select: none;
}

/* Riel / soporte sutil de suspensión del fondo */
.hanging-desk-rack::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 2px;
    right: 2px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(203, 213, 225, 0.35) 15%, rgba(248, 250, 252, 0.75) 50%, rgba(203, 213, 225, 0.35) 85%, transparent 100%);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Unidad individual: anilla + tarjeta */
.hanging-card-unit {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 700px;
}

/* Argolla metálica cromada */
.hanging-ring {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 13px;
    height: 25px;
    border-radius: 7px;
    border: 2.8px solid #94a3b8;
    border-top-color: #ffffff;
    border-left-color: #cbd5e1;
    border-right-color: #64748b;
    border-bottom-color: #475569;
    background: transparent;
    box-shadow: 1.5px 2px 4px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.85);
    z-index: 5;
    pointer-events: none;
}

/* Tarjeta colgante base */
.hanging-card {
    background: #ffffff;
    background-image: linear-gradient(180deg, #ffffff 0%, #fbfcfd 48%, #e2e8f0 49%, #f1f5f9 51%, #ffffff 100%);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 4px;
    position: relative;
    z-index: 2;
    transform-origin: top center;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    animation: cardGentleSway 3.8s ease-in-out infinite alternate;
    animation-delay: var(--card-delay, 0s);
}

.hanging-card:hover {
    transform: rotateX(-10deg) translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(234, 88, 12, 0.25);
}

/* Orificio perforado de la tarjeta */
.card-hole {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0b1118;
    box-shadow: inset 0 1.5px 2px rgba(0, 0, 0, 0.95), 0 1px 0 rgba(255, 255, 255, 0.8);
    margin: 3.5px auto 2px auto;
    flex-shrink: 0;
}

/* Tarjeta 1: Insignia de marca (estilo foto/sello) */
.card-brand {
    width: 42px;
    height: 64px;
    background: #ffffff;
    background-image: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 3px 3px 4px 3px;
}

.card-brand-art {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px auto 3px auto;
    box-shadow: 0 2px 5px rgba(234, 88, 12, 0.35);
}

.card-brand-art svg {
    width: 17px;
    height: 17px;
}

.card-caption {
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #0f172a;
    text-transform: uppercase;
    text-align: center;
}

/* Tarjetas de Dígitos */
.card-digit {
    width: 32px;
    height: 64px;
}

.card-char {
    font-family: var(--font-display, "Arial Black", -apple-system, sans-serif);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    color: #0f172a;
    margin-top: 10px;
    letter-spacing: -0.02em;
}

/* Tarjeta de Separador / Punto */
.card-separator {
    width: 16px;
    height: 64px;
}

.card-separator .card-char {
    font-size: 26px;
    color: #ea580c;
    margin-top: 10px;
}

/* Tarjeta Final: Leyenda vertical VISITAS */
.card-legend {
    width: 26px;
    height: 64px;
    padding: 3px 2px;
}

.card-legend-text {
    font-family: var(--font-display, -apple-system, sans-serif);
    font-size: 7.5px;
    font-weight: 900;
    letter-spacing: 0.14em;
    color: #0f172a;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin: auto 0;
    text-transform: uppercase;
}

/* Micro-animación pendular de balanceo suave */
@keyframes cardGentleSway {
    0% {
        transform: rotate(0deg);
    }
    30% {
        transform: rotate(1.2deg);
    }
    70% {
        transform: rotate(-1.2deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.home-entrepreneurs-avatars {
    display: none;
}

.avatar-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-left: -12px;
    border: 2.5px solid #0b1118;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease;
}

.avatar-ring:first-child {
    margin-left: 0;
}

.avatar-ring:hover {
    transform: translateY(-3px) scale(1.1);
    z-index: 5;
}

.avatar-ring.avatar-1 {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.avatar-ring.avatar-2 {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.avatar-ring.avatar-3 {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.avatar-ring.avatar-plus {
    background: #1f2937;
    color: #f59e0b;
    font-size: 16px;
    font-weight: 800;
}

.avatar-ring svg {
    width: 22px;
    height: 22px;
}

.home-entrepreneurs-content {
    min-width: 0;
}

.home-entrepreneurs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(234, 88, 12, 0.15);
    border: 1px solid rgba(234, 88, 12, 0.35);
    margin-bottom: 6px;
}

.home-entrepreneurs-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ea580c;
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7);
    animation: shareDotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.home-entrepreneurs-badge span:last-child {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fb923c;
}

.home-entrepreneurs-statement {
    font-family: var(--font-display, inherit);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.35;
    color: #f8fafc;
    margin: 0 0 2px;
}

.home-entrepreneurs-count {
    color: #fb923c;
    font-weight: 850;
    text-decoration: underline;
    text-decoration-color: rgba(234, 88, 12, 0.45);
    text-underline-offset: 3px;
    letter-spacing: -0.01em;
}

.home-entrepreneurs-sub {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

.home-entrepreneurs-action {
    flex-shrink: 0;
}

.home-entrepreneurs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px -3px rgba(234, 88, 12, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.home-entrepreneurs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(234, 88, 12, 0.6);
}

.home-entrepreneurs-btn svg {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

.home-entrepreneurs-btn:hover svg {
    transform: translateX(3px);
}

@media (max-width: 992px) {
    .home-entrepreneurs-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .home-entrepreneurs-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }
    .hanging-desk-rack {
        padding-top: 14px;
        margin-bottom: 4px;
    }
    .home-entrepreneurs-action {
        width: 100%;
    }
    .home-entrepreneurs-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hanging-desk-rack {
        gap: 3.5px;
        padding: 12px 0 4px 0;
        max-width: 100%;
        overflow-x: auto;
    }
    .hanging-ring {
        width: 10.5px;
        height: 22px;
        border-width: 2.2px;
        top: -9px;
    }
    .card-brand {
        width: 34px;
        height: 52px;
    }
    .card-brand-art {
        width: 22px;
        height: 22px;
    }
    .card-brand-art svg {
        width: 13px;
        height: 13px;
    }
    .card-caption {
        font-size: 6px;
    }
    .card-digit {
        width: 25px;
        height: 52px;
    }
    .card-char {
        font-size: 21px;
        margin-top: 7px;
    }
    .card-separator {
        width: 13px;
        height: 52px;
    }
    .card-separator .card-char {
        font-size: 20px;
        margin-top: 7px;
    }
    .card-legend {
        width: 21px;
        height: 52px;
    }
    .card-legend-text {
        font-size: 6.5px;
        letter-spacing: 0.1em;
    }
    .home-entrepreneurs-statement {
        font-size: 16px;
    }
}

/* ==========================================================================
   FRANJA RETICULAR DE CREDENCIALES (4 COLUMNAS SIN CAJAS FLOTANTES)
   ========================================================================== */
.home-ledger-strip {
    background: #eaedf1;
    border-bottom: 1px solid #d3dae3;
}

.home-ledger-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: #d3dae3;
    padding: 0;
    border-inline: 1px solid #d3dae3;
}

.home-ledger-cell {
    background: #f5f6f8;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-ledger-code {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #b74400;
}

.home-ledger-cell strong {
    font-family: var(--font-display);
    font-size: 15.5px;
    font-weight: 700;
    color: #0b1118;
}

.home-ledger-cell p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

/* ==========================================================================
   TIPOGRAFÍA Y CABECERAS DE SECCIÓN
   ========================================================================== */
.home-section-index {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #b74400;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.home-section-index.is-light {
    color: #fdba74;
}

.home-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
}

.home-head-row h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0b1118;
    margin: 0;
}

.home-text-link {
    font-size: 14px;
    font-weight: 600;
    color: #0b1118;
    text-decoration: none;
    border-bottom: 1.5px solid #cd4e00;
    padding-bottom: 3px;
    white-space: nowrap;
    transition: color 0.16s ease;
}

.home-text-link:hover {
    color: #b74400;
}

/* ==========================================================================
   IDENTIDAD CORPORATIVA (ASIMETRÍA SUIZA + LÍNEAS HAIRLINE)
   ========================================================================== */
.home-identity {
    background: #ffffff;
    padding: 84px 0;
    border-bottom: 1px solid #d8dfe8;
}

.home-identity-split {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 64px;
    align-items: start;
}

.home-identity-aside {
    position: sticky;
    top: 100px;
}

.home-identity-aside h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #0b1118;
    margin: 0 0 20px;
}

.home-identity-statement {
    font-size: 15.5px;
    line-height: 1.7;
    color: #334155;
    margin: 0 0 28px;
}

.home-identity-origin {
    padding-top: 18px;
    border-top: 1px solid #d8dfe8;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home-art-frame {
    margin: 26px 0 0;
    padding: 20px 20px 14px;
    background: #ffffff;
    border: 1px solid #cfd7e3;
    border-top: 2px solid #cd4e00;
    overflow: hidden;
}

.home-art-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 215px;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-art-frame:hover img {
    transform: scale(1.025);
}

.home-art-frame figcaption {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #e6ebf1;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: #737375;
}

.home-identity-origin span {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.home-identity-origin strong {
    font-size: 14px;
    color: #0b1118;
}

.home-identity-rows {
    border-top: 1px solid #0b1118;
}

.home-identity-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid #d8dfe8;
}

.home-row-num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: #b74400;
    padding-top: 4px;
}

.home-row-body h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: #0b1118;
    margin: 0 0 10px;
}

.home-row-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

/* ==========================================================================
   MATRIZ ARQUITECTÓNICA DE CATEGORÍAS (1PX SHARED GRID)
   ========================================================================== */
.home-categories {
    background: #f5f6f8;
    padding: 84px 0;
    border-bottom: 1px solid #d8dfe8;
}

.home-process-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 32px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cfd7e3;
    border-left: 4px solid #cd4e00;
    padding: 28px 32px;
    margin-bottom: 24px;
}

.home-process-kicker {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #cd4e00;
}

.home-process-copy h3 {
    margin: 8px 0 10px;
    font-size: clamp(20px, 2.1vw, 25px);
    line-height: 1.22;
    color: #0b1118;
    letter-spacing: -0.015em;
}

.home-process-copy p {
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 1.62;
    color: #475569;
}

.home-process-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-process-specs span {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #d5dce6;
}

.home-process-art {
    margin: 0;
    padding: 14px 18px;
    background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f3f6fa 100%);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.home-process-art img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-process-spotlight:hover .home-process-art img {
    transform: scale(1.025);
}

.home-directory-matrix {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #cfd7e3;
    border: 1px solid #cfd7e3;
}

.home-directory-cell {
    background: #ffffff;
    padding: 32px 30px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background 0.18s ease;
}

.home-directory-cell::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #cd4e00;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s ease;
}

.home-directory-cell:hover {
    background: #fafbfc;
}

.home-directory-cell:hover::before {
    transform: scaleY(1);
}

.home-directory-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.home-directory-code {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: #0b1118;
}

.home-directory-tag {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.home-directory-cell h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: #0b1118;
    margin: 0 0 10px;
    line-height: 1.3;
}

.home-directory-cell p {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 20px;
    flex: 1;
}

.home-directory-action {
    font-size: 13.5px;
    font-weight: 600;
    color: #b74400;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.home-directory-cell:hover .home-directory-action span {
    transform: translateX(4px);
    transition: transform 0.18s ease;
}

/* ==========================================================================
   EQUIPOS DEL CATÁLOGO
   ========================================================================== */
.home-featured {
    background: #ffffff;
    padding: 84px 0;
    border-bottom: 1px solid #d8dfe8;
}

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

.home-machine-card {
    border: 1px solid #d8dfe8;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.home-machine-card:hover {
    border-color: #0b1118;
    transform: translateY(-2px);
}

.home-machine-media {
    aspect-ratio: 4 / 3;
    background: #f5f6f8;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

.home-machine-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    display: block;
}

.home-machine-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-machine-plu {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: #b74400;
    margin-bottom: 6px;
}

.home-machine-body h3 {
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 700;
    color: #0b1118;
    margin: 0 0 8px;
    line-height: 1.35;
}

.home-machine-body p {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

.home-machine-more {
    font-size: 13px;
    font-weight: 600;
    color: #0b1118;
}

.home-machine-card:hover .home-machine-more {
    color: #b74400;
}

/* ==========================================================================
   ESCUELAS Y MATERIALES (ACERO OSCURO)
   ========================================================================== */
.home-knowledge {
    background: #0b1118;
    color: #ffffff;
    padding: 84px 0;
}

.home-knowledge-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
}

.home-knowledge-col h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
}

.home-knowledge-lead {
    font-size: 14.5px;
    color: #94a3b8;
    line-height: 1.65;
    margin: 0 0 22px;
}

.home-knowledge-art {
    margin: 0 0 24px;
    padding: 18px 18px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 2px solid #cd4e00;
    overflow: hidden;
}

.home-knowledge-art img {
    display: block;
    width: 100%;
    height: 196px;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-knowledge-art:hover img {
    transform: scale(1.03);
}

.home-knowledge-art figcaption {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: #cbd5e1;
}

.home-knowledge-entries {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.home-knowledge-entry {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.home-entry-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.home-knowledge-entry h3 {
    font-family: var(--font-display);
    font-size: 17.5px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px;
}

.home-entry-head h3 {
    margin: 0;
}

.home-status-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #cbd5e1;
}

.home-status-tag.is-ready {
    border-color: rgba(74, 222, 128, 0.45);
    color: #86efac;
}

.home-knowledge-entry p {
    margin: 0;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.65;
}

/* ==========================================================================
   CONTACTO B2B DIRECTO
   ========================================================================== */
.home-contact-band {
    background: #f5f6f8;
    border-top: 1px solid #d8dfe8;
    padding: 76px 0;
}

.home-contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.home-contact-intro h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.7vw, 34px);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0b1118;
    margin: 0 0 12px;
}

.home-contact-intro p {
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 26px;
    max-width: 52ch;
}

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

.home-contact-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.home-contact-art {
    margin: 0;
    padding: 16px 22px;
    background: #ffffff;
    border: 1px solid #cfd7e3;
    overflow: hidden;
}

.home-contact-art img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 186px;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-contact-art:hover img {
    transform: scale(1.025);
}

.home-contact-table {
    margin: 0;
    background: #ffffff;
    border: 1px solid #cfd7e3;
    border-top: 3px solid #cd4e00;
}

.home-contact-row {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-contact-row:last-child {
    border-bottom: 0;
}

.home-contact-row dt {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.home-contact-row dd {
    margin: 0;
    font-size: 15.5px;
    font-weight: 600;
    color: #0b1118;
}

.home-contact-row dd a {
    color: #0b1118;
    text-decoration: none;
}

.home-contact-row dd a:hover {
    color: #b74400;
}

/* ==========================================================================
   06 · ALIADOS COMERCIALES (Lema + unDraw + Carrusel WebP)
   ========================================================================== */
.home-allies-band {
    padding: 84px 0;
    background: #ffffff;
    border-bottom: 1px solid #d8dfe8;
}

.home-allies-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 44px;
    align-items: center;
    margin-bottom: 44px;
}

.home-allies-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: #0b1118;
    margin: 0 0 16px;
}

.home-allies-lead {
    font-size: 15.5px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 22px;
    max-width: 58ch;
}

.home-allies-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-allies-pillars span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #d5dce6;
    border-left: 2px solid #cd4e00;
}

.home-allies-art {
    margin: 0;
    padding: 20px 22px 14px;
    background: #f8fafc;
    border: 1px solid #cfd7e3;
    border-top: 2px solid #cd4e00;
    overflow: hidden;
}

.home-allies-art img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 225px;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-allies-art:hover img {
    transform: scale(1.025);
}

.home-allies-art figcaption {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #dde3ec;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: #737375;
}

.home-allies-carousel {
    --allies-visible: 3;
    --allies-gap: 20px;
}

.home-allies-carousel[data-count="1"] {
    --allies-visible: 1;
}

.home-allies-carousel[data-count="2"] {
    --allies-visible: 2;
}

.home-allies-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.home-allies-counter {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #64748b;
}

.home-allies-counter strong {
    color: #cd4e00;
}

.home-allies-btns {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-ally-nav-btn,
.home-ally-pause-btn {
    height: 34px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0b1118;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.home-ally-nav-btn {
    width: 34px;
    font-size: 18px;
    line-height: 1;
}

.home-ally-pause-btn {
    padding: 0 12px;
}

.home-ally-nav-btn:hover,
.home-ally-pause-btn:hover {
    border-color: #cd4e00;
    color: #b74400;
    background: #fff7f2;
}

.home-allies-viewport {
    overflow: hidden;
    padding: 4px 0;
}

.home-allies-track {
    display: flex;
    gap: var(--allies-gap);
    transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.home-ally-card {
    box-sizing: border-box;
    flex: 0 0 calc((100% - (var(--allies-visible) - 1) * var(--allies-gap)) / var(--allies-visible));
    min-width: 0;
    background: #f8fafc;
    border: 1px solid #cfd7e3;
    border-top: 2px solid #cbd5e1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.home-ally-card.is-spotlight {
    background: #ffffff;
    border-color: #e4c6b3;
    border-top-color: #cd4e00;
    box-shadow: 0 14px 28px -20px rgba(205, 78, 0, 0.4);
}

.home-ally-logo-box {
    height: 124px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-ally-logo-box img {
    max-width: 100%;
    max-height: 88px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.home-ally-card:hover .home-ally-logo-box img {
    transform: scale(1.04);
}

.home-ally-body h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: #0b1118;
}

.home-ally-address {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
}

.home-ally-address svg {
    width: 15px;
    height: 15px;
    color: #cd4e00;
    margin-top: 2px;
    flex-shrink: 0;
}

.home-ally-footer {
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.home-ally-wa {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 7px;
    color: #065f46;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.16s ease, border-color 0.16s ease;
}

.home-ally-wa svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.home-ally-wa:hover {
    background: #d1fae5;
    border-color: #10b981;
    color: #064e3b;
}

.home-ally-socials {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.home-ally-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #ffffff;
    color: #475569;
    text-decoration: none;
    transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.home-ally-socials a svg {
    width: 15px;
    height: 15px;
}

.home-ally-socials a:hover {
    border-color: #cd4e00;
    color: #cd4e00;
    background: #fff7f2;
}

.home-allies-progress {
    margin-top: 18px;
    height: 2px;
    background: #e2e8f0;
    overflow: hidden;
}

.home-allies-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: #cd4e00;
    transform-origin: left center;
    animation: allies-progress-fill var(--allies-interval, 4s) linear infinite;
}

.home-allies-carousel.is-paused .home-allies-progress span {
    animation: none;
    transform: scaleX(0.35);
}

@keyframes allies-progress-fill {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.home-allies-empty {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-left: 3px solid #cd4e00;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.home-allies-empty strong {
    display: block;
    font-size: 16px;
    color: #0b1118;
    margin-bottom: 4px;
}

.home-allies-empty p {
    margin: 0;
    font-size: 14px;
    color: #475569;
}

/* ==========================================================================
   CLIENTES CON MAQUINARIA (LOGOS) & TESTIMONIOS DE COMPRADORES
   ========================================================================== */
.home-carousel-viewport {
    overflow: hidden;
}

.home-carousel-track {
    display: flex;
    gap: var(--allies-gap, 20px);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.home-carousel-card-slot {
    box-sizing: border-box;
    flex: 0 0 calc((100% - (var(--allies-gap, 20px) * (var(--allies-visible, 3) - 1))) / var(--allies-visible, 3));
    min-width: 0;
}

.home-clients-band {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 76px 0;
}

.home-clients-head h2,
.home-testimonials-head h2 {
    margin: 10px 0 10px;
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.025em;
    color: #0b1118;
    max-width: 720px;
}

.home-section-sub {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    max-width: 660px;
}

.home-clients-band .home-allies-controls,
.home-testimonials-band .home-allies-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 24px 0 16px;
}

.home-client-card {
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-client-card.is-spotlight,
.home-client-card:hover {
    border-color: rgba(205, 78, 0, 0.45);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.home-client-logo-box {
    height: 108px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-client-logo-box a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.home-client-logo-box img {
    max-width: 100%;
    max-height: 76px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.28s ease;
}

.home-client-card:hover .home-client-logo-box img {
    transform: scale(1.04);
}

.home-client-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-client-sector {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cd4e00;
    background: rgba(205, 78, 0, 0.09);
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 2px;
}

.home-client-meta h3 {
    margin: 0;
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.3;
    color: #0b1118;
}

.home-client-machine {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #334155;
}

.home-client-city {
    font-size: 12px;
    color: #64748b;
}

.home-testimonials-band {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 76px 0;
}

.home-testimonials-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.home-rating-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 10px;
}

.home-rating-chip strong {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 16px;
    font-weight: 800;
    color: #cd4e00;
}

.home-rating-chip small {
    font-size: 12.5px;
    color: #475569;
    font-weight: 500;
}

.home-testimonial-card {
    box-sizing: border-box;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #cbd5e1;
    border-radius: 10px;
    padding: 24px 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-testimonial-card.is-spotlight,
.home-testimonial-card:hover {
    background: #ffffff;
    border-color: #e2e8f0;
    border-top-color: #cd4e00;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.home-testimonial-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.home-testimonial-stars {
    color: #cd4e00;
    font-size: 15px;
    letter-spacing: 0.08em;
    line-height: 1;
}

.home-testimonial-mark {
    font-family: Georgia, serif;
    font-size: 38px;
    line-height: 0.7;
    color: #cbd5e1;
    user-select: none;
}

.home-testimonial-quote {
    margin: 0;
    padding: 0;
    border-left: 0;
    background: transparent;
    font-style: normal;
    font-size: 14.5px;
    line-height: 1.65;
    color: #1e293b;
    flex: 1 1 auto;
}

.home-testimonial-machine {
    font-size: 12px;
    line-height: 1.45;
    padding: 8px 10px;
    border-radius: 7px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.home-testimonial-machine span {
    color: #64748b;
}

.home-testimonial-machine strong {
    color: #0b1118;
    font-weight: 600;
}

.home-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.home-testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0b1118 0%, #1e293b 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 15px;
    font-weight: 800;
    border: 1px solid #cbd5e1;
}

.home-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-testimonial-person {
    min-width: 0;
}

.home-testimonial-person strong {
    display: block;
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 14.5px;
    font-weight: 700;
    color: #0b1118;
    line-height: 1.25;
}

.home-testimonial-person small {
    display: block;
    font-size: 12px;
    color: #64748b;
    line-height: 1.35;
    margin-top: 2px;
}

.home-clients-band .home-allies-progress,
.home-testimonials-band .home-allies-progress {
    margin-top: 18px;
}

/* ==========================================================================
   PRODUCCION EN PLANTA Y ENTREGAS (PRIVACIDAD DE CLIENTES)
   ========================================================================== */
.home-production-band {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #f8fafc 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 84px 0;
}

.home-production-top {
    margin-bottom: 34px;
    align-items: flex-end;
    gap: 24px;
}

.home-prod-kpi-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-prod-kpi {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #fed7aa;
    color: #0b1118;
    box-shadow: 0 8px 20px rgba(242, 100, 25, 0.05);
}

.home-prod-kpi.is-delivered {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0b1118;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.home-prod-kpi strong {
    display: block;
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
}

.home-prod-kpi small {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.home-prod-kpi.is-delivered small {
    color: #475569;
}

.home-prod-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #f26419;
    box-shadow: 0 0 0 0 rgba(242, 100, 25, 0.65);
    flex-shrink: 0;
    animation: homeProdLivePulse 1.8s infinite;
}

.home-prod-check-dot {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    color: #059669;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.home-prod-stage {
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    margin-bottom: 32px;
}

.home-prod-stage:last-child {
    margin-bottom: 0;
}

.home-prod-stage-building {
    background: radial-gradient(circle at 92% 12%, rgba(242, 100, 25, 0.09) 0%, transparent 55%),
                linear-gradient(145deg, #fffbf6 0%, #fff7ed 45%, #f8fafc 100%);
    border-color: #fed7aa;
    color: #0f172a;
    box-shadow: 0 16px 36px rgba(242, 100, 25, 0.06), 0 4px 14px rgba(15, 23, 42, 0.03);
}

.home-prod-stage-delivered {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-color: #cbd5e1;
    color: #0b1118;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.home-prod-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 24px;
}

.home-prod-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-prod-pill.is-building {
    background: #ffffff;
    border: 1px solid #fdba74;
    color: #c2410c;
    box-shadow: 0 2px 8px rgba(242, 100, 25, 0.08);
}

.home-prod-pill.is-delivered {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #047857;
}

.home-prod-spotlight-copy h3 {
    margin: 14px 0 10px;
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(22px, 2.5vw, 29px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.home-prod-stage-building .home-prod-spotlight-copy h3 {
    color: #0f172a;
}

.home-prod-stage-building .home-prod-spotlight-copy p {
    color: #475569;
}

.home-prod-spotlight-copy p {
    margin: 0 0 16px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #475569;
    max-width: 560px;
}

.home-prod-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-prod-feature-tags span {
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 7px;
    border: 1px solid #fed7aa;
    background: #ffffff;
    color: #9a3412;
    box-shadow: 0 2px 6px rgba(242, 100, 25, 0.05);
}

.home-prod-stage-delivered .home-prod-feature-tags span {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
    box-shadow: none;
}

.home-prod-illustration {
    margin: 0;
    width: 100%;
    min-width: 0;
}

.home-prod-svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    aspect-ratio: 460 / 220;
    margin-left: auto;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(242, 100, 25, 0.08));
}

.home-prod-stage-building .home-prod-svg rect:first-child {
    fill: #ffffff;
    stroke: #fed7aa;
}

.home-prod-stage-building .home-prod-svg path[stroke="#172438"] {
    stroke: #f8fafc;
}

.home-prod-stage-building .home-prod-svg rect[fill="#1e293b"] {
    fill: #e2e8f0;
}

.home-prod-stage-building .home-prod-svg rect[fill="#132238"] {
    fill: #fff7ed;
    stroke: #fdba74;
}

.home-prod-stage-building .home-prod-svg rect[fill="#0f172a"] {
    fill: #ffffff;
    stroke: #fed7aa;
}

.home-prod-stage-delivered .home-prod-svg {
    filter: drop-shadow(0 10px 22px rgba(15, 23, 42, 0.08));
}

.home-prod-fallback-svg {
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: block;
}

/* Animaciones SVG industriales */
.home-gear-spin {
    transform-box: fill-box;
    transform-origin: center;
    animation: homeGearRotate 9s linear infinite;
}

.home-gear-spin-rev {
    transform-box: fill-box;
    transform-origin: center;
    animation: homeGearRotateRev 6.5s linear infinite;
}

.home-gear-spin-slow {
    transform-box: fill-box;
    transform-origin: center;
    animation: homeGearRotate 14s linear infinite;
}

.home-gantry-carriage {
    animation: homeGantryGlide 7s ease-in-out infinite alternate;
}

.home-spark-pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: homeSparkBeat 1.4s ease-in-out infinite;
}

.home-scan-beam {
    animation: homeScanSweep 4.2s ease-in-out infinite alternate;
}

.home-scan-line {
    animation: homeScanVertical 3.4s ease-in-out infinite alternate;
}

.home-conveyor-track {
    animation: homeConveyorScroll 2.2s linear infinite;
}

.home-conveyor-track.is-fast {
    animation-duration: 1.5s;
}

.home-seal-pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: homeSealBeat 2.8s ease-in-out infinite;
}

@keyframes homeProdLivePulse {
    0% { box-shadow: 0 0 0 0 rgba(242, 100, 25, 0.65); }
    70% { box-shadow: 0 0 0 9px rgba(242, 100, 25, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 100, 25, 0); }
}

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

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

@keyframes homeGantryGlide {
    0% { transform: translateX(-76px); }
    100% { transform: translateX(88px); }
}

@keyframes homeSparkBeat {
    0%, 100% { transform: scale(0.75); opacity: 0.3; }
    50% { transform: scale(1.25); opacity: 0.85; }
}

@keyframes homeScanSweep {
    0% { transform: translateX(0); opacity: 0.35; }
    100% { transform: translateX(234px); opacity: 0.9; }
}

@keyframes homeScanVertical {
    0% { transform: translateY(-22px); }
    100% { transform: translateY(22px); }
}

@keyframes homeConveyorScroll {
    to { stroke-dashoffset: -48; }
}

@keyframes homeSealBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* Carrusel interno y tarjetas anónimas */
.home-prod-stage-building .home-allies-counter {
    color: #94a3b8;
}

.home-prod-stage-building .home-allies-counter strong {
    color: #ffffff;
}

.home-prod-stage-building .home-ally-nav-btn,
.home-prod-stage-building .home-ally-pause-btn {
    background: rgba(15, 23, 42, 0.85);
    border-color: #334155;
    color: #f8fafc;
}

.home-prod-stage-building .home-ally-nav-btn:hover,
.home-prod-stage-building .home-ally-pause-btn:hover {
    border-color: #f26419;
    color: #fdba74;
}

.home-prod-stage-building .home-allies-progress {
    background: rgba(255, 255, 255, 0.12);
}

.home-prod-stage-building .home-allies-empty {
    background: rgba(15, 23, 42, 0.72);
    border-color: #334155;
    color: #e2e8f0;
}

.home-prod-card {
    box-sizing: border-box;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.home-prod-card.is-building {
    background: #111c2c;
    border: 1px solid #263449;
    border-top: 3px solid #f26419;
    color: #f8fafc;
}

.home-prod-card.is-building:hover,
.home-prod-card.is-building.is-spotlight {
    border-color: rgba(242, 100, 25, 0.65);
    box-shadow: 0 16px 32px rgba(2, 6, 23, 0.4);
}

.home-prod-card.is-delivered {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-top: 3px solid #10b981;
    color: #0b1118;
}

.home-prod-card.is-delivered:hover,
.home-prod-card.is-delivered.is-spotlight {
    border-color: #10b981;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.home-prod-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-prod-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.home-prod-status-pill.is-building {
    background: rgba(242, 100, 25, 0.16);
    color: #fdba74;
}

.home-prod-status-pill.is-delivered {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.home-prod-batch {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
}

.home-prod-card.is-delivered .home-prod-batch {
    color: #64748b;
}

.home-prod-media {
    position: relative;
    height: 170px;
    border-radius: 10px;
    overflow: hidden;
    background: #0b1118;
    border: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-prod-card.is-delivered .home-prod-media {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.home-prod-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.home-prod-card:hover .home-prod-media img {
    transform: scale(1.04);
}

.home-prod-unit-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(11, 17, 24, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.home-prod-unit-badge.is-delivered {
    background: rgba(6, 95, 70, 0.92);
    border-color: rgba(167, 243, 208, 0.45);
}

.home-prod-body {
    flex: 1 1 auto;
}

.home-prod-cat {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f26419;
    margin-bottom: 5px;
}

.home-prod-card.is-delivered .home-prod-cat {
    color: #059669;
}

.home-prod-body h4 {
    margin: 0 0 10px;
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.3;
    color: #0b1118;
}

.home-prod-card.is-building .home-prod-body h4 {
    color: #ffffff;
}

.home-prod-machines-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.home-prod-machines-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    line-height: 1.35;
    padding: 5px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}

.home-prod-card.is-delivered .home-prod-machines-list li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.home-prod-machines-list li strong {
    color: #fdba74;
    font-weight: 800;
}

.home-prod-card.is-delivered .home-prod-machines-list li strong {
    color: #cd4e00;
}

.home-prod-machines-list li span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-prod-machines-list li code {
    font-size: 10.5px;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(148, 163, 184, 0.16);
    color: inherit;
}

.home-prod-foot {
    padding-top: 10px;
    border-top: 1px dashed rgba(148, 163, 184, 0.25);
}

.home-prod-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 6px;
    color: #94a3b8;
}

.home-prod-card.is-delivered .home-prod-progress-meta {
    color: #475569;
}

.home-prod-progress-meta strong {
    color: #f8fafc;
}

.home-prod-card.is-delivered .home-prod-progress-meta strong {
    color: #0b1118;
}

.home-prod-progress-track {
    height: 7px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    overflow: hidden;
    margin-bottom: 12px;
}

.home-prod-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, #cd4e00, #f59e0b);
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-prod-progress-fill.is-animated {
    background-size: 200% 100%;
    background-image: linear-gradient(90deg, #cd4e00 0%, #f26419 50%, #fbbf24 100%);
    animation: homeProdBarShimmer 2.8s linear infinite;
}

.home-prod-progress-fill.is-delivered {
    background: linear-gradient(90deg, #059669, #10b981);
}

@keyframes homeProdBarShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.home-prod-card-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-prod-date {
    font-size: 11.5px;
    color: #94a3b8;
}

.home-prod-card.is-delivered .home-prod-date {
    color: #64748b;
}

.home-prod-link {
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #fdba74;
}

.home-prod-card.is-delivered .home-prod-link {
    color: #cd4e00;
}

.home-prod-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   SECCIÓN DE PROYECTOS EN CONSTRUCCIÓN EN GRID DE 4 COLUMNAS (TIPO BLOG PRO)
   ========================================================================== */
.home-building-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.home-building-card {
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(242, 100, 25, 0.04), 0 1px 3px rgba(15, 23, 42, 0.03);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease;
    position: relative;
}

.home-building-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -8px rgba(242, 100, 25, 0.16), 0 4px 12px rgba(15, 23, 42, 0.04);
    border-color: #f26419;
}

.home-building-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1.35;
    background: radial-gradient(circle at center, #ffffff 45%, #fff7ed 100%);
    overflow: hidden;
    border-bottom: 1px solid #ffedd5;
    padding: 24px 20px;
}

/* Shimmer / luxury light reflection sweep on hover */
.home-building-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.7) 50%, transparent 65%);
    transform: translateX(-100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

.home-building-card:hover .home-building-card-media::after {
    transform: translateX(100%);
}

.home-building-card-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
    filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.09));
}

.home-building-card:hover .home-building-card-media img {
    transform: scale(1.06) translateY(-2px);
    filter: drop-shadow(0 14px 26px rgba(242, 100, 25, 0.18));
}

.home-building-media-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-building-media-fallback .home-prod-fallback-svg {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(242, 100, 25, 0.08));
}

.home-building-media-fallback .home-prod-fallback-svg rect[fill="#0b1118"] {
    fill: #ffffff;
    stroke: #fed7aa;
}

.home-building-media-fallback .home-prod-fallback-svg path[stroke="#1e293b"] {
    stroke: #fed7aa;
    stroke-opacity: 0.5;
}

.home-building-media-fallback .home-prod-fallback-svg rect[fill="#132238"] {
    fill: #fff7ed;
    stroke: #fdba74;
}

.home-building-media-fallback .home-prod-fallback-svg rect[fill="#1e293b"] {
    fill: #ffedd5;
}

.home-building-status-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #fdba74;
    box-shadow: 0 4px 12px rgba(242, 100, 25, 0.12);
    font-size: 11px;
    font-weight: 700;
    color: #c2410c;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
}

.home-building-batch {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    font-size: 10.5px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 700;
    color: #7c2d12;
    background: rgba(254, 215, 170, 0.65);
    border: 1px solid #fdba74;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    backdrop-filter: blur(4px);
}

.home-building-card-body {
    padding: 18px 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
}

.home-building-cat {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ea580c;
}

.home-building-title {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    color: #0f172a;
}

.home-building-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

.home-building-title a:hover {
    color: #f26419;
}

.home-building-card-foot {
    padding: 12px 20px 16px;
    border-top: 1px dashed #fed7aa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    background: #fffdfb;
    margin-top: auto;
}

.home-building-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
}

.home-building-date svg {
    color: #f26419;
    flex-shrink: 0;
}

.home-building-date strong {
    color: #0f172a;
    font-weight: 700;
}

.home-building-link {
    font-size: 11.5px;
    font-weight: 700;
    color: #c2410c;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-building-card:hover .home-building-link {
    background: #f26419;
    color: #ffffff;
    border-color: #f26419;
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(242, 100, 25, 0.25);
}

/* ==========================================================================
   SECCIÓN DE PROYECTOS ENTREGADOS EN GRID DE 4 COLUMNAS (TIPO BLOG)
   ========================================================================== */
.home-delivered-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.home-delivered-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px 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;
    position: relative;
}

.home-delivered-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
    border-color: #10b981;
}

.home-delivered-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1.35;
    background: radial-gradient(circle at center, #ffffff 45%, #f1f5f9 100%);
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 20px;
    box-sizing: border-box;
}

.home-delivered-card-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.08));
}

.home-delivered-card:hover .home-delivered-card-media img {
    transform: scale(1.06);
}

.home-delivered-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.home-delivered-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.94);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.home-delivered-batch-pill {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.home-delivered-units-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(6, 95, 70, 0.92);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(167, 243, 208, 0.45);
    z-index: 2;
}

.home-delivered-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.home-delivered-cat {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #059669;
    margin-bottom: 6px;
}

.home-delivered-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-delivered-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

.home-delivered-title a:hover {
    color: #059669;
}

.home-delivered-machines {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-delivered-machines li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 6px 9px;
    border-radius: 8px;
}

.home-delivered-mq-qty {
    font-weight: 800;
    color: #059669;
    font-size: 11px;
}

.home-delivered-mq-name {
    flex: 1 1 auto;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-delivered-mq-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    font-weight: 700;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 6px;
    border-radius: 4px;
}

.home-delivered-qa-bar {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 14px;
}

.home-delivered-qa-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 6px;
}

.home-delivered-qa-label {
    font-weight: 600;
    color: #475569;
}

.home-delivered-qa-pct {
    font-weight: 800;
    color: #059669;
}

.home-delivered-progress-track {
    width: 100%;
    height: 5px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.home-delivered-progress-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 999px;
}

.home-delivered-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}

.home-delivered-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.home-delivered-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s ease;
}

.home-delivered-card:hover .home-delivered-cta {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.home-delivered-arrow {
    transition: transform 0.18s ease;
}

.home-delivered-card:hover .home-delivered-arrow {
    transform: translateX(3px);
}

@media (max-width: 1200px) {
    .home-building-grid,
    .home-delivered-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .home-building-grid,
    .home-delivered-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .home-building-grid,
    .home-delivered-grid {
        grid-template-columns: 1fr;
    }
}

/* Modo oscuro */
@media (prefers-color-scheme: dark) {
    .catalog-page:not([data-theme="light"]) .home-building-card {
        background: #111c2c;
        border-color: #3b2818;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    }
    .catalog-page:not([data-theme="light"]) .home-building-card:hover {
        border-color: #f26419;
        box-shadow: 0 16px 32px rgba(242, 100, 25, 0.2);
    }
    .catalog-page:not([data-theme="light"]) .home-building-card-media {
        background: radial-gradient(circle at center, #1e293b 30%, #0b1118 100%);
        border-bottom-color: #263449;
    }
    .catalog-page:not([data-theme="light"]) .home-building-card-media img {
        filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
    }
    .catalog-page:not([data-theme="light"]) .home-building-title {
        color: #f8fafc;
    }
    .catalog-page:not([data-theme="light"]) .home-building-title a:hover {
        color: #fdba74;
    }
    .catalog-page:not([data-theme="light"]) .home-building-card-foot {
        background: #0d1522;
        border-top-color: #263449;
    }
    .catalog-page:not([data-theme="light"]) .home-building-date strong {
        color: #f8fafc;
    }
    .catalog-page:not([data-theme="light"]) .home-delivered-card {
        background: #111c2c;
        border-color: #263449;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    }
    .catalog-page:not([data-theme="light"]) .home-delivered-card:hover {
        border-color: #10b981;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
    }
    .catalog-page:not([data-theme="light"]) .home-delivered-card-media {
        background: radial-gradient(circle at center, #1e293b 30%, #0b1118 100%);
        border-bottom-color: #263449;
    }
    .catalog-page:not([data-theme="light"]) .home-delivered-card-media img {
        filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
    }
    .catalog-page:not([data-theme="light"]) .home-delivered-title {
        color: #f8fafc;
    }
    .catalog-page:not([data-theme="light"]) .home-delivered-title a:hover {
        color: #34d399;
    }
    .catalog-page:not([data-theme="light"]) .home-delivered-machines li {
        background: #0b1118;
        border-color: #1e293b;
        color: #cbd5e1;
    }
    .catalog-page:not([data-theme="light"]) .home-delivered-mq-code {
        background: #1e293b;
        color: #94a3b8;
    }
    .catalog-page:not([data-theme="light"]) .home-delivered-qa-bar,
    .catalog-page:not([data-theme="light"]) .home-delivered-card-foot {
        border-color: #1e293b;
    }
    .catalog-page:not([data-theme="light"]) .home-delivered-qa-label {
        color: #94a3b8;
    }
    .catalog-page:not([data-theme="light"]) .home-delivered-date {
        color: #94a3b8;
    }
    .catalog-page:not([data-theme="light"]) .home-delivered-cta {
        background: rgba(16, 185, 129, 0.15);
        border-color: rgba(16, 185, 129, 0.35);
        color: #34d399;
    }
}

/* ==========================================================================
   RESPONSIVE Y REDUCED MOTION
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-editorial-grid,
    .home-identity-split,
    .home-process-spotlight,
    .home-knowledge-split,
    .home-prod-spotlight,
    .home-allies-banner,
    .home-contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-allies-carousel:not([data-count="1"]) {
        --allies-visible: 2;
    }

    .home-process-spotlight {
        padding: 22px 20px;
        gap: 22px;
    }

    .home-knowledge-art img {
        height: 176px;
    }
    .home-identity-aside {
        position: static;
    }
    .home-ledger-grid,
    .home-machine-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-slider-arrows {
        display: none;
    }
}

@media (max-width: 767px) {
    .home-allies-band,
    .home-clients-band,
    .home-testimonials-band,
    .home-production-band {
        padding: 52px 0;
    }
    .home-prod-stage {
        padding: 20px;
    }
    .home-allies-carousel {
        --allies-visible: 1 !important;
    }
    .home-testimonials-summary {
        align-items: flex-start;
    }
    .hero-slide {
        min-height: 440px;
    }
    .hero-slide-inner {
        padding: 48px 20px 88px;
    }
    .hero-slide-copy {
        padding-left: 16px;
    }
    .hero-slide-scrim {
        background: linear-gradient(180deg, rgba(11, 17, 24, 0.65) 0%, rgba(11, 17, 24, 0.92) 70%);
    }
    .hero-spec-bar,
    .home-ledger-grid,
    .home-directory-matrix,
    .home-machine-grid {
        grid-template-columns: 1fr;
    }
    .home-identity-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .home-head-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .home-identity,
    .home-categories,
    .home-featured,
    .home-knowledge,
    .home-contact-band {
        padding: 52px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider-track,
    .hero-slide,
    .hero-dot-bar,
    .home-allies-track,
    .home-carousel-track,
    .home-allies-progress span,
    .home-prod-live-dot,
    .home-gear-spin,
    .home-gear-spin-rev,
    .home-gear-spin-slow,
    .home-gantry-carriage,
    .home-spark-pulse,
    .home-scan-beam,
    .home-scan-line,
    .home-conveyor-track,
    .home-seal-pulse,
    .home-prod-progress-fill.is-animated,
    .home-art-frame img,
    .home-process-art img,
    .home-knowledge-art img,
    .home-allies-art img,
    .home-contact-art img {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}
