/* ============================================================
   Fideicomiso de Créditos Educativos · MINERD
   Paleta: azul #0056A6, navy #1A2953, cian #3FA9F5,
   naranja #FF8B00, fondo #E7F3FC.
   ============================================================ */

:root {
    --blue: #0056A6;
    --blue-dark: #1A2953;
    --blue-mid: #223C73;
    --blue-mid-2: #395693;
    --cyan: #3FA9F5;
    --orange: #FF8B00;
    --orange-hover: #FF9800;
    --bg-soft: #E7F3FC;
    --bg-soft-2: #EFF6FD;

    --text: #1A2953;
    --text-soft: #4a5976;
    --muted: #7a869a;
    --border: #d9e4f2;
    --border-soft: #e8eff9;
    --white: #ffffff;

    --grad-brand: linear-gradient(45deg, #0056A6 0%, #3FA9F5 100%);
    --grad-brand-soft: linear-gradient(135deg, #E7F3FC 0%, #EFF6FD 100%);
    --grad-dark: linear-gradient(135deg, #1A2953 0%, #223C73 60%, #0056A6 100%);
    --grad-orange: linear-gradient(90deg, #FF8B00, #FF9800);

    --shadow-sm: 0 1px 2px rgba(26,41,83,.06), 0 2px 8px rgba(26,41,83,.04);
    --shadow-md: 0 8px 24px rgba(26,41,83,.10), 0 2px 6px rgba(26,41,83,.06);
    --shadow-lg: 0 24px 60px rgba(26,41,83,.18), 0 8px 20px rgba(26,41,83,.08);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --container: 1200px;
    --container-narrow: 920px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Open Sans', 'Roboto', -apple-system, Segoe UI, sans-serif;
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 { font-family: 'Open Sans', sans-serif; color: var(--blue-dark); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--text-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); }

.eyebrow {
    display: inline-block;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 12px;
}
.eyebrow-dark { color: var(--blue); }
.eyebrow-light { color: #a7cff1; }

.gradient-text {
    background: var(--grad-brand);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: .95rem;
    border: 2px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
    white-space: nowrap;
    cursor: pointer;
}
.btn-sm { padding: 8px 18px; font-size: .86rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-xl { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 20px rgba(0,86,166,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,86,166,.32); color: #fff; }

.btn-accent { background: var(--grad-orange); color: #fff; box-shadow: 0 8px 20px rgba(255,139,0,.28); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(255,139,0,.35); color: #fff; }

.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }

/* ---------- Topbar / Header ---------- */
.topbar {
    background: var(--blue-dark);
    color: #cfe0f4;
    font-size: .8rem;
    padding: 8px 0;
}
.topbar-inner { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.topbar-sep { opacity: .5; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
    transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--blue-dark); }
.brand:hover { color: var(--blue-dark); }
.brand-mark {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--grad-brand);
    display: grid; place-items: center;
    box-shadow: 0 6px 16px rgba(0,86,166,.25);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-weight: 800; color: var(--blue-dark); font-size: 1.02rem; }
.brand-text span { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
    padding: 10px 14px;
    color: var(--blue-dark);
    font-weight: 600;
    font-size: .95rem;
    border-radius: 8px;
}
.nav a:hover { background: var(--bg-soft); color: var(--blue); }
.nav a.btn-primary { color: #fff; }
.nav a.btn-primary:hover { background: var(--grad-brand); color: #fff; }

.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    background: transparent; border: 1px solid var(--border);
    border-radius: 10px;
    flex-direction: column; gap: 4px; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--blue-dark); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 96px;
    background: var(--grad-dark);
    color: #fff;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(1100px 550px at 90% -10%, rgba(63,169,245,.35), transparent 60%),
        radial-gradient(900px 420px at -10% 110%, rgba(255,139,0,.22), transparent 60%);
    pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}
.hero-copy .eyebrow { color: #a7cff1; }
.hero-copy h1 { color: #fff; }
.hero-copy .lead {
    color: #d9e6f5;
    font-size: 1.1rem;
    max-width: 560px;
    margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 580px;
}
.stat {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    backdrop-filter: blur(6px);
}
.stat-value {
    display: block;
    font-size: 1.9rem; font-weight: 800;
    background: var(--grad-orange);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}
.stat-label { font-size: .82rem; color: #cfe0f4; line-height: 1.35; display: block; }

.hero-visual { position: relative; }
.hero-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    aspect-ratio: 4 / 5;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
    position: absolute;
    left: -22px; bottom: 40px;
    background: #fff;
    color: var(--blue-dark);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
}
.hero-badge strong { display: block; font-size: .95rem; }
.hero-badge span { display: block; font-size: .78rem; color: var(--muted); }
.hero-badge-icon {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--grad-orange); color: #fff;
    display: grid; place-items: center;
    font-size: 1.1rem;
}
.hero-badge-2 {
    left: auto; right: -22px;
    bottom: auto; top: 40px;
}
.hero-badge-2 .hero-badge-icon { background: var(--grad-brand); }

/* ---------- Section Base ---------- */
.section { padding: 96px 0; }
.section-white { background: #fff; }
.section-alt { background: var(--bg-soft-2); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: #cfe0f4; }

/* ---------- Features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.feature {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--cyan);
}
.feature-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--grad-brand-soft);
    color: var(--blue);
    display: grid; place-items: center;
    font-size: 1.4rem; font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(0,86,166,.1);
}
.feature h3 { color: var(--blue-dark); margin-bottom: 8px; }
.feature p { font-size: .95rem; }

/* ---------- Planes / Modalidades ---------- */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: stretch;
}
.plan {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-img {
    height: 180px;
    background-size: cover; background-position: center;
    position: relative;
}
.plan-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26,41,83,0) 45%, rgba(26,41,83,.55) 100%);
}
.plan-body { padding: 28px 26px; display: flex; flex-direction: column; flex: 1; }
.plan-tag {
    display: inline-block; align-self: flex-start;
    padding: 4px 12px;
    font-size: .72rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    background: var(--bg-soft); color: var(--blue);
    margin-bottom: 12px;
}
.plan-tag-alt { background: var(--grad-orange); color: #fff; }
.plan-body h3 { font-size: 1.5rem; color: var(--blue-dark); }
.plan-amount { font-size: 1.05rem; margin: 6px 0 4px; }
.plan-amount strong { color: var(--blue); font-size: 1.5rem; font-weight: 800; }
.plan-slots {
    display: inline-block;
    font-size: .85rem; color: var(--muted); font-weight: 600;
    margin: 0 0 12px;
}
.plan-desc { flex: 1; font-size: .95rem; }
.plan-featured {
    border: 2px solid var(--blue);
    transform: translateY(-8px);
    position: relative;
}
.plan-featured::before {
    content: 'Más popular';
    position: absolute; top: 16px; right: 16px; z-index: 2;
    padding: 6px 14px;
    background: var(--grad-orange);
    color: #fff; font-size: .72rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 18px rgba(255,139,0,.35);
}

/* ---------- Beneficios ---------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.benefit {
    background: var(--bg-soft-2);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 22px;
    transition: background .2s, border-color .2s, transform .2s;
}
.benefit:hover { background: #fff; border-color: var(--cyan); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.benefit-ico {
    font-size: 1.6rem;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    display: grid; place-items: center;
    margin-bottom: 14px;
}
.benefit h4 { font-size: 1rem; color: var(--blue-dark); margin-bottom: 6px; font-weight: 700; }
.benefit p { font-size: .9rem; margin: 0; }

/* ---------- Split (requisitos) ---------- */
.section-split { background: #fff; }
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}
.split-visual {
    position: sticky; top: 120px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.split-visual img { width: 100%; height: 520px; object-fit: cover; display: block; }
.split-badge {
    position: absolute; bottom: 24px; left: 24px;
    background: #fff;
    color: var(--blue-dark);
    padding: 16px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.split-badge strong {
    display: block; font-size: 1.8rem;
    background: var(--grad-brand);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.split-badge span { font-size: .82rem; color: var(--muted); }

.req-title {
    font-size: 1.1rem; color: var(--blue);
    margin: 28px 0 14px;
    font-weight: 800;
    display: flex; align-items: center; gap: 10px;
}
.req-title::before {
    content: ''; width: 22px; height: 3px;
    background: var(--grad-orange); border-radius: 4px;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
    position: relative;
    padding: 10px 0 10px 34px;
    font-size: .96rem;
    color: var(--text-soft);
    border-bottom: 1px dashed var(--border-soft);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
    content: '✓';
    position: absolute; left: 0; top: 10px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    font-size: .72rem; font-weight: 800;
    display: grid; place-items: center;
}
.check-list-alt li::before { background: var(--grad-orange); }

/* ---------- Proceso ---------- */
.section-process {
    background: var(--grad-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.section-process::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(700px 350px at 85% 0%, rgba(63,169,245,.25), transparent 60%),
        radial-gradient(600px 300px at 10% 100%, rgba(255,139,0,.18), transparent 60%);
}
.steps {
    position: relative; z-index: 1;
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.step {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    padding: 26px 22px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(4px);
    position: relative;
    transition: background .2s, transform .2s;
}
.step:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.step-num {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--grad-orange);
    color: #fff; font-weight: 800;
    box-shadow: 0 8px 18px rgba(255,139,0,.35);
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.step h4 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: #cfe0f4; font-size: .88rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 4px 24px;
    transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 36px 18px 0;
    font-weight: 700;
    color: var(--blue-dark);
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--blue);
    display: grid; place-items: center;
    font-size: 1.2rem; font-weight: 800;
    transition: transform .25s, background .25s, color .25s;
}
.faq-item[open] summary::after {
    content: '−';
    background: var(--blue);
    color: #fff;
}
.faq-item p {
    padding-bottom: 18px;
    margin: 0;
    font-size: .98rem;
}

/* ---------- CTA Band ---------- */
.cta-band {
    background: var(--grad-brand);
    padding: 60px 0;
    color: #fff;
}
.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; }

/* ---------- Formulario ---------- */
.section-form { background: var(--bg-soft-2); }
.form { display: flex; flex-direction: column; gap: 22px; }
.form-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 30px 30px 26px;
    box-shadow: var(--shadow-sm);
    margin: 0;
}
.form-card legend {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800;
    color: var(--blue-dark);
    font-size: 1.15rem;
    margin-bottom: 8px;
    padding: 0 4px;
}
.legend-letter {
    display: grid; place-items: center;
    width: 32px; height: 32px; border-radius: 10px;
    background: var(--grad-brand);
    color: #fff; font-size: .9rem; font-weight: 800;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    margin-top: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--blue-dark);
}
.field label span { color: var(--orange); }
.field input,
.field select,
.field textarea {
    font: inherit;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px;
    transition: border-color .15s, box-shadow .15s, background .15s;
    width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0,86,166,.12);
}
.field input::placeholder, .field textarea::placeholder { color: #a3b0c4; }

.form-card-terms { display: flex; flex-direction: column; gap: 14px; }
.check {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px;
    background: var(--bg-soft-2);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    font-size: .92rem;
    color: var(--text-soft);
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.check:hover { background: var(--bg-soft); border-color: var(--cyan); }
.check input { margin-top: 3px; accent-color: var(--blue); }

.form-actions {
    text-align: center;
    padding: 12px 0 0;
}
.form-actions .btn { min-width: 260px; }
.form-note {
    margin-top: 14px;
    font-size: .85rem;
    color: var(--muted);
    max-width: 640px;
    margin-left: auto; margin-right: auto;
}
.form-success {
    background: #fff;
    border: 2px solid #2ecc71;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.form-success h3 { color: #27ae60; font-size: 1.5rem; }

/* ---------- Postular Page ---------- */
.postular-hero {
    background: var(--grad-dark);
    color: #fff;
    padding: 56px 0 84px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.postular-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(700px 320px at 80% -20%, rgba(63,169,245,.30), transparent 60%),
        radial-gradient(600px 300px at 10% 120%, rgba(255,139,0,.18), transparent 60%);
    pointer-events: none;
}
.postular-hero .container { position: relative; z-index: 1; }
.postular-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 12px; }
.postular-lead { color: #cfe0f4; max-width: 620px; margin: 0 auto 36px; font-size: 1.02rem; }

.stepper {
    list-style: none; padding: 0;
    display: flex; align-items: center; justify-content: center;
    gap: 10px; flex-wrap: wrap;
    margin: 0 auto;
    max-width: 620px;
}
.stepper-item {
    display: flex; align-items: center; gap: 10px;
    color: #a7cff1;
    font-size: .92rem; font-weight: 600;
}
.stepper-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 2px solid rgba(255,255,255,.25);
    display: grid; place-items: center;
    font-weight: 800; font-size: .95rem;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.stepper-item.is-active .stepper-num {
    background: var(--grad-orange);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(255,139,0,.35);
    transform: scale(1.06);
}
.stepper-item.is-active .stepper-label { color: #fff; }
.stepper-item.is-done .stepper-num {
    background: var(--cyan);
    color: #fff;
    border-color: transparent;
    font-size: 0;
}
.stepper-item.is-done .stepper-num::before {
    content: '✓';
    font-size: 1rem;
    font-weight: 800;
}
.stepper-line {
    flex: 1; min-width: 40px; height: 2px; max-width: 70px;
    background: rgba(255,255,255,.22);
    border-radius: 2px;
    transition: background .3s;
}
.stepper-line.is-done { background: var(--cyan); }

.postular-main { padding-top: 64px; }

.form-card-center { text-align: center; padding: 44px 30px 34px; }
.form-title { font-size: 1.6rem; color: var(--blue-dark); margin-bottom: 10px; }
.form-subtitle { color: var(--text-soft); margin-bottom: 24px; }

.field-large input {
    font-size: 1.4rem;
    padding: 16px 20px;
    text-align: center;
    letter-spacing: .06em;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.field-large { max-width: 420px; margin: 0 auto 18px; }
.field-hint {
    display: block; text-align: center;
    margin-top: 8px;
    color: var(--muted); font-size: .82rem;
}

.form-actions-inline { display: flex; justify-content: center; }

.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: .92rem;
    font-weight: 600;
    margin: 0 auto 18px;
    max-width: 420px;
    text-align: left;
}
.alert-error {
    background: #fdecea;
    color: #b42318;
    border: 1px solid #f8c6c0;
}

.cedula-chip {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 10px 18px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    margin-bottom: 8px;
    font-size: .9rem;
    color: var(--text-soft);
}
.cedula-chip strong { color: var(--blue-dark); font-weight: 700; font-variant-numeric: tabular-nums; }
.cedula-chip-change {
    margin-left: 4px;
    color: var(--blue);
    font-weight: 700;
    font-size: .82rem;
    padding-left: 12px;
    border-left: 1px solid var(--border);
}
.cedula-chip-change:hover { color: var(--orange); }

/* State cards (success / already / error) */
.state-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 54px 40px 44px;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 720px;
    margin: 0 auto;
}
.state-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    display: grid; place-items: center;
    margin: 0 auto 20px;
    font-size: 2.2rem; font-weight: 800;
    color: #fff;
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
}
.state-icon-success { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.state-icon-info    { background: var(--grad-brand); }
.state-icon-error   { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.state-card h2 { font-size: 1.8rem; margin-bottom: 10px; }
.state-lead { font-size: 1.05rem; color: var(--text); margin-bottom: 14px; }
.state-success h2 { color: #27ae60; }
.state-info h2    { color: var(--blue); }
.state-error h2   { color: #c0392b; }
.state-sub { font-size: .92rem; color: var(--muted); margin-top: 16px; }
.state-steps {
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
    background: var(--bg-soft-2);
    border: 1px dashed var(--border);
    padding: 16px 20px;
    border-radius: 12px;
    margin: 22px auto;
    max-width: 560px;
    font-size: .9rem;
    color: var(--text-soft);
}
.state-steps strong { color: var(--blue); margin-right: 4px; }
.state-actions {
    display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
    margin-top: 22px;
}

/* Form actions with back button */
.form-actions {
    display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
    padding-top: 12px;
}
.form-actions .btn[disabled], .btn.is-loading {
    opacity: .7; pointer-events: none;
    transform: none !important;
}

@media (max-width: 600px) {
    .stepper-label { display: none; }
    .stepper-line { min-width: 20px; }
    .state-card { padding: 40px 24px 32px; }
    .form-card-center { padding: 32px 20px 24px; }
    .field-large input { font-size: 1.15rem; padding: 14px 16px; }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--blue-dark);
    color: #cfe0f4;
    padding-top: 60px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 40px;
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: #a7cff1; }
.footer-brand p { font-size: .9rem; color: #a7cff1; max-width: 320px; margin-top: 14px; }
.footer-col h5 {
    color: #fff; font-size: .92rem;
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 14px;
}
.footer-col a, .footer-col p {
    display: block;
    color: #a7cff1;
    font-size: .93rem;
    padding: 4px 0;
    margin: 0;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
    font-size: .82rem;
    color: #a7cff1;
}
.footer-bottom .container {
    display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .section { padding: 72px 0; }
    .hero { padding: 56px 0 76px; }
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
    .hero-badge-2 { right: -10px; }
    .hero-badge { left: -10px; }
    .split-grid { grid-template-columns: 1fr; gap: 40px; }
    .split-visual { position: relative; top: auto; }
    .split-visual img { height: 360px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .plan-featured { transform: none; }
}

@media (max-width: 720px) {
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; border-top: 1px solid var(--border-soft);
        flex-direction: column; padding: 12px; gap: 4px;
        box-shadow: var(--shadow-md);
    }
    .nav.open { display: flex; }
    .nav a { display: block; padding: 12px 16px; }
    .nav-toggle { display: flex; }

    .hero-stats { grid-template-columns: 1fr 1fr; }
    .stat-value { font-size: 1.5rem; }

    .steps { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .cta-band-inner { text-align: center; justify-content: center; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom .container { justify-content: center; text-align: center; }

    .form-card { padding: 24px 20px; }
    h1 { font-size: 2rem; }
}

@media (max-width: 420px) {
    .hero-stats { grid-template-columns: 1fr; }
    .hero-badge { position: static; margin-top: 16px; }
    .hero-img-wrap { transform: none; aspect-ratio: 1 / 1; }
}
