/* ==========================================================================
   SECTORES — ÍNDICE (sistema 2026)
   Hero 100vh + mosaico de 6 sectores + por qué OR64 + CTA panel.
   ========================================================================== */

body.page-sectores-index {
    margin: 0;
    padding: 0;
}

/* ==============================================
   HERO 100vh
   ============================================== */
.secx-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #141518;
    overflow: hidden;
}

.secx-hero__bg {
    position: absolute;
    inset: 0;
}

.secx-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.secx-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8, 10, 14, 0.92) 0%, rgba(8, 10, 14, 0.72) 50%, rgba(8, 10, 14, 0.45) 100%);
}

.secx-hero__content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 110px 80px;
}

.secx-hero__eyebrow {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #e8732e 0%, #ff7a1a 25%, #ffcaaa 48%, #ff7a1a 52%, #ff6a00 75%, #e8732e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 26px;
}

.secx-hero__title {
    font-family: var(--ds-font-heading, 'Inter'), -apple-system, sans-serif;
    font-size: clamp(36px, 4.8vw, 66px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: #ffffff;
    margin: 0 0 26px;
}

.secx-hero__title-soft {
    color: rgba(255, 255, 255, 0.45);
}

.secx-hero__sub {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    max-width: 620px;
    margin: 0;
}

/* ==============================================
   MOSAICO DE SECTORES
   ============================================== */
.secx-sectores {
    padding: 140px 80px;
    background: #f0f2f5;
}

.secx-sectores__container {
    max-width: 1400px;
    margin: 0 auto;
}

.secx-sectores__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.secx-panel {
    position: relative;
    display: block;
    height: 300px;
    overflow: hidden;
    text-decoration: none;
}

.secx-panel__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.06);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.secx-panel:hover .secx-panel__img {
    transform: scale(1.05);
    filter: saturate(1.15);
}

/* Velo solo donde vive el texto */
.secx-panel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(10, 12, 16, 0.86) 0%,
        rgba(10, 12, 16, 0.3) 45%,
        rgba(10, 12, 16, 0) 75%
    );
    transition: background 0.4s ease;
}

.secx-panel:hover .secx-panel__overlay {
    background: linear-gradient(
        0deg,
        rgba(10, 12, 16, 0.8) 0%,
        rgba(10, 12, 16, 0.2) 45%,
        rgba(10, 12, 16, 0) 75%
    );
}

/* Filo de cobre al pasar */
.secx-panel::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #ff7a1a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.secx-panel:hover::after {
    transform: scaleX(1);
}

.secx-panel__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 40px;
    z-index: 1;
}

.secx-panel__title {
    font-family: var(--ds-font-heading, 'Inter'), -apple-system, sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0 0 10px;
}

.secx-panel__link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
}

.secx-panel:hover .secx-panel__link {
    color: #ff8a3c;
}

/* ==============================================
   POR QUÉ OR64 — 3 claves con icono metal
   ============================================== */
.secx-why {
    padding: 130px 80px;
    background: #ffffff;
}

.secx-why__container {
    max-width: 1200px;
    margin: 0 auto;
}

.secx-why__title {
    font-family: var(--ds-font-heading, 'Inter'), -apple-system, sans-serif;
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.06;
    color: #141518;
    text-align: center;
    max-width: 680px;
    margin: 0 auto 80px;
}

.secx-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
}

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

.secx-why__item svg {
    width: 46px;
    height: 46px;
    display: block;
    margin: 0 auto 22px;
}

.secx-why__item h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #141518;
    margin: 0 0 12px;
}

.secx-why__item p {
    font-size: 15px;
    line-height: 1.7;
    color: #555c66;
    margin: 0;
}

/* ==============================================
   CTA (sistema)
   ============================================== */
.secx-cta {
    padding: 0 60px 120px;
    background: #ffffff;
}

.secx-cta__box {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 72px 80px;
    background: #16181c;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.secx-cta__title {
    font-family: var(--ds-font-heading, 'Inter'), -apple-system, sans-serif;
    font-size: clamp(26px, 2.8vw, 40px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: #fff;
    margin: 0 0 16px;
}

.secx-cta__text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0;
}

.secx-cta__actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.secx-cta__btn {
    display: block;
    text-align: center;
    background: transparent;
    border: 1.5px solid #ff8a3c;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 15px 36px;
    transition: background 0.3s ease;
}

.secx-cta__btn:hover {
    background: rgba(255, 138, 60, 0.12);
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1024px) {
    .secx-hero__content {
        padding: 110px 40px;
    }

    .secx-sectores {
        padding: 100px 40px;
    }

    .secx-sectores__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .secx-why {
        padding: 100px 40px;
    }

    .secx-why__grid {
        gap: 40px;
    }

    .secx-cta {
        padding: 0 40px 100px;
    }

    .secx-cta__box {
        flex-direction: column;
        align-items: flex-start;
        padding: 56px 48px;
    }

    .secx-cta__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .secx-hero__content {
        padding: 110px 20px 90px;
    }

    .secx-hero__sub {
        font-size: 16px;
    }

    .secx-sectores {
        padding: 80px 20px;
    }

    .secx-sectores__grid {
        grid-template-columns: 1fr;
    }

    .secx-panel {
        height: 240px;
    }

    .secx-why {
        padding: 80px 20px;
    }

    .secx-why__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .secx-why__title {
        margin-bottom: 56px;
    }

    .secx-cta {
        padding: 0 20px 80px;
    }

    .secx-cta__box {
        padding: 44px 28px;
    }

    .secx-cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .secx-cta__btn {
        width: 100%;
    }
}
