/* Kodizof refresh prototype. Palette derives from Óscar's logo navy (#0C3A66). */
:root {
  --navy: #0C3A66;
  --navy-deep: #082A4B;
  --ink: #0E1B2C;
  --muted: #4A5A6E;
  --line: #DCE3EC;
  --paper: #FFFFFF;
  --tint: #F2F6FA;
  --sky: #2F80D1;
  --sky-soft: #E4EFFA;
  --go: #12A86B;
  --go-dark: #0E8A58;
  --radius: 14px;
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.proto-banner { background: #FFF4D6; color: #6B4E00; font-size: .8rem; text-align: center; padding: 6px 16px; border-bottom: 1px solid #F0DE9E; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; font-family: var(--body); font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn--wa { background: var(--go); color: #fff; }
.btn--wa:hover { background: var(--go-dark); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--line { border-color: var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); }

/* Top bar */
.topbar { background: var(--navy); position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.topbar__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: #D6E4F2; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: #fff; }

/* Backing strip (TRUJO visible) */
.backing { background: #fff; border-bottom: 1px solid var(--line); }
.backing__in { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; }
.backing p { margin: 0; font-size: .9rem; color: var(--muted); font-weight: 500; }
.backing a { color: var(--navy); font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.backing a:hover { text-decoration: underline; }
.backing__mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #0b1120; color: #22d3ee; font-family: var(--display); font-weight: 800; font-size: .7rem; flex: none; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 56px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 span { color: #9FD0FF; display: block; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: .8em; }
.hero .eyebrow, .eyebrow--light { color: #9FD0FF; }
.lead { font-size: 1.12rem; color: #D6E4F2; max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: #D6E4F2; font-size: .95rem; }
.hero__points li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--go); margin-right: 10px; vertical-align: middle; }

/* Chat mock */
.chat { margin: 0; background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; max-width: 420px; justify-self: end; width: 100%; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #F3F6F9; border-bottom: 1px solid var(--line); }
.chat__head small { display: block; color: var(--muted); font-size: .8rem; }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.chat__body { padding: 18px; display: grid; gap: 10px; background: #EEF3F7; }
.msg { margin: 0; padding: 10px 14px; border-radius: 14px; max-width: 85%; font-size: .93rem; line-height: 1.45; }
.msg--in { background: #fff; justify-self: start; border-bottom-left-radius: 4px; }
.msg--out { background: #D8F5E6; justify-self: end; border-bottom-right-radius: 4px; }
.msg--note { justify-self: center; background: var(--sky-soft); color: var(--navy); font-size: .8rem; text-align: center; border-radius: 999px; max-width: 100%; }
.chat__foot { margin: 0; padding: 8px 18px 12px; font-size: .75rem; color: var(--muted); background: #EEF3F7; }

/* Strip */
.strip { border-bottom: 1px solid var(--line); background: var(--tint); }
.strip__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 18px; padding-bottom: 18px; }
.strip p { margin: 0; color: var(--muted); font-weight: 500; }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.strip li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .9rem; color: var(--navy); font-weight: 500; }

/* Sections */
.section { padding: 80px 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #fff; }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__head p:last-child { color: var(--muted); font-size: 1.05rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.card p { color: var(--muted); margin: 0; }
.card--main { grid-row: span 2; background: var(--navy); border-color: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; }
.card--main h3 { font-size: 1.45rem; }
.card--main p { color: #D6E4F2; font-size: 1.02rem; }
.card--wide { grid-column: 1 / -1; }
.card--accent { background: var(--sky-soft); border-color: #C9DDF2; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.steps p { color: var(--muted); margin: 0; }
.steps__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; margin-bottom: 14px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; position: relative; background: #fff; }
.plan--hi { border: 2px solid var(--go); box-shadow: 0 16px 40px rgba(12,58,102,.12); }
.plan__tag { position: absolute; top: -13px; left: 24px; background: var(--go); color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; margin: 0; }
.plan__for { color: var(--muted); margin-bottom: .6em; }
.plan__price { color: var(--muted); }
.plan__price span { font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--ink); margin-right: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; flex: 1; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--go); border-bottom: 2px solid var(--go); transform: rotate(-45deg); }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.extras > div { background: var(--tint); border-radius: var(--radius); padding: 22px; }
.extras p { margin: 0; color: var(--muted); }

/* Trust */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.trust p { color: #D6E4F2; }
.trust__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trust__list li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 14px 18px; color: #D6E4F2; }
.trust__list strong { color: #fff; }

/* Who is behind */
.section__head--light p:last-child { color: #D6E4F2; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.duo__card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 28px; }
.duo__card--tt { background: #0b1120; border-color: rgba(34,211,238,.35); }
.duo__who { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: #9FD0FF; margin-bottom: .4em; }
.duo__card--tt .duo__who { color: #22d3ee; }
.duo__card ul { margin: 0; padding-left: 1.1em; color: #D6E4F2; display: grid; gap: 6px; }
.duo__link { display: inline-block; margin-top: 16px; color: #22d3ee; font-weight: 600; }
.trust__list--row { grid-template-columns: repeat(4, 1fr); }
.trust__list--row li { font-size: .9rem; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 600; cursor: pointer; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--sky); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact > div p { color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; min-height: 48px; }
.form input:focus, .form textarea:focus, .btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #9FD0FF; outline-offset: 2px; }
.form__legal { font-size: .8rem; color: var(--muted); margin: 0; }

/* Footer */
.footer { background: var(--navy-deep); color: #B9CCE0; padding: 40px 0; font-size: .9rem; }
.footer__in { display: grid; grid-template-columns: 1fr auto auto; gap: 24px 40px; align-items: center; }
.footer__logo { height: 56px; width: auto; margin-bottom: 8px; }
.footer p { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { color: #D6E4F2; }
.footer__tt { display: flex; align-items: center; gap: 12px; }
.footer__tt .backing__mark { width: 40px; height: 40px; font-size: .95rem; border-radius: 10px; border: 1px solid rgba(34,211,238,.4); }
.footer__tt p { line-height: 1.4; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .trust, .contact { grid-template-columns: 1fr; }
  .chat { justify-self: start; }
  .cards, .plans, .extras { grid-template-columns: 1fr 1fr; }
  .card--main { grid-row: auto; grid-column: span 2; min-height: 0; }
  .steps, .trust__list--row { grid-template-columns: 1fr 1fr; }
  .footer__in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .topbar__in { justify-content: space-between; }
  .brand img { height: 44px; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 36px 0 52px; }
  .hero__cta .btn { width: 100%; }
  .cards, .plans, .extras, .steps, .duo, .trust__list--row { grid-template-columns: 1fr; }
  .backing p { font-size: .82rem; text-align: center; }
  .card--main { grid-column: auto; }
  .section { padding: 56px 0; }
  .contact .btn--wa { width: 100%; }
}

/* Round 2: login button + real results */
.topbar__acts { display: flex; align-items: center; gap: 10px; }
.nav + .topbar__acts { margin-left: 8px; }
.btn--login { border-color: rgba(255,255,255,.35); color: #D6E4F2; background: transparent; }
.btn--login:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stats li { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; display: grid; gap: 6px; align-content: start; }
.stats strong { font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1.1; color: var(--navy); }
.stats span { color: var(--muted); }
.stats__note { margin: 18px 0 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 960px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .topbar__acts { gap: 6px; } .topbar__acts .btn--sm { padding: 0 12px; font-size: .88rem; } }
@media (max-width: 380px) { .stats { grid-template-columns: 1fr; } }
section[id] { scroll-margin-top: 76px; }
