/* ── FAITE SOCIO: landing, formulario de solicitude e confirmación ──────
   Usa os tokens de templates/public/base.html (--red, --s1..3, --b1/2,
   --t1..3), así que funciona igual en tema escuro e claro. */

.fs-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 5%;
}

.fs-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--font-display);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
}

/* ── HERO ─────────────────────────────────────────────── */
.fs-hero {
    position: relative;
    padding: 150px 0 4.5rem;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(60rem 26rem at 50% -8rem, var(--red-glow), transparent 70%),
        var(--bg);
}

.fs-hero::after {
    /* Rede de mesa de tenis de mesa, moi suave, coma textura de fondo. */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--b1) 1px, transparent 1px),
        linear-gradient(90deg, var(--b1) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
    opacity: .5;
    pointer-events: none;
}

.fs-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 5%;
}

.fs-hero h1 {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.05;
    margin: .9rem 0 1.1rem;
}

.fs-hero h1 em {
    font-style: normal;
    color: var(--red);
}

.fs-hero-lead {
    color: var(--t2);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto;
}

.fs-facts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2.25rem;
}

.fs-fact {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    padding: .65rem 1.1rem;
    border: 1px solid var(--b1);
    border-radius: 999px;
    background: color-mix(in srgb, var(--s1) 80%, transparent);
    backdrop-filter: blur(6px);
    font-size: .85rem;
    color: var(--t2);
}

.fs-fact strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--t1);
}

/* ── SECCIÓNS ─────────────────────────────────────────── */
.fs-section {
    padding: 4.5rem 0;
}

.fs-section-alt {
    background: var(--s1);
    border-top: 1px solid var(--b1);
    border-bottom: 1px solid var(--b1);
}

.fs-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.75rem;
}

.fs-section-head h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.1rem);
    font-weight: 700;
    margin: .5rem 0 .6rem;
}

.fs-section-head p {
    color: var(--t2);
    line-height: 1.75;
}

/* ── TARXETAS DE ELECCIÓN ─────────────────────────────── */
.fs-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 920px;
    margin: 0 auto;
}

.fs-choice {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid var(--b1);
    border-radius: 20px;
    background: linear-gradient(180deg, var(--s1), color-mix(in srgb, var(--s1) 60%, var(--bg)));
    transition: var(--ease);
    overflow: hidden;
}

.fs-choice::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
    opacity: 0;
    transition: var(--ease);
}

.fs-choice:hover {
    border-color: var(--b2);
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}

.fs-choice:hover::before {
    opacity: 1;
}

.fs-choice-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}

.fs-choice-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: var(--red);
    background: var(--red-dim);
    border: 1px solid var(--red-glow);
}

.fs-tag {
    font-size: .74rem;
    font-weight: 600;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: var(--s3);
    color: var(--t2);
}

.fs-choice h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .45rem;
}

.fs-choice > p {
    color: var(--t2);
    font-size: .92rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.fs-checklist {
    display: grid;
    gap: .55rem;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.fs-checklist li {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    font-size: .88rem;
    color: var(--t1);
}

.fs-checklist i {
    color: var(--red);
    margin-top: .25rem;
    font-size: .8rem;
}

.fs-choice-actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.fs-normativa {
    max-width: 920px;
    margin: 1.75rem auto 0;
    text-align: center;
    font-size: .88rem;
    color: var(--t2);
}

.fs-normativa i {
    color: var(--red);
    margin-right: .35rem;
}

.fs-normativa a {
    color: var(--t1);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 3px;
}

/* ── BOTÓNS ───────────────────────────────────────────── */
.fs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .9rem 1.4rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ease);
    text-align: center;
}

.fs-btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 6px 22px rgba(230, 57, 70, .3);
}

.fs-btn-primary:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, .42);
}

.fs-btn-primary i {
    transition: transform .2s ease;
}

.fs-btn-primary:hover i.fa-arrow-right {
    transform: translateX(3px);
}

.fs-btn-ghost {
    background: transparent;
    border-color: var(--b2);
    color: var(--t1);
}

.fs-btn-ghost:hover {
    background: var(--s2);
}

.fs-btn[disabled] {
    opacity: .6;
    cursor: wait;
    transform: none;
}

.fs-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    font-size: .85rem;
    color: var(--t2);
    transition: var(--ease);
}

.fs-link:hover {
    color: var(--t1);
}

.fs-badge-rec {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .2rem .5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, .18);
}

/* ── LIÑA DE TEMPO ────────────────────────────────────── */
.fs-timeline,
.fs-stepper {
    list-style: none;
    padding: 0;
}

.fs-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    counter-reset: paso;
    position: relative;
}

.fs-timeline::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--b2));
}

.fs-timeline li {
    position: relative;
    text-align: center;
    padding: 0 .5rem;
}

.fs-timeline-num {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    background: var(--bg);
    border: 2px solid var(--red);
    color: var(--red);
}

.fs-section-alt .fs-timeline-num {
    background: var(--s1);
}

.fs-timeline li:last-child .fs-timeline-num {
    background: var(--red);
    color: #fff;
}

.fs-timeline h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.fs-timeline p {
    font-size: .85rem;
    color: var(--t2);
    line-height: 1.7;
}

/* ── PAPEL ────────────────────────────────────────────── */
.fs-paper {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2rem;
    align-items: start;
}

.fs-docs {
    display: grid;
    gap: .75rem;
}

.fs-doc {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--b1);
    border-radius: 14px;
    background: var(--s1);
    transition: var(--ease);
}

.fs-doc:hover {
    border-color: var(--b2);
}

.fs-doc-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--s3);
    color: var(--red);
}

.fs-doc-text {
    flex: 1;
    min-width: 0;
}

.fs-doc-text h4 {
    font-size: .92rem;
    font-weight: 700;
}

.fs-doc-text p {
    font-size: .8rem;
    color: var(--t2);
    line-height: 1.55;
}

.fs-doc-actions {
    display: flex;
    gap: .4rem;
    flex-shrink: 0;
}

.fs-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 1px solid var(--b1);
    color: var(--t2);
    transition: var(--ease);
}

.fs-icon-btn:hover {
    color: var(--t1);
    border-color: var(--red);
    background: var(--red-dim);
}

.fs-delivery {
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px dashed var(--b2);
}

.fs-delivery h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.fs-delivery ul {
    display: grid;
    gap: 1rem;
}

.fs-delivery li {
    display: flex;
    gap: .85rem;
    font-size: .88rem;
    color: var(--t2);
    line-height: 1.6;
}

.fs-delivery li i {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--s2);
    color: var(--t1);
}

.fs-delivery strong {
    display: block;
    color: var(--t1);
}

/* ── FORMULARIO ───────────────────────────────────────── */
.fs-form-page {
    padding: 120px 0 5rem;
    background:
        radial-gradient(50rem 20rem at 20% -6rem, var(--red-dim), transparent 70%),
        var(--bg);
}

.fs-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2.5rem;
    align-items: start;
}

.fs-back {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    color: var(--t2);
    margin-bottom: 1.5rem;
}

.fs-back:hover {
    color: var(--t1);
}

.fs-form-head h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.8px;
    margin: .4rem 0 .5rem;
}

.fs-form-head p {
    color: var(--t2);
    line-height: 1.7;
    max-width: 620px;
}

.fs-form-head p a {
    color: var(--red);
    font-weight: 600;
}

/* Barra de pasos */
.fs-stepper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
    margin: 2rem 0 1.5rem;
}

.fs-stepper li {
    position: relative;
}

.fs-stepper button {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--t3);
    font: inherit;
    font-size: .78rem;
    font-weight: 600;
    text-align: left;
    cursor: default;
}

.fs-stepper-bar {
    display: block;
    height: 4px;
    border-radius: 4px;
    background: var(--s3);
    overflow: hidden;
}

.fs-stepper-bar::after {
    content: "";
    display: block;
    height: 100%;
    width: 0;
    background: var(--red);
    transition: width .35s ease;
}

.fs-stepper li.is-done button,
.fs-stepper li.is-active button {
    color: var(--t1);
}

.fs-stepper li.is-done button {
    cursor: pointer;
}

.fs-stepper li.is-done .fs-stepper-bar::after,
.fs-stepper li.is-active .fs-stepper-bar::after {
    width: 100%;
}

.fs-stepper li.is-active .fs-stepper-bar::after {
    background: linear-gradient(90deg, var(--red), color-mix(in srgb, var(--red) 60%, #fff));
}

.fs-stepper-num {
    color: var(--red);
    margin-right: .2rem;
}

.fs-stepper-label {
    display: flex;
    gap: .2rem;
}

/* Tarxeta de cada paso */
.fs-card {
    border: 1px solid var(--b1);
    border-radius: 20px;
    background: var(--s1);
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}

.fs-step {
    border: 0;
    min-width: 0;
}

.fs-step + .fs-step {
    margin-top: 2.25rem;
    padding-top: 2.25rem;
    border-top: 1px solid var(--b1);
}

.js-steps .fs-step {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.js-steps .fs-step.is-active {
    display: block;
    animation: fsStepIn .35s ease;
}

@keyframes fsStepIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fs-step-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .35rem;
}

.fs-step-title i {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--red-dim);
    color: var(--red);
    font-size: .95rem;
}

.fs-step-title h2 {
    font-size: 1.3rem;
    font-weight: 700;
}

.fs-step-intro {
    color: var(--t2);
    font-size: .88rem;
    line-height: 1.7;
    margin-bottom: 1.6rem;
}

.fs-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.1rem 1rem;
}

.fs-col-6 { grid-column: span 6; }
.fs-col-4 { grid-column: span 4; }
.fs-col-3 { grid-column: span 3; }
.fs-col-2 { grid-column: span 2; }

.fs-field label,
.fs-field-legend {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--t1);
    margin-bottom: .45rem;
}

.fs-opt {
    font-weight: 400;
    color: var(--t3);
}

.fs-field input,
.fs-field select,
.fs-field textarea {
    width: 100%;
    padding: .8rem .95rem;
    border-radius: 11px;
    border: 1px solid var(--b2);
    background: var(--bg);
    color: var(--t1);
    font: inherit;
    font-size: .95rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.fs-field textarea {
    resize: vertical;
    min-height: 96px;
}

.fs-field input::placeholder,
.fs-field textarea::placeholder {
    color: var(--t3);
}

.fs-field input:focus,
.fs-field select:focus,
.fs-field textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px var(--red-dim);
}

.fs-field input[type="date"] {
    color-scheme: dark;
}

[data-theme="light"] .fs-field input[type="date"] {
    color-scheme: light;
}

.fs-help {
    display: block;
    margin-top: .4rem;
    font-size: .76rem;
    color: var(--t2);
    line-height: 1.5;
}

.fs-error {
    display: none;
    margin-top: .4rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--red);
}

.fs-error::before {
    content: "\f06a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: .35rem;
}

.is-invalid .fs-error:not(:empty) {
    display: block;
}

.is-invalid input,
.is-invalid select,
.is-invalid textarea {
    border-color: var(--red);
}

/* Botóns segmentados (si/non, sexo, relación) */
.fs-segmented {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.fs-segmented label {
    position: relative;
    margin: 0;
}

.fs-segmented input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fs-segmented span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .7rem 1.1rem;
    border-radius: 11px;
    border: 1px solid var(--b2);
    background: var(--bg);
    font-size: .9rem;
    font-weight: 600;
    color: var(--t2);
    cursor: pointer;
    transition: var(--ease);
}

.fs-segmented span:hover {
    color: var(--t1);
    border-color: var(--t3);
}

.fs-segmented input:checked + span {
    border-color: var(--red);
    background: var(--red-dim);
    color: var(--t1);
}

.fs-segmented input:focus-visible + span {
    box-shadow: 0 0 0 4px var(--red-dim);
}

/* Tarxetas de adestramento */
.fs-plans {
    display: grid;
    gap: .75rem;
}

.fs-plan {
    position: relative;
    display: block;
    margin: 0 !important;
}

.fs-plan input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fs-plan-body {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.2rem;
    border-radius: 14px;
    border: 1px solid var(--b2);
    background: var(--bg);
    cursor: pointer;
    transition: var(--ease);
}

.fs-plan-body:hover {
    border-color: var(--t3);
}

.fs-plan-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--t3);
    position: relative;
    transition: var(--ease);
}

.fs-plan input:checked + .fs-plan-body {
    border-color: var(--red);
    background: var(--red-dim);
}

.fs-plan input:checked + .fs-plan-body .fs-plan-radio {
    border-color: var(--red);
}

.fs-plan input:checked + .fs-plan-body .fs-plan-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--red);
}

.fs-plan input:focus-visible + .fs-plan-body {
    box-shadow: 0 0 0 4px var(--red-dim);
}

.fs-plan-name,
.fs-plan-desc {
    display: block;
}

.fs-plan-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
}

.fs-plan-desc {
    font-size: .82rem;
    color: var(--t2);
    line-height: 1.55;
    margin-top: .15rem;
}

.fs-plan-price {
    text-align: right;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    white-space: nowrap;
}

.fs-plan-price small {
    display: block;
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 500;
    color: var(--t2);
}

/* Autorizacións */
.fs-consents {
    display: grid;
    gap: .85rem;
}

.fs-consent {
    padding: 1.1rem 1.2rem;
    border-radius: 14px;
    border: 1px solid var(--b1);
    background: var(--bg);
}

.fs-consent.is-invalid {
    border-color: var(--red);
}

.fs-consent h3 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .35rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.fs-consent h3 .fs-req {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-dim);
    padding: .12rem .45rem;
    border-radius: 5px;
}

.fs-consent p,
.fs-consent details {
    font-size: .82rem;
    color: var(--t2);
    line-height: 1.65;
    margin-bottom: .8rem;
}

.fs-consent p a {
    color: var(--t1);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fs-consent summary {
    cursor: pointer;
    color: var(--t1);
    font-weight: 600;
}

.fs-consent details p {
    margin: .5rem 0 0;
}

.fs-check {
    display: flex !important;
    align-items: flex-start;
    gap: .75rem;
    margin: 0 !important;
    cursor: pointer;
    font-size: .88rem !important;
    font-weight: 500 !important;
    color: var(--t1) !important;
    line-height: 1.55;
}

.fs-check input {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 7px;
    border: 2px solid var(--t3);
    background: var(--s1);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--ease);
}

.fs-check input::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .7rem;
    color: #fff;
    transform: scale(0);
    transition: transform .15s ease;
}

.fs-check input:checked {
    background: var(--red);
    border-color: var(--red);
}

.fs-check input:checked::after {
    transform: scale(1);
}

.fs-check input:focus-visible {
    box-shadow: 0 0 0 4px var(--red-dim);
}

.fs-consent .fs-error {
    margin-top: .6rem;
}

.fs-declaration {
    background: linear-gradient(135deg, var(--red-dim), transparent);
    border-color: var(--red-glow);
}

/* Avisos */
.fs-alert {
    display: flex;
    gap: .85rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    font-size: .88rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    border: 1px solid;
}

.fs-alert i {
    margin-top: .2rem;
}

.fs-alert ul {
    margin-top: .3rem;
    padding-left: 1rem;
    list-style: disc;
}

.fs-alert-error {
    background: var(--red-dim);
    border-color: var(--red-glow);
    color: var(--t1);
}

.fs-alert-error i {
    color: var(--red);
}

.fs-alert-info {
    background: var(--s2);
    border-color: var(--b1);
    color: var(--t2);
}

.fs-alert-info a {
    color: var(--red);
    font-weight: 600;
}

.fs-inline-alert {
    display: none;
    margin-top: 1rem;
}

.fs-inline-alert.is-visible {
    display: flex;
}

/* Captcha */
.captcha {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    padding: .85rem 1.1rem;
    margin-top: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--b1);
    background: var(--bg);
    font-size: .86rem;
    color: var(--t2);
}

.captcha > i {
    font-size: 1.1rem;
}

.captcha-texto {
    flex: 1;
    min-width: 160px;
}

.captcha-ok > i {
    color: #2fb26a;
}

.captcha-ok .captcha-texto {
    color: var(--t1);
    font-weight: 600;
}

.captcha-erro > i {
    color: var(--red);
}

.captcha button {
    border: 0;
    background: none;
    color: var(--red);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.captcha-marca {
    font-size: .72rem;
    color: var(--t3);
}

.fs-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Navegación entre pasos */
.fs-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--b1);
}

.fs-nav .fs-btn-ghost[hidden],
.fs-nav [hidden] {
    display: none;
}

.fs-nav-spacer {
    flex: 1;
}

.fs-step-counter {
    font-size: .8rem;
    color: var(--t3);
}

/* Columna lateral */
.fs-aside {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 1rem;
}

.fs-summary {
    border: 1px solid var(--b1);
    border-radius: 20px;
    background: var(--s1);
    overflow: hidden;
}

.fs-summary-head {
    padding: 1.3rem 1.4rem;
    background: linear-gradient(135deg, var(--red), var(--red-hover));
    color: #fff;
}

.fs-summary-label {
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .85;
}

.fs-summary-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: .25rem;
}

.fs-summary-price small {
    font-size: .95rem;
    font-weight: 500;
    opacity: .85;
}

.fs-summary-body {
    padding: 1.2rem 1.4rem;
    display: grid;
    gap: .8rem;
    font-size: .85rem;
}

.fs-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--t2);
}

.fs-summary-row strong {
    color: var(--t1);
    text-align: right;
}

.fs-summary-note {
    padding-top: .8rem;
    border-top: 1px solid var(--b1);
    color: var(--t2);
    font-size: .8rem;
    line-height: 1.6;
}

.fs-help-card {
    padding: 1.2rem 1.4rem;
    border-radius: 16px;
    border: 1px dashed var(--b2);
    font-size: .84rem;
    color: var(--t2);
    line-height: 1.6;
}

.fs-help-card h4 {
    font-size: .92rem;
    color: var(--t1);
    margin-bottom: .5rem;
}

.fs-help-card a {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--t1);
    margin-top: .45rem;
    font-weight: 600;
}

.fs-help-card a i {
    color: var(--red);
    width: 1rem;
}

/* ── CONFIRMACIÓN ─────────────────────────────────────── */
.fs-done {
    padding: 140px 0 5rem;
    text-align: center;
    background:
        radial-gradient(40rem 22rem at 50% 0, rgba(47, 178, 106, .14), transparent 70%),
        var(--bg);
}

.fs-done-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    color: #fff;
    background: #2fb26a;
    box-shadow: 0 0 0 10px rgba(47, 178, 106, .15), 0 0 0 22px rgba(47, 178, 106, .07);
    animation: fsPop .55s cubic-bezier(.2, 1.4, .4, 1) both;
}

@keyframes fsPop {
    from {
        transform: scale(.3);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

.fs-done h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: .75rem;
}

.fs-done-lead {
    max-width: 560px;
    margin: 0 auto;
    color: var(--t2);
    line-height: 1.8;
}

.fs-done-lead strong {
    color: var(--t1);
}

.fs-ref {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: 1.5rem;
    padding: .6rem 1.1rem;
    border-radius: 999px;
    background: var(--s1);
    border: 1px solid var(--b1);
    font-size: .85rem;
    color: var(--t2);
}

.fs-ref strong {
    font-family: var(--font-display);
    color: var(--t1);
}

.fs-done .fs-timeline {
    margin-top: 3.5rem;
    text-align: center;
}

.fs-done-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 3rem;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 960px) {
    .fs-form-layout {
        grid-template-columns: 1fr;
    }

    .fs-aside {
        position: static;
        grid-template-columns: 1fr 1fr;
    }

    .fs-paper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .fs-choices {
        grid-template-columns: 1fr;
    }

    .fs-timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }

    .fs-timeline::before {
        top: 0;
        bottom: 0;
        left: 22px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--red), var(--b2));
    }

    .fs-timeline li {
        display: grid;
        grid-template-columns: 46px 1fr;
        column-gap: 1rem;
        text-align: left;
        padding: 0;
    }

    .fs-timeline-num {
        grid-row: span 2;
        margin: 0;
    }

    .fs-done .fs-timeline {
        text-align: left;
    }

    .fs-aside {
        grid-template-columns: 1fr;
    }

    .fs-card {
        padding: 1.4rem 1.1rem;
        border-radius: 16px;
    }

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

    .fs-col-6,
    .fs-col-4,
    .fs-col-3,
    .fs-col-2 {
        grid-column: 1 / -1;
    }

    .fs-stepper-label span:not(.fs-stepper-num) {
        display: none;
    }

    .fs-stepper li.is-active .fs-stepper-label span {
        display: inline;
    }

    .fs-stepper {
        display: flex;
    }

    .fs-stepper li {
        flex: 1;
        min-width: 0;
    }

    .fs-stepper li.is-active {
        flex: 3.5;
    }

    .fs-plan-body {
        grid-template-columns: auto 1fr;
    }

    .fs-plan-price {
        grid-column: 2;
        text-align: left;
    }

    .fs-doc {
        flex-wrap: wrap;
    }

    .fs-step-counter {
        display: none;
    }
}
