/* Tokens: colores tomados del logo (navy #01233e, azul #77b2e0) */
:root {
  --navy: #01233e;
  --navy-deep: #00182b;
  --card: #0b2c49;
  --blue: #77b2e0;
  --blue-hover: #9cc8ec;
  --text-heading: #e6f1ff;
  --text: #b8c1ec;
  --text-muted: #8892b0;
  --alert: #ff6b6b;
  --line: rgba(119, 178, 224, 0.2);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--blue); color: var(--navy); padding: 8px 12px; border-radius: 6px;
}
.skip-link:focus { top: 16px; }

h1, h2, h3 { color: var(--text-heading); line-height: 1.15; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1rem; }
strong { color: var(--text-heading); }

.text-accent { color: var(--blue); }
.eyebrow { color: var(--blue); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 42rem; }
.section-intro { max-width: 46rem; color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2.5rem; }
.note { margin-top: 2rem; font-size: 0.9rem; color: var(--text-muted); max-width: 46rem; }
.kicker { margin-top: 2.5rem; color: var(--blue); font-weight: 600; font-size: 1.15rem; }

/* Botones: texto navy sobre azul (7.0:1, AA) */
.btn {
  display: inline-block; padding: 0.95rem 1.8rem; border-radius: 8px; border: 1px solid var(--blue);
  font: 600 1rem/1.2 Inter, system-ui, sans-serif; text-align: center; text-decoration: none;
  color: var(--blue); background: transparent; cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: rgba(119, 178, 224, 0.1); color: var(--blue-hover); transform: translateY(-2px); }
.btn-solid { background: var(--blue); color: var(--navy); border-color: var(--blue); box-shadow: 0 6px 18px rgba(119, 178, 224, 0.25); }
.btn-solid:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: var(--navy); box-shadow: 0 8px 24px rgba(119, 178, 224, 0.35); }
.btn-small { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(1, 35, 62, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: block; }
.brand img { width: 120px; height: 44px; object-fit: contain; }
.site-nav { display: none; gap: 1.5rem; margin-left: auto; }
.site-nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: var(--text-heading); }
.header-inner > .btn { margin-left: auto; }

/* Hero */
.hero { padding: 4rem 0 3.5rem; background: radial-gradient(at 75% 0%, rgba(119, 178, 224, 0.08), transparent 55%), var(--navy); }
.hero-cta { margin-top: 2rem; }
.microcopy { margin: 0.75rem 0 0; font-size: 0.9rem; color: var(--text-muted); }
.platforms { margin-top: 2.5rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.04em; }

/* Secciones */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--navy-deep); }

/* Tarjetas */
.grid { display: grid; gap: 1.25rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--blue); transform: translateY(-3px); }
.card p { margin: 0; color: var(--text); font-size: 0.97rem; }
.card-alert { border-left: 3px solid var(--alert); }
.card-alert h3 { color: var(--alert); }
.card-row { display: flex; gap: 1rem; align-items: flex-start; }
.card-row p { margin: 0; }

/* Proceso */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.step { position: relative; padding-left: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--blue); color: var(--blue); font-weight: 800; margin-bottom: 1rem; background: var(--navy);
}
.step p { margin: 0; color: var(--text-muted); }

/* Equipo */
.team { display: grid; gap: 1.25rem; }
.person { display: flex; gap: 1.25rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.person h3 { margin-bottom: 0.25rem; }
.person p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.avatar {
  flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: var(--navy); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.02em;
}

/* FAQ */
.faq { display: grid; gap: 0.75rem; max-width: 52rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.faq summary { cursor: pointer; color: var(--text-heading); font-weight: 600; list-style-position: outside; }
.faq details p { margin: 0.75rem 0 0; color: var(--text); }

/* Formulario */
.form-layout { display: grid; gap: 2.5rem; }
.lead-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem;
  display: grid; gap: 1rem; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.field { display: grid; gap: 0.35rem; }
.field label, .consent { color: var(--text-heading); font-weight: 600; font-size: 0.95rem; }
.optional { color: var(--text-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem; border-radius: 8px; border: 1px solid rgba(184, 193, 236, 0.3);
  background: var(--navy); color: var(--text-heading); font: inherit; font-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.92rem; color: var(--text); }
.consent input { margin-top: 0.3rem; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--blue); }
.form-status { min-height: 1.4em; margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { padding: 2.5rem 0; background: var(--navy-deep); border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 1rem; justify-items: start; }
.footer-inner img { width: 120px; height: 44px; object-fit: contain; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--text-heading); text-decoration: underline; }
.copy { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

/* Tablet y escritorio */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .lead-form { grid-template-columns: 1fr 1fr; padding: 2.25rem; }
  .lead-form .consent, .lead-form .btn, .lead-form .form-status, .lead-form .hp-field, .lead-form .cf-turnstile, .lead-form textarea { grid-column: 1 / -1; }
  .lead-form .field:has(textarea) { grid-column: 1 / -1; }
  .lead-form .btn { justify-self: start; min-width: 280px; }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer-inner .copy { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .site-nav { display: flex; }
  .section { padding: 6rem 0; }
  .hero { padding: 7rem 0 6rem; }
  .form-layout { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 4rem; }
  .form-layout > div { position: sticky; top: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .card:hover { transform: none; }
}

/* Páginas privadas (S5): propuesta y landing de emprendedores. Noindex. */
.currency-toggle { display: inline-flex; gap: 0.25rem; margin-top: 1.5rem; padding: 0.25rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.currency-toggle button { font: 600 0.9rem/1 Inter, system-ui, sans-serif; color: var(--text); background: transparent; border: 0; border-radius: 999px; padding: 0.6rem 1.1rem; cursor: pointer; }
.currency-toggle button:hover { color: var(--text-heading); }
.currency-toggle button[aria-pressed="true"] { background: var(--blue); color: var(--navy); }

/* Moneda: body[data-currency] decide qué valor se ve. Sin JS, COP. */
.cur { display: inline; }
body[data-currency="cop"] .cur-usd,
body[data-currency="usd"] .cur-cop { display: none; }

.plan-grid { display: grid; gap: 1.25rem; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--blue); }
.plan-badge { position: absolute; top: -13px; left: 1.4rem; background: var(--blue); color: var(--navy); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.25rem 0.75rem; border-radius: 999px; }
.plan-desc { min-height: 3.2em; color: var(--text-muted); font-size: 0.95rem; }
.plan-label { display: block; margin-top: 0.9rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.plan-value { display: block; color: var(--text-heading); font-weight: 600; font-size: 1.05rem; }
.plan-price { display: block; color: var(--blue); font-weight: 800; font-size: 1.6rem; line-height: 1.15; }
.plan-cta { margin-top: auto; padding-top: 1.5rem; }
.plan-cta .btn { display: block; width: 100%; }

.tag { display: inline-block; align-self: flex-start; margin-bottom: 1rem; padding: 0.25rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.checks { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.4rem; }
.checks li::before { content: "✔ "; color: var(--blue); }

.price-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.price-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.price-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.price-amount { text-align: right; color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums; }

.notice { margin-top: 1.25rem; padding: 1rem 1.2rem; border-left: 3px solid var(--blue); border-radius: 8px; background: rgba(119, 178, 224, 0.06); color: var(--text); font-size: 0.95rem; }
.notice p { margin: 0; }
.subhead { margin: 2.5rem 0 1rem; font-size: 1.15rem; }
.subhead-cta { margin-top: 2rem; }

@media (min-width: 640px) and (max-width: 899px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid > .plan:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .plan-grid { grid-template-columns: repeat(6, 1fr); }
  .plan { grid-column: span 2; }
  .plan:nth-child(n + 4) { grid-column: span 3; }
}
