/* Global Class Group — Designed & Built by Basicgram */
:root {
  --navy: #0E2A44;
  --navy-deep: #0A2034;
  --paper: #F3F0E8;
  --card: #FBFAF5;
  --band: #E9E4D6;
  --shadow-soft: #E2DCCB;
  --yellow: #F2B01E;
  --ink-2: #3A4E62;
  --muted: #55667A;
  --green: #1F6B45;
  --red: #9A3826;
  --line: rgba(14, 42, 68, .18);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --max: 1200px;
  --mark: linear-gradient(transparent 72%, var(--yellow) 72%, var(--yellow) 90%, transparent 90%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: #3A5A78; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3, p, figure, blockquote { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.eyebrow-line::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--yellow); vertical-align: middle; margin-right: 12px; }
.mark { background: var(--mark); }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -.02em; }
.lead { font-size: 19px; color: var(--ink-2); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: var(--navy); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; font: inherit; font-weight: 500; text-decoration: none; border: 0; cursor: pointer; }
.btn-navy { background: var(--navy); color: var(--paper); }
.btn-navy:hover { background: #17395A; color: var(--paper); }
.btn-yellow { background: var(--yellow); color: var(--navy); font-weight: 600; }
.btn-yellow:hover { background: #F6C04A; color: var(--navy); }
.link-line { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding: 4px 0; }

/* Franja y header */
.strip { background: var(--navy); color: #E9E4D6; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.strip a { color: var(--yellow); text-decoration: none; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand-name { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: 1.05; }
.brand-name small { display: block; font-family: var(--body); font-size: 10.5px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 8px 26px; flex-wrap: wrap; font-size: 15px; }
.nav a:not(.btn) { text-decoration: none; }
.nav .btn { min-height: 46px; padding: 10px 18px; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } .brand-name small { display: none; } }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { flex: 999 1 540px; min-width: 0; }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -.03em; }
.hero .lead { margin-top: 30px; max-width: 580px; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.hero-media { flex: 1 1 400px; min-width: 0; max-width: 520px; }
.hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 1046; object-fit: cover; }
.hero-media .license { margin: -150px 0 0 clamp(-72px, -5vw, 0px); position: relative; max-width: 360px; }
@media (max-width: 700px) { .hero .wrap { padding-top: 48px; } .hero-media .license { margin: -90px 16px 0; } }

/* Ficha de licencia */
.license { background: var(--card); border: 1px solid rgba(14,42,68,.22); box-shadow: 8px 8px 0 var(--shadow-soft); }
.license-head { padding: 16px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; }
.license-head .ok { color: var(--green); }
.license-body { padding: 22px; display: grid; gap: 16px; }
.license-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.license-name { font-family: var(--display); font-size: 28px; font-weight: 500; line-height: 1.15; }
.license-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-top: 1px dashed rgba(14,42,68,.25); padding-top: 16px; font-family: var(--mono); font-size: 15px; }
.license-grid .full { grid-column: span 2; font-family: var(--body); font-size: 14px; }
.license-link { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; font-weight: 500; font-size: 15px; text-decoration: none; }

/* Cifras */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.stat { padding: 26px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 500; font-size: 42px; line-height: 1; margin-bottom: 6px; }
.stat span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 520px) { .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .stat:first-child { border-top: 0; } }

/* Secciones */
.section { padding: 120px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; gap: 24px 64px; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.section-head > div { flex: 999 1 560px; min-width: 0; }
.section-head > p { flex: 1 1 320px; color: var(--ink-2); }
@media (max-width: 700px) { .section { padding: 80px 0; } }

/* Rutas */
.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 24px; }
.route { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 400px; padding: 28px 28px 30px; text-decoration: none; background: var(--card); color: var(--navy); border: 1px solid rgba(14,42,68,.2); box-shadow: 0 0 0 var(--yellow); transition: background .35s, color .35s, box-shadow .35s, transform .35s; }
.route > * { position: relative; }
.route .g { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 170px; color: rgba(14,42,68,.22); transition: color .35s; pointer-events: none; }
.route-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.route h3 { margin-top: 120px; font-family: var(--display); font-weight: 500; font-size: clamp(32px, 3vw, 42px); line-height: 1.02; letter-spacing: -.025em; }
.route p { font-size: 15.5px; color: var(--ink-2); transition: color .35s; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.chip { padding: 3px 10px; font-size: 13px; border: 1px solid rgba(14,42,68,.35); transition: border-color .35s, background .35s, color .35s; }
.route:hover { background: var(--navy); color: var(--paper); transform: translate(-6px, -6px); box-shadow: 10px 10px 0 var(--yellow); }
.route:hover .g { color: rgba(242,176,30,.75); }
.route:hover p { color: #C9D2DC; }
.route:hover .chip { border-color: var(--yellow); background: var(--yellow); color: var(--navy); }
.routes-note { margin-top: 32px; font-size: 15px; color: var(--muted); }

/* Proceso */
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); border-top: 1px solid var(--navy); }
.step { padding: 32px 32px 32px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
@media (max-width: 960px) { .step, .step + .step { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); } }
.step-top { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 13px; }
.tag-yellow { background: var(--yellow); padding: 2px 8px; }
.tag-line { border: 1px solid var(--navy); padding: 1px 8px; }
.step h3 { margin: 20px 0 12px; font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.1; letter-spacing: -.01em; }
.step p { color: var(--ink-2); }
.step p + p { margin-top: 14px; font-size: 15px; color: var(--muted); }
.why-pay { margin-top: 48px; background: var(--navy); color: #E9E4D6; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: center; }
.why-pay h3 { flex: 1 1 280px; font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.15; color: var(--card); }
.why-pay p { flex: 2 1 420px; font-size: 16.5px; }

/* Cómo trabajamos */
.columns { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 48px; }
.col { flex: 1 1 300px; min-width: 0; border-top: 2px solid var(--navy); padding-top: 24px; }
.col.no { border-top-color: #B4432F; }
.col h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.col.no h3 { color: var(--red); }
.col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.verify { flex: 1 1 300px; min-width: 0; background: var(--band); padding: 28px; }
.verify h3 { font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.15; margin-bottom: 14px; }
.verify p { font-size: 15.5px; color: var(--ink-2); margin-bottom: 18px; }

/* Olga */
.olga .wrap { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.olga-card { flex: 1 1 340px; min-width: 0; max-width: 440px; }
.olga-copy { flex: 999 1 480px; min-width: 0; }
.olga-copy h2 { font-family: var(--display); font-weight: 500; font-size: clamp(42px, 5vw, 72px); line-height: 1; letter-spacing: -.03em; }
.olga-role { margin: 12px 0 32px; font-size: 18px; color: var(--ink-2); }
.olga-copy blockquote { margin: 0 0 28px; padding-left: 24px; border-left: 2px solid var(--yellow); font-family: var(--display); font-size: 26px; line-height: 1.3; }
.olga-copy p { color: var(--ink-2); }
.olga-copy p + p { margin-top: 14px; }

/* FAQ */
.faq .wrap { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.faq-head { flex: 1 1 380px; min-width: 0; }
.faq-head .h2 { font-size: clamp(34px, 3.6vw, 50px); }
.faq-list { flex: 999 1 560px; min-width: 0; border-top: 1px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-family: var(--display); font-size: 24px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-2); max-width: 680px; }

/* CTA */
.cta { background: var(--navy); color: #E9E4D6; }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-end; justify-content: space-between; padding-top: 112px; padding-bottom: 112px; }
.cta h2 { font-family: var(--display); font-weight: 500; font-size: clamp(42px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.03em; color: var(--card); }
.cta-copy { flex: 999 1 560px; min-width: 0; }
.cta-copy p { margin-top: 24px; max-width: 560px; font-size: 18px; }
.cta-side { flex: 0 1 auto; display: flex; flex-direction: column; gap: 14px; }
.cta-side .btn { white-space: nowrap; padding-left: 32px; padding-right: 32px; }
@media (max-width: 420px) { .cta-side .btn { white-space: normal; } }
.cta-side span { font-size: 14px; text-align: center; opacity: .8; }
.cta-side a:not(.btn) { color: #E9E4D6; }

/* Footer */
.site-footer { background: var(--paper); color: var(--navy); font-size: 15.5px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px 64px; padding-top: 104px; padding-bottom: 72px; }
.footer-brand { flex: 2 1 340px; min-width: 0; }
.footer-brand img { width: 72px; height: auto; display: block; margin-bottom: 24px; }
.footer-brand p { max-width: 380px; margin-bottom: 24px; font-family: var(--display); font-size: 26px; line-height: 1.2; letter-spacing: -.01em; }
.footer-col { flex: 1 1 160px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.footer-col a { text-decoration: none; }
.footer-art { position: relative; overflow: hidden; height: clamp(360px, 43vw, 640px); }
.footer-art img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center bottom; }
.footer-word { position: relative; margin: 0; padding: 0 20px; text-align: center; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 10.3vw, 172px); line-height: .9; letter-spacing: -.05em; white-space: nowrap; }
.footer-bottom { border-top: 1.5px solid var(--navy); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; padding-top: 22px; padding-bottom: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; }
.footer-bottom a { text-decoration: none; }

/* Páginas simples (privacidad, 404) */
.page { padding: 80px 0 120px; }
.page .wrap { max-width: 820px; }
.page h1 { font-family: var(--display); font-weight: 500; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 16px; }
.page h2 { font-family: var(--display); font-weight: 500; font-size: 26px; margin: 44px 0 12px; }
.page p, .page li { color: var(--ink-2); }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; display: grid; gap: 6px; }

/* Selector de idioma */
.lang-switch { font-weight: 500; text-decoration: none; border: 1px solid rgba(14,42,68,.3); padding: 8px 14px; min-height: 40px; display: inline-flex; align-items: center; }
.lang-switch:hover { border-color: var(--navy); }
.footer-col .lang-switch { border: 0; padding: 0; min-height: 0; }
@media (max-width: 860px) { .nav a.lang-switch { display: inline-flex; } }
@media (max-width: 560px) {
  .site-header .wrap { gap: 12px; }
  .brand img { width: 40px; }
  .brand-name { font-size: 18px; }
  .nav { gap: 8px; }
  .nav .btn { min-height: 40px; padding: 8px 12px; font-size: 14px; }
  .lang-switch { min-height: 40px; padding: 6px 10px; font-size: 14px; }
  .form-header .wrap { flex-wrap: nowrap; }
}

/* Pre-evaluación */
.form-header .wrap { padding-top: 14px; padding-bottom: 14px; }
.form-header-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-lic { font-size: 12px; letter-spacing: .06em; }
@media (max-width: 520px) { .form-lic { display: none; } }
.progress { height: 3px; background: rgba(14,42,68,.1); }
.progress > div { height: 3px; width: 0; background: var(--yellow); transition: width .4s; }
.form-main { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; padding-top: 56px; padding-bottom: 96px; min-height: 70vh; }
.form-col { flex: 999 1 560px; min-width: 0; }
.form-col h1:focus { outline: none; }
.q-title { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -.025em; }
.intro-steps { list-style: none; padding: 24px 0 0; margin: 36px 0 0; max-width: 560px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 16px; }
.intro-steps li { display: flex; gap: 16px; }
.intro-steps li > span:first-child { font-family: var(--mono); font-size: 13px; padding-top: 2px; }
.opts { display: flex; flex-direction: column; gap: 10px; max-width: 620px; margin-top: 32px; }
.opt { font: inherit; text-align: left; display: flex; gap: 16px; align-items: center; width: 100%; min-height: 60px; padding: 14px 20px; cursor: pointer; border: 1px solid rgba(14,42,68,.25); background: var(--card); color: var(--navy); transition: background .2s, border-color .2s, transform .2s; }
.opt:hover { border-color: var(--navy); transform: translateX(4px); }
.opt.on { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.opt .key { font-family: var(--mono); font-size: 12px; width: 26px; height: 26px; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.back { font: inherit; font-size: 15px; background: none; border: 0; padding: 10px 0; min-height: 44px; color: var(--muted); cursor: pointer; margin-top: 20px; }
.contact { display: grid; gap: 18px; max-width: 560px; }
.contact label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 500; }
.contact input[type=text], .contact input[type=email], .contact input[type=tel] { font: inherit; font-weight: 400; width: 100%; padding: 14px 16px; border: 1px solid rgba(14,42,68,.35); background: var(--card); color: var(--navy); border-radius: 0; }
.contact input:focus { outline: 2px solid var(--yellow); outline-offset: 0; }
.contact .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.contact .check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 8px; }
.contact-actions .back { margin-top: 0; }
.form-error { color: var(--red); font-size: 14.5px; }
.price-card { margin-top: 32px; background: var(--card); border: 1px solid rgba(14,42,68,.22); box-shadow: 8px 8px 0 var(--shadow-soft); max-width: 620px; }
.price-head { padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1.2; }
.price { font-size: 32px; font-weight: 600; }
.price small { font-size: 16px; font-weight: 400; }
.price-list { margin: 0; padding: 20px 26px 4px 46px; display: grid; gap: 6px; font-size: 15.5px; }
.price-next { margin: 16px 26px 26px; padding: 16px 18px; background: var(--band); font-size: 15.5px; }
.reasons { margin-top: 28px; max-width: 620px; border-top: 1px solid var(--navy); }
.reason { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; gap: 20px; }
.reason span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; width: 110px; flex: none; padding-top: 4px; }
.reason p { font-size: 16px; color: var(--ink-2); }
.soft-box { margin-top: 32px; max-width: 620px; background: var(--band); padding: 26px; }
.soft-title { font-family: var(--display); font-size: 24px; font-weight: 500; margin-bottom: 6px; }
.soft-box p:last-child { font-size: 15.5px; color: var(--ink-2); }
.form-aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.aside-why { border-top: 2px solid var(--navy); padding-top: 20px; }
.aside-label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.aside-why p:last-child { font-size: 16px; color: var(--ink-2); }
.aside-lic { background: var(--card); border: 1px solid rgba(14,42,68,.22); padding: 20px; }
.aside-ok { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--green); margin-bottom: 4px; }
.aside-name { font-family: var(--display); font-size: 22px; font-weight: 500; }
.aside-lic a { font-size: 14.5px; font-weight: 500; }
.form-footer { border-top: 1px solid var(--line); }
.form-footer .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 24px; font-size: 14px; color: var(--muted); }
