/* =========================================================
   ESTILOS DE LA PÁGINA DE SERVICIOS
========================================================= */

.services-page {
    margin: 0;
    background: #061a2a;
}

.services-main {
    width: 100%;
}

/* =========================================================
   PRIMERA SECCIÓN
========================================================= */

.services-hero {
    position: relative;
    isolation: isolate;

    /* La sección ocupa exactamente una pantalla. */
    width: 100%;
    height: 100svh;
    min-height: 0;
    box-sizing: border-box;
    overflow: hidden;

    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: stretch;

    /*
       Espacio superior para el navegador.
       El contenido y la franja inferior quedan dentro
       de la misma pantalla.
    */
    padding:
        clamp(118px, 15vh, 150px)
        clamp(28px, 6vw, 100px)
        22px;

    /* NOMBRE EXACTO DE TU ARCHIVO */
}

/* Refuerzo suave para que el texto siempre se lea */

/* =========================================================
   CONTENIDO
========================================================= */

.services-hero__content {
    align-self: center;
    position: relative;
    z-index: 2;

    width: min(760px, 56vw);
    margin: 0;
}

.services-hero h1 {
    max-width: 760px;
    margin: 0;

    color: #ffffff;
    font-size: clamp(48px, 4.35vw, 72px);
    line-height: 0.97;
    font-weight: 800;
    letter-spacing: -0.045em;
    text-wrap: balance;

    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
}

.services-hero h1 span {
    display: block;
}

.services-hero__description {
    max-width: 680px;
    margin: 22px 0 0;

    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.58;
}

/* =========================================================
   PANTALLAS DE POCA ALTURA
   Evita que el hero se corte en laptops.
========================================================= */

@media (max-height: 760px) and (min-width: 761px) {

    .services-hero {
        gap: 12px;

        padding:
            104px
            clamp(26px, 6vw, 96px)
            14px;
    }

    .services-hero h1 {
        font-size: clamp(43px, 4vw, 62px);
    }

    .services-hero__description {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.48;
    }

}

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

@media (max-width: 1050px) {

    .services-hero {
        padding-left: 36px;
        padding-right: 36px;

    }

    .services-hero__content {
        width: min(700px, 82vw);
    }

    .services-hero h1 {
        font-size: clamp(46px, 6.4vw, 66px);
    }
}

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

@media (max-width: 760px) {

    .services-hero {
        height: 100svh;
        min-height: 0;

        grid-template-rows: minmax(0, 1fr) auto;
        gap: 10px;

        justify-content: stretch;

        padding:
            116px
            18px
            12px;

    }

}

/* =====================================================
   IMAGEN DE FONDO DEL HERO
===================================================== */

.services-hero {
    background: #061a2a !important;
}

.services-hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

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

    pointer-events: none;
}

/* Degradado encima de la fotografía */
.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(3, 19, 31, 0.78) 0%,
            rgba(3, 19, 31, 0.60) 33%,
            rgba(3, 19, 31, 0.25) 68%,
            rgba(3, 19, 31, 0.08) 100%
        ),
        linear-gradient(
            180deg,
            rgba(3, 19, 31, 0.08) 0%,
            rgba(3, 19, 31, 0.03) 55%,
            rgba(3, 19, 31, 0.48) 100%
        );
}

@media (max-width: 760px) {
    .services-hero__background {
        object-position: 58% center;
    }

    .services-hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(3, 19, 31, 0.14) 0%,
                rgba(3, 19, 31, 0.28) 34%,
                rgba(3, 19, 31, 0.82) 70%,
                rgba(3, 19, 31, 0.96) 100%
            );
    }
}
/* =====================================================
   BOTONES DEL HERO
   Los estilos base se comparten con global.css.
===================================================== */

.services-hero__actions.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.services-hero__actions.hero-buttons
.primary-button,
.services-hero__actions.hero-buttons
.secondary-button {
    width: auto;
    min-width: unset;
    min-height: unset;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

/* =====================================================
   HERO RESPONSIVE
   - Mantiene la fotografía.
   - Ajusta posición, espacios y lectura en pantallas pequeñas.
===================================================== */

.services-hero__title-line {
    display: block;
}

.services-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin: 17px 0 0;

    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;

    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.services-hero__meta span {
    color: rgba(255, 255, 255, 0.5);
}

/* COMPUTADORA */
@media (min-width: 1101px) {

    .services-hero__content {
        width: min(1120px, 72vw);
        max-width: 1120px;
    }

    .services-hero h1 {
        max-width: 1120px;
        font-size: clamp(52px, 4vw, 68px);
        line-height: 0.98;
        letter-spacing: -0.045em;
    }

    .services-hero__title-line {
        white-space: nowrap;
    }

    .services-hero__description {
        max-width: 790px;
    }
}

/* TABLET */
@media (max-width: 1100px) {

    .services-hero__title-line {
        white-space: normal;
    }
}

/* CELULAR */
@media (max-width: 760px) {

    .services-hero {
        padding:
            102px
            18px
            clamp(42px, 8svh, 58px);

    }

    .services-hero__content {
        width: 100%;
        align-self: end;
    }

    .services-hero h1 {
        max-width: 100%;
        font-size: clamp(32px, 9.5vw, 41px);
        line-height: 0.99;
        letter-spacing: -0.035em;
    }

    .services-hero__description {
        max-width: 100%;
        margin-top: 15px;
        font-size: 13px;
        line-height: 1.5;
    }

    .services-hero__actions.hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 18px;
    }

    .services-hero__actions.hero-buttons .primary-button,
    .services-hero__actions.hero-buttons .secondary-button {
        width: 100%;
        min-height: 48px;
        justify-content: center;
        padding: 11px 16px;
    }

    .services-hero__meta {
        gap: 6px;
        margin-top: 15px;
        font-size: 11px;
        line-height: 1.4;
    }
}

/* CELULARES DE POCA ALTURA */
@media (max-width: 760px) and (max-height: 700px) {

    .services-hero {
        padding:
            90px
            16px
            24px;
    }

    .services-hero h1 {
        font-size: clamp(29px, 8.9vw, 35px);
    }

    .services-hero__description {
        margin-top: 11px;
        font-size: 12px;
        line-height: 1.42;
    }

    .services-hero__actions.hero-buttons {
        gap: 8px;
        margin-top: 13px;
    }

    .services-hero__actions.hero-buttons .primary-button,
    .services-hero__actions.hero-buttons .secondary-button {
        min-height: 43px;
        padding-top: 9px;
        padding-bottom: 9px;
        font-size: 12px;
    }

    .services-hero__meta {
        margin-top: 10px;
        font-size: 10px;
    }
}

/* =====================================================
   SEGUNDA SECCIÓN — SERVICIOS INTERACTIVOS COMPACTOS

   OBJETIVOS:
   - En computadora, toda la sección entra en una pantalla.
   - Título, botones, fotografía y texto son más pequeños.
   - Los selectores usan iconos y esquinas redondeadas.
   - El texto no tiene una tarjeta blanca.
===================================================== */

.services-showcase {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    height: 100svh;
    min-height: 650px;
    box-sizing: border-box;

    scroll-margin-top: 92px;

    padding:
        clamp(82px, 9.5vh, 102px)
        clamp(24px, 5.2vw, 84px)
        clamp(18px, 3vh, 32px);

    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #eef3f7 100%
        );

    color: #071722;
}

.services-showcase__inner {
    position: relative;
    z-index: 2;

    width: min(1440px, 100%);
    height: 100%;
    margin: 0 auto;

    display: grid;
    grid-template-rows:
        auto
        auto
        minmax(0, 1fr);
    gap: clamp(13px, 2vh, 22px);
}

.services-showcase__decor {
    position: absolute;
    z-index: 0;

    border-radius: 50%;
    pointer-events: none;
}

.services-showcase__decor--one {
    top: -180px;
    right: -135px;

    width: 440px;
    height: 440px;

    background:
        radial-gradient(
            circle,
            rgba(20, 155, 233, 0.13) 0%,
            rgba(20, 155, 233, 0) 70%
        );
}

.services-showcase__decor--two {
    bottom: -240px;
    left: -190px;

    width: 520px;
    height: 520px;

    background:
        radial-gradient(
            circle,
            rgba(7, 47, 75, 0.09) 0%,
            rgba(7, 47, 75, 0) 70%
        );
}

/* =====================================================
   ENCABEZADO COMPACTO
===================================================== */

.services-showcase__header {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-showcase__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin: 0 0 8px;

    color: #0d6396;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.services-showcase__eyebrow::before,
.services-showcase__eyebrow::after {
    content: "";

    width: 24px;
    height: 1px;

    background: rgba(13, 99, 150, 0.48);
}

.services-showcase__header h2 {
    max-width: 800px;
    margin: 0 auto;

    color: #071722;
    font-size: clamp(34px, 3.35vw, 54px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.services-showcase__intro {
    max-width: 650px;
    margin: 11px auto 0;

    color: #586874;
    font-size: clamp(13px, 0.95vw, 15px);
    line-height: 1.48;
}

/* =====================================================
   SELECTORES CON ICONOS
===================================================== */

.services-switcher {
    position: relative;
    z-index: 6;

    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(7px, 0.8vw, 12px);

    width: 100%;
}

.service-tab {
    min-width: 0;
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;

    padding: 9px 12px;

    border: 1px solid rgba(7, 23, 34, 0.11);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.74);
    color: #52616c;

    text-align: left;
    cursor: pointer;

    box-shadow: 0 9px 24px rgba(31, 55, 72, 0.055);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

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

.service-tab:hover {
    transform: translateY(-2px);

    border-color: rgba(20, 155, 233, 0.34);
    background: rgba(255, 255, 255, 0.96);
    color: #071722;
}

.service-tab:focus-visible {
    outline: 3px solid rgba(20, 155, 233, 0.25);
    outline-offset: 2px;
}

.service-tab.is-active {
    border-color: #071722;

    background: #071722;
    color: #ffffff;

    box-shadow: 0 13px 28px rgba(7, 23, 34, 0.18);
}

.service-tab__icon {
    width: 29px;
    height: 29px;
    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: rgba(20, 155, 233, 0.11);
    color: #0d6396;

    transition:
        background-color 0.24s ease,
        color 0.24s ease;
}

.service-tab.is-active .service-tab__icon {
    background: rgba(255, 255, 255, 0.12);
    color: #73c8ff;
}

.service-tab__icon svg {
    width: 18px;
    height: 18px;

    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-tab__label {
    min-width: 0;

    font-size: clamp(10px, 0.79vw, 12px);
    font-weight: 800;
    line-height: 1.18;
}

/* =====================================================
   ESCENARIO DINÁMICO
===================================================== */

.service-stage {
    position: relative;

    min-height: 0;
    height: 100%;

    display: grid;
    align-items: center;
}

.service-stage--image-left {
    grid-template-columns:
        minmax(0, 1.03fr)
        minmax(330px, 0.97fr);
}

.service-stage--image-right {
    grid-template-columns:
        minmax(330px, 0.97fr)
        minmax(0, 1.03fr);
}

.service-stage__visual {
    position: relative;
    z-index: 3;

    min-width: 0;
    height: min(43vh, 410px);

    perspective: 1200px;
}

.service-stage--image-left .service-stage__visual {
    grid-column: 1;
    grid-row: 1;
}

.service-stage--image-right .service-stage__visual {
    grid-column: 2;
    grid-row: 1;
}

.service-stage__glow {
    position: absolute;
    z-index: -1;

    inset: 13% 7% -8%;

    border-radius: 36px;

    background:
        radial-gradient(
            circle,
            rgba(20, 155, 233, 0.21),
            rgba(20, 155, 233, 0)
        );

    filter: blur(25px);
}

.service-stage__image-shell {
    position: relative;

    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: clamp(18px, 1.8vw, 28px);

    background: #dce5eb;

    box-shadow:
        0 26px 60px rgba(17, 42, 60, 0.17),
        0 7px 20px rgba(17, 42, 60, 0.09);

    transform-origin: center center;
}

.service-stage__image {
    width: 100%;
    height: 100%;

    display: block;

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

.service-stage__image-label {
    position: absolute;
    right: 14px;
    bottom: 14px;

    min-height: 32px;

    display: inline-flex;
    align-items: center;

    padding: 0 13px;

    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 999px;

    background: rgba(4, 25, 41, 0.73);
    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);

    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
}

/* =====================================================
   TEXTO SIN TARJETA
   El contenido final queda directamente sobre el fondo.
===================================================== */

.service-stage__content {
    position: relative;
    z-index: 2;

    min-width: 0;
    max-width: 590px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.service-stage--image-left .service-stage__content {
    grid-column: 2;
    grid-row: 1;

    margin-left: -24px;
    padding-left: clamp(64px, 6vw, 102px);
    padding-right: clamp(5px, 1vw, 16px);
}

.service-stage--image-right .service-stage__content {
    grid-column: 1;
    grid-row: 1;

    justify-self: end;

    margin-right: -24px;
    padding-right: clamp(64px, 6vw, 102px);
    padding-left: clamp(5px, 1vw, 16px);
}

.service-stage__eyebrow {
    margin: 0 0 8px;

    color: #0d6396;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.service-stage__title {
    max-width: 560px;
    margin: 0;

    color: #071722;
    font-size: clamp(31px, 2.85vw, 46px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.043em;
    text-wrap: balance;
}

.service-stage__description {
    max-width: 560px;
    margin: 14px 0 0;

    color: #52616d;
    font-size: clamp(13px, 0.94vw, 15px);
    line-height: 1.52;
}

.service-stage__list {
    width: 100%;

    display: grid;
    gap: 7px;

    margin: 16px 0 0;
    padding: 0;

    list-style: none;
}

.service-stage__list li {
    position: relative;

    padding-left: 20px;

    color: #263843;
    font-size: clamp(11px, 0.82vw, 13px);
    font-weight: 700;
    line-height: 1.38;
}

.service-stage__list li::before {
    content: "";

    position: absolute;
    top: 0.48em;
    left: 0;

    width: 7px;
    height: 7px;

    border: 2px solid #149be9;
    border-radius: 50%;
}

.service-stage__cta {
    min-height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    margin-top: 20px;
    padding: 0 18px;

    border-radius: 12px;

    background: #071722;
    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    box-shadow: 0 12px 26px rgba(7, 23, 34, 0.15);

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

.service-stage__cta:hover {
    transform: translateY(-2px);
    background: #0d6396;
}

/* =====================================================
   LAPTOPS CON POCA ALTURA
===================================================== */

@media (min-width: 901px) and (max-height: 760px) {

    .services-showcase {
        min-height: 610px;

        padding:
            76px
            clamp(22px, 4.6vw, 74px)
            14px;
    }

    .services-showcase__inner {
        gap: 10px;
    }

    .services-showcase__header h2 {
        font-size: clamp(31px, 3vw, 46px);
    }

    .services-showcase__intro {
        margin-top: 7px;
        font-size: 12px;
    }

    .service-tab {
        min-height: 48px;
        padding: 7px 10px;
    }

    .service-tab__icon {
        width: 26px;
        height: 26px;
    }

    .service-stage__visual {
        height: min(40vh, 350px);
    }

    .service-stage__title {
        font-size: clamp(29px, 2.6vw, 40px);
    }

    .service-stage__description {
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.42;
    }

    .service-stage__list {
        gap: 5px;
        margin-top: 11px;
    }

    .service-stage__list li {
        font-size: 11px;
    }

    .service-stage__cta {
        min-height: 39px;
        margin-top: 14px;
    }
}

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

@media (max-width: 1180px) {

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

    .service-stage--image-left,
    .service-stage--image-right {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(310px, 0.88fr);
    }

    .service-stage--image-right {
        grid-template-columns:
            minmax(310px, 0.88fr)
            minmax(0, 1fr);
    }

    .service-stage--image-left .service-stage__content {
        padding-left: 65px;
    }

    .service-stage--image-right .service-stage__content {
        padding-right: 65px;
    }
}

@media (max-width: 900px) {

    .services-showcase {
        height: auto;
        min-height: 100svh;

        padding:
            86px
            20px
            72px;
    }

    .services-showcase__inner {
        height: auto;

        display: block;
    }

    .services-showcase__header {
        text-align: left;
    }

    .services-showcase__eyebrow {
        margin-bottom: 10px;
    }

    .services-showcase__eyebrow::after {
        display: none;
    }

    .services-showcase__header h2 {
        font-size: clamp(35px, 7vw, 48px);
    }

    .services-showcase__intro {
        margin: 15px 0 0;
    }

    .services-switcher {
        margin-top: 28px;
    }

    .service-stage,
    .service-stage--image-left,
    .service-stage--image-right {
        grid-template-columns: 1fr;

        height: auto;
        margin-top: 34px;
    }

    .service-stage--image-left .service-stage__visual,
    .service-stage--image-right .service-stage__visual {
        grid-column: 1;
        grid-row: 1;

        height: auto;
        aspect-ratio: 4 / 3;
    }

    .service-stage--image-left .service-stage__content,
    .service-stage--image-right .service-stage__content {
        grid-column: 1;
        grid-row: 2;

        max-width: 100%;
        justify-self: stretch;

        margin: 0;
        padding:
            32px
            clamp(8px, 3vw, 22px)
            0;
    }
}

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

@media (max-width: 700px) {

    .services-showcase {
        padding:
            80px
            16px
            66px;

        scroll-margin-top: 76px;
    }

    .services-showcase__header h2 {
        font-size: clamp(32px, 9.8vw, 42px);
        line-height: 1;
    }

    .services-showcase__intro {
        font-size: 13px;
        line-height: 1.5;
    }

    .services-switcher {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;

        margin-top: 24px;
    }

    .service-tab {
        min-height: 62px;
        gap: 8px;

        padding: 9px 10px;
        border-radius: 15px;
    }

    .service-tab__icon {
        width: 27px;
        height: 27px;
        border-radius: 9px;
    }

    .service-tab__icon svg {
        width: 17px;
        height: 17px;
    }

    .service-tab__label {
        font-size: 10.5px;
    }

    .service-stage {
        margin-top: 28px;
    }

    .service-stage__image-shell {
        border-radius: 18px;
    }

    .service-stage__image-label {
        right: 11px;
        bottom: 11px;

        min-height: 30px;
        padding: 0 11px;

        font-size: 9px;
    }

    .service-stage--image-left .service-stage__content,
    .service-stage--image-right .service-stage__content {
        padding:
            27px
            5px
            0;
    }

    .service-stage__title {
        font-size: clamp(30px, 9vw, 39px);
    }

    .service-stage__description {
        margin-top: 14px;
        font-size: 13px;
        line-height: 1.52;
    }

    .service-stage__list {
        gap: 7px;
        margin-top: 16px;
    }

    .service-stage__list li {
        font-size: 12px;
    }

    .service-stage__cta {
        width: 100%;
        margin-top: 21px;
    }
}

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

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

    .service-tab,
    .service-tab__icon,
    .service-stage__cta {
        transition: none !important;
    }
}

/* =====================================================
   AJUSTE VISUAL DE LA SECCIÓN 2 — COMPUTADORA

   - Aprovecha mejor el alto disponible.
   - Mantiene los seis servicios ordenados.
   - Equilibra la fotografía y la información.
   - No modifica tablet ni celular.
===================================================== */

@media (min-width: 1181px) {

    .services-showcase {
        height: auto;
        min-height: calc(100svh - 88px);

        padding:
            clamp(46px, 5.5vh, 58px)
            clamp(28px, 4.6vw, 76px)
            clamp(22px, 3vh, 30px);
    }

    .services-showcase__inner {
        height: auto;

        grid-template-rows:
            auto
            auto
            auto;

        gap: clamp(12px, 1.5vh, 16px);
    }

    /* Encabezado más compacto y equilibrado */
    .services-showcase__header {
        max-width: 780px;
    }

    .services-showcase__eyebrow {
        margin-bottom: 6px;
    }

    .services-showcase__header h2 {
        max-width: 760px;

        font-size: clamp(34px, 2.75vw, 46px);
        line-height: 1;
    }

    .services-showcase__intro {
        max-width: 710px;
        margin-top: 9px;

        font-size: 14px;
        line-height: 1.48;
    }

    /* Seis selectores visibles y uniformes */
    .services-switcher {
        gap: clamp(7px, 0.65vw, 10px);
        scroll-margin-top: 100px;
    }

    .service-tab {
        min-height: 50px;
        gap: 8px;

        padding: 7px 10px;
        border-radius: 16px;
    }

    .service-tab__icon {
        width: 27px;
        height: 27px;

        border-radius: 9px;
    }

    .service-tab__label {
        font-size: clamp(10px, 0.72vw, 11.5px);
        line-height: 1.15;
        white-space: nowrap;
    }

    /* Imagen y contenido dentro del alto disponible */
    .service-stage {
        height: auto;
        min-height: clamp(390px, 46vh, 430px);

        column-gap: clamp(40px, 4vw, 66px);
    }

    .service-stage--image-left {
        grid-template-columns:
            minmax(0, 1.02fr)
            minmax(360px, 0.98fr);
    }

    .service-stage--image-right {
        grid-template-columns:
            minmax(360px, 0.98fr)
            minmax(0, 1.02fr);
    }

    .service-stage__visual {
        width: min(100%, 640px);
        height: auto;
        margin-top: 16px;
        aspect-ratio: 16 / 10;
    }

    .service-stage--image-left .service-stage__visual {
        justify-self: start;
    }

    .service-stage--image-right .service-stage__visual {
        justify-self: end;
    }

    .service-stage__image-shell {
        width: 100%;
        height: 100%;
        aspect-ratio: 16 / 10;
    }

    .service-stage__image {
        width: 100%;
        height: 100%;

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

    /* Contenido sin desplazamientos artificiales */
    .service-stage--image-left .service-stage__content,
    .service-stage--image-right .service-stage__content {
        max-width: 560px;

        margin-right: 0;
        margin-left: 0;

        padding-right: 0;
        padding-left: 0;
    }

    .service-stage__eyebrow {
        margin-bottom: 7px;
    }

    .service-stage__title {
        font-size: clamp(36px, 2.85vw, 48px);
        line-height: 0.99;
    }

    .service-stage__description {
        margin-top: 13px;

        font-size: clamp(13.5px, 0.92vw, 15px);
        line-height: 1.52;
    }

    .service-stage__list {
        gap: 6px;
        margin-top: 14px;
    }

    .service-stage__list li {
        font-size: clamp(11.5px, 0.8vw, 13px);
    }

    .service-stage__cta {
        min-height: 42px;
        margin-top: 17px;

        font-size: 12.5px;
    }
}

/* Computadoras de poca altura */
@media (min-width: 1181px) and (max-height: 780px) {

    .services-showcase {
        min-height: calc(100svh - 82px);

        padding-top: 36px;
        padding-bottom: 15px;
    }

    .services-showcase__inner {
        gap: 9px;
    }

    .services-showcase__header h2 {
        font-size: clamp(31px, 2.55vw, 42px);
    }

    .services-showcase__intro {
        margin-top: 6px;
        font-size: 12.5px;
    }

    .service-tab {
        min-height: 46px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .service-stage {
        min-height: 350px;

        column-gap: clamp(34px, 3.6vw, 56px);
    }

    .service-stage__visual {
        width: min(100%, 570px);
    }

    .service-stage__title {
        font-size: clamp(32px, 2.55vw, 42px);
    }

    .service-stage__description {
        margin-top: 9px;

        font-size: 12.5px;
        line-height: 1.44;
    }

    .service-stage__list {
        gap: 4px;
        margin-top: 10px;
    }

    .service-stage__list li {
        font-size: 11.5px;
    }

    .service-stage__cta {
        min-height: 39px;
        margin-top: 12px;
    }
}
/* =====================================================
   ICONOS PERSONALIZADOS DE LOS SERVICIOS
   Imágenes utilizadas dentro de los selectores de servicio.
===================================================== */

.service-tab__icon img {
    width: 19px;
    height: 19px;

    display: block;

    object-fit: contain;
    object-position: center;

    opacity: 0.88;
}

/*
   Los archivos descargados son oscuros.
   Cuando el botón está activo, los convertimos
   en blancos para que sean visibles.
*/
.service-tab.is-active .service-tab__icon img {
    filter: brightness(0) invert(1);
    opacity: 1;
}

@media (max-width: 700px) {

    .service-tab__icon img {
        width: 17px;
        height: 17px;
    }
}
/* =====================================================
   SECCIÓN 3 — MÉTODO ADECUADO PARA CADA SUPERFICIE
   DISEÑO CLARO Y ALTERNADO

   - Fondo claro, coherente con la sección 2.
   - Encabezado completamente centrado.
   - Primera técnica: texto a la izquierda y video a la derecha.
   - Segunda técnica: video a la izquierda y texto a la derecha.
   - Sin números 01/02 ni tarjetas oscuras.
   - En computadora conserva casi todo dentro de una pantalla.
===================================================== */

.services-methods {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    min-height: 100svh;
    box-sizing: border-box;

    scroll-margin-top: 88px;

    padding:
        clamp(86px, 9vh, 104px)
        clamp(24px, 5.2vw, 84px)
        clamp(24px, 3.5vh, 38px);

    background:
        radial-gradient(
            circle at 92% 12%,
            rgba(20, 155, 233, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 7% 88%,
            rgba(7, 47, 75, 0.07),
            transparent 31%
        ),
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #eef3f7 100%
        );

    color: #071722;
}

.services-methods::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(7, 23, 34, 0.022) 1px,
            transparent 1px
        ),
        linear-gradient(
            180deg,
            rgba(7, 23, 34, 0.022) 1px,
            transparent 1px
        );

    background-size: 84px 84px;
    mask-image:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.55),
            transparent 94%
        );
}

.services-methods__glow {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(12px);
}

.services-methods__glow--one {
    top: -250px;
    right: -190px;

    width: 570px;
    height: 570px;

    background:
        radial-gradient(
            circle,
            rgba(20, 155, 233, 0.12) 0%,
            rgba(20, 155, 233, 0) 70%
        );
}

.services-methods__glow--two {
    bottom: -310px;
    left: -240px;

    width: 650px;
    height: 650px;

    background:
        radial-gradient(
            circle,
            rgba(7, 47, 75, 0.08) 0%,
            rgba(7, 47, 75, 0) 70%
        );
}

.services-methods__inner {
    position: relative;
    z-index: 2;

    width: min(1540px, 100%);
    min-height: calc(100svh - clamp(134px, 16vh, 176px));
    margin: 0 auto;

    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: clamp(16px, 2vh, 23px);
}

/* =====================================================
   ENCABEZADO CENTRADO
===================================================== */

.services-methods__header {
    width: min(980px, 100%);
    margin: 0 auto;

    display: block;
    text-align: center;
}

.services-methods__heading {
    min-width: 0;
}

.services-methods__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin: 0 0 9px;

    color: #0d6396;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.services-methods__eyebrow::before,
.services-methods__eyebrow::after {
    content: "";
    width: 31px;
    height: 1px;
    flex: 0 0 auto;
    background: rgba(13, 99, 150, 0.5);
}

.services-methods__header h2 {
    max-width: 940px;
    margin: 0 auto;

    color: #071722;
    font-size: clamp(38px, 3.25vw, 55px);
    line-height: 0.99;
    font-weight: 800;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.services-methods__intro {
    max-width: 790px;
    margin: 13px auto 0;

    color: #586874;
    font-size: clamp(13px, 0.9vw, 15px);
    line-height: 1.56;
}

/* =====================================================
   DOS MÉTODOS, SIN TARJETAS OSCURAS
===================================================== */

.methods-comparison {
    min-height: 0;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(24px, 2.25vw, 38px);
}

.method-card {
    position: relative;
    min-width: 0;
    min-height: 0;

    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
    gap: clamp(20px, 1.6vw, 28px);

    overflow: visible;

    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    transform-style: preserve-3d;
}

.method-card:hover {
    transform: none;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

/* Primera técnica alternada: texto izquierda, video derecha */
.method-card--delicate .method-card__body {
    grid-column: 1;
    grid-row: 1;
}

.method-card--delicate .method-card__media {
    grid-column: 2;
    grid-row: 1;
}

/* Segunda técnica: video izquierda, texto derecha */
.method-card--resistant .method-card__media {
    grid-column: 1;
    grid-row: 1;
}

.method-card--resistant .method-card__body {
    grid-column: 2;
    grid-row: 1;
}

/* =====================================================
   VIDEOS
===================================================== */

.method-card__media {
    position: relative;
    min-width: 0;
    min-height: 355px;
    overflow: hidden;

    border: 1px solid rgba(7, 23, 34, 0.09);
    border-radius: clamp(20px, 1.55vw, 27px);

    background: #dce5eb;

    box-shadow:
        0 24px 52px rgba(17, 42, 60, 0.15),
        0 7px 18px rgba(17, 42, 60, 0.08);
}

.method-card__video {
    width: 100%;
    height: 100%;

    display: block;

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

    transform: scale(1.01);

    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.method-card:hover .method-card__video {
    transform: scale(1.045);
}

.method-card__shade {
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(2, 13, 20, 0.04) 0%,
            rgba(2, 13, 20, 0.01) 50%,
            rgba(2, 13, 20, 0.76) 100%
        );
}

.method-card__video-toggle {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    background: rgba(3, 20, 31, 0.58);
    color: #ffffff;
    cursor: pointer;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

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

.method-card__video-toggle:hover {
    transform: scale(1.07);
    background: rgba(20, 155, 233, 0.9);
}

.method-card__video-toggle:focus-visible {
    outline: 3px solid rgba(20, 155, 233, 0.3);
    outline-offset: 2px;
}

.method-card__video-toggle svg {
    width: 17px;
    height: 17px;
}

.method-card__play-icon {
    display: none;
}

.method-card.is-paused .method-card__pause-icon {
    display: none;
}

.method-card.is-paused .method-card__play-icon {
    display: block;
}

.method-card__media-copy {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;

    display: flex;
    flex-direction: column;
    gap: 3px;
}

.method-card__media-copy span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.method-card__media-copy strong {
    color: #ffffff;
    font-size: clamp(18px, 1.35vw, 23px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

/* =====================================================
   TEXTOS SIN CONTENEDOR DE COLOR
===================================================== */

.method-card__body {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: clamp(6px, 0.8vw, 12px) 0;
}

.method-card__eyebrow {
    margin: 0 0 8px;

    color: #0d6396;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.method-card__body h3 {
    max-width: 430px;
    margin: 0;

    color: #071722;
    font-size: clamp(25px, 1.8vw, 32px);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -0.038em;
    text-wrap: balance;
}

.method-card__body > p:not(.method-card__eyebrow) {
    max-width: 450px;
    margin: 13px 0 0;

    color: #586874;
    font-size: clamp(12px, 0.78vw, 14px);
    line-height: 1.53;
}

.method-card__body ul {
    display: grid;
    gap: 7px;

    margin: 16px 0 0;
    padding: 0;

    list-style: none;
}

.method-card__body li {
    position: relative;
    padding-left: 19px;

    color: #263843;
    font-size: clamp(10px, 0.72vw, 12px);
    font-weight: 700;
    line-height: 1.36;
}

.method-card__body li::before {
    content: "";
    position: absolute;
    top: 0.44em;
    left: 0;

    width: 6px;
    height: 6px;

    border: 2px solid #149be9;
    border-radius: 50%;
}

/* =====================================================
   LLAMADO A LA ACCIÓN
===================================================== */

.services-methods__footer {
    display: flex;
    align-items: center;
    justify-content: center;

    padding-top: 1px;
}

.services-methods__cta {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    padding: 0 22px;

    border: 1px solid rgba(20, 155, 233, 0.2);
    border-radius: 12px;

    background: #071722;
    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    box-shadow: 0 14px 30px rgba(7, 23, 34, 0.16);

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

.services-methods__cta:hover {
    transform: translateY(-3px);
    background: #0d6396;
}

/* =====================================================
   LAPTOPS DE POCA ALTURA
===================================================== */

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

@media (max-width: 1180px) {

    .services-methods {
        min-height: auto;
        padding-top: 96px;
    }

    .services-methods__inner {
        min-height: 0;
    }

    .methods-comparison {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .method-card {
        width: min(920px, 100%);
        margin: 0 auto;
        grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
    }

    .method-card__media {
        min-height: 330px;
    }
}

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

@media (max-width: 700px) {

    .method-card__media {

        border-radius: 22px;
    }

    .services-methods__cta {
        width: 100%;
        min-height: 48px;
        padding: 0 15px;
        text-align: center;
    }
}

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

    .method-card__video,
    .method-card__video-toggle,
    .services-methods__cta {
        transition: none !important;
    }
}

/* =====================================================
   AJUSTE FINAL SOLICITADO — TEXTOS MÁS PRESENTES

   - El título de la sección 3 queda en una sola línea
     en computadoras y laptops con suficiente ancho.
   - El párrafo introductorio de la sección 3 aumenta.
   - Los textos de ambos métodos ocupan mejor la altura
     visual de sus respectivos videos.
   - El texto dinámico de la sección 2 gana tamaño y
     presencia frente a la fotografía.
   - Tablet y teléfono conservan su diseño actual.
===================================================== */

@media (min-width: 1181px) {

    .services-methods__heading {
        width: 100%;
    }

}

@media (min-width: 901px) {

    .service-stage__content {
        min-height: 100%;
        align-self: stretch;
        justify-content: center;
    }

    .service-stage__eyebrow {
        margin-bottom: 10px;
        font-size: 10px;
    }

    .service-stage__title {
        font-size: clamp(43px, 3.4vw, 58px);
        line-height: 0.99;
    }

    .service-stage__description {
        margin-top: 19px;

        font-size: clamp(16px, 1.12vw, 18px);
        line-height: 1.62;
    }

    .service-stage__list {
        gap: 10px;
        margin-top: 21px;
    }

    .service-stage__list li {
        padding-left: 22px;

        font-size: clamp(14px, 0.95vw, 16px);
        line-height: 1.46;
    }

    .service-stage__list li::before {
        width: 8px;
        height: 8px;
    }

    .service-stage__cta {
        min-height: 50px;
        margin-top: 27px;
        padding: 0 22px;

        font-size: 14px;
    }
}

@media (min-width: 901px) and (max-height: 780px) {

    .service-stage__title {
        font-size: clamp(37px, 2.95vw, 48px);
    }

    .service-stage__description {
        margin-top: 13px;
        font-size: clamp(14px, 0.95vw, 16px);
        line-height: 1.52;
    }

    .service-stage__list {
        gap: 7px;
        margin-top: 15px;
    }

    .service-stage__list li {
        font-size: clamp(12px, 0.82vw, 14px);
    }

    .service-stage__cta {
        min-height: 43px;
        margin-top: 18px;
        font-size: 13px;
    }
}
/* =====================================================
   AJUSTES RESPONSIVE DE LAS SECCIONES 2 Y 3

   - Tablet: sección 2 vuelve a mostrar imagen y texto
     uno al lado del otro.
   - Sección 3: títulos, párrafos y listas más grandes.
   - Más separación entre cada elemento.
   - Laptop: texto con una altura visual parecida al video.
===================================================== */

/* =====================================================
   SECCIÓN 2 — TABLET
   Entre 701px y 900px no debe apilar imagen y texto.
===================================================== */

@media (min-width: 701px) and (max-width: 900px) {

    .services-showcase {
        height: auto;
        min-height: 100svh;

        padding:
            88px
            24px
            62px;
    }

    .services-showcase__inner {
        height: auto;

        display: grid;
        grid-template-rows:
            auto
            auto
            auto;

        gap: 22px;
    }

    .services-showcase__header {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .services-showcase__eyebrow::after {
        display: block;
    }

    .services-showcase__header h2 {
        font-size: clamp(38px, 5.4vw, 46px);
        line-height: 1;
    }

    .services-showcase__intro {
        max-width: 680px;
        margin: 14px auto 0;

        font-size: 15px;
        line-height: 1.58;
    }

    .services-switcher {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 9px;
        margin-top: 0;
    }

    .service-tab {
        min-height: 58px;
        padding: 9px 12px;
    }

    .service-tab__label {
        font-size: 11px;
        line-height: 1.25;
    }

    /*
       Recuperamos las dos columnas que la regla
       anterior de max-width: 900px estaba eliminando.
    */
    .service-stage,
    .service-stage--image-left,
    .service-stage--image-right {
        height: auto;
        min-height: 430px;

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

        align-items: center;
        column-gap: 34px;

        margin-top: 4px;
    }

    /* Imagen izquierda */
    .service-stage--image-left .service-stage__visual {
        grid-column: 1;
        grid-row: 1;
    }

    .service-stage--image-left .service-stage__content {
        grid-column: 2;
        grid-row: 1;
    }

    /* Imagen derecha */
    .service-stage--image-right .service-stage__visual {
        grid-column: 2;
        grid-row: 1;
    }

    .service-stage--image-right .service-stage__content {
        grid-column: 1;
        grid-row: 1;
    }

    .service-stage--image-left .service-stage__visual,
    .service-stage--image-right .service-stage__visual {
        width: 100%;
        height: auto;

        aspect-ratio: 4 / 3;
        align-self: center;
    }

    .service-stage__image-shell {
        width: 100%;
        height: 100%;

        aspect-ratio: 4 / 3;
    }

    .service-stage--image-left .service-stage__content,
    .service-stage--image-right .service-stage__content {
        width: 100%;
        max-width: none;
        min-height: 100%;

        align-self: stretch;
        justify-self: stretch;
        justify-content: center;

        margin: 0;
        padding: 22px 0;
    }

    .service-stage__eyebrow {
        margin-bottom: 12px;

        font-size: 11px;
        letter-spacing: 0.17em;
    }

    .service-stage__title {
        max-width: none;

        font-size: clamp(34px, 4.8vw, 42px);
        line-height: 1.02;
    }

    .service-stage__description {
        max-width: none;
        margin-top: 18px;

        font-size: clamp(14px, 1.85vw, 16px);
        line-height: 1.62;
    }

    .service-stage__list {
        gap: 10px;
        margin-top: 21px;
    }

    .service-stage__list li {
        padding-left: 22px;

        font-size: clamp(12px, 1.6vw, 14px);
        line-height: 1.48;
    }

    .service-stage__cta {
        min-height: 48px;

        margin-top: 25px;
        padding: 0 21px;

        font-size: 13px;
    }
}

/* =====================================================
   SECCIÓN 3 — TABLET
   Usa los nombres reales del HTML.
===================================================== */

@media (min-width: 701px) and (max-width: 1180px) {

    .method-card {

        min-height: 460px;

        gap: clamp(30px, 4vw, 46px);
    }

    .method-card__media {

        min-height: 430px;

        align-self: stretch;
    }

    .method-card__body {
        min-height: 100%;

        justify-content: center;

        padding:
            32px
            0;
    }

    .services-methods .method-card__eyebrow {
        margin-bottom: 14px;

        font-size: clamp(11px, 1.5vw, 13px);
        letter-spacing: 0.17em;
    }

    .services-methods .method-card__body h3 {

        font-size: clamp(31px, 4.15vw, 39px);

        letter-spacing: -0.04em;
    }

    .services-methods .method-card__body li {
        padding-left: 23px;

        font-size: clamp(12px, 1.65vw, 14px);
        line-height: 1.48;
    }

    .services-methods .method-card__body li::before {
        width: 8px;
        height: 8px;
    }

    .method-card__media-copy {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .method-card__media-copy span {
        font-size: 10px;
    }

    .method-card__media-copy strong {
        font-size: clamp(21px, 2.8vw, 27px);
    }
}

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

@media (min-width: 701px) and (max-width: 1180px) {

    .services-methods {
        height: auto;
        min-height: 100svh;

        padding:
            92px
            clamp(24px, 4.5vw, 48px)
            56px;
    }

    .services-methods__inner {
        min-height: 0;

        gap: 24px;
    }

    .services-methods__header {
        width: min(900px, 100%);
    }

    .services-methods__header h2 {
        font-size: clamp(38px, 5vw, 50px);
        line-height: 1.02;

        white-space: normal;
        text-wrap: balance;
    }

    .services-methods__intro {
        max-width: 780px;

        margin-top: 14px;

        font-size: clamp(14px, 1.85vw, 17px);
        line-height: 1.58;
    }

    /*
       En tablet mostramos un método debajo del otro,
       pero el video y el texto permanecen lado a lado.
    */

    .methods-comparison {
        grid-template-columns: 1fr;

        gap: 42px;
    }

    .method-card {
        width: min(980px, 100%);

        margin: 0 auto;

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

        align-items: stretch;

        gap: clamp(28px, 4vw, 44px);
    }

    .method-card__media {
        width: 100%;
        height: auto;
        min-height: 0;

        aspect-ratio: 4 / 5;
    }

    .method-card__video {
        width: 100%;
        height: 100%;

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

    .services-methods .method-card__body {
        min-height: 100%;

        justify-content: center;

        padding: 25px 0;
    }

    .services-methods .method-card__eyebrow {
        margin-bottom: 11px;

        font-size: clamp(10px, 1.4vw, 12px);
    }

    .services-methods .method-card__body h3 {
        max-width: none;

        font-size: clamp(30px, 4vw, 38px);
        line-height: 1.03;
    }

    .services-methods
    .method-card__body
    > p:not(.method-card__eyebrow) {
        max-width: none;

        margin-top: 16px;

        font-size: clamp(13px, 1.75vw, 16px);
        line-height: 1.58;
    }

    .services-methods .method-card__body ul {
        gap: 9px;
        margin-top: 19px;
    }

    .services-methods .method-card__body li {
        font-size: clamp(11px, 1.5vw, 14px);
        line-height: 1.43;
    }

    .services-methods__cta {
        min-height: 47px;

        font-size: 13px;
    }
}

/* =====================================================
   TELÉFONO
===================================================== */

@media (max-width: 700px) {

    .services-methods {
        height: auto;
        min-height: 0;

        padding:
            84px
            16px
            42px;
    }

    .services-methods__inner {
        min-height: 0;

        gap: 24px;
    }

    .services-methods__header h2 {
        font-size: clamp(32px, 9.5vw, 42px);
        line-height: 1;

        white-space: normal;
        text-wrap: balance;
    }

    .services-methods__intro {
        margin-top: 12px;

        font-size: 13px;
        line-height: 1.52;
    }

    .methods-comparison {
        grid-template-columns: 1fr;

        gap: 34px;
    }

    /*
       En teléfono siempre mostramos primero el video
       y después su texto.
    */

    .method-card {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 18px;
    }

    .method-card--delicate .method-card__media,
    .method-card--resistant .method-card__media {
        grid-column: 1;
        grid-row: 1;
    }

    .method-card--delicate .method-card__body,
    .method-card--resistant .method-card__body {
        grid-column: 1;
        grid-row: 2;
    }

    /*
       El mismo ancho y la misma proporción
       para ambos videos.
    */

    .method-card__media {
        width: min(100%, 460px);
        height: auto;
        min-height: 0;
        max-height: none;

        aspect-ratio: 4 / 5;

        justify-self: center;

        margin: 0 auto;
    }

    .method-card__video {
        width: 100%;
        height: 100%;

        display: block;

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

    .method-card__body {
        width: min(100%, 460px);

        margin: 0 auto;
        padding: 0 3px;
    }

    .method-card__eyebrow {
        margin-bottom: 9px;

        font-size: 10px;
    }

    .method-card__body h3 {
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1.04;
    }

    .method-card__body
    > p:not(.method-card__eyebrow) {
        margin-top: 13px;

        font-size: 13px;
        line-height: 1.52;
    }

    .method-card__body ul {
        gap: 7px;

        margin-top: 16px;
    }

    .method-card__body li {
        font-size: 12px;
        line-height: 1.4;
    }

    .services-methods__footer {
        margin-top: 0;
    }

    .services-methods__cta {
        width: min(100%, 460px);
        min-height: 47px;

        margin: 0 auto;
    }
}

/* =====================================================
   SECCIÓN 3 — PROPIEDADES BASE NECESARIAS
   Consolidado desde ajustes anteriores.
===================================================== */

@media (min-width: 1181px) {

.services-methods__header {
width: min(1500px, 100%);
        max-width: none;
}

}

/* =====================================================
   CORRECCIÓN FINAL REAL — SECCIÓN 3 EN LAPTOP

   - Elimina el espacio vacío inferior.
   - Recupera el tamaño correcto de los textos.
   - Agranda moderadamente los videos.
   - Mantiene visible el botón inferior.
===================================================== */

@media (min-width: 1181px) {

    /* La sección ya no fuerza una altura completa innecesaria */
    .services-methods {
        height: auto;
        min-height: auto;

        padding:
            clamp(18px, 2.4vh, 26px)
            clamp(32px, 5.2vw, 84px)
            clamp(28px, 3.5vh, 38px);
    }

    /* Todo se acomoda según su contenido real */
    .services-methods__inner {
        width: min(1540px, 100%);
        height: auto;
        min-height: 0;

        grid-template-rows:
            auto
            auto
            auto;

        gap: clamp(17px, 2.2vh, 23px);
    }

    /* Encabezado */
    .services-methods__eyebrow {
        margin-bottom: 8px;
        font-size: 10px;
    }

    .services-methods__header h2 {
        width: 100%;
        max-width: none;

        font-size: clamp(38px, 2.65vw, 50px);
        line-height: 1;
        letter-spacing: -0.043em;

        white-space: nowrap;
        text-wrap: nowrap;
    }

    .services-methods__intro {
        max-width: 1120px;
        margin-top: 11px;

        font-size: clamp(14px, 0.95vw, 17px);
        line-height: 1.55;
    }

    /* Los dos métodos */
    .methods-comparison {
        min-height: 0;

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

        align-items: stretch;

        gap: clamp(38px, 3vw, 54px);
    }

    .method-card {
        min-width: 0;
        min-height: 0;

        grid-template-columns:
            minmax(0, 0.94fr)
            minmax(0, 1.06fr);

        align-items: stretch;

        gap: clamp(28px, 2.1vw, 38px);
    }

    /* Ambos videos con exactamente el mismo tamaño */
    .method-card__media {
        width: 100%;
        height: clamp(400px, 50vh, 440px);
        min-height: 0;

        aspect-ratio: 4 / 5;
        align-self: center;
    }

    .method-card__video {
        width: 100%;
        height: 100%;

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

    /* Texto con mayor presencia */
    .services-methods .method-card__body {
        min-width: 0;
        min-height: 100%;

        justify-content: center;

        padding: 18px 0;
    }

    .services-methods .method-card__eyebrow {
        margin-bottom: 12px;

        font-size: clamp(10px, 0.72vw, 12px);
        letter-spacing: 0.17em;
    }

    .services-methods .method-card__body h3 {
        max-width: none;

        font-size: clamp(32px, 2.05vw, 40px);
        line-height: 1.03;
        letter-spacing: -0.041em;
    }

    .services-methods
    .method-card__body
    > p:not(.method-card__eyebrow) {
        max-width: none;

        margin-top: 17px;

        font-size: clamp(14px, 0.94vw, 16px);
        line-height: 1.6;
    }

    .services-methods .method-card__body ul {
        gap: 9px;
        margin-top: 20px;
    }

    .services-methods .method-card__body li {
        padding-left: 22px;

        font-size: clamp(12px, 0.84vw, 14px);
        line-height: 1.45;
    }

    .services-methods .method-card__body li::before {
        width: 7px;
        height: 7px;
    }

    /* Textos colocados sobre los videos */
    .method-card__media-copy {
        right: 18px;
        bottom: 17px;
        left: 18px;
    }

    .method-card__media-copy span {
        font-size: 10px;
    }

    .method-card__media-copy strong {
        font-size: clamp(22px, 1.5vw, 27px);
    }

    /* Botón final cerca de los videos, sin gran vacío debajo */
    .services-methods__footer {
        margin-top: 1px;
        padding-top: 0;
    }

    .services-methods__cta {
        min-height: 47px;

        padding: 0 25px;

        font-size: 13px;
    }
}

/* Solo comprime un poco las laptops realmente muy bajas */
@media (min-width: 1181px) and (max-height: 690px) {

    .services-methods {
        padding-top: 10px;
        padding-bottom: 18px;
    }

    .services-methods__inner {
        gap: 11px;
    }

    .method-card__media {
        height: 350px;
    }

    .services-methods .method-card__body h3 {
        font-size: clamp(28px, 1.8vw, 35px);
    }

    .services-methods
    .method-card__body
    > p:not(.method-card__eyebrow) {
        margin-top: 11px;

        font-size: 13px;
        line-height: 1.48;
    }

    .services-methods .method-card__body ul {
        gap: 6px;
        margin-top: 13px;
    }

    .services-methods .method-card__body li {
        font-size: 11px;
    }
}
/* =====================================================
   PANTALLAS INTERMEDIAS — 481PX A 700PX

   - Reduce imágenes y videos demasiado grandes.
   - Centra los textos colocados debajo.
   - Aumenta la presencia de títulos y párrafos.
===================================================== */

@media (min-width: 481px) and (max-width: 700px) {

    /* =================================================
       SECCIÓN 2 — SERVICIOS
    ================================================= */

    .services-showcase {
        padding:
            86px
            24px
            64px;
    }

    /* Encabezado nuevamente centrado */
    .services-showcase__header {
        width: min(620px, 100%);
        margin-right: auto;
        margin-left: auto;

        text-align: center;
    }

    .services-showcase__eyebrow {
        justify-content: center;
    }

    .services-showcase__eyebrow::after {
        display: block;
    }

    .services-showcase__header h2 {
        max-width: 590px;
        margin-right: auto;
        margin-left: auto;

        font-size: clamp(37px, 6.5vw, 42px);
        line-height: 1.02;
    }

    .services-showcase__intro {
        max-width: 550px;
        margin:
            14px
            auto
            0;

        font-size: 15px;
        line-height: 1.58;

        text-align: center;
    }

    /*
       La imagen deja de ocupar todo el ancho
       disponible en la pantalla intermedia.
    */

    .service-stage--image-left .service-stage__visual,
    .service-stage--image-right .service-stage__visual {
        width: min(82vw, 520px);
        height: auto;

        justify-self: center;

        margin-right: auto;
        margin-left: auto;

        aspect-ratio: 4 / 3;
    }

    .service-stage__image-shell {
        width: 100%;
        height: 100%;
    }

    /* Texto debajo de la imagen */
    .service-stage--image-left .service-stage__content,
    .service-stage--image-right .service-stage__content {
        width: min(540px, 100%);
        max-width: 540px;

        align-items: center;
        justify-self: center;

        margin-right: auto;
        margin-left: auto;

        padding:
            31px
            5px
            0;

        text-align: center;
    }

    .service-stage__eyebrow {
        margin-bottom: 11px;

        font-size: 11px;
    }

    .service-stage__title {
        max-width: 520px;

        font-size: clamp(36px, 6.2vw, 41px);
        line-height: 1.03;
    }

    .service-stage__description {
        max-width: 510px;
        margin-top: 16px;

        font-size: 15px;
        line-height: 1.6;
    }

    /*
       La lista se mantiene internamente alineada
       a la izquierda para que sea fácil de leer,
       pero todo el bloque queda centrado.
    */

    .service-stage__list {
        width: min(470px, 100%);

        gap: 9px;

        margin-top: 20px;
        margin-right: auto;
        margin-left: auto;

        text-align: left;
    }

    .service-stage__list li {
        font-size: 13px;
        line-height: 1.48;
    }

    .service-stage__cta {
        width: min(430px, 100%);
        min-height: 49px;

        margin-top: 24px;
        margin-right: auto;
        margin-left: auto;

        font-size: 13px;
    }

    /* =================================================
       SECCIÓN 3 — VIDEOS Y MÉTODOS
    ================================================= */

    .services-methods {
        height: auto;
        min-height: 0;

        padding:
            88px
            24px
            48px;
    }

    .services-methods__inner {
        min-height: 0;
        gap: 27px;
    }

    .services-methods__header {
        width: min(620px, 100%);
        margin-right: auto;
        margin-left: auto;

        text-align: center;
    }

    .services-methods__header h2 {
        max-width: 600px;

        margin-right: auto;
        margin-left: auto;

        font-size: clamp(37px, 6.4vw, 43px);
        line-height: 1.02;
    }

    .services-methods__intro {
        max-width: 550px;

        margin:
            14px
            auto
            0;

        font-size: 15px;
        line-height: 1.58;

        text-align: center;
    }

    .methods-comparison {
        grid-template-columns: 1fr;

        gap: 46px;
    }

    /*
       Ambos métodos siguen mostrando primero el video
       y después el texto, pero el video ya no queda enorme.
    */

    .method-card {
        width: 100%;

        grid-template-columns: 1fr;
        gap: 23px;
    }

    .method-card--delicate .method-card__media,
    .method-card--resistant .method-card__media {
        grid-column: 1;
        grid-row: 1;
    }

    .method-card--delicate .method-card__body,
    .method-card--resistant .method-card__body {
        grid-column: 1;
        grid-row: 2;
    }

    .method-card__media {
        width: min(78vw, 420px);
        height: auto;
        min-height: 0;

        justify-self: center;
        align-self: center;

        margin-right: auto;
        margin-left: auto;

        aspect-ratio: 4 / 5;
    }

    .method-card__video {
        width: 100%;
        height: 100%;

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

    /*
       Texto inferior centrado.
    */

    .services-methods .method-card__body {
        width: min(530px, 100%);
        min-height: 0;

        align-items: center;
        justify-self: center;

        margin-right: auto;
        margin-left: auto;

        padding: 0 8px;

        text-align: center;
    }

    .services-methods .method-card__eyebrow {
        margin-bottom: 11px;

        font-size: 11px;
    }

    .services-methods .method-card__body h3 {
        max-width: 510px;

        font-size: clamp(35px, 6vw, 40px);
        line-height: 1.04;
    }

    .services-methods
    .method-card__body
    > p:not(.method-card__eyebrow) {
        max-width: 500px;
        margin-top: 16px;

        font-size: 15px;
        line-height: 1.6;
    }

    /*
       Las viñetas permanecen alineadas a la izquierda
       dentro de un bloque centrado.
    */

    .services-methods .method-card__body ul {
        width: min(470px, 100%);

        gap: 9px;

        margin-top: 20px;
        margin-right: auto;
        margin-left: auto;

        text-align: left;
    }

    .services-methods .method-card__body li {
        padding-left: 21px;

        font-size: 13px;
        line-height: 1.48;
    }

    .services-methods__footer {
        justify-content: center;

        margin-top: 2px;
    }

    .services-methods__cta {
        width: min(470px, 100%);
        min-height: 49px;

        margin-right: auto;
        margin-left: auto;

        padding:
            0
            18px;

        font-size: 13px;
        text-align: center;
    }
}
/* =====================================================
   SECCIÓN 4 — COTIZACIÓN FINAL COMPACTA
===================================================== */

.services-final-cta {
    position: relative;
    width: 100%;
    padding:
        clamp(36px, 4vw, 54px)
        clamp(22px, 5vw, 80px);

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(20, 155, 233, 0.12),
            transparent 33%
        ),
        linear-gradient(
            180deg,
            #f4f8fb 0%,
            #edf4f8 100%
        );

    color: #ffffff;
}

.services-final-cta__inner {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: min(1280px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(270px, 0.58fr);

    align-items: center;
    gap: clamp(32px, 4vw, 58px);

    padding:
        clamp(34px, 3.5vw, 46px)
        clamp(30px, 4.5vw, 62px);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: clamp(24px, 2vw, 31px);

    background:
        radial-gradient(
            circle at 86% 10%,
            rgba(20, 155, 233, 0.22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #061a2a 0%,
            #082b42 100%
        );

    box-shadow:
        0 24px 52px rgba(7, 23, 34, 0.17);
}

.services-final-cta__inner::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -50px;
    right: -20px;

    width: 480px;
    height: 350px;

    opacity: 0.25;

    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.38) 1.3px,
            transparent 1.5px
        );

    background-size: 20px 20px;

    -webkit-mask-image:
        radial-gradient(
            circle,
            #000 0%,
            transparent 72%
        );

    mask-image:
        radial-gradient(
            circle,
            #000 0%,
            transparent 72%
        );

    pointer-events: none;
}

/* TEXTO */

.services-final-cta__content {
    min-width: 0;
}

.services-final-cta__eyebrow {
    margin: 0 0 13px;

    color: #73c8ff;

    font-size: 10px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.services-final-cta__content h2 {
    max-width: 690px;
    margin: 0;

    color: #ffffff;

    font-size: clamp(34px, 3.05vw, 48px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.043em;

    text-wrap: balance;
}

.services-final-cta__description {
    max-width: 680px;
    margin: 14px 0 0;

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

    font-size: clamp(13px, 0.9vw, 15px);
    line-height: 1.58;
}

/* BOTONES */

.services-final-cta__actions {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 11px;
}

.services-final-cta__button {
    width: 100%;
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 0 20px;

    border: 1px solid transparent;
    border-radius: 12px;

    font-size: 12px;
    font-weight: 800;
    line-height: 1;

    text-align: center;
    text-decoration: none;

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

.services-final-cta__button:hover {
    transform: translateY(-3px);
}

.services-final-cta__button--primary {
    background: #149be9;
    color: #ffffff;

    box-shadow:
        0 15px 30px rgba(20, 155, 233, 0.24);
}

.services-final-cta__button--primary:hover {
    background: #087fc5;
}

.services-final-cta__button--secondary {
    border-color: rgba(255, 255, 255, 0.28);

    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.services-final-cta__button--secondary:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
}

.services-final-cta__button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

/* DETALLES INFERIORES */

.services-final-cta__details {
    grid-column: 1 / -1;

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

    gap: 12px;

    margin-top: 0;
    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.services-final-cta__detail {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: rgba(255, 255, 255, 0.78);
}

.services-final-cta__detail span {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(20, 155, 233, 0.16);
    color: #73c8ff;

    font-size: 11px;
    font-weight: 900;
}

.services-final-cta__detail strong {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

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

@media (max-width: 900px) {

    .services-final-cta__inner {
        grid-template-columns: 1fr;
        gap: 27px;

        text-align: center;
    }

    .services-final-cta__content h2,
    .services-final-cta__description {
        margin-right: auto;
        margin-left: auto;
    }

    .services-final-cta__actions {
        width: min(420px, 100%);
        margin: 0 auto;

        flex-direction: row;
    }

    .services-final-cta__details {
        margin-top: 3px;
    }
}

/* =====================================================
   TABLET PEQUEÑA
===================================================== */

@media (max-width: 700px) {

    .services-final-cta {
        padding:
            54px
            17px;
    }

    .services-final-cta__inner {
        padding:
            40px
            24px;

        border-radius: 26px;
    }

    .services-final-cta__content h2 {
        font-size: clamp(34px, 7vw, 45px);
    }

    .services-final-cta__actions {
        flex-direction: column;
    }

    .services-final-cta__details {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .services-final-cta__detail {
        justify-content: flex-start;

        padding: 12px 14px;

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

        background: rgba(255, 255, 255, 0.04);
    }
}

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

@media (max-width: 480px) {

    .services-final-cta {
        padding:
            45px
            12px;
    }

    .services-final-cta__inner {
        padding:
            35px
            18px;

        border-radius: 22px;
    }

    .services-final-cta__eyebrow {
        font-size: 8px;
        letter-spacing: 0.13em;
    }

    .services-final-cta__content h2 {
        font-size: clamp(31px, 9vw, 38px);
        line-height: 1.02;
    }

    .services-final-cta__description {
        margin-top: 15px;

        font-size: 13px;
        line-height: 1.55;
    }

    .services-final-cta__button {
        min-height: 50px;
        padding: 0 15px;

        font-size: 12px;
    }

    .services-final-cta__detail strong {
        font-size: 11px;
    }
}

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

    .services-final-cta__button {
        transition: none;
    }

    .services-final-cta__button:hover {
        transform: none;
    }
}

/* PATCH 05 - MOBILE CONTENT CENTERING - SERVICES */
@media (max-width: 760px) {
    .services-hero__content {
        margin-inline: auto;
        text-align: center;
    }

    .services-hero__description {
        margin-inline: auto;
    }

    .services-hero__meta {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .services-showcase__header,
    .services-methods__header {
        margin-inline: auto;
        text-align: center;
    }

    .services-showcase__intro,
    .services-methods__intro {
        margin-inline: auto;
    }

    .service-stage--image-left .service-stage__content,
    .service-stage--image-right .service-stage__content,
    .services-methods .method-card__body {
        align-items: center;
        margin-inline: auto;
        text-align: center;
    }

    .service-stage__list,
    .services-methods .method-card__body ul {
        margin-inline: auto;
        text-align: left;
    }

    .services-methods__footer {
        justify-content: center;
    }

    .services-final-cta__detail {
        justify-content: center !important;
        text-align: center;
    }
}

/* UW HERO BEFORE/AFTER CSS START */

/* =========================================================
   HERO SERVICES - BEFORE / AFTER
   REVEAL ABAJO -> ARRIBA CON DESVANECIDO REAL
   ========================================================= */

.services-hero__comparison {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
    pointer-events: none;

    background: #061a2a;
}

.services-hero__comparison-image,
.services-hero__after-reveal {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.services-hero__comparison-image {
    display: block;

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

    user-select: none;
}

/*
 * CLAVE DEL EFECTO:
 *
 * AFTER ya NO se corta con clip-path.
 * Se revela con una mascara alpha.
 *
 * --uw-reveal-edge:
 *  106% = AFTER totalmente oculto.
 *   -6% = AFTER totalmente visible.
 *
 * Alrededor de ese borde existe una zona de mezcla,
 * por lo que no aparece ninguna linea recta.
 */
.services-hero__after-reveal {
    --uw-reveal-edge: 106%;
    --uw-reveal-feather: 5.5%;

    position: absolute;
    inset: 0;
    z-index: 1;

    overflow: hidden;

    clip-path: none !important;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            transparent
                calc(
                    var(--uw-reveal-edge)
                    - var(--uw-reveal-feather)
                ),
            rgba(0, 0, 0, 0.18)
                calc(
                    var(--uw-reveal-edge)
                    - (var(--uw-reveal-feather) * 0.58)
                ),
            rgba(0, 0, 0, 0.50)
                var(--uw-reveal-edge),
            rgba(0, 0, 0, 0.82)
                calc(
                    var(--uw-reveal-edge)
                    + (var(--uw-reveal-feather) * 0.58)
                ),
            #000000
                calc(
                    var(--uw-reveal-edge)
                    + var(--uw-reveal-feather)
                ),
            #000000 100%
        );

    mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            transparent
                calc(
                    var(--uw-reveal-edge)
                    - var(--uw-reveal-feather)
                ),
            rgba(0, 0, 0, 0.18)
                calc(
                    var(--uw-reveal-edge)
                    - (var(--uw-reveal-feather) * 0.58)
                ),
            rgba(0, 0, 0, 0.50)
                var(--uw-reveal-edge),
            rgba(0, 0, 0, 0.82)
                calc(
                    var(--uw-reveal-edge)
                    + (var(--uw-reveal-feather) * 0.58)
                ),
            #000000
                calc(
                    var(--uw-reveal-edge)
                    + var(--uw-reveal-feather)
                ),
            #000000 100%
        );

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;

    will-change:
        -webkit-mask-image,
        mask-image;
}

/*
 * Ya no existe divisor visible.
 * Se mantiene el nodo en el HTML para no romper estructura,
 * pero no se dibuja.
 */
.services-hero__comparison-divider {
    display: none !important;
}

.services-hero__comparison-handle {
    display: none !important;
}

/* Etiquetas BEFORE / AFTER */
.services-hero__comparison-label {
    position: absolute;
    bottom: clamp(22px, 4vh, 38px);
    z-index: 3;

    padding: 8px 11px;

    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;

    background: rgba(3, 19, 31, 0.58);
    color: #ffffff;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.16);

    backdrop-filter: blur(7px);

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.28);
}

.services-hero__comparison-label--after {
    left: clamp(18px, 3vw, 48px);
    opacity: 0;
}

.services-hero__comparison-label--before {
    right: clamp(18px, 3vw, 48px);
}

/*
 * En movil hacemos la zona de mezcla un poco mas amplia.
 * Evita que el corte reaparezca en pantallas pequenas.
 */
@media (max-width: 760px) {

    .services-hero__comparison-image {
        object-position: center center;
    }

    .services-hero__after-reveal {
        --uw-reveal-feather: 7%;
    }

    .services-hero__comparison-label {
        bottom: 18px;
        padding: 7px 9px;
        font-size: 10px;
    }
}

/*
 * Si el usuario pide reducir movimiento,
 * se mantiene BEFORE como estado inicial.
 */
@media (prefers-reduced-motion: reduce) {

    .services-hero__after-reveal {
        --uw-reveal-edge: 106% !important;
    }

    .services-hero__comparison-label--after {
        display: none !important;
    }
}

/* UW HERO BEFORE/AFTER CSS END */

/* ===== SERVICES HERO COMPARISON LABELS ===== */
.services-page .services-hero__comparison-label,
.services-page .services-hero__comparison-label--before,
.services-page .services-hero__comparison-label--after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

