/* =========================================================
   NoblezaPlus — hoja de estilos
   Paleta tomada del logotipo (navy #1d275e / #213a73, azul #3174a0)
   y de las piezas de marca (celeste, fondos azul pálido, arcos).
   ========================================================= */

:root {
    /* Marca */
    --navy-900: #141a45;
    --navy-800: #1b1f56;
    --navy-700: #1d275e;
    --navy-600: #213a73;
    --ink: #183968;
    --blue-600: #1e4e8c;
    --blue-500: #2b78c2;
    --sky-400: #5fb3e0;
    --sky-300: #8ccbec;
    --sky-200: #bfe0f5;
    --sky-100: #dcecf8;
    --sky-50: #eef5fb;

    /* Texto y neutros */
    --body: #3f4a63;
    --muted: #6b7690;
    --line: #d6e2ef;
    --white: #ffffff;

    /* Terceros */
    --wa: #25d366;
    --wa-dark: #1ebe5d;
    --ok: #1f9d55;

    /* Tipografía */
    --font-h: 'Poppins', 'Segoe UI', Arial, sans-serif;
    --font-b: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;

    /* Formas */
    --r-chip: 999px;
    --r-btn: 10px;
    --r-card: 18px;
    --r-hero: 22px;

    /* Movimiento */
    --t-fast: 0.18s ease;
    --t-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* Sombras (teñidas de navy) */
    --sh-sm: 0 2px 8px -2px rgba(27, 31, 86, 0.10);
    --sh-md: 0 12px 28px -10px rgba(27, 31, 86, 0.22);
    --sh-lg: 0 28px 60px -20px rgba(27, 31, 86, 0.35);
    --sh-navy: 0 10px 24px -8px rgba(29, 39, 94, 0.55);

    /* Gradientes de marca */
    --grad-navy: linear-gradient(135deg, #213a73 0%, #1b1f56 100%);
    --grad-band: linear-gradient(100deg, #213a73 0%, #1d275e 55%, #2d5a92 100%);
}

/* ===== UTILIDADES ===== */
.hidden {
    display: none !important;
}

.center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1.5rem;
}

.text-white {
    color: var(--white) !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.82);
}

.text-soft {
    color: var(--sky-200);
}

.text-accent {
    color: var(--blue-500);
}

.bg-white {
    background: var(--white);
}

.bg-light {
    background: var(--sky-50);
}

.bg-navy {
    background: var(--grad-navy);
    color: var(--white);
}

.bg-dark {
    background: var(--navy-900);
    color: var(--white);
}

/* ===== RESET Y BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-b);
    font-size: 1.0625rem;
    color: var(--body);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-h);
    font-weight: 700;
    line-height: 1.18;
    color: var(--ink);
    letter-spacing: -0.01em;
}

p {
    max-width: 68ch;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--t-fast), background-color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

ul {
    list-style: none;
}

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

button {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--sky-400);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--sky-200);
    color: var(--navy-800);
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5.5rem 0;
}

.section-head {
    margin-bottom: 3rem;
}

.section-head.center {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-head.center p {
    margin-left: auto;
    margin-right: auto;
}

.section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

/* Regla corta bajo el título: misma marca que el subrayado de "PLAN" en NobleCard */
.section-head h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: var(--sky-400);
    position: absolute;
    left: 0;
    bottom: 0;
}

.section-head.center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-head p {
    font-size: 1.15rem;
    color: var(--muted);
}

.bg-navy .section-head h2,
.bg-dark .section-head h2 {
    color: var(--white);
}

.bg-navy .section-head p,
.bg-dark .section-head p {
    color: rgba(255, 255, 255, 0.78);
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--r-btn);
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--t-smooth);
    white-space: nowrap;
}

.btn-lg {
    padding: 1rem 1.9rem;
    font-size: 1.02rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--grad-navy);
    color: var(--white);
    box-shadow: var(--sh-navy);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -10px rgba(29, 39, 94, 0.6);
    color: var(--white);
}

.btn-whatsapp {
    background: var(--wa);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: var(--wa-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -8px rgba(37, 211, 102, 0.6);
    color: var(--white);
}

.btn-dark {
    background: var(--navy-700);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--navy-600);
    transform: translateY(-2px);
    box-shadow: var(--sh-navy);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--navy-700);
}

.btn-light:hover {
    background: var(--sky-50);
    transform: translateY(-2px);
    color: var(--navy-700);
}

.btn-ghost {
    background: transparent;
    color: var(--blue-500);
    border-color: var(--sky-200);
}

.btn-ghost:hover {
    background: var(--sky-50);
    border-color: var(--sky-400);
}

/* ===== LOGO (símbolo + palabra) ===== */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    color: var(--navy-700);
}

.logo img {
    height: 44px;
    width: auto;
}

.logo-word {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--navy-700);
}

.logo-word b {
    font-weight: 700;
    color: var(--blue-500);
}

.logo--light {
    color: var(--white);
}

.logo--light img {
    filter: brightness(0) invert(1);
}

.logo--light .logo-word {
    color: var(--white);
}

.logo--light .logo-word b {
    color: var(--sky-400);
}

/* ===== CABECERA ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: border-color var(--t-smooth), box-shadow var(--t-smooth);
}

.header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--sh-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 80px;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-left: auto;
}

.nav-desktop a {
    font-family: var(--font-h);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--ink);
    padding: 0.3rem 0;
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--sky-400);
    transition: width var(--t-smooth);
}

.nav-desktop a:hover {
    color: var(--blue-500);
}

.nav-desktop a:hover::after {
    width: 100%;
}

.nav-desktop .nav-cta {
    font-weight: 600;
    color: var(--blue-500);
}

.header-wa {
    font-size: 0.875rem;
    padding: 0.6rem 1.1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy-700);
    cursor: pointer;
    margin-left: auto;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.mobile-menu-btn:hover {
    background: var(--sky-50);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1.5rem;
    box-shadow: var(--sh-md);
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    padding: 0.9rem 0;
    font-family: var(--font-h);
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.nav-mobile a.btn {
    border-bottom: none;
    margin-top: 1rem;
    color: var(--white);
}

.nav-mobile a:hover {
    color: var(--blue-500);
}

/* ===== HERO ===== */
.hero {
    padding: 8.5rem 0 5rem;
    background: linear-gradient(168deg, var(--sky-50) 0%, #f7fafd 45%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

/* Arcos concéntricos: motivo tomado de las tarjetas NobleCard y las vallas */
.arcs {
    position: absolute;
    pointer-events: none;
    fill: none;
    stroke: var(--sky-200);
    stroke-width: 1.5;
}

.hero .arcs {
    width: 760px;
    height: 760px;
    top: -330px;
    right: -260px;
    opacity: 0.9;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--navy-700);
    border: 1px solid var(--sky-200);
    padding: 0.4rem 0.9rem 0.4rem 0.5rem;
    border-radius: var(--r-chip);
    font-family: var(--font-h);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--sh-sm);
}

.hero-badge img {
    height: 22px;
    width: auto;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4.3vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
    color: var(--navy-800);
    max-width: 14ch;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--body);
    margin-bottom: 1.6rem;
    line-height: 1.6;
    max-width: 52ch;
}

.hero-sub strong {
    color: var(--ink);
    font-weight: 700;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.hero-chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--sky-100);
    color: var(--navy-700);
    padding: 0.4rem 0.9rem;
    border-radius: var(--r-chip);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-chips i {
    font-size: 0.7rem;
    color: var(--blue-500);
}

.hero-cta {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-micro {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 48ch;
}

/* Tarjeta de afiliación (elemento protagonista) */
.hero-visual {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Formato apaisado (proporción tarjeta, ~1.6:1) */
.credential {
    width: 100%;
    max-width: 480px;
    text-align: left;
    background: var(--white);
    border-radius: var(--r-hero);
    box-shadow: var(--sh-lg), 0 0 0 1px rgba(27, 31, 86, 0.06);
    overflow: hidden;
    transform: rotate(-3deg);
    animation: card-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both, float 7s ease-in-out 1s infinite;
    position: relative;
    z-index: 2;
}

/* Tarjeta 01 "Plan Esencial" de la propuesta NobleCard: cara blanca, arco celeste */
.credential .arcs {
    width: 300px;
    height: 300px;
    right: -120px;
    bottom: -165px;
    stroke: var(--sky-200);
    stroke-width: 2;
}

.credential-band {
    background: var(--white);
    padding: 1.1rem 1.6rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.credential-band .logo img {
    height: 30px;
}

.credential-band .logo-word {
    font-size: 1rem;
}

.credential-divider {
    width: 1px;
    height: 26px;
    background: var(--sky-200);
    flex-shrink: 0;
}

.credential-product {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--navy-700);
}

.credential-product b {
    font-weight: 700;
    color: var(--blue-500);
}

.credential-body {
    padding: 0.5rem 1.6rem 1.1rem;
    position: relative;
    z-index: 1;
}

.credential-plan {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sky-200);
    margin-bottom: 0.75rem;
}

.credential-plan-name {
    font-family: var(--font-h);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--navy-700);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
}

.credential-plan-name strong {
    font-weight: 800;
}

.credential-plan-icon {
    width: 44px;
    height: 26px;
    stroke: var(--sky-400);
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    flex-shrink: 0;
}

.credential-name {
    font-family: var(--font-h);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

/* Datos en dos columnas para que la tarjeta quede apaisada */
.credential-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1.25rem;
    margin-bottom: 0.85rem;
}

.credential-rows div {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.5rem;
    align-items: baseline;
}

.credential-rows dt {
    font-size: 0.88rem;
    color: var(--body);
}

.credential-rows dd {
    font-family: var(--font-h);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.03em;
}

.credential-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

.credential-foot svg {
    height: 26px;
    width: 120px;
    stroke: var(--sky-400);
    fill: none;
    stroke-width: 2.2;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.credential-foot span {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}

.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 1.1rem;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--sh-md);
    border: 1px solid rgba(27, 31, 86, 0.06);
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--navy-700);
    z-index: 3;
    animation: badge-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.float-badge i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--sky-100);
    color: var(--blue-500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.float-badge-1 {
    top: 4%;
    right: -2%;
    animation-delay: 0.35s;
}

.float-badge-2 {
    bottom: 4%;
    left: -2%;
    animation-delay: 0.5s;
}

@keyframes card-in {
    from {
        opacity: 0;
        transform: translateY(26px) rotate(-3deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(-3deg);
    }
}

@keyframes badge-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-10px) rotate(-3deg);
    }
}

/* ===== QUIÉNES SOMOS (dos columnas) ===== */
.two-col {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
}

.info-side h2 {
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    margin-bottom: 1.1rem;
}

.info-side p {
    margin-bottom: 1.1rem;
}

.info-side p strong {
    color: var(--ink);
}

.trust-seals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1.75rem;
}

.seal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--sky-50);
    border: 1px solid var(--sky-100);
    border-radius: 12px;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--navy-700);
}

.seal i {
    font-size: 1.1rem;
    color: var(--blue-500);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

/* Bloque visual: la valla "Tu bienestar, nuestra prioridad" llevada a la web */
.brand-board {
    background: var(--grad-navy);
    border-radius: var(--r-card);
    min-height: 420px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    box-shadow: var(--sh-lg);
    color: var(--white);
}

.brand-board .arcs {
    width: 520px;
    height: 520px;
    right: -200px;
    top: -220px;
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1.5;
}

.brand-board-mark {
    position: relative;
    height: 72px;
    width: auto;
    margin-bottom: auto;
    padding-bottom: 2rem;
    box-sizing: content-box;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.brand-board h3 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    max-width: 12ch;
    margin-bottom: 1rem;
    position: relative;
}

.brand-board h3 em {
    font-style: normal;
    color: var(--sky-300);
}

.brand-board-pulse {
    width: 180px;
    height: 32px;
    stroke: var(--sky-400);
    fill: none;
    stroke-width: 2.4;
    stroke-linejoin: round;
    stroke-linecap: round;
    margin-bottom: 1rem;
}

.brand-board-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
}

.brand-board-values span {
    font-family: var(--font-h);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sky-200);
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--r-chip);
}

/* ===== PARA QUIÉN ===== */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.profile-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    background: var(--white);
    padding: 1.6rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
    text-align: center;
    transition: var(--t-smooth);
}

.profile-item i {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--sky-50);
    color: var(--navy-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--t-smooth);
}

.profile-item:hover {
    border-color: var(--sky-300);
    box-shadow: var(--sh-md);
}

.profile-item:hover i {
    background: var(--navy-700);
    color: var(--white);
}

/* ===== BENEFICIOS: hoja de cobertura ===== */
.coverage-sheet {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3.5rem;
    border-top: 1px solid var(--line);
}

.coverage-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1.1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.coverage-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--sky-100);
    color: var(--blue-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.coverage-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--navy-700);
}

.coverage-item p {
    font-size: 0.98rem;
    color: var(--body);
    line-height: 1.55;
}

.coverage-item p strong {
    color: var(--ink);
}

.coverage-note {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--sky-50);
    border-radius: 14px;
}

.coverage-note p {
    font-family: var(--font-h);
    font-weight: 600;
    color: var(--navy-700);
    font-size: 1rem;
}

.coverage-note p strong {
    color: var(--blue-500);
    font-weight: 800;
    font-size: 1.25rem;
}

/* ===== CÓMO FUNCIONA: pasos unidos por la línea de pulso ===== */
.steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 0.5rem;
}

.step-num {
    width: 64px;
    height: 64px;
    background: var(--white);
    color: var(--navy-700);
    border: 2px solid var(--sky-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    box-shadow: var(--sh-sm);
}

.step-num::after {
    content: attr(data-n);
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--navy-700);
    color: var(--white);
    font-family: var(--font-h);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.step-item h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--navy-700);
}

.step-item p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.5;
}

.step-connector {
    flex: 0 0 64px;
    height: 24px;
    margin-top: 20px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 24'><path d='M0 12h16l6-9 8 18 6-9h28' fill='none' stroke='%235fb3e0' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'/></svg>") center / contain no-repeat;
}

/* ===== RED DE RESPALDO ===== */
.network-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.network-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.4rem 1.25rem;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0.9rem;
    align-items: center;
    transition: var(--t-smooth);
}

.network-item:hover {
    border-color: var(--sky-300);
    box-shadow: var(--sh-sm);
}

.network-item i {
    font-size: 1.35rem;
    color: var(--blue-500);
    text-align: center;
}

.network-item strong {
    display: block;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy-700);
    line-height: 1.25;
}

.network-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.35;
}

/* ===== CENTROS PUNTO MÉDICO ===== */
.centros-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 1.75rem;
}

.centros-head h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.centros-head h2 span {
    color: var(--blue-500);
}

.centros-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.centros-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--sky-50);
    border: 1px solid var(--sky-100);
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.centros-meta i {
    color: var(--blue-500);
}

.centros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    overflow: hidden;
    background: var(--white);
}

.centros-col {
    padding: 1.6rem 1.75rem;
    border-right: 1px solid var(--line);
}

.centros-col:last-child {
    border-right: none;
}

.centros-col-split .zona-block:first-child {
    margin-bottom: 2rem;
}

.zona-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem 0.35rem 0.6rem;
    border-radius: var(--r-chip);
    background: var(--navy-700);
    color: var(--white);
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.9rem;
}

.zona-badge b {
    background: var(--sky-400);
    color: var(--navy-800);
    font-size: 0.75rem;
    min-width: 24px;
    height: 24px;
    padding: 0 0.4rem;
    border-radius: var(--r-chip);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.centros-list li {
    color: var(--body);
    font-size: 0.95rem;
    padding: 0.3rem 0;
    line-height: 1.45;
    border-bottom: 1px dashed var(--sky-100);
}

.centros-list li:last-child {
    border-bottom: none;
}

.centros-list li strong {
    color: var(--ink);
    font-weight: 600;
}

/* ===== REGISTRO ===== */
.registro {
    position: relative;
    overflow: hidden;
}

.registro .arcs {
    width: 680px;
    height: 680px;
    left: -300px;
    bottom: -360px;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1.5;
}

.registro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.registro-copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.registro-copy > p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.75rem;
}

.registro-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.registro-points li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.9);
}

.registro-points i {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--sky-300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.registro-points strong {
    display: block;
    font-family: var(--font-h);
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
}

.registro-points span {
    font-size: 0.95rem;
}

.form-card {
    background: var(--white);
    border-radius: var(--r-card);
    padding: 2.25rem;
    box-shadow: var(--sh-lg);
}

/* Página de registro independiente (registro.html) */
.registro-page {
    padding-top: 9.5rem;
    min-height: 70vh;
}

.registro-page .form-wrapper {
    max-width: 640px;
    margin: 0 auto;
}

.form-step-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--sky-100);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--navy-700);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    margin-bottom: 1.1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-btn);
    font-family: var(--font-b);
    font-size: 1rem;
    color: var(--navy-800);
    background: var(--sky-50);
    transition: var(--t-fast);
}

.form-group input::placeholder {
    color: #9aa6bd;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(43, 120, 194, 0.14);
}

textarea {
    resize: vertical;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.9rem;
    text-align: center;
}

.success-msg {
    text-align: center;
    padding: 1.5rem 0.5rem;
}

.success-icon {
    font-size: 3.5rem;
    color: var(--ok);
    margin-bottom: 1rem;
}

.success-msg h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.success-msg p {
    margin: 0 auto;
}

/* ===== CONTACTO DIRECTO ===== */
.contact-card {
    background: var(--grad-navy);
    border-radius: var(--r-card);
    padding: 3.5rem 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

.contact-card .arcs {
    width: 520px;
    height: 520px;
    right: -200px;
    top: -240px;
    stroke: rgba(255, 255, 255, 0.14);
    stroke-width: 1.5;
}

.contact-card > *:not(.arcs) {
    position: relative;
    z-index: 1;
}

.contact-card h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.contact-card p {
    margin: 0 auto 1.75rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
}

.alt-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-top: 1.75rem;
}

.alt-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sky-200);
    font-weight: 600;
    font-size: 0.95rem;
}

.alt-contact a:hover {
    color: var(--white);
}

/* ===== PREGUNTAS FRECUENTES ===== */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.faq-item:has(.faq-q[aria-expanded="true"]) {
    border-color: var(--sky-300);
    box-shadow: var(--sh-sm);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 1.15rem 1.4rem;
    text-align: left;
    font-family: var(--font-h);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-700);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--t-fast);
}

.faq-q:hover {
    background: var(--sky-50);
}

.faq-q[aria-expanded="true"] {
    color: var(--blue-500);
}

.faq-q i {
    transition: transform var(--t-smooth);
    font-size: 0.8rem;
    flex-shrink: 0;
    color: var(--sky-400);
}

.faq-q[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-a {
    display: none;
    padding: 0 1.4rem 1.25rem;
    color: var(--body);
    font-size: 1rem;
    line-height: 1.65;
}

.faq-a strong {
    color: var(--ink);
}

/* ===== PIE ===== */
.footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.72);
    padding-top: 4rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1.1rem;
    font-size: 1rem;
    max-width: 34ch;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a,
.footer-contact-col a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
}

.footer-contact-col i {
    color: var(--sky-400);
    width: 18px;
    text-align: center;
}

.footer-links a:hover,
.footer-contact-col a:hover {
    color: var(--white);
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-legal-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.footer-legal-inner p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 auto;
}

.legal-note {
    max-width: 620px;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.footer-legal-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-legal-links a:hover {
    color: var(--white);
}

/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 58px;
    height: 58px;
    background: var(--wa);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 22px -6px rgba(37, 211, 102, 0.6);
    z-index: 999;
    transition: var(--t-smooth);
}

.wa-float:hover {
    transform: scale(1.08);
    color: var(--white);
}

/* ===== APARICIÓN AL HACER SCROLL ===== */
[data-aos] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-aos] {
        opacity: 1;
        transform: none;
    }

    .credential {
        animation: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content h1,
    .hero-sub,
    .hero-micro {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-chips,
    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
        min-height: 0;
        padding: 1.5rem 0;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .brand-board {
        min-height: 340px;
    }

    .profiles-grid,
    .network-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-row {
        flex-wrap: wrap;
        gap: 1.5rem 0;
    }

    .step-item {
        flex: 1 1 30%;
    }

    .step-connector {
        display: none;
    }

    .centros-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .centros-col:nth-child(2) {
        border-right: none;
    }

    .centros-col:nth-child(1),
    .centros-col:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .centros-col:nth-child(3) {
        grid-column: 1 / -1;
    }

    .registro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-desktop,
    .header-wa {
        display: none;
    }

    .header-inner {
        height: 68px;
        justify-content: space-between;
    }

    .logo img {
        height: 38px;
    }

    .logo-word {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .hero {
        padding: 6.5rem 0 3.5rem;
    }

    .hero .arcs {
        width: 420px;
        height: 420px;
        top: -200px;
        right: -180px;
    }

    .hero-content h1 {
        max-width: none;
    }

    .hero-sub {
        font-size: 1.1rem;
    }

    .hero-visual {
        padding: 1rem 0 0.5rem;
    }

    .credential {
        transform: rotate(0);
        animation: none;
        max-width: 420px;
    }

    .float-badge {
        display: none;
    }

    .section {
        padding: 3.75rem 0;
    }

    .section-head {
        margin-bottom: 2rem;
    }

    .brand-board {
        padding: 2rem 1.5rem;
        min-height: 300px;
    }

    .brand-board-mark {
        height: 56px;
    }

    .trust-seals {
        grid-template-columns: 1fr;
    }

    .coverage-sheet {
        grid-template-columns: 1fr;
    }

    .steps-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .step-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 1rem;
        padding: 0;
    }

    .step-num {
        flex-shrink: 0;
        width: 54px;
        height: 54px;
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .step-connector {
        display: block;
        flex: 0 0 auto;
        width: 24px;
        height: 44px;
        margin: 0.25rem 0 0.25rem 15px;
        transform: rotate(90deg);
        transform-origin: 12px 12px;
        background-size: 44px 24px;
    }

    .centros-grid {
        grid-template-columns: 1fr;
    }

    .centros-col {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .centros-col:last-child {
        border-bottom: none;
    }

    .form-card {
        padding: 1.6rem 1.25rem;
    }

    .registro-page {
        padding-top: 7rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-brand p {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .profiles-grid,
    .network-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .profile-item {
        padding: 1.2rem 0.6rem;
        font-size: 0.82rem;
    }

    .network-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

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

    .credential-band {
        flex-wrap: wrap;
        gap: 0.5rem 0.7rem;
    }

    /* En teléfono: etiqueta sobre valor, en dos columnas, para mantener el formato apaisado */
    .credential-rows {
        gap: 0.5rem 1rem;
    }

    .credential-rows div {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }

    .credential-rows dt {
        font-size: 0.78rem;
    }
}
