/* =========================================================================
   Centro de Idiomas · Inscripciones
   Estilos globales — diseño moderno, limpio y profesional.
   ========================================================================= */

:root {
  --color-primary: #4f46e5;
  --color-primary-dark: #3730a3;
  --color-primary-light: #818cf8;
  --color-accent: #06b6d4;

  --color-success: #16a34a;
  --color-success-bg: #ecfdf3;
  --color-warning: #b45309;
  --color-warning-bg: #fffbeb;
  --color-error: #dc2626;
  --color-error-bg: #fef2f2;

  --color-ink: #101323;
  --color-ink-soft: #4b4f6b;
  --color-muted: #6b7280;
  --color-surface: #ffffff;
  --color-surface-soft: #f7f8fc;
  --color-border: #e4e6f1;

  --font-heading: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-soft: 0 20px 45px -20px rgba(31, 41, 89, 0.35);
  --shadow-card: 0 30px 60px -30px rgba(28, 32, 68, 0.45);
}

* {
  box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html,
body {
  height: 100%;
}

body {
    margin: 0;

    font-family: var(--font-body);
    color: var(--color-ink);

    background:
        radial-gradient(
            circle at 10% -15%,
            rgba(238, 240, 255, 0.70) 0%,
            rgba(238, 240, 255, 0.35) 30%,
            rgba(238, 240, 255, 0.12) 55%,
            transparent 75%
        ),
        radial-gradient(
            circle at 100% -5%,
            rgba(229, 251, 255, 0.65) 0%,
            rgba(229, 251, 255, 0.30) 32%,
            rgba(229, 251, 255, 0.10) 58%,
            transparent 78%
        ),
        var(--color-surface-soft);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-shell {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */

.site-header {
  padding: 22px 0;
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.imagen-inscripciones {
    text-align: center;
}

.bandera {
  height: auto;
  width: 10%;
}

.imagen-inscripciones img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    justify-content: center;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  box-shadow: 0 10px 20px -8px rgba(79, 70, 229, 0.6);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.brand-text small {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.header-steps {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: 0 8px 20px -14px rgba(16, 19, 35, 0.25);
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: 0.75rem;
}

.step.is-active {
  color: var(--color-primary-dark);
  background: rgba(79, 70, 229, 0.08);
}

.step.is-active .step-index {
  background: var(--color-primary);
  color: #fff;
}

.step-label {
  display: none;
}

@media (min-width: 720px) {
  .step-label {
    display: inline;
  }
}

/* ---------------------------------------------------------------------
   Hero / contenido principal
   --------------------------------------------------------------------- */

.site-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 24px 0 64px;
}

.hero {
  width: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 24px 0;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 18px 0 16px;
  color: var(--color-ink);
}

.hero-lead {
  color: var(--color-ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 46ch;
}

.hero-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.highlight-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--color-surface);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

/* ---------------------------------------------------------------------
   Tarjetas
   --------------------------------------------------------------------- */

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: 36px;
}

.verify-card {
  position: relative;
  overflow: hidden;
}

.verify-card::before {
  content: "";
  position: absolute;
  inset: -60% -30% auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.18), transparent 70%);
  pointer-events: none;
}

.verify-card-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.verify-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
}

.verify-card-head h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin: 0 0 6px;
}

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

/* Formulario */

#form-cedula label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--color-ink);
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  display: inline-flex;
  color: var(--color-muted);
  pointer-events: none;
}

.input-group input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-surface-soft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.input-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.field-hint {
  margin: 8px 0 22px;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.btn-primary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 16px 30px -14px rgba(79, 70, 229, 0.65);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px -14px rgba(79, 70, 229, 0.75);
}

.btn-primary:disabled {
  opacity: 0.75;
  cursor: progress;
  transform: none;
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}

.btn-primary.is-loading .btn-spinner {
  display: inline-block;
}

.btn-primary.is-loading .btn-text {
  opacity: 0.85;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  background: rgba(79, 70, 229, 0.06);
}

/* Alertas de resultado */

.alert {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  border: 1px solid transparent;
}

.alert-success {
  background: var(--color-success-bg);
  border-color: rgba(22, 163, 74, 0.25);
  color: var(--color-success);
}

.alert-warning {
  background: var(--color-warning-bg);
  border-color: rgba(180, 83, 9, 0.25);
  color: var(--color-warning);
}

.alert-error {
  background: var(--color-error-bg);
  border-color: rgba(220, 38, 38, 0.25);
  color: var(--color-error);
}

.verify-footnote {
  margin: 20px 0 0;
  font-size: 0.78rem;
  color: var(--color-muted);
  text-align: center;
}

/* ---------------------------------------------------------------------
   Páginas de estado (404 / en construcción)
   --------------------------------------------------------------------- */

.hero-simple {
  display: flex;
  justify-content: center;
}

.status-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.status-icon-info {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.status-icon-error {
  background: var(--color-error-bg);
  color: var(--color-error);
}

.status-card h1 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.status-card p {
  color: var(--color-ink-soft);
  line-height: 1.6;
  margin: 0 0 24px;
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */

.site-footer {
  padding: 24px 0 32px;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.footer-contact a {
  color: var(--color-primary-dark);
  text-decoration: none;
  font-weight: 600;
}

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

@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}


/* =========================================================================
   Flujo completo de inscripción
   ========================================================================= */
.page-section { flex:1; padding:34px 0 72px; }
.narrow { max-width:760px; }
.form-container { max-width:1040px; }
.flow-card { max-width:760px; margin:0 auto; }
.flow-card h1,.flow-heading h1 { font-family:var(--font-heading); font-size:clamp(1.8rem,4vw,2.5rem); margin:14px 0 10px; }
.flow-heading { margin-bottom:26px; }
.flow-heading p { color:var(--color-ink-soft); line-height:1.6; }
.stack-form { display:flex; flex-direction:column; gap:18px; margin-top:26px; }
.choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.choice-card { position:relative; display:block; cursor:pointer; }
.choice-card input { position:absolute; opacity:0; pointer-events:none; }
.choice-content { display:flex; flex-direction:column; gap:5px; padding:18px; border:1.5px solid var(--color-border); border-radius:var(--radius-md); background:var(--color-surface-soft); height:100%; transition:.15s ease; }
.choice-card input:checked + .choice-content { border-color:var(--color-primary); background:rgba(79,70,229,.07); box-shadow:0 0 0 3px rgba(79,70,229,.1); }
.choice-content strong { font-family:var(--font-heading); font-size:1.05rem; }
.choice-content small,.choice-content em { color:var(--color-muted); font-size:.84rem; line-height:1.45; }
select,input,textarea { width:100%; padding:12px 14px; border:1.5px solid var(--color-border); border-radius:var(--radius-sm); background:var(--color-surface); color:var(--color-ink); font:inherit; }
select:focus,input:focus,textarea:focus { outline:none; border-color:var(--color-primary); box-shadow:0 0 0 4px rgba(79,70,229,.1); }
.stack-form > label,.form-grid label { display:block; font-weight:600; font-size:.86rem; margin-bottom:7px; }
.required { color:var(--color-error); }
.info-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:22px; align-items:start; }
.info-layout h2 { font-family:var(--font-heading); font-size:1.15rem; margin:0 0 9px; }
.big-value { font-size:1.5rem; font-weight:800; margin:0 0 4px; }
.price { font-family:var(--font-heading); font-size:2rem; font-weight:800; margin:4px 0 10px; }
.muted { color:var(--color-muted); line-height:1.55; font-size:.86rem; }
.notice { padding:14px; border-radius:var(--radius-sm); background:var(--color-warning-bg); color:var(--color-warning); line-height:1.5; font-size:.86rem; }
.accept-box { display:flex; flex-direction:column; gap:16px; margin-top:20px; padding-top:18px; border-top:1px solid var(--color-border); }
.check-line { display:flex!important; align-items:flex-start; gap:10px; line-height:1.5; font-weight:500!important; }
.check-line input { width:auto; margin-top:4px; flex:none; }
.empty-state { padding:20px; border:1px dashed var(--color-border); border-radius:var(--radius-md); background:var(--color-surface-soft); }
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; font-size:.85rem; }
th,td { padding:12px 10px; text-align:left; border-bottom:1px solid var(--color-border); vertical-align:top; }
th { color:var(--color-muted); font-size:.75rem; text-transform:uppercase; letter-spacing:.03em; }
.long-form { display:flex; flex-direction:column; gap:20px; }
fieldset { border:1px solid var(--color-border); border-radius:var(--radius-lg); padding:24px; background:var(--color-surface); box-shadow:var(--shadow-soft); }
legend { padding:0 10px; font-family:var(--font-heading); font-weight:800; font-size:1.1rem; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; }
.form-grid > div.full { grid-column:1/-1; }
.form-grid label { margin-bottom:7px; }
.form-grid textarea { resize:vertical; }
.final-consent { background:var(--color-surface-soft); }
.alert ul { margin:8px 0 0 20px; padding:0; }
.confirmation { display:grid; grid-template-columns:1fr 1fr; gap:10px; text-align:left; margin:22px 0; padding:16px; border-radius:var(--radius-md); background:var(--color-success-bg); }
.confirmation span { font-family:var(--font-heading); font-weight:800; }
.contact-box { margin:20px 0; padding:18px; text-align:left; border-radius:var(--radius-md); background:var(--color-surface-soft); }
.status-card .btn-secondary { margin-top:8px; }
.step.is-done { color:var(--color-success); }
.step.is-done .step-index { background:var(--color-success-bg); color:var(--color-success); }
@media (max-width:900px) { .info-layout{grid-template-columns:1fr;} }
@media (max-width:720px) {
  .choice-grid,.form-grid { grid-template-columns:1fr; }
  .form-grid > div.full { grid-column:auto; }
  fieldset { padding:18px; }
  .card { padding:24px; }
  .confirmation { grid-template-columns:1fr; }
}

/* ==========================================================================
   SELECCIÓN DE MUNICIPIO / SEDE
   ========================================================================== */

.location-page {
    padding-top: 28px;
    padding-bottom: 80px;
}

.narrow-location {
    max-width: 980px;
}


/* --------------------------------------------------------------------------
   Encabezado
   -------------------------------------------------------------------------- */

.location-heading {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.location-heading .eyebrow {
    margin-bottom: 14px;
}

.location-heading h1 {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--color-ink);
}

.location-heading p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-ink-soft);
    font-size: 1rem;
    line-height: 1.65;
}


/* --------------------------------------------------------------------------
   Tarjeta principal
   -------------------------------------------------------------------------- */

.location-card {
    position: relative;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(228, 230, 241, 0.9);
    border-radius: 28px;

    padding: 32px;

    box-shadow:
        0 35px 70px -35px rgba(31, 41, 89, 0.38),
        0 8px 24px rgba(31, 41, 89, 0.05);

    backdrop-filter: blur(12px);
}

.location-card::before {
    content: "";

    position: absolute;
    top: -130px;
    right: -100px;

    width: 280px;
    height: 280px;

    background: radial-gradient(
        circle,
        rgba(79, 70, 229, 0.10),
        transparent 70%
    );

    pointer-events: none;
}


/* --------------------------------------------------------------------------
   Opciones
   -------------------------------------------------------------------------- */

.location-options {
    position: relative;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;

    z-index: 1;
}


/* --------------------------------------------------------------------------
   Tarjeta individual
   -------------------------------------------------------------------------- */

.location-option {
    position: relative;
    display: block;

    cursor: pointer;
}

.location-option input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}


/* Contenido */

.location-option-inner {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 190px;

    padding: 24px;

    border: 1.5px solid var(--color-border);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f8f9ff 100%
        );

    overflow: hidden;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


/* Efecto hover */

.location-option:hover .location-option-inner {
    transform: translateY(-3px);

    border-color: rgba(79, 70, 229, 0.35);

    box-shadow:
        0 18px 35px -22px rgba(79, 70, 229, 0.45);

    background: #ffffff;
}


/* Seleccionado */

.location-option input:checked + .location-option-inner {
    border-color: var(--color-primary);

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            rgba(79, 70, 229, 0.07) 100%
        );

    box-shadow:
        0 0 0 4px rgba(79, 70, 229, 0.10),
        0 22px 40px -25px rgba(79, 70, 229, 0.50);

    transform: translateY(-2px);
}


/* Focus teclado */

.location-option input:focus-visible
+ .location-option-inner {
    outline: 3px solid rgba(79, 70, 229, 0.25);
    outline-offset: 3px;
}


/* --------------------------------------------------------------------------
   Imagen
   -------------------------------------------------------------------------- */

.location-image {
    flex: 0 0 105px;

    width: 105px;
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 22px;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid rgba(228, 230, 241, 0.9);

    box-shadow:
        0 12px 25px -18px rgba(31, 41, 89, 0.35);

    overflow: hidden;
}

.location-image img {
    width: 78px;
    height: 78px;

    object-fit: contain;

    display: block;

    transition:
        transform 0.25s ease;
}

.location-option:hover .location-image img {
    transform: scale(1.06);
}


/* --------------------------------------------------------------------------
   Información
   -------------------------------------------------------------------------- */

.location-info {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.location-label {
    margin-bottom: 4px;

    color: var(--color-muted);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.location-name {
    font-family: var(--font-heading);

    font-size: 1.45rem;
    line-height: 1.2;

    color: var(--color-ink);
}

.location-department {
    margin-top: 5px;

    color: var(--color-ink-soft);

    font-size: 0.9rem;
}

.location-action {
    margin-top: 15px;

    color: var(--color-primary);

    font-size: 0.78rem;
    font-weight: 700;

    opacity: 0.65;

    transition: opacity 0.2s ease;
}

.location-option:hover .location-action,
.location-option input:checked
+ .location-option-inner .location-action {
    opacity: 1;
}


/* --------------------------------------------------------------------------
   Check
   -------------------------------------------------------------------------- */

.location-check {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1.5px solid var(--color-border);
    border-radius: 50%;

    background: #ffffff;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.location-check-icon {
    color: #ffffff;

    font-size: 0.78rem;
    font-weight: 800;

    opacity: 0;

    transform: scale(0.5);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.location-option input:checked
+ .location-option-inner .location-check {
    background: var(--color-primary);
    border-color: var(--color-primary);

    transform: scale(1.05);
}

.location-option input:checked
+ .location-option-inner .location-check-icon {
    opacity: 1;
    transform: scale(1);
}


/* --------------------------------------------------------------------------
   Footer de la tarjeta
   -------------------------------------------------------------------------- */

.location-footer {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    margin-top: 28px;
    padding-top: 24px;

    border-top: 1px solid var(--color-border);

    z-index: 1;
}


/* Ayuda */

.location-help {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--color-muted);

    font-size: 0.82rem;
    line-height: 1.4;
}

.help-icon {
    flex: none;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(79, 70, 229, 0.08);

    color: var(--color-primary);

    font-size: 1rem;
}


/* --------------------------------------------------------------------------
   Botón
   -------------------------------------------------------------------------- */

.btn-location {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    min-width: 190px;

    padding: 14px 22px;

    border: none;
    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--color-primary),
            var(--color-primary-dark)
        );

    color: #ffffff;

    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 16px 30px -15px rgba(79, 70, 229, 0.65);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        opacity 0.18s ease;
}

.btn-location:hover:not(:disabled) {
    transform: translateY(-2px);

    box-shadow:
        0 22px 38px -16px rgba(79, 70, 229, 0.75);
}

.btn-location:active:not(:disabled) {
    transform: translateY(0);
}

.btn-location:disabled {
    opacity: 0.55;
    cursor: not-allowed;

    box-shadow: none;
}

.btn-arrow {
    font-size: 1.2rem;
    line-height: 1;

    transition: transform 0.18s ease;
}

.btn-location:hover:not(:disabled) .btn-arrow {
    transform: translateX(4px);
}


/* --------------------------------------------------------------------------
   Alerta
   -------------------------------------------------------------------------- */

.location-alert {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-top: 22px;
}

.location-alert .alert-icon {
    flex: none;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(180, 83, 9, 0.12);

    font-weight: 800;
}

.location-alert strong {
    display: block;
    margin-bottom: 3px;
}

.location-alert p {
    margin: 0;
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 760px) {

    .location-card {
        padding: 20px;
        border-radius: 22px;
    }

    .location-options {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .location-option-inner {
        min-height: 150px;
        padding: 20px;
    }

    .location-image {
        flex-basis: 82px;
        width: 82px;
        height: 82px;

        margin-right: 17px;
    }

    .location-image img {
        width: 62px;
        height: 62px;
    }

    .location-name {
        font-size: 1.25rem;
    }

    .location-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .location-help {
        justify-content: center;
        text-align: center;
    }

    .btn-location {
        width: 100%;
    }
}


@media (max-width: 420px) {

    .location-heading h1 {
        font-size: 1.75rem;
    }

    .location-heading p {
        font-size: 0.9rem;
    }

    .location-option-inner {
        padding: 17px;
    }

    .location-image {
        flex-basis: 68px;
        width: 68px;
        height: 68px;

        margin-right: 14px;
    }

    .location-image img {
        width: 52px;
        height: 52px;
    }

    .location-name {
        font-size: 1.1rem;
    }

    .location-check {
        top: 12px;
        right: 12px;
    }
}

/* ==========================================================================
   Información del programa
   ========================================================================== */

.info-page-title {
    max-width: 760px;
    margin: 16px 0 8px;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.info-page-intro {
    max-width: 700px;
    margin: 0;
    color: var(--color-ink-soft);
    font-size: 1rem;
    line-height: 1.65;
}


/* --------------------------------------------------------------------------
   Tarjeta principal
   -------------------------------------------------------------------------- */

.information-card {
    max-width: 920px;
    margin: 0 auto;
    overflow: hidden;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 28px;

    box-shadow:
        0 30px 70px -35px rgba(28, 32, 68, 0.42);
}


/* --------------------------------------------------------------------------
   Encabezado
   -------------------------------------------------------------------------- */

.information-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 30px 34px;

    background:
        linear-gradient(
            135deg,
            rgba(79, 70, 229, 0.07),
            rgba(6, 182, 212, 0.05)
        );

    border-bottom: 1px solid var(--color-border);
}

.information-icon {
    flex: 0 0 auto;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            var(--color-primary),
            var(--color-primary-dark)
        );

    color: #fff;

    box-shadow:
        0 12px 25px -12px rgba(79, 70, 229, 0.7);
}

.information-icon svg {
    width: 24px;
    height: 24px;
}

.information-header h2 {
    margin: 1px 0 6px;

    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.3;
}

.information-header p {
    margin: 0;

    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   Lista de información
   -------------------------------------------------------------------------- */

.information-list {
    padding: 10px 34px 20px;
}

.information-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 18px;

    padding: 26px 0;

    border-bottom: 1px solid var(--color-border);
}

.information-item:last-child {
    border-bottom: none;
}

.information-number {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(79, 70, 229, 0.09);
    color: var(--color-primary-dark);

    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
}

.information-content {
    min-width: 0;
}

.information-content h3 {
    margin: 1px 0 7px;

    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.4;
}

.information-content p {
    margin: 0;

    color: var(--color-ink-soft);
    font-size: 0.92rem;
    line-height: 1.65;
}

.information-sublist {
    display: flex;
    flex-direction: column;
    gap: 9px;

    margin: 14px 0 0;
    padding: 0;

    list-style: none;
}

.information-sublist li {
    position: relative;

    padding-left: 22px;

    color: var(--color-ink-soft);
    font-size: 0.9rem;
    line-height: 1.55;
}

.information-sublist li::before {
    content: "";

    position: absolute;
    top: 0.65em;
    left: 4px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--color-primary);
}


/* --------------------------------------------------------------------------
   Tabla de precios
   -------------------------------------------------------------------------- */

.price-table-card {
    margin-top: 18px;

    overflow: hidden;

    border: 1px solid var(--color-border);
    border-radius: 18px;

    background: var(--color-surface-soft);
}

.price-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 15px 18px;

    border-bottom: 1px solid var(--color-border);
}

.price-table-header > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.price-table-label {
    color: var(--color-muted);

    font-size: 0.72rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.price-table-header strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.price-table-badge {
    flex: 0 0 auto;

    padding: 6px 10px;

    border-radius: 999px;

    background: rgba(79, 70, 229, 0.09);
    color: var(--color-primary-dark);

    font-size: 0.75rem;
    font-weight: 800;
}

.price-table-image {
    padding: 18px;

    background: #fff;
}

.price-table-image img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    border-radius: 10px;

    box-shadow:
        0 10px 30px -18px rgba(16, 19, 35, 0.35);
}


/* --------------------------------------------------------------------------
   Error
   -------------------------------------------------------------------------- */

.information-error {
    margin: 0 34px 24px;
}


/* --------------------------------------------------------------------------
   Zona de aceptación
   -------------------------------------------------------------------------- */

.information-footer {
    margin-top: 4px;
    padding: 28px 34px 34px;

    background: var(--color-surface-soft);

    border-top: 1px solid var(--color-border);
}

.accept-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-bottom: 20px;
}

.accept-icon {
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--color-success-bg);
    color: var(--color-success);
}

.accept-icon svg {
    width: 18px;
    height: 18px;
}

.accept-notice strong {
    display: block;

    margin-bottom: 3px;

    font-family: var(--font-heading);
    font-size: 0.92rem;
}

.accept-notice p {
    margin: 0;

    color: var(--color-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   Checkbox
   -------------------------------------------------------------------------- */

.accept-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.accept-checkbox {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 15px 16px;

    border: 1px solid var(--color-border);
    border-radius: 13px;

    background: var(--color-surface);

    cursor: pointer;

    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}

.accept-checkbox:hover {
    border-color: rgba(79, 70, 229, 0.35);
    background: rgba(79, 70, 229, 0.025);
}

.accept-checkbox input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}

.checkbox-custom {
    flex: 0 0 auto;

    width: 21px;
    height: 21px;

    margin-top: 1px;

    border: 2px solid #c9ccda;
    border-radius: 6px;

    background: #fff;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.accept-checkbox input:checked + .checkbox-custom {
    border-color: var(--color-primary);
    background: var(--color-primary);

    box-shadow:
        0 0 0 3px rgba(79, 70, 229, 0.12);
}

.accept-checkbox input:checked + .checkbox-custom::after {
    content: "";

    display: block;

    width: 5px;
    height: 9px;

    margin: 3px auto 0;

    border: solid #fff;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}

.accept-checkbox input:focus-visible + .checkbox-custom {
    outline: 3px solid rgba(79, 70, 229, 0.18);
    outline-offset: 2px;
}

.checkbox-text {
    color: var(--color-ink-soft);

    font-size: 0.88rem;
    line-height: 1.55;
}


/* --------------------------------------------------------------------------
   Botón
   -------------------------------------------------------------------------- */

.information-submit {
    min-height: 52px;

    gap: 12px;

    font-size: 0.95rem;
}

.information-submit svg {
    width: 19px;
    height: 19px;

    transition: transform 0.15s ease;
}

.information-submit:hover svg {
    transform: translateX(3px);
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {

    .info-page-title {
        font-size: 1.75rem;
    }

    .information-card {
        border-radius: 20px;
    }

    .information-header {
        padding: 24px 20px;
    }

    .information-list {
        padding: 4px 20px 12px;
    }

    .information-item {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 13px;
        padding: 22px 0;
    }

    .information-number {
        width: 32px;
        height: 32px;

        border-radius: 9px;

        font-size: 0.78rem;
    }

    .information-content h3 {
        font-size: 0.95rem;
    }

    .information-content p,
    .information-sublist li {
        font-size: 0.87rem;
    }

    .information-footer {
        padding: 24px 20px;
    }

    .information-error {
        margin-right: 20px;
        margin-left: 20px;
    }

    .price-table-header {
        align-items: flex-start;
    }

    .price-table-image {
        padding: 10px;
    }
}

/* Tarjetas de precios */

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
    gap: 14px;

    padding: 18px;

    background: #fff;
}

.price-item {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--color-border);
    border-radius: 14px;

    background: var(--color-surface);

    text-align: center;

    box-shadow: 0 10px 30px -22px rgba(16, 19, 35, 0.35);
}

.price-item-title {
    padding: 14px 12px;

    background: rgba(79, 70, 229, 0.08);
    color: var(--color-primary-dark);

    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
}

.price-item-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;

    padding: 14px 12px;
}

.price-item-body small {
    color: var(--color-muted);

    font-size: 0.72rem;
    font-weight: 700;
}

.price-item-value {
    margin-bottom: 8px;

    color: var(--color-ink-soft);

    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.price-item-social {
    color: var(--color-primary);

    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
}

.price-item-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 10px 12px;

    border-top: 1px solid var(--color-border);

    color: var(--color-ink-soft);

    font-size: 0.8rem;
    font-weight: 700;
}

.price-item-footer svg {
    width: 15px;
    height: 15px;

    color: var(--color-primary);
}

/* ==========================================================================
   Paso 4 · Selección de idioma
   ========================================================================== */

.flow-page-title {
    max-width: 760px;

    margin: 16px 0 8px;

    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.flow-page-intro {
    max-width: 680px;

    margin: 0;

    color: var(--color-ink-soft);

    font-size: 1rem;
    line-height: 1.65;
}


/* --------------------------------------------------------------------------
   Tarjeta
   -------------------------------------------------------------------------- */

.language-card {
    width: 100%;
    max-width: 820px;

    margin: 0 auto;

    overflow: hidden;

    background: var(--color-surface);

    border: 1px solid var(--color-border);
    border-radius: 28px;

    box-shadow:
        0 30px 70px -35px rgba(28, 32, 68, 0.42);
}


/* --------------------------------------------------------------------------
   Encabezado
   -------------------------------------------------------------------------- */

.language-card-header {
    display: flex;
    align-items: flex-start;

    gap: 17px;

    padding: 28px 32px;

    background:
        linear-gradient(
            135deg,
            rgba(79, 70, 229, 0.07),
            rgba(6, 182, 212, 0.05)
        );

    border-bottom: 1px solid var(--color-border);
}

.language-header-icon {
    flex: 0 0 auto;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            var(--color-primary),
            var(--color-primary-dark)
        );

    color: #fff;

    box-shadow:
        0 12px 25px -12px rgba(79, 70, 229, 0.7);
}

.language-header-icon svg {
    width: 24px;
    height: 24px;
}

.language-card-header h2 {
    margin: 1px 0 6px;

    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.3;
}

.language-card-header p {
    max-width: 570px;

    margin: 0;

    color: var(--color-muted);

    font-size: 0.9rem;
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   Formulario
   -------------------------------------------------------------------------- */

.language-form {
    padding: 30px 32px 32px;
}


/* --------------------------------------------------------------------------
   Opciones
   -------------------------------------------------------------------------- */

.language-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.language-option {
    position: relative;

    display: block;

    min-width: 0;

    cursor: pointer;
}

.language-option > input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}


/* --------------------------------------------------------------------------
   Tarjeta individual
   -------------------------------------------------------------------------- */

.language-option-content {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 190px;

    padding: 20px;

    border: 1.5px solid var(--color-border);
    border-radius: 18px;

    background: var(--color-surface-soft);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.language-option:hover .language-option-content {
    transform: translateY(-2px);

    border-color: rgba(79, 70, 229, 0.35);

    background: #fff;

    box-shadow:
        0 15px 35px -25px rgba(31, 41, 89, 0.5);
}


/* --------------------------------------------------------------------------
   Estado seleccionado
   -------------------------------------------------------------------------- */

.language-option > input:checked
    + .language-option-content {

    border-color: var(--color-primary);

    background:
        linear-gradient(
            145deg,
            rgba(79, 70, 229, 0.08),
            rgba(129, 140, 248, 0.04)
        );

    box-shadow:
        0 0 0 3px rgba(79, 70, 229, 0.10),
        0 18px 35px -25px rgba(79, 70, 229, 0.45);
}

.language-option > input:focus-visible
    + .language-option-content {

    outline: 3px solid rgba(79, 70, 229, 0.18);
    outline-offset: 3px;
}


/* --------------------------------------------------------------------------
   Parte superior
   -------------------------------------------------------------------------- */

.language-option-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.language-symbol {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #fff;

    border: 1px solid var(--color-border);

    color: var(--color-primary-dark);
}

.language-symbol-primary {
    background:
        linear-gradient(
            135deg,
            var(--color-primary),
            var(--color-primary-light)
        );

    border-color: transparent;

    color: #fff;

    box-shadow:
        0 10px 20px -12px rgba(79, 70, 229, 0.7);
}

.language-symbol svg {
    width: 22px;
    height: 22px;
}


/* --------------------------------------------------------------------------
   Indicador de selección
   -------------------------------------------------------------------------- */

.language-radio {
    width: 21px;
    height: 21px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #c9ccda;
    border-radius: 50%;

    background: #fff;

    transition:
        border-color 0.15s ease,
        background 0.15s ease;
}

.language-radio span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #fff;

    transform: scale(0);

    transition: transform 0.15s ease;
}

.language-option > input:checked
    + .language-option-content
    .language-radio {

    border-color: var(--color-primary);
    background: var(--color-primary);
}

.language-option > input:checked
    + .language-option-content
    .language-radio span {

    transform: scale(1);
}


/* --------------------------------------------------------------------------
   Texto
   -------------------------------------------------------------------------- */

.language-option-body {
    display: flex;
    flex-direction: column;

    flex: 1;
}

.language-name {
    margin-bottom: 7px;

    font-family: var(--font-heading);

    font-size: 1.25rem;
    line-height: 1.3;

    color: var(--color-ink);
}

.language-description {
    max-width: 30ch;

    color: var(--color-ink-soft);

    font-size: 0.86rem;
    line-height: 1.55;
}


/* --------------------------------------------------------------------------
   Badge
   -------------------------------------------------------------------------- */

.language-badge {
    align-self: flex-start;

    margin-top: auto;
    padding: 6px 10px;

    border-radius: 999px;

    background: rgba(79, 70, 229, 0.08);

    color: var(--color-primary-dark);

    font-size: 0.72rem;
    font-weight: 700;

    line-height: 1;
}

.language-option > input:checked
    + .language-option-content
    .language-badge {

    background: var(--color-primary);

    color: #fff;
}


/* --------------------------------------------------------------------------
   Check seleccionado
   -------------------------------------------------------------------------- */

.language-check {
    position: absolute;

    right: 17px;
    bottom: 17px;

    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--color-primary);

    color: #fff;

    opacity: 0;
    transform: scale(0.7);

    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}

.language-check svg {
    width: 14px;
    height: 14px;
}

.language-option > input:checked
    + .language-option-content
    .language-check {

    opacity: 1;
    transform: scale(1);
}


/* --------------------------------------------------------------------------
   Nota informativa
   -------------------------------------------------------------------------- */

.language-note {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-top: 20px;
    padding: 14px 15px;

    border: 1px solid rgba(180, 83, 9, 0.18);
    border-radius: 13px;

    background: var(--color-warning-bg);
}

.language-note-icon {
    flex: 0 0 auto;

    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-warning);
}

.language-note-icon svg {
    width: 18px;
    height: 18px;
}

.language-note p {
    margin: 0;

    color: #78501c;

    font-size: 0.83rem;
    line-height: 1.55;
}

.language-note strong {
    color: var(--color-warning);
}


/* --------------------------------------------------------------------------
   Botón
   -------------------------------------------------------------------------- */

.language-submit {
    min-height: 52px;

    margin-top: 22px;

    gap: 12px;

    font-size: 0.95rem;
}

.language-submit svg {
    width: 19px;
    height: 19px;

    transition: transform 0.15s ease;
}

.language-submit:hover svg {
    transform: translateX(3px);
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {

    .flow-page-title {
        font-size: 1.75rem;
    }

    .language-card {
        border-radius: 20px;
    }

    .language-card-header {
        padding: 23px 20px;
    }

    .language-form {
        padding: 22px 20px 24px;
    }

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

    .language-option-content {
        min-height: 170px;
    }

}

/* ==========================================================================
   Selección de idioma
   ========================================================================== */

.language-card {
    max-width: 900px;
    margin: 0 auto;
}

.language-card .flow-heading {
    text-align: center;
    margin-bottom: 32px;
}

.language-card .flow-heading h1 {
    margin: 16px 0 10px;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.language-card .card-subtitle {
    max-width: 620px;
    margin: 0 auto;
}


/* Grid */

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


/* Tarjeta */

.language-card-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.language-card-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


/* Contenido */

.language-card-content {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 245px;
    padding: 24px;

    border: 1.5px solid var(--color-border);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f8f9ff 100%
        );

    box-shadow:
        0 8px 24px rgba(31, 41, 89, 0.06);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


/* Hover */

.language-card-option:hover .language-card-content {
    transform: translateY(-4px);

    border-color: var(--color-primary-light);

    box-shadow:
        0 18px 35px rgba(31, 41, 89, 0.12);
}


/* Estado seleccionado */

.language-card-option input:checked + .language-card-content {
    border-color: var(--color-primary);

    background:
        linear-gradient(
            145deg,
            #f7f5ff 0%,
            #eef2ff 100%
        );

    box-shadow:
        0 0 0 4px rgba(79, 70, 229, 0.10),
        0 18px 40px rgba(79, 70, 229, 0.16);

    transform: translateY(-3px);
}


/* Parte superior */

.language-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    margin-bottom: 20px;
}


/* Bandera */

.language-flag {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 82px;
    height: 58px;

    padding: 6px;

    border-radius: 12px;

    background: #fff;

    border: 1px solid var(--color-border);

    box-shadow:
        0 6px 15px rgba(16, 19, 35, 0.08);

    overflow: hidden;
}

.language-flag img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 7px;
}


/* Indicador radio */

.language-radio {
    position: relative;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    border: 2px solid #c8ccdc;

    background: #fff;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.language-card-option input:checked
    + .language-card-content
    .language-radio {
    border-color: var(--color-primary);

    background: var(--color-primary);

    box-shadow:
        inset 0 0 0 5px #fff;
}


/* Nombre */

.language-name {
    display: block;

    margin-bottom: 8px;

    font-family: var(--font-heading);

    font-size: 1.35rem;
    font-weight: 800;

    color: var(--color-ink);
}


/* Descripción */

.language-description {
    display: block;

    min-height: 42px;

    color: var(--color-ink-soft);

    font-size: 0.88rem;

    line-height: 1.55;
}


/* Edad */

.language-age {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    width: fit-content;

    margin-top: auto;
    padding: 7px 11px;

    border-radius: 999px;

    background: rgba(79, 70, 229, 0.07);

    color: var(--color-primary-dark);

    font-size: 0.78rem;
    font-weight: 700;
}

.language-age-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: var(--color-primary);

    color: #fff;

    font-size: 0.68rem;
}


/* Botón */

.language-submit {
    margin-top: 6px;

    min-height: 54px;

    font-size: 1rem;
}

.btn-arrow {
    font-size: 1.25rem;

    transition:
        transform 0.2s ease;
}

.language-submit:hover .btn-arrow {
    transform: translateX(4px);
}


/* Responsive */

@media (max-width: 720px) {

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

    .language-card-content {
        min-height: 215px;
    }

}

@media (max-width: 480px) {

    .language-card {
        padding: 22px 18px;
    }

    .language-card-content {
        padding: 20px;
    }

    .language-flag {
        width: 72px;
        height: 50px;
    }

}

/* ==========================================================================
   PASO 5 — EDAD, NIVEL E INTENSIDAD
   ========================================================================== */

.level-card {
    max-width: 900px;
    margin: 0 auto;
}


/* --------------------------------------------------------------------------
   Encabezado
   -------------------------------------------------------------------------- */

.level-heading {
    text-align: center;
    margin-bottom: 34px;
}

.level-heading h1 {
    margin-top: 16px;
    margin-bottom: 10px;
}

.level-heading .card-subtitle {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}


/* Idioma seleccionado */

.selected-language {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 22px;
    padding: 10px 16px;

    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: 14px;

    background: rgba(79, 70, 229, 0.06);

    text-align: left;
}

.selected-language-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 11px;

    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-primary-light)
    );

    color: white;
    font-size: 1.05rem;
}

.selected-language span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.selected-language small {
    color: var(--color-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.selected-language strong {
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: 0.95rem;
}


/* --------------------------------------------------------------------------
   Secciones
   -------------------------------------------------------------------------- */

.level-form {
    gap: 0;
}

.selection-section {
    padding: 26px 0;

    border-top: 1px solid var(--color-border);
}

.selection-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.selection-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    margin-bottom: 20px;
}

.selection-number {
    flex: none;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 11px;

    background: rgba(79, 70, 229, 0.10);

    color: var(--color-primary-dark);

    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
}

.selection-heading h2 {
    margin: 0 0 4px;

    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;

    color: var(--color-ink);
}

.selection-heading p {
    margin: 0;

    color: var(--color-muted);

    font-size: 0.84rem;
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   Tarjetas de edad
   -------------------------------------------------------------------------- */

.age-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 10px;
}

.age-card {
    position: relative;
    display: block;

    cursor: pointer;
}

.age-card input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.age-card-content {
    display: flex;
    flex-direction: column;

    min-height: 155px;

    padding: 16px;

    border: 1.5px solid var(--color-border);
    border-radius: 16px;

    background: var(--color-surface-soft);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}


/* Hover */

.age-card:hover .age-card-content {
    transform: translateY(-3px);

    border-color: var(--color-primary-light);

    background: var(--color-surface);

    box-shadow:
        0 12px 25px rgba(31, 41, 89, 0.10);
}


/* Seleccionado */

.age-card input:checked + .age-card-content {
    transform: translateY(-3px);

    border-color: var(--color-primary);

    background:
        linear-gradient(
            145deg,
            rgba(79, 70, 229, 0.09),
            rgba(129, 140, 248, 0.06)
        );

    box-shadow:
        0 0 0 3px rgba(79, 70, 229, 0.10),
        0 14px 30px rgba(79, 70, 229, 0.13);
}


/* Parte superior */

.age-card-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}


/* Icono */

.age-card-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 12px;

    background: white;

    border: 1px solid var(--color-border);

    font-size: 1.1rem;

    box-shadow:
        0 5px 12px rgba(16, 19, 35, 0.06);
}


/* Check */

.age-check {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    border: 2px solid #c9ccda;

    color: transparent;

    font-size: 0.72rem;
    font-weight: 800;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.age-card input:checked
    + .age-card-content
    .age-check {
    border-color: var(--color-primary);

    background: var(--color-primary);

    color: white;
}


/* Texto */

.age-card-title {
    display: block;

    margin-bottom: 7px;

    color: var(--color-ink);

    font-family: var(--font-heading);

    font-size: 0.92rem;
    font-weight: 800;

    line-height: 1.3;
}

.age-card-hint {
    display: block;

    margin-top: auto;

    color: var(--color-muted);

    font-size: 0.72rem;
}


/* --------------------------------------------------------------------------
   Selects
   -------------------------------------------------------------------------- */

.select-field {
    padding: 20px;

    border: 1px solid var(--color-border);
    border-radius: 16px;

    background: var(--color-surface-soft);
}

.select-field label {
    display: block;

    margin-bottom: 8px;

    color: var(--color-ink);

    font-family: var(--font-heading);

    font-size: 0.86rem;
    font-weight: 700;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "⌄";

    position: absolute;

    right: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--color-muted);

    font-size: 1rem;

    pointer-events: none;
}

.select-wrapper select {
    appearance: none;

    padding: 14px 44px 14px 15px;

    background: var(--color-surface);

    font-size: 0.95rem;

    cursor: pointer;
}

.select-wrapper select:disabled {
    background: #f0f1f6;

    color: #9ca3af;

    cursor: not-allowed;

    border-color: #e5e7eb;
}

.select-field .field-hint {
    display: block;

    margin: 9px 0 0;

    font-size: 0.76rem;

    color: var(--color-muted);

    line-height: 1.45;
}


/* --------------------------------------------------------------------------
   Acción final
   -------------------------------------------------------------------------- */

.level-action {
    display: flex;
    flex-direction: column;

    gap: 14px;

    padding-top: 26px;

    border-top: 1px solid var(--color-border);
}

.action-note {
    display: flex;

    align-items: center;

    gap: 9px;

    justify-content: center;

    color: var(--color-muted);

    font-size: 0.76rem;

    text-align: center;
}

.action-note-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: none;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: var(--color-success-bg);

    color: var(--color-success);

    font-size: 0.7rem;
    font-weight: 800;
}

.level-submit {
    min-height: 54px;

    font-size: 1rem;
}

.btn-arrow {
    font-size: 1.25rem;

    transition: transform 0.2s ease;
}

.level-submit:hover .btn-arrow {
    transform: translateX(4px);
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {

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

}

@media (max-width: 650px) {

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

    .age-card-content {
        min-height: 140px;
    }

}

@media (max-width: 480px) {

    .level-card {
        padding: 22px 18px;
    }

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

    .age-card-content {
        min-height: 115px;
    }

    .selection-heading {
        gap: 10px;
    }

    .selection-number {
        width: 30px;
        height: 30px;

        border-radius: 9px;
    }

    .select-field {
        padding: 16px;
    }

    .action-note {
        align-items: flex-start;
        text-align: left;
    }

}

/* ==========================================================================
   PASO 5 · EDAD Y NIVEL
   ========================================================================== */

.level-card {
    max-width: 820px;
    margin: 0 auto;
}

.flow-card-header {
    margin-bottom: 30px;
}

.level-title-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 18px;
}

.level-title-row h1 {
    margin: 0 0 8px;
}

.level-title-row .card-subtitle {
    max-width: 650px;
}


/* --------------------------------------------------------------------------
   Idioma seleccionado
   -------------------------------------------------------------------------- */

.selected-language {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-top: 24px;
    padding: 14px 16px;

    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: var(--radius-md);

    background:
        linear-gradient(
            135deg,
            rgba(79, 70, 229, 0.07),
            rgba(6, 182, 212, 0.05)
        );
}

.selected-language small {
    display: block;
    margin-bottom: 2px;

    color: var(--color-muted);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.selected-language strong {
    display: block;

    font-family: var(--font-heading);
    font-size: 1rem;
}


/* --------------------------------------------------------------------------
   Secciones
   -------------------------------------------------------------------------- */

.level-form {
    gap: 0;
}

.form-section {
    padding: 26px 0;

    border-top: 1px solid var(--color-border);
}

.form-section:first-child {
    border-top: 0;
    padding-top: 0;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 0 0 4px;

    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.section-heading p {
    margin: 0;

    color: var(--color-muted);
    font-size: .85rem;
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   Iconos CSS
   -------------------------------------------------------------------------- */

.css-icon {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: none;
}

/* Persona */
.css-icon-user::before,
.css-icon-user::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid currentColor;
  box-sizing: border-box; /* el borde ya no se suma por fuera */
}

.css-icon-user::before {
  width: 8px;   /* par, en vez de 7px */
  height: 8px;
  top: 1px;
  border-radius: 50%;
}

.css-icon-user::after {
  width: 14px;
  height: 9px;
  bottom: 1px;
  border-radius: 7px 7px 3px 3px;
}


/* Idioma */

.css-icon-language {
    border: 2px solid currentColor;
    border-radius: 50%;
}

.css-icon-language::before {
    content: "";

    position: absolute;

    inset: 3px 6px;

    border-left: 1px solid currentColor;
    border-right: 1px solid currentColor;
    border-radius: 50%;
}

.css-icon-language::after {
    content: "";

    position: absolute;

    left: 2px;
    right: 2px;
    top: 8px;

    border-top: 1px solid currentColor;
}


/* Graduación */

.css-icon-graduation::before {
    content: "";

    position: absolute;

    width: 13px;
    height: 13px;

    top: 2px;
    left: 3px;

    background: currentColor;

    transform: rotate(45deg);

    border-radius: 2px;
}

.css-icon-graduation::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 7px;

    left: 6px;
    top: 8px;

    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    background: var(--color-surface);
}


/* Reloj */

.css-icon-clock {
    border: 2px solid currentColor;
    border-radius: 50%;
}

.css-icon-clock::before {
    content: "";

    position: absolute;

    width: 2px;
    height: 6px;

    top: 4px;
    left: 8px;

    background: currentColor;
    border-radius: 2px;
}

.css-icon-clock::after {
    content: "";

    position: absolute;

    width: 5px;
    height: 2px;

    top: 9px;
    left: 8px;

    background: currentColor;

    transform: rotate(25deg);
    transform-origin: left center;

    border-radius: 2px;
}


/* Flecha */

.css-icon-arrow::before {
    content: "";

    position: absolute;

    width: 9px;
    height: 9px;

    top: 5px;
    left: 3px;

    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;

    transform: rotate(45deg);
}


/* --------------------------------------------------------------------------
   Icono de sección
   -------------------------------------------------------------------------- */

.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex: none;

    border-radius: 12px;

    color: var(--color-primary);

    background: rgba(79, 70, 229, .09);
}


/* --------------------------------------------------------------------------
   Rango de edad
   -------------------------------------------------------------------------- */

.age-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.age-choice {
    min-height: 104px;
}

.age-choice .choice-content {
    position: relative;

    display: flex;
    flex-direction: row;
    align-items: center;

    gap: 13px;

    min-height: 104px;

    padding: 18px;

    background: var(--color-surface);
}

.age-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    flex: none;

    border-radius: 12px;

    color: var(--color-primary);

    background: rgba(79, 70, 229, .08);

    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease;
}

.age-info {
    display: flex;
    flex-direction: column;
    gap: 4px;

    min-width: 0;
}

.age-info strong {
    font-family: var(--font-heading);
    font-size: .95rem;
    line-height: 1.3;
}

.age-info small {
    color: var(--color-muted);
    font-size: .8rem;
}

.choice-check {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    margin-left: auto;

    flex: none;

    border: 1.5px solid var(--color-border);
    border-radius: 50%;

    transition:
        background .18s ease,
        border-color .18s ease;
}

.check-mark {
    width: 8px;
    height: 5px;

    border-left: 2px solid transparent;
    border-bottom: 2px solid transparent;

    transform: rotate(-45deg);
}


/* Estado seleccionado */

.age-choice input:checked + .choice-content {
    border-color: var(--color-primary);
    background:
        linear-gradient(
            135deg,
            rgba(79, 70, 229, .08),
            rgba(79, 70, 229, .025)
        );

    box-shadow:
        0 0 0 3px rgba(79, 70, 229, .09),
        0 12px 25px -18px rgba(79, 70, 229, .6);
}

.age-choice input:checked + .choice-content .age-icon {
    color: #fff;
    background: var(--color-primary);

    transform: scale(1.04);
}

.age-choice input:checked + .choice-content .choice-check {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.age-choice input:checked + .choice-content .check-mark {
    border-color: #fff;
}


/* Hover */

.age-choice:hover .choice-content {
    border-color: rgba(79, 70, 229, .45);

    transform: translateY(-1px);

    box-shadow: 0 10px 25px -20px rgba(16, 19, 35, .5);
}


/* --------------------------------------------------------------------------
   Selects
   -------------------------------------------------------------------------- */

.select-field {
    margin-top: 4px;
}

.select-field label {
    display: block;

    margin-bottom: 8px;

    font-weight: 600;
    font-size: .86rem;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    min-height: 50px;

    padding-left: 48px;

    appearance: none;

    background-color: var(--color-surface);

    cursor: pointer;
}

.select-wrapper::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    right: 18px;
    top: 50%;

    border-right: 2px solid var(--color-muted);
    border-bottom: 2px solid var(--color-muted);

    transform: translateY(-70%) rotate(45deg);

    pointer-events: none;
}

.select-icon {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

    color: var(--color-primary);

    pointer-events: none;
}

.select-wrapper select:disabled {
    color: var(--color-muted);

    background:
        linear-gradient(
            135deg,
            #f7f8fc,
            #f1f3f8
        );

    cursor: not-allowed;

    opacity: .85;
}

.select-wrapper select:disabled + * {
    opacity: .5;
}


/* --------------------------------------------------------------------------
   Acciones
   -------------------------------------------------------------------------- */

.form-actions {
    padding-top: 24px;
}

.form-actions .btn-primary {
    min-height: 50px;
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {

    .level-title-row {
        gap: 12px;
    }

    .level-title-row h1 {
        font-size: 1.7rem;
    }

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

    .age-choice .choice-content {
        min-height: 92px;
    }

    .form-section {
        padding: 22px 0;
    }

    .section-heading {
        gap: 10px;
    }

    .section-icon {
        width: 36px;
        height: 36px;
    }
}

/* =========================================================
   FORMULARIO DE INSCRIPCIÓN - PASO 6
========================================================= */

.inscription-page {
    padding-bottom: 70px;
}

.form-container {
    max-width: 1120px;
}

.form-flow-heading {
    margin-bottom: 28px;
}

.form-title-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 14px;
}

.form-title-row h1 {
    margin: 0 0 8px;
}

.form-title-row p {
    margin: 0;
    max-width: 760px;
    color: var(--color-ink-soft);
    line-height: 1.7;
}

.step-icon-large {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(79, 70, 229, .12),
        rgba(6, 182, 212, .12)
    );
    color: var(--color-primary);
}

.form-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    color: var(--color-muted);
    font-size: .84rem;
}

.form-progress-bar {
    height: 7px;
    flex: 1;
    max-width: 300px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9eaf4;
}

.form-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        var(--color-primary),
        var(--color-accent)
    );
}


/* =========================================================
   ERRORES
========================================================= */

.form-errors {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 18px 20px;
}

.form-errors ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.alert-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(220, 38, 38, .1);
    color: var(--color-error);
}


/* =========================================================
   BLOQUES DEL FORMULARIO
========================================================= */

.inscription-form {
    display: grid;
    gap: 22px;
}

.form-section-card {
    min-width: 0;
    margin: 0;
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.form-section-card legend {
    padding: 0;
}

.form-section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.form-section-header > div:last-child {
    min-width: 0;
}

.form-section-header h2 {
    margin: 2px 0 5px;
    font-size: 1.25rem;
}

.form-section-header p {
    margin: 0;
    color: var(--color-muted);
    font-size: .92rem;
    line-height: 1.6;
}

.section-number {
    display: block;
    margin-bottom: 3px;
    color: var(--color-primary);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--color-surface-soft);
    color: var(--color-primary);
}


/* =========================================================
   CAMPOS
========================================================= */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.field {
    min-width: 0;
}

.field.full,
.form-grid .full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-ink);
    font-size: .88rem;
    font-weight: 700;
}

.field-help {
    display: block;
    margin-top: 7px;
    color: var(--color-muted);
    font-size: .78rem;
    line-height: 1.5;
}

.required {
    color: var(--color-error);
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-ink);
    font: inherit;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.field input,
.field select {
    padding: 12px 14px;
}

.field textarea {
    min-height: 110px;
    padding: 13px 14px;
    resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #c9cbe0;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .1);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #a2a5b5;
}


/* =========================================================
   CAMPOS SOLO LECTURA
========================================================= */

.readonly-field input {
    background: var(--color-surface-soft);
    color: var(--color-ink-soft);
    cursor: default;
}

.readonly-field input:focus {
    border-color: var(--color-border);
    box-shadow: none;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-left: 43px;
}

.input-with-icon > .css-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-muted);
    pointer-events: none;
}


/* =========================================================
   SELECTS
========================================================= */

/* =========================================================
   CHECKBOX PERSONALIZADO
========================================================= */
/* ============================================================
   TOGGLE CARD
   ============================================================ */

.toggle-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;

    width: 100%;
    padding: 17px 19px;

    box-sizing: border-box;

    background: #ffffff;
    border: 1px solid #d9dee7;
    border-radius: 12px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}


/* Hover */

.toggle-card:hover {
    border-color: #b8c2d1;
    background: #fafbfd;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}


/* ============================================================
   CHECKBOX NATIVO
   ============================================================ */

.toggle-card > input {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: -1px;
    padding: 0;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* ============================================================
   SWITCH
   ============================================================ */

.toggle-visual {
    position: relative;

    flex: 0 0 auto;

    width: 46px;
    height: 26px;

    border-radius: 999px;

    background: #cbd2dc;

    box-shadow:
        inset 0 0 0 1px rgba(15, 23, 42, 0.08);

    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Punto */

.toggle-dot {
    position: absolute;

    top: 3px;
    left: 3px;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 2px 5px rgba(15, 23, 42, 0.20);

    transition:
        transform 0.2s ease;
}


/* ============================================================
   CONTENIDO
   ============================================================ */

.toggle-content {
    display: flex;
    flex-direction: column;

    gap: 4px;

    min-width: 0;
}


.toggle-content strong {
    color: #1f2937;

    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
}


.toggle-content small {
    color: #6b7280;

    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.45;
}


/* ============================================================
   ESTADO ACTIVADO
   ============================================================ */

.toggle-card > input:checked + .toggle-visual {
    background: #2563eb;

    box-shadow:
        inset 0 0 0 1px rgba(37, 99, 235, 0.15);
}


.toggle-card > input:checked + .toggle-visual .toggle-dot {
    transform: translateX(20px);
}


.toggle-card:has(> input:checked) {
    border-color: #93b4f5;
    background: #f5f8ff;

    box-shadow:
        0 3px 12px rgba(37, 99, 235, 0.08);
}


.toggle-card:has(> input:checked) .toggle-content strong {
    color: #174ea6;
}


/* ============================================================
   FOCUS — ACCESIBILIDAD
   ============================================================ */

.toggle-card > input:focus-visible + .toggle-visual {
    outline: 3px solid rgba(37, 99, 235, 0.22);
    outline-offset: 3px;
}


/* ============================================================
   ACTIVE
   ============================================================ */

.toggle-card:active {
    transform: scale(0.995);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 600px) {

    .toggle-card {
        align-items: flex-start;
        padding: 15px;
        gap: 13px;
    }

    .toggle-visual {
        margin-top: 1px;
    }

    .toggle-content strong {
        font-size: 0.9rem;
    }

    .toggle-content small {
        font-size: 0.78rem;
    }
}


.select-wrapper::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-muted);
    border-bottom: 2px solid var(--color-muted);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}



/* =========================================================
   TOGGLES
========================================================= */

.health-toggle {
    margin-top: 2px;
}

.toggle-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface-soft);
    cursor: pointer;
    transition:
        border-color .18s ease,
        background .18s ease;
}

.toggle-card:hover {
    border-color: var(--color-primary-light);
}

.toggle-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-visual {
    position: relative;
    width: 44px;
    height: 25px;
    flex: 0 0 44px;
    border-radius: 999px;
    background: #d6d8e5;
    transition: background .2s ease;
}

.toggle-dot {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
    transition: transform .2s ease;
}

.toggle-card input:checked + .toggle-visual {
    background: var(--color-primary);
}

.toggle-card input:checked + .toggle-visual .toggle-dot {
    transform: translateX(19px);
}

.toggle-card strong {
    display: block;
    margin-bottom: 3px;
}

.toggle-card small {
    display: block;
    color: var(--color-muted);
    line-height: 1.5;
}


/* =========================================================
   CONFIRMACIÓN FINAL
========================================================= */

.final-consent-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
    margin: 0;
    padding: 28px;
    border: 1px solid rgba(79, 70, 229, .2);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(
            135deg,
            rgba(79, 70, 229, .055),
            rgba(6, 182, 212, .055)
        );
}

.final-consent-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--color-primary);
    color: white;
}

.final-consent-content {
    flex: 1;
    min-width: 0;
}

.final-consent-content h2 {
    margin: 3px 0 7px;
}

.final-consent-content > p {
    margin: 0 0 18px;
    color: var(--color-ink-soft);
    line-height: 1.6;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.8);
    cursor: pointer;
    line-height: 1.55;
}

.consent-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.consent-box {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 2px;
    border: 2px solid #b8bacb;
    border-radius: 6px;
    background: #fff;
    transition: .18s ease;
}

.consent-check input:checked + .consent-box {
    border-color: var(--color-primary);
    background: var(--color-primary);
    box-shadow: inset 0 0 0 4px #fff;
}

.consent-check + .consent-check {
    margin-top: 12px;
}

.terms-box {
    margin-bottom: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.8);
}

.terms-box summary {
    padding: 13px 16px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
}

.terms-content {
    max-height: 260px;
    overflow-y: auto;
    padding: 0 16px 14px;
    color: var(--color-ink-soft);
    font-size: .9rem;
    line-height: 1.6;
}

.terms-content p {
    margin: 0 0 10px;
}

.terms-content ul {
    margin: 0;
    padding-left: 20px;
}

.terms-content li + li {
    margin-top: 6px;
}

.final-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-submit {
    min-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}


/* =========================================================
   ICONOS CSS
========================================================= */

.css-icon {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}


/* Documento */

.css-icon-document {
    width: 20px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.css-icon-document::before,
.css-icon-document::after {
    content: "";
    position: absolute;
    left: 4px;
    width: 8px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.css-icon-document::before {
    top: 7px;
}

.css-icon-document::after {
    top: 13px;
}


/* Usuario */




/* Graduación */

.css-icon-graduation::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 2px;
    width: 18px;
    height: 11px;
    border: 2px solid currentColor;
    transform: rotate(45deg) skew(-8deg, -8deg);
}

.css-icon-graduation::after {
    content: "";
    position: absolute;
    left: 9px;
    bottom: 0;
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: currentColor;
}


/* Libro */

.css-icon-book {
    border: 2px solid currentColor;
    border-radius: 3px 5px 5px 3px;
    width: 20px;
    height: 17px;
    margin-top: 2px;
}

.css-icon-book::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 9px;
    height: 17px;
    border-left: 2px solid currentColor;
}


/* Reloj */

.css-icon-clock {
    border: 2px solid currentColor;
    border-radius: 50%;
}

.css-icon-clock::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 9px;
    width: 2px;
    height: 7px;
    border-radius: 2px;
    background: currentColor;
}

.css-icon-clock::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 9px;
    width: 6px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(25deg);
    transform-origin: left center;
}


/* Ubicación */

.css-icon-location::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 5px;
    width: 11px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 9px 9px 9px 9px;
    transform: rotate(45deg);
}

.css-icon-location::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 9px;
    width: 4px;
    height: 4px;
    border: 2px solid currentColor;
    border-radius: 50%;
}


/* Dinero */

.css-icon-money::before {
    content: "$";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}


/* Salud */

.css-icon-health::before {
    content: "+";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 900;
}


/* Trabajo */

.css-icon-work::before {
    content: "";
    position: absolute;
    left: 2px;
    bottom: 3px;
    width: 18px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.css-icon-work::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 1px;
    width: 8px;
    height: 6px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
}


/* Acudiente */

.css-icon-guardian::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 2px;
    width: 9px;
    height: 9px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.css-icon-guardian::after {
    content: "";
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 11px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: var(--color-surface);
}


/* Advertencia */

.css-icon-warning::before {
    content: "!";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-weight: 900;
}


/* Check */

.css-icon-check::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 5px;
    width: 11px;
    height: 6px;
    border-left: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(-45deg);
}


/* Flecha */

.css-icon-arrow::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 10px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.css-icon-arrow::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 760px) {

    .form-section-card,
    .final-consent-card {
        padding: 22px;
        border-radius: var(--radius-md);
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .field.full,
    .form-grid .full {
        grid-column: auto;
    }

    .form-title-row {
        gap: 12px;
    }

    .step-icon-large {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .form-section-header {
        gap: 12px;
    }

    .section-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .final-consent-card {
        flex-direction: column;
    }

    .final-consent-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .final-actions {
        justify-content: stretch;
    }

    .btn-submit {
        width: 100%;
        min-width: 0;
    }

    .form-progress {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .form-progress-bar {
        width: 100%;
        max-width: none;
    }
}

.email-input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.email-input-group input {
    flex: 1;
    min-width: 0;

    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.email-at {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 10px;

    background: var(--color-surface-soft);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);

    color: var(--color-muted);
    font-weight: 700;
}

.email-input-group select {
    width: 150px;

    border-radius: 0 var(--radius-md) var(--radius-md) 0;

    border-left: 0;

    cursor: pointer;
}

.email-dominio-otro {
    margin-top: 8px;
}

/* ============================================================
   CONDICIÓN DE SALUD
   ============================================================ */

.health-card {
    position: relative;

    display: flex;
    align-items: flex-start;

    width: 100%;
    box-sizing: border-box;

    padding: 18px 20px;

    gap: 15px;

    background: #ffffff;

    border: 1px solid #dfe3e8;
    border-radius: 12px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* ============================================================
   CHECKBOX REAL
   ============================================================ */

.health-card > input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}


/* ============================================================
   CÍRCULO DEL CHECK
   ============================================================ */

.health-check {
    flex: 0 0 24px;

    width: 24px;
    height: 24px;

    margin-top: 1px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #c5ccd6;
    border-radius: 50%;

    background: #ffffff;

    box-sizing: border-box;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease;
}


/* Check */

.health-check-icon {
    display: block;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    line-height: 1;

    opacity: 0;

    transform: scale(0.5);

    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}


/* ============================================================
   TEXTO
   ============================================================ */

.health-content {
    flex: 1 1 auto;

    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 5px;
}


.health-content strong {
    display: block;

    color: #263238;

    font-size: 0.95rem;
    font-weight: 600;

    line-height: 1.4;
}


.health-content small {
    display: block;

    color: #737b87;

    font-size: 0.82rem;
    line-height: 1.45;
}


/* ============================================================
   HOVER
   ============================================================ */

.health-card:hover {
    border-color: #b9c2ce;

    background: #fafbfc;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.05);
}


/* ============================================================
   SELECCIONADO
   ============================================================ */

.health-card > input:checked + .health-check {
    background: #2563eb;

    border-color: #2563eb;

    transform: scale(1.03);
}


.health-card > input:checked + .health-check .health-check-icon {
    opacity: 1;

    transform: scale(1);
}


.health-card:has(> input:checked) {
    border-color: #9bbcf3;

    background: #f6f9ff;

    box-shadow:
        0 3px 12px rgba(37, 99, 235, 0.08);
}


.health-card:has(> input:checked) .health-content strong {
    color: #1d4f91;
}


/* ============================================================
   FOCUS
   ============================================================ */

.health-card > input:focus-visible + .health-check {
    outline: 3px solid rgba(37, 99, 235, 0.20);
    outline-offset: 3px;
}


/* ============================================================
   CLICK
   ============================================================ */

.health-card:active {
    transform: scale(0.998);
}


/* ============================================================
   MÓVIL
   ============================================================ */

@media (max-width: 600px) {

    .health-card {
        padding: 16px;

        gap: 12px;
    }

    .health-check {
        flex-basis: 22px;

        width: 22px;
        height: 22px;
    }

    .health-content strong {
        font-size: 0.9rem;
    }

    .health-content small {
        font-size: 0.78rem;
    }
}

/* ============================================================
   INFORMACIÓN LABORAL
   ============================================================ */

.work-card {
    position: relative;

    display: flex;
    flex-direction: row; /* ← elementos en fila */
    align-items: center; /* centrados verticalmente */

    width: 100%;
    box-sizing: border-box;

    padding: 18px 20px;

    gap: 15px;

    background: #ffffff;

    border: 1px solid #dfe3e8;
    border-radius: 12px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* ============================================================
   CHECKBOX REAL
   ============================================================ */

.work-card > input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}


/* ============================================================
   CÍRCULO
   ============================================================ */

.work-check {
    flex: 0 0 24px;

    width: 24px;
    height: 24px;

    margin-top: 1px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    background: #ffffff;

    border: 2px solid #c5ccd6;
    border-radius: 50%;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease;
}


/* ============================================================
   ÍCONO CHECK
   ============================================================ */

.work-check-icon {
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    line-height: 1;

    opacity: 0;

    transform: scale(0.5);

    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}


/* ============================================================
   CONTENIDO
   ============================================================ */

.work-content {
    flex: 1 1 auto;

    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 5px;
}


.work-content strong {
    display: block;

    color: #263238;

    font-size: 0.95rem;
    font-weight: 600;

    line-height: 1.4;
}


.work-content small {
    display: block;

    color: #737b87;

    font-size: 0.82rem;
    line-height: 1.45;
}


/* ============================================================
   HOVER
   ============================================================ */

.work-card:hover {
    border-color: #b9c2ce;

    background: #fafbfc;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.05);
}


/* ============================================================
   SELECCIONADO
   ============================================================ */

.work-card > input:checked + .work-check {
    background: #2563eb;

    border-color: #2563eb;

    transform: scale(1.03);
}


.work-card > input:checked + .work-check .work-check-icon {
    opacity: 1;

    transform: scale(1);
}


.work-card:has(> input:checked) {
    border-color: #9bbcf3;

    background: #f6f9ff;

    box-shadow:
        0 3px 12px rgba(37, 99, 235, 0.08);
}


.work-card:has(> input:checked) .work-content strong {
    color: #1d4f91;
}


/* ============================================================
   FOCUS
   ============================================================ */

.work-card > input:focus-visible + .work-check {
    outline: 3px solid rgba(37, 99, 235, 0.20);
    outline-offset: 3px;
}


/* ============================================================
   CLICK
   ============================================================ */

.work-card:active {
    transform: scale(0.998);
}


/* ============================================================
   MÓVIL
   ============================================================ */

@media (max-width: 600px) {

    .work-card {
        padding: 16px;

        gap: 12px;
    }

    .work-check {
        flex-basis: 22px;

        width: 22px;
        height: 22px;
    }

    .work-content strong {
        font-size: 0.9rem;
    }

    .work-content small {
        font-size: 0.78rem;
    }
}

/* ============================================================
INSCRIPCIÓN COMPLETADA
============================================================ */

.registration-success {
padding-top: 2rem;
padding-bottom: 3rem;
}

.success-card {
overflow: hidden;
padding: 0;
}

/* ------------------------------------------------------------
ENCABEZADO
------------------------------------------------------------ */

.success-header {
text-align: center;
padding: 2.75rem 2rem 2rem;
}

.status-icon-success {
width: 76px;
height: 76px;
margin: 0 auto 1.25rem;

display: flex;
align-items: center;
justify-content: center;

border-radius: 50%;

background: #e8f7ef;
color: #198754;

border: 1px solid #c8ecd9;

font-size: 2.2rem;
font-weight: 700;

box-shadow:
    0 8px 24px rgba(25, 135, 84, 0.12);

}

.success-header .eyebrow {
display: inline-block;
margin-bottom: .65rem;

color: #198754;

font-size: .78rem;
font-weight: 700;
letter-spacing: .08em;
text-transform: uppercase;

}

.success-header h1 {
margin: 0;

font-size: clamp(1.7rem, 4vw, 2.25rem);
line-height: 1.2;

}

.success-message {
max-width: 600px;
margin: .9rem auto 0;
color: #667085;
line-height: 1.65;

}

/* ------------------------------------------------------------
CONFIRMACIÓN
------------------------------------------------------------ */

.confirmation-card {
margin: 0 2rem 1.25rem;
padding: 1.25rem;
border: 1px solid #e4e7ec;
border-radius: 14px;

background: #f8fafc;

}

.confirmation-title {
display: flex;
align-items: center;
gap: .8rem;
margin-bottom: 1.15rem;

}

.confirmation-title-icon {
width: 38px;
height: 38px;

display: flex;
align-items: center;
justify-content: center;

border-radius: 10px;

background: #eef2ff;
color: #3b5bdb;

font-weight: 700;
}

.confirmation-title div {
display: flex;
flex-direction: column;
gap: .15rem;
}

.confirmation-title strong {
font-size: .95rem;
}

.confirmation-title span {
color: #667085;
font-size: .82rem;
}

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

.confirmation-item {
padding: 1rem;
border-radius: 10px;
background: #fff;
border: 1px solid #eaecf0;
}

.confirmation-label {
display: block;
margin-bottom: .4rem;

color: #667085;

font-size: .76rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: .04em;

}

.confirmation-item strong {
color: #1d2939;
font-size: 1.05rem;
}

.confirmation-number {
color: #3b5bdb !important;
font-size: 1.35rem !important;
}

/* ------------------------------------------------------------
AVISO IMPORTANTE
------------------------------------------------------------ */

.important-notice {
display: flex;
gap: .85rem;

margin: 0 2rem 1.25rem;
padding: 1rem 1.1rem;

border: 1px solid #e8e1c5;
border-radius: 12px;

background: #fffdf5;

}

.notice-icon {
width: 30px;
height: 30px;
min-width: 30px;

display: flex;
align-items: center;
justify-content: center;

border-radius: 50%;

background: #f5e8a8;
color: #665c20;

font-weight: 800;

}

.important-notice strong {
display: block;
margin-bottom: .25rem;

color: #514a1a;

}

.important-notice p {
margin: 0;

color: #6b642d;

font-size: .88rem;
line-height: 1.55;

}

/* ------------------------------------------------------------
CONTACTO
------------------------------------------------------------ */

.contact-box {
display: flex;
align-items: flex-start;
gap: .9rem;

margin: 0 2rem;
padding: 1.2rem;

border-radius: 12px;

background: #f5f7fa;

}

.contact-icon {
width: 34px;
height: 34px;
min-width: 34px;

display: flex;
align-items: center;
justify-content: center;

border-radius: 50%;

background: #e4e9f2;
color: #344054;

font-weight: 700;

}

.contact-content strong {
display: block;
margin-bottom: .3rem;
}

.contact-content p {
margin: 0;

color: #667085;

font-size: .88rem;
line-height: 1.6;


}

/* ------------------------------------------------------------
BOTÓN
------------------------------------------------------------ */

.success-actions {
display: flex;
justify-content: center;


padding: 1.75rem 2rem 2.25rem;

}

.success-actions .btn-secondary {
min-width: 180px;
text-align: center;
}

/* ------------------------------------------------------------
RESPONSIVE
------------------------------------------------------------ */

@media (max-width: 640px) {

.success-header {
    padding: 2.25rem 1.25rem 1.5rem;
}

.confirmation-card,
.important-notice,
.contact-box {
    margin-left: 1rem;
    margin-right: 1rem;
}

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

.success-actions {
    padding-left: 1rem;
    padding-right: 1rem;
}

.success-actions .btn-secondary {
    width: 100%;
}

}
