/* Resolutot — sistema visual premium (variables) */
:root {
    /* Base petróleo / azul marino */
    --color-petrol: #0a1f33;
    --color-primary: #0f2a44;
    --color-action: #1e3a8a;
    --color-action-hover: #172e6e;
    /* Texto: evitar negro puro */
    --color-text: #1a2332;
    --color-muted: #5c6570;
    --color-muted-soft: #8b939e;
    /* Fondos */
    --color-bg: #fafbfc;
    --color-bg-white: #ffffff;
    --color-shell: #f4f6f8;
    --color-ivory: #f7f8fa;
    --color-bg-subtle: #eef1f5;
    /* Aviso / puentes */
    --color-notice-bg: #e9eef4;
    --color-notice-border: rgba(15, 42, 68, 0.06);
    --color-border: #e2e6ec;
    --color-border-soft: rgba(15, 42, 68, 0.08);
    /* Acento arena/dorado (solo detalles) */
    --color-accent-subtle: rgba(180, 155, 110, 0.35);
    --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 12px;
    --radius-pill: 999px;
    --shadow-xs: 0 1px 2px rgba(10, 25, 45, 0.04);
    --shadow-sm: 0 2px 8px rgba(10, 25, 45, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 25, 45, 0.1);
    --shadow-nav: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
    --max: 1140px;
    --header-blur: 14px;
    --transition-fast: 0.18s ease;
    --transition-smooth: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

.page-home {
    background: var(--color-bg);
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--color-action);
    color: #fff;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.wrap {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
}

@media (min-width: 1024px) {
    .wrap {
        width: 90vw;
        max-width: none;
    }
}

/* Cabecera — banda a todo el ancho del viewport */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: rgba(250, 251, 252, 0.82);
    border-bottom: 1px solid rgba(15, 42, 68, 0.06);
    backdrop-filter: saturate(1.2) blur(var(--header-blur));
    -webkit-backdrop-filter: saturate(1.2) blur(var(--header-blur));
    transition:
        background var(--transition-smooth),
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth);
}

/* El contenido del header usa todo el ancho; solo márgenes laterales de respiración */
.site-header > .wrap {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
    box-sizing: border-box;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(15, 42, 68, 0.09);
    box-shadow: var(--shadow-xs);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    min-height: 3.65rem;
    flex-wrap: wrap;
}

.lang-switch {
    flex-shrink: 0;
}

.lang-switch__link {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-sm);
    line-height: 1.2;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast);
}

.lang-switch__link:hover,
.lang-switch__link:focus-visible {
    background: var(--color-shell);
    outline: none;
}

@media (min-width: 900px) {
    .header-inner {
        gap: clamp(1rem, 2.2vw, 2rem);
        min-height: 4rem;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .header-inner > .logo {
        order: 1;
    }

    .header-inner > .nav-main {
        order: 2;
    }

    .header-inner > .lang-switch {
        order: 3;
    }

    .header-inner > .btn--header {
        order: 4;
        margin-left: 0;
    }

    .btn--header-label--short {
        display: none !important;
    }

    .btn--header-label--long {
        display: inline !important;
    }

    /* Menú: ocupa el espacio disponible y alinea los enlaces a la derecha */
    .nav-main {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .nav-main > ul {
        justify-content: flex-end;
    }
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-primary);
    text-decoration: none;
}

.logo-word {
    letter-spacing: -0.02em;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-img--footer {
    height: 36px;
    max-width: 160px;
    object-fit: contain;
}

.logo--footer span {
    font-weight: 700;
    color: #fff;
}

.logo--footer {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.55rem;
}

.nav-toggle {
    margin-left: auto;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-sm);
    background: var(--color-bg-white);
    color: var(--color-primary);
    cursor: pointer;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: var(--color-shell);
    border-color: rgba(15, 42, 68, 0.12);
    outline: none;
}

@media (min-width: 900px) {
    .nav-toggle {
        display: none;
    }
}

.nav-main ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-main > ul {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

@media (min-width: 900px) {
    .nav-main > ul {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.15rem 0.35rem;
    }
}

.nav-main a {
    color: var(--color-text);
    text-decoration: none;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}

.nav-main a:hover,
.nav-main a:focus-visible {
    color: var(--color-action);
    background: rgba(30, 58, 138, 0.06);
    outline: none;
}

.nav-main a.is-active {
    color: var(--color-primary);
    font-weight: 600;
    background: rgba(15, 42, 68, 0.06);
    box-shadow: 0 0 0 1px rgba(15, 42, 68, 0.08);
}

.nav-main li.has-sub {
    position: relative;
}

.nav-main .submenu {
    display: none;
    padding: 0.5rem 0 0 0.75rem;
    font-size: 0.95rem;
}

@media (min-width: 900px) {
    .nav-main .submenu {
        position: absolute;
        left: 0;
        top: 100%;
        min-width: 280px;
        padding: 0.45rem;
        margin-top: 0.35rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--color-border-soft);
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
    }

    .nav-main .submenu a {
        display: block;
        padding: 0.5rem 0.65rem;
        border-radius: var(--radius-sm);
    }

    .nav-main li.has-sub:hover .submenu,
    .nav-main li.has-sub:focus-within .submenu {
        display: block;
    }
}

.nav-main.is-open > ul {
    display: flex;
}

@media (max-width: 899px) {
    .site-header > .wrap {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .site-header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .header-inner {
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem;
        row-gap: 0.5rem;
        min-height: 0;
    }

    .logo-img {
        max-height: 42px;
        height: auto;
        width: auto;
    }

    .btn--header-label--short {
        display: inline !important;
    }

    .btn--header-label--long {
        display: none !important;
    }

    .btn--header {
        margin-left: auto;
        margin-top: 0;
        margin-bottom: 0;
        width: fit-content;
        max-width: none;
        height: 42px;
        padding: 0 22px;
        box-sizing: border-box;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.01em;
        line-height: 1;
        white-space: nowrap;
    }

    .lang-switch__link {
        height: 40px;
        min-width: 52px;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 0.65rem;
        border-radius: 10px;
        border: 1px solid #e5e5e5;
        background: var(--color-bg-white);
    }

    .nav-toggle {
        height: 40px;
        min-width: 52px;
        box-sizing: border-box;
        padding: 0 0.65rem;
        border-radius: 10px;
        border: 1px solid #e5e5e5;
        margin-left: 0;
    }

    .nav-main:not(.is-open) > ul {
        display: none;
    }

    .nav-main.is-open .submenu {
        display: block;
    }

    .header-inner > .nav-main {
        width: 100%;
        flex-basis: 100%;
        order: 10;
    }

    .nav-main.is-open > ul {
        padding: 0.65rem 0.75rem;
        margin-top: 0.35rem;
        background: linear-gradient(180deg, var(--color-bg-white) 0%, var(--color-shell) 100%);
        border: 1px solid var(--color-border-soft);
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
    }

    .nav-main.is-open a {
        padding: 0.55rem 0.6rem;
    }

    .site-header.is-scrolled .logo-img {
        max-height: 34px;
    }

    .site-header.is-scrolled .btn--header {
        height: 38px;
        padding: 0 18px;
        font-size: 14px;
    }

    .site-header.is-scrolled .lang-switch__link,
    .site-header.is-scrolled .nav-toggle {
        height: 36px;
        min-width: 48px;
    }
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.35rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    transition:
        background var(--transition-smooth),
        color var(--transition-smooth),
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth),
        transform var(--transition-fast);
}

.btn-primary {
    background: var(--color-action);
    color: #f8fafc;
    box-shadow: var(--shadow-xs);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--color-action-hover);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
    outline: none;
}

.btn-primary:focus-visible {
    box-shadow:
        var(--shadow-sm),
        0 0 0 3px rgba(30, 58, 138, 0.25);
}

.btn-secondary {
    background: var(--color-bg-white);
    color: var(--color-action);
    border: 1px solid rgba(30, 58, 138, 0.35);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(30, 58, 138, 0.06);
    border-color: var(--color-action);
    transform: translateY(-1px);
    outline: none;
}

/* CTA cabecera: refinado, radio 12px */
.btn--header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.52rem 1.1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    letter-spacing: 0.03em;
    box-shadow: none;
}

.btn--header-label--short {
    display: none;
}

.btn--header-label--long {
    display: inline;
}

.btn--header:hover,
.btn--header:focus-visible {
    transform: translateY(-1px);
    box-shadow: var(--shadow-xs);
}

/* Aviso intermediario — compacto, continuidad con cabecera */
.intermediary-notice {
    background: linear-gradient(180deg, var(--color-notice-bg) 0%, #e4eaf1 100%);
    border-bottom: 1px solid var(--color-notice-border);
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #4a5568;
    letter-spacing: 0.01em;
}

.intermediary-notice p {
    margin: 0;
    padding: 0.45rem 0;
    max-width: 72rem;
    margin-inline: auto;
}

.intermediary-notice strong {
    color: var(--color-primary);
    font-weight: 600;
}

.intermediary-notice--compact {
    font-size: 0.78rem;
}

.intermediary-notice--compact p {
    padding: 0.35rem 0;
}

/* Hero (inicio): imagen contenida + velo cinematográfico, texto dominante */
.hero--with-image {
    position: relative;
    overflow: hidden;
    min-height: min(62vh, 640px);
    display: flex;
    align-items: center;
    padding: clamp(3.25rem, 10vw, 5.5rem) 0 clamp(4rem, 12vw, 6rem);
    background-color: var(--color-petrol);
    border-bottom: none;
}

/* Puente suave hacia la franja inferior */
.hero--with-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: clamp(72px, 14vh, 160px);
    z-index: 3;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 31, 51, 0.25) 35%,
        rgba(247, 248, 250, 0.65) 78%,
        var(--color-bg) 100%
    );
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transform: scale(1.02);
}

.hero-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.82) contrast(0.9) brightness(0.88);
}

@supports (backdrop-filter: blur(1px)) {
    .hero-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        backdrop-filter: blur(1.5px);
        -webkit-backdrop-filter: blur(1.5px);
        mask-image: radial-gradient(ellipse 90% 100% at 50% 50%, black 25%, transparent 75%);
        -webkit-mask-image: radial-gradient(ellipse 90% 100% at 50% 50%, black 25%, transparent 75%);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Degradado lateral izquierdo (legibilidad) + velo más oscuro + lectura general */
    background:
        linear-gradient(
            105deg,
            rgba(4, 12, 22, 0.97) 0%,
            rgba(6, 18, 32, 0.82) 22%,
            rgba(10, 28, 48, 0.35) 52%,
            rgba(12, 32, 52, 0.12) 100%
        ),
        radial-gradient(
            ellipse 100% 90% at 42% 42%,
            rgba(5, 14, 26, 0.92) 0%,
            rgba(8, 22, 38, 0.72) 45%,
            rgba(15, 42, 68, 0.38) 100%
        ),
        linear-gradient(180deg, rgba(4, 12, 22, 0.55) 0%, transparent 50%);
}

/* Home: Resolutron como capa de marca (secundaria, no compite con titular/formulario) */
@keyframes home-resolutron-halo {
    0%,
    100% {
        opacity: 0.34;
        filter: grayscale(14%) brightness(0.96) contrast(1.05)
            drop-shadow(0 0 18px rgba(110, 185, 255, 0.22));
    }

    50% {
        opacity: 0.4;
        filter: grayscale(10%) brightness(1) contrast(1.06)
            drop-shadow(0 0 26px rgba(140, 210, 255, 0.32));
    }
}

.hero--home-brand .hero-atmosphere--home {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 75% 60% at 18% 74%, rgba(55, 130, 210, 0.15) 0%, transparent 52%),
        radial-gradient(circle at 22% 42%, rgba(40, 95, 170, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 12% 58%, rgba(25, 70, 140, 0.14) 0%, transparent 38%);
    opacity: 0.95;
}

.hero--home-brand .hero-atmosphere--home::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 130% 85% at 8% 100%, rgba(8, 22, 45, 0.38) 0%, transparent 58%);
    pointer-events: none;
}

.hero--home-brand .hero-resolutron-layer {
    position: absolute;
    z-index: 2;
    left: clamp(-4%, -1vw, 1.25%);
    right: auto;
    bottom: clamp(-12vh, -8%, -3rem);
    width: min(34vw, 36%);
    min-width: 220px;
    max-width: min(380px, 36vw);
    height: min(56vh, 540px);
    max-height: 72vh;
    top: auto;
    pointer-events: none;
    background: var(--home-resolutron-art, none) no-repeat left bottom;
    background-size: contain;
    opacity: 0.36;
    filter: grayscale(14%) brightness(0.96) contrast(1.05);
    /* Funde hacia el centro (formulario) y hacia arriba, anclado abajo-izquierda */
    mask-image: radial-gradient(ellipse 125% 105% at 0% 100%, black 0%, rgba(0, 0, 0, 0.94) 38%, transparent 74%);
    -webkit-mask-image: radial-gradient(ellipse 125% 105% at 0% 100%, black 0%, rgba(0, 0, 0, 0.94) 38%, transparent 74%);
    transform-origin: left bottom;
    animation: home-resolutron-halo 6s ease-in-out infinite;
}

.hero--home-brand .hero-resolutron-layer::before {
    content: "";
    position: absolute;
    left: 32%;
    right: auto;
    top: 38%;
    width: min(38%, 120px);
    height: min(22%, 90px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 200, 255, 0.45) 0%, transparent 72%);
    filter: blur(14px);
    opacity: 0.72;
    pointer-events: none;
    mix-blend-mode: screen;
}

.hero--home-brand .hero-copy--left > .eyebrow {
    margin-bottom: 0.45rem;
}

.hero--home-brand .hero-copy--left > h1 {
    margin-bottom: 0.6rem;
}

.hero--home-brand .hero-lead {
    margin-bottom: clamp(1.2rem, 2.4vw, 1.65rem);
}

.hero--home-brand .hero-social-proof {
    margin-top: 0.15rem;
}

@media (min-width: 960px) {
    .hero--home-brand .hero-resolutron-layer {
        top: clamp(6.5rem, 14vw, 11rem);
        bottom: clamp(-14vh, -10%, -4rem);
        height: auto;
        max-height: none;
        min-height: min(52vh, 520px);
        mask-image: radial-gradient(ellipse 130% 108% at 0% 100%, black 0%, rgba(0, 0, 0, 0.92) 36%, transparent 72%);
        -webkit-mask-image: radial-gradient(ellipse 130% 108% at 0% 100%, black 0%, rgba(0, 0, 0, 0.92) 36%, transparent 72%);
    }
}

@media (min-width: 640px) and (max-width: 959px) {
    .hero--home-brand .hero-resolutron-layer {
        opacity: 0.26;
        width: min(38vw, 42%);
        max-width: 280px;
        left: clamp(-3%, 0vw, 1%);
        filter: grayscale(22%) brightness(0.92);
    }

    .hero--home-brand .hero-atmosphere--home {
        opacity: 0.85;
    }
}

@media (max-width: 639px) {
    .hero--home-brand .hero-resolutron-layer {
        display: none;
    }

    .hero--home-brand .hero-atmosphere--home {
        opacity: 0.75;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero--home-brand .hero-resolutron-layer {
        animation: none;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    text-align: center;
}

.hero-content--split {
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.5rem);
    align-items: start;
    text-align: left;
}

/* Hero principal: bloque texto + formulario ≈ 90% del ancho de pantalla (sin tope 1140px) */
.hero--with-image .wrap.hero-content--split {
    width: min(90vw, 100% - 1rem);
    max-width: none;
    margin-inline: auto;
    padding-inline: clamp(0.65rem, 2vw, 1rem);
    box-sizing: border-box;
}

@media (min-width: 960px) {
    .hero-content--split {
        grid-template-columns: minmax(0, 58%) minmax(0, 42%);
        align-items: start;
        column-gap: clamp(1.75rem, 3.5vw, 2.5rem);
    }
}

.hero-copy {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Columna copy del hero: todo centrado en su mitad para alinear título, lead, tarjeta y CTAs */
.hero-copy--left {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
}

@media (min-width: 900px) {
    .hero-copy:not(.hero-copy--left) {
        max-width: 44rem;
    }
}

.hero-flash {
    margin-bottom: 1rem;
}

.hero-copy--left .hero-flash {
    text-align: center;
}

/* Tarjeta formulario: integrada, acento superior discreto */
.hero-form-card {
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-lg);
    width: 92%;
    max-width: 100%;
    margin-inline: auto;
    min-width: 0;
    box-sizing: border-box;
    padding-block: clamp(1.5rem, 2.8vw, 2rem);
    padding-inline: clamp(1.25rem, 4.2vw, 2.1rem);
    border: 1px solid rgba(15, 42, 68, 0.08);
    box-shadow:
        0 4px 0 rgba(180, 155, 110, 0.22) inset,
        0 20px 50px rgba(8, 22, 38, 0.18),
        0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.hero-form-card__head {
    margin: 0 0 clamp(1.15rem, 2.2vw, 1.5rem);
    padding-bottom: clamp(1rem, 2vw, 1.25rem);
    border-bottom: 1px solid rgba(15, 42, 68, 0.08);
}

.hero-form-card__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.08rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.hero-form-card__subtitle {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-muted);
    font-weight: 400;
}

.hero-form-card__micro {
    margin: clamp(1rem, 2vw, 1.35rem) 0 0;
    padding-top: clamp(0.85rem, 1.5vw, 1.1rem);
    border-top: 1px solid rgba(15, 42, 68, 0.07);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
    text-align: center;
    line-height: 1.4;
}

.hero-form-card__alert {
    margin: 0 0 clamp(0.85rem, 1.5vw, 1.15rem);
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.45;
}

.form--hero-contact input.is-invalid,
.form--hero-contact textarea.is-invalid {
    border-color: #b91c1c;
    background-color: #fffafa;
}

.form--hero-contact input.is-invalid:focus,
.form--hero-contact textarea.is-invalid:focus {
    outline: 2px solid rgba(185, 28, 28, 0.35);
    outline-offset: 1px;
}

.form--hero-contact .checkbox-row input.is-invalid {
    outline: 2px solid #b91c1c;
    outline-offset: 2px;
}

.form--hero-contact {
    max-width: none;
}

.form--hero-contact .form-row {
    margin-bottom: 0;
}

.form--hero-contact > .form-row + .form-row {
    margin-top: 0.95rem;
}

.form--hero-contact .form-row label:not(.form-captcha-prompt) {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.4rem;
}

.form--hero-contact .form-captcha-prompt {
    font-size: 0.8125rem;
    margin-bottom: 0.4rem;
}

@media (min-width: 768px) {
    .form--hero-contact {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.25rem;
        row-gap: 1rem;
        align-items: start;
    }

    .form--hero-contact > .form-row--full {
        grid-column: 1 / -1;
    }

    .form--hero-contact > .form-row + .form-row {
        margin-top: 0;
    }

    .form--hero-contact > .hp-field {
        grid-column: 1 / -1;
    }
}

.form--hero-contact textarea {
    min-height: 6.75rem;
    line-height: 1.5;
    resize: vertical;
}

.form--hero-contact label {
    color: var(--color-primary);
}

.form--hero-contact .hint {
    margin-top: 0.5rem;
}

.form--hero-contact .hint a {
    color: var(--color-action);
}

.form-row--hero-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 0.35rem;
}

@media (min-width: 768px) {
    .form-row--hero-footer {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1rem 1.5rem;
    }

    .hero-form-footer__consent {
        flex: 1 1 16rem;
        min-width: min(100%, 14rem);
    }

    .hero-form-footer__submit {
        flex: 0 0 auto;
    }

    .hero-form-footer__submit .btn {
        min-width: 10rem;
    }
}

.btn--hero-form {
    font-weight: 700;
    letter-spacing: 0.02em;
    padding-inline: 1.35rem;
}

/* Prueba social (casos de éxito) — tarjeta entre subtítulo y CTAs */
.hero-social-proof {
    display: flex;
    justify-content: center;
    margin: 0 0 clamp(1.75rem, 3.5vw, 2.35rem);
}

.hero-social-proof__card {
    position: relative;
    max-width: 26rem;
    width: 100%;
    text-align: center;
    padding: clamp(1.1rem, 2.2vw, 1.45rem) clamp(1.15rem, 2.5vw, 1.5rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 12px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-social-proof__value {
    margin: 0 0 0.2rem;
    font-size: clamp(2.35rem, 5vw, 3.15rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
    font-variant-numeric: tabular-nums;
}

.hero-social-proof__label {
    margin: 0 0 0.65rem;
    font-size: clamp(0.95rem, 1.65vw, 1.05rem);
    font-weight: 600;
    color: rgba(245, 248, 252, 0.95);
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.hero-social-proof__support {
    margin: 0;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: clamp(0.82rem, 1.35vw, 0.9rem);
    font-weight: 500;
    color: rgba(220, 228, 238, 0.88);
    line-height: 1.5;
}

.eyebrow--hero-left {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.hero-copy--left .eyebrow--hero {
    margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

.hero-copy--left .lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-actions--left {
    justify-content: center;
}

.hero-badges--left {
    justify-content: center;
    margin-top: 0.25rem;
}

.eyebrow--hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: 0 auto 1rem;
    padding-bottom: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid var(--color-accent-subtle);
}

.eyebrow--hero::before,
.eyebrow--hero::after {
    content: "";
    display: inline-block;
    width: 1.75rem;
    height: 1px;
    flex-shrink: 0;
    vertical-align: middle;
}

.eyebrow--hero::before {
    background: linear-gradient(90deg, transparent, rgba(200, 175, 130, 0.55));
}

.eyebrow--hero::after {
    background: linear-gradient(90deg, rgba(200, 175, 130, 0.55), transparent);
}

.eyebrow {
    display: inline-block;
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.eyebrow--dark {
    color: var(--color-action);
    border-bottom: none;
    letter-spacing: 0.16em;
}

.section-heading .eyebrow--dark {
    margin-bottom: 0.5rem;
}

.hero h1 {
    margin: 0 auto 1.25rem;
    font-size: clamp(1.95rem, 4.5vw, 2.65rem);
    font-weight: 600;
    line-height: 1.15;
    color: #f4f6f8;
    letter-spacing: -0.035em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
    max-width: 22ch;
    text-wrap: balance;
}

@media (min-width: 640px) {
    .hero h1 {
        max-width: 26ch;
    }
}

/* Hero principal: H1 más dominante */
.hero-copy--left h1 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: clamp(2.05rem, 4.8vw, 2.95rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.038em;
    margin-bottom: clamp(1.15rem, 2.2vw, 1.5rem);
    max-width: 20ch;
}

@media (min-width: 640px) {
    .hero-copy--left h1 {
        max-width: 24ch;
    }
}

.hero .lead {
    font-size: clamp(1rem, 1.9vw, 1.125rem);
    color: rgba(235, 238, 242, 0.9);
    max-width: 38rem;
    margin: 0 auto 1.25rem;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.hero-copy--left .hero-lead {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: clamp(1.02rem, 1.95vw, 1.14rem);
    line-height: 1.68;
}

.hero-highlight {
    margin: 0 auto 1.75rem;
    max-width: 40rem;
    text-align: center;
}

.hero-stat {
    margin: 0 0 0.45rem;
    font-size: clamp(1.05rem, 2.1vw, 1.25rem);
    font-weight: 700;
    color: #f4f6f8;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

.hero-specialists {
    margin: 0;
    font-size: clamp(0.95rem, 1.7vw, 1.05rem);
    font-weight: 500;
    color: rgba(235, 238, 242, 0.9);
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-copy--left .hero-actions--left {
    margin-top: 0;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.hero-badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.6rem;
    justify-content: center;
}

.hero-badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.92);
    padding: 0.4rem 0.85rem 0.4rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
    transition:
        border-color var(--transition-fast),
        background var(--transition-fast);
}

.hero-badges li:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.09);
}

.hero-badge__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(215, 200, 170, 0.85);
    opacity: 0.95;
}

.hero-badge__icon svg {
    display: block;
}

.hero-badge__text {
    line-height: 1.2;
}

.hero .btn {
    min-height: 2.75rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hero .btn-primary {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        var(--shadow-sm);
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #fff;
    backdrop-filter: blur(6px);
}

.hero .btn-secondary:hover,
.hero .btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 540px) {
    .hero h1 {
        max-width: 20ch;
        font-size: clamp(1.65rem, 6.5vw, 2rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 20rem;
        justify-content: center;
    }

    .hero-badges {
        gap: 0.45rem;
        justify-content: center;
    }

    .hero-badges li {
        font-size: 0.7rem;
        padding: 0.35rem 0.65rem 0.35rem 0.5rem;
    }
}

.section-heading {
    margin-bottom: 2rem;
    max-width: 40rem;
}

.section-heading p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1.02rem;
    line-height: 1.55;
}

.section--tight {
    padding: 1.75rem 0;
}

/* Transición hero → contenido: franja de confianza como prolongación */
.section--trust-bridge {
    position: relative;
    z-index: 1;
    margin-top: -1px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: linear-gradient(
        180deg,
        var(--color-shell) 0%,
        var(--color-ivory) 45%,
        var(--color-bg) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 -12px 32px rgba(10, 25, 45, 0.04);
}

.section--trust-bridge .trust-strip {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4b5a6b;
    gap: 0.65rem 1.75rem;
}

.section--trust-bridge .trust-strip span {
    opacity: 1;
    padding: 0.35rem 0;
    position: relative;
}

.section--trust-bridge .trust-strip span:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 0.85rem;
    background: rgba(15, 42, 68, 0.12);
}

@media (max-width: 639px) {
    .section--trust-bridge .trust-strip span:not(:last-child)::after {
        display: none;
    }
}

/* Proceso — timeline tipo progress bar (iconos + tramo continuo) */
.process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem 0.35rem;
}

.process-steps__item {
    position: relative;
    text-align: center;
    padding: 0 0.2rem;
}

/* Barra horizontal entre pasos (escritorio) */
@media (min-width: 900px) {
    .process-steps__item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 1.75rem;
        left: calc(50% + 1.75rem);
        width: calc(100% - 3.5rem);
        height: 4px;
        background: linear-gradient(90deg, var(--color-action) 0%, rgba(30, 58, 138, 0.35) 100%);
        border-radius: 2px;
        z-index: 0;
    }
}

.process-steps__icon {
    position: relative;
    z-index: 1;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: linear-gradient(165deg, #fff 0%, var(--color-shell) 100%);
    border: 2px solid var(--color-action);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-action);
    box-shadow:
        var(--shadow-xs),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.process-steps__body {
    position: relative;
    z-index: 1;
}

.process-steps__num {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--color-action);
    margin-bottom: 0.4rem;
}

.process-steps__body h3 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
}

.process-steps__body p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.45;
}

@media (max-width: 899px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .process-steps__item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
        padding: 0 0 1.5rem 0.25rem;
    }

    .process-steps__item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 3.65rem;
        left: 1.84rem;
        width: 2px;
        height: calc(100% - 3.4rem);
        background: linear-gradient(180deg, var(--color-action) 0%, rgba(30, 58, 138, 0.2) 100%);
        border-radius: 1px;
        z-index: 0;
    }

    .process-steps__icon {
        margin: 0;
        flex-shrink: 0;
    }

    .process-steps__body {
        flex: 1;
        min-width: 0;
        padding-top: 0.15rem;
    }
}

.section-action {
    margin-top: 2rem;
    text-align: center;
}

/* Bloques */
.section {
    padding: 3rem 0;
}

.section--muted {
    background: var(--color-bg-subtle);
}

.section h2 {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.section .section-heading h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
}

.trust-strip span {
    opacity: 0.9;
}

/* Tarjetas servicios */
.grid-cards {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .grid-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.35rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.card p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.card a {
    font-weight: 600;
    color: var(--color-action);
    text-decoration: none;
}

.card a:hover {
    text-decoration: underline;
}

.card--service {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card--service .card__body {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card--service .card__body p {
    flex: 1;
}

.card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-shell);
}

.card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card--service .card__body h3 {
    margin-top: 0;
}

.card--service .card__body a {
    margin-top: auto;
    align-self: flex-start;
}

/* Pasos */
.steps {
    counter-reset: step;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

.steps li {
    position: relative;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps strong {
    display: block;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

/* FAQ acordeón */
.faq-list details {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: #fff;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-primary);
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list details[open] summary {
    margin-bottom: 0.5rem;
}

.faq-list p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* —— Página FAQ (premium) —— */
.page-hero--faq {
    padding: 2.35rem 0 2rem;
    border-bottom: none;
    background:
        radial-gradient(circle at 18% 24%, rgba(36, 90, 170, 0.11) 0%, transparent 46%),
        radial-gradient(circle at 88% 70%, rgba(56, 123, 209, 0.09) 0%, transparent 44%),
        linear-gradient(168deg, #f4f8ff 0%, #eef3f9 55%, #f9fbfd 100%);
}

.faq-hero-layout {
    display: grid;
    gap: 1.35rem;
    align-items: center;
}

.faq-hero__intro {
    max-width: 40rem;
    font-size: 1.02rem;
}

.faq-hero-badges {
    margin-top: 1rem;
}

.faq-hero__brand {
    display: none;
}

.faq-section {
    padding-top: 2.35rem;
    padding-bottom: 2.35rem;
}

.faq-section--tabs {
    background: #fff;
    border-top: 1px solid rgba(15, 42, 68, 0.07);
}

.faq-section__h2 {
    margin: 0 0 1.1rem;
    font-size: clamp(1.22rem, 2vw, 1.45rem);
    color: var(--color-primary);
}

.faq-tabs {
    position: relative;
}

.faq-tabs__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.faq-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.faq-tabs__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(15, 42, 68, 0.16);
    background: #f6f8fc;
    color: var(--color-primary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
}

.faq-tabs__tab:hover {
    border-color: rgba(30, 58, 109, 0.35);
    background: #fff;
}

#faq-cat-1:checked ~ .faq-tabs__nav label:nth-child(1),
#faq-cat-2:checked ~ .faq-tabs__nav label:nth-child(2),
#faq-cat-3:checked ~ .faq-tabs__nav label:nth-child(3),
#faq-cat-4:checked ~ .faq-tabs__nav label:nth-child(4) {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(15, 42, 68, 0.2);
}

.faq-tabs__panels .faq-tabs__panel {
    display: none;
}

#faq-cat-1:checked ~ .faq-tabs__panels .faq-tabs__panel:nth-child(1),
#faq-cat-2:checked ~ .faq-tabs__panels .faq-tabs__panel:nth-child(2),
#faq-cat-3:checked ~ .faq-tabs__panels .faq-tabs__panel:nth-child(3),
#faq-cat-4:checked ~ .faq-tabs__panels .faq-tabs__panel:nth-child(4) {
    display: block;
}

.faq-list--premium details {
    border: 1px solid rgba(15, 42, 68, 0.1);
    border-radius: var(--radius-lg);
    padding: 0.95rem 1.1rem;
    margin-bottom: 0.65rem;
    background: linear-gradient(180deg, #fff 0%, #fafcfe 100%);
    box-shadow: 0 2px 10px rgba(8, 22, 38, 0.05);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-list--premium details:hover {
    border-color: rgba(30, 58, 109, 0.22);
    box-shadow: 0 6px 18px rgba(8, 22, 38, 0.08);
}

.faq-list--premium details[open] {
    border-color: rgba(30, 58, 109, 0.28);
}

.faq-list--premium summary {
    font-size: 0.98rem;
}

.faq-section--cta-mid {
    background: linear-gradient(180deg, #f0f4fa 0%, #e8eef6 100%);
    border-top: 1px solid rgba(15, 42, 68, 0.06);
}

.faq-mid-cta {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 42, 68, 0.1);
    background: #fff;
    box-shadow: 0 8px 26px rgba(8, 22, 38, 0.07);
}

.faq-mid-cta__h {
    margin: 0 0 0.45rem;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    color: var(--color-primary);
}

.faq-mid-cta__p {
    margin: 0 0 1rem;
    color: var(--color-muted);
    line-height: 1.55;
}

.faq-section--phone {
    background: #fff;
}

.faq-phone-strip {
    border: 1px solid rgba(15, 42, 68, 0.12);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #ffffff 0%, #f5f8fd 100%);
    padding: 1.25rem 1.35rem;
    box-shadow: 0 4px 18px rgba(8, 22, 38, 0.06);
}

.faq-phone-strip__title {
    margin: 0 0 0.25rem;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.02rem;
}

.faq-phone-strip__text {
    margin: 0 0 0.85rem;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.faq-phone-strip__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: stretch;
}

.faq-phone-strip__field {
    flex: 1 1 14rem;
}

.faq-phone-strip__btn {
    flex: 0 0 auto;
}

.faq-section--svc-cards {
    background: linear-gradient(180deg, #fafbfd 0%, #f3f6fb 100%);
    border-top: 1px solid rgba(15, 42, 68, 0.06);
}

.faq-section-heading--center {
    text-align: center;
    max-width: 38rem;
    margin: 0 auto 1.35rem;
}

.faq-section-heading--center h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.22rem, 2vw, 1.5rem);
    color: var(--color-primary);
}

.faq-section-heading__lead {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

.faq-svc-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.faq-svc-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    row-gap: 0.2rem;
    align-items: start;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 42, 68, 0.12);
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(8, 22, 38, 0.05);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.faq-svc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(8, 22, 38, 0.1);
    border-color: rgba(30, 58, 109, 0.25);
}

.faq-svc-card__icon {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: start;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    background: rgba(30, 58, 109, 0.08);
    position: relative;
}

.faq-svc-card--desocupacion .faq-svc-card__icon::after {
    content: "";
    position: absolute;
    inset: 0.55rem;
    border: 2px solid var(--color-action);
    border-radius: 3px;
}

.faq-svc-card--mediacion .faq-svc-card__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid var(--color-action);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.faq-svc-card--seguridad .faq-svc-card__icon::after {
    content: "";
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    top: 0.55rem;
    bottom: 0.65rem;
    border: 2px solid var(--color-action);
    border-radius: 2px;
    border-bottom-width: 3px;
}

.faq-svc-card--legal .faq-svc-card__icon::after {
    content: "";
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    top: 0.75rem;
    height: 2px;
    background: var(--color-action);
    box-shadow: 0 6px 0 var(--color-action);
}

.faq-svc-card--recobro .faq-svc-card__icon::after {
    content: "€";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: var(--color-action);
}

.faq-svc-card__title {
    grid-column: 2;
    grid-row: 1;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--color-primary);
}

.faq-svc-card__hint {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.86rem;
    color: var(--color-muted);
    line-height: 1.4;
}

.faq-svc-card__arrow {
    grid-column: 3;
    grid-row: 1 / -1;
    align-self: center;
    font-size: 1.15rem;
    color: var(--color-action);
    opacity: 0.85;
}

.faq-section--trust {
    background: #0d2740;
    color: rgba(255, 255, 255, 0.94);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.faq-trust {
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
}

.faq-trust__h {
    margin: 0 0 1.15rem;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    color: #fff;
}

.faq-trust__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
}

.faq-trust__list li {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.86rem;
    font-weight: 600;
}

@media (min-width: 640px) {
    .faq-svc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .faq-hero-layout {
        grid-template-columns: minmax(0, 1.08fr) minmax(260px, 34%);
        column-gap: 2rem;
        align-items: stretch;
    }

    .faq-hero__brand {
        display: block;
        position: relative;
        min-height: min(22rem, 50vh);
        border-radius: var(--radius-lg);
        background:
            radial-gradient(circle at 55% 28%, rgba(56, 123, 209, 0.3) 0%, transparent 52%),
            linear-gradient(165deg, #0a1f33 0%, #0d2b4a 100%);
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 16px 38px rgba(8, 22, 38, 0.22);
    }

    .faq-hero__robot {
        position: absolute;
        inset: 0;
        background: var(--faq-resolutron-art, none) no-repeat center bottom;
        background-size: contain;
        opacity: 0.14;
        filter: grayscale(12%) contrast(1.05);
        animation: faq-resolutron-pulse 6s ease-in-out infinite;
    }

    .faq-hero__robot::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 38%;
        width: 6.5rem;
        height: 4rem;
        transform: translateX(-50%);
        border-radius: 50%;
        background: radial-gradient(circle, rgba(140, 210, 255, 0.38) 0%, transparent 72%);
        filter: blur(10px);
        opacity: 0.5;
        animation: faq-resolutron-glow 3.5s ease-in-out infinite;
    }

    .faq-hero__label {
        position: absolute;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        display: grid;
        gap: 0.2rem;
        padding: 0.72rem 0.82rem;
        border-radius: var(--radius);
        background: rgba(6, 17, 30, 0.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.14);
    }

    .faq-hero__label strong {
        color: #fff;
        font-size: 0.9rem;
        letter-spacing: 0.02em;
    }

    .faq-hero__label span {
        color: rgba(230, 237, 249, 0.88);
        font-size: 0.76rem;
        line-height: 1.35;
    }

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

@media (min-width: 1200px) {
    .faq-svc-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@keyframes faq-resolutron-pulse {
    0%,
    100% {
        filter: grayscale(12%) contrast(1.05) drop-shadow(0 0 10px rgba(125, 200, 255, 0.14));
        opacity: 0.12;
    }
    50% {
        filter: grayscale(8%) contrast(1.07) drop-shadow(0 0 20px rgba(145, 215, 255, 0.22));
        opacity: 0.18;
    }
}

@keyframes faq-resolutron-glow {
    0%,
    100% {
        opacity: 0.42;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.58;
        transform: translateX(-50%) scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-hero__robot,
    .faq-hero__robot::before {
        animation: none;
    }
}

/* CTA final */
.cta-block {
    text-align: center;
    padding: 2.5rem 1.25rem;
    border-radius: var(--radius);
    background: var(--color-primary);
    color: #fff;
}

.cta-block .eyebrow {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0.5rem;
}

.cta-block h2 {
    color: #fff;
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.cta-block p {
    margin: 0 auto 1.25rem;
    max-width: 32rem;
    opacity: 0.95;
    line-height: 1.55;
}

.cta-block .btn-primary {
    background: #fff;
    color: var(--color-primary);
}

.cta-block .btn-primary:hover {
    background: var(--color-bg-subtle);
}

/* Página servicio / legal */
.page-hero {
    padding: 2.25rem 0 1.5rem;
    border-bottom: 1px solid var(--color-border);
    background: #fafafa;
}

.page-hero h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-primary);
}

.page-hero__intro {
    margin: 0;
    max-width: none;
    color: var(--color-muted);
    line-height: 1.55;
    font-size: 1rem;
}

.page-hero--with-bg {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-bottom: none;
    background: var(--color-petrol);
    min-height: min(48vh, 520px);
    display: flex;
    align-items: stretch;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(0.9) contrast(0.95) brightness(0.98);
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(8, 22, 38, 0.4) 0%,
        rgba(15, 42, 68, 0.55) 40%,
        rgba(8, 22, 38, 0.88) 100%
    );
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2.25rem 0 1.75rem;
}

.page-service .page-hero__inner {
    text-align: center;
}

.page-service .page-hero__intro {
    margin-left: auto;
    margin-right: auto;
}

.page-hero__inner--on-image {
    padding-top: clamp(2.75rem, 10vw, 4.5rem);
    padding-bottom: clamp(2rem, 6vw, 3rem);
}

.page-hero--with-bg h1 {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.page-hero--with-bg .page-hero__intro {
    color: rgba(255, 255, 255, 0.92);
}

.page-hero--how {
    background:
        radial-gradient(circle at 88% 10%, rgba(36, 90, 170, 0.14) 0%, transparent 42%),
        linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
}

/* Sobre nosotros — premium layout */
.page-hero--about {
    padding: 2.35rem 0 2rem;
    border-bottom: none;
    background:
        radial-gradient(circle at 12% 20%, rgba(36, 90, 170, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 92% 78%, rgba(56, 123, 209, 0.1) 0%, transparent 40%),
        linear-gradient(165deg, #f5f9ff 0%, #eef3f9 48%, #f8fafc 100%);
}

.about-hero-layout {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.about-hero__main {
    min-width: 0;
}

.page-hero--about h1 {
    font-size: clamp(1.45rem, 2.6vw + 0.6rem, 2.15rem);
    line-height: 1.2;
    max-width: 38rem;
}

.about-hero__intro {
    max-width: 40rem;
    font-size: 1.02rem;
}

.about-hero-badges {
    margin-top: 1.05rem;
}

.about-hero__brand {
    display: none;
}

.about-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.about-section--surface {
    background: #fff;
    border-top: 1px solid rgba(15, 42, 68, 0.06);
    border-bottom: 1px solid rgba(15, 42, 68, 0.06);
}

.about-section--muted {
    background: linear-gradient(180deg, #f4f7fb 0%, #eef2f8 100%);
}

.about-section--story {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30, 58, 109, 0.07) 0%, transparent 55%),
        #fafcfe;
    border-top: 1px solid rgba(15, 42, 68, 0.06);
}

.about-section--cta {
    background: linear-gradient(135deg, #0d2740 0%, #0f3354 45%, #143d5c 100%);
    color: #fff;
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
}

.about-section--faq {
    background: #fff;
    border-top: 1px solid rgba(15, 42, 68, 0.08);
}

.about-section-heading {
    margin-bottom: 1.35rem;
    max-width: 44rem;
}

.about-section-heading--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 36rem;
}

.about-section-heading h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    color: var(--color-primary);
}

.about-section--cta .about-section-heading h2,
.about-section--cta h2 {
    color: #fff;
}

.about-section-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.about-card-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.about-card-grid--what {
    grid-template-columns: 1fr;
}

.about-card-grid--values {
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.about-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 42, 68, 0.12);
    background: #fff;
    padding: 1.15rem 1.2rem 1.1rem;
    box-shadow: 0 2px 14px rgba(8, 22, 38, 0.06);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.about-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(8, 22, 38, 0.1);
    border-color: rgba(30, 58, 109, 0.22);
}

.about-card--what {
    border-top: 3px solid rgba(30, 58, 109, 0.35);
}

.about-card--value {
    background: #fff;
    border-top: 3px solid rgba(56, 123, 209, 0.45);
}

.about-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    color: var(--color-primary);
}

.about-card p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.55;
    color: var(--color-muted);
}

.about-card__icon {
    display: block;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.65rem;
    border-radius: var(--radius);
    background: rgba(30, 58, 109, 0.08);
    position: relative;
}

.about-card__icon--scan::after {
    content: "";
    position: absolute;
    inset: 0.45rem;
    border: 2px solid var(--color-action);
    border-radius: 4px;
    opacity: 0.85;
    box-shadow: 0 0 0 1px rgba(30, 58, 109, 0.15);
}

.about-card__icon--target::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid var(--color-action);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 3px rgba(30, 58, 109, 0.12);
}

.about-card__icon--link::after {
    content: "";
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-action), transparent);
    transform: translateY(-50%);
    border-radius: 1px;
}

.about-card__icon--track::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.55rem;
    height: 0.35rem;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(30, 58, 109, 0.2), var(--color-action), rgba(30, 58, 109, 0.2));
}

.about-never {
    background: linear-gradient(165deg, #0a1a2b 0%, #0d2438 50%, #102d45 100%);
    color: rgba(255, 255, 255, 0.94);
    border: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.about-never h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: #fff;
}

.about-never__list {
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
    max-width: 36rem;
}

.about-never__list li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: rgba(230, 237, 249, 0.92);
}

.about-never__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: rgba(125, 200, 255, 0.75);
    box-shadow: 0 0 10px rgba(125, 200, 255, 0.35);
}

.about-never__footer {
    margin: 0;
    max-width: 38rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(200, 215, 235, 0.92);
    font-weight: 500;
}

.about-story__panel {
    max-width: 44rem;
    margin: 0 auto;
    padding: 1.5rem 1.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 42, 68, 0.1);
    background: linear-gradient(180deg, #fff 0%, #f9fbfe 100%);
    box-shadow: 0 8px 28px rgba(8, 22, 38, 0.07);
}

.about-story__panel h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.28rem, 2vw, 1.55rem);
    color: var(--color-primary);
}

.about-story__panel p {
    margin: 0 0 0.85rem;
    color: var(--color-muted);
    line-height: 1.6;
    font-size: 1rem;
}

.about-story__panel p:last-of-type {
    margin-bottom: 0;
}

.about-story__tagline {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    color: var(--color-primary) !important;
    letter-spacing: 0.01em;
}

.about-cta-block {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}

.about-cta-block h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.about-cta-block p {
    margin: 0 0 1.25rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.02rem;
    line-height: 1.55;
}

.about-cta-block__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.about-cta-block .btn-primary {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

.about-cta-block .btn-primary:hover {
    background: rgba(255, 255, 255, 0.92);
}

.about-cta-block .btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.about-cta-block .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.65);
}

.about-faq-list {
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .about-card-grid--what {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-card-grid--values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .about-hero-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(260px, 36%);
        column-gap: 2.25rem;
        align-items: stretch;
    }

    .about-hero__brand {
        display: block;
        position: relative;
        min-height: min(24rem, 54vh);
        border-radius: var(--radius-lg);
        background:
            radial-gradient(circle at 58% 30%, rgba(56, 123, 209, 0.34) 0%, transparent 54%),
            linear-gradient(165deg, #0a1f33 0%, #0d2b4a 100%);
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 16px 36px rgba(8, 22, 38, 0.22);
    }

    .about-hero__robot {
        position: absolute;
        inset: 0;
        background: var(--about-resolutron-art, none) no-repeat center bottom;
        background-size: contain;
        opacity: 0.17;
        filter: grayscale(14%) contrast(1.06);
        animation: about-resolutron-pulse 5.8s ease-in-out infinite;
    }

    .about-hero__robot::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 38%;
        width: 7rem;
        height: 4.25rem;
        transform: translateX(-50%);
        border-radius: 50%;
        background: radial-gradient(circle, rgba(140, 210, 255, 0.4) 0%, transparent 72%);
        filter: blur(11px);
        opacity: 0.52;
        animation: about-resolutron-glow 3.4s ease-in-out infinite;
    }

    .about-hero__label {
        position: absolute;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        display: grid;
        gap: 0.2rem;
        padding: 0.75rem 0.85rem;
        border-radius: var(--radius);
        background: rgba(6, 17, 30, 0.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.14);
    }

    .about-hero__label strong {
        color: #fff;
        font-size: 0.94rem;
        letter-spacing: 0.02em;
    }

    .about-hero__label span {
        color: rgba(230, 237, 249, 0.9);
        font-size: 0.77rem;
        line-height: 1.35;
    }

    .about-card-grid--values {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@keyframes about-resolutron-pulse {
    0%,
    100% {
        filter: grayscale(14%) contrast(1.06) drop-shadow(0 0 12px rgba(125, 200, 255, 0.16));
        opacity: 0.15;
    }
    50% {
        filter: grayscale(10%) contrast(1.08) drop-shadow(0 0 22px rgba(145, 215, 255, 0.28));
        opacity: 0.2;
    }
}

@keyframes about-resolutron-glow {
    0%,
    100% {
        opacity: 0.42;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.62;
        transform: translateX(-50%) scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero__robot,
    .about-hero__robot::before {
        animation: none;
    }
}

.how-hero-badges {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.how-hero-badges li {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.7rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(15, 42, 68, 0.14);
    background: #fff;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.how-flow-section {
    padding-top: 2.35rem;
    padding-bottom: 2.35rem;
}

.how-flow-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.how-flow-main {
    min-width: 0;
}

.how-flow-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1rem;
}

.how-flow-step {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #fff;
    padding: 1.1rem 1.05rem 1rem;
    box-shadow: 0 2px 12px rgba(8, 22, 38, 0.06);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.how-flow-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(8, 22, 38, 0.1);
    border-color: rgba(30, 58, 109, 0.22);
}

.how-flow-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(30, 58, 109, 0.1);
    color: var(--color-action);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.how-flow-step h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    color: var(--color-primary);
}

.how-flow-step p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.how-flow-step__note {
    margin-top: 0.55rem !important;
    font-size: 0.82rem !important;
    color: var(--color-action) !important;
    font-weight: 600;
}

.how-cta-actions {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.how-flow-brand {
    display: none;
}

.how-faq-list {
    max-width: 56rem;
}

@media (min-width: 1024px) {
    .how-flow-layout {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 30%);
        column-gap: 2rem;
    }

    .how-flow-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.85rem;
        position: relative;
    }

    .how-flow-steps::before {
        content: "";
        position: absolute;
        left: 8%;
        right: 8%;
        top: 1rem;
        height: 2px;
        background: linear-gradient(90deg, rgba(30, 58, 109, 0.18) 0%, rgba(30, 58, 109, 0.7) 50%, rgba(30, 58, 109, 0.18) 100%);
        transform-origin: left center;
        animation: how-progress-grow 1.4s ease-out both;
    }

    .how-flow-step {
        min-height: 15rem;
        padding: 1.2rem 1rem 1rem;
    }

    .how-flow-brand {
        display: block;
        position: sticky;
        top: 6rem;
        min-height: 25rem;
        border-radius: var(--radius-lg);
        background:
            radial-gradient(circle at 72% 36%, rgba(56, 123, 209, 0.28) 0%, transparent 54%),
            linear-gradient(165deg, #0a1f33 0%, #0d2b4a 100%);
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 14px 30px rgba(8, 22, 38, 0.25);
    }

    .how-flow-brand__robot {
        position: absolute;
        inset: 0;
        background: var(--how-resolutron-art, none) no-repeat center bottom;
        background-size: contain;
        opacity: 0.15;
        filter: grayscale(16%) contrast(1.06);
        animation: how-resolutron-pulse 5.6s ease-in-out infinite;
    }

    .how-flow-brand__robot::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 38%;
        width: 6.5rem;
        height: 4rem;
        transform: translateX(-50%);
        border-radius: 50%;
        background: radial-gradient(circle, rgba(140, 210, 255, 0.34) 0%, transparent 72%);
        filter: blur(9px);
        opacity: 0.58;
    }

    .how-flow-brand__label {
        position: absolute;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        display: grid;
        gap: 0.2rem;
        padding: 0.7rem 0.8rem;
        border-radius: var(--radius);
        background: rgba(6, 17, 30, 0.52);
        backdrop-filter: blur(7px);
        -webkit-backdrop-filter: blur(7px);
        border: 1px solid rgba(255, 255, 255, 0.14);
    }

    .how-flow-brand__label strong {
        color: #fff;
        font-size: 0.92rem;
        letter-spacing: 0.01em;
    }

    .how-flow-brand__label span {
        color: rgba(230, 237, 249, 0.9);
        font-size: 0.76rem;
    }
}

@keyframes how-progress-grow {
    from {
        transform: scaleX(0.1);
        opacity: 0;
    }
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes how-resolutron-pulse {
    0%,
    100% {
        filter: grayscale(16%) contrast(1.06) drop-shadow(0 0 10px rgba(125, 200, 255, 0.15));
        opacity: 0.14;
    }
    50% {
        filter: grayscale(12%) contrast(1.08) drop-shadow(0 0 18px rgba(145, 215, 255, 0.24));
        opacity: 0.18;
    }
}

@media (prefers-reduced-motion: reduce) {
    .how-flow-steps::before,
    .how-flow-brand__robot {
        animation: none;
    }
}

.prose {
    max-width: 46rem;
}

@media (min-width: 1024px) {
    .wrap.prose {
        max-width: none;
    }
}

.prose p {
    margin: 0 0 1rem;
    color: var(--color-text);
}

.prose ul {
    margin: 0 0 1rem 1.25rem;
    color: var(--color-muted);
}

/* Blog */
.blog-index__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
    max-width: none;
}

.blog-index__card {
    padding: 1.25rem 1.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 42, 68, 0.04);
}

.blog-index__meta {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.blog-index__category {
    font-weight: 600;
    color: var(--color-primary);
}

.blog-index__sep {
    margin: 0 0.35rem;
    opacity: 0.55;
}

.blog-index__title {
    margin: 0 0 0.65rem;
    font-size: 1.2rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.blog-index__title a {
    color: var(--color-text);
    text-decoration: none;
}

.blog-index__title a:hover,
.blog-index__title a:focus-visible {
    color: var(--color-primary);
    text-decoration: underline;
}

.blog-index__excerpt {
    margin: 0 0 0.75rem;
    color: var(--color-muted);
    line-height: 1.55;
    font-size: 0.95rem;
}

.blog-index__more {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: none;
}

.blog-index__more:hover,
.blog-index__more:focus-visible {
    text-decoration: underline;
}

.blog-index__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.blog-index__main {
    min-width: 0;
}

.blog-index__sidebar {
    order: -1;
}

@media (min-width: 1024px) {
    .blog-index__layout {
        grid-template-columns: minmax(0, 1fr) minmax(30vw, 420px);
        column-gap: 2rem;
    }

    .blog-index__main {
        order: 1;
    }

    .blog-index__sidebar {
        order: 2;
        position: sticky;
        top: 1rem;
    }
}

.blog-index__form-card {
    margin-inline: 0;
}

.blog-article__header {
    padding-bottom: 0.5rem;
}

.blog-article__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.blog-article__main {
    min-width: 0;
}

.blog-article__sidebar {
    order: -1;
}

@media (min-width: 1024px) {
    .blog-article__layout {
        grid-template-columns: minmax(0, 1fr) minmax(30vw, 420px);
        column-gap: 2rem;
    }

    .blog-article__main {
        order: 1;
        max-width: 46rem;
    }

    .blog-article__sidebar {
        order: 2;
        position: sticky;
        top: 1rem;
    }
}

.blog-article__meta {
    margin: 0 0 0.65rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.blog-article__category {
    font-weight: 600;
    color: var(--color-primary);
}

.blog-article__sep {
    margin: 0 0.35rem;
    opacity: 0.55;
}

.blog-article__body.prose h2 {
    margin: 2rem 0 0.75rem;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.blog-article__body.prose h2:first-child {
    margin-top: 0;
}

.blog-article__cta--inline {
    margin-top: 2.25rem;
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
    text-align: center;
    z-index: 1;
}

.blog-article__related {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    max-width: 46rem;
}

.blog-article__related-title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    color: var(--color-primary);
}

.blog-article__related-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--color-muted);
}

.blog-article__related-list a {
    color: var(--color-primary);
    font-weight: 600;
}

.blog-article__cta--inline h2,
.blog-article__cta--inline p,
.blog-article__cta--inline .eyebrow {
    text-align: center;
}

.blog-article__form-card {
    margin-inline: 0;
}

.benefits-list li {
    margin-bottom: 0.35rem;
}

/* Contacto: hero de marca + formulario */
@keyframes contact-resolutron-pulse {
    0%,
    100% {
        opacity: 0.32;
        filter: grayscale(10%) contrast(1.05) drop-shadow(0 0 10px rgba(130, 190, 255, 0.18));
        transform: scale(1);
        transform-origin: right bottom;
    }

    50% {
        opacity: 0.4;
        filter: grayscale(6%) contrast(1.08) drop-shadow(0 0 26px rgba(150, 210, 255, 0.38));
        transform: scale(1.045);
        transform-origin: right bottom;
    }
}

.contact-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at right center, #1f4b8f 0%, #0b2d63 40%, #081f47 100%);
    padding: 2.25rem 0 3rem;
    border-bottom: none;
}

.contact-hero::before {
    content: "";
    position: absolute;
    right: 8%;
    top: 12%;
    width: min(420px, 58vw);
    height: min(420px, 58vw);
    background: radial-gradient(circle, rgba(60, 130, 220, 0.35) 0%, transparent 68%);
    filter: blur(42px);
    pointer-events: none;
    z-index: 0;
}

.contact-hero::after {
    content: "";
    position: absolute;
    right: 3%;
    bottom: 0;
    top: clamp(4.75rem, 11vw, 9rem);
    width: min(64%, 800px);
    height: auto;
    background: var(--contact-hero-art) no-repeat right bottom;
    background-size: contain;
    opacity: 0.35;
    filter: grayscale(8%) contrast(1.05);
    pointer-events: none;
    z-index: 0;
    transform-origin: right bottom;
    animation: contact-resolutron-pulse 4s ease-in-out infinite;
}

.contact-hero__head {
    position: relative;
    z-index: 1;
    padding-bottom: 0.5rem;
}

.contact-hero h1 {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.65rem;
}

.resolutron-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.contact-layout {
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.contact-layout__main {
    min-width: 0;
}

.contact-layout__accent {
    display: none;
}

.contact-resolutron-copy {
    margin-bottom: 1.1rem;
    max-width: 40rem;
}

.contact-resolutron-heading {
    margin: 0 0 0.5rem;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.contact-resolutron-lead {
    margin: 0;
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.contact-form {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(15, 42, 68, 0.06);
    max-width: min(100%, 50vw);
}

.page-contact .contact-form .form,
.page-contact .contact-form .form--grid {
    max-width: none;
    width: 100%;
}

.contact-legal-note {
    margin: 1.25rem 0 0;
    max-width: min(100%, 50vw);
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
}

.contact-phone-strip {
    background: var(--color-bg-subtle);
    border-top: 1px solid var(--color-border);
}

.contact-phone-strip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.contact-phone-strip__text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-muted);
    font-weight: 600;
}

.contact-phone-strip__tel {
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
        gap: 2rem;
        align-items: start;
    }

    .contact-layout__accent {
        display: block;
        min-height: 1px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 32px 0 2.25rem;
    }

    .contact-hero__head {
        padding-bottom: 0.35rem;
    }

    .contact-hero h1 {
        font-size: clamp(34px, 8vw, 42px);
        line-height: 1.12;
        margin-bottom: 0.45rem;
    }

    .contact-hero__head .resolutron-badge {
        margin-top: 0;
    }

    .contact-layout {
        margin-top: 1rem;
    }

    .contact-resolutron-heading {
        margin-bottom: 0.35rem;
    }

    .contact-resolutron-copy {
        margin-bottom: 0.85rem;
    }

    .contact-hero::after {
        display: none;
    }

    .contact-hero::before {
        opacity: 0.8;
    }

    .contact-form {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-hero::after {
        animation: none;
    }
}

/* Formulario */
.form {
    max-width: 36rem;
}

.form--grid {
    max-width: 52rem;
}

@media (min-width: 768px) {
    .form--grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.25rem;
        row-gap: 0;
        align-items: start;
    }

    .form--grid > .form-row {
        margin-bottom: 1rem;
    }

    .form--grid > .form-row--full {
        grid-column: 1 / -1;
    }
}

.form-row {
    margin-bottom: 1rem;
}

.form-row--actions {
    margin-bottom: 0;
}

.form-captcha-prompt {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
}

.form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--color-primary);
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit;
}

.form textarea {
    min-height: 140px;
    resize: vertical;
}

.form .hint {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-top: 0.25rem;
}

.form .error {
    color: #b91c1c;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.checkbox-row {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.checkbox-row input {
    width: auto;
    margin-top: 0.35rem;
}

.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Footer */
.site-footer {
    background: var(--color-primary);
    color: #e5e7eb;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }
}

.footer-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.75rem;
    color: #9ca3af;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0.5rem 0 0;
    max-width: 16rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2rem;
    padding-top: 1.25rem;
    text-align: center;
}

.footer-legal-short {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0 0 0.5rem;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.footer-intermediary-lead {
    color: #d1d5db;
    font-weight: 600;
}

.copyright {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.footer-credit {
    font-size: 0.75rem;
    color: #8b939e;
    margin: 0.85rem 0 0;
}

.footer-credit a {
    color: #b8c0cc;
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
    color: #e5e7eb;
    text-decoration: underline;
    outline: none;
}

.legal-placeholder {
    border-left: 4px solid var(--color-action);
    padding: 0.75rem 1rem;
    margin: 1.5rem 0;
    background: #eff6ff;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Barra flotante «Llamadme» (Home + Contacto + FAQ…) */
body.page-callback-float {
    padding-bottom: clamp(5.5rem, 14vw, 7rem);
}

@media (max-width: 640px) {
    body.page-callback-float.floating-callback-mobile-dormant {
        padding-bottom: 0.75rem;
    }

    body.page-callback-float:not(.floating-callback-mobile-dormant):not(.floating-callback-sheet-open) {
        padding-bottom: clamp(4.25rem, 12vw, 5.25rem);
    }

    body.page-callback-float.floating-callback-sheet-open {
        padding-bottom: clamp(17rem, 52vh, 26rem);
    }
}

.floating-callback {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 15px 12px;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

@media (max-width: 640px) {
    .floating-callback--toggle-mobile.is-pre-reveal {
        opacity: 0;
        pointer-events: none;
        transform: translateY(8px);
    }
}

.floating-callback__launcher {
    display: none;
    pointer-events: auto;
    margin: 0 auto;
    padding: 0 1.1rem;
    min-height: 44px;
    border: 1px solid rgba(31, 63, 149, 0.35);
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, #fff 0%, #f4f6fb 100%);
    color: var(--color-primary);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
}

.floating-callback__launcher:hover,
.floating-callback__launcher:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    border-color: rgba(31, 63, 149, 0.5);
    outline: none;
}

.floating-callback__sheet {
    width: 100%;
    max-width: 56rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.floating-callback__close {
    display: none;
}

.floating-callback__inner {
    pointer-events: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 0.85rem;
    width: 100%;
    max-width: min(100%, 56rem);
    padding: 0.65rem 1rem 0.65rem 0.75rem;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(15, 42, 68, 0.08);
}

.floating-callback__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(31, 63, 149, 0.18);
}

.floating-callback__question {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}

.floating-callback__form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: min(100%, 14rem);
    justify-content: flex-end;
}

.floating-callback__field {
    flex: 1 1 8rem;
    min-width: 0;
    max-width: 14rem;
}

.floating-callback__input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(15, 42, 68, 0.18);
    border-radius: 999px;
    background: #f8fafc;
    font: inherit;
    font-size: 0.875rem;
}

.floating-callback__input:focus {
    outline: 2px solid rgba(31, 63, 149, 0.35);
    outline-offset: 1px;
    border-color: #1f3f95;
    background: #fff;
}

.floating-callback__submit {
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0.55rem 1.15rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 999px;
    background: #1f3f95 !important;
    color: #fff !important;
    border: none;
    box-shadow: none;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.floating-callback__submit:hover,
.floating-callback__submit:focus-visible {
    background: #16306f !important;
    transform: translateY(-1px);
    outline: none;
}

.floating-callback__feedback {
    width: 100%;
    max-width: 56rem;
    margin: 0.35rem auto 0;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    text-align: center;
    border-radius: var(--radius-sm);
    pointer-events: auto;
}

.floating-callback__feedback.is-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.floating-callback__feedback.is-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 640px) {
    .floating-callback__launcher {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .floating-callback--toggle-mobile.is-expanded .floating-callback__launcher {
        display: none;
    }

    .floating-callback__sheet {
        pointer-events: auto;
        position: relative;
        width: calc(100% - 0px);
        max-width: calc(100vw - 30px);
        margin: 0 auto;
        padding: 0;
    }

    .floating-callback--toggle-mobile:not(.is-expanded) .floating-callback__sheet {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        opacity: 0;
        pointer-events: none;
    }

    .floating-callback--toggle-mobile.is-expanded .floating-callback__sheet {
        position: relative;
        clip: auto;
        width: calc(100% - 0px);
        max-width: calc(100vw - 30px);
        opacity: 1;
        overflow: visible;
    }

    .floating-callback__close {
        display: flex;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 2;
        width: 36px;
        height: 36px;
        margin: 0;
        padding: 0;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 50%;
        background: rgba(15, 42, 68, 0.06);
        color: var(--color-primary);
        font-size: 1.35rem;
        line-height: 1;
        cursor: pointer;
        pointer-events: auto;
        transition: background var(--transition-fast);
    }

    .floating-callback__close:hover,
    .floating-callback__close:focus-visible {
        background: rgba(15, 42, 68, 0.12);
        outline: none;
    }

    .floating-callback--toggle-mobile:not(.is-expanded) .floating-callback__close {
        display: none;
    }

    .floating-callback__inner {
        flex-direction: column;
        align-items: stretch;
        border-radius: var(--radius-lg);
        padding: 20px 44px 20px 20px;
        gap: 0.75rem;
        width: 100%;
        max-width: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    }

    .floating-callback__avatar {
        width: 45px;
        height: 45px;
        align-self: flex-start;
    }

    .floating-callback__question {
        white-space: normal;
        text-align: left;
        width: 100%;
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .floating-callback__form {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: stretch;
        gap: 0.65rem;
    }

    .floating-callback__field {
        max-width: none;
    }

    .floating-callback__input {
        height: 48px;
        font-size: 15px;
        border-radius: var(--radius);
    }

    .floating-callback__submit {
        width: 100%;
        height: 48px;
        text-align: center;
        border-radius: var(--radius);
        font-size: 0.875rem;
    }

    .floating-callback__feedback {
        margin-top: 0.5rem;
        max-width: none;
    }
}

@media (min-width: 641px) {
    .floating-callback__launcher {
        display: none !important;
    }

    .floating-callback__close {
        display: none !important;
    }

    .floating-callback--toggle-mobile:not(.is-expanded) .floating-callback__sheet {
        position: static;
        width: 100%;
        max-width: 56rem;
        opacity: 1;
        clip: auto;
        overflow: visible;
    }

    .floating-callback__sheet {
        align-items: center;
        margin: 0 auto;
    }
}

/* Modal de aceptación de cookies */
body.cookie-modal-open {
    overflow: hidden;
}

.cookie-modal[hidden] {
    display: none;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 22, 38, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.cookie-modal__dialog {
    position: relative;
    width: min(100%, 34rem);
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 42, 68, 0.1);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    padding: 1.1rem 1.1rem 1rem;
}

.cookie-modal__title {
    margin: 0 0 0.45rem;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.cookie-modal__text {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.cookie-modal__text a {
    color: var(--color-action);
    font-weight: 600;
}

.cookie-modal__actions {
    margin-top: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.cookie-modal__btn {
    min-height: 42px;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .cookie-modal {
        align-items: end;
        padding: 0.75rem;
    }

    .cookie-modal__dialog {
        width: 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding: 1rem 0.95rem 0.9rem;
    }

    .cookie-modal__actions {
        justify-content: stretch;
    }

    .cookie-modal__btn {
        width: 100%;
    }
}
