/* OKENTRA · Pre-registro ANTEL Summit 2026
   Tokens extraídos del OKENTRA Design System (colors.css + effects.css). */

:root {
  /* Brand anchors */
  --ok-navy: #0B1345;
  --ok-violet: #684BFF;
  --ok-violet-light: #A786FA;

  /* Navy scale */
  --navy-600: #0B1345;
  --navy-700: #090f38;

  /* Violet scale */
  --violet-50:  #f0edff;
  --violet-300: #A786FA;
  --violet-400: #8a6bff;
  --violet-500: #684BFF;
  --violet-600: #573ce6;

  /* Neutrals */
  --neutral-0:   #ffffff;
  --neutral-50:  #f5f6fa;
  --neutral-200: #d8dbe6;
  --neutral-300: #c2c6d6;
  --neutral-500: #6b7080;
  --neutral-800: #26262f;

  /* Status */
  --success-500: #1f9d6b;
  --success-100: #dcf3ea;
  --danger-500:  #d6453f;

  /* Semantic */
  --text-strong: var(--navy-600);
  --text-body:   var(--neutral-800);
  --text-muted:  var(--neutral-500);
  --text-accent: var(--violet-600);
  --border-subtle: var(--neutral-200);
  --border-default: var(--neutral-300);
  --border-accent: var(--violet-300);

  --gradient-brand: linear-gradient(120deg, var(--violet-500) 0%, var(--navy-600) 100%);

  /* Effects */
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(11,19,69,.08), 0 1px 2px rgba(11,19,69,.05);
  --shadow-md: 0 4px 12px rgba(11,19,69,.10), 0 2px 4px rgba(11,19,69,.06);
  --shadow-accent: 0 8px 24px rgba(104,75,255,.30);
  --ring-accent: 0 0 0 3px rgba(104,75,255,.35);
  --ease-standard: cubic-bezier(.2,0,.2,1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--violet-300); text-decoration: none; }
a:hover { color: #fff; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.accent { color: var(--violet-300); }

@keyframes ok-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ok-glow { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: .85; transform: scale(1.08); } }
@keyframes ok-pop  { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes ok-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

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

html { scroll-behavior: smooth; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11,19,69,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.topbar__logo { height: 26px; width: auto; display: block; }
.topbar__meta { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 600; }
.topbar__meta-soft { opacity: .55; }
.topbar__meta-strong { letter-spacing: .14em; font-weight: 800; color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-600); color: #fff; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .28; pointer-events: none; z-index: 0;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(11,19,69,.82), rgba(11,19,69,.5));
}
.hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__glow--a {
  top: -160px; right: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(104,75,255,.55), transparent 68%);
  filter: blur(20px); animation: ok-glow 7s ease-in-out infinite;
}
.hero__glow--b {
  bottom: -200px; left: -140px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(167,134,250,.28), transparent 70%);
  filter: blur(24px);
}
.hero__grid {
  position: relative;
  padding-top: 64px; padding-bottom: 76px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero__copy { animation: ok-rise .6s ease-out both; }
.hero__title { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; margin: 0 0 20px; }
.hero__lede { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.78); max-width: 520px; margin: 0 0 30px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(104,75,255,.18); border: 1px solid rgba(167,134,250,.4);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #cbbcff; margin-bottom: 22px;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--violet-300); box-shadow: 0 0 0 4px rgba(167,134,250,.25); }

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  font-size: 14px; font-weight: 600;
}

.countdown__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.countdown { display: flex; gap: 12px; }
.countdown__box {
  flex: 1; max-width: 96px; text-align: center; padding: 14px 6px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.countdown__box--accent { background: rgba(104,75,255,.22); border-color: rgba(167,134,250,.4); }
.countdown__num { font-size: 32px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.countdown__unit { font-size: 11px; font-weight: 600; letter-spacing: .1em; color: rgba(255,255,255,.5); margin-top: 6px; }
.countdown__box--accent .countdown__unit { color: rgba(203,188,255,.8); }

/* ---------- form card ---------- */
.formcard-wrap { animation: ok-rise .6s ease-out .12s both; }
.formcard { background: #fff; border-radius: var(--radius-xl); box-shadow: 0 24px 60px rgba(5,8,28,.45); overflow: hidden; }
.formcard__bar { height: 4px; background: var(--gradient-brand); }
.formcard form { padding: 30px 30px 32px; color: var(--text-body); }
.formcard__title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--text-strong); margin-bottom: 6px; }
.formcard__sub { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin-bottom: 22px; }

.fields { display: flex; flex-direction: column; gap: 16px; }
.fields--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 700; color: var(--text-strong); }
.input {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 15px; color: var(--text-body);
  background: #fff; border: 1px solid var(--border-default); border-radius: var(--radius-md);
  transition: border-color var(--ease-standard) 120ms, box-shadow var(--ease-standard) 120ms;
}
.input::placeholder { color: var(--neutral-300); }
.input:focus { outline: none; border-color: var(--violet-400); box-shadow: var(--ring-accent); }
.input:user-invalid { border-color: var(--danger-500); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; border: 0; border-radius: 12px; cursor: pointer;
  transition: transform var(--ease-standard) 120ms, filter var(--ease-standard) 120ms;
}
.btn--primary { background: var(--violet-500); color: #fff; box-shadow: var(--shadow-accent); }
.btn--primary:hover { filter: brightness(1.06); color: #fff; }
.btn--primary:active { transform: translateY(1px); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; margin-top: 24px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.legal { font-size: 11.5px; color: var(--text-muted); line-height: 1.5; margin: 14px 0 0; text-align: center; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-error {
  margin: 14px 0 0; padding: 10px 13px; border-radius: var(--radius-md);
  background: #f8dedc; border: 1px solid var(--danger-500); color: #8f2a26;
  font-size: 13px; line-height: 1.5; text-align: center;
}

/* ---------- thanks state ---------- */
.thanks { padding: 44px 32px 40px; text-align: center; color: var(--text-body); }
.thanks__check {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--success-100); display: flex; align-items: center; justify-content: center;
  animation: ok-pop .5s var(--ease-standard) both;
}
.thanks__title { font-size: 23px; font-weight: 800; letter-spacing: -.02em; color: var(--text-strong); margin-bottom: 10px; }
.thanks__text { font-size: 15px; color: var(--text-muted); line-height: 1.6; max-width: 360px; margin: 0 auto 26px; }
.steps { text-align: left; background: var(--violet-50); border: 1px solid var(--border-accent); border-radius: var(--radius-lg); padding: 18px 20px; margin-bottom: 24px; }
.steps__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--text-accent); margin-bottom: 10px; }
.steps__list { display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--text-body); }
.steps__item { display: flex; gap: 10px; align-items: flex-start; }
.steps__n { color: var(--violet-500); font-weight: 800; }
.link-accent { font-size: 14px; font-weight: 700; color: var(--text-accent); }
.link-accent:hover { color: var(--violet-500); }

/* ---------- ticker ---------- */
.ticker { background: var(--violet-500); color: #fff; overflow: hidden; padding: 15px 0; white-space: nowrap; }
.ticker__track { display: inline-flex; align-items: center; animation: ok-marquee 26s linear infinite; will-change: transform; }
.ticker__group {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-size: 15px; font-weight: 800; letter-spacing: .1em;
}
.ticker__sep { opacity: .6; }

/* ---------- sections ---------- */
.section { background: #fff; padding: 80px 0; }
.section--muted { background: var(--neutral-50); }
.section--navy { background: var(--navy-600); color: #fff; padding: 84px 0; }
.section--tight { padding: 56px 0; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--text-accent); margin-bottom: 14px; }
.eyebrow--light { color: var(--violet-300); }
.eyebrow--dim { color: rgba(255,255,255,.5); margin-bottom: 28px; }
.h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; color: var(--text-strong); margin: 0 0 14px; }
.h2--light { color: #fff; margin-bottom: 16px; }
.lede { font-size: 17px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.lede--light { color: rgba(255,255,255,.78); margin-bottom: 30px; max-width: 520px; }

.sec-head { max-width: 620px; margin-bottom: 44px; }
.sec-head--center { text-align: center; margin: 0 auto 50px; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 38px; }
.sec-head__col { max-width: 640px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  background: #fff; border: 1px solid var(--border-subtle); border-radius: 16px;
  padding: 28px 26px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--violet-500);
}
.card__icon { width: 52px; height: 52px; border-radius: 13px; background: var(--violet-50); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card__title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: var(--text-strong); margin-bottom: 8px; }
.card__text { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* ---------- speakers ---------- */
.navbtns { display: flex; gap: 10px; }
.navbtn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-default);
  background: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--navy-600);
  transition: border-color var(--ease-standard) 120ms, background var(--ease-standard) 120ms;
}
.navbtn:hover { border-color: var(--violet-400); background: var(--violet-50); }
.track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 6px 22px; margin: -6px -6px 0; scrollbar-width: thin;
}
.track__item {
  flex: 0 0 300px; scroll-snap-align: start; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 1 / 1; background: var(--navy-600);
}
.track__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- soluciones ---------- */
.sec-head--wide { max-width: 680px; margin-bottom: 46px; }
.grid-3--tight { gap: 20px; }

.sol {
  background: #fff; border: 1px solid var(--border-subtle); border-radius: 16px;
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.sol--feature { background: var(--violet-50); border-color: var(--border-accent); }
.sol__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sol__id { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.sol__head .sol__id { margin-bottom: 0; }
.sol__icon {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: var(--violet-50);
  display: flex; align-items: center; justify-content: center;
}
.sol__icon--brand { background: var(--gradient-brand); box-shadow: var(--shadow-accent); }
.sol__title { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--text-strong); line-height: 1.15; }
.sol__tag { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.sol__tag--accent { color: var(--text-accent); }
.sol__brand { height: 20px; width: auto; opacity: .85; margin-top: 4px; flex: 0 0 auto; }
.sol__text { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

.sol__footer { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.sol__powered { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.sol__powered-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--text-muted); }
.sol__powered img { width: auto; display: block; }
.sol__powered img[alt="Odoo"] { opacity: .85; }

/* ---------- steps ---------- */
.step { text-align: center; padding: 0 14px; }
.step__icon {
  width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 16px;
  background: var(--gradient-brand); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-accent);
}
.step__n { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--violet-500); margin-bottom: 8px; }
.step__title { font-size: 19px; font-weight: 800; color: var(--text-strong); margin-bottom: 8px; }
.step__text { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.cta-row { text-align: center; margin-top: 52px; }

/* ---------- alliance ---------- */
.alliance { max-width: 1000px; text-align: center; }
.alliance__row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.alliance__row img { width: auto; display: block; }
.alliance__x { font-size: 28px; font-weight: 300; color: rgba(255,255,255,.35); }
.alliance__text { font-size: 14px; color: rgba(255,255,255,.6); margin: 28px auto 0; max-width: 560px; line-height: 1.6; }

/* ---------- footer ---------- */
.footer { background: var(--navy-700); color: rgba(255,255,255,.7); padding: 36px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__logo { height: 30px; width: auto; display: block; opacity: .9; }
.footer__meta { font-size: 13px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer__copy { color: rgba(255,255,255,.4); }

/* ---------- whatsapp ---------- */
.wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: inline-flex; align-items: center; gap: 11px;
  padding: 13px 20px 13px 15px; border-radius: 999px;
  background: #25D366; color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(5,8,28,.35);
  transition: transform 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard);
}
.wa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 38px rgba(5,8,28,.45); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .topbar__meta-soft { display: none; }
  .topbar__meta-strong { font-size: 12px; }
  .section, .section--navy { padding: 56px 0; }
  .hero__grid { padding-top: 44px; padding-bottom: 52px; }
  .formcard form { padding: 24px 22px 26px; }
  .fields--2 { grid-template-columns: 1fr; }
  .countdown { gap: 8px; }
  .countdown__num { font-size: 26px; }
  .ticker__group { font-size: 13px; gap: 18px; padding-right: 18px; }
  .sol__head { flex-direction: column; align-items: flex-start; }
  .wa { right: 14px; bottom: 14px; font-size: 0; gap: 0; padding: 14px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}
