@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

:root {
    --page-offset-top: 72px;
    --header-height: 72px;
    --viewport-width: 100vw;
    --viewport-height: 100vh;
    --available-screen-height: calc(100vh - 72px);
    --font-main: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --font-display: "Mont", "Poppins", sans-serif;
    --ink-900: #1e3e81;
    --ink-700: #3c5779;
    --ink-500: #6b7f96;
    --surface: #f5f8fb;
    --line: #dbe4ee;
    --teal-500: #1ea8e0;
    --blue-800: #1e3e81;
    --blue-700: #25559d;
    --blue-500: #1ea8e0;
    --green-500: #73b73b;
    --green-600: #679f39;
    --mint-300: #91d6ac;
    --stone-700: #51534a;
}

.page-home,
.page-home button,
.page-home input,
.page-home textarea,
.page-home select,
.page-home a,
.page-home p,
.page-home li,
.page-home span,
.page-home strong,
.page-home em,
.page-home small,
.page-home label {
    font-family: var(--font-main) !important;
    font-style: normal !important;
}

.page-home h1,
.page-home h2,
.page-home h3,
.page-home h4,
.page-home h5,
.page-home h6,
.page-home .hero__title,
.page-home .steps h2,
.page-home .success-stories h2,
.page-home .home-features h2,
.page-home .story-card__title h3,
.page-home .feature-item h3,
.page-home .feature-panel__copy h3 {
    font-family: var(--font-display) !important;
    font-style: normal !important;
    font-weight: 800 !important;
}

body {
    margin: 0;
    padding-top: var(--page-offset-top);
    font-family: var(--font-main);
    background: var(--surface);
    color: var(--ink-900);
}

body,
button,
input,
textarea,
select,
.global-nav,
.global-nav__brand,
.global-nav__link,
.global-nav__toggle {
    font-family: var(--font-main);
}

.page-home {
    padding-top: 0;
    --header-height: 56px;
    --nav-height: 56px;
}

.home-page {
    color: var(--ink-900);
    overflow-x: clip;
    overflow-y: visible;
}

.hero__title,
.steps h2,
.success-stories h2,
.home-features h2,
.story-card__title h3,
.feature-item h3 {
    font-family: var(--font-display);
}

.container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.section-tag {
    margin: 0 0 10px;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--teal-500);
}

.section-tag--light {
    color: #d7f0fb;
}

.hero {
    min-height: 660px;
    position: relative;
    background:
        radial-gradient(circle at 10% 18%, rgba(145, 214, 172, 0.22), transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(30, 168, 224, 0.18), transparent 38%),
        linear-gradient(132deg, var(--blue-800) 0%, var(--blue-700) 58%, var(--blue-500) 100%);
    overflow: hidden;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(1px);
    pointer-events: none;
}

.hero::before {
    width: 420px;
    height: 420px;
    top: -130px;
    right: -90px;
    background: radial-gradient(circle, rgba(30, 168, 224, 0.34), rgba(30, 168, 224, 0));
    animation: floatOne 10s ease-in-out infinite;
}

.hero::after {
    width: 300px;
    height: 300px;
    left: -90px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(115, 183, 59, 0.28), rgba(115, 183, 59, 0));
    animation: floatTwo 12s ease-in-out infinite;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(14, 28, 56, 0.8), rgba(30, 62, 129, 0.28));
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(1360px, calc(100% - 32px));
    margin: 0 auto 0 48px;
    padding: 118px 0 18px 0;
    min-height: 660px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    color: #f8fbff;
}

.hero__eyebrow,
.hero__title,
.hero__subtitle,
.hero__actions,
.hero__stats,
.hero__quick-links {
    animation: fadeUp 580ms ease both;
}

.hero__title {
    animation-delay: 80ms;
}

.hero__subtitle {
    animation-delay: 150ms;
}

/* Contenedor de botones */
.hero__actions {
    animation-delay: 220ms;
}

.hero__stats {
    animation-delay: 300ms;
}

.hero__quick-links {
    animation-delay: 240ms;
}

.hero__eyebrow {
    margin: 0 0 16px;
    font-size: 0.84rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: #d7f0fb;
}

.hero__title {
    margin: 0;
    margin-top: 20%;
    font-size: clamp(1.82rem, 3.6vw, 2.85rem);
    line-height: 0.98;
    max-width: 700px;
    text-wrap: pretty;
    color: #ffffff;
}

.hero__subtitle {
    margin: 18px 0 0;
    max-width: 620px;
    font-size: 1.02rem;
    line-height: 1.15;
    font-style: italic;
    color: #eef7ff;
}

.hero__title-primary {
    color: #ffffff;
}

.hero__title-accent {
    color: var(--green-500);
}

.hero__quick-links {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(18px, 1.4vw, 28px);
    margin-top: auto;
    margin-left: 0;
    margin-right: auto;
    max-width: none;
    width: min(calc(100vw - 44px), 1880px);
    padding-top: 0;
    padding-bottom: 10px;
    align-items: center;
    top: 0;
}

.hero-link-card {
    align-items: flex-start;
    color: #ffffff;
    display: flex;
    flex: 0 1 auto;
    justify-content: center;
    min-height: 72px;
    min-width: 0;
    width: auto;
    padding: 24px 12px 0;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.hero-link-card:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.hero-link-card:focus-visible {
    outline: 3px solid rgba(148, 197, 255, 0.68);
    outline-offset: 4px;
}

.hero-link-card__thumb {
    align-items: center;
    background: linear-gradient(135deg, rgba(145, 214, 172, 0.25), rgba(30, 168, 224, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.96);
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 42px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-link-card__text {
    display: block;
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    font-weight: 800;
    line-height: 1.35;
    max-width: none;
    text-align: center;
    text-wrap: balance;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.14em;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    min-height: 48px;
    padding: 0 22px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.94rem;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: 3px solid rgba(148, 197, 255, 0.68);
    outline-offset: 2px;
}

/* Boton principal */
.btn--primary {
    background: linear-gradient(120deg, var(--green-500) 0%, var(--green-600) 100%);
    color: #13320b;
    box-shadow: 0 14px 28px rgba(115, 183, 59, 0.3);
}

.btn--primary:hover {
    box-shadow: 0 18px 30px rgba(115, 183, 59, 0.38);
}

/* Boton secundario */
.btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.54);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* Tarjetas de datos */
.hero__stats {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 900px;
}

/* Tarjeta individual */
.stat-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 16px;
    backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: transform 180ms ease, background-color 180ms ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.13);
}

.stat-card__value {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 800;
}

.stat-card__label {
    margin: 6px 0 0;
    color: #d7f0fb;
    font-size: 0.9rem;
}

.steps {
    position: relative;
    background: #2ea8dd;
    padding: clamp(22px, 3.8vw, 48px) 0;
}

.steps .container {
    width: 100%;
    max-width: none;
    margin: 0;
}

.steps::before {
    display: none;
}

.steps h2,
.success-stories h2,
.home-features h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.65rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.steps__grid,
.services__grid,
.success-stories__grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.steps__feature {
    display: grid;
    grid-template-columns: minmax(400px, 54%) minmax(340px, 46%);
    gap: 0;
    background: transparent;
    width: 100%;
    min-height: 0;
    align-items: center;
    overflow: hidden;
}

.steps__media {
    position: relative;
    border-radius: 0 340px 340px 0;
    overflow: hidden;
    height: clamp(360px, 38vw, 520px);
    margin-left: 0;
    margin-right: 0;
}

.steps__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 31, 60, 0.1) 0%, rgba(6, 31, 60, 0.16) 48%, rgba(6, 31, 60, 0) 100%);
    pointer-events: none;
}

.steps__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.steps__content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(360px, 38vw, 520px);
    padding: clamp(20px, 2.6vw, 32px) clamp(24px, 3.2vw, 44px);
    color: #ffffff;
    position: relative;
    z-index: 2;
    margin-left: 0;
}

.steps__content-inner {
    width: min(100%, 500px);
    margin: 0 auto;
    display: grid;
    gap: 20px;
    justify-items: center;
    text-align: center;
}

.steps__copy {
    width: min(100%, 470px);
    margin: 0;
    order: 2;
}

.steps__copy p {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1rem, 1.25vw, 1.28rem);
    font-weight: 500;
    line-height: 1.28;
    text-align: center;
    text-wrap: balance;
    max-width: 42ch;
}

.steps__copy p + p {
    margin-top: 34px;
}

.steps__headline {
    width: min(100%, 500px);
    position: relative;
    z-index: 3;
    order: 1;
}

.steps__content h2 {
    margin: 0;
    width: 100%;
    max-width: 500px;
    text-align: center;
    color: #153f95;
    font-size: clamp(2.3rem, 3.4vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 900;
    text-wrap: balance;
    position: relative;
    z-index: 2;
    text-shadow: 0 8px 20px rgba(23, 63, 149, 0.08);
}

.info-card,
.service-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
    background: #ffffff;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.info-card {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.info-card:hover,
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    border-color: #c5d5ea;
}

.info-card__number {
    display: inline-block;
    font-size: 0.8rem;
    border-radius: 999px;
    background: linear-gradient(120deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    padding: 6px 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.info-card h3,
.service-card h3 {
    margin: 14px 0 8px;
    font-size: 1.15rem;
    line-height: 1.35;
}

.info-card p,
.service-card p {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.58;
}

.success-stories {
    position: relative;
    background: #fefefe;
    color: #101010;
    padding: 52px 0 38px;
    overflow: hidden;
}

.success-stories::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 84%, rgba(255, 255, 255, 0.9), transparent 22%),
        radial-gradient(circle at 86% 14%, rgba(255, 255, 255, 0.92), transparent 26%);
    pointer-events: none;
}

.success-stories .container {
    width: min(1540px, calc(100% - 12px));
    position: relative;
    z-index: 1;
}

.success-stories__art {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.success-stories__image {
    aspect-ratio: 1924 / 820;
    width: calc(100% - 64px);
    margin: 24px auto;
    position: relative;
    background-color: #fefefe;
    background-image: url("../images/GRSdesktop.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.success-stories__cta {
    position: absolute;
    left: 50%;
    bottom: 4.6%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #1f56a6;
    border: 2px solid #28aee6;
    box-shadow: none;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.08rem, 1.34vw, 1.18rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    letter-spacing: 0;
    white-space: nowrap;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.success-stories__cta:hover {
    transform: translateX(-50%) translateY(-2px);
    background: #245eb5;
    border-color: #37b9ef;
}

.success-stories__cta:focus-visible {
    outline: 3px solid rgba(39, 174, 230, 0.4);
    outline-offset: 3px;
}

.home-features {
    background:
        linear-gradient(180deg, #eef7f4 0%, #eaf4fb 100%);
    border-top: 1px solid #d6ebff;
    padding: 58px 0 70px;
    overflow: hidden;
}

.home-features h2 {
    margin: 0;
    max-width: 18ch;
}

.home-features__list {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-features__list > .feature-item {
    margin: 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
    height: auto;
    overflow: hidden;
    padding: 22px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #cfe2f3;
    box-shadow: 0 14px 26px rgba(30, 62, 129, 0.08);
}

.feature-item__label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
}

.feature-item h3 {
    margin: 0 0 8px;
    font-size: 1.18rem;
    line-height: 1.3;
    color: var(--ink-900);
    overflow-wrap: anywhere;
}

.feature-item p {
    margin: 0;
    max-width: none;
    color: var(--stone-700);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

@media (min-width: 1440px) {
    .hero {
        min-height: 760px;
    }

    .hero__content {
        width: min(1380px, calc(100% - 40px));
        margin: 0 auto 0 52px;
        padding: 124px 0 20px 0;
        min-height: 760px;
    }

    .hero__title {
        max-width: 820px;
        font-size: clamp(2.4rem, 3.6vw, 3.35rem);
    }

    .hero__subtitle {
        margin-top: 20px;
        max-width: 700px;
        font-size: 1.08rem;
        line-height: 1.16;
    }

    .hero__quick-links {
        gap: clamp(28px, 2.4vw, 46px);
        max-width: none;
        width: min(calc(100vw - 56px), 1940px);
        padding-top: 0;
    }

    .steps__feature {
        grid-template-columns: minmax(300px, 50%) minmax(460px, 50%);
    }

    .story-card img,
    .story-card__media {
        height: 300px;
        min-height: 300px;
    }
}

@media (max-width: 1200px) {
    .hero__content {
        width: calc(100% - 32px);
        margin: 0 auto 0 34px;
        padding: 142px 0 28px 0;
    }

    .hero__quick-links {
        gap: 18px;
        max-width: none;
        width: calc(100vw - 52px);
        padding-top: 56px;
    }

    .hero-link-card {
        min-height: 64px;
        padding-inline: 10px;
    }

    .steps {
        padding: 88px 0 96px;
    }

    .success-stories,
    .home-features {
        padding-top: 72px;
        padding-bottom: 76px;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatOne {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-14px, 12px, 0);
    }
}

@keyframes floatTwo {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(12px, -10px, 0);
    }
}

@media (max-width: 980px) {
    .hero {
        min-height: 620px;
    }

    .hero__content {
        width: calc(100% - 32px);
        margin: 0 auto;
        padding: 136px 0 24px 0;
        min-height: 620px;
    }

    .hero__title {
        max-width: 720px;
        font-size: clamp(2.4rem, 6vw, 3.3rem);
    }

    .hero__subtitle {
        margin-top: 72px;
        max-width: 640px;
        font-size: 1rem;
    }

    .hero__quick-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 22px;
        max-width: 100%;
        width: 100%;
        padding-top: 52px;
    }

    .steps__feature {
        grid-template-columns: 1fr;
    }

    .steps__media img {
        min-height: 320px;
    }

    .steps__content {
        display: flex;
        flex-direction: column;
        max-width: none;
        padding: 30px 32px 34px;
        justify-content: center;
        align-items: center;
        min-height: auto;
    }

    .steps__headline {
        width: 100%;
    }

    .hero__stats,
    .steps__grid,
    .services__grid,
    .success-stories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-features h2 {
        max-width: 24ch;
    }

    .home-features__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    :root {
        --page-offset-top: 72px;
    }

    .container,
    .hero__content {
        width: calc(100% - 32px);
        margin-left: auto;
        margin-right: auto;
    }

    .hero {
        min-height: 0;
    }

    .hero__content {
        width: calc(100% - 32px);
        margin: 0 auto;
        padding: 144px 0 28px 0;
        min-height: auto;
    }

    .hero__eyebrow {
        margin-bottom: 12px;
        font-size: 0.76rem;
        letter-spacing: 0.16em;
    }

    .hero__title {
        max-width: 100%;
        font-size: clamp(2rem, 9vw, 2.7rem);
        line-height: 1.08;
    }

    .hero__subtitle {
        margin-top: 52px;
        max-width: 100%;
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .hero__quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 20px;
        width: 100%;
        padding-top: 38px;
    }

    .hero__stats,
    .steps__feature,
    .steps__grid,
    .services__grid,
    .success-stories__grid {
        grid-template-columns: 1fr;
    }

    .story-card__media,
    .story-card img {
        min-height: 240px;
        height: 240px;
    }

    .story-card__title {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .story-card__title h3 {
        font-size: 1.22rem;
    }

    .steps__content {
        min-height: auto;
        padding: 32px 24px 40px;
    }

    .steps__content-inner {
        width: min(100%, 520px);
        margin: 0 auto;
        justify-items: center;
    }

    .steps__headline {
        order: 1;
    }

    .steps__copy {
        order: 2;
        width: min(100%, 460px);
    }

    .steps__content h2 {
        max-width: 16ch;
        font-size: clamp(2.1rem, 5.2vw, 3rem);
    }

    .steps__copy p {
        max-width: 38ch;
        font-size: 1rem;
    }

    .hero-link-card {
        min-height: 92px;
        padding: 14px 16px 16px;
    }

    .feature-item {
        padding: 20px 18px;
    }

    .home-features__list {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .home-features__list > .feature-item {
        margin: 0 0 18px;
    }

    .home-features__list > .feature-item:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 680px) {
    .container,
    .hero__content {
        width: calc(100% - 28px);
    }

    .hero__content {
        padding-top: 156px;
    }

    .hero__title {
        font-size: clamp(1.9rem, 8vw, 2.45rem);
        max-width: 13ch;
    }

    .hero__subtitle {
        margin-top: 42px;
        font-size: 0.95rem;
    }

    .hero__quick-links {
        column-gap: 14px;
        row-gap: 16px;
        padding-top: 30px;
    }

    .hero-link-card {
        min-height: 60px;
        padding: 16px 10px 0;
    }

    .steps {
        padding: 82px 0 88px;
    }

    .success-stories,
    .home-features {
        padding-top: 60px;
        padding-bottom: 64px;
    }

    .steps__content,
    .feature-item {
        padding-inline: 20px;
    }

    .steps__media {
        height: 300px;
    }

    .steps__content {
        padding-top: 28px;
        padding-bottom: 34px;
    }

    .steps__content h2 {
        max-width: 15ch;
        font-size: clamp(2rem, 7vw, 2.7rem);
    }

    .home-features__list {
        gap: 22px;
    }

    .feature-item h3 {
        font-size: 1.08rem;
        line-height: 1.34;
    }
}

@media (max-width: 560px) {
    .container,
    .hero__content {
        width: calc(100% - 24px);
    }

    .hero__content {
        width: calc(100% - 24px);
        margin: 0 auto;
        padding: 166px 0 24px 0;
    }

    .hero__title {
        font-size: clamp(1.72rem, 9.8vw, 2.15rem);
        line-height: 1.1;
    }

    .hero__subtitle,
    .steps__content p,
    .story-card__body p,
    .feature-item p {
        font-size: 0.94rem;
    }

    .hero__quick-links {
        grid-template-columns: 1fr;
        row-gap: 14px;
        padding-top: 22px;
    }

    .hero-link-card {
        min-height: 54px;
        padding: 8px 8px 0;
    }

    .hero-link-card__text {
        font-size: 1rem;
    }

    .steps {
        padding: 72px 0 82px;
    }

    .steps__feature {
        margin-top: 28px;
        border-radius: 20px;
    }

    .steps__media {
        border-radius: 0 0 120px 0;
        height: 250px;
    }

    .steps__media img {
        min-height: 250px;
    }

    .steps__content {
        padding: 24px 18px 30px;
    }

    .steps__content-inner,
    .steps__headline,
    .steps__copy,
    .steps__content h2,
    .steps__copy p {
        max-width: 100%;
    }

    .steps__headline {
        order: 1;
    }

    .steps__copy {
        order: 2;
    }

    .success-stories {
        padding: 32px 0 24px;
    }

    .story-card__media,
    .story-card img {
        min-height: 220px;
        height: 220px;
    }

    .story-card__title {
        left: 14px;
        right: 14px;
        bottom: 12px;
    }

    .story-card__title h3 {
        font-size: 1.08rem;
        line-height: 1.16;
    }

    .story-card__body {
        padding: 14px 14px 16px;
    }

    .home-features {
        padding: 58px 0 60px;
    }

    .feature-item {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .home-features__list {
        margin-top: 24px;
        display: flex;
        flex-direction: column;
    }

    .home-features__list > .feature-item {
        margin-bottom: 20px;
    }

    .feature-item h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 420px) {
    .container,
    .hero__content {
        width: calc(100% - 20px);
    }

    .hero__content {
        padding-top: 102px;
        padding-bottom: 20px;
    }

    .hero__eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.14em;
    }

    .hero__title {
        font-size: clamp(1.56rem, 9.4vw, 1.92rem);
        max-width: 11.5ch;
    }

    .hero__subtitle {
        margin-top: 28px;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .hero__quick-links {
        padding-top: 26px;
    }

    .hero-link-card {
        min-height: 50px;
    }

    .hero-link-card__text {
        font-size: 0.92rem;
    }

    .steps {
        padding: 64px 0 72px;
    }

    .steps__feature {
        margin-top: 24px;
        border-radius: 18px;
    }

    .steps__media img,
    .story-card__media,
    .story-card img {
        min-height: 200px;
        height: 200px;
    }

    .steps__content {
        padding: 20px 16px 22px;
    }

    .story-card__title h3 {
        font-size: 1rem;
    }

    .story-card__body,
    .feature-item {
        padding: 14px;
    }

    .home-features__list {
        margin-top: 22px;
        display: flex;
        flex-direction: column;
    }

    .home-features__list > .feature-item {
        margin-bottom: 18px;
    }

    .feature-item {
        border-radius: 12px;
    }

    .feature-item__label {
        margin-bottom: 8px;
        font-size: 0.72rem;
    }

    .feature-item h3 {
        font-size: 0.94rem;
        line-height: 1.32;
    }
}

@media (max-width: 360px) {
    .container,
    .hero__content {
        width: calc(100% - 16px);
    }

    .hero__content {
        padding-top: 96px;
    }

    .hero__title {
        font-size: clamp(1.42rem, 9vw, 1.72rem);
    }

    .hero__subtitle,
    .steps__content p,
    .story-card__body p,
    .feature-item p {
        font-size: 0.86rem;
    }

    .hero-link-card {
        min-height: 46px;
        padding: 12px 6px 0;
    }

    .hero-link-card__text {
        font-size: 0.88rem;
    }

    .section-tag,
    .section-tag--light {
        font-size: 0.72rem;
    }

    .home-features__list {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
    }

    .home-features__list > .feature-item {
        margin-bottom: 16px;
    }

    .feature-item {
        padding: 13px 12px;
    }

    .feature-item h3 {
        font-size: 0.88rem;
    }
}

@media (max-width: 320px) {
    .container,
    .hero__content {
        width: calc(100% - 14px);
    }

    .hero__content {
        padding-top: 92px;
    }

    .hero__title {
        font-size: clamp(1.28rem, 8.6vw, 1.52rem);
        line-height: 1.12;
    }

    .hero__subtitle {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .hero__quick-links {
        row-gap: 12px;
    }

    .hero-link-card {
        min-height: 42px;
        padding: 10px 4px 0;
    }

    .hero-link-card__text {
        font-size: 0.82rem;
    }

    .steps__content,
    .story-card__body,
    .feature-item {
        padding: 12px;
    }

    .feature-item__label {
        font-size: 0.68rem;
    }

    .home-features__list {
        margin-top: 18px;
        display: flex;
        flex-direction: column;
    }

    .home-features__list > .feature-item {
        margin-bottom: 14px;
    }

    .home-features__list > .feature-item:last-child {
        margin-bottom: 0;
    }

    .feature-item h3 {
        font-size: 0.82rem;
        line-height: 1.28;
    }
}

@media (max-width: 1200px) {
}

@media (max-width: 860px) {
    .success-stories {
        padding: 38px 0 26px;
    }

    .success-stories .container {
        width: calc(100% - 14px);
    }

    .success-stories__art {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .success-stories__cta {
        min-width: 0;
        min-height: 36px;
        padding: 0 16px;
        bottom: 4.4%;
        font-size: 0.98rem;
    }

}

@media (max-width: 560px) {
    .success-stories {
        padding: 30px 0 20px;
    }

    .success-stories .container {
        width: calc(100% - 10px);
    }

    .success-stories__art {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .success-stories__image {
        background-size: contain;
    }

    .success-stories__cta {
        min-width: 0;
        min-height: 30px;
        padding: 0 12px;
        bottom: 4%;
        font-size: 0.76rem;
        border-width: 1.5px;
    }
}

@media (max-width: 420px) {
    .success-stories__image {
        background-size: contain;
    }
}

@media (max-width: 980px) {
    .steps {
        padding: 28px 0 34px;
    }

    .steps__feature {
        grid-template-columns: 1fr;
        min-height: auto;
        overflow: visible;
    }

    .steps__media {
        min-height: 520px;
        border-radius: 0 0 230px 230px;
        height: 520px;
        margin-left: 0;
        margin-right: 0;
    }

    .steps__content {
        min-height: auto;
        padding: 0 32px 26px;
        text-align: center;
        margin-left: 0;
        margin-top: -104px;
    }

    .steps__content-inner,
    .steps__copy,
    .steps__headline {
        width: 100%;
        margin-left: 0;
    }

    .steps__content-inner {
        transform: none;
        justify-items: center;
        gap: 34px;
    }

    .steps__content h2 {
        max-width: 14ch;
        margin: 0 auto;
        text-align: center;
        font-size: clamp(3.35rem, 8vw, 4.9rem);
        text-wrap: balance;
        margin-left: 0;
    }

    .steps__copy p {
        text-align: right;
        text-wrap: balance;
        line-height: 1.16;
    }

    .steps__content h2 span {
        white-space: normal;
    }
}

@media (max-width: 680px) {
    .steps {
        padding: 20px 0 24px;
    }

    .steps__media {
        min-height: 430px;
        border-radius: 0 0 164px 164px;
        height: 430px;
    }

    .steps__content {
        padding: 0 22px 22px;
        margin-top: -86px;
    }

    .steps__content-inner {
        gap: 30px;
    }

    .steps__copy p {
        font-size: 1.14rem;
        line-height: 1.18;
    }

    .steps__copy p + p {
        margin-top: 24px;
    }

    .steps__content h2 {
        max-width: 12ch;
        font-size: clamp(2.8rem, 9.8vw, 3.7rem);
    }
}

@media (max-width: 420px) {
    .steps {
        padding: 12px 0 18px;
    }

    .steps__media {
        min-height: 360px;
        border-radius: 0 0 124px 124px;
        height: 360px;
    }

    .steps__content {
        padding: 0 16px 28px;
        margin-top: -72px;
    }

    .steps__content h2 {
        max-width: 12ch;
        font-size: clamp(2.35rem, 10.8vw, 3rem);
    }

    .steps__copy p {
        font-size: 1rem;
        line-height: 1.18;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-features {
    background: #dfe7eb;
    border-top: 0;
    padding: 0;
    overflow: hidden;
}

.home-features__canvas {
    position: relative;
    border-top: 1px solid #26aee6;
}

.home-features__container {
    width: min(1320px, calc(100% - 48px));
    padding: 54px 0 60px;
}

.home-features__container h2 {
    max-width: 980px;
    margin: 0 auto;
    color: #74bb34;
    font-size: clamp(2.35rem, 3.25vw, 3.45rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-align: center;
    text-wrap: unset;
    white-space: normal;
}

#caracteristicas-titulo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.home-features__container h2 span {
    display: block;
    white-space: nowrap;
}

.home-features__slider {
    position: relative;
    margin-top: 38px;
    padding: 0 62px 0 32px;
}

.home-features__slides {
    position: relative;
    min-height: 470px;
}

.feature-panel {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: center;
    gap: 42px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 320ms ease, transform 320ms ease;
}

.feature-panel.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.feature-panel__copy {
    width: clamp(320px, 24vw, 420px);
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    color: #202020;
    justify-self: start;
    padding-top: 0;
    margin-left: 12px;
    transform: translateY(-36px);
}

.feature-panel__copy h3 {
    width: 100%;
    margin: 0 0 14px;
    color: #494949;
    font-size: clamp(2.5rem, 2.9vw, 3.2rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 700;
    text-align: center;
    white-space: normal;
    transform: translateX(-16px);
}

.feature-panel__copy p {
    width: 100%;
    margin: 0 auto;
    color: #111111;
    max-width: 34ch;
    font-size: clamp(1rem, 1.05vw, 1.14rem);
    line-height: 1.22;
    font-weight: 600;
    text-align: center;
}

.feature-panel__copy p:first-of-type {
    margin-left: 0;
}

.feature-panel__copy p + p {
    margin-top: 18px;
    margin-left: 0;
}

.feature-panel__media {
    position: relative;
    padding-right: 0;
    justify-self: start;
    width: 100%;
    max-width: 760px;
    margin-left: 112px;
    display: flex;
    justify-content: center;
}

.feature-panel__media::before {
    content: none;
}

.feature-panel__image-frame {
    position: relative;
    width: min(88%, 680px);
    min-height: 0;
    border-radius: 54px;
    overflow: hidden;
    background: transparent;
    isolation: auto;
}

.feature-panel__image-frame::before {
    content: none;
}

.feature-panel__image-clip {
    position: relative;
    width: 100%;
    min-height: 0;
    border-radius: 54px;
    overflow: hidden;
    background: transparent;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overscroll-behavior: contain;
}

.feature-panel__media img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    transform: scale(1);
    transform-origin: center;
    z-index: 1;
}

.home-features__dots {
    position: absolute;
    top: 50%;
    right: -36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateY(-50%);
    overscroll-behavior: contain;
}

.home-features__dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: #274c95;
    cursor: pointer;
    padding: 0;
    opacity: 0.95;
    transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.home-features__dot:hover,
.home-features__dot:focus-visible,
.home-features__dot.is-active {
    background: #23a9e4;
    opacity: 1;
    transform: scale(1.25);
    outline: none;
}

@media (max-width: 1100px) {
    .home-features__container {
        width: min(100% - 36px, 1140px);
        padding: 40px 0 48px;
    }

    .home-features__slider {
        margin-top: 32px;
        padding: 0 44px 0 12px;
    }

    .feature-panel {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 28px;
    }

    .feature-panel__copy {
        width: 280px;
        max-width: 280px;
        padding-top: 0;
        margin-left: -48px;
    }

    .feature-panel__copy p {
        max-width: 230px;
        font-size: 0.84rem;
    }

    .home-features__slides {
        min-height: 430px;
    }

}

@media (max-width: 860px) {
    .home-features__container {
        width: min(100% - 28px, 1120px);
        padding: 34px 0 38px;
    }

    .home-features__slider {
        margin-top: 22px;
        padding-right: 0;
        padding-bottom: 34px;
    }

    .home-features__slides {
        min-height: 0;
    }

    .feature-panel,
    .feature-panel.is-active {
        position: relative;
        inset: auto;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .feature-panel:not(.is-active) {
        display: none;
    }

    .feature-panel__copy {
        width: 100%;
        max-width: 100%;
        text-align: center;
        justify-self: center;
        padding-top: 0;
        margin-left: 0;
    }

    .feature-panel__copy h3 {
        text-align: center;
        font-size: clamp(2.4rem, 8.2vw, 3rem);
        white-space: normal;
    }

    .feature-panel__media {
        padding-right: 0;
        justify-content: center;
    }

    .home-features__dots {
        top: auto;
        right: 50%;
        bottom: 0;
        flex-direction: row;
        transform: translateX(50%);
    }
}

@media (max-width: 560px) {
    .home-features__container h2 {
        max-width: 100%;
        font-size: clamp(1.95rem, 10vw, 2.65rem);
        line-height: 0.98;
    }

    .home-features__container h2 span {
        white-space: normal;
    }

    .feature-panel__copy h3 {
        font-size: clamp(2rem, 10vw, 2.45rem);
        white-space: normal;
    }

    .feature-panel__copy p {
        max-width: 100%;
        margin-left: 0;
        font-size: 0.92rem;
        line-height: 1.32;
    }

    .feature-panel__copy p:first-of-type,
    .feature-panel__copy p + p {
        margin-left: 0;
    }

    .feature-panel__image-frame {
        width: 100%;
        min-height: 0;
        border-radius: 30px;
    }

    .feature-panel__image-frame::before {
        top: 2px;
        right: -10px;
        bottom: 3px;
        left: -1px;
        border-radius: 20px 60px 22px 28px;
        transform: rotate(-0.9deg);
    }

    .feature-panel__image-clip {
        min-height: 0;
        border-radius: 30px;
        background: transparent;
    }

    .feature-panel__media img {
        height: auto;
        border-radius: 0;
    }
}

/* Home responsive overrides */
.success-stories__art {
    padding-bottom: 36px;
}

.success-stories__cta {
    bottom: -6px;
}

@media (max-width: 1100px) {
    .feature-panel__media {
        margin-left: 40px;
    }
}

@media (max-width: 980px) {
    .hero__quick-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(58px, auto);
        column-gap: 28px;
        row-gap: 10px;
        width: 100%;
        max-width: 620px;
        padding-top: 40px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        align-items: start;
        top: 0;
    }

    .hero-link-card {
        min-height: 58px;
        padding: 8px 12px;
        justify-content: center;
        align-items: center;
    }

    .hero-link-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .hero-link-card:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .hero-link-card:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
    }

    .hero-link-card:nth-child(4) {
        grid-column: 2;
        grid-row: 1;
    }

    .hero-link-card:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }

    .hero-link-card__text {
        width: 100%;
        text-align: center;
        font-size: clamp(1rem, 2vw, 1.16rem);
    }

    .steps__copy p {
        text-align: center;
    }
}

@media (max-width: 860px) {
    .hero__content {
        padding-bottom: 30px;
    }

    .hero__quick-links {
        max-width: 540px;
        column-gap: 20px;
        row-gap: 10px;
        padding-top: 34px;
    }

    .success-stories__art {
        padding-bottom: 30px;
    }

    .success-stories__image {
        aspect-ratio: 1924 / 760;
        height: auto;
        background-size: 116%;
        background-position: 52% 52%;
    }

    .success-stories__cta {
        min-height: 24px;
        padding: 0 9px;
        font-size: 0.66rem;
        border-width: 1.5px;
        bottom: 40px;
    }

    .feature-panel__copy {
        transform: none;
    }

    .feature-panel__copy h3 {
        transform: none;
    }

    .feature-panel__media {
        margin-left: 0;
        max-width: 100%;
    }
}

@media (max-width: 680px) {
    .hero__content {
        padding-top: 148px;
    }

    .hero__quick-links {
        max-width: 100%;
        column-gap: 14px;
        row-gap: 8px;
        padding-top: 26px;
    }
}

@media (max-width: 560px) {
    .hero__content {
        padding-top: 156px;
    }

    .hero__quick-links {
        grid-auto-rows: minmax(52px, auto);
        column-gap: 14px;
        row-gap: 8px;
        padding-top: 20px;
    }

    .hero-link-card {
        min-height: 52px;
        padding: 8px 10px;
    }

    .hero-link-card__text {
        font-size: 0.98rem;
    }

    .success-stories__art {
        padding-bottom: 26px;
    }

    .success-stories__image {
        aspect-ratio: 1924 / 820;
        height: auto;
        background-size: 118%;
        background-position: 54% 52%;
    }

    .success-stories__cta {
        min-height: 22px;
        padding: 0 8px;
        font-size: 0.56rem;
        border-width: 1.25px;
        bottom: 36px;
    }

    .feature-panel__image-frame,
    .feature-panel__image-clip {
        min-height: 320px;
    }
}

@media (max-width: 420px) {
    .success-stories__cta {
        min-height: 20px;
        padding: 0 7px;
        font-size: 0.52rem;
        border-width: 1.1px;
        bottom: 32px;
    }

    .hero__content {
        padding-top: 112px;
    }

    .hero__quick-links {
        column-gap: 10px;
        row-gap: 8px;
        padding-top: 18px;
    }

    .hero-link-card {
        min-height: 48px;
        padding: 6px 8px;
    }

    .hero-link-card__text {
        font-size: 0.9rem;
    }

    .success-stories__art {
        padding-bottom: 22px;
    }

    .success-stories__image {
        aspect-ratio: 1924 / 860;
        height: auto;
        background-size: 124%;
        background-position: 58% 52%;
    }

    .feature-panel__image-frame,
    .feature-panel__image-clip {
        min-height: 260px;
    }
}

@media (max-width: 360px) {
    .hero__quick-links {
        column-gap: 8px;
    }

    .success-stories__image {
        aspect-ratio: 1924 / 900;
        background-size: 128%;
        background-position: 60% 52%;
    }

    .hero-link-card {
        min-height: 44px;
        padding: 6px;
    }

    .hero-link-card__text {
        font-size: 0.84rem;
    }
}

@media (max-width: 320px) {
    .hero__quick-links {
        column-gap: 6px;
        row-gap: 6px;
    }

    .success-stories__image {
        aspect-ratio: 1924 / 940;
        background-size: 132%;
        background-position: 62% 53%;
    }

    .hero-link-card {
        min-height: 40px;
        padding: 5px 4px;
    }

    .hero-link-card__text {
        font-size: 0.78rem;
    }
}

@media (max-width: 820px) {
    .steps {
        padding: 26px 0 34px;
    }

    .steps__feature {
        display: flex;
        flex-direction: column;
        gap: 0;
        overflow: visible;
    }

    .steps__media {
        width: 100%;
        height: clamp(250px, 44vw, 340px);
        min-height: 250px;
        border-radius: 0 0 88px 88px;
        overflow: hidden;
    }

    .steps__media::after {
        background: linear-gradient(180deg, rgba(6, 31, 60, 0.08) 0%, rgba(6, 31, 60, 0) 56%);
    }

    .steps__content {
        min-height: auto;
        margin-top: 0;
        margin-left: 0;
        padding: 24px 24px 0;
        color: #ffffff;
    }

    .steps__content-inner {
        width: min(100%, 620px);
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .steps__copy {
        width: 100%;
        margin: 0;
        order: 2;
    }

    .steps__copy p {
        text-align: center;
        font-size: clamp(0.96rem, 2vw, 1.08rem);
        line-height: 1.42;
        max-width: 52ch;
        margin-left: auto;
        margin-right: auto;
    }

    .steps__copy p + p {
        margin-top: 16px;
    }

    .steps__headline {
        width: 100%;
        order: 1;
    }

    .steps__content h2 {
        max-width: 11ch;
        margin: 0 auto;
        text-align: center;
        font-size: clamp(2.4rem, 8vw, 3.7rem);
        line-height: 0.94;
        letter-spacing: -0.05em;
        text-wrap: balance;
        text-shadow: none;
    }

    .steps__content h2 span {
        white-space: normal;
    }

    .steps__content h2 span:last-child {
        margin-top: 4px;
    }
}

@media (max-width: 560px) {
    .steps {
        padding: 20px 0 28px;
    }

    .steps__media {
        height: clamp(220px, 56vw, 290px);
        min-height: 220px;
        border-radius: 0 0 64px 64px;
    }

    .steps__content {
        padding: 20px 16px 0;
    }

    .steps__content-inner {
        gap: 18px;
    }

    .steps__copy p {
        font-size: 0.9rem;
        line-height: 1.38;
        max-width: 34ch;
    }

    .steps__content h2 {
        max-width: 10ch;
        font-size: clamp(2rem, 10vw, 2.8rem);
        line-height: 0.96;
    }
}

@media (max-width: 420px) {
    .steps {
        padding: 16px 0 24px;
    }

    .steps__media {
        height: clamp(200px, 58vw, 250px);
        min-height: 200px;
        border-radius: 0 0 52px 52px;
    }

    .steps__content {
        padding: 18px 14px 0;
    }

    .steps__content-inner {
        gap: 16px;
    }

    .steps__copy p {
        font-size: 0.84rem;
        line-height: 1.34;
        max-width: 30ch;
    }

    .steps__content h2 {
        max-width: 9ch;
        font-size: clamp(1.78rem, 9.8vw, 2.35rem);
    }
}

@media (min-width: 561px) and (max-width: 820px) {
    .success-stories__art {
        padding-bottom: 24px;
    }

    .success-stories__image {
        aspect-ratio: 1924 / 820;
        background-size: 104%;
        background-position: 54% 66%;
    }

    .success-stories__cta {
        min-height: 26px;
        padding: 0 10px;
        font-size: 0.62rem;
        bottom: 18px;
    }

    .steps {
        padding: 12px 0 20px;
    }

    .steps__media {
        height: clamp(190px, 28vw, 238px);
        min-height: 190px;
        border-radius: 0 0 54px 54px;
    }

    .steps__content {
        padding: 16px 18px 0;
    }

    .steps__content-inner {
        width: min(100%, 500px);
        gap: 14px;
    }

    .steps__copy p {
        max-width: 38ch;
        font-size: 0.8rem;
        line-height: 1.28;
    }

    .steps__content h2 {
        max-width: 9ch;
        font-size: clamp(1.72rem, 5.2vw, 2.3rem);
        line-height: 0.94;
    }
}

@media (max-width: 560px) {
    .success-stories__image {
        aspect-ratio: 1924 / 760;
        background-size: 114%;
        background-position: 54% 56%;
    }

    .success-stories__cta {
        bottom: 24px;
    }

    .steps__media {
        height: clamp(200px, 54vw, 250px);
        min-height: 200px;
    }

    .steps__copy p {
        max-width: 32ch;
    }

    .steps__content h2 {
        max-width: 9.5ch;
        font-size: clamp(1.9rem, 8.8vw, 2.55rem);
    }
}

@media (max-width: 420px) {
    .success-stories__image {
        aspect-ratio: 1924 / 820;
        background-size: 118%;
        background-position: 56% 56%;
    }

    .steps__content h2 {
        max-width: 9ch;
        font-size: clamp(1.68rem, 9vw, 2.1rem);
    }
}

@media (min-width: 561px) and (max-width: 820px) {
    .success-stories {
        padding: 22px 0 18px !important;
    }

    .success-stories__art {
        padding-bottom: 20px !important;
    }

    .success-stories__image {
        aspect-ratio: 1924 / 980 !important;
        background-size: 98% !important;
        background-position: 56% 78% !important;
    }

    .success-stories__cta {
        min-height: 24px !important;
        padding: 0 9px !important;
        font-size: 0.58rem !important;
        bottom: 14px !important;
    }

    .steps {
        padding: 8px 0 16px !important;
    }

    .steps__feature {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .steps__media {
        height: clamp(168px, 24vw, 210px) !important;
        min-height: 168px !important;
        border-radius: 0 0 42px 42px !important;
    }

    .steps__content {
        margin-top: 0 !important;
        margin-left: 0 !important;
        min-height: auto !important;
        padding: 14px 16px 0 !important;
    }

    .steps__content-inner {
        width: min(100%, 460px) !important;
        gap: 12px !important;
    }

    .steps__copy {
        width: 100% !important;
        margin: 0 !important;
    }

    .steps__copy p {
        max-width: 34ch !important;
        font-size: 0.72rem !important;
        line-height: 1.22 !important;
        text-align: center !important;
    }

    .steps__copy p + p {
        margin-top: 10px !important;
    }

    .steps__headline {
        width: 100% !important;
    }

    .steps__content h2 {
        max-width: 8.5ch !important;
        margin: 0 auto !important;
        font-size: clamp(1.5rem, 4.2vw, 1.95rem) !important;
        line-height: 0.94 !important;
        text-align: center !important;
        text-wrap: balance !important;
    }
}

@media (max-width: 820px) {
    .success-stories {
        padding: 34px 0 16px !important;
    }

    .success-stories__art {
        padding-bottom: 18px !important;
    }

    .success-stories__image {
        aspect-ratio: 1924 / 980 !important;
        background-size: 114% !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-color: #fefefe !important;
    }

    .success-stories__cta {
        bottom: 72px !important;
    }

    .steps {
        padding: 10px 0 18px !important;
    }

    .steps__feature {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .steps__media {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: auto !important;
        min-height: 0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
        background: #2ea8dd !important;
    }

    .steps__media::after {
        display: none !important;
    }

    .steps__media img {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        object-fit: contain !important;
        object-position: center center !important;
        display: block !important;
    }

    .steps__content {
        margin-top: 0 !important;
        margin-left: 0 !important;
        min-height: auto !important;
        padding: 18px 18px 0 !important;
        text-align: center !important;
    }

    .steps__content-inner {
        width: min(100%, 560px) !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .steps__copy,
    .steps__headline {
        width: 100% !important;
        margin: 0 !important;
    }

    .steps__copy {
        order: 2 !important;
    }

    .steps__headline {
        order: 1 !important;
    }

    .steps__copy p {
        max-width: 42ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        font-size: 0.88rem !important;
        line-height: 1.38 !important;
        text-wrap: pretty !important;
    }

    .steps__copy p + p {
        margin-top: 12px !important;
    }

    .steps__content h2 {
        max-width: 10ch !important;
        margin: 0 auto !important;
        text-align: center !important;
        font-size: clamp(1.9rem, 5.8vw, 2.6rem) !important;
        line-height: 0.96 !important;
        text-wrap: balance !important;
        white-space: normal !important;
        text-shadow: none !important;
    }

    .steps__content h2 span {
        white-space: normal !important;
    }
}

@media (max-width: 560px) {
    .success-stories__art {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .success-stories__image {
        background-image: url("../images/GRS-mobile.webp") !important;
        aspect-ratio: 1258 / 592 !important;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .success-stories__cta {
        position: static !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 auto !important;
    }

    .steps__content {
        padding: 16px 14px 0 !important;
    }

    .steps__content-inner {
        width: min(100%, 420px) !important;
        gap: 14px !important;
    }

    .steps__copy p {
        max-width: 34ch !important;
        font-size: 0.8rem !important;
        line-height: 1.34 !important;
    }

    .steps__content h2 {
        max-width: 9ch !important;
        font-size: clamp(1.62rem, 8vw, 2.1rem) !important;
    }
}

@media (max-width: 420px) {
    .success-stories__image {
        aspect-ratio: 1258 / 592 !important;
        background-size: contain !important;
    }

    .success-stories__cta {
        position: static !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .steps__copy p {
        max-width: 30ch !important;
        font-size: 0.76rem !important;
        line-height: 1.34 !important;
    }

    .steps__content h2 {
        max-width: 8.5ch !important;
        font-size: clamp(1.48rem, 7.8vw, 1.86rem) !important;
    }
}

/* Phone-only alignment fix for the feature carousel copy above images */
@media (max-width: 560px) {
    .feature-panel__copy {
        width: min(100%, 320px);
        max-width: 320px;
        margin: 0 auto;
        justify-self: center;
        align-items: center;
        transform: none;
        text-align: center;
    }

    .feature-panel__copy h3 {
        margin: 0 auto 14px;
        transform: none;
        text-align: center;
    }

    .feature-panel__copy p,
    .feature-panel__copy p:first-of-type,
    .feature-panel__copy p + p {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .feature-panel__media {
        margin-left: 0;
        justify-self: center;
        width: 100%;
    }

    .feature-panel__image-frame {
        width: min(100%, 94vw);
    }

    .feature-panel__image-frame::before {
        top: 2px;
        right: -8px;
        bottom: 4px;
        left: 0;
        border-radius: 24px 52px 26px 28px;
    }
}

/* Tablet alignment fix for the feature carousel copy above images */
@media (min-width: 561px) and (max-width: 980px) {
    .home-features__slider {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 44px;
    }

    .home-features__slides {
        min-height: 0;
    }

    .feature-panel,
    .feature-panel.is-active {
        position: relative;
        inset: auto;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-panel:not(.is-active) {
        display: none;
    }

    .feature-panel__copy {
        width: min(100%, 540px);
        max-width: 540px;
        margin: 0 auto;
        justify-self: center;
        align-items: center;
        padding-top: 0;
        margin-left: auto;
        transform: none;
        text-align: center;
    }

    .feature-panel__copy h3 {
        margin: 0 auto 16px;
        transform: none;
        text-align: center;
        font-size: clamp(2.1rem, 5vw, 2.8rem);
    }

    .feature-panel__copy p,
    .feature-panel__copy p:first-of-type,
    .feature-panel__copy p + p {
        max-width: 34ch;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .feature-panel__media {
        margin-left: 0;
        justify-self: center;
        justify-content: center;
        max-width: 100%;
    }

    .feature-panel__image-frame {
        width: min(100%, 700px);
    }

    .home-features__dots {
        top: auto;
        right: 50%;
        bottom: 6px;
        flex-direction: row;
        transform: translateX(50%);
        z-index: 3;
    }
}

/* Wide tablet / small laptop spacing fix for the feature carousel */
@media (min-width: 981px) and (max-width: 1100px) {
    .home-features {
        padding-bottom: 88px;
    }

    .home-features__slider {
        padding-left: 0;
        padding-right: 16px;
    }

    .home-features__slides {
        min-height: 500px;
    }

    .home-features__dots {
        top: 50%;
        right: 12px;
        bottom: auto;
        flex-direction: column;
        transform: translateY(-50%);
    }

    .feature-panel {
        grid-template-columns: minmax(230px, 252px) minmax(0, 1fr);
        gap: 14px;
    }

    .feature-panel__copy {
        width: 252px;
        max-width: 252px;
        margin-left: 0;
        justify-self: end;
    }

    .feature-panel__copy p {
        max-width: 240px;
    }

    .feature-panel__media {
        margin-left: 8px;
    }

    .feature-panel__image-frame,
    .feature-panel__image-clip {
        min-height: 430px;
    }
}

/* Final tablet stabilization for the home "steps" section.
   This overrides older duplicated media blocks above. */
@media (min-width: 681px) and (max-width: 980px) {
    .steps {
        padding: 24px 0 40px !important;
    }

    .steps__feature {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        overflow: visible !important;
    }

    .steps__media {
        width: 100% !important;
        height: clamp(300px, 48vw, 420px) !important;
        min-height: 300px !important;
        border-radius: 0 0 112px 112px !important;
        overflow: hidden !important;
        background: #2ea8dd !important;
    }

    .steps__media::after {
        background: linear-gradient(180deg, rgba(6, 31, 60, 0.1) 0%, rgba(6, 31, 60, 0) 58%) !important;
    }

    .steps__media img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        min-height: 0 !important;
    }

    .steps__content {
        min-height: auto !important;
        margin: 0 !important;
        padding: 28px 28px 0 !important;
        text-align: center !important;
    }

    .steps__content-inner {
        width: min(100%, 680px) !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    .steps__copy,
    .steps__headline {
        width: 100% !important;
        margin: 0 !important;
    }

    .steps__copy p {
        max-width: 42ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        font-size: clamp(1rem, 1.8vw, 1.16rem) !important;
        line-height: 1.45 !important;
        text-wrap: pretty !important;
    }

    .steps__copy p + p {
        margin-top: 18px !important;
    }

    .steps__content h2 {
        max-width: 11ch !important;
        margin: 0 auto !important;
        text-align: center !important;
        font-size: clamp(2.7rem, 6vw, 4rem) !important;
        line-height: 0.92 !important;
        letter-spacing: -0.05em !important;
        text-wrap: balance !important;
        white-space: normal !important;
        text-shadow: none !important;
    }

    .steps__content h2 span {
        white-space: normal !important;
    }
}

@media (min-width: 981px) {
    html {
        scroll-snap-type: y proximity;
        scroll-padding-top: var(--header-height, var(--nav-height));
    }

    .hero,
    .success-stories,
    .steps,
    .home-features {
        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }

    .page-home .about-footer-band {
        scroll-snap-align: end;
        scroll-snap-stop: always;
    }

    .success-stories {
        min-height: var(--available-screen-height);
        display: flex;
        align-items: center;
        padding-top: clamp(20px, 3.4vh, 46px);
        padding-bottom: clamp(18px, 2.6vh, 30px);
        box-sizing: border-box;
    }

    .success-stories .container {
        width: min(1540px, calc(100% - 28px));
    }

    .success-stories__art {
        padding-top: clamp(2px, 0.8vh, 12px);
        padding-bottom: clamp(14px, 1.8vh, 24px);
    }

    .home-features__container {
        min-height: var(--available-screen-height);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }

    .home-features__slider {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
    }

    .home-features__slides {
        width: 100%;
        min-height: clamp(470px, calc(var(--available-screen-height) - 178px), 620px);
    }

    .steps {
        min-height: var(--available-screen-height);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .steps .container {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .steps__feature {
        min-height: clamp(420px, calc(var(--available-screen-height) - 64px), 620px);
        margin-top: auto;
        margin-bottom: auto;
    }
}

@media (min-width: 981px) and (max-width: 1366px) and (max-height: 760px) {
    .steps {
        --steps-fit-height: clamp(300px, calc(var(--available-screen-height) - 150px), 390px);
        min-height: var(--available-screen-height);
        padding: 0;
    }

    .steps .container {
        min-height: inherit;
        display: flex;
        align-items: center;
    }

    .steps__feature {
        width: 100%;
        min-height: var(--steps-fit-height);
    }

    .steps__media,
    .steps__content {
        min-height: var(--steps-fit-height);
        height: var(--steps-fit-height);
    }

    .steps__content h2 {
        font-size: clamp(1.95rem, 3vw, 2.9rem);
    }

    .steps__copy p {
        font-size: 0.94rem;
        line-height: 1.2;
    }

    .home-features__container {
        padding: 18px 0 20px;
        min-height: var(--available-screen-height);
        justify-content: center;
    }

    .home-features__container h2 {
        max-width: 820px;
        font-size: clamp(1.8rem, 2.5vw, 2.35rem);
        line-height: 0.95;
    }

    .home-features__slider {
        flex: 0 0 auto;
        margin-top: 12px;
        padding: 0 30px 0 20px;
    }

    .home-features__slides {
        min-height: clamp(320px, calc(var(--available-screen-height) - 140px), 420px);
    }

    .feature-panel {
        grid-template-columns: minmax(320px, 0.36fr) minmax(0, 0.64fr);
        gap: 20px;
    }

    .feature-panel__copy {
        width: clamp(280px, 26vw, 360px);
        max-width: 360px;
        margin-left: 0;
        transform: none;
    }

    .feature-panel__copy h3 {
        margin-bottom: 8px;
        font-size: clamp(2.1rem, 2.45vw, 2.7rem);
        transform: none;
    }

    .feature-panel__copy p {
        max-width: 28ch;
        font-size: clamp(0.98rem, 1.05vw, 1.08rem);
        line-height: 1.2;
    }

    .feature-panel__media {
        max-width: 620px;
        margin-left: 12px;
    }

    .feature-panel__image-frame {
        width: min(96%, 560px);
    }

    .home-features__dots {
        right: 4px;
        gap: 8px;
    }
}

@media (max-width: 980px) {
    .feature-panel__copy {
        order: 1;
    }

    .feature-panel__media {
        order: 2;
    }
}

@media (min-width: 681px) and (max-width: 820px) {
    .steps__media {
        height: clamp(280px, 46vw, 360px) !important;
        min-height: 280px !important;
        border-radius: 0 0 96px 96px !important;
    }

    .steps__content {
        padding: 24px 24px 0 !important;
    }

    .steps__content-inner {
        width: min(100%, 620px) !important;
        gap: 22px !important;
    }

    .steps__copy p {
        max-width: 40ch !important;
        font-size: 0.98rem !important;
    }

    .steps__content h2 {
        max-width: 10.5ch !important;
        font-size: clamp(2.4rem, 5.6vw, 3.3rem) !important;
    }
}

@media (min-width: 821px) and (max-width: 1100px) and (orientation: portrait) {
    html {
        scroll-snap-type: none;
    }

    .success-stories {
        min-height: auto !important;
        padding: 42px 0 18px !important;
    }

    .success-stories .container {
        width: calc(100% - 24px) !important;
    }

    .success-stories__art {
        padding-top: 6px !important;
        padding-bottom: 18px !important;
    }

    .success-stories__image {
        aspect-ratio: 1924 / 860 !important;
        background-size: 104% !important;
        background-position: center 58% !important;
    }

    .success-stories__cta {
        bottom: 3.4% !important;
    }

    .steps {
        min-height: auto !important;
        padding: 24px 0 36px !important;
    }

    .steps .container {
        width: calc(100% - 32px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .steps__feature {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-height: 0 !important;
        gap: 0 !important;
        overflow: visible !important;
    }

    .steps__media {
        width: 100% !important;
        height: 360px !important;
        min-height: 360px !important;
        border-radius: 0 0 150px 150px !important;
        overflow: hidden !important;
    }

    .steps__media img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    .steps__content {
        min-height: auto !important;
        margin: 0 !important;
        padding: 28px 28px 0 !important;
        text-align: center !important;
    }

    .steps__content-inner {
        width: min(100%, 680px) !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 22px !important;
        justify-items: center !important;
        align-items: center !important;
    }

    .steps__headline {
        order: 1 !important;
        width: 100% !important;
    }

    .steps__copy {
        order: 2 !important;
        width: min(100%, 560px) !important;
        margin: 0 auto !important;
    }

    .steps__content h2 {
        max-width: 11ch !important;
        margin: 0 auto !important;
        font-size: clamp(2.9rem, 6vw, 4rem) !important;
        line-height: 0.94 !important;
        text-align: center !important;
        white-space: normal !important;
        text-wrap: balance !important;
    }

    .steps__copy p {
        max-width: 34ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 1.02rem !important;
        line-height: 1.32 !important;
        text-align: center !important;
    }

    .home-features__container {
        min-height: auto !important;
        width: calc(100% - 32px) !important;
        padding: 34px 0 44px !important;
        justify-content: flex-start !important;
    }

    .home-features__container h2 {
        max-width: 680px !important;
        font-size: clamp(2.2rem, 5.2vw, 3.1rem) !important;
        line-height: 0.98 !important;
    }

    .home-features__container h2 span {
        white-space: normal !important;
    }

    .home-features__slider {
        flex: none !important;
        margin-top: 24px !important;
        padding: 0 0 44px !important;
        display: block !important;
    }

    .home-features__slides {
        min-height: 0 !important;
        width: 100% !important;
    }

    .feature-panel,
    .feature-panel.is-active {
        position: relative !important;
        inset: auto !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .feature-panel:not(.is-active) {
        display: none !important;
    }

    .feature-panel__copy {
        order: 1 !important;
        width: min(100%, 620px) !important;
        max-width: 620px !important;
        margin: 0 auto !important;
        justify-self: center !important;
        align-items: center !important;
        text-align: center !important;
        transform: none !important;
    }

    .feature-panel__copy h3 {
        margin: 0 auto 14px !important;
        font-size: clamp(2rem, 4.8vw, 2.8rem) !important;
        transform: none !important;
        text-align: center !important;
    }

    .feature-panel__copy p,
    .feature-panel__copy p:first-of-type,
    .feature-panel__copy p + p {
        max-width: 34ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 1rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    .feature-panel__media {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        justify-self: center !important;
        justify-content: center !important;
    }

    .feature-panel__image-frame {
        width: min(100%, 760px) !important;
        min-height: 0 !important;
    }

    .feature-panel__image-clip {
        min-height: 0 !important;
    }

    .feature-panel__media img {
        width: 100% !important;
        height: auto !important;
    }

    .home-features__dots {
        top: auto !important;
        right: 50% !important;
        bottom: 0 !important;
        flex-direction: row !important;
        gap: 12px !important;
        transform: translateX(50%) !important;
    }
}

@media (min-width: 1101px) and (orientation: portrait) {
    html {
        scroll-snap-type: none;
    }

    .success-stories {
        min-height: auto !important;
        padding: 78px 0 18px !important;
    }

    .success-stories .container {
        width: min(1320px, calc(100% - 28px)) !important;
    }

    .success-stories__art {
        padding-top: 18px !important;
        padding-bottom: 20px !important;
    }

    .success-stories__image {
        aspect-ratio: 1924 / 980 !important;
        background-size: contain !important;
        background-position: center center !important;
    }

    .success-stories__cta {
        bottom: 3.4% !important;
    }

    .steps {
        min-height: auto !important;
        padding: 28px 0 36px !important;
    }

    .steps .container {
        width: calc(100% - 40px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .steps__feature {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-height: 0 !important;
        gap: 0 !important;
        overflow: visible !important;
    }

    .steps__media {
        width: 100% !important;
        height: clamp(320px, 31vw, 430px) !important;
        min-height: 320px !important;
        border-radius: 0 0 180px 180px !important;
        overflow: hidden !important;
    }

    .steps__media img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    .steps__content {
        min-height: auto !important;
        margin: 0 !important;
        padding: 30px 32px 0 !important;
        text-align: center !important;
    }

    .steps__content-inner {
        width: min(100%, 760px) !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        align-items: center !important;
    }

    .steps__headline,
    .steps__copy {
        width: 100% !important;
        margin: 0 !important;
    }

    .steps__content h2 {
        max-width: 11ch !important;
        margin: 0 auto !important;
        font-size: clamp(3rem, 6vw, 4.4rem) !important;
        line-height: 0.94 !important;
        text-align: center !important;
        white-space: normal !important;
        text-wrap: balance !important;
    }

    .steps__copy p {
        max-width: 38ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 1.04rem !important;
        line-height: 1.34 !important;
        text-align: center !important;
    }

    .home-features__container {
        min-height: auto !important;
        width: calc(100% - 40px) !important;
        padding: 34px 0 42px !important;
        justify-content: flex-start !important;
    }

    .home-features__container h2 {
        max-width: 760px !important;
        font-size: clamp(2.4rem, 5.4vw, 3.4rem) !important;
        line-height: 0.98 !important;
    }

    .home-features__container h2 span {
        white-space: normal !important;
    }

    .home-features__slider {
        flex: none !important;
        margin-top: 24px !important;
        padding: 0 0 42px !important;
        display: block !important;
    }

    .home-features__slides {
        min-height: 0 !important;
        width: 100% !important;
    }

    .feature-panel,
    .feature-panel.is-active {
        position: relative !important;
        inset: auto !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .feature-panel:not(.is-active) {
        display: none !important;
    }

    .feature-panel__copy {
        order: 1 !important;
        width: min(100%, 620px) !important;
        max-width: 620px !important;
        margin: 0 auto !important;
        justify-self: center !important;
        align-items: center !important;
        text-align: center !important;
        transform: none !important;
    }

    .feature-panel__copy h3 {
        margin: 0 auto 14px !important;
        font-size: clamp(2.05rem, 4.6vw, 2.9rem) !important;
        transform: none !important;
        text-align: center !important;
    }

    .feature-panel__copy p,
    .feature-panel__copy p:first-of-type,
    .feature-panel__copy p + p {
        max-width: 34ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 1rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    .feature-panel__media {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        justify-self: center !important;
        justify-content: center !important;
    }

    .feature-panel__image-frame {
        width: min(100%, 760px) !important;
        min-height: 0 !important;
    }

    .feature-panel__image-clip {
        min-height: 0 !important;
    }

    .feature-panel__media img {
        width: 100% !important;
        height: auto !important;
    }

    .home-features__dots {
        top: auto !important;
        right: 50% !important;
        bottom: 0 !important;
        flex-direction: row !important;
        gap: 12px !important;
        transform: translateX(50%) !important;
    }
}

@media (min-width: 981px) and (max-height: 920px) {
    .success-stories {
        min-height: auto;
        padding-top: 30px;
        padding-bottom: 16px;
    }

    .success-stories__art {
        padding-top: 0;
        padding-bottom: 14px;
    }

    .success-stories__image {
        aspect-ratio: 1924 / 720;
        background-size: contain;
        background-position: center center;
    }

    .success-stories__cta {
        bottom: 3.2%;
    }
}

@media (min-width: 981px) and (max-width: 1180px) and (orientation: landscape) {
    .steps {
        padding: 28px 0 44px !important;
    }

    .steps__feature {
        grid-template-columns: minmax(0, 48%) minmax(0, 52%) !important;
        align-items: center !important;
        overflow: hidden !important;
    }

    .steps__media {
        height: clamp(500px, 50vw, 620px) !important;
        border-radius: 0 280px 280px 0 !important;
    }

    .steps__content {
        min-height: auto !important;
        margin-left: clamp(-96px, -7vw, -44px) !important;
        padding: clamp(56px, 5vw, 76px) clamp(28px, 3.6vw, 42px) 20px 0 !important;
    }

    .steps__content-inner {
        width: min(100%, 560px) !important;
        gap: clamp(26px, 3vw, 44px) !important;
    }

    .steps__copy {
        width: min(100%, 420px) !important;
        margin-right: 52px !important;
    }

    .steps__copy p {
        font-size: clamp(1rem, 1.3vw, 1.16rem) !important;
        line-height: 1.2 !important;
    }

    .steps__copy p + p {
        margin-top: 18px !important;
    }

    .steps__content h2 {
        max-width: 13.2ch !important;
        margin-left: 0 !important;
        font-size: clamp(3rem, 4.6vw, 4.35rem) !important;
        line-height: 0.9 !important;
        text-wrap: initial !important;
        white-space: normal !important;
    }

    .steps__content h2 span {
        white-space: nowrap !important;
    }
}

@media (min-width: 981px) and (max-width: 1080px) and (orientation: landscape) {
    .steps__feature {
        grid-template-columns: minmax(0, 46%) minmax(0, 54%) !important;
    }

    .steps__content {
        margin-left: -52px !important;
        padding-right: 24px !important;
    }

    .steps__content-inner {
        width: min(100%, 500px) !important;
    }

    .steps__copy {
        width: min(100%, 380px) !important;
        margin-right: 68px !important;
    }

    .steps__copy p {
        font-size: 0.98rem !important;
        line-height: 1.18 !important;
    }

    .steps__content h2 {
        max-width: 13.2ch !important;
        font-size: clamp(2.7rem, 4.2vw, 3.6rem) !important;
    }
}

.page-home .hero__subtitle {
    margin-top: 25px !important;
}

@media (max-width: 820px) {
    .page-home .hero {
        height: clamp(520px, 68svh, 620px);
        min-height: 520px;
    }

    .page-home .hero::before,
    .page-home .hero::after {
        display: none;
    }

    .page-home .hero__overlay {
        background: linear-gradient(180deg, rgba(8, 22, 45, 0.52) 0%, rgba(8, 22, 45, 0.72) 62%, rgba(8, 22, 45, 0.86) 100%);
    }

    .page-home .hero__content {
        width: calc(100% - 24px);
        margin: 0 auto;
        min-height: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: clamp(132px, 24vw, 162px) 0 8px;
    }

    .page-home .hero__title {
        margin-top: 0;
        max-width: min(100%, 18ch);
        font-size: clamp(1.82rem, 8vw, 2.75rem);
        line-height: 1.02;
        text-wrap: pretty;
    }

    .page-home .hero__subtitle {
        margin-top: 14px !important;
        max-width: min(100%, 56ch);
        font-size: clamp(0.94rem, 2.9vw, 1.12rem);
        line-height: 1.2;
        text-wrap: pretty;
    }

    .page-home .hero__quick-links {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        margin-top: auto;
        padding-top: 0;
        padding-bottom: 0;
    }

    .page-home .hero__quick-links .hero-link-card[href="/contact.php"] {
        display: none;
    }

    .page-home .hero__quick-links .hero-link-card[href="/about_us.php"] {
        order: 1;
    }

    .page-home .hero__quick-links .hero-link-card[href="/why_choose_us.php"] {
        order: 2;
    }

    .page-home .hero__quick-links .hero-link-card[href="/blogs.php"] {
        order: 3;
    }

    .page-home .hero__quick-links .hero-link-card[href="/stories.php"] {
        order: 4;
    }

    .page-home .hero-link-card {
        min-height: 32px;
        padding: 2px 0;
        align-items: center;
        justify-content: center;
    }

    .page-home .hero-link-card__text {
        font-size: clamp(0.74rem, 2.6vw, 0.9rem);
        line-height: 1.04;
        white-space: nowrap;
        text-decoration-thickness: 2px;
        text-underline-offset: 0.16em;
    }
}

@media (max-width: 430px) {
    .page-home .hero {
        height: clamp(500px, 70svh, 600px);
        min-height: 500px;
    }

    .page-home .hero__content {
        padding-top: clamp(188px, 34vw, 236px);
    }

    .page-home .hero__subtitle {
        max-width: 100%;
        font-size: clamp(0.76rem, 2.35vw, 0.86rem);
        line-height: 1.18;
        text-wrap: pretty;
    }

    .page-home .hero__quick-links {
        gap: 6px;
        margin-top: auto;
    }

    .page-home .hero-link-card {
        min-height: 30px;
        align-items: center;
    }

    .page-home .hero-link-card__text {
        font-size: 0.68rem;
    }
}

@media (max-width: 540px) and (max-height: 860px) {
    .page-home .hero {
        height: clamp(480px, 64svh, 560px);
        min-height: 480px;
    }

    .page-home .hero__content {
        padding-top: clamp(166px, 31vw, 214px);
    }

    .page-home .hero__title {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
        line-height: 1;
    }

    .page-home .hero__subtitle {
        font-size: clamp(0.72rem, 2.1vw, 0.8rem);
        line-height: 1.16;
    }

    .page-home .hero-link-card {
        min-height: 28px;
    }

    .page-home .hero-link-card__text {
        font-size: 0.64rem;
    }
}

@media (min-width: 541px) and (max-width: 820px) {
    .page-home .hero {
        height: clamp(500px, 60svh, 560px);
        min-height: 500px;
    }

    .page-home .hero__content {
        padding: clamp(112px, 16vw, 138px) 0 12px;
    }

    .page-home .hero__title {
        max-width: min(100%, 19ch);
    }

    .page-home .hero__subtitle {
        max-width: min(100%, 58ch);
        font-size: clamp(0.98rem, 1.85vw, 1.08rem);
        line-height: 1.22;
    }

    .page-home .hero__quick-links {
        gap: 10px;
    }

    .page-home .hero-link-card {
        min-height: 36px;
    }

    .page-home .hero-link-card__text {
        font-size: clamp(0.88rem, 1.65vw, 1rem);
    }
}

@media (max-width: 767px) {
    .page-home .hero__quick-links {
        display: none !important;
    }
}

@media (min-width: 821px) and (max-width: 980px) {
    .page-home .hero__quick-links {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: clamp(14px, 1.5vw, 20px);
        width: min(calc(100vw - 44px), 1400px);
        max-width: none;
        margin-top: auto;
        margin-left: auto;
        margin-right: auto;
        padding-top: 0;
    }

    .page-home .hero-link-card {
        min-height: 64px;
        padding: 16px 10px 0;
    }

    .page-home .hero-link-card__text {
        font-size: clamp(0.96rem, 1.45vw, 1.12rem);
        line-height: 1.12;
        white-space: nowrap;
    }
}

/* Final hero text flow overrides */
.page-home .hero__title .hero__title-line {
    display: block;
}

.page-home .hero__subtitle {
    max-width: min(100%, 72ch) !important;
    text-wrap: pretty;
}

@media (max-width: 820px) {
    .page-home .hero__subtitle {
        max-width: min(100%, 64ch) !important;
    }
}

@media (max-width: 430px) {
    .page-home .hero__subtitle {
        max-width: 100% !important;
    }
}

/* Responsive-only vertical balance:
   keep hero copy lower across phones/narrow tablets and avoid large bottom gaps. */
@media (max-width: 767px) {
    .page-home .hero__content {
        min-height: 100% !important;
        height: 100% !important;
        justify-content: flex-start !important;
        padding-top: clamp(112px, 16vw, 148px) !important;
        padding-bottom: clamp(12px, 2.4svh, 24px) !important;
    }

    .page-home .hero__title {
        margin-top: auto !important;
    }

    .page-home .hero__subtitle {
        margin-bottom: 0 !important;
    }
}

/* Short-height safety: slightly reduce type scale so content never clips. */
@media (max-width: 767px) and (max-height: 740px) {
    .page-home .hero__content {
        padding-top: 92px !important;
        padding-bottom: 12px !important;
    }

    .page-home .hero__title {
        font-size: clamp(1.64rem, 7.2vw, 2.24rem) !important;
    }

    .page-home .hero__subtitle {
        font-size: clamp(0.78rem, 2.45vw, 0.95rem) !important;
        line-height: 1.14 !important;
    }
}

/* Tablet narrow override (768-820):
   keep quick links compact and ensure Contact is visible. */
@media (min-width: 768px) and (max-width: 820px) {
    .page-home .hero__quick-links {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: clamp(10px, 1.5vw, 16px) !important;
        width: min(100%, 760px) !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .page-home .hero__quick-links .hero-link-card {
        order: initial !important;
        min-height: 34px !important;
        padding: 2px 0 !important;
    }

    .page-home .hero__quick-links .hero-link-card[href="/contact.php"] {
        display: flex !important;
    }

    .page-home .hero-link-card__text {
        font-size: clamp(0.8rem, 1.45vw, 0.95rem) !important;
        line-height: 1.06 !important;
        white-space: nowrap !important;
    }
}

/* Final desktop tuning for steps visual/text balance */
@media (min-width: 981px) {
    .page-home .steps {
        min-height: clamp(520px, 72svh, 650px) !important;
    }

    .page-home .steps__feature {
        min-height: clamp(330px, 31vw, 460px) !important;
    }

    .page-home .steps__media,
    .page-home .steps__content {
        min-height: clamp(330px, 31vw, 460px) !important;
    }

    .page-home .steps__media {
        height: clamp(330px, 31vw, 460px) !important;
    }

    .page-home .steps__media img {
        transform: scale(1.14, 1.24);
        transform-origin: center;
    }

    .page-home .steps__content-inner {
        width: min(100%, 660px) !important;
        gap: clamp(16px, 2vw, 24px) !important;
    }

    .page-home .steps__headline {
        width: min(100%, 600px) !important;
    }

    .page-home .steps__copy {
        width: min(100%, 580px) !important;
    }

    .page-home .steps__content h2 {
        max-width: min(100%, 580px) !important;
        font-size: clamp(2.05rem, 2.7vw, 3.1rem) !important;
        line-height: 0.95 !important;
        text-wrap: pretty !important;
    }

    .page-home .steps__copy p {
        max-width: min(100%, 54ch) !important;
        font-size: clamp(0.96rem, 1.02vw, 1.1rem) !important;
        line-height: 1.3 !important;
        text-wrap: pretty !important;
    }
}

/* Final responsive text flow overrides: use width better and avoid forced short lines */
@media (max-width: 980px) {
    .page-home .steps .container {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-home .steps__content {
        padding: 18px 14px 0 !important;
    }

    .page-home .steps__media {
        width: 100% !important;
    }

    .page-home .steps__media img {
        width: 100% !important;
        max-width: none !important;
        display: block !important;
    }

    .page-home .steps__content-inner,
    .page-home .steps__headline,
    .page-home .steps__copy {
        width: 100% !important;
        max-width: none !important;
    }

    .page-home .steps__content h2 {
        max-width: 100% !important;
        margin: 0 auto !important;
        font-size: clamp(1.82rem, 7.1vw, 2.62rem) !important;
        line-height: 0.98 !important;
        text-wrap: pretty !important;
        white-space: normal !important;
    }

    .page-home .steps__copy p {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: clamp(0.9rem, 2.45vw, 1.04rem) !important;
        line-height: 1.34 !important;
        text-wrap: pretty !important;
    }

    .page-home .home-features__container {
        width: calc(100% - 24px) !important;
    }

    .page-home #caracteristicas-titulo {
        display: block !important;
        text-align: center !important;
    }

    .page-home .home-features__container h2 {
        max-width: 100% !important;
        font-size: clamp(1.72rem, 6.5vw, 2.38rem) !important;
        line-height: 1.02 !important;
        letter-spacing: -0.02em !important;
        text-wrap: pretty !important;
    }

    .page-home .home-features__container h2 span {
        display: inline !important;
        white-space: normal !important;
    }
}

@media (max-width: 560px) {
    .page-home .steps__content h2 {
        font-size: clamp(1.58rem, 7.9vw, 2.02rem) !important;
        line-height: 1 !important;
    }

    .page-home .steps__copy p {
        font-size: clamp(0.88rem, 3.15vw, 0.97rem) !important;
        line-height: 1.32 !important;
    }

    .page-home .home-features__container h2 {
        font-size: clamp(1.56rem, 7vw, 2rem) !important;
        line-height: 1.04 !important;
    }
}

/* Force a noticeable vertical enlargement for the home steps image on larger screens. */
@media (min-width: 821px) {
    .page-home .steps__media img {
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 56% !important;
        transform: scale(1.42) !important;
        transform-origin: center !important;
    }
}
/* Final safeguard: keep the steps copy inside its own column on compact landscape/tablet widths. */
@media (min-width: 981px) and (max-width: 1180px) and (orientation: landscape) {
    .page-home .steps__feature {
        grid-template-columns: minmax(0, 50%) minmax(0, 50%) !important;
        align-items: stretch !important;
    }

    .page-home .steps__media {
        height: clamp(420px, 44vw, 540px) !important;
    }

    .page-home .steps__content {
        margin-left: 0 !important;
        padding: clamp(32px, 3.5vw, 48px) clamp(24px, 3vw, 36px) !important;
        min-height: clamp(420px, 44vw, 540px) !important;
    }

    .page-home .steps__content-inner,
    .page-home .steps__headline,
    .page-home .steps__copy {
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
    }

    .page-home .steps__content h2 {
        max-width: 100% !important;
        font-size: clamp(2.35rem, 3.35vw, 3rem) !important;
        line-height: 0.98 !important;
        text-wrap: pretty !important;
    }

    .page-home .steps__copy p {
        max-width: 100% !important;
        font-size: clamp(0.95rem, 1.15vw, 1.04rem) !important;
        line-height: 1.3 !important;
    }
}

@media (min-width: 981px) and (max-width: 1080px) and (orientation: landscape) {
    .page-home .steps__feature {
        grid-template-columns: minmax(0, 49%) minmax(0, 51%) !important;
    }

    .page-home .steps__content {
        padding-inline: 22px 24px !important;
    }

    .page-home .steps__content-inner,
    .page-home .steps__headline,
    .page-home .steps__copy {
        max-width: 440px !important;
    }

    .page-home .steps__content h2 {
        font-size: clamp(2.15rem, 3.1vw, 2.7rem) !important;
    }
}