/* =========================================================
   RESARSA SECCIONES COMERCIALES
   Las cards internas son las mismas content-product.php
   que usa Tienda.
========================================================= */

.rsc-section,
.rsc-section * {
    box-sizing: border-box;
}

.rsc-section {
    --rmp-blue: #246bd7;
    --rmp-blue-dark: #175dbf;
    --rmp-navy: #0b477d;
    --rmp-text: #193f63;
    --rmp-muted: #6f7d89;
    --rmp-border: #e4eaf0;
    --rmp-soft: #f8fafc;
    --rmp-success: #1b9a4a;

    --rsc-blue: #246bd7;
    --rsc-navy: #0b477d;
    --rsc-muted: #74818d;

    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);

    font-family:
        "Manrope",
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    color: var(--rmp-text);
}

.rsc-section--featured {
    padding: 90px 0 96px;
    background: #f7f8fa;
}

.rsc-section--split {
    padding: 95px 0;
    background: #ffffff;
}

.rsc-shell {
    width: min(calc(100% - 112px), 1504px);
    margin: 0 auto;
}

/* =========================================================
   CABECERA / TEXTOS
========================================================= */

.rsc-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 38px;
}

.rsc-head-copy {
    max-width: 680px;
}

.rsc-eyebrow {
    margin-bottom: 10px;
    color: var(--rsc-blue);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rsc-title {
    margin: 0;
    color: var(--rsc-navy);
    font-size: clamp(32px, 3vw, 43px);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -1.2px;
}

.rsc-title--split {
    font-size: 31px;
    letter-spacing: -1px;
}

.rsc-description {
    margin: 13px 0 0;
    max-width: 620px;
    color: var(--rsc-muted);
    font-size: 13.5px;
    line-height: 1.7;
}

.rsc-description--split {
    max-width: 520px;
    margin-bottom: 29px;
    font-size: 12.5px;
    line-height: 1.8;
}

.rsc-text-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--rsc-navy);
    color: var(--rsc-navy);
    text-decoration: none;
    font-size: 10.5px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .4px;
    white-space: nowrap;
}

.rsc-text-link:hover {
    color: var(--rsc-blue);
    border-color: var(--rsc-blue);
}

.rsc-text-link span {
    font-size: 18px;
    transition: transform .2s ease;
}

.rsc-text-link:hover span {
    transform: translateX(4px);
}

.rsc-text-link--bottom {
    margin-top: 30px;
}

/* =========================================================
   PRODUCTOS - MISMA CARD DE TIENDA
========================================================= */

.rsc-products ul.products::before,
.rsc-products ul.products::after {
    display: none !important;
}

.rsc-products ul.products {
    margin: 0 !important;
    padding: 0 !important;
}

.rsc-products--featured ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 30px !important;
}

.rsc-products--split ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 17px !important;
}

.rsc-products ul.products li.product {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
}

/* Compactar únicamente las cards que viven dentro de un layout split */
.rsc-products--split .rmp-shop-card {
    gap: 12px;
}

.rsc-products--split .rmp-shop-image-wrap {
    min-height: 230px;
    padding: 13px;
    border-radius: 15px;
}

.rsc-products--split .rmp-shop-image {
    min-height: 200px;
    border-radius: 12px;
}

.rsc-products--split .rmp-shop-image img {
    height: 190px !important;
    width: 90% !important;
}

.rsc-products--split .rmp-shop-top-badge {
    top: 11px;
    left: 11px;
    padding: 6px 9px;
    font-size: 8px;
}

.rsc-products--split .rmp-shop-favorite {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 22px;
}

.rsc-products--split .rmp-shop-brand {
    margin-bottom: 5px;
    font-size: 9px;
    letter-spacing: 2px;
}

.rsc-products--split .rmp-shop-title {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.35;
}

.rsc-products--split .rmp-shop-flags {
    margin-bottom: 9px;
}

.rsc-products--split .rmp-shop-flag {
    padding: 5px 7px;
    font-size: 8px;
}

.rsc-products--split .rmp-shop-pricing strong {
    font-size: 18px;
}

.rsc-products--split .rmp-shop-regular {
    font-size: 13px;
}

.rsc-products--split .rmp-shop-discount {
    padding: 4px 6px;
    font-size: 9px;
}

.rsc-products--split .rmp-shop-financing {
    margin-top: 5px;
    font-size: 10px;
}

.rsc-products--split .rmp-shop-button {
    min-width: 0;
    min-height: 38px;
    padding: 0 14px;
    border-width: 1.5px;
    font-size: 10px;
}

/* =========================================================
   SPLIT: FOTO + PRODUCTOS
========================================================= */

.rsc-split-shell {
    display: grid;
    grid-template-columns: minmax(380px,.95fr) minmax(0,1.25fr);
    gap: 58px;
    align-items: center;
}

.rsc-section.is-image-right .rsc-story {
    order: 2;
}

.rsc-section.is-image-right .rsc-content {
    order: 1;
}

.rsc-story {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    border-radius: 10px;
    display: block;
    text-decoration: none;
    background: #eef3f7;
}

.rsc-story::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(5,35,62,0) 42%,
            rgba(5,35,62,.12) 62%,
            rgba(5,35,62,.76) 100%
        );
}

.rsc-story img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s cubic-bezier(.22,.61,.36,1);
}

.rsc-story:hover img {
    transform: scale(1.03);
}

.rsc-story-copy {
    position: absolute;
    z-index: 2;
    left: 32px;
    right: 32px;
    bottom: 32px;
    color: #fff;
}

.rsc-story-eyebrow {
    display: block;
    margin-bottom: 9px;
    font-size: 9px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .86;
}

.rsc-story-title {
    margin: 0;
    max-width: 430px;
    color: #fff;
    font-size: clamp(34px,3vw,46px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -1.5px;
}

.rsc-content {
    min-width: 0;
}

/* =========================================================
   ESTADOS / ACCESIBILIDAD VISUAL
========================================================= */

.rsc-section a:focus,
.rsc-section button:focus,
.rsc-section a:focus-visible,
.rsc-section button:focus-visible {
    outline: none !important;
}

.rsc-empty {
    padding: 22px;
    border: 1px dashed #c8d4df;
    border-radius: 14px;
    background: #fff;
    color: #667788;
}

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

@media (max-width: 1100px) {
    .rsc-section--featured,
    .rsc-section--split {
        padding: 72px 0;
    }

    .rsc-shell {
        width: calc(100% - 60px);
    }

    .rsc-products--featured ul.products {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }

    .rsc-split-shell {
        grid-template-columns: .85fr 1.15fr;
        gap: 38px;
    }

    .rsc-story {
        min-height: 590px;
    }

    .rsc-products--split ul.products {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }

    .rsc-products--split ul.products li.product:nth-child(3) {
        display: none !important;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 750px) {
    .rsc-section--featured,
    .rsc-section--split {
        padding: 58px 0 65px;
    }

    .rsc-section--featured .rsc-shell,
    .rsc-split-shell {
        width: 100%;
    }

    .rsc-head {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        margin-bottom: 28px;
    }

    .rsc-title {
        font-size: 31px;
    }

    .rsc-split-shell {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .rsc-section.is-image-right .rsc-story,
    .rsc-section.is-image-right .rsc-content {
        order: initial;
    }

    /* En móvil la imagen siempre abre el bloque, sin importar el lado desktop. */
    .rsc-section.is-image-right .rsc-story {
        order: 1;
    }

    .rsc-section.is-image-right .rsc-content {
        order: 2;
    }

    .rsc-story {
        width: calc(100% - 40px);
        min-height: 480px;
        margin: 0 20px;
    }

    .rsc-story-copy {
        left: 22px;
        right: 22px;
        bottom: 24px;
    }

    .rsc-story-title {
        font-size: 34px;
    }

    .rsc-content {
        width: 100%;
    }

    .rsc-content > .rsc-eyebrow,
    .rsc-content > .rsc-title,
    .rsc-content > .rsc-description,
    .rsc-content > .rsc-text-link {
        margin-left: 20px;
    }

    .rsc-content > .rsc-description {
        max-width: calc(100% - 40px);
        margin-right: 20px;
    }

    /* Todos los grids se convierten en carrusel horizontal en mobile. */
    .rsc-products--featured ul.products,
    .rsc-products--split ul.products {
        display: flex !important;
        overflow-x: auto;
        gap: 16px !important;
        padding: 0 20px 16px !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .rsc-products ul.products::-webkit-scrollbar {
        display: none;
    }

    .rsc-products--featured ul.products li.product,
    .rsc-products--split ul.products li.product,
    .rsc-products--split ul.products li.product:nth-child(3) {
        display: flex !important;
        flex: 0 0 78vw !important;
        max-width: 310px !important;
        scroll-snap-align: start;
    }

    .rsc-text-link--bottom {
        margin-top: 23px;
    }
}

@media (max-width: 420px) {
    .rsc-story {
        min-height: 420px;
    }

    .rsc-story-title {
        font-size: 30px;
    }

    .rsc-products--featured ul.products li.product,
    .rsc-products--split ul.products li.product {
        flex-basis: 82vw !important;
    }
}


/* =========================================================
   FIX v1.0.1 · LAYOUT "PRODUCTOS IZQUIERDA + IMAGEN DERECHA"
   Este diseño necesita invertir también el ancho de columnas,
   no solamente el orden visual.
========================================================= */

@media (min-width: 1101px) {

    /* Izquierda amplia para que quepan correctamente las 3 cards;
       imagen derecha más compacta, espejo exacto del layout image_left. */
    .rsc-section.is-image-right .rsc-split-shell {
        grid-template-columns:
            minmax(0, 1.25fr)
            minmax(380px, .95fr) !important;
    }

    /* Astra/tema hijo fuerza un botón de mínimo 200px con !important.
       En las cards compactas del split derecho lo neutralizamos sólo aquí. */
    .rsc-section.is-image-right
    .woocommerce
    .rmp-shop-card
    .rmp-shop-button,
    .rsc-section.is-image-right
    .woocommerce-page
    .rmp-shop-card
    .rmp-shop-button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 42px !important;
        padding: 0 10px !important;
        margin-top: 2px !important;
        border-width: 1.5px !important;
        font-size: 10px !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }

    .rsc-section.is-image-right .rmp-shop-title {
        min-height: 36px;
    }
}

/* Tablet: también invertir proporciones cuando la imagen está a la derecha. */
@media (min-width: 751px) and (max-width: 1100px) {

    .rsc-section.is-image-right .rsc-split-shell {
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(300px, .85fr) !important;
    }

    .rsc-section.is-image-right
    .woocommerce
    .rmp-shop-card
    .rmp-shop-button,
    .rsc-section.is-image-right
    .woocommerce-page
    .rmp-shop-card
    .rmp-shop-button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 40px !important;
        padding: 0 10px !important;
        font-size: 9px !important;
        white-space: nowrap !important;
    }
}


/* =========================================================
   v1.1.0 · EDITORIAL
========================================================= */

.rsc-section--editorial {
    background: #eef5fb;
}

.rsc-editorial-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.rsc-editorial-image {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: #e7eef5;
}

.rsc-editorial-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform .8s cubic-bezier(.22,.61,.36,1);
}

.rsc-section--editorial:hover .rsc-editorial-image img {
    transform: scale(1.025);
}

.rsc-editorial-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7,40,72,0) 65%,
            rgba(7,40,72,.12) 100%
        );
    pointer-events: none;
}

.rsc-editorial-content {
    min-height: 610px;
    padding: 90px clamp(55px,7vw,125px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.rsc-editorial-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--rsc-blue);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 750;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rsc-editorial-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--rsc-blue);
}

.rsc-editorial-title {
    margin: 0;
    max-width: 500px;
    color: var(--rsc-navy);
    font-size: clamp(39px,3.4vw,55px);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -1.8px;
}

.rsc-editorial-title span {
    color: var(--rsc-blue);
}

.rsc-editorial-text {
    max-width: 430px;
    margin: 23px 0 0;
    color: #647484;
    font-size: 13.5px;
    line-height: 1.9;
    font-weight: 400;
}

.rsc-editorial-quote {
    position: relative;
    max-width: 420px;
    margin-top: 27px;
    padding-left: 17px;
    color: var(--rsc-navy);
    font-size: 12px;
    line-height: 1.7;
    font-weight: 600;
}

.rsc-editorial-quote::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 2px;
    background: var(--rsc-blue);
    border-radius: 3px;
}

.rsc-editorial-button {
    min-height: 55px;
    margin-top: 31px;
    padding: 0 29px;
    border-radius: 999px;
    border: 1px solid var(--rsc-navy);
    background: var(--rsc-navy);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    text-decoration: none !important;
    font-size: 10.5px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: .35px;
    transition: transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.rsc-editorial-button:hover {
    background: var(--rsc-blue);
    border-color: var(--rsc-blue);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 23px rgba(36,107,215,.16);
}

.rsc-editorial-arrow {
    font-size: 20px;
    line-height: 1;
    font-weight: 300;
    transition: transform .2s ease;
}

.rsc-editorial-button:hover .rsc-editorial-arrow {
    transform: translateX(5px);
}

.rsc-editorial-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    color: #7d8a95;
    font-size: 9px;
    line-height: 1.4;
    font-weight: 500;
}

.rsc-editorial-detail-line {
    width: 42px;
    height: 1px;
    background: #a9b7c4;
}

/* =========================================================
   v1.1.0 · RECOMENDADOR / FINDER
========================================================= */

.rsc-section--finder {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            120deg,
            #246bd7 0%,
            #246bd7 55%,
            #1e66cf 100%
        );
    color: #fff;
}

.rsc-section--finder::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 42% 8% 42% 8%;
    right: -100px;
    top: -180px;
    transform: rotate(30deg);
    pointer-events: none;
}

.rsc-section--finder::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    left: 45%;
    bottom: -210px;
    pointer-events: none;
}

.rsc-finder-inner {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 112px),1504px);
    min-height: 480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0,1.12fr) minmax(400px,.88fr);
    gap: 60px;
    align-items: center;
    padding: 65px 0;
}

.rsc-finder-copy {
    max-width: 580px;
}

.rsc-finder-eyebrow {
    display: block;
    margin-bottom: 17px;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 750;
    letter-spacing: 1.15px;
    text-transform: uppercase;
    color: rgba(255,255,255,.82);
}

.rsc-finder-title {
    margin: 0;
    color: #fff;
    font-size: clamp(38px,3.5vw,53px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -1.7px;
}

.rsc-finder-text {
    max-width: 480px;
    margin: 19px 0 0;
    color: rgba(255,255,255,.86);
    font-size: 14px;
    line-height: 1.85;
}

.rsc-finder-button {
    min-height: 58px;
    margin-top: 30px;
    padding: 0 29px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: var(--rsc-navy) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-decoration: none !important;
    font-size: 11px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: .35px;
    transition: transform .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease;
}

.rsc-finder-button:hover {
    transform: translateY(-2px);
    background: #f4f8fc;
    color: var(--rsc-blue) !important;
    box-shadow: 0 12px 28px rgba(4,39,76,.18);
}

.rsc-finder-arrow {
    font-size: 22px;
    line-height: 1;
    font-weight: 300;
    transition: transform .2s ease;
}

.rsc-finder-button:hover .rsc-finder-arrow {
    transform: translateX(5px);
}

.rsc-finder-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 470px;
    margin-top: 20px;
    color: rgba(255,255,255,.68);
    font-size: 9px;
    line-height: 1.6;
}

.rsc-finder-note-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin-top: 1px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
}

.rsc-finder-art {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsc-finder-geometry {
    position: absolute;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(255,255,255,.27);
    border-radius: 34% 5% 34% 5%;
    transform: rotate(34deg);
}

.rsc-finder-geometry::after {
    content: "";
    position: absolute;
    inset: 27px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: inherit;
}

.rsc-finder-product {
    position: relative;
    z-index: 3;
    background: #fff;
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 25px 45px rgba(5,48,94,.23);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.rsc-finder-product-large {
    width: 178px;
    height: 245px;
    border-radius: 28px 28px 14px 14px;
    transform: rotate(-7deg) translateX(12px);
}

.rsc-finder-product-small {
    width: 137px;
    height: 195px;
    margin-left: -26px;
    margin-top: 80px;
    border-radius: 23px 23px 12px 12px;
    transform: rotate(9deg);
}

.rsc-finder-product img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    display: block;
}

.rsc-finder-placeholder {
    width: 100%;
    min-height: 86px;
    padding: 18px 10px;
    background: linear-gradient(145deg,#246bd7,#165aaf);
    color: #fff;
}

.rsc-finder-placeholder span {
    display: block;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.rsc-finder-placeholder i {
    display: block;
    width: 37px;
    height: 1px;
    margin: 10px auto;
    background: rgba(255,255,255,.72);
}

.rsc-finder-placeholder small {
    display: block;
    font-style: normal;
    font-size: 9px;
    line-height: 1.35;
    font-weight: 650;
}

.rsc-finder-shadow {
    position: absolute;
    z-index: 1;
    bottom: 15px;
    width: 340px;
    height: 46px;
    border-radius: 50%;
    background: rgba(5,45,86,.19);
    filter: blur(16px);
}

/* =========================================================
   v1.1.0 · RESPONSIVE NUEVOS BLOQUES
========================================================= */

@media (max-width: 1000px) {
    .rsc-editorial-image,
    .rsc-editorial-content {
        min-height: 540px;
    }

    .rsc-editorial-content {
        padding: 70px 48px;
    }

    .rsc-editorial-title {
        font-size: 42px;
    }

    .rsc-finder-inner {
        width: calc(100% - 60px);
        grid-template-columns: 1fr .8fr;
        gap: 30px;
    }

    .rsc-finder-title {
        font-size: 40px;
    }

    .rsc-finder-art {
        transform: scale(.88);
    }
}

@media (max-width: 750px) {
    .rsc-editorial-inner {
        grid-template-columns: 1fr;
    }

    .rsc-editorial-image {
        min-height: 440px;
        order: 1;
    }

    .rsc-editorial-content {
        min-height: auto;
        order: 2;
        padding: 55px 22px 60px;
    }

    .rsc-editorial-title {
        max-width: 370px;
        font-size: 36px;
        letter-spacing: -1.3px;
    }

    .rsc-editorial-text {
        max-width: 390px;
        font-size: 12.5px;
        line-height: 1.8;
    }

    .rsc-editorial-button {
        min-height: 52px;
        padding: 0 24px;
        font-size: 10px;
    }

    .rsc-finder-inner {
        width: calc(100% - 40px);
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 58px 0 45px;
    }

    .rsc-finder-copy {
        max-width: 100%;
    }

    .rsc-finder-title {
        max-width: 360px;
        font-size: 35px;
        letter-spacing: -1.2px;
    }

    .rsc-finder-text {
        max-width: 360px;
        font-size: 12.5px;
    }

    .rsc-finder-button {
        min-height: 53px;
        padding: 0 24px;
        font-size: 10px;
    }

    .rsc-finder-art {
        min-height: 280px;
        transform: scale(.88);
        transform-origin: center;
    }
}

@media (max-width: 420px) {
    .rsc-editorial-image {
        min-height: 370px;
    }

    .rsc-editorial-title {
        font-size: 33px;
    }

    .rsc-editorial-button,
    .rsc-finder-button {
        width: 100%;
    }

    .rsc-finder-title {
        font-size: 32px;
    }

    .rsc-finder-art {
        margin-top: -12px;
        transform: scale(.77);
    }
}


/* =========================================================
   v1.2.0 · HERO PRINCIPAL / CARRUSEL
   Basado en el hero RESARSA original.
========================================================= */

.rsc-section--hero {
    position: relative;
    min-height: 620px;
    height: calc(86vh - 118px);
    max-height: 850px;
    overflow: hidden;
    background: #f5f8fb;
    --rsc-hero-blue: #246bd7;
    --rsc-hero-blue-dark: #185ec8;
    --rsc-hero-navy: #0b477d;
    --rsc-hero-muted: #53687a;
}

.rsc-hero-stage,
.rsc-hero-slide {
    position: absolute;
    inset: 0;
}

.rsc-hero-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.rsc-hero-slide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .55s ease, visibility .55s ease;
}

.rsc-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.rsc-hero-picture,
.rsc-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rsc-hero-picture {
    display: block;
}

.rsc-hero-image {
    object-fit: cover;
    object-position: center center;
    display: block;
}

.rsc-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(248,250,252,.99) 0%,
            rgba(248,250,252,.96) 27%,
            rgba(248,250,252,.73) 47%,
            rgba(248,250,252,.22) 67%,
            rgba(248,250,252,0) 100%
        );
}

.rsc-hero-inner {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 112px),1504px);
    height: 100%;
    min-height: inherit;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.rsc-hero-content {
    width: 100%;
    max-width: 550px;
    padding: 55px 0 76px;
    animation: rscHeroFade .7s ease both;
}

.rsc-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 23px;
    color: var(--rsc-hero-navy);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 750;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.rsc-hero-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--rsc-hero-blue);
}

.rsc-hero-title {
    margin: 0;
    max-width: 540px;
    color: var(--rsc-hero-navy);
    font-size: clamp(44px,4vw,62px);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -2.1px;
}

.rsc-hero-title span {
    display: block;
    color: var(--rsc-hero-blue);
}

.rsc-hero-description {
    max-width: 455px;
    margin: 24px 0 0;
    color: #4f6273;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 400;
}

.rsc-hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    margin-top: 34px;
}

.rsc-hero-btn {
    min-height: 62px;
    padding: 0 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1;
    font-weight: 650;
    letter-spacing: .1px;
    transition: transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.rsc-hero-btn-primary {
    background: var(--rsc-hero-blue);
    border: 1px solid var(--rsc-hero-blue);
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(36,107,215,.18);
}

.rsc-hero-btn-primary:hover {
    background: var(--rsc-hero-blue-dark);
    border-color: var(--rsc-hero-blue-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 13px 26px rgba(36,107,215,.23);
}

.rsc-hero-btn-secondary {
    background: rgba(255,255,255,.55);
    border: 1px solid #dbe4ed;
    color: var(--rsc-hero-navy) !important;
    box-shadow: 0 4px 10px rgba(10,40,70,.025);
    backdrop-filter: blur(5px);
}

.rsc-hero-btn-secondary:hover {
    background: #fff;
    border-color: #cbd8e5;
    color: var(--rsc-hero-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(10,40,70,.06);
}

.rsc-hero-arrow {
    font-size: 25px;
    line-height: 1;
    font-weight: 300;
    transition: transform .2s ease;
}

.rsc-hero-btn:hover .rsc-hero-arrow {
    transform: translateX(5px);
}

.rsc-hero-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    color: var(--rsc-hero-muted);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 500;
}

.rsc-hero-check {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    border: 1px solid var(--rsc-hero-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rsc-hero-blue);
    font-size: 9px;
    font-weight: 900;
}

.rsc-hero-index {
    position: absolute;
    z-index: 3;
    left: max(56px,calc((100vw - 1504px) / 2));
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rsc-hero-navy);
    font-size: 9px;
    font-weight: 600;
}

.rsc-hero-index-muted {
    color: #8e99a3;
}

.rsc-hero-index-line {
    display: block;
    width: 55px;
    height: 1px;
    margin-left: 3px;
    background: var(--rsc-hero-navy);
}

.rsc-hero-caption {
    position: absolute;
    z-index: 3;
    right: max(45px,calc((100vw - 1504px) / 2));
    bottom: 24px;
    color: var(--rsc-hero-navy);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .1px;
}

.rsc-hero-carousel-ui {
    position: absolute;
    z-index: 9;
    left: 50%;
    bottom: 21px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 9px;
    border: 1px solid rgba(11,71,125,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 7px 22px rgba(10,40,70,.08);
    backdrop-filter: blur(8px);
}

.rsc-hero-nav {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--rsc-hero-navy);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 14px;
}

.rsc-hero-nav:hover {
    background: #fff;
    color: var(--rsc-hero-blue);
}

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

.rsc-hero-dot {
    width: 7px;
    height: 7px;
    min-width: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #b6c2cc;
    cursor: pointer;
    transition: width .2s ease,background .2s ease,border-radius .2s ease;
}

.rsc-hero-dot.is-active {
    width: 22px;
    border-radius: 999px;
    background: var(--rsc-hero-blue);
}

@keyframes rscHeroFade {
    from {opacity:0;transform:translateY(12px)}
    to {opacity:1;transform:translateY(0)}
}

@media (max-width:1024px) {
    .rsc-section--hero {
        min-height: 570px;
        height: 70vh;
    }

    .rsc-hero-inner {
        width: calc(100% - 60px);
    }

    .rsc-hero-content {
        max-width: 480px;
    }

    .rsc-hero-title {
        font-size: 47px;
    }

    .rsc-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(248,250,252,.98) 0%,
                rgba(248,250,252,.92) 41%,
                rgba(248,250,252,.31) 74%,
                rgba(248,250,252,0) 100%
            );
    }

    .rsc-hero-btn {
        min-height: 56px;
        padding: 0 30px;
        font-size: 12px;
    }

    .rsc-hero-index {
        left: 30px;
    }

    .rsc-hero-caption {
        right: 30px;
    }
}

@media (max-width:700px) {
    .rsc-section--hero {
        height: auto;
        min-height: 710px;
        background: #f5f8fb;
    }

    .rsc-hero-slide {
        min-height: 710px;
    }

    .rsc-hero-picture,
    .rsc-hero-image {
        height: 48%;
        top: 0;
        bottom: auto;
    }

    .rsc-hero-image {
        object-position: 62% center;
    }

    .rsc-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(248,250,252,0) 17%,
                rgba(248,250,252,.08) 31%,
                rgba(248,250,252,.96) 48%,
                #f8fafc 59%,
                #f8fafc 100%
            );
    }

    .rsc-hero-inner {
        width: calc(100% - 38px);
        min-height: 710px;
        align-items: flex-end;
    }

    .rsc-hero-content {
        max-width: 100%;
        padding: 335px 0 67px;
    }

    .rsc-hero-eyebrow {
        margin-bottom: 16px;
        font-size: 8.5px;
    }

    .rsc-hero-title {
        max-width: 370px;
        font-size: 38px;
        line-height: 1.06;
        letter-spacing: -1.4px;
    }

    .rsc-hero-description {
        max-width: 370px;
        margin-top: 16px;
        font-size: 12.5px;
        line-height: 1.7;
    }

    .rsc-hero-buttons {
        gap: 13px;
        margin-top: 24px;
    }

    .rsc-hero-btn {
        min-height: 52px;
        padding: 0 23px;
        font-size: 11px;
    }

    .rsc-hero-trust {
        margin-top: 20px;
        font-size: 9px;
    }

    .rsc-hero-index {
        left: 19px;
        bottom: 20px;
    }

    .rsc-hero-caption {
        display: none;
    }

    .rsc-hero-carousel-ui {
        right: 16px;
        left: auto;
        bottom: 13px;
        transform: none;
    }
}

@media (max-width:420px) {
    .rsc-section--hero,
    .rsc-hero-slide,
    .rsc-hero-inner {
        min-height: 700px;
    }

    .rsc-hero-content {
        padding-top: 325px;
    }

    .rsc-hero-title {
        font-size: 34px;
    }

    .rsc-hero-buttons {
        width: 100%;
        align-items: stretch;
    }

    .rsc-hero-btn {
        width: 100%;
    }
}
