/* Sitio público gowellpass.com. Todo color, tipo y radio sale de los tokens del Design System. */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: var(--action-pressed); }
h1, h2, h3 { font-family: var(--font-display); color: var(--text); margin: 0; }
h1 { font-weight: 600; font-size: 60px; line-height: 64px; letter-spacing: -0.02em; }
.h1-sm { font-size: 40px; line-height: 46px; letter-spacing: -0.01em; }
h2 { font-weight: 600; font-size: 36px; line-height: 42px; letter-spacing: -0.01em; }
h3 { font-weight: 600; font-size: 19px; line-height: 26px; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.lead { font-size: 18px; line-height: 28px; color: var(--text-muted); }
.muted { color: var(--text-muted); font-size: 15px; }
.fine { display: block; text-align: center; font-size: 13px; line-height: 18px; color: var(--text-muted); }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }
.wp-eyebrow { display: block; margin-bottom: 12px; }
.site-skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.site-skip:focus { left: 8px; }

/* ── Encabezado ── */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header__in { display: flex; align-items: center; gap: 24px; height: 80px; max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.site-header__logo { display: inline-flex; }
.site-nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 28px; font-size: 15px; }
.site-nav > a, .site-drop summary { color: var(--text); text-decoration: none; font-weight: 500; }
.site-nav > a:hover, .site-drop summary:hover, .site-nav > a[aria-current] { color: var(--text-accent); }
.site-drop { position: relative; }
.site-drop summary, .site-burger summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.site-drop summary::-webkit-details-marker, .site-burger summary::-webkit-details-marker { display: none; }
.site-drop__menu, .site-burger__menu { position: absolute; right: 0; top: calc(100% + 12px); min-width: 240px; display: flex; flex-direction: column; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.site-drop__menu { left: 50%; right: auto; transform: translateX(-50%); }
.site-drop__menu a, .site-burger__menu a { padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; }
.site-drop__menu a:hover, .site-burger__menu a:hover { background: var(--surface-sunken); }
.site-header__cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-burger { display: none; position: relative; }
.site-burger summary { width: 44px; height: 44px; justify-content: center; border-radius: 12px; color: var(--text); }

/* ── Bandas ── */
.band { padding: 96px 0; }
.band--tight { padding: 80px 0; }
.band--sunken { background: var(--surface-sunken); }

/* Presentación */
.hero { padding: 56px 0 72px; }
.hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero__text h1 { margin-bottom: 20px; }
.hero__text .lead { max-width: 520px; margin-bottom: 32px; }
.hero__media { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 460px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.hero__main { grid-row: 1 / span 2; }

/* Pasos */
.band h2 { margin-bottom: 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.steps p { color: var(--text-muted); font-size: 15px; line-height: 23px; }
.steps__n { width: 40px; height: 40px; border-radius: 50%; background: var(--action); color: var(--on-action); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; margin-bottom: 6px; }

/* Red */
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.split-head h2 { margin-bottom: 0; max-width: 580px; }
.disciplines { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.disciplines figure { margin: 0; }
.disciplines img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius-md); }
.disciplines figcaption { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 16px; }

/* Beneficios */
.h2-narrow { max-width: 640px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.features h3 { margin: 12px 0 6px; }
.features p { color: var(--text-muted); font-size: 15px; line-height: 23px; }
.features__icon { color: var(--text-accent); display: inline-flex; }

.promo { margin-top: 64px; display: flex; align-items: center; gap: 28px; padding: 28px; border: 1.5px solid var(--action); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.promo img { width: 168px; height: 168px; object-fit: cover; border-radius: var(--radius-lg); flex: none; }
.promo div { flex: 1; }
.promo h3 { font-size: 26px; line-height: 32px; margin-bottom: 8px; }
.promo p { color: var(--text-muted); }

.cta-final { background: var(--gradient-brasa); padding: 96px 0; text-align: center; }
.cta-final h2 { font-size: 48px; line-height: 54px; margin-bottom: 16px; }
.cta-final p { max-width: 520px; margin: 0 auto 28px; font-size: 18px; line-height: 27px; color: var(--espresso); }

/* Formularios */
.form-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.form-split h1, .form-split h2 { margin-bottom: 16px; }
.form-split .lead { margin-bottom: 28px; }
.card-form { background: var(--surface); border: 1.5px solid var(--action); border-radius: var(--radius-xl); padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-md); }
.band--sunken .card-form { border-color: var(--border); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wp-field__control select { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--text); appearance: none; height: 100%; cursor: pointer; }
.wp-field__control.select { position: relative; }
.wp-field__control input:invalid:not(:placeholder-shown) { color: var(--text); }
.wp-field.is-error .wp-field__control { border-color: var(--danger); }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.wp-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-chip { font-size: 14px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-size: 15px; }
.form-done { align-items: flex-start; }
.form-done__icon { color: var(--success); }
.form-done h2 { font-size: 26px; line-height: 32px; margin: 0; }
.form-done p { color: var(--text-muted); }

.mini-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.mini-steps li { display: flex; gap: 14px; }
.mini-steps li > span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-tint); color: var(--text-accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.mini-steps div { display: flex; flex-direction: column; }
.mini-steps div span { color: var(--text-muted); font-size: 15px; }

/* Afiliados */
.aff-hero { position: relative; min-height: 520px; display: flex; align-items: center; background: var(--espresso); overflow: hidden; }
.aff-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.aff-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 7, 1, 0.82) 0%, rgba(30, 7, 1, 0.45) 55%, rgba(30, 7, 1, 0.1) 100%); }
.aff-hero__in { position: relative; z-index: 1; width: 100%; }
.aff-hero .wp-eyebrow { color: var(--orange-200); }
.aff-hero h1 { color: #fff; max-width: 620px; font-size: 52px; line-height: 58px; margin-bottom: 16px; }
.aff-hero p { color: var(--blush); max-width: 480px; font-size: 18px; line-height: 27px; margin-bottom: 28px; }

/* Accesos */
.access { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 32px; text-align: left; }
.access__card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-xl); }
.access__card.is-main { border: 1.5px solid var(--action); box-shadow: var(--shadow-md); }
.access__card h2 { font-size: 22px; line-height: 28px; margin: 4px 0 0; }
.access__card p { color: var(--text-muted); font-size: 15px; line-height: 23px; flex: 1; margin-bottom: 12px; }
.access__icon { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-sunken); color: var(--text); }
.is-main .access__icon { background: var(--action); color: var(--on-action); }

/* Legal */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding-top: 56px; padding-bottom: 96px; }
.legal__nav { position: sticky; top: 112px; align-self: start; display: flex; flex-direction: column; gap: 4px; }
.legal__nav a { padding: 10px 12px; border-radius: 10px; color: var(--text-muted); text-decoration: none; font-size: 15px; line-height: 20px; }
.legal__nav a:hover { background: var(--surface-sunken); color: var(--text); }
.legal__nav a[aria-current] { background: var(--surface-tint); color: var(--text); font-weight: 600; }
.legal__doc { max-width: 720px; }
.legal__doc h1 { font-size: 40px; line-height: 46px; }
.legal__meta { color: var(--text-muted); font-size: 14px; margin: 6px 0 24px; }
.legal__draft { margin-bottom: 8px; }
.legal__doc h2 { font-size: 22px; line-height: 28px; margin: 32px 0 10px; }
.legal__doc p, .legal__doc li { font-size: 16px; line-height: 26px; color: var(--text); }
.legal__doc ul { padding-left: 20px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.legal__doc p + p { margin-top: 12px; }

/* ── Pie ── */
.site-footer { background: var(--espresso); color: var(--blush); }
.site-footer__in { max-width: 1200px; margin: 0 auto; padding: 56px 40px 40px; display: grid; grid-template-columns: 1fr auto auto; gap: 80px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: rgba(252, 233, 227, 0.8); }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer nav span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: rgba(252, 233, 227, 0.65); margin-bottom: 6px; }
.site-footer a { color: var(--blush); }
.site-footer a:hover { color: #fff; }
.site-footer__legal { max-width: 1200px; margin: 0 auto; padding: 20px 40px 32px; border-top: 1px solid rgba(252, 233, 227, 0.14); font-size: 13px; color: rgba(252, 233, 227, 0.7); }

/* ── Tableta ── */
@media (max-width: 1040px) {
  h1 { font-size: 48px; line-height: 54px; }
  .hero__in, .form-split { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { height: 380px; }
  .disciplines { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .access { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 860px) {
  .site-nav, .site-hide-sm { display: none; }
  .site-burger { display: block; }
  .legal { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .legal__nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .legal__nav .wp-eyebrow { width: 100%; margin-bottom: 4px; }
}
/* ── Celular ── */
@media (max-width: 640px) {
  .wrap, .site-header__in { padding: 0 16px; }
  .site-header__in { height: 64px; gap: 8px; }
  .site-header__logo svg { height: 24px; width: auto; }
  .site-header__cta .wp-btn { height: 40px; padding: 0 14px; font-size: 14px; }
  h1, .aff-hero h1 { font-size: 38px; line-height: 44px; }
  .h1-sm, .legal__doc h1 { font-size: 32px; line-height: 38px; }
  h2 { font-size: 28px; line-height: 34px; }
  .band { padding: 64px 0; }
  .band--tight { padding: 56px 0; }
  .hero { padding: 32px 0 48px; }
  .hero__media { height: 300px; gap: 10px; }
  .steps { grid-template-columns: 1fr; }
  .split-head { flex-direction: column; align-items: flex-start; }
  .disciplines { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .features { grid-template-columns: 1fr; gap: 28px; }
  .promo { flex-direction: column; align-items: flex-start; padding: 20px; }
  .promo img { width: 100%; height: 180px; }
  .cta-final h2 { font-size: 36px; line-height: 42px; }
  .grid2 { grid-template-columns: 1fr; }
  .card-form { padding: 20px; }
  .aff-hero { min-height: 480px; }
  .site-footer__in { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 16px 32px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__legal { padding: 20px 16px 32px; }
}
@media (max-width: 380px) {
  .site-header__cta .wp-btn--primary { padding: 0 10px; font-size: 13px; }
}

/* Estados */
[hidden] { display: none !important; }
.form-split > .form-done { grid-column: 2; grid-row: 1; }
.center .lead { margin-top: 12px; }
@media (max-width: 1040px) { .form-split > .form-done { grid-column: auto; grid-row: auto; } }
