@font-face {
    font-family: "Gilroy";
    src: url("../assets/fonts/Gilroy-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("../assets/fonts/Gilroy-Medium.ttf") format("truetype");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("../assets/fonts/Gilroy-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "Novecento";
    src: url("../assets/fonts/Novecento-WideBold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

:root {
    --color-bg: #f4f7f2;
    --color-surface: #ffffff;
    --color-ink: #163025;
    --color-ink-soft: #355548;
    --color-accent: #c12a69;
    --color-accent-strong: #0a5a36;
    --color-line: #d7e2da;
    --header-height: 5rem;
    --container-inline: 1rem;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --shadow-soft: 0 0.75rem 2rem rgba(15, 40, 29, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Gilroy", sans-serif;
    color: var(--color-ink);

}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #1d1d1b;
}

.header-container {
    min-height: var(--header-height);
    width: min(100%, 80rem);
    margin: 0 auto;
    padding: 0.75rem var(--container-inline);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.logo {
    width: auto;
    height: 2.25rem;
    display: block;
}

.menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
    content: "";
    width: 1.25rem;
    height: 0.125rem;
    border-radius: 999rem;
    background: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: block;
}

.menu-toggle__bar {
    position: relative;
}

.menu-toggle__bar::before {
    position: absolute;
    top: -0.375rem;
}

.menu-toggle__bar::after {
    position: absolute;
    top: 0.375rem;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before {
    transform: rotate(90deg);
    top: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after {
    opacity: 0;
}

.nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.0625rem);
    margin: 0 var(--container-inline);
    padding: 0.75rem;
    border: 0.0625rem solid var(--color-line);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.25rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-menu a,
.btn-ingresar {
    min-height: 2.5rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.nav-menu a {
    color: var(--color-ink-soft);
}

.nav-menu a:not(.btn-ingresar):hover,
.nav-menu a:not(.btn-ingresar).active {
    color: var(--color-ink);
    background: #edf4ef;
}

.btn-ingresar {
    border: 0;
    background: var(--color-accent);
    color: #ffffff;
    justify-content: center;
    cursor: pointer;
}

.btn-ingresar:hover,
.btn-ingresar:focus-visible,
.btn-ingresar:visited {
    color: #ffffff;
    background: var(--color-accent);
}



.nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

main {
    width: 100%;
}

.hero {
    width: 100%;
    height: calc(100dvh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    background-image: url("../assets/img/fondo_main_movil.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-container {
    width: min(100%, 80rem);
    height: 100%;
    margin: 0 auto;
    padding: 1.5rem var(--container-inline);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-info {
    width: min(100%, 40rem);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-container h1 {
    margin: 0;
    color: #ffffff;
    font-family: "Gilroy", sans-serif;
    font-weight: 800;
}

.hero-container p {
    margin: 0.75rem 0 0;
    color: #ffffff;
    font-family: "Gilroy", sans-serif;
    font-weight: 500;
}

.btn-primary {
    margin-top: 1rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    background: #33ae9d;
    color: #ffffff;
    font-family: "Gilroy", sans-serif;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sr-only {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    padding: 0;
    margin: -0.0625rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.que-necesitas {
    display: block;
    background-image: url("../assets/img/fondo.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.pagos-directos {
    display: none;
}

.tramites-frecuentes {
    display: none;
}

.como-funciona {
    display: none;
}

.expediente-digital {
    display: none;
}

.preguntas-frecuentes {
    display: none;
}

.que-necesitas-container {
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.que-necesitas-content {
    order: 1;
}

.que-necesitas-content h2 {
    margin: 0;
    color: #4a4a49;
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1;
    font-weight: 800;
}

.que-necesitas-search {
    width: 100%;
    margin-top: 1.25rem;
    display: flex;
    align-items: stretch;
    border: 0.0625rem solid #9f9f9f;
    border-radius: 0.625rem;
    background: #ffffff;
    overflow: hidden;
}

.que-necesitas-search input {
    flex: 1;
    border: 0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #7c7c7c;
    font-family: "Gilroy", sans-serif;
    font-weight: 400;
    outline: none;
}

.que-necesitas-search button {
    border: 0;
    min-width: 6.5rem;
    padding: 0 1rem;
    color: #ffffff;
    background: #b93346;
    font-family: "Gilroy", sans-serif;
    font-weight: 700;
    cursor: pointer;
}

.que-necesitas-content p {
    margin-top: 1.1rem;
    color: #7c7c7c;
    font-size: clamp(1rem, 4.8vw, 1.35rem);
    line-height: 1.35;
    font-weight: 400;
}

.que-necesitas-media {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.que-necesitas-phone {
    width: 100%;
    max-width: 20rem;
    height: auto;
    display: block;
}

.pagos-directos {
    display: block;
    padding: 2.5rem 0 3rem;
    background-color: #f9f9f9;
}

.pagos-directos-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.pagos-directos-container h2 {
    margin: 0;
    color: #4a4a49;
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.05;
    font-weight: 800;
}

.pagos-grid {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.pago-card {
    padding: 1rem;
    border-radius: 0.875rem;
    background: #33ae9d;
    box-shadow: 0 0.375rem 0.875rem rgba(0, 0, 0, 0.12);
}

.pago-icon {
    width: 2rem;
    height: auto;
    display: block;
}

.pago-card h3 {
    margin: 0.55rem 0 0;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1.08;
    font-weight: 800;
}

.pago-card p {
    margin: 0.45rem 0 0;
    color: #9fedde;
    font-size: 0.9rem;
    line-height: 1.28;
    font-weight: 600;
}

.tramites-frecuentes {
    display: block;
    padding: 2.5rem 0 3rem;
}

.tramites-frecuentes-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.tramites-frecuentes-container h2 {
    margin: 0;
    color: #4a4a49;
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.05;
    font-weight: 800;
}

.tramites-grid {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.tramite-card {
    border: 0.125rem solid #33ae9d;
    border-radius: 1rem;
    background: #ffffff;
    padding: 1rem;
}

.tramite-card h3 {
    margin: 0;
    color: #000000;
    font-size: 1.4rem;
    line-height: 1.08;
    font-weight: 800;
}

.tramite-meta {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.tramite-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #706f6f;
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 800;
}

.tramite-meta img {
    width: 1rem;
    height: 1rem;
    display: block;
}

.tramite-btn {
    margin-top: 0.85rem;
    min-height: 2.5rem;
    border-radius: 0.6rem;
    background: #c12a69;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.tramites-note {
    margin: 1.2rem 0 0;
    color: #706f6f;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 400;
    text-align: center;
}

.como-funciona {
    display: block;
    background: #f9f9f9;
    padding: 2rem 0;
}

.como-funciona-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.como-funciona-layout {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.como-funciona-content {
    order: 1;
    display: contents;
}

.como-funciona-badge {
    order: 1;
    align-self: flex-start;
    margin: 0;
    padding: 0.35rem 0.7rem;
    border-radius: 0.5rem;
    background: #a02e2f;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
}

.como-funciona-title {
    order: 2;
    margin: 0.65rem 0 0;
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.03;
}

.como-funciona-strong,
.como-funciona-accent {
    font-weight: 800;
}

.como-funciona-strong {
    color: #4a4a49;
}

.como-funciona-accent {
    color: #5aab9c;
}

.como-funciona-journey {
    order: 3;
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.funciona-point {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.35rem;
}

.funciona-point-number {
    width: 2rem;
    height: 2rem;
    display: block;
}

.funciona-point h3 {
    margin: 0;
    color: #4a4a49;
    font-size: 0.82rem;
    line-height: 1.1;
    font-weight: 700;
}

.como-funciona-features {
    order: 5;
    margin-top: 0.7rem;
    display: grid;
    gap: 0.45rem;
}

.funciona-feature {
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    align-items: start;
    gap: 0.5rem;
}

.funciona-feature-icon {
    width: 1.35rem;
    height: 1.35rem;
    display: block;
}

.funciona-feature-copy h3 {
    margin: 0;
    color: #4a4a49;
    font-size: 1rem;
    line-height: 1.15;
    font-weight: 800;
}

.funciona-feature-copy p {
    margin: 0.15rem 0 0;
    color: #4a4a49;
    font-size: 0.9rem;
    line-height: 1.25;
    font-weight: 400;
}

.como-funciona-media {
    order: 4;
    display: flex;
    justify-content: center;
}

.como-funciona-media img {
    width: 100%;
    max-width: 13.5rem;
    height: auto;
    display: block;
}

.expediente-digital {
    display: block;
    padding: 2.5rem 0 3rem;
}

.expediente-digital-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.expediente-digital-content {
    order: 1;
}

.expediente-badge {
    margin: 0;
    padding: 0.35rem 0.7rem;
    border-radius: 0.4rem;
    background: #a02e2f;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
}

.expediente-title {
    margin: 0.9rem 0 0;
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1;
    font-weight: 800;
}

.expediente-title-accent {
    color: #5aab9c;
}

.expediente-title-dark {
    color: #4a4a49;
}

.expediente-description {
    margin: 0.9rem 0 0;
    color: #706f6f;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 400;
}

.expediente-digital-media {
    order: 2;
    display: flex;
    justify-content: center;
}

.expediente-digital-media img {
    width: 100%;
    max-width: 16rem;
    height: auto;
    display: block;
}

.preguntas-frecuentes {
    display: block;
    padding: 2.5rem 0;
    background-image: url("../assets/icons/fondo_rembolso.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.preguntas-frecuentes-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-title {
    margin: 0 0 1.25rem;
    color: #4a4a49;
    font-size: clamp(1.9rem, 8vw, 2.4rem);
    line-height: 1.15;
    font-weight: 800;
    text-align: left;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    border: 0.125rem solid #5aab9c;
    border-radius: 1.25rem;
    background: #ffffff;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #222529;
    font-family: "Gilroy", sans-serif;
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 800;
}

.faq-question span {
    flex: 1;
}

.faq-arrow {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    color: #5aab9c;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
}

.faq-item.active .faq-answer {
    max-height: 31.25rem;
    padding: 0 1rem 0.9rem;
}

.faq-answer p {
    margin: 0;
    padding-top: 0.2rem;
    color: #222529;
    font-family: "Gilroy", sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 400;
}

.site-footer {
    background: #1a1a1b;
    color: #f2f2f2;
}

.site-footer-line {
    width: 100%;
    height: 0.5625rem;
    background-image: url("../assets/icons/linea_footer.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.site-footer-container {
    width: min(100%, 80rem);
    margin: 0 auto;
    padding: 2.2rem 1rem 2.8rem;
    display: grid;
    gap: 1.75rem;
}

.footer-brand {
    max-width: 18rem;
}

.footer-logo {
    width: 100%;
    max-width: 14rem;
    height: auto;
    display: block;
}

.footer-brand h2 {
    margin: 1rem 0 0;
    color: #c12a69;
    font-size: 1rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.18rem;
}

.footer-brand p {
    margin: 0.7rem 0 0;
    color: #d0d0d0;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 400;
}

.footer-column h3 {
    margin: 0;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 800;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1.65rem;
    height: 0.1875rem;
    background: #5aab9c;
}

.footer-column ul {
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.footer-column li {
    position: relative;
    padding-left: 0.55rem;
}

.footer-column li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    top: 0;
    color: #d0d0d0;
}

.footer-column a,
.footer-column p {
    color: #d0d0d0;
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 400;
}

.footer-column a:hover {
    color: #5aab9c;
}

.footer-contact p {
    margin: 0.9rem 0 0;
}

.footer-contact p:first-of-type {
    position: relative;
    padding-left: 0.95rem;
}

.footer-contact p:first-of-type::before {
    content: "\25CF";
    position: absolute;
    left: 0;
    color: #c12a69;
}

.footer-contact p:nth-of-type(2) {
    position: relative;
    padding-left: 0.95rem;
}

.footer-contact p:nth-of-type(2)::before {
    content: "\260E";
    position: absolute;
    left: 0;
    color: #c12a69;
    font-size: 0.72rem;
    top: 0.1rem;
}

.footer-ayuda {
    margin-top: 1rem;
    width: 100%;
    max-width: 16rem;
    height: auto;
    display: block;
}

#btn-ingresar {
    color: white;
}

.site-footer-copy {
    border-top: 0.0625rem solid #2e2e2f;
    padding: 1rem;
    text-align: center;
}

.site-footer-copy p {
    margin: 0;
    color: #7a7a7a;
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 400;
}

/* xl >= 1200px: escritorio estandar */
@media (min-width: 75rem) {

    .btn-llave{
       margin-left: 4.5rem;
    }
    .hero {
        display: flex;
        align-items: center;
        justify-content: center;
        background-image: url("../assets/img/fondo_main.jpg");
    }

    .hero-container {
        width: 80%;
        height: 80%;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-container h1 {
        max-width: 35rem;
        font-size: 3rem;
        line-height: 1.05;
    }

    .hero-container p {
        max-width: 33rem;
        font-size: 1.125rem;
        line-height: 1.4;
    }

    .hero-info {
        width: min(100%, 42rem);
        align-items: center;
        text-align: left;
    }

    .btn-primary {
        font-size: 1.05rem;
        padding: 0.625rem 3.25rem;
        align-self: flex-start;
    }

    .header-container {
        width: 80%;
    }

    .menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        width: auto;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .nav-menu a:not(.btn-ingresar) {
        position: relative;
        color: #ffffff;
        font-size: 0.95rem;
        font-weight: 500;
        padding: 0.5rem 1rem;
        background: transparent;
    }

    .nav-menu a:not(.btn-ingresar)::after {
        content: "";
        position: absolute;
        left: 1rem;
        right: 1rem;
        bottom: 0.25rem;
        height: 0.125rem;
        background: #33ae9d;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s ease;
    }

    .nav-menu a:not(.btn-ingresar):hover {
        color: #ffffff;
        background: transparent;
    }

    .nav-menu a:not(.btn-ingresar):hover::after {
        transform: scaleX(1);
    }

    .nav-menu a:not(.btn-ingresar).active {
        color: #33ae9d;
        background: transparent;
    }

    .nav-menu a:not(.btn-ingresar).active::after {
        transform: scaleX(0);
    }

    .btn-ingresar {
        margin-left: auto;
        margin-right: 0;
        padding: 0.75rem 2.5rem;
        font-size: 0.95rem;
        font-weight: 600;
    }

    .que-necesitas {
        display: block;
        min-height: 70dvh;
        background-image: url("../assets/img/fondo.png");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .que-necesitas-container {
        width: 60%;
        min-height: 70dvh;
        margin: 0 auto;
        display: grid;
        grid-template-columns: minmax(18rem, 28rem) minmax(24rem, 36rem);
        justify-content: center;
        align-items: center;
        gap: 3rem;
    }

    .que-necesitas-media {
        order: 1;
    }

    .que-necesitas-content {
        order: 2;
    }

    .que-necesitas-media {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        height: 100%;
    }

    .que-necesitas-phone {
        width: 100%;
        max-width: 24rem;
        height: auto;
        display: block;
        align-self: flex-end;
    }

    .que-necesitas-content h2 {
        margin: 0;
        max-width: 25rem;
        color: #4a4a49;
        font-size: 3rem;
        line-height: 1;
        font-weight: 800;
    }

    .que-necesitas-search {
        width: min(100%, 28rem);
        margin-top: 1.5rem;
        display: flex;
        align-items: stretch;
        border: 0.0625rem solid #9f9f9f;
        border-radius: 0.625rem;
        background: #ffffff;
        overflow: hidden;
    }

    .que-necesitas-search input {
        flex: 1;
        border: 0;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        color: #7c7c7c;
        font-family: "Gilroy", sans-serif;
        font-weight: 400;
        outline: none;
    }

    .que-necesitas-search button {
        border: 0;
        min-width: 7rem;
        padding: 0 1rem;
        color: #ffffff;
        background: #b93346;
        font-family: "Gilroy", sans-serif;
        font-weight: 700;
        cursor: pointer;
    }

    .que-necesitas-content p {
        margin-top: 1.25rem;
        max-width: 31rem;
        color: #7c7c7c;
        font-size: 1rem;
        line-height: 1.45;
        font-weight: 400;
    }

    .pagos-directos {
        display: block;
        padding: 5rem 0 6rem;
        background-color: #f9f9f9;
    }

    .pagos-directos-container {
        width: 60%;
        margin: 0 auto;
    }

    .pagos-directos-container h2 {
        margin: 0;
        color: #4a4a49;
        font-size: 2.5rem;
        line-height: 1.05;
        font-weight: 800;
    }

    .pagos-grid {
        margin-top: 2rem;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.125rem;
    }

    .pago-card {
        min-height: clamp(9.25rem, 11vw, 10.25rem);
        padding: clamp(0.9rem, 1.1vw, 1.05rem) clamp(1rem, 1.2vw, 1.2rem);
        border-radius: 0.875rem;
        background: #33ae9d;
        box-shadow: 0 0.375rem 0.875rem rgba(0, 0, 0, 0.12);
        border: 0.125rem solid transparent;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .pago-card:hover {
        transform: translateY(-0.25rem);
        box-shadow: 0 0.75rem 1.25rem rgba(0, 0, 0, 0.16);
    }

    .pago-card:focus-visible {
        outline: 0;
        border-color: #ffffff;
    }

    .pago-card.is-selected {
        border-color: #ffffff;
        box-shadow: 0 0.875rem 1.5rem rgba(0, 0, 0, 0.18);
        transform: translateY(-0.2rem);
    }

    .pago-icon {
        width: clamp(1.75rem, 2.1vw, 2.2rem);
        height: auto;
        display: block;
    }

    .pago-card h3 {
        margin: 0.55rem 0 0;
        max-width: 100%;
        color: #ffffff;
        font-size: clamp(1.15rem, 1.35vw, 1.4rem);
        line-height: 1.08;
        font-weight: 800;
    }

    .pago-card p {
        margin: 0.45rem 0 0;
        max-width: 100%;
        color: #9fedde;
        font-size: clamp(0.8rem, 0.95vw, 0.9rem);
        line-height: 1.28;
        font-weight: 600;
    }

    .tramites-frecuentes {
        display: block;
        padding: 3rem 0 5rem;
    }

    .tramites-frecuentes-container {
        width: 61%;
        margin: 0 auto;
    }

    .tramites-frecuentes-container h2 {
        margin: 0;
        color: #4a4a49;
        font-size: 2.5rem;
        line-height: 1.05;
        font-weight: 800;
    }

    .tramites-grid {
        margin-top: 1.75rem;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.375rem;
    }

    .tramite-card {
        border: 0.125rem solid #33ae9d;
        border-radius: 1.25rem;
        background: #ffffff;
        padding: 1.1rem 1rem 0.9rem;
    }

    .tramite-card h3 {
        margin: 0;
        color: #000000;
        font-size: 1.6rem;
        line-height: 1.08;
        font-weight: 800;
    }

    .tramite-meta {
        margin-top: 0.8rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .tramite-meta span {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        color: #706f6f;
        font-size: 0.95rem;
        line-height: 1;
        font-weight: 800;
    }

    .tramite-meta img {
        width: 1rem;
        height: 1rem;
        display: block;
    }

    .tramite-btn {
        margin-top: 0.85rem;
        min-height: 2.5rem;
        border-radius: 0.6rem;
        background: #c12a69;
        color: #ffffff;
        font-size: 1rem;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .tramites-note {
        margin: 1.5rem 0 0;
        color: #706f6f;
        font-size: 0.95rem;
        line-height: 1.4;
        font-weight: 400;
        text-align: center;
    }

    .como-funciona {
        display: block;
        background: #f9f9f9;
        padding: 4.5rem 0 5rem;
    }

    .como-funciona-container {
        width: 60%;
        margin: 0 auto;
    }

    .como-funciona-layout {
        display: grid;
        grid-template-columns: minmax(26rem, 1fr) minmax(18rem, 26rem);
        align-items: center;
        gap: 2rem;
    }

    .como-funciona-content {
        order: 1;
        display: block;
    }

    .como-funciona-badge {
        margin: 0;
        padding: 0.35rem 0.7rem;
        border-radius: 0.5rem;
        background: #a02e2f;
        color: #ffffff;
        font-size: 0.95rem;
        line-height: 1;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
    }

    .como-funciona-title {
        margin: 1rem 0 0;
        font-size: 3rem;
        line-height: 1.02;
    }

    .como-funciona-strong,
    .como-funciona-accent {
        font-weight: 800;
    }

    .como-funciona-strong {
        color: #4a4a49;
    }

    .como-funciona-accent {
        color: #5aab9c;
    }

    .como-funciona-journey {
        margin-top: 1.6rem;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .funciona-point {
        display: grid;
        justify-items: start;
        gap: 0.55rem;
    }

    .funciona-point-number {
        width: 2.3rem;
        height: 2.3rem;
        display: block;
    }

    .funciona-point h3 {
        margin: 0;
        color: #4a4a49;
        font-size: 1rem;
        line-height: 1.1;
        font-weight: 700;
    }

    .como-funciona-features {
        margin-top: 1.35rem;
        display: grid;
        gap: 0.5rem;
    }

    .funciona-feature {
        display: grid;
        grid-template-columns: 1.65rem 1fr;
        align-items: start;
        gap: 0.5rem;
    }

    .funciona-feature-icon {
        width: 1.7rem;
        height: 1.7rem;
        display: block;
    }

    .funciona-feature-copy h3 {
        margin: 0;
        color: #4a4a49;
        font-size: 1.05rem;
        line-height: 1.1;
        font-weight: 800;
    }

    .funciona-feature-copy p {
        margin: 0.15rem 0 0;
        color: #4a4a49;
        font-size: 0.8rem;
        line-height: 1.2;
        font-weight: 400;
    }

    .como-funciona-media {
        order: 2;
        justify-self: end;
    }

    .como-funciona-media img {
        width: 100%;
        max-width: 24rem;
        height: auto;
        display: block;
    }

    .expediente-digital {
        display: block;
        padding: 5rem 0 5.5rem;
    }

    .expediente-digital-container {
        width: 48%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: minmax(15rem, 22rem) minmax(20rem, 1fr);
        align-items: center;
        gap: 18rem;
    }

    .expediente-digital-media {
        order: 1;
        justify-self: start;
    }

    .expediente-digital-media img {
        width: 100%;
        max-width: 15rem;
        height: auto;
        display: block;
    }

    .expediente-badge {
        margin: 0;
        padding: 0.4rem 0.85rem;
        border-radius: 0.4rem;
        background: #a02e2f;
        color: #ffffff;
        font-size: 1rem;
        line-height: 1;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
    }

    .expediente-title {
        margin: 1rem 0 0;
        font-size: 3.2rem;
        line-height: 0.98;
        font-weight: 800;
    }

    .expediente-title-accent {
        color: #5aab9c;
    }

    .expediente-title-dark {
        color: #4a4a49;
    }

    .expediente-description {
        margin: 1rem 0 0;
        max-width: 26rem;
        color: #706f6f;
        font-size: 1.1rem;
        line-height: 1.35;
        font-weight: 400;
    }

    .expediente-description strong {
        font-weight: 800;
    }

    .preguntas-frecuentes {
        display: block;
        padding: 5rem 0;
        background-image: url("../assets/icons/fondo_rembolso.svg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .preguntas-frecuentes-container {
        width: 60%;
        margin: 0 auto;
    }

    .faq-title {
        font-family: "Gilroy", sans-serif;
        font-weight: 800;
        color: #4a4a49;
        font-size: clamp(2rem, 4.5vw, 3rem);
        text-align: left;
        margin: 0 0 3rem;
        line-height: 1.2;
    }

    .faq-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .faq-item {
        border: 0.1875rem solid #5aab9c;
        border-radius: 2.25rem;
        background: #ffffff;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .faq-question {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 1.4rem;
        background: transparent;
        border: none;
        cursor: pointer;
        text-align: left;
        font-family: "Gilroy", sans-serif;
        font-weight: 800;
        color: #222529;
        font-size: clamp(0.82rem, 1.25vw, 1rem);
        line-height: 1.4;
        transition: background 0.2s ease;
    }

    .faq-question:hover {
        background: rgba(134, 242, 221, 0.1);
    }

    .faq-question span {
        flex: 1;
    }

    .faq-arrow {
        flex-shrink: 0;
        width: 1.3rem;
        height: 1.3rem;
        color: #5aab9c;
        transition: transform 0.3s ease;
    }

    .faq-item.active .faq-arrow {
        transform: rotate(180deg);
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0 1.25rem;
    }

    .faq-item.active .faq-answer {
        max-height: 31.25rem;
        padding: 0 1.15rem 1rem;
    }

    .faq-answer p {
        font-family: "Gilroy", sans-serif;
        font-weight: 400;
        color: #222529;
        font-size: clamp(0.82rem, 1.2vw, 0.95rem);
        line-height: 1.6;
        margin: 0;
        padding-top: 0.35rem;
    }

    .site-footer-container {
        width: 80%;
        padding: 3rem 0 3.5rem;
        grid-template-columns: minmax(16rem, 1.4fr) repeat(3, minmax(10rem, 1fr));
        gap: 2.2rem;
    }

    .site-footer-container > .footer-column:nth-child(3) h3::after {
        background: #5aab9c;
    }

    .site-footer-container > .footer-column:nth-child(4) h3::after {
        background: #c12a69;
    }

    .site-footer-copy {
        padding: 1rem 0;
    }

    .site-footer-copy p {
        font-size: 0.85rem;
    }
}