/* ============================================================================
   Portal PQRSF · Fitness People · v3 (2026-11)
   ----------------------------------------------------------------------------
   Réplica del sitio fitnesspeoplecolombia.com: fondo negro, Montserrat,
   títulos 900 en mayúsculas con la palabra clave en lima, cabecera negra
   translúcida, campos gris oscuro con línea clara abajo y tarjeta de resumen
   clara (como la compra de un plan). Siempre oscuro: no usa el tema de gestión.

   Ajustes de legibilidad frente al sitio (personas mayores):
   - nada por debajo de 14 px; campos de 46 px en vez de 34 px;
   - etiquetas, ayudas y textos largos en minúscula normal; las mayúsculas
     quedan para títulos, menú, botones y antetítulos, como en el sitio;
   - ayudas en texto bajo el campo en lugar de ejemplos dentro del campo.
   Contrastes medidos sobre #000 salvo que se diga otra cosa.
   ============================================================================ */

:root {
    color-scheme: dark;

    --p-negro: #000000;
    --p-fondo-2: #0d0d0d;            /* bandas alternas */
    --p-panel: #141414;              /* paneles de consulta y respuesta */
    --p-tarjeta: #1c1c1c;            /* tarjeta del formulario de consulta (como el Free Pass) */
    --p-campo: #3c3c3c;              /* campo del sitio; texto blanco 11,0:1 */
    --p-campo-hover: #454545;
    --p-campo-linea: #ededed;        /* línea inferior del campo; sobre #000 18:1 */
    --p-linea: #2e2e2e;              /* separadores */
    --p-linea-2: #4a4a4a;            /* bordes de opciones: 3,1:1 sobre #141414 no aplica (decorativo) */
    --p-guia: rgba(255, 255, 255, .35); /* línea vertical de los pasos */
    --p-texto: #ffffff;
    --p-texto-2: rgba(255, 255, 255, .78); /* 14,6:1 */
    --p-texto-3: rgba(255, 255, 255, .62); /* 9,0:1 */
    --p-placeholder: #b8b8b8;        /* sobre #3c3c3c: 5,3:1 */
    --p-lima: var(--fp-lima);        /* sobre #000: 18,3:1 */
    --p-lima-hover: #f1ff80;
    --p-claro: #f4f4f4;              /* tarjeta de resumen del sitio */
    --p-claro-linea: #d6d6d6;
    --p-error: #ff8a8a;              /* sobre #000: 8,4:1 */
    --p-error-claro: #b42318;        /* sobre #f4f4f4: 6,0:1 */
    --p-aviso: #ffd166;
    --p-ok: #8ef0a4;
    --p-radio: 10px;
    --p-ancho: 1170px;
    --p-cab: 80px;
    --p-foco: 0 0 0 3px #000, 0 0 0 6px var(--p-lima);
    --p-font: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--p-cab) + 16px); }

body.fp-body {
    margin: 0;
    min-height: 100vh;
    overflow-x: clip;
    background: var(--p-negro);
    color: var(--p-texto);
    font-family: var(--p-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.fp-sin-scroll { overflow: hidden; }

a { color: var(--p-lima); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--p-lima-hover); }

:focus-visible { outline: 3px solid var(--p-lima); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--p-font); }

/* El atributo hidden debe ganarle a los display:flex/grid de los componentes (motivos en cascada, encuesta). */
[hidden], .fp-check[hidden], .fp-motivos[hidden], .fp-panel[hidden], .fp-paso[hidden], .fp-campo[hidden] { display: none !important; }
.fp-oculto { display: none !important; }

/* Oculto a la vista pero disponible para teclado y lector de pantalla. */
.fp-sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fp-saltar {
    position: absolute;
    left: -10000px;
    top: 8px;
    z-index: 60;
    padding: 10px 16px;
    border-radius: var(--p-radio);
    background: var(--p-lima);
    color: #0d0d0d;
    font-weight: 800;
}
.fp-saltar:focus { left: 16px; }

/* ================================================================ cabecera */
.fp-cab {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(0, 0, 0, .72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.fp-cab-in {
    max-width: var(--p-ancho);
    min-height: var(--p-cab);
    margin: 0 auto;
    padding: 5px 16px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.fp-marca { display: inline-flex; align-items: center; flex: none; }
.fp-logo-img { display: block; height: 40px; width: auto; }

.fp-tabs {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}
.fp-tab {
    position: relative;
    padding: 6px 0;
    color: var(--p-texto);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
}
.fp-tab::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--p-lima);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.fp-tab:hover { color: var(--p-lima); }
.fp-tab:hover::after,
.fp-tab.activo::after { transform: scaleX(1); }
.fp-tab.activo { color: var(--p-lima); }

.fp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 10px 20px;
    border: 2px solid var(--p-lima);
    border-radius: var(--p-radio);
    background: var(--p-lima);
    color: #0d0d0d;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease;
}
.fp-cta:hover { color: #0d0d0d; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(227, 255, 0, .55); }

.fp-menu-btn {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: transparent;
    color: var(--p-texto);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.fp-menu-btn:hover { border-color: var(--p-lima); color: var(--p-lima); }

/* Menú lateral (teléfono y tableta) */
.fp-menu { position: fixed; inset: 0; z-index: 50; }
.fp-menu-velo {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .2s ease;
}
.fp-menu-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(360px, 86vw);
    padding: 20px 30px 30px;
    background: #141414;
    border-left: 1px solid var(--p-linea);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .2s ease;
}
.fp-menu.abierto .fp-menu-velo { opacity: 1; }
.fp-menu.abierto .fp-menu-panel { transform: none; }
.fp-menu-cerrar {
    align-self: flex-end;
    width: 44px;
    height: 44px;
    border: 1px solid var(--p-lima);
    border-radius: 50%;
    background: transparent;
    color: var(--p-lima);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.fp-menu-tit {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 36px 0 12px;
    color: var(--p-lima);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.fp-menu-tit::after { content: ""; flex: 1; height: 1px; background: var(--p-linea); }
.fp-menu-panel > a:not(.fp-cta) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    border-bottom: 1px solid var(--p-linea);
    color: var(--p-texto);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-decoration: none;
}
.fp-menu-panel > a:not(.fp-cta)::after { content: "→"; color: var(--p-lima); font-weight: 700; }
.fp-menu-panel > a[aria-current="page"] { color: var(--p-lima); }
.fp-menu-sub {
    margin: auto 0 12px;
    padding-top: 28px;
    color: var(--p-texto-3);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.fp-cta-bloque { width: 100%; min-height: 50px; }

/* ================================================================ cuerpo */
.fp-main {
    position: relative;
    max-width: var(--p-ancho);
    margin: 0 auto;
    padding: 0 16px 70px;
}
.fp-main:focus { outline: none; }

/* Antetítulo: línea lima + texto en mayúsculas espaciadas (.fpp-kicker del sitio). */
.fp-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 14px;
    color: var(--p-lima);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.fp-eyebrow > span { display: inline-block; width: 46px; height: 2px; background: var(--p-lima); }

.fp-lime { color: var(--p-lima); }
.fp-req { color: var(--p-error); font-weight: 700; }

/* Banda superior con foto, como «¡Compra tu plan ahora!» del sitio. */
.fp-hero {
    position: relative;
    margin: 0 calc(50% - 50vw) 56px;
    padding: 90px 16px 80px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .78) 60%, #000 100%),
        url("../img/fitness-login.jpg") center 35% / cover no-repeat;
}
.fp-hero .fp-eyebrow { justify-content: center; }
.fp-hero .fp-eyebrow::after { content: ""; display: inline-block; width: 46px; height: 2px; background: var(--p-lima); }
.fp-hero h1 {
    max-width: 980px;
    margin: 0;
    color: var(--p-texto);
    font-size: clamp(2.25rem, 6.2vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-wrap: balance;
}
.fp-intro {
    max-width: 640px;
    margin: 18px auto 0;
    color: var(--p-texto-2);
    font-size: 17px;
    font-weight: 500;
}

/* Título de sección grande (.fpp-title del sitio). */
.fp-titulo {
    margin: 0 0 32px;
    color: var(--p-texto);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ================================================================ avisos */
.fp-alerta,
.fp-aviso,
.fp-importante {
    margin: 0 0 22px;
    padding: 16px 20px;
    border: 1px solid;
    border-radius: var(--p-radio);
    font-size: 15px;
    line-height: 1.55;
}
.fp-importante { border-color: var(--p-lima); color: var(--p-texto); }
.fp-importante > b { color: var(--p-lima); }
.fp-alerta { border-color: var(--p-error); background: rgba(255, 138, 138, .08); color: var(--p-texto); }
.fp-alerta > b { display: block; margin-bottom: 6px; color: var(--p-error); }
.fp-alerta ul { margin: 0; padding-left: 20px; }
.fp-alerta a { color: var(--p-texto); }
.fp-alerta-txt { margin: 8px 0 0; }
.fp-alerta:focus { outline: 3px solid var(--p-error); outline-offset: 2px; }
.fp-aviso-info { border-color: var(--p-lima); }
.fp-aviso-ok { border-color: var(--p-ok); background: rgba(142, 240, 164, .07); }
.fp-aviso-ok > b { color: var(--p-ok); }
.fp-aviso-alerta { border-color: var(--p-aviso); background: rgba(255, 209, 102, .07); }
.fp-aviso-alerta > b { color: var(--p-aviso); }

/* ================================================================ pasarela (Radicar) */
.fp-pasarela {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

/* Paso: ícono redondo, título lima y línea vertical que une el contenido (.form_title + .step del sitio). */
.fp-paso { margin: 0 0 10px; }
.fp-paso-cab {
    position: relative;
    min-height: 40px;
    padding-left: 55px;
    margin-bottom: 4px;
}
.fp-paso-ico {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #262626;
    border: 1px solid #3c3c3c;
    color: var(--p-lima);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.fp-paso-cab h2 {
    margin: 0;
    padding-top: 6px;
    color: var(--p-lima);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.15;
}
.fp-paso-cab p { margin: 4px 0 0; color: var(--p-texto-2); font-size: 14px; }
.fp-paso-cuerpo {
    margin: 0 0 0 20px;
    padding: 20px 0 30px 35px;
    border-left: 1px solid var(--p-guia);
}
.fp-paso:last-child .fp-paso-cuerpo { padding-bottom: 6px; }

/* ================================================================ campos */
.fp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
    margin-bottom: 20px;
}
.fp-grid:last-child { margin-bottom: 0; }
.fp-campo { margin-bottom: 20px; min-width: 0; }
.fp-grid > .fp-campo { margin-bottom: 0; }
.fp-campo:last-child { margin-bottom: 0; }

.fp-campo > label,
.fp-label-fila > label,
.fp-label {
    display: block;
    margin: 0 0 6px;
    color: var(--p-texto);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.fp-label-fila { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fp-label-fila > label { margin-bottom: 6px; }
.fp-contador { color: var(--p-texto-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.fp-ayuda { display: block; margin: 6px 0 0; color: var(--p-texto-3); font-size: 14px; line-height: 1.45; }
.fp-label + .fp-ayuda { margin: 0 0 10px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 0;
    border-bottom: 2px solid var(--p-campo-linea);
    border-radius: 0;
    background: var(--p-campo);
    color: var(--p-texto);
    font-family: var(--p-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    transition: background .15s ease, border-color .15s ease;
}
textarea { min-height: 150px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--p-placeholder); opacity: 1; }
input:hover, select:hover, textarea:hover { background: var(--p-campo-hover); }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--p-lima); background: var(--p-campo-hover); }
input:focus-visible, select:focus-visible, textarea:focus-visible { box-shadow: 0 0 0 2px var(--p-lima); }
input:disabled, select:disabled, textarea:disabled { opacity: .55; cursor: not-allowed; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }

select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e3ff00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}
select option, select optgroup { background: #1c1c1c; color: #fff; }

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] { border-bottom-color: var(--p-error); }

.fp-error {
    display: block;
    margin-top: 6px;
    color: var(--p-error);
    font-size: 14px;
    font-weight: 600;
}

/* Casillas y radios nativos con acento lima. */
input[type="checkbox"], input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    flex: none;
    accent-color: var(--p-lima);
    cursor: pointer;
}

/* Opción en tarjeta: motivos y respuestas de la encuesta. */
.fp-check {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--p-linea-2);
    border-radius: var(--p-radio);
    background: var(--p-panel);
    color: var(--p-texto);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.fp-check:hover { border-color: #7a7a7a; }
.fp-check:has(input:checked) { border-color: var(--p-lima); background: rgba(227, 255, 0, .08); }
.fp-check:has(input:focus-visible) { outline: 3px solid var(--p-lima); outline-offset: 2px; }
.fp-check:has(input[aria-invalid="true"]) { border-color: var(--p-error); }

.fp-motivos { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.fp-motivos:focus { outline: none; }
.fp-motivos legend { padding: 0; margin-bottom: 10px; color: var(--p-texto); font-size: 14px; font-weight: 600; }
.fp-motivos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.fp-otro { margin-top: 16px; }

/* Solicitud anónima. */
.fp-toggle {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid var(--p-linea-2);
    border-radius: var(--p-radio);
    background: var(--p-panel);
    cursor: pointer;
}
.fp-toggle input { margin-top: 2px; }
.fp-toggle > span { font-size: 15px; font-weight: 600; }
.fp-toggle small { display: block; margin-top: 2px; color: var(--p-texto-3); font-size: 14px; font-weight: 400; }
.fp-toggle:has(input:checked) { border-color: var(--p-lima); }
.fp-toggle:has(input:focus-visible) { outline: 3px solid var(--p-lima); outline-offset: 2px; }

/* Zona de adjuntos. */
.fp-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 26px 18px;
    border: 2px dashed #5a5a5a;
    border-radius: var(--p-radio);
    background: var(--p-panel);
    color: var(--p-texto);
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.fp-drop:hover, .fp-drop.sobre { border-color: var(--p-lima); background: rgba(227, 255, 0, .05); }
.fp-drop-icon { color: var(--p-lima); }
.fp-drop b { font-size: 15px; font-weight: 700; }
.fp-drop small { color: var(--p-texto-3); font-size: 14px; word-break: break-word; }
.fp-drop:focus-visible,
.fp-drop:has(+ .fp-sr-only:focus-visible) { outline: 3px solid var(--p-lima); outline-offset: 3px; border-color: var(--p-lima); }
.fp-solo-tactil { display: none; }
@media (hover: none) and (pointer: coarse) {
    .fp-solo-puntero { display: none; }
    .fp-solo-tactil { display: inline; }
}
.fp-archivo {
    width: 100%;
    padding: 12px;
    border: 2px dashed #5a5a5a;
    border-radius: var(--p-radio);
    background: var(--p-panel);
    color: var(--p-texto-2);
    font-family: inherit;
    font-size: 14px;
}
.fp-archivo::file-selector-button {
    margin-right: 12px;
    padding: 8px 14px;
    border: 0;
    border-radius: 6px;
    background: var(--p-lima);
    color: #0d0d0d;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

/* Encuesta: un fieldset por pregunta. */
.fp-subtitulo {
    margin: 28px 0 12px;
    color: var(--p-lima);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.fp-pregunta { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; border-radius: var(--p-radio); }
.fp-pregunta:focus { outline: none; }
.fp-pregunta legend { padding: 0; margin-bottom: 10px; color: var(--p-texto); font-size: 15px; font-weight: 600; line-height: 1.45; }
.fp-opciones { display: flex; gap: 10px 12px; flex-wrap: wrap; }
.fp-opciones .fp-check { padding: 10px 16px; }
.fp-pregunta-error { padding: 12px 14px; box-shadow: inset 3px 0 0 var(--p-error); background: rgba(255, 138, 138, .06); }

/* ================================================================ resumen (tarjeta clara) */
.fp-resumen {
    position: sticky;
    top: calc(var(--p-cab) + 20px);
    padding: 22px 20px 20px;
    background: var(--p-claro);
    color: #000;
    color-scheme: light;
}
.fp-res-eti { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.fp-res-tipo { margin: 2px 0 14px; font-size: 24px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.fp-res-datos { margin: 0 0 14px; font-size: 14px; }
.fp-res-datos > div { display: grid; grid-template-columns: 86px 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--p-claro-linea); }
.fp-res-datos dt { font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.fp-res-datos dd { margin: 0; font-weight: 500; word-break: break-word; }
.fp-res-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px 0;
    border-top: 2px solid #000;
    border-bottom: 1px solid var(--p-claro-linea);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}
.fp-res-total b { font-size: 20px; font-weight: 800; white-space: nowrap; }
.fp-acepta {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}
.fp-acepta input { margin-top: 1px; accent-color: #000; }
.fp-acepta a { color: #000; font-weight: 700; }
.fp-acepta a:hover { color: #000; text-decoration-thickness: 2px; }
.fp-resumen .fp-req { color: var(--p-error-claro); }
.fp-resumen .fp-error { color: var(--p-error-claro); margin: 0 0 8px; }
.fp-resumen :focus-visible { outline-color: #000; }
.fp-resumen .fp-nota { margin: 10px 0 0; color: #333; font-size: 14px; text-align: center; }
.fp-resumen .fp-btn { margin-top: 14px; background: #000; border-color: #000; color: var(--p-lima); }
.fp-resumen .fp-btn:hover { background: #1a1a1a; color: var(--p-lima); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .6); }

/* ================================================================ botones */
.fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 26px;
    border: 2px solid var(--p-lima);
    border-radius: var(--p-radio);
    background: var(--p-lima);
    color: #0d0d0d;
    font-family: var(--p-font);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.fp-btn:hover { color: #0d0d0d; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(227, 255, 0, .55); }
.fp-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fp-btn-full { width: 100%; }
.fp-btn-sec { background: transparent; color: var(--p-lima); }
.fp-btn-sec:hover { background: var(--p-lima); color: #0d0d0d; }
.fp-btn:disabled,
.fp-btn[aria-disabled="true"] { background: #3c3c3c; border-color: #3c3c3c; color: #bdbdbd; cursor: not-allowed; transform: none; box-shadow: none; }
.fp-btn.enviando { position: relative; color: transparent !important; pointer-events: none; }
.fp-btn.enviando::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px; height: 18px;
    border: 2px solid #0d0d0d;
    border-right-color: transparent;
    border-radius: 50%;
    animation: fp-giro .7s linear infinite;
}
.fp-btn-sec.enviando::after,
.fp-resumen .fp-btn.enviando::after { border-color: var(--p-lima); border-right-color: transparent; }
@keyframes fp-giro { to { transform: rotate(360deg); } }

.fp-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.fp-nota { color: var(--p-texto-3); font-size: 14px; }

.fp-enlace {
    padding: 0;
    border: 0;
    background: none;
    color: var(--p-lima);
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.fp-enlace:hover { color: var(--p-lima-hover); }
.fp-encuesta-enlace { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; }

/* ================================================================ paneles (Consultar, Radicada, Encuesta, Política) */
.fp-panel {
    max-width: 860px;
    margin: 0 auto 24px;
    padding: 28px;
    border: 1px solid var(--p-linea);
    border-radius: 12px;
    background: var(--p-panel);
}
.fp-panel-cab { margin-bottom: 20px; }
.fp-panel-cab h2 {
    margin: 0;
    color: var(--p-lima);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
}
.fp-panel-cab p { margin: 6px 0 0; color: var(--p-texto-2); font-size: 15px; }

/* Tarjeta del formulario de consulta: como la del Free Pass (borde lima, título centrado). */
.fp-tarjeta {
    max-width: 620px;
    padding: 34px 32px 30px;
    border-color: var(--p-lima);
    background: var(--p-tarjeta);
}
.fp-tarjeta .fp-panel-cab { text-align: center; }
.fp-tarjeta .fp-panel-cab h2 { font-size: 30px; }
.fp-tarjeta .fp-btn { margin-top: 8px; }
.fp-tarjeta + .fp-alerta,
.fp-tarjeta ~ .fp-aviso { max-width: 860px; margin-left: auto; margin-right: auto; }
.fp-main > .fp-alerta,
.fp-main > .fp-aviso { max-width: 860px; margin-left: auto; margin-right: auto; }
.fp-pasarela ~ .fp-alerta { max-width: none; }
.fp-main > .fp-acciones { max-width: 860px; margin-left: auto; margin-right: auto; }

.fp-dato {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 6px 20px;
    padding: 14px 0;
    border-top: 1px solid var(--p-linea);
}
.fp-dato-lbl { color: var(--p-texto-3); font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.fp-dato-val { color: var(--p-texto); font-size: 16px; font-weight: 600; }
.fp-dato-val small { display: block; margin-top: 2px; color: var(--p-texto-3); font-size: 14px; font-weight: 400; }

.fp-estado {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--p-lima);
    color: #0d0d0d;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.fp-estado-cerrada { background: #3c3c3c; color: #fff; }

.fp-respuesta {
    padding: 16px 18px;
    border-left: 3px solid var(--p-lima);
    background: #0d0d0d;
    color: var(--p-texto);
    font-size: 16px;
    line-height: 1.65;
    white-space: pre-wrap;
}
.fp-requerimiento { margin-bottom: 14px; border-left-color: var(--p-aviso); }
.fp-aporte { margin-top: 20px; }
.fp-documentos { margin: 0; padding: 0; list-style: none; }
.fp-documentos li { padding: 10px 0; border-bottom: 1px solid var(--p-linea); }
.fp-documentos li:last-child { border-bottom: 0; }
.fp-documentos small { margin-left: 8px; color: var(--p-texto-3); font-size: 14px; }

/* Radicada: radicado y clave en tarjeta clara, como el precio del plan. */
.fp-caja {
    max-width: 620px;
    margin: 0 auto 24px;
    padding: 26px 28px;
    background: var(--p-claro);
    color: #000;
    text-align: center;
    color-scheme: light;
}
.fp-caja-lbl { margin-top: 6px; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.fp-caja-lbl ~ .fp-caja-lbl { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--p-claro-linea); }
.fp-caja-num { font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 900; letter-spacing: 1px; line-height: 1.2; word-break: break-word; }
.fp-caja-clave { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; letter-spacing: 3px; }
.fp-btn.fp-btn-copiar {
    min-height: 42px;
    margin-top: 10px;
    padding: 8px 18px;
    border-color: #000;
    background: #000;
    color: var(--p-lima);
    font-size: 14px;
}
.fp-btn.fp-btn-copiar:hover { background: #1a1a1a; color: var(--p-lima); }
.fp-caja :focus-visible { outline-color: #000; }

/* Política */
.fp-politica h2 { margin: 26px 0 10px; color: var(--p-lima); font-size: 20px; font-weight: 800; }
.fp-politica h2:first-child { margin-top: 0; }
.fp-politica p, .fp-politica li { color: var(--p-texto-2); font-size: 15px; }

/* ================================================================ preguntas frecuentes */
.fp-dudas { background: var(--p-fondo-2); border-top: 1px solid var(--p-linea); }
.fp-dudas-in { max-width: var(--p-ancho); margin: 0 auto; padding: 80px 16px; }
.fp-faq { max-width: 900px; }
.fp-faq details { border-bottom: 1px solid var(--p-linea); }
.fp-faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 14px 0;
    color: var(--p-texto);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.fp-faq summary::-webkit-details-marker { display: none; }
.fp-faq summary::after {
    content: "+";
    flex: none;
    width: 34px;
    height: 34px;
    border: 1px solid var(--p-lima);
    border-radius: 50%;
    color: var(--p-lima);
    font-size: 22px;
    font-weight: 500;
    line-height: 31px;
    text-align: center;
    transition: transform .2s ease;
}
.fp-faq details[open] summary::after { transform: rotate(45deg); }
.fp-faq summary:hover { color: var(--p-lima); }
.fp-faq p { margin: 0 0 20px; color: var(--p-texto-2); font-size: 15px; max-width: 760px; }

/* ================================================================ pie */
.fp-pie { background: #1a1a1a; color: var(--p-texto); }
.fp-pie-in {
    max-width: var(--p-ancho);
    margin: 0 auto;
    padding: 45px 16px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 30px 40px;
}
.fp-pie-logo { display: block; height: 32px; width: auto; }
.fp-redes { display: flex; gap: 10px; margin-top: 18px; }
.fp-redes a {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: #fff;
    color: #242e30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.fp-redes a:hover { background: var(--p-lima); color: #000; }
.fp-pie-tit {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: var(--p-lima);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.fp-pie ul { margin: 0; padding: 0; list-style: none; }
.fp-pie li { margin: 0 0 6px; }
.fp-pie li a { color: var(--p-texto); font-size: 14px; text-decoration: none; }
.fp-pie li a:hover { color: var(--p-lima); text-decoration: underline; }
.fp-pie p { margin: 0; color: var(--p-texto-2); font-size: 14px; line-height: 1.6; }
.fp-pie-copy {
    margin: 0;
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #111;
    color: var(--p-texto-3) !important;
    font-size: 14px;
    text-align: center;
}

/* ================================================================ animación */
@media (prefers-reduced-motion: no-preference) {
    .fp-paso, .fp-panel, .fp-resumen, .fp-caja { animation: fp-entra .35s ease both; }
    @keyframes fp-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ================================================================ responsive */
@media (max-width: 1000px) {
    .fp-pasarela { grid-template-columns: 1fr; }
    .fp-resumen { position: static; max-width: 620px; }
}
@media (max-width: 900px) {
    .fp-tabs, .fp-cab-in > .fp-cta { display: none; }
    .fp-menu-btn { display: inline-flex; }
    .fp-pie-in { grid-template-columns: 1fr 1fr; }
    .fp-pie-in > .fp-pie-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    :root { --p-cab: 68px; }
    .fp-logo-img { height: 34px; }
    .fp-hero { min-height: 280px; padding: 60px 16px 56px; margin-bottom: 40px; }
    .fp-intro { font-size: 16px; }
    .fp-grid { grid-template-columns: 1fr; gap: 18px; }
    .fp-paso-cuerpo { margin-left: 19px; padding-left: 18px; }
    .fp-paso-cab h2 { font-size: 21px; }
    .fp-panel { padding: 22px 18px; }
    .fp-tarjeta { padding: 26px 18px 22px; }
    .fp-tarjeta .fp-panel-cab h2 { font-size: 24px; }
    .fp-dato { grid-template-columns: 1fr; gap: 2px; }
    .fp-motivos-grid { grid-template-columns: 1fr; }
    .fp-acciones .fp-btn { width: 100%; }
    .fp-dudas-in { padding: 56px 16px; }
    .fp-pie-in { grid-template-columns: 1fr; }
}

/* ================================================================ impresión */
@media print {
    .fp-cab, .fp-menu, .fp-dudas, .fp-pie, .fp-btn, .fp-acciones, .fp-saltar { display: none !important; }
    body.fp-body { background: #fff; color: #111; }
    .fp-hero { min-height: 0; margin: 0 0 16px; padding: 0; background: none; text-align: left; align-items: flex-start; }
    .fp-hero h1, .fp-lime, .fp-eyebrow, .fp-panel-cab h2, .fp-paso-cab h2 { color: #111 !important; }
    .fp-eyebrow > span, .fp-hero .fp-eyebrow::after { background: #111; }
    .fp-intro, .fp-dato-lbl, .fp-dato-val, .fp-dato-val small, .fp-panel-cab p { color: #111; }
    .fp-panel, .fp-caja, .fp-resumen { border: 1px solid #999; background: #fff; color: #111; box-shadow: none; animation: none; }
}
