/* =========================================================
   INGPRO — PÁGINA CNC ROUTER
   Archivo: css/cnc-router.css
========================================================= */

/* =========================================================
   VARIABLES LOCALES
========================================================= */

:root {
    --router-navy: #06142f;
    --router-navy-light: #123568;
    --router-blue: #174a82;
    --router-yellow: #fdb427;
    --router-yellow-light: #ffd66c;
    --router-white: #ffffff;
    --router-background: #f4f7fb;
    --router-border: rgba(6, 20, 47, 0.12);
    --router-text: #1f2d43;
    --router-muted: #65738a;
    --router-shadow: 0 24px 55px rgba(6, 20, 47, 0.13);
}

/* =========================================================
   ELEMENTOS GENERALES
========================================================= */

.router-section {
    position: relative;

    padding:
        clamp(4rem, 7vw, 7rem) 0;
}

.router-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;

    margin:
        0 0 1rem;

    color: var(--router-yellow);

    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    line-height: 1.3;
    text-transform: uppercase;
}

.router-eyebrow::before {
    content: "";

    display: block;

    width: 42px;
    height: 3px;

    border-radius: 999px;

    background-color: currentColor;
}

.router-eyebrow--dark {
    color: #b46d00;
}

.router-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding:
        0.8rem 1.25rem;

    border:
        2px solid transparent;

    border-radius: 999px;

    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.router-button:hover {
    transform: translateY(-3px);
}

.router-button:focus-visible {
    outline: 3px solid var(--router-yellow);
    outline-offset: 4px;
}

.router-button--primary {
    border-color: var(--router-yellow);

    background:
        linear-gradient(145deg,
            var(--router-yellow),
            var(--router-yellow-light));

    color: var(--router-navy);

    box-shadow:
        0 14px 30px rgba(253, 180, 39, 0.23);
}

.router-button--primary:hover {
    border-color: var(--router-white);

    background: var(--router-white);
    color: var(--router-navy);
}

.router-button--secondary {
    border-color:
        rgba(255, 255, 255, 0.5);

    background-color:
        rgba(255, 255, 255, 0.07);

    color: var(--router-white);
}

.router-button--secondary:hover {
    border-color: var(--router-yellow);

    background-color:
        rgba(253, 180, 39, 0.09);

    color: var(--router-yellow);
}

/* =========================================================
   PORTADA
========================================================= */

.router-hero {
    position: relative;

    min-height: 680px;
    padding:
        clamp(4.5rem, 8vw, 8rem) 0;

    overflow: hidden;

    background:
        radial-gradient(circle at 90% 10%,
            rgba(253, 180, 39, 0.16),
            transparent 25%),
        radial-gradient(circle at 8% 90%,
            rgba(23, 74, 130, 0.42),
            transparent 34%),
        linear-gradient(135deg,
            #06142f 0%,
            #0c2b5c 57%,
            #174a82 100%);
}

.router-hero::before {
    content: "";

    position: absolute;
    inset:
        auto -8% -23% auto;

    width:
        clamp(280px, 38vw, 620px);
    aspect-ratio: 1;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    pointer-events: none;
}

.router-hero__decoration {
    position: absolute;
    top: 16%;
    left: -80px;

    width: 180px;
    height: 180px;

    border:
        32px solid rgba(253, 180, 39, 0.07);

    border-radius: 50%;

    pointer-events: none;
}

.router-hero__layout {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr) minmax(390px, 0.95fr);

    align-items: center;
    gap:
        clamp(3rem, 7vw, 7rem);
}

.router-hero__content {
    max-width: 750px;
}

.router-hero h1 {
    max-width: 760px;

    margin:
        0 0 1.35rem;

    color: var(--router-white);

    font-size:
        clamp(3.1rem, 6vw, 6rem);

    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.router-hero h1 span {
    display: block;

    margin-top: 0.22em;

    color: var(--router-yellow);
}

.router-hero__description {
    max-width: 630px;

    margin:
        0 0 1.7rem;

    color:
        rgba(255, 255, 255, 0.76);

    font-size:
        clamp(1rem, 1.4vw, 1.15rem);

    line-height: 1.7;
}

.router-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;

    margin-bottom: 2rem;
}

.router-hero__features span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    padding:
        0.58rem 0.82rem;

    border:
        1px solid rgba(255, 255, 255, 0.15);

    border-radius: 999px;

    background-color:
        rgba(255, 255, 255, 0.07);

    color: var(--router-white);

    font-size: 0.74rem;
    font-weight: 750;
}

.router-hero__features span::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background-color: var(--router-yellow);
}

.router-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* =========================================================
   IMAGEN DE PORTADA
========================================================= */

.router-hero__visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 520px;
    padding: 1rem;
}

.router-hero__visual::before {
    content: "";

    position: absolute;
    top: 12%;
    left: 6%;

    width: 160px;
    height: 160px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(253, 180, 39, 0.18) 0%,
            rgba(253, 180, 39, 0.04) 60%,
            transparent 100%);

    filter: blur(6px);
    z-index: 1;
}

.router-hero__visual::after {
    content: "";

    position: absolute;
    right: 3%;
    bottom: 10%;

    width: 210px;
    height: 210px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(255, 255, 255, 0.09) 0%,
            rgba(255, 255, 255, 0.02) 62%,
            transparent 100%);

    filter: blur(10px);
    z-index: 1;
}

.router-hero__image-frame {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: min(100%, 590px);
    min-height: 430px;
    padding: 1.1rem;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 42px 120px 42px 120px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.05));

    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(10px);
}

.router-hero__image-frame::before {
    content: "";

    position: absolute;
    inset: 16px;

    border: 1px solid rgba(253, 180, 39, 0.28);
    border-radius: 34px 105px 34px 105px;

    pointer-events: none;
    z-index: 1;
}

.router-hero__image-frame::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -24px;

    transform: translateX(-50%);

    width: 70%;
    height: 36px;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.28);
    filter: blur(18px);

    z-index: 0;
}

.router-hero__image-frame img {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    height: 100%;

    min-height: 360px;

    object-fit: cover;
    object-position: center;

    border-radius: 28px 96px 28px 96px;

    box-shadow:
        0 20px 38px rgba(0, 0, 0, 0.24);

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.router-hero__visual:hover .router-hero__image-frame img {
    transform: scale(1.03);
    filter: brightness(1.02);
}

.router-hero__badge {
    position: absolute;
    right: -6px;
    bottom: 22px;
    z-index: 4;

    display: flex;
    align-items: center;
    gap: 0.75rem;

    max-width: 255px;
    padding: 0.9rem 1rem;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;

    background-color: rgba(6, 20, 47, 0.92);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.32);

    backdrop-filter: blur(12px);
}

.router-hero__badge strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 60px;
    min-height: 60px;

    border-radius: 16px;

    background: linear-gradient(145deg, #fdb427, #ffd66c);
    color: var(--router-navy);

    font-size: 0.88rem;
    font-weight: 950;
    letter-spacing: 0.06em;

    box-shadow:
        0 10px 22px rgba(253, 180, 39, 0.25);
}

.router-hero__badge span {
    color: rgba(255, 255, 255, 0.86);

    font-size: 0.8rem;
    font-weight: 780;
    line-height: 1.35;
}

/* =========================================================
   TÍTULOS DE SECCIÓN
========================================================= */

.router-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) minmax(260px, 0.55fr);

    align-items: end;
    gap: 2rem;

    margin-bottom:
        clamp(2.5rem, 5vw, 4rem);
}

.router-heading h2,
.router-applications__content h2 {
    max-width: 760px;

    margin: 0;

    color: var(--router-navy);

    font-size:
        clamp(2.3rem, 4vw, 4.2rem);

    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.router-heading>p,
.router-applications__content>p {
    margin: 0;

    color: var(--router-muted);

    font-size: 0.96rem;
    line-height: 1.7;
}

.router-heading--center {
    display: flex;
    justify-content: center;

    text-align: center;
}

.router-heading--center>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================================
   SERVICIOS
========================================================= */

.router-services {
    background:
        linear-gradient(180deg,
            #ffffff,
            #f5f8fc);
}

.router-services__grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        clamp(1rem, 2vw, 1.5rem);
}

.router-service-card {
    position: relative;

    min-height: 280px;
    padding:
        clamp(1.5rem, 3vw, 2.3rem);

    overflow: hidden;

    border:
        1px solid var(--router-border);

    border-radius: 26px;

    background-color: var(--router-white);

    box-shadow:
        0 16px 38px rgba(6, 20, 47, 0.08);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.router-service-card::after {
    content: "";

    position: absolute;
    right: -65px;
    bottom: -65px;

    width: 150px;
    height: 150px;

    border-radius: 50%;

    background-color:
        rgba(253, 180, 39, 0.09);

    transition:
        transform 0.3s ease;
}

.router-service-card:hover {
    border-color:
        rgba(253, 180, 39, 0.65);

    box-shadow: var(--router-shadow);

    transform: translateY(-7px);
}

.router-service-card:hover::after {
    transform: scale(1.25);
}

.router-service-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 53px;
    height: 53px;

    margin-bottom: 2rem;

    border-radius: 16px;

    background:
        linear-gradient(145deg,
            var(--router-navy),
            var(--router-blue));

    color: var(--router-yellow);

    font-size: 0.78rem;
    font-weight: 950;
}

.router-service-card h3 {
    position: relative;
    z-index: 2;

    margin:
        0 0 0.75rem;

    color: var(--router-navy);

    font-size:
        clamp(1.3rem, 2vw, 1.65rem);

    line-height: 1.15;
}

.router-service-card p {
    position: relative;
    z-index: 2;

    max-width: 370px;

    margin: 0;

    color: var(--router-muted);

    font-size: 0.91rem;
    line-height: 1.65;
}

/* =========================================================
   MATERIALES Y APLICACIONES
========================================================= */

.router-applications {
    overflow: hidden;

    background:
        radial-gradient(circle at 5% 15%,
            rgba(253, 180, 39, 0.1),
            transparent 24%),
        var(--router-background);
}

.router-applications__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.85fr) minmax(420px, 1.15fr);

    align-items: center;
    gap:
        clamp(3rem, 7vw, 7rem);
}

.router-applications__content {
    max-width: 650px;
}

.router-applications__content h2 {
    margin-bottom: 1.25rem;
}

.router-materials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;

    margin-top: 1.7rem;
}

.router-materials span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    padding:
        0.62rem 0.85rem;

    border:
        1px solid rgba(6, 20, 47, 0.13);

    border-radius: 999px;

    background-color: var(--router-white);

    color: var(--router-navy);

    font-size: 0.74rem;
    font-weight: 800;

    box-shadow:
        0 8px 18px rgba(6, 20, 47, 0.05);
}

.router-materials span::before {
    content: "";

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background-color: var(--router-yellow);
}

.router-applications__cards {
    display: grid;
    gap: 1rem;
}

.router-applications__cards article {
    display: grid;
    grid-template-columns:
        auto minmax(0, 1fr);

    align-items: center;
    gap: 1.1rem;

    min-height: 125px;
    padding:
        1.25rem 1.35rem;

    border:
        1px solid var(--router-border);

    border-radius: 22px;

    background-color: var(--router-white);

    box-shadow:
        0 14px 32px rgba(6, 20, 47, 0.07);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.router-applications__cards article:hover {
    border-color:
        rgba(253, 180, 39, 0.7);

    transform: translateX(7px);
}

.router-applications__cards article>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    border-radius: 16px;

    background-color:
        rgba(253, 180, 39, 0.14);

    color: #a76000;

    font-size: 0.76rem;
    font-weight: 950;
}

.router-applications__cards h3 {
    margin:
        0 0 0.35rem;

    color: var(--router-navy);

    font-size: 1.08rem;
    line-height: 1.2;
}

.router-applications__cards p {
    margin: 0;

    color: var(--router-muted);

    font-size: 0.86rem;
    line-height: 1.55;
}

/* =========================================================
   PROCESO DE TRABAJO
========================================================= */

.router-process {
    background-color: var(--router-white);
}

.router-process__steps {
    position: relative;

    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1.2rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

.router-process__steps::before {
    content: "";

    position: absolute;
    top: 38px;
    right: 16%;
    left: 16%;

    height: 2px;

    background:
        linear-gradient(90deg,
            transparent,
            var(--router-yellow),
            transparent);

    opacity: 0.55;
}

.router-process__steps li {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 235px;
    padding:
        0 clamp(1rem, 2vw, 1.8rem);

    text-align: center;
}

.router-process__steps li>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    margin-bottom: 1.35rem;

    border:
        7px solid var(--router-white);

    border-radius: 50%;

    background:
        linear-gradient(145deg,
            var(--router-navy),
            var(--router-blue));

    color: var(--router-yellow);

    font-size: 0.8rem;
    font-weight: 950;

    box-shadow:
        0 14px 28px rgba(6, 20, 47, 0.18);
}

.router-process__steps h3 {
    margin:
        0 0 0.6rem;

    color: var(--router-navy);

    font-size: 1.18rem;
}

.router-process__steps p {
    max-width: 290px;

    margin: 0;

    color: var(--router-muted);

    font-size: 0.88rem;
    line-height: 1.6;
}

/* =========================================================
   LLAMADO FINAL
========================================================= */

.router-cta {
    position: relative;

    padding:
        clamp(4rem, 7vw, 7rem) 0;

    overflow: hidden;

    background:
        radial-gradient(circle at 92% 8%,
            rgba(253, 180, 39, 0.18),
            transparent 25%),
        linear-gradient(135deg,
            var(--router-navy),
            var(--router-blue));
}

.router-cta::after {
    content: "CNC";

    position: absolute;
    right: -1rem;
    bottom: -2.5rem;

    color:
        rgba(255, 255, 255, 0.025);

    font-size:
        clamp(10rem, 25vw, 21rem);

    font-weight: 950;
    line-height: 1;

    pointer-events: none;
}

.router-cta__content {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr) auto;

    align-items: center;
    gap: 3rem;
}

.router-cta h2 {
    max-width: 750px;

    margin:
        0 0 1rem;

    color: var(--router-white);

    font-size:
        clamp(2.4rem, 4.7vw, 4.6rem);

    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.045em;
}

.router-cta__content>div:first-child>p:last-child {
    max-width: 680px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.73);

    font-size: 0.97rem;
    line-height: 1.7;
}

.router-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;

    min-width: 250px;
}

.router-cta__email {
    color:
        rgba(255, 255, 255, 0.78);

    font-size: 0.83rem;
    font-weight: 750;
    text-decoration: none;

    transition:
        color 0.25s ease;
}

.router-cta__email:hover {
    color: var(--router-yellow);
}

/* =========================================================
   PANTALLAS GRANDES
========================================================= */

@media (min-width: 1600px) {
    .router-hero {
        min-height: 760px;
    }

    .router-hero__layout {
        grid-template-columns:
            minmax(0, 1.05fr) minmax(520px, 0.95fr);
    }

    .router-hero__image-frame {
        width: 620px;
        min-height: 500px;
    }

    .router-hero__image-frame img {
        height: 450px;
    }
}

/* =========================================================
   NOTEBOOK Y TABLET HORIZONTAL
========================================================= */

@media (max-width: 1100px) {
    .router-hero__layout {
        grid-template-columns:
            minmax(0, 1fr) minmax(330px, 0.85fr);

        gap: 3rem;
    }

    .router-hero h1 {
        font-size:
            clamp(3rem, 6vw, 4.7rem);
    }

    .router-hero__visual {
        min-height: 460px;
    }

    .router-hero__image-frame {
        width: min(100%, 520px);
        min-height: 390px;
    }

    .router-hero__image-frame img {
        min-height: 320px;
    }

    .router-applications__layout {
        grid-template-columns:
            minmax(0, 0.8fr) minmax(380px, 1.2fr);

        gap: 3.5rem;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
    .router-hero {
        min-height: auto;

        padding:
            5rem 0;
    }

    .router-hero__layout {
        grid-template-columns: 1fr;

        gap: 3.5rem;
    }

    .router-hero__content {
        max-width: 760px;
    }

    .router-hero__visual {
        width: 100%;
        min-height: 430px;
        padding: 0.5rem;
    }

    .router-hero__image-frame {
        width: min(100%, 620px);
        min-height: 390px;
        border-radius: 34px 90px 34px 90px;
    }

    .router-hero__image-frame::before {
        border-radius: 28px 72px 28px 72px;
    }

    .router-hero__image-frame img {
        min-height: 320px;
        border-radius: 22px 68px 22px 68px;
    }

    .router-hero__badge {
        right: 1rem;
        bottom: 12px;
    }

    .router-heading {
        grid-template-columns: 1fr;

        align-items: start;
    }

    .router-heading>p {
        max-width: 620px;
    }

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

    .router-service-card:last-child {
        grid-column: 1 / -1;

        min-height: 230px;
    }

    .router-applications__layout {
        grid-template-columns: 1fr;

        gap: 3rem;
    }

    .router-applications__content {
        max-width: 760px;
    }

    .router-cta__content {
        grid-template-columns: 1fr;

        align-items: start;
    }

    .router-cta__actions {
        align-items: flex-start;

        min-width: 0;
    }
}

/* =========================================================
   TABLET VERTICAL Y CELULAR GRANDE
========================================================= */

@media (max-width: 720px) {
    .router-section {
        padding:
            4rem 0;
    }

    .router-hero {
        padding:
            4rem 0;
    }

    .router-hero h1 {
        font-size:
            clamp(2.8rem, 12vw, 4.2rem);
    }

    .router-hero__description {
        font-size: 0.97rem;
    }

    .router-hero__visual {
        min-height: 360px;
    }

    .router-hero__image-frame {
        min-height: 320px;
        padding: 0.9rem;

        border-radius: 28px 70px 28px 70px;
    }

    .router-hero__image-frame::before {
        inset: 12px;
        border-radius: 20px 52px 20px 52px;
    }

    .router-hero__image-frame img {
        min-height: 260px;
        border-radius: 18px 48px 18px 48px;
    }

    .router-hero__badge {
        right: 0.7rem;
        bottom: -6px;

        max-width: 220px;
    }

    .router-services__grid {
        grid-template-columns: 1fr;
    }

    .router-service-card,
    .router-service-card:last-child {
        grid-column: auto;

        min-height: 230px;
    }

    .router-process__steps {
        grid-template-columns: 1fr;

        gap: 2rem;
    }

    .router-process__steps::before {
        top: 35px;
        bottom: 35px;
        left: 37px;

        width: 2px;
        height: auto;

        background:
            linear-gradient(180deg,
                transparent,
                var(--router-yellow),
                transparent);
    }

    .router-process__steps li {
        display: grid;
        grid-template-columns:
            auto minmax(0, 1fr);

        align-items: start;
        gap: 1rem;

        min-height: 0;
        padding: 0;

        text-align: left;
    }

    .router-process__steps li>span {
        width: 74px;
        height: 74px;

        margin: 0;
    }

    .router-process__steps h3 {
        margin-top: 0.55rem;
    }

    .router-process__steps p {
        max-width: 520px;
    }

    .router-cta__actions {
        width: 100%;
    }

    .router-cta__actions .router-button {
        width: 100%;
    }
}

/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 560px) {
    .router-eyebrow {
        font-size: 0.69rem;
    }

    .router-eyebrow::before {
        width: 30px;
    }

    .router-hero__layout {
        gap: 2.7rem;
    }

    .router-hero h1 {
        font-size:
            clamp(2.6rem, 13vw, 3.65rem);
    }

    .router-hero__features {
        display: grid;
        grid-template-columns: 1fr;

        gap: 0.5rem;
    }

    .router-hero__features span {
        justify-content: flex-start;

        width: 100%;
    }

    .router-hero__actions {
        flex-direction: column;

        width: 100%;
    }

    .router-hero__actions .router-button {
        width: 100%;
    }

    .router-hero__visual {
        min-height: 300px;
        padding: 0;
    }

    .router-hero__image-frame {
        min-height: 265px;
        padding: 0.65rem;

        border-radius: 22px 44px 22px 44px;
    }

    .router-hero__image-frame::before {
        inset: 9px;
        border-radius: 16px 34px 16px 34px;
    }

    .router-hero__image-frame img {
        min-height: 220px;
        border-radius: 14px 28px 14px 28px;
    }

    .router-hero__badge {
        right: 0.2rem;
        bottom: -18px;

        max-width: 190px;
        padding: 0.7rem 0.78rem;
    }

    .router-hero__badge strong {
        min-width: 48px;
        min-height: 48px;

        font-size: 0.72rem;
    }

    .router-hero__badge span {
        font-size: 0.69rem;
    }

    .router-heading h2,
    .router-applications__content h2 {
        font-size:
            clamp(2.15rem, 10vw, 3.1rem);
    }

    .router-service-card {
        padding: 1.4rem;

        border-radius: 21px;
    }

    .router-service-card__number {
        margin-bottom: 1.4rem;
    }

    .router-materials {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .router-materials span {
        justify-content: flex-start;

        width: 100%;
    }

    .router-applications__cards article {
        grid-template-columns: 1fr;

        align-items: start;
    }

    .router-applications__cards article>span {
        width: 45px;
        height: 45px;
    }

    .router-process__steps::before {
        left: 32px;
    }

    .router-process__steps li {
        grid-template-columns:
            64px minmax(0, 1fr);
    }

    .router-process__steps li>span {
        width: 64px;
        height: 64px;

        border-width: 5px;
    }

    .router-process__steps h3 {
        margin-top: 0.35rem;
    }

    .router-cta h2 {
        font-size:
            clamp(2.25rem, 11vw, 3.35rem);
    }
}

/* =========================================================
   CELULARES PEQUEÑOS
========================================================= */

@media (max-width: 380px) {
    .router-materials {
        grid-template-columns: 1fr;
    }

    .router-hero__badge {
        position: relative;
        right: auto;
        bottom: auto;

        margin: -0.4rem auto 0;
    }

    .router-hero__visual {
        flex-direction: column;
        min-height: auto;
    }
}

/* =========================================================
   ACCESIBILIDAD Y MOVIMIENTO REDUCIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .router-button,
    .router-hero__image-frame img,
    .router-service-card,
    .router-applications__cards article {
        transition: none;
    }
}

/* =========================
       TRABAJOS CNC ROUTER
    ========================= */
.router-trabajos-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
}

.router-trabajos__encabezado {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}

.router-trabajos__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b9770e;
}

.router-trabajos__texto h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
    color: #0b1d51;
}

.router-trabajos__descripcion {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #5f728f;
}

.router-carrusel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.router-carrusel__viewport {
    overflow: hidden;
    width: 100%;
}

.router-carrusel__track {
    display: flex;
    gap: 22px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.router-card {
    flex: 0 0 calc((100% - 44px) / 3);
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(11, 29, 81, 0.08);
    border: 1px solid rgba(11, 29, 81, 0.08);
}

.router-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eaf0f7;
}

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

.router-card:hover .router-card__image img {
    transform: scale(1.04);
}

.router-card__content {
    padding: 22px 22px 24px;
}

.router-card__tag {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #b9770e;
}

.router-card__content h3 {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.25;
    color: #0b1d51;
}

.router-carrusel__btn {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: #0b1d51;
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(11, 29, 81, 0.18);
    transition: all 0.25s ease;
}

.router-carrusel__btn:hover {
    background: #f2b632;
    color: #0b1d51;
    transform: translateY(-2px);
}

.router-carrusel__dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.router-carrusel__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: none;
    background: #cfd8e6;
    cursor: pointer;
    transition: all 0.25s ease;
}

.router-carrusel__dot.active {
    background: #f2b632;
    transform: scale(1.15);
}

/* TABLET */
@media (max-width: 991px) {
    .router-trabajos__encabezado {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .router-card {
        flex: 0 0 calc((100% - 22px) / 2);
    }
}

/* CELULAR */
@media (max-width: 640px) {
    .router-trabajos-section {
        padding: 70px 0;
    }

    .router-carrusel {
        gap: 10px;
    }

    .router-carrusel__btn {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .router-card {
        flex: 0 0 100%;
    }

    .router-card__content {
        padding: 18px;
    }

    .router-card__content h3 {
        font-size: 1.18rem;
    }

    .router-trabajos__descripcion {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* =========================================================
   INGPRO — RESUMEN COMPACTO CNC ROUTER
========================================================= */

.router-resumen {
    position: relative;

    padding:
        clamp(3.5rem, 6vw, 5.5rem)
        0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 20%,
            rgba(253, 180, 39, 0.11),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f4f7fb 100%
        );
}

.router-resumen::before {
    content: "";

    position: absolute;
    top: 20px;
    right: -90px;

    width: 260px;
    height: 260px;

    border: 45px solid rgba(7, 25, 54, 0.025);
    border-radius: 50%;

    pointer-events: none;
}

.router-resumen__grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(260px, 0.85fr)
        minmax(360px, 1.15fr);

    align-items: center;
    gap: 1.15rem;
}

/* =========================================================
   TARJETAS DEL RESUMEN
========================================================= */

.router-resumen-card {
    position: relative;

    min-width: 0;
    overflow: hidden;

    border: 1px solid rgba(7, 25, 54, 0.1);
    border-radius: 28px;

    box-shadow:
        0 18px 45px rgba(7, 25, 54, 0.1);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.router-resumen-card:hover {
    border-color: rgba(253, 180, 39, 0.7);

    box-shadow:
        0 27px 60px rgba(7, 25, 54, 0.16);

    transform: translateY(-8px);
}

/* TARJETA GRANDE */

.router-resumen-card--principal {
    min-height: 275px;
    padding:
        clamp(1.8rem, 3vw, 2.7rem);

    background:
        radial-gradient(
            circle at 95% 8%,
            rgba(253, 180, 39, 0.2),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #071936,
            #123b71
        );

    transform: translateY(8px);
}

.router-resumen-card--principal:hover {
    transform: translateY(0);
}

.router-resumen__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;

    margin:
        0
        0
        1rem;

    color: #fdb427;

    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.router-resumen__eyebrow::before {
    content: "";

    width: 38px;
    height: 3px;

    border-radius: 999px;

    background-color: currentColor;
}

.router-resumen-card--principal h2 {
    position: relative;
    z-index: 2;

    max-width: 630px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            2rem,
            3.5vw,
            3.7rem
        );

    line-height: 1.02;
    letter-spacing: -0.045em;
}

.router-resumen__numero {
    position: absolute;
    right: 1.4rem;
    bottom: 0.8rem;

    color: rgba(255, 255, 255, 0.055);

    font-size:
        clamp(
            5.5rem,
            10vw,
            9rem
        );

    font-weight: 950;
    line-height: 1;

    pointer-events: none;
}

/* TARJETA DE TEXTO */

.router-resumen-card--descripcion {
    min-height: 245px;
    padding:
        1.8rem
        1.65rem;

    background-color: #ffffff;

    transform: translateY(-10px);
}

.router-resumen-card--descripcion:hover {
    transform: translateY(-18px);
}

.router-resumen__etiqueta {
    display: inline-flex;

    margin-bottom: 1rem;
    padding:
        0.48rem
        0.72rem;

    border-radius: 999px;

    background-color: rgba(253, 180, 39, 0.15);
    color: #9f6200;

    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.router-resumen-card--descripcion p {
    margin:
        0
        0
        1.25rem;

    color: #65738a;

    font-size: 0.94rem;
    line-height: 1.7;
}

.router-resumen-card--descripcion a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;

    color: #071936;

    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
}

.router-resumen-card--descripcion a span {
    color: #d88900;

    font-size: 1.15rem;

    transition:
        transform 0.25s ease;
}

.router-resumen-card--descripcion a:hover span {
    transform: translateX(5px);
}

/* =========================================================
   MATERIALES TIPO BENTO
========================================================= */

.router-resumen-card--materiales {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    grid-auto-rows: minmax(72px, auto);

    gap: 0.65rem;

    min-height: 260px;
    padding: 0.8rem;

    background:
        linear-gradient(
            145deg,
            #eef3f9,
            #ffffff
        );

    transform: translateY(5px);
}

.router-resumen-card--materiales:hover {
    transform: translateY(-3px);
}

.router-material-card {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    padding: 0.75rem;

    border: 1px solid rgba(7, 25, 54, 0.09);
    border-radius: 17px;

    background-color: #ffffff;
    color: #071936;

    font-size: 0.74rem;
    font-weight: 850;
    line-height: 1.3;
    text-align: center;

    box-shadow:
        0 8px 18px rgba(7, 25, 54, 0.06);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.router-material-card:hover {
    background-color: #fdb427;
    color: #071936;

    transform: translateY(-4px);
}

.router-material-card--principal {
    grid-column: span 2;
    grid-row: span 2;

    flex-direction: column;
    gap: 0.25rem;

    background:
        linear-gradient(
            145deg,
            #071936,
            #123b71
        );

    color: #ffffff;
}

.router-material-card--principal strong {
    color: #fdb427;

    font-size: 1.2rem;
}

.router-material-card--principal small {
    color: rgba(255, 255, 255, 0.72);

    font-size: 0.68rem;
}

.router-material-card--principal:hover {
    background:
        linear-gradient(
            145deg,
            #123b71,
            #174a82
        );

    color: #ffffff;
}

.router-material-card--ancho {
    grid-column: span 2;

    background-color: rgba(253, 180, 39, 0.15);
    color: #855200;
}

/* =========================================================
   PROCESO COMPACTO Y FLOTANTE
========================================================= */

.router-proceso {
    position: relative;

    padding:
        clamp(4rem, 6vw, 5.5rem)
        0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 92% 10%,
            rgba(253, 180, 39, 0.15),
            transparent 24%
        ),
        linear-gradient(
            135deg,
            #071936,
            #14295c
        );
}

.router-proceso::after {
    content: "CNC";

    position: absolute;
    right: -1rem;
    bottom: -4.5rem;

    color: rgba(255, 255, 255, 0.018);

    font-size:
        clamp(
            10rem,
            25vw,
            22rem
        );

    font-weight: 950;
    line-height: 1;

    pointer-events: none;
}

.router-proceso__encabezado {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 0.48fr);

    align-items: end;
    gap: 2rem;

    margin-bottom: 2rem;
}

.router-proceso__eyebrow {
    margin:
        0
        0
        0.7rem;

    color: #fdb427;

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.router-proceso__encabezado h2 {
    max-width: 700px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            2.1rem,
            4vw,
            3.8rem
        );

    line-height: 1;
    letter-spacing: -0.04em;
}

.router-proceso__encabezado > p {
    max-width: 430px;

    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.9rem;
    line-height: 1.65;
}

/* =========================================================
   TARJETAS DEL PROCESO
========================================================= */

.router-proceso__grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        repeat(12, minmax(0, 1fr));

    align-items: stretch;
    gap: 0.9rem;
}

.router-proceso-card {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 215px;
    padding:
        1.4rem
        1.3rem;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 22px;

    background-color:
        rgba(255, 255, 255, 0.075);

    box-shadow:
        0 18px 40px
        rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(8px);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease;
}

.router-proceso-card:hover {
    border-color:
        rgba(253, 180, 39, 0.7);

    background-color:
        rgba(255, 255, 255, 0.11);

    transform: translateY(-8px);
}

.router-proceso-card--solicitud {
    grid-column: span 4;

    transform: translateY(7px);
}

.router-proceso-card--solicitud:hover {
    transform: translateY(-1px);
}

.router-proceso-card--evaluacion {
    grid-column: span 2;

    min-height: 185px;

    transform: translateY(-7px);
}

.router-proceso-card--evaluacion:hover {
    transform: translateY(-15px);
}

.router-proceso-card--cotizacion {
    grid-column: span 3;

    transform: translateY(8px);
}

.router-proceso-card--cotizacion:hover {
    transform: translateY(0);
}

.router-proceso-card--fabricacion {
    grid-column: span 3;

    min-height: 195px;

    transform: translateY(-5px);
}

.router-proceso-card--fabricacion:hover {
    transform: translateY(-13px);
}

.router-proceso-card__numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-bottom: 2rem;

    border-radius: 13px;

    background-color: #fdb427;
    color: #071936;

    font-size: 0.72rem;
    font-weight: 950;

    box-shadow:
        0 9px 20px
        rgba(253, 180, 39, 0.2);
}

.router-proceso-card h3 {
    margin:
        0
        0
        0.5rem;

    color: #ffffff;

    font-size: 1.15rem;
}

.router-proceso-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.79rem;
    line-height: 1.55;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {
    .router-resumen__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .router-resumen-card--materiales {
        grid-column: 1 / -1;

        min-height: 230px;
    }

    .router-proceso-card--solicitud,
    .router-proceso-card--evaluacion,
    .router-proceso-card--cotizacion,
    .router-proceso-card--fabricacion {
        grid-column: span 6;

        min-height: 200px;

        transform: none;
    }

    .router-proceso-card:hover {
        transform: translateY(-7px);
    }
}

/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 680px) {
    .router-resumen {
        padding:
            3.5rem
            0;
    }

    .router-resumen__grid {
        grid-template-columns: 1fr;

        gap: 1rem;
    }

    .router-resumen-card--principal,
    .router-resumen-card--descripcion,
    .router-resumen-card--materiales {
        min-height: auto;

        transform: none;
    }

    .router-resumen-card--principal {
        padding:
            2rem
            1.35rem;
    }

    .router-resumen-card--descripcion {
        padding:
            1.5rem
            1.25rem;
    }

    .router-resumen-card--materiales {
        grid-column: auto;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .router-material-card--principal {
        grid-column: 1 / -1;
        grid-row: auto;

        min-height: 100px;
    }

    .router-material-card--ancho {
        grid-column: 1 / -1;
    }

    .router-proceso__encabezado {
        grid-template-columns: 1fr;

        gap: 1rem;
    }

    .router-proceso__grid {
        grid-template-columns: 1fr;
    }

    .router-proceso-card--solicitud,
    .router-proceso-card--evaluacion,
    .router-proceso-card--cotizacion,
    .router-proceso-card--fabricacion {
        grid-column: auto;

        min-height: 175px;

        transform: none;
    }
}

/* =========================================================
   MOVIMIENTO REDUCIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .router-resumen-card,
    .router-material-card,
    .router-proceso-card {
        transition: none;
    }
}
}

/* Contraste del texto superior en la portada CNC Router */
.router-hero .router-hero__eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    color: #fdb427 !important;
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

