:root {
    --font-main: "Gotham", "Montserrat", "Arial", sans-serif;

    --color-navy: #061a34;
    --color-navy-2: #0b2547;
    --color-blue: #1f5fbf;
    --color-blue-light: #75a9ff;
    --color-white: #ffffff;
    --color-soft: #eef4fb;
    --color-muted: #9fb0c4;
    --color-dark: #030912;

    --container: 1180px;
    --header-height: 92px;

    --radius-pill: 999px;
    --transition: 220ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-white);
    background: var(--color-dark);
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    width: min(var(--container), 92%);
    margin-inline: auto;
}

/* =========================
   Buttons
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.75rem 1.35rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-header {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-navy);
}

.btn-header:hover {
    background: var(--color-blue-light);
    color: var(--color-white);
}

/* =========================
   Header
========================= */

/* =========================
   Header
========================= */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    min-height: var(--header-height);
    background: linear-gradient(to bottom,
            rgba(2, 8, 18, 0.72),
            rgba(2, 8, 18, 0.38),
            rgba(2, 8, 18, 0));
    transition:
        background-color var(--transition),
        backdrop-filter var(--transition),
        min-height var(--transition),
        box-shadow var(--transition);
}

.site-header.is-scrolled {
    min-height: 86px;
    background: rgba(3, 14, 31, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.header-inner {
    position: relative;
    width: min(1180px, 90%);
    min-height: 165px;
    margin-inline: auto;
    padding-top: 2.2rem;
    display: grid;
    grid-template-columns: minmax(330px, 0.9fr) minmax(460px, 1fr);
    align-items: start;
    gap: 2.8rem;
}

.site-header.is-scrolled .header-inner {
    min-height: 92px;
    padding-top: 1rem;
    align-items: center;
}

/* Columna izquierda: logo + menú */
.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.brand-logo {
    width: clamp(230px, 21vw, 330px);
    height: auto;
}

.site-header.is-scrolled .brand-logo {
    width: clamp(190px, 16vw, 260px);
}

/* Menú debajo del logo */
.main-nav {
    margin-top: 1.35rem;
    margin-left: clamp(2.2rem, 4.2vw, 4.7rem);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(1.7rem, 3vw, 3.4rem);
}

.nav-link {
    position: relative;
    padding: 0.45rem 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.38rem;
    width: 34px;
    height: 3px;
    background: rgba(195, 207, 220, 0.95);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

/* Columna derecha: redes + contactos + botón */
.header-right {
    position: relative;
    padding-top: 1.35rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-social {
    position: absolute;
    right: 1.1rem;
    top: -1.15rem;
    display: flex;
    align-items: center;
    gap: 0.62rem;
}

.header-social a {
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(116, 145, 189, 0.82);
    color: #ffffff;
    font-size: 0.48rem;
    line-height: 1;
    transition:
        transform var(--transition),
        background-color var(--transition);
}

.header-social a:hover {
    transform: translateY(-1px);
    background: #ffffff;
    color: #0b2547;
}

.header-contacts {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: clamp(1.5rem, 2.4vw, 2.6rem);
}

.header-contact {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.42rem;
    color: #ffffff;
    white-space: nowrap;
}

.header-contact-icon {
    width: 15px;
    height: 15px;
    margin-top: 0.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(190, 213, 255, 0.96);
    border-radius: 999px;
    color: rgba(190, 213, 255, 0.96);
    font-size: 0.48rem;
    line-height: 1;
}

.header-contact-text {
    display: grid;
    gap: 0.15rem;
}

.header-contact span span,
.header-contact-text span {
    color: #ffffff;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 900;
}

.header-contact strong {
    color: #ffffff;
    font-size: 0.78rem;
    line-height: 1.15;
    font-weight: 900;
}

.btn-header {
    min-width: 116px;
    min-height: 38px;
    margin-top: 1.8rem;
    padding: 0.75rem 1.55rem;
    align-self: flex-end;
    background: rgba(215, 226, 238, 0.88);
    color: #ffffff;
    border: 0;
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.035em;
}

.btn-header:hover {
    background: #ffffff;
    color: #0b2547;
}

/* Botón hamburguesa */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--color-white);
    transition:
        transform var(--transition),
        opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* =========================
   Home Hero
========================= */

.hero-home {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: #08224a;
    color: #ffffff;
    isolation: isolate;
}

/* Contenedor de slides */
.hero-home__slides {
    position: absolute;
    inset: 0;
    z-index: -3;
}

/* Cada slide */
.hero-home__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-color: #08224a;
    background-image:
        linear-gradient(90deg,
            rgba(3, 8, 18, 0.08) 0%,
            rgba(5, 18, 40, 0.18) 34%,
            rgba(6, 27, 62, 0.78) 55%,
            rgba(5, 27, 64, 0.98) 74%,
            rgba(5, 27, 64, 1) 100%),
        var(--hero-image),
        linear-gradient(90deg, #566b80 0%, #08224a 52%, #061b42 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition:
        opacity 900ms ease,
        transform 6000ms ease;
}

.hero-home__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

/* Capa extra para oscurecer arriba y ayudar al header */
.hero-home__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.58) 0%,
            rgba(0, 0, 0, 0.22) 24%,
            rgba(0, 0, 0, 0.04) 58%);
    pointer-events: none;
}

.hero-home__inner {
    position: relative;
    min-height: 720px;
    padding-top: 150px;
    padding-bottom: 90px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-home__copy {
    width: min(760px, 58%);
    margin-left: auto;
    padding-top: 7rem;
}

.hero-home__title {
    margin: 0;
    font-family: var(--font-main);
    font-size: clamp(3.4rem, 5vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    color: #ffffff;
    white-space: nowrap;
}

.hero-home__titleBase {
    font-weight: 200;
}

.hero-home__titleDynamic {
    display: inline-block;
    font-weight: 900;
    letter-spacing: -0.04em;
    transition:
        opacity 260ms ease,
        transform 260ms ease,
        filter 260ms ease;
}

.hero-home__titleDynamic.is-changing {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
}

.hero-home__subtitle {
    margin: 1.5rem 0 0;
    max-width: 850px;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1rem, 1.45vw, 1.45rem);
    line-height: 1.35;
    font-weight: 300;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

/* Dots del carrusel */
.hero-home__controls {
    position: absolute;
    left: 50%;
    bottom: 2.4rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    transform: translateX(-50%);
}

.hero-home__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition:
        width 220ms ease,
        background-color 220ms ease,
        border-color 220ms ease;
}

.hero-home__dot.is-active {
    width: 34px;
    background: #ffffff;
    border-color: #ffffff;
}

/* =========================
   Home Hero Responsive
========================= */

@media (max-width: 1200px) {
    .hero-home__copy {
        width: min(690px, 58%);
    }

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

@media (max-width: 992px) {
    .hero-home {
        min-height: 680px;
    }

    .hero-home__inner {
        min-height: 680px;
        padding-top: 110px;
        justify-content: center;
    }

    .hero-home__slide {
        background-image:
            linear-gradient(90deg,
                rgba(5, 20, 45, 0.55) 0%,
                rgba(5, 24, 56, 0.84) 50%,
                rgba(5, 24, 56, 0.98) 100%),
            var(--hero-image),
            linear-gradient(90deg, #566b80 0%, #08224a 52%, #061b42 100%);
        background-position: center center;
    }

    .hero-home__copy {
        width: min(680px, 92%);
        margin: 0 auto;
        padding-top: 6rem;
        text-align: center;
    }

    .hero-home__title {
        white-space: normal;
        letter-spacing: -0.045em;
    }

    .hero-home__subtitle {
        margin-inline: auto;
    }
}

@media (max-width: 576px) {
    .hero-home {
        min-height: 620px;
    }

    .hero-home__inner {
        min-height: 620px;
        padding-bottom: 80px;
    }

    .hero-home__copy {
        padding-top: 4.5rem;
    }

    .hero-home__title {
        font-size: clamp(2.55rem, 12vw, 3.6rem);
        line-height: 1.04;
    }

    .hero-home__subtitle {
        margin-top: 1.2rem;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .hero-home__controls {
        bottom: 1.6rem;
    }
}

/* =========================
   Tecnología de vanguardia
========================= */

.tech-section {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: #102c4e;
    color: #ffffff;
    isolation: isolate;

    --tech-copy-offset: clamp(2.5rem, 5vw, 6.5rem);
}

/*
  Aquí va la imagen completa del fondo.
  La imagen debe incluir doctores, cirugía y panal.
*/
.tech-section__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        url("../images/bg-tecnologia-vanguardia.jpg") center center / cover no-repeat,
        linear-gradient(90deg, #60737b 0%, #0b2b61 100%);
}

/*
  Capa general muy ligera para unificar color.
  No es degradado de columna izquierda.
*/
.tech-section__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 22, 45, 0.16);
    pointer-events: none;
}

.tech-section__grid {
    min-height: 610px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Columna izquierda con máscara sólida/transparente */
.tech-section__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 5rem 0;
    background: rgba(73, 98, 104, 0.78);
}

/* Línea divisoria central muy sutil */
.tech-section__content::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.18);
}

.tech-section__copy {
    width: min(430px, 82%);
    margin-right: var(--tech-copy-offset);
}

.tech-section__copy h2 {
    margin: 0 0 1.8rem;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: clamp(2.45rem, 4vw, 3.95rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.tech-section__copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(0.9rem, 1vw, 1.02rem);
    line-height: 1.85;
    font-weight: 700;
    letter-spacing: 0.015em;
}

.tech-section__actions {
    width: min(340px, 100%);
    margin-top: 2.8rem;
    margin-left: auto;
    display: grid;
    gap: 1rem;
    overflow: visible;

    position: relative;
    z-index: 3;
    transform: translateX(var(--tech-copy-offset));
}

/* Barra azul */
.tech-action {
    --cap-width: 58px;
    --action-height: 48px;

    position: relative;
    min-height: var(--action-height);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 calc(var(--cap-width) + 1.1rem) 0 1.7rem;
    border-radius: 999px 0 0 999px;
    background: #285bc6;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.98rem;
    line-height: 1.2;
    font-weight: 900;
    text-align: right;
    box-shadow: 0 12px 24px rgba(4, 21, 55, 0.16);
    transform-origin: right center;
    transition:
        width 260ms ease,
        transform 260ms ease,
        background-color 260ms ease,
        box-shadow 260ms ease;
}

/*
  Cabecera final.
  Ya no es círculo: es una extensión tipo media cápsula.
  Invade visualmente la segunda columna.
*/
.tech-action__icon {
    position: absolute;
    top: 0;
    right: calc(var(--cap-width) * -1);
    width: var(--cap-width);
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 999px 999px 0;
    background: #75a9ff;
    overflow: hidden;
    transition:
        transform 300ms ease,
        background-color 260ms ease;
}

/*
  Pequeño truco visual:
  este pseudo-elemento cubre la unión para que no parezca
  un círculo pegado, sino una sola pieza continua.
*/
.tech-action__icon::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 0;
    width: 16px;
    height: 100%;
    background: #75a9ff;
}

/* Cruz principal */
.tech-action__icon::after {
    content: "";
    position: relative;
    z-index: 2;
    width: 22px;
    height: 22px;
    display: block;
    background: #ffffff;
    clip-path: polygon(36% 0,
            64% 0,
            64% 36%,
            100% 36%,
            100% 64%,
            64% 64%,
            64% 100%,
            36% 100%,
            36% 64%,
            0 64%,
            0 36%,
            36% 36%);
    border-radius: 5px;
    transition: transform 300ms ease;
}

/* Interacción */
.tech-action:hover,
.tech-action:focus-visible {
    width: calc(100% + 28px);
    transform: translateX(28px);
    background: #1f55c4;
    box-shadow: 0 16px 30px rgba(4, 21, 55, 0.24);
}

.tech-action:hover .tech-action__icon,
.tech-action:focus-visible .tech-action__icon {
    background: #8bb5ff;
}

.tech-action:hover .tech-action__icon::before,
.tech-action:focus-visible .tech-action__icon::before {
    background: #8bb5ff;
}

.tech-action:hover .tech-action__icon::after,
.tech-action:focus-visible .tech-action__icon::after {
    transform: rotate(180deg);
}

.tech-action:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 4px;
}

/* Columna derecha intencionalmente vacía */
.tech-section__visual {
    position: relative;
}

/* =========================
   Tecnología Responsive
========================= */

@media (max-width: 992px) {

    .tech-section,
    .tech-section__grid {
        min-height: auto;
    }

    .tech-section__grid {
        grid-template-columns: 1fr;
    }

    .tech-section__content {
        min-height: 620px;
        justify-content: center;
        padding: 6rem 0;
        background: rgba(45, 72, 84, 0.82);
    }

    .tech-section__content::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
        width: 1px;
        height: 100%;
        background: rgba(255, 255, 255, 0.18);
    }

    .tech-section__copy {
        width: min(560px, 86%);
        margin: 0 auto;
        text-align: left;
    }

    .tech-section__actions {
        margin-left: 0;
    }

    .tech-section__visual {
        display: none;
    }
}

@media (max-width: 576px) {
    .tech-section__content {
        min-height: auto;
        padding: 4.5rem 0;
    }

    .tech-section__copy {
        width: min(100% - 2rem, 440px);
    }

    .tech-section__copy h2 {
        font-size: clamp(2.25rem, 12vw, 3rem);
    }

    .tech-section__copy p {
        font-size: 0.88rem;
        line-height: 1.75;
    }

    .tech-section__actions {
        width: 100%;
        margin-top: 2.2rem;
    }

    .tech-action {
        --icon-size: 42px;

        min-height: 46px;
        padding-left: 1.2rem;
        font-size: 0.84rem;
    }

    .tech-action:hover,
    .tech-action:focus-visible {
        width: 100%;
        transform: none;
    }

    .tech-action__icon {
        right: -14px;
    }
}

/* =========================
   Experiencia
========================= */

.experience-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
    background: #ffffff;
    color: #071b37;
}

.experience-section__image {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #dfe7ef;
}

.experience-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.experience-section__content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5rem 0;
    background: #ffffff;
}

.experience-section__inner {
    width: min(480px, 82%);
    margin-left: clamp(2.5rem, 5vw, 6.5rem);
}

.experience-section__inner h2 {
    margin: 0 0 1.7rem;
    color: #9fb1c2;
    font-family: var(--font-main);
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1;
    font-weight: 200;
    letter-spacing: -0.04em;
}

.experience-section__doctor {
    margin-bottom: 2.4rem;
}

.experience-section__doctor h3 {
    margin: 0;
    color: #08224a;
    font-family: var(--font-main);
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.15;
    font-weight: 300;
    letter-spacing: 0.015em;
}

.experience-section__doctor p {
    margin: 0.15rem 0 0;
    color: #6fa2ff;
    font-size: clamp(0.88rem, 1.05vw, 1rem);
    line-height: 1.25;
    font-weight: 700;
}

.experience-section__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(8, 34, 74, 0.35);
}

.experience-section__list li {
    padding: 0.86rem 0;
    border-bottom: 1px solid rgba(8, 34, 74, 0.35);
    color: #061a34;
    font-size: clamp(0.86rem, 1vw, 0.98rem);
    line-height: 1.35;
    font-weight: 900;
}

/* Botón */
.experience-section__button {
    width: fit-content;
    min-width: 255px;
    min-height: 38px;
    margin-top: 3rem;
    padding: 0.55rem 0.8rem 0.55rem 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.15rem;
    border-radius: 999px;
    background: #172848;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    transition:
        transform 220ms ease,
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.experience-section__button img {
    width: 28px;
    height: auto;
    object-fit: contain;
    transition: transform 220ms ease;
}

/* Si tu flecha es oscura, activa esto */
/*
.experience-section__button img {
  filter: brightness(0) invert(1);
}
*/

.experience-section__button:hover,
.experience-section__button:focus-visible {
    transform: translateY(-2px);
    background: #285bc6;
    box-shadow: 0 12px 24px rgba(4, 21, 55, 0.2);
}

.experience-section__button:hover img,
.experience-section__button:focus-visible img {
    transform: translateX(4px);
}

.experience-section__button:focus-visible {
    outline: 2px solid rgba(40, 91, 198, 0.35);
    outline-offset: 4px;
}

/* =========================
   Experiencia Responsive
========================= */

@media (max-width: 992px) {
    .experience-section {
        grid-template-columns: 1fr;
    }

    .experience-section__image {
        min-height: 520px;
    }

    .experience-section__content {
        padding: 4rem 0;
        justify-content: center;
    }

    .experience-section__inner {
        width: min(620px, 86%);
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .experience-section__image {
        min-height: 390px;
    }

    .experience-section__content {
        padding: 3.2rem 0;
    }

    .experience-section__inner {
        width: min(100% - 2rem, 440px);
    }

    .experience-section__inner h2 {
        font-size: clamp(2.4rem, 14vw, 3.2rem);
    }

    .experience-section__doctor h3 {
        font-size: 1.32rem;
    }

    .experience-section__button {
        width: 100%;
        min-width: 0;
    }
}

/* =========================
   Testimoniales + Paquetes
========================= */

.packages-section {
    position: relative;
    overflow: hidden;
    background:
        url("../images/bg-arcos-paquetes.png") center top / cover no-repeat,
        #05122d;
    color: #ffffff;
}

.packages-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 8%, rgba(47, 105, 175, 0.24), transparent 34%),
        linear-gradient(to bottom, rgba(8, 31, 71, 0.25), rgba(0, 3, 17, 0.88));
    pointer-events: none;
}

.packages-section__inner {
    position: relative;
    z-index: 2;
    width: min(1120px, 88%);
    margin-inline: auto;
    padding: 4.4rem 0 5rem;
}

/* =========================
   Testimoniales
========================= */

.testimonials-section {
    position: relative;
    padding: 0 0 4.5rem;
    text-align: center;
}

.testimonials-section__header {
    position: relative;
    margin-bottom: 3.2rem;
}

.testimonials-section__ghost {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.07);
    font-size: clamp(4rem, 10vw, 8.8rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.055em;
    white-space: nowrap;
}

.testimonials-section h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.4rem, 5.2vw, 5.3rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.testimonials-carousel {
    width: min(820px, 100%);
    margin-inline: auto;
}

.testimonials-carousel__quote {
    height: 95px;
    color: #5cb4d7;
    font-size: 10rem;
    line-height: 0.75;
    font-weight: 900;
    font-family: Georgia, serif;
}

.testimonials-carousel__items {
    position: relative;
    min-height: 145px;
}

.testimonials-carousel__item {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    color: #ffffff;
    font-size: clamp(1.25rem, 2.25vw, 2.1rem);
    line-height: 1.55;
    font-weight: 300;
    transition:
        opacity 320ms ease,
        transform 320ms ease;
}

.testimonials-carousel__item.is-active {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-carousel__line {
    width: min(610px, 86%);
    height: 3px;
    margin: 2.5rem auto 2.1rem;
    background: #53b9dc;
}

.testimonials-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.82rem;
}

.testimonials-carousel__dots button {
    width: 13px;
    height: 13px;
    padding: 0;
    border: 1px solid #ffffff;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition:
        background-color 220ms ease,
        transform 220ms ease;
}

.testimonials-carousel__dots button.is-active {
    background: #ffffff;
}

.testimonials-carousel__dots button:hover {
    transform: scale(1.18);
}

/* =========================
   Precios y paquetes
========================= */

.pricing-section {
    position: relative;
    width: min(900px, 100%);
    margin-inline: auto;
}

.pricing-section__banner {
    min-height: 250px;
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(6, 28, 67, 0.04), rgba(255, 255, 255, 0.86) 52%, rgba(38, 97, 207, 0.86)),
        #ffffff;
}

.pricing-section__bannerImage {
    background:
        url("../images/precios-cirugia.jpg") center center / cover no-repeat,
        linear-gradient(135deg, #1a4376, #071b37);
}

.pricing-section__bannerContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.3rem 3rem;
    color: #071b37;
}

.pricing-section__bannerContent h2 {
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: 1;
    font-weight: 200;
    letter-spacing: -0.045em;
}

.pricing-section__bannerContent p {
    max-width: 460px;
    margin: 0;
    color: #071b37;
    font-size: 0.92rem;
    line-height: 1.8;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Tarjetas */
.pricing-section__cards {
    position: relative;
    z-index: 3;
    width: min(690px, 88%);
    margin: -1.25rem auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
}

.pricing-card {
    position: relative;
    min-height: 265px;
    padding: 2rem 1.7rem 1.15rem;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #071b37;
    border-radius: 8px;
    border: 1px solid rgba(10, 31, 67, 0.2);
    box-shadow: 0 4px 0 rgba(117, 169, 255, 0.75);
}

.pricing-card__corner {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background: #9db0bd;
}

.pricing-card__corner::before,
.pricing-card__corner::after {
    content: "";
    position: absolute;
    border-color: #ffffff;
    border-style: solid;
}

.pricing-card__corner::before {
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-width: 2px 2px 0 0;
}

.pricing-card__corner::after {
    left: 6px;
    bottom: 6px;
    width: 8px;
    height: 8px;
    border-width: 0 0 2px 2px;
}

.pricing-card h3 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 0.88;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.pricing-card h3 span {
    display: block;
    font-weight: 200;
}

.pricing-card__image {
    width: 78%;
    max-height: 108px;
    margin: 1.2rem 0 0 auto;
    object-fit: contain;
}

.pricing-card__price {
    margin-top: auto;
    min-height: 44px;
    padding: 0.72rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #3460c0;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
}

/* =========================
   Financiamiento
========================= */

.financing-banner {
    width: min(690px, 88%);
    min-height: 92px;
    margin: 2.6rem auto 0;
    display: grid;
    grid-template-columns: 160px 1fr;
    overflow: hidden;
    border-radius: 0 40px 0 40px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(238, 244, 239, 0.96)),
        #ffffff;
    color: #071b37;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.financing-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.financing-banner__image {
    min-height: 92px;
    background:
        url("../images/financiamiento.jpg") center center / cover no-repeat,
        linear-gradient(135deg, #d6c8aa, #ffffff);
}

.financing-banner__content {
    position: relative;
    padding: 1rem 1.5rem 1rem 0.9rem;
    display: grid;
    align-content: center;
}

.financing-banner__content strong {
    color: #071b37;
    font-size: clamp(1.35rem, 2.8vw, 2.15rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.financing-banner__content span {
    color: #071b37;
    font-size: clamp(0.95rem, 1.65vw, 1.3rem);
    line-height: 1.15;
    font-weight: 300;
}

.financing-banner__button {
    width: fit-content;
    min-width: 88px;
    min-height: 30px;
    margin-top: 0.35rem;
    padding: 0.35rem 0.7rem 0.35rem 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 999px;
    background: #172848;
    color: #ffffff !important;
    font-size: 0.72rem !important;
    line-height: 1;
    font-weight: 900 !important;
    text-transform: uppercase;
}

.financing-banner__button img {
    width: 23px;
    height: auto;
    object-fit: contain;
}

/* =========================
   Extranjero
========================= */

.foreign-section {
    position: relative;
    width: min(780px, 100%);
    margin: 4.1rem auto 0;
    padding-bottom: 4rem;
    text-align: center;
}

.foreign-section__line {
    width: min(380px, 82%);
    height: 3px;
    margin: 0 auto 2rem;
    background: #53b9dc;
}

.foreign-section h2 {
    margin: 0 0 1.35rem;
    color: #ffffff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1;
    font-weight: 900;
}

.foreign-section p {
    width: min(540px, 92%);
    margin: 0 auto 1.6rem;
    color: #ffffff;
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    line-height: 1.25;
    font-weight: 300;
}

.foreign-section__button {
    min-width: 180px;
    min-height: 38px;
    padding: 0.55rem 0.85rem 0.55rem 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: 999px;
    background: #9db0bd;
    color: #071b37;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition:
        transform 220ms ease,
        background-color 220ms ease;
}

.foreign-section__button img {
    width: 27px;
    height: auto;
}

.foreign-section__button:hover {
    transform: translateY(-2px);
    background: #ffffff;
}

.foreign-section__cross {
    width: 58px;
    height: 58px;
    margin: 3rem auto 0;
    background: #ffffff;
    clip-path: polygon(36% 0,
            64% 0,
            64% 36%,
            100% 36%,
            100% 64%,
            64% 64%,
            64% 100%,
            36% 100%,
            36% 64%,
            0 64%,
            0 36%,
            36% 36%);
}

/* =========================
   Paquetes Responsive
========================= */

@media (max-width: 992px) {
    .packages-section__inner {
        width: min(760px, 90%);
        padding-top: 4rem;
    }

    .pricing-section__banner {
        grid-template-columns: 1fr;
    }

    .pricing-section__bannerImage {
        min-height: 220px;
    }

    .pricing-section__cards {
        gap: 1.8rem;
    }
}

@media (max-width: 768px) {
    .testimonials-carousel__items {
        min-height: 185px;
    }

    .pricing-section__cards {
        width: min(420px, 92%);
        grid-template-columns: 1fr;
    }

    .pricing-card {
        min-height: 250px;
    }

    .financing-banner {
        width: min(420px, 92%);
        grid-template-columns: 1fr;
        border-radius: 0 34px 0 34px;
    }

    .financing-banner__image {
        min-height: 120px;
    }

    .financing-banner__content {
        padding: 1.1rem 1.3rem 1.25rem;
        text-align: center;
        justify-items: center;
    }
}

@media (max-width: 576px) {
    .packages-section__inner {
        width: min(100% - 2rem, 440px);
        padding: 3.4rem 0 4rem;
    }

    .testimonials-section {
        padding-bottom: 3.3rem;
    }

    .testimonials-section__ghost {
        font-size: 4.2rem;
    }

    .testimonials-carousel__quote {
        height: 70px;
        font-size: 7rem;
    }

    .testimonials-carousel__item {
        font-size: 1.08rem;
        line-height: 1.55;
    }

    .testimonials-carousel__line {
        margin-top: 1.8rem;
    }

    .pricing-section__bannerContent {
        padding: 2rem 1.4rem;
    }

    .pricing-section__bannerContent h2 {
        font-size: 2.4rem;
    }

    .pricing-section__bannerContent p {
        font-size: 0.84rem;
        line-height: 1.7;
    }

    .pricing-card {
        padding: 1.7rem 1.4rem 1.1rem;
    }

    .pricing-card__price {
        font-size: 0.9rem;
    }

    .foreign-section {
        margin-top: 3.3rem;
        padding-bottom: 2rem;
    }
}

/* =========================
   Contacto Home
========================= */

.contact-home {
    position: relative;
    overflow: hidden;
    background: #e9e6df;
    color: #071b37;
}

.contact-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.85), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 42%);
    pointer-events: none;
}

.contact-home__inner {
    position: relative;
    z-index: 2;
    width: min(1040px, 88%);
    margin-inline: auto;
    padding: 2.4rem 0 2rem;
    text-align: center;
}

.contact-home__header h2 {
    margin: 0;
    color: #071b37;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1;
    font-weight: 200;
    letter-spacing: -0.035em;
}

.contact-home__header p {
    margin: 0.55rem 0 0;
    color: #8493a1;
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    line-height: 1;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Ubicaciones */

.contact-home__locations {
    width: min(560px, 100%);
    margin: 1.5rem auto 1.15rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.8rem;
    text-align: left;
}

.contact-home__location {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.45rem 0.65rem;
    border-radius: 12px;
    transition:
        background-color 220ms ease,
        transform 220ms ease;
}

.contact-home__location:hover {
    background: rgba(255, 255, 255, 0.38);
    transform: translateY(-2px);
}

.contact-home__locationIcon {
    margin-top: 0.1rem;
    color: #071b37;
    font-size: 1.05rem;
}

.contact-home__location h3 {
    margin: 0;
    color: #303a44;
    font-size: 1.15rem;
    line-height: 1.1;
    font-weight: 900;
}

.contact-home__location p {
    margin: 0.3rem 0 0;
    color: #1842b0;
    font-size: 0.82rem;
    line-height: 1.25;
    font-weight: 400;
}

.contact-home__divider {
    width: 100%;
    height: 1px;
    margin: 1.1rem 0 1.6rem;
    background: rgba(7, 27, 55, 0.18);
}

/* Acciones */

.contact-home__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 2.6vw, 2rem);
    flex-wrap: wrap;
}

.contact-home__phone,
.contact-home__video,
.contact-home__pill {
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        background-color 220ms ease,
        color 220ms ease;
}

.contact-home__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #303a44;
}

.contact-home__phoneIcon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #071b37;
    font-size: 1.05rem;
}

.contact-home__phone strong {
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    font-weight: 900;
    letter-spacing: 0.035em;
}

.contact-home__video {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #303a44;
}

.contact-home__videoIcon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(7, 27, 55, 0.55);
    border-radius: 4px;
    color: #071b37;
    font-size: 0.92rem;
}

.contact-home__video strong {
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    font-weight: 900;
}

.contact-home__pill {
    position: relative;
    min-width: 138px;
    min-height: 38px;
    padding: 0.45rem 1rem 0.45rem 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: 999px;
    background: #9badbc;
    color: #ffffff;
    overflow: hidden;
}

.contact-home__pill::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.35) 45%,
            transparent 75%);
    transform: translateX(-120%);
    transition: transform 520ms ease;
}

.contact-home__pill:hover::before {
    transform: translateX(120%);
}

.contact-home__pillIcon {
    position: relative;
    z-index: 2;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffffff;
    color: #071b37;
    font-size: 1rem;
    font-weight: 900;
}

.contact-home__pill span:last-child {
    position: relative;
    z-index: 2;
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-home__pill--whatsapp .contact-home__pillIcon {
    color: #3bbf5c;
    font-size: 1.35rem;
}

.contact-home__pill--doctoralia .contact-home__pillIcon {
    color: #41cdb4;
}

.contact-home__pill--calendly .contact-home__pillIcon {
    color: #137cff;
    font-family: Arial, sans-serif;
    font-weight: 900;
}

/* Hover general */

.contact-home__phone:hover,
.contact-home__video:hover,
.contact-home__pill:hover {
    transform: translateY(-3px);
}

.contact-home__pill:hover {
    background: #172848;
    box-shadow: 0 12px 24px rgba(7, 27, 55, 0.18);
}

.contact-home__phone:hover,
.contact-home__video:hover {
    color: #1842b0;
}

.contact-home__phone:hover .contact-home__phoneIcon,
.contact-home__video:hover .contact-home__videoIcon {
    animation: contactIconPulse 520ms ease;
}

@keyframes contactIconPulse {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.18) rotate(-8deg);
    }

    100% {
        transform: scale(1);
    }
}

/* Animación de entrada opcional */

.contact-home [data-contact-reveal],
.contact-home__header,
.contact-home__locations,
.contact-home__divider,
.contact-home__actions {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 520ms ease,
        transform 520ms ease;
}

.contact-home.is-visible .contact-home__header,
.contact-home.is-visible .contact-home__locations,
.contact-home.is-visible .contact-home__divider,
.contact-home.is-visible .contact-home__actions {
    opacity: 1;
    transform: translateY(0);
}

.contact-home.is-visible .contact-home__locations {
    transition-delay: 90ms;
}

.contact-home.is-visible .contact-home__divider {
    transition-delay: 150ms;
}

.contact-home.is-visible .contact-home__actions {
    transition-delay: 220ms;
}

/* =========================
   Contacto Home Responsive
========================= */

@media (max-width: 768px) {
    .contact-home__inner {
        width: min(100% - 2rem, 540px);
        padding: 3rem 0 2.5rem;
    }

    .contact-home__locations {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        width: min(360px, 100%);
        text-align: center;
    }

    .contact-home__location {
        justify-content: center;
    }

    .contact-home__actions {
        flex-direction: column;
        gap: 0.9rem;
    }

    .contact-home__phone,
    .contact-home__video,
    .contact-home__pill {
        width: min(340px, 100%);
        justify-content: center;
    }

    .contact-home__divider {
        margin: 1.4rem 0;
    }
}

@media (max-width: 480px) {
    .contact-home__header h2 {
        font-size: 2.35rem;
    }

    .contact-home__header p {
        font-size: 1.2rem;
        letter-spacing: 0.06em;
    }

    .contact-home__phone strong,
    .contact-home__video strong {
        font-size: 1rem;
    }
}

/* =========================
   Hero Prótesis de Pene
========================= */

.prosthesis-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: #08224a;
    color: #ffffff;
    isolation: isolate;
}

/* Imagen de fondo */
.prosthesis-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        url("../images/hero-protesis-pene.jpg") center center / cover no-repeat,
        linear-gradient(90deg, #72d6f3 0%, #09234f 58%, #061b42 100%);
}

/*
  Capa de color.
  La imagen real irá debajo; esto nos da el look azul de la maqueta.
*/
.prosthesis-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg,
            rgba(64, 200, 234, 0.52) 0%,
            rgba(22, 126, 190, 0.48) 32%,
            rgba(7, 45, 94, 0.86) 58%,
            rgba(5, 29, 70, 0.98) 100%);
    pointer-events: none;
}

/* Oscurece suavemente arriba para que el header respire */
.prosthesis-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.42) 0%,
            rgba(0, 0, 0, 0.12) 28%,
            rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
}

.prosthesis-hero__inner {
    min-height: 720px;
    padding-top: 170px;
    padding-bottom: 90px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.prosthesis-hero__content {
    width: min(620px, 52%);
    margin-left: auto;
    padding-top: 6rem;
}

.prosthesis-hero__content h1 {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: clamp(3.2rem, 5vw, 5.1rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.prosthesis-hero__content h1 span {
    display: block;
    font-weight: 200;
}

.prosthesis-hero__content h1 strong {
    display: block;
    font-weight: 900;
}

.prosthesis-hero__eyebrow {
    max-width: 650px;
    margin: 1.35rem 0 0;
    color: #ffffff;
    font-size: clamp(0.98rem, 1.45vw, 1.22rem);
    line-height: 1.25;
    font-weight: 300;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.prosthesis-hero__text {
    width: min(520px, 100%);
    margin-top: 2rem;
    display: grid;
    gap: 1.6rem;
}

.prosthesis-hero__text p {
    margin: 0;
    color: #ffffff;
    font-size: clamp(0.92rem, 1.05vw, 1.02rem);
    line-height: 1.85;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* =========================
   Hero Prótesis Responsive
========================= */

@media (max-width: 1200px) {
    .prosthesis-hero__content {
        width: min(560px, 55%);
    }

    .prosthesis-hero__content h1 {
        font-size: clamp(3rem, 4.8vw, 4.5rem);
    }
}

@media (max-width: 992px) {
    .prosthesis-hero {
        min-height: 680px;
    }

    .prosthesis-hero__inner {
        min-height: 680px;
        padding-top: 120px;
        justify-content: center;
    }

    .prosthesis-hero::before {
        background:
            linear-gradient(90deg,
                rgba(4, 25, 58, 0.66) 0%,
                rgba(5, 31, 75, 0.88) 52%,
                rgba(5, 29, 70, 0.98) 100%);
    }

    .prosthesis-hero__bg {
        background-position: center center;
    }

    .prosthesis-hero__content {
        width: min(680px, 90%);
        margin: 0 auto;
        padding-top: 4rem;
        text-align: center;
    }

    .prosthesis-hero__text {
        margin-inline: auto;
    }
}

@media (max-width: 576px) {
    .prosthesis-hero {
        min-height: auto;
    }

    .prosthesis-hero__inner {
        min-height: 620px;
        padding-top: 105px;
        padding-bottom: 70px;
    }

    .prosthesis-hero__content {
        width: min(100% - 2rem, 440px);
        padding-top: 3.2rem;
    }

    .prosthesis-hero__content h1 {
        font-size: clamp(2.55rem, 13vw, 3.45rem);
        line-height: 1;
    }

    .prosthesis-hero__eyebrow {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .prosthesis-hero__text {
        margin-top: 1.6rem;
        gap: 1.25rem;
    }

    .prosthesis-hero__text p {
        font-size: 0.88rem;
        line-height: 1.75;
    }
}

/* =========================
   Prótesis Info: Cómo funciona / Tipos / Candidato
========================= */

.prosthesis-info {
    background: #ffffff;
    color: #071b37;
}

.prosthesis-info__top {
    position: relative;
    overflow: hidden;
    background:
        url("../images/bg-protesis-info.jpg") center top / cover no-repeat,
        #7c9096;
    color: #ffffff;
}

.prosthesis-info__top::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(78, 101, 106, 0.76);
    pointer-events: none;
}

.prosthesis-info__container {
    position: relative;
    z-index: 2;
    padding: 5.2rem 0 0;
}

/* =========================
   ¿Cómo funciona?
========================= */

.how-section {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
}

.how-section__content {
    width: min(480px, 100%);
}

.how-section__content h2 {
    margin: 0 0 1.8rem;
    color: #ffffff;
    font-size: clamp(2.2rem, 3.4vw, 3.3rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.how-section__content p {
    margin: 0 0 0.9rem;
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.75;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.how-section__content ul {
    margin: 0.15rem 0 1rem;
    padding-left: 1.1rem;
}

.how-section__content li {
    color: #ffffff;
    font-size: 0.88rem;
    line-height: 1.6;
    font-weight: 700;
}

/* Placeholder de video superior */
.how-section__video {
    position: relative;
    min-height: 210px;
    width: min(390px, 100%);
    margin-top: 0.4rem;
    justify-self: start;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    background: #f4f4f4;
    color: #9b80ff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    overflow: hidden;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.how-section__video span:first-child {
    color: #9b80ff;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
}

.how-section__video:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

/* =========================
   Tipos de prótesis
========================= */

.types-section {
    position: relative;
    margin-top: 5.2rem;
    padding-bottom: 4.6rem;
    isolation: isolate;

    --types-white-start: 380px;
}

.types-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: var(--types-white-start);
    z-index: -1;
    width: 100vw;
    height: calc(100% - var(--types-white-start));
    transform: translateX(-50%);
    background: #ffffff;
}

.types-section__header h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.2rem, 3.4vw, 3.25rem);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.types-section__header p {
    margin: 1.2rem 0 0;
    color: #ffffff;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.types-section__cards {
    position: relative;
    z-index: 2;
    width: min(650px, 100%);
    margin: 1.2rem auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: clamp(2rem, 5vw, 4.2rem);
}

.prosthesis-type-card {
    position: relative;
    min-height: 390px;
    padding: 1.55rem 1.15rem 1rem;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #071b37;
    border-radius: 5px;
    border: 1px solid rgba(10, 31, 67, 0.18);
    box-shadow:
        0 4px 0 rgba(117, 169, 255, 0.65),
        0 12px 28px rgba(0, 0, 0, 0.18);
}

.prosthesis-type-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 0 rgba(117, 169, 255, 0.9),
        0 22px 38px rgba(0, 0, 0, 0.24);
}

.prosthesis-type-card__corner {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 23px;
    height: 23px;
    border-radius: 3px;
    background: #9db0bd;
}

.prosthesis-type-card__corner::before,
.prosthesis-type-card__corner::after {
    content: "";
    position: absolute;
    border-color: #ffffff;
    border-style: solid;
}

.prosthesis-type-card__corner::before {
    top: 5px;
    right: 5px;
    width: 7px;
    height: 7px;
    border-width: 2px 2px 0 0;
}

.prosthesis-type-card__corner::after {
    left: 5px;
    bottom: 5px;
    width: 7px;
    height: 7px;
    border-width: 0 0 2px 2px;
}

.prosthesis-type-card h3 {
    margin: 0;
    color: #071b37;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 0.86;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.prosthesis-type-card h3 span {
    display: block;
    font-weight: 200;
}

.prosthesis-type-card__tag {
    margin: 0.25rem 0 0;
    color: #285bc6;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.prosthesis-type-card__image {
    width: 78%;
    height: 100px;
    margin: 1rem 0 0.9rem auto;
    object-fit: contain;
}

.prosthesis-type-card ul {
    margin: 0;
    padding-left: 1rem;
}

.prosthesis-type-card li {
    color: #071b37;
    font-size: 0.74rem;
    line-height: 1.55;
    font-weight: 700;
}

.prosthesis-type-card__video {
    min-height: 92px;
    margin-top: auto;
    border: 0;
    background: #9aacb6;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 300;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 220ms ease,
        transform 220ms ease;
}

.prosthesis-type-card__video:hover {
    background: #285bc6;
    transform: translateY(-2px);
}

.types-section__note {
    width: min(680px, 100%);
    margin: 2.1rem auto 0;
    color: #071b37;
    font-size: 0.82rem;
    line-height: 1.4;
    font-weight: 900;
    text-align: center;
}

.types-section__button {
    width: fit-content;
    min-height: 28px;
    margin: 0.9rem auto 0;
    padding: 0.35rem 0.6rem 0.35rem 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 999px;
    background: #172848;
    color: #ffffff;
    font-size: 0.66rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition:
        transform 220ms ease,
        background-color 220ms ease;
}

.types-section__note,
.types-section__button {
    position: relative;
    z-index: 2;
}

.types-section__button img {
    width: 22px;
    height: auto;
}

.types-section__button:hover {
    transform: translateY(-2px);
    background: #285bc6;
}

/* Franja blanca que empieza visualmente debajo de las tarjetas */
.prosthesis-info__bottom {
    background: #ffffff;
    padding: 4.4rem 0 5rem;
}

/* =========================
   ¿Soy candidato?
========================= */

.candidate-card {
    position: relative;
    width: min(960px, 100%);
    min-height: 280px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 4px;
    background:
        linear-gradient(90deg,
            rgba(3, 7, 14, 0.96) 0%,
            rgba(3, 7, 14, 0.86) 36%,
            rgba(3, 7, 14, 0.18) 100%),
        url("../images/bg-soy-candidato.jpg") center center / cover no-repeat,
        #111111;
    color: #ffffff;
}

.candidate-card__content {
    width: min(420px, 86%);
    padding: 3rem 0 3rem clamp(2rem, 5vw, 4.2rem);
}

.candidate-card h2 {
    margin: 0 0 2rem;
    color: #ffffff;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.candidate-card p {
    margin: 0 0 1.1rem;
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 900;
}

.candidate-card p:last-child {
    margin-bottom: 0;
}

/* =========================
   Prótesis Info Responsive
========================= */

@media (max-width: 768px) {
    .types-section {
        --types-white-start: 230px;
    }
}

@media (max-width: 576px) {
    .types-section {
        --types-white-start: 210px;
    }
}

@media (max-width: 992px) {
    .prosthesis-info__container {
        padding-top: 4.5rem;
    }

    .how-section {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .how-section__content {
        width: min(620px, 100%);
    }

    .how-section__video {
        width: min(520px, 100%);
        justify-self: center;
    }

    .types-section {
        margin-top: 4rem;
    }

    .types-section__cards {
        width: min(720px, 100%);
        gap: 1.8rem;
    }

    .candidate-card {
        min-height: 330px;
        background:
            linear-gradient(90deg,
                rgba(3, 7, 14, 0.96) 0%,
                rgba(3, 7, 14, 0.82) 58%,
                rgba(3, 7, 14, 0.45) 100%),
            url("../images/bg-soy-candidato.jpg") center center / cover no-repeat,
            #111111;
    }
}

@media (max-width: 768px) {
    .types-section__cards {
        width: min(390px, 100%);
        grid-template-columns: 1fr;
    }

    .prosthesis-type-card {
        min-height: 410px;
    }

    .types-section__note {
        color: #071b37;
    }

    .candidate-card {
        text-align: center;
        justify-content: center;
    }

    .candidate-card__content {
        width: min(100% - 2rem, 440px);
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .prosthesis-info__container {
        width: min(100% - 2rem, 440px);
        padding-top: 3.6rem;
    }

    .how-section__content h2,
    .types-section__header h2 {
        font-size: clamp(2.1rem, 11vw, 2.8rem);
    }

    .how-section__content p,
    .how-section__content li {
        font-size: 0.84rem;
    }

    .how-section__video {
        min-height: 180px;
    }

    .types-section {
        padding-bottom: 3.5rem;
    }

    .prosthesis-info__bottom {
        padding: 3.2rem 0 4rem;
    }

    .candidate-card {
        min-height: 360px;
    }

    .candidate-card h2 {
        font-size: clamp(2rem, 11vw, 2.7rem);
    }

    .candidate-card p {
        font-size: 0.86rem;
        line-height: 1.45;
    }
}

/* =========================
   Resultados + Proceso
========================= */

.results-process-section {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    color: #071b37;
    isolation: isolate;

    /*
    Controla dónde empieza el corte blanco.
    Súbelo o bájalo según cómo caigan tus tarjetas.
  */
    --process-white-start: 1050px;
}

.results-process-section__bg {
    position: absolute;
    inset: 0 0 auto;
    z-index: -3;
    min-height: var(--process-white-start);
    background:
        url("../images/bg-resultados-proceso.jpg") center top / cover no-repeat,
        #5d7880;
}

.results-process-section__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(69, 97, 105, 0.84);
    pointer-events: none;
}

/* Franja blanca que corta detrás de las tarjetas */
.results-process-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: var(--process-white-start);
    z-index: -2;
    width: 100vw;
    height: calc(100% - var(--process-white-start));
    transform: translateX(-50%);
    background: #ffffff;
}

.results-process-section__inner {
    position: relative;
    z-index: 2;
    padding: 5.3rem 0 4.8rem;
}

/* =========================
   Resultados
========================= */

.results-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(3rem, 8vw, 7rem);
    align-items: center;
    color: #ffffff;
}

.results-block__content {
    width: min(670px, 100%);
}

.results-block h2 {
    margin: 0 0 2rem;
    color: #ffffff;
    font-size: clamp(1.8rem, 2.8vw, 2.65rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.results-block__list {
    display: grid;
    gap: 1.45rem;
}

.results-block__item {
    position: relative;
    padding-left: 2rem;
}

.results-block__item::before {
    content: "";
    position: absolute;
    top: 0.35rem;
    left: 0;
    width: 7px;
    height: 7px;
    border: 2px solid #8fb7ff;
    border-radius: 999px;
}

.results-block__item h3 {
    margin: 0 0 0.25rem;
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.25;
    font-weight: 900;
}

.results-block__item p {
    margin: 0;
    color: #ffffff;
    font-size: 0.86rem;
    line-height: 1.45;
    font-weight: 700;
}

.results-block__extra {
    margin-top: 3.6rem;
}

.results-block__extra h3 {
    margin: 0 0 1.35rem;
    color: #ffffff;
    font-size: clamp(1.65rem, 2.5vw, 2.45rem);
    line-height: 1;
    font-weight: 900;
}

.results-block__extra ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.results-block__extra li {
    position: relative;
    padding-left: 2rem;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 900;
}

.results-block__extra li::before {
    content: "";
    position: absolute;
    top: 0.32rem;
    left: 0;
    width: 7px;
    height: 7px;
    border: 2px solid #8fb7ff;
    border-radius: 999px;
}

/* Cruz blanca lateral */
.results-block__symbol {
    width: 96px;
    height: 96px;
    justify-self: center;
    background: #ffffff;
    clip-path: polygon(36% 0,
            64% 0,
            64% 36%,
            100% 36%,
            100% 64%,
            64% 64%,
            64% 100%,
            36% 100%,
            36% 64%,
            0 64%,
            0 36%,
            36% 36%);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
}

/* =========================
   Proceso
========================= */

.process-block {
    position: relative;
    z-index: 3;
    margin-top: 7.8rem;
    text-align: center;
}

.process-block>h2 {
    margin: 0 0 2.1rem;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.process-block__cards {
    width: min(760px, 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    align-items: stretch;
}

.process-card {
    position: relative;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 6px;
    background: #ffffff;
    color: #071b37;
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.2),
        0 3px 0 rgba(117, 169, 255, 0.7);
    transition:
        transform 240ms ease,
        box-shadow 240ms ease;
}

.process-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.26),
        0 3px 0 rgba(117, 169, 255, 0.9);
}

.process-card__head {
    min-height: 160px;
    padding: 1.2rem 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #76a7ee;
    color: #ffffff;
}

.process-card--featured .process-card__head {
    background-color: #285bc6;
}

.process-card__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.process-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Placeholder visual si todavía no existe el icono */
.process-card__icon:empty,
.process-card__icon img[src=""] {
    display: none;
}

.process-card__head h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.process-card__body {
    padding: 2rem 1.45rem 1.7rem;
    text-align: left;
}

.process-card__body p,
.process-card__body li {
    color: #071b37;
    font-size: 0.78rem;
    line-height: 1.85;
    font-weight: 500;
}

.process-card__body p {
    margin: 0 0 1.35rem;
}

.process-card__body p:last-child {
    margin-bottom: 0;
}

.process-card__body ul {
    margin: 0 0 1.35rem;
    padding-left: 1rem;
}

/* Nota inferior */
.process-block__note {
    width: min(820px, 92%);
    margin: 2.4rem auto 0;
    color: #285bc6;
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    line-height: 1.35;
    font-weight: 900;
    text-align: center;
}

/* =========================
   Resultados + Proceso Responsive
========================= */

@media (max-width: 992px) {
    .results-process-section {
        --process-white-start: 760px;
    }

    .results-process-section__inner {
        padding-top: 4.5rem;
    }

    .results-block {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .results-block__content {
        width: min(680px, 100%);
    }

    .results-block__symbol {
        width: 72px;
        height: 72px;
    }

    .process-block {
        margin-top: 5.5rem;
    }

    .process-block__cards {
        width: min(520px, 100%);
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .process-card {
        min-height: auto;
    }

    .process-card__head {
        min-height: 135px;
    }
}

@media (max-width: 768px) {
    .results-process-section {
        --process-white-start: 820px;
    }

    .process-block>h2 {
        color: #ffffff;
    }
}

@media (max-width: 576px) {
    .results-process-section {
        --process-white-start: 910px;
    }

    .results-process-section__inner {
        width: min(100% - 2rem, 440px);
        padding: 3.8rem 0 4rem;
    }

    .results-block h2 {
        font-size: 1.8rem;
    }

    .results-block__item,
    .results-block__extra li {
        padding-left: 1.55rem;
    }

    .results-block__item p,
    .results-block__extra li {
        font-size: 0.82rem;
    }

    .results-block__extra {
        margin-top: 2.6rem;
    }

    .process-block {
        margin-top: 4.2rem;
    }

    .process-block>h2 {
        font-size: 1.65rem;
    }

    .process-card__body {
        padding: 1.6rem 1.25rem;
    }

    .process-card__body p,
    .process-card__body li {
        font-size: 0.76rem;
        line-height: 1.75;
    }

    .process-block__note {
        font-size: 0.95rem;
    }
}

/* =========================
   Solución Integral + Dr. Ruiz
========================= */

.integral-section {
    position: relative;
    background: #ffffff;
    color: #071b37;

    /*
    Controla cuánto se mete el banner dentro de la sección azul.
  */
    --integral-overlap: 95px;
}

.integral-section__top {
    position: relative;
    z-index: 4;
    padding: 4.2rem 0 0;
}

/* Banner superior */
.integral-banner {
    position: relative;
    z-index: 5;
    width: min(1080px, 100%);
    min-height: 420px;
    margin-inline: auto;
    margin-bottom: calc(var(--integral-overlap) * -1);
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    overflow: hidden;

    /*
    La imagen ahora vive en TODA la caja, no solo en la columna izquierda.
    El degradado blanco ayuda a que el texto de la derecha respire.
  */
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(210, 230, 250, 0.08) 34%,
            rgba(240, 248, 255, 0.82) 55%,
            rgba(255, 255, 255, 0.96) 78%,
            rgba(230, 242, 255, 0.92) 100%),
        url("../images/bg-solucion-integral.jpg") center center / cover no-repeat,
        linear-gradient(90deg, #2878c6 0%, #f4f8ff 100%);

    box-shadow: 0 18px 38px rgba(7, 27, 55, 0.12);
}

.integral-banner__image {
    min-height: 420px;
    background: transparent;
}

.integral-banner__content {
    position: relative;
    z-index: 2;
    padding: clamp(2.4rem, 4vw, 4rem) clamp(2rem, 5vw, 4.6rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.integral-banner__content h2 {
    margin: 0;
    color: #071b37;
    font-size: clamp(2.25rem, 4.2vw, 4.4rem);
    line-height: 1.08;
    font-weight: 200;
    letter-spacing: -0.045em;
}

.integral-banner__intro {
    margin: 1.6rem 0 1.5rem;
    color: #285bc6;
    font-size: clamp(0.88rem, 1.08vw, 1rem);
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.integral-banner ul {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.75rem;
}

.integral-banner li {
    color: #071b37;
    font-size: 0.88rem;
    line-height: 1.45;
    font-weight: 900;
}

.integral-banner__note {
    margin: 2rem 0 0;
    color: #071b37;
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 500;
}

/* Parte azul inferior */
.integral-section__bottom {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding: calc(var(--integral-overlap) + 5.8rem) 0 4.6rem;
    overflow: hidden;
    background:
        linear-gradient(rgba(8, 26, 58, 0.9),
            rgba(8, 26, 58, 0.94)),
        url("../images/bg-dr-ruiz-section.jpg") center center / cover no-repeat,
        #10284c;
    color: #ffffff;
}

.integral-section__bottom::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 65% 20%, rgba(103, 153, 220, 0.18), transparent 32%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.16));
    pointer-events: none;
}

.integral-section__bottom>.container {
    position: relative;
    z-index: 2;
}

/* Bloque doctor */
.doctor-reason {
    width: min(960px, 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: clamp(3rem, 7vw, 6rem);
    align-items: center;
}

.doctor-reason__content {
    color: #ffffff;
}

.doctor-reason__content h2 {
    margin: 0 0 3rem;
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.doctor-reason__items {
    display: grid;
    gap: 2rem;
}

.doctor-reason__item {
    position: relative;
    padding-left: 2rem;
}

.doctor-reason__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 8px;
    height: 8px;
    border: 2px solid #8fb7ff;
    border-radius: 999px;
}

.doctor-reason__item p {
    margin: 0;
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.55;
    font-weight: 700;
}

.doctor-reason__specialty {
    margin: 3rem 0 0;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 900;
}

.doctor-reason__closing {
    margin: 2.8rem 0 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.2;
    font-weight: 300;
}

/* Foto */
.doctor-reason__photoWrap {
    position: relative;
    justify-self: center;
    width: min(350px, 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.35);
    transition:
        transform 260ms ease,
        box-shadow 260ms ease;
}

.doctor-reason__photoWrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.doctor-reason__photoWrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 54px rgba(0, 0, 0, 0.42);
}

.doctor-reason__photo {
    width: 100%;
    aspect-ratio: 0.78;
    height: auto;
    object-fit: cover;
    object-position: center center;
}

/* CTA inferior */
.doctor-question {
    width: min(620px, 100%);
    margin: 3.8rem auto 0;
    text-align: center;
}

.doctor-question__line {
    width: min(460px, 82%);
    height: 3px;
    margin: 0 auto 2rem;
    background: #53b9dc;
}

.doctor-question h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.doctor-question__button {
    width: fit-content;
    min-height: 36px;
    margin: 1.45rem auto 0;
    padding: 0.55rem 0.75rem 0.55rem 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 999px;
    background: #172848;
    color: #ffffff;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition:
        transform 220ms ease,
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.doctor-question__button img {
    width: 27px;
    height: auto;
    object-fit: contain;
    transition: transform 220ms ease;
}

.doctor-question__button:hover {
    transform: translateY(-2px);
    background: #285bc6;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.doctor-question__button:hover img {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .integral-section {
        --integral-overlap: 70px;
    }

    .integral-banner {
        grid-template-columns: 1fr;
        min-height: auto;
        background:
            linear-gradient(90deg,
                rgba(255, 255, 255, 0.78) 0%,
                rgba(255, 255, 255, 0.94) 100%),
            url("../images/bg-solucion-integral.jpg") center center / cover no-repeat,
            linear-gradient(90deg, #2878c6 0%, #f4f8ff 100%);
    }

    .integral-banner__image {
        display: none;
    }

    .integral-banner__content {
        padding: 3rem 2rem;
    }

    .integral-section__bottom {
        padding-top: calc(var(--integral-overlap) + 4.8rem);
    }

    .doctor-reason {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .doctor-reason__photoWrap {
        width: min(330px, 82%);
        order: -1;
    }

    .doctor-reason__content {
        width: min(680px, 100%);
        margin-inline: auto;
    }
}

@media (max-width: 576px) {
    .integral-section {
        --integral-overlap: 45px;
    }

    .integral-section__top .container,
    .integral-section__bottom .container {
        width: min(100% - 2rem, 440px);
    }

    .integral-banner__content {
        padding: 2.4rem 1.35rem;
    }

    .integral-banner__content h2 {
        font-size: clamp(2rem, 11vw, 2.85rem);
    }

    .integral-section__bottom {
        padding-top: calc(var(--integral-overlap) + 4rem);
        padding-bottom: 3.6rem;
    }
}

/* =========================
   Hero Test Autoevaluación
========================= */

.test-hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: #2c251f;
    color: #ffffff;
    isolation: isolate;
}

.test-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        url("../images/hero-test-autoevaluacion.jpg") center center / cover no-repeat,
        linear-gradient(90deg, #d6d0c5 0%, #46392f 52%, #17120f 100%);
}

/* Overlay general */
.test-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.06) 0%,
            rgba(0, 0, 0, 0.18) 35%,
            rgba(36, 26, 19, 0.58) 63%,
            rgba(17, 13, 10, 0.82) 100%);
    pointer-events: none;
}

/* Sombra superior para integrar con header */
.test-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.28) 28%,
            rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
}

.test-hero__inner {
    min-height: 680px;
    padding-top: 165px;
    padding-bottom: 90px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.test-hero__content {
    width: min(620px, 52%);
    margin-left: auto;
    padding-top: 5rem;
}

.test-hero__content h1 {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: clamp(3.1rem, 5vw, 5.15rem);
    line-height: 0.98;
    font-weight: 200;
    letter-spacing: -0.055em;
}

.test-hero__content h1 span,
.test-hero__content h1 strong {
    display: inline;
}

.test-hero__content h1 strong {
    font-weight: 900;
}

/* Cápsula beige */
.test-hero__badge {
    width: fit-content;
    min-height: 42px;
    margin-top: 1.1rem;
    padding: 0.58rem 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(218, 195, 161, 0.94);
    color: #2b2119;
    font-family: var(--font-main);
    font-size: clamp(0.95rem, 1.35vw, 1.18rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    transition:
        transform 220ms ease,
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.test-hero__badge:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

/* Flecha inferior */
.test-hero__arrow {
    width: 0;
    height: 0;
    margin: 1.4rem auto 0;
    display: block;
    border-left: 28px solid transparent;
    border-right: 28px solid transparent;
    border-top: 28px solid #ffffff;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.24));
    animation: testHeroArrow 1.7s ease-in-out infinite;
}

@keyframes testHeroArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* =========================
   Hero Test Responsive
========================= */

@media (max-width: 1200px) {
    .test-hero__content {
        width: min(560px, 55%);
    }

    .test-hero__content h1 {
        font-size: clamp(3rem, 4.8vw, 4.55rem);
    }
}

@media (max-width: 992px) {
    .test-hero {
        min-height: 660px;
    }

    .test-hero__inner {
        min-height: 660px;
        padding-top: 120px;
        justify-content: center;
    }

    .test-hero::before {
        background:
            linear-gradient(90deg,
                rgba(20, 15, 12, 0.46) 0%,
                rgba(28, 22, 18, 0.72) 52%,
                rgba(18, 14, 12, 0.88) 100%);
    }

    .test-hero__bg {
        background-position: center center;
    }

    .test-hero__content {
        width: min(680px, 90%);
        margin: 0 auto;
        padding-top: 4rem;
        text-align: center;
    }

    .test-hero__content h1 {
        line-height: 1.04;
    }
}

@media (max-width: 576px) {
    .test-hero {
        min-height: auto;
    }

    .test-hero__inner {
        min-height: 620px;
        padding-top: 105px;
        padding-bottom: 70px;
    }

    .test-hero__content {
        width: min(100% - 2rem, 440px);
        padding-top: 3rem;
    }

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

    .test-hero__badge {
        min-height: 38px;
        padding: 0.58rem 1rem;
        font-size: 0.82rem;
        line-height: 1.2;
    }

    .test-hero__arrow {
        border-left-width: 22px;
        border-right-width: 22px;
        border-top-width: 22px;
    }
}

/* =========================
   Test Autoevaluación
========================= */

.selftest-section {
    position: relative;
    background: #efe3e2;
    color: #071b37;
    overflow: hidden;
}

.selftest-section__inner {
    position: relative;
    width: min(980px, 88%);
    padding: 4.4rem 0 3.6rem;
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 1.8rem;
}

/* Título lateral */
.selftest-section__label {
    padding-top: 0.3rem;
    color: #071b37;
    text-align: left;
    text-transform: uppercase;
}

.selftest-section__label span,
.selftest-section__label strong {
    display: block;
    font-size: 0.75rem;
    line-height: 1.05;
    letter-spacing: 0.04em;
}

.selftest-section__label span {
    font-weight: 900;
}

.selftest-section__label strong {
    font-weight: 500;
}

/* Línea vertical */
.selftest-form {
    position: relative;
    display: grid;
    gap: 2rem;
}

.selftest-questions::before {
    content: "";
    position: absolute;
    top: -2.2rem;
    left: 0;
    width: 1px;
    height: calc(100% + 2.8rem);
    background: rgba(48, 66, 110, 0.55);
}

.selftest-questions::after {
    content: "";
    position: absolute;
    left: -4px;
    bottom: -2px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #071b37;
}

.selftest-questions {
    position: relative;
    display: grid;
    gap: 2rem;
}

/* Pregunta */
.selftest-question {
    position: relative;
    margin: 0;
    padding: 0 0 0 1.8rem;
    border: 0;
}

.selftest-question::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 0.62rem;
    z-index: 3;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 2px solid #9ca7b4;
    box-shadow: 0 0 0 2px rgba(239, 227, 226, 0.95);
}

.selftest-question legend {
    width: min(560px, 100%);
    min-height: 30px;
    margin: 0 0 0.8rem;
    padding: 0;
    display: flex;
    align-items: center;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(90deg, #574d42, #8f7e69);
    color: #ffffff;
}

.selftest-question legend span {
    padding-left: 1.6rem;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
}

.selftest-question h3 {
    width: min(620px, 100%);
    margin: 0 0 0.7rem;
    color: #071b37;
    font-size: 0.82rem;
    line-height: 1.25;
    font-weight: 900;
}

/* Opciones */
.selftest-options {
    width: min(680px, 100%);
    display: grid;
    gap: 0.22rem;
}

.selftest-options label {
    position: relative;
    width: fit-content;
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    color: #071b37;
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 400;
    cursor: pointer;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.selftest-options label:hover {
    color: #285bc6;
    transform: translateX(3px);
}

.selftest-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.selftest-options span {
    position: relative;
    padding-left: 1.25rem;
}

.selftest-options span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.05rem;
    width: 9px;
    height: 9px;
    border: 1px solid #285bc6;
    border-radius: 999px;
    background: transparent;
}

.selftest-options span::after {
    content: "";
    position: absolute;
    left: 3px;
    top: calc(0.05rem + 3px);
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #285bc6;
    transform: scale(0);
    transition: transform 160ms ease;
}

.selftest-options input:checked+span {
    color: #285bc6;
    font-weight: 900;
}

.selftest-options input:checked+span::after {
    transform: scale(1);
}

.selftest-options input:focus-visible+span {
    outline: 2px solid rgba(40, 91, 198, 0.28);
    outline-offset: 3px;
    border-radius: 4px;
}

/* =========================
   Test Contacto Final
========================= */

.selftest-contact {
    width: min(700px, 100%);
    padding: 4.2rem 0 3.6rem;
    text-align: center;
}

.selftest-contact__line {
    width: min(260px, 68%);
    height: 3px;
    margin: 0 auto 1.4rem;
    background: #53b9dc;
}

.selftest-contact__intro {
    width: min(560px, 92%);
    margin: 0 auto 2rem;
    color: #071b37;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.25;
    font-weight: 300;
    letter-spacing: 0.015em;
}

.selftest-contact__card {
    width: min(540px, 100%);
    margin-inline: auto;
    padding: 2rem 2.2rem 2.1rem;
    display: grid;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(7, 27, 55, 0.14);
    text-align: left;
}

.selftest-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.selftest-field {
    display: grid;
    gap: 0.38rem;
}

.selftest-field label {
    color: #071b37;
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 500;
}

.selftest-field input {
    width: 100%;
    min-height: 42px;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(7, 27, 55, 0.06);
    border-radius: 4px;
    background: #ffffff;
    color: #071b37;
    font-family: var(--font-main);
    font-size: 0.9rem;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.selftest-field input:focus {
    border-color: rgba(40, 91, 198, 0.55);
    box-shadow: 0 0 0 4px rgba(40, 91, 198, 0.12);
}

.selftest-inputWrap {
    position: relative;
}

.selftest-inputWrap input {
    padding-right: 2.5rem;
}

.selftest-inputWrap span {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #777777;
    font-size: 0.9rem;
    pointer-events: none;
}

.selftest-submit {
    width: min(185px, 100%);
    min-height: 42px;
    margin-top: 0.65rem;
    margin-left: auto;
    border: 0;
    border-radius: 5px;
    background: #2b2b2b;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform 220ms ease,
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.selftest-submit:hover,
.selftest-submit:focus-visible {
    transform: translateY(-2px);
    background: #172848;
    box-shadow: 0 12px 24px rgba(7, 27, 55, 0.18);
}

.selftest-submit:focus-visible {
    outline: 2px solid rgba(40, 91, 198, 0.35);
    outline-offset: 4px;
}

/* =========================
   Test Autoevaluación Responsive
========================= */

@media (max-width: 768px) {
    .selftest-section__inner {
        width: min(100% - 2rem, 560px);
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3.6rem 0 3rem;
    }

    .selftest-section__label {
        padding-left: 1.8rem;
    }

    .selftest-form::before {
        left: 0;
    }

    .selftest-question {
        padding-left: 1.5rem;
    }

    .selftest-question legend {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .selftest-question legend {
        min-height: 28px;
    }

    .selftest-question legend span {
        padding-left: 1.25rem;
    }

    .selftest-question h3 {
        font-size: 0.78rem;
    }

    .selftest-options label {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
  .selftest-contact {
    width: 100%;
    margin-top: 3rem;
  }

  .selftest-contact__card {
    width: min(100%, 520px);
    padding: 1.7rem 1.4rem;
  }
}

@media (max-width: 576px) {
  .selftest-contact__grid {
    grid-template-columns: 1fr;
  }

  .selftest-contact__intro {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .selftest-submit {
    width: 100%;
  }
}

/* =========================
   Footer
========================= */

.site-footer {
    position: relative;
    overflow: hidden;
    min-height: 345px;
    background:
        linear-gradient(rgba(91, 145, 224, 0.82),
            rgba(91, 145, 224, 0.82)),
        url("../img/footer-bg.jpg") center center / cover no-repeat;
    color: #ffffff;
}

.site-footer__overlay {
    min-height: inherit;
    background:
        radial-gradient(circle at center top,
            rgba(255, 255, 255, 0.12),
            transparent 38%);
}

.site-footer__inner {
    width: min(980px, 92%);
    min-height: 345px;
    margin-inline: auto;
    padding: 2.9rem 0 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Marco blanco exterior */
.site-footer__frame {
    position: relative;
    width: min(815px, 100%);
    min-height: 106px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-top: 0;
}

/* Pequeños cortes laterales superiores del marco */
.site-footer__frame::before,
.site-footer__frame::after {
    content: "";
    position: absolute;
    top: 0;
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.92);
}

.site-footer__frame::before {
    left: 0;
}

.site-footer__frame::after {
    right: 0;
}

/* Caja superior azul */
.site-footer__mainCta {
    width: min(770px, calc(100% - 44px));
    margin-top: -46px;
    padding: 1.65rem 2rem;
    background: rgba(25, 40, 70, 0.92);
    text-align: center;
}

.site-footer__mainCta h2 {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: clamp(1.05rem, 2.15vw, 1.45rem);
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Línea pequeña entre cajas */
.site-footer__divider {
    width: 52px;
    height: 4px;
    margin: -50px 0 18px;
    border-radius: 999px;
    background: rgba(255, 205, 196, 0.95);
    position: relative;
    z-index: 4;
}

/* Caja blanca inferior */
.site-footer__doctorCta {
    position: relative;
    z-index: 5;
    width: min(455px, 88%);
    min-height: 52px;
    padding: 1rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.94);
    color: #071b37;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    font-family: var(--font-main);
    font-size: 0.92rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition:
        transform 220ms ease,
        background-color 220ms ease,
        color 220ms ease;
}

.site-footer__doctorCta:hover {
    transform: translateY(-2px);
    background: #192846;
    color: #ffffff;
}

/* Navegación inferior */
.site-footer__nav {
    margin-top: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.05rem;
    flex-wrap: wrap;
    text-align: center;
}

.site-footer__nav a,
.site-footer__nav span {
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.68rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__nav a {
    transition:
        color 220ms ease,
        transform 220ms ease;
}

.site-footer__nav a:hover {
    color: #dfeaff;
    transform: translateY(-1px);
}

.site-footer__nav span {
    opacity: 0.75;
}

/* Redes sociales */
.site-footer__social {
    margin-top: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.72rem;
}

.site-footer__social a {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffffff;
    color: #315a9f;
    font-size: 0.82rem;
    line-height: 1;
    transition:
        transform 220ms ease,
        background-color 220ms ease,
        color 220ms ease;
}

.site-footer__social a:hover {
    transform: translateY(-2px);
    background: #192846;
    color: #ffffff;
}

.site-footer__social img {
    width: 13px;
    height: 13px;
    object-fit: contain;
}




/* =========================
   Header Responsive
========================= */

@media (max-width: 1200px) {
    .header-inner {
        width: min(1120px, 92%);
        grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1fr);
        gap: 2rem;
    }

    .header-contacts {
        gap: 1.25rem;
    }

    .header-contact-text span,
    .header-contact strong {
        font-size: 0.7rem;
    }

    .main-nav {
        gap: 1.6rem;
    }

    .nav-link {
        font-size: 0.62rem;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 78px;
    }

    .site-header {
        min-height: var(--header-height);
        background: rgba(3, 14, 31, 0.92);
        backdrop-filter: blur(10px);
    }

    .site-header.is-scrolled {
        min-height: var(--header-height);
    }

    .header-inner,
    .site-header.is-scrolled .header-inner {
        min-height: var(--header-height);
        padding-top: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-left {
        display: block;
    }

    .brand-logo,
    .site-header.is-scrolled .brand-logo {
        width: 185px;
    }

    .header-right {
        display: none;
    }

    .nav-toggle {
        display: inline-block;
        position: relative;
        z-index: 1002;
        flex: 0 0 auto;
    }

    .main-nav {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 1001;
        width: min(370px, 86vw);
        min-height: 100vh;
        margin: 0;
        padding: 7rem 2rem 2rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 1.35rem;
        background: rgba(3, 14, 31, 0.98);
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.35);
        transform: translateX(100%);
        transition: transform var(--transition);
    }

    .main-nav.is-open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 0.92rem;
        letter-spacing: 0.07em;
    }

    .nav-link::after {
        bottom: -0.25rem;
    }

    .main-nav::after {
        content: "442 668 4075";
        margin-top: 1.5rem;
        padding: 0.85rem 1.25rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.95);
        color: #071b37;
        font-size: 0.9rem;
        font-weight: 900;
        letter-spacing: 0.04em;
    }
}

@media (max-width: 576px) {

    .brand-logo,
    .site-header.is-scrolled .brand-logo {
        width: 160px;
    }

    .main-nav {
        width: min(330px, 88vw);
    }
}

/* =========================
   Footer Responsive
========================= */


@media (max-width: 768px) {
    .site-footer {
        min-height: auto;
    }

    .site-footer__inner {
        min-height: auto;
        padding: 3.2rem 0 2rem;
    }

    .site-footer__frame {
        min-height: 96px;
    }

    .site-footer__mainCta {
        width: min(100%, calc(100% - 28px));
        margin-top: -34px;
        padding: 1.35rem 1.2rem;
    }

    .site-footer__divider {
        margin-top: -42px;
    }

    .site-footer__doctorCta {
        width: min(430px, 92%);
        font-size: 0.8rem;
    }

    .site-footer__nav {
        gap: 0.65rem;
        margin-top: 1.8rem;
    }

    .site-footer__nav span {
        display: none;
    }

    .site-footer__nav a {
        padding: 0.25rem 0.45rem;
    }
}

@media (max-width: 480px) {
    .site-footer__mainCta h2 {
        font-size: 0.95rem;
        letter-spacing: 0.055em;
    }

    .site-footer__doctorCta {
        min-height: 48px;
        padding: 0.9rem 1rem;
        font-size: 0.74rem;
        letter-spacing: 0.045em;
    }

    .site-footer__social a {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-cta-box::before,
    .footer-cta-box::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .brand-logo {
        width: 145px;
    }

    .footer-cta {
        padding-top: 1.4rem;
    }

    .footer-cta-box {
        padding: 1rem;
    }

    .footer-main {
        padding: 2rem 0;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}