:root {
  --navy: #020F23;
  --navy2: #0b2244;
  --orange: #FDAF18;
  --white: #ffffff;
  --soft: #F4F6F9;
  --line: #e3e8ef;
  --text: #1b2738;
  --muted: #5b6b82;
  --on-dark-muted: #c9d4e3;
  --green: #16a34a;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .btn { margin-top: 8px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 10;
  transition: transform .35s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.on-dark { background: var(--navy); border-bottom-color: transparent; }
.site-header.scrolled { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.site-header.on-dark.scrolled { background: rgba(2,15,35,.94); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header.hide { transform: translateY(-100%); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--navy); }
.on-dark .nav a { color: var(--white); }
.nav a:hover { color: var(--orange); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none;
  font-size: 1rem; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy2); }
.btn-ghost { border: 2px solid rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 64px 0 80px; overflow: hidden; }
.hero h1 { color: var(--white); }
.hl { color: var(--orange); }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .85rem; color: var(--orange); margin-bottom: 14px; }
.kicker.dark { color: var(--navy); opacity: .7; }
.lead { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 540px; }
.lead.dark { color: var(--navy); opacity: .85; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.soon { background: var(--orange); color: var(--navy); font-weight: 800; padding: 14px 22px; border-radius: 999px; }
.hero-art { position: relative; width: 100%; max-width: 440px; justify-self: end; }
.hero-art .map {
  width: 100%; height: auto; display: block;
  -webkit-mask-image: radial-gradient(circle at center, #000 52%, transparent 71%);
  mask-image: radial-gradient(circle at center, #000 52%, transparent 71%);
}
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--white); color: var(--navy); font-weight: 700; font-size: .92rem;
  padding: 10px 16px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.chip-a { top: 12%; left: -6%; }
.chip-b { top: 25%; right: -8%; }
.chip-c { bottom: 8%; left: 6%; }
.js .chip { animation: chipIn .7s cubic-bezier(.2,.8,.2,1) both, float 6s ease-in-out 1s infinite alternate; }
.js .chip-a { animation-delay: .9s, 1.6s; }
.js .chip-b { animation-delay: 1.2s, 2.4s; }
.js .chip-c { animation-delay: 1.5s, 3.2s; }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-out infinite; }
.pulse.late { animation-delay: 1.6s; }
.pin { transform-box: fill-box; transform-origin: center; animation: pinIn .6s cubic-bezier(.2,.8,.2,1.4) var(--d) both; }
.link { opacity: 0; animation: link 6s ease-in-out 2.2s infinite; }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes float { to { transform: translateY(-8px); } }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.1); opacity: 0; } }
@keyframes pinIn { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes link { 0%, 10% { opacity: 0; stroke-dashoffset: 0; } 25%, 70% { opacity: 1; } 90%, 100% { opacity: 0; stroke-dashoffset: -66; } }
.chip-dot { width: 20px; height: 20px; color: var(--green); display: inline-flex; }
.chip-dot svg { width: 20px; height: 20px; }
.chip-sub { color: var(--muted); font-weight: 600; }
.star { color: var(--orange); font-size: 1.05rem; line-height: 1; }

/* Sections */
.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section > .wrap > h2 { margin-bottom: 32px; }

/* Oficios en cinta */
.cats-section { overflow: hidden; }
.marquee {
  overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee.reverse .track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .track { animation-play-state: paused; }
.track li {
  margin-right: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 13px 22px;
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-weight: 700; color: var(--navy); font-size: 1.05rem; background: var(--white);
}
.cat-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cómo funciona: pasos + celular */
.flow { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }
.flow-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.flow-steps li {
  display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius);
  transition: background .4s ease, box-shadow .4s ease, opacity .4s ease;
}
.js .flow-steps li.in:not(.on) { opacity: .55; }
.flow-steps li.on { background: var(--white); box-shadow: 0 10px 30px rgba(2,15,35,.08); }
.flow-steps h3 { margin: 6px 0 4px; }
.flow-steps p { color: var(--muted); margin: 0; }
.num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--navy); border: 2px solid var(--line);
  font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; flex: none;
  transition: background .4s ease, border-color .4s ease;
}
.flow-steps li.on .num, html:not(.js) .num { background: var(--orange); border-color: var(--orange); }

.phone {
  width: 100%; max-width: 360px; margin: 0 auto; background: var(--navy); border-radius: 44px; padding: 12px;
  box-shadow: 0 30px 60px rgba(2,15,35,.25);
}
.phone-top {
  display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 32px 32px 0 0;
  padding: 18px 18px 14px; border-bottom: 1px solid var(--line);
}
.phone-top strong { display: block; color: var(--navy); line-height: 1.2; }
.phone-top small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 600; font-size: .78rem; }
.phone-top small .chip-dot, .phone-top small .chip-dot svg { width: 14px; height: 14px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #1F9E85; color: #fff; display: flex; align-items: center; justify-content: center; }
.avatar svg { width: 20px; height: 20px; }
.phone-body {
  height: 440px; background: var(--soft); border-radius: 0 0 32px 32px; padding: 16px 14px 20px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; font-size: .92rem;
}
.js .phone-body [data-t] { display: none; }
.js .phone-body [data-t].show { display: flex; animation: pop .45s cubic-bezier(.2,.8,.2,1.2) both; }
.msg { display: flex; max-width: 80%; padding: 10px 14px; border-radius: 18px; line-height: 1.4; }
.msg.me { align-self: flex-end; background: var(--navy); color: var(--white); border-bottom-right-radius: 6px; }
.msg.them { align-self: flex-start; background: var(--white); color: var(--text); border-bottom-left-radius: 6px; }
.msg.photo { flex-direction: column; gap: 6px; padding: 6px 6px 8px; font-size: .78rem; color: var(--on-dark-muted); align-items: flex-start; }
.photo-art {
  width: 150px; height: 104px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2E6FA3, #1F9E85); color: rgba(255,255,255,.9);
}
.photo-art svg { width: 38px; height: 38px; }
.typing { display: flex; align-self: flex-start; gap: 5px; background: var(--white); padding: 14px 16px; border-radius: 18px; border-bottom-left-radius: 6px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b3bfcf; animation: blink 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.card { display: flex; flex-direction: column; gap: 2px; align-self: flex-start; background: var(--white); border-radius: 18px; padding: 14px 16px; width: 82%; box-shadow: 0 6px 16px rgba(2,15,35,.06); }
.card-label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.card strong { font-size: 1.5rem; color: var(--navy); }
.card span { color: var(--muted); }
.accept {
  margin-top: 10px; background: var(--orange); color: var(--navy) !important; font-weight: 800; text-align: center;
  border-radius: 999px; padding: 8px; animation: tap .5s ease 1.2s both;
}
.sys { display: flex; align-self: center; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--green); background: #e7f6ec; border-radius: 999px; padding: 6px 12px; }
.sys svg { width: 14px; height: 14px; }
.card.review { align-self: flex-end; }
.stars { color: var(--orange) !important; font-size: 1.15rem; letter-spacing: 2px; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
@keyframes tap { 0%, 100% { transform: scale(1); } 50% { transform: scale(.93); filter: brightness(.92); } }

.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-item p { color: var(--muted); margin: 0; }
.check { color: var(--green); flex: none; width: 30px; height: 30px; margin-top: 2px; }
.check svg { width: 30px; height: 30px; }

/* Hecho en México */
.mexico { background: var(--navy); color: var(--white); overflow: hidden; }
.mexico h2 { color: var(--white); }
.mexico-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.mx { width: 100%; height: auto; display: block; }
.mx circle { fill: #1c3458; }
.mx circle.lit { fill: var(--orange); animation: twinkle 6s ease-in-out var(--d) infinite; }
@keyframes twinkle { 0%, 100% { opacity: .15; } 40%, 60% { opacity: 1; } }
.social.big { margin-top: 24px; }
.social.big a { width: 48px; height: 48px; color: var(--white); }

/* Aparecer al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

.pro { background: var(--orange); }
.pro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.pro-card { background: var(--white); border-radius: 24px; padding: 30px; box-shadow: 0 18px 40px rgba(2,15,35,.12); }
.pro-card ol { padding-left: 1.2em; margin: 0 0 24px; }
.pro-card li { margin-bottom: 8px; }

/* Content pages */
.page { padding: 56px 0 80px; }
.page h2 { font-size: 1.35rem; margin-top: 36px; }
.meta { color: var(--muted); font-size: .9rem; margin-top: -8px; }
.intro { font-size: 1.1rem; color: var(--muted); }
.muted { color: var(--muted); font-size: .95rem; margin-top: 32px; }
.toc { background: var(--soft); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.page section { scroll-margin-top: 84px; }
.numbered li { margin-bottom: 8px; }

.contact-card {
  background: var(--navy); color: var(--white); border-radius: 24px; padding: 28px;
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 28px 0 8px;
}
.contact-card h2 { color: var(--white); margin: 0 0 6px; }
.contact-card p { color: var(--on-dark-muted); margin: 0; max-width: 420px; }
.contact-card .btn-navy { background: var(--orange); color: var(--navy); }
.faq-title { margin-top: 48px !important; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--orange); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.box h3 { margin-bottom: 8px; }
.box ul { margin: 0; padding-left: 1.1em; }
.box li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer img { height: 40px; width: auto; margin-bottom: 14px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; display: block; margin-bottom: 8px; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--orange); }
.footer-tag { max-width: 260px; }
.social { display: flex; gap: 12px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; margin: 0; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

@media (max-width: 900px) {
  .hero-grid, .pro-grid, .flow, .mexico-grid { grid-template-columns: 1fr; }
  .flow { gap: 36px; }
  .hero-art { justify-self: center; max-width: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 14px; }
  .nav a:not(:last-child) { display: none; }
  .hero { padding: 44px 0 56px; }
  .hero-art { max-width: 320px; }
  .chip { font-size: .8rem; padding: 8px 12px; }
  .chip-a { left: -2%; }
  .chip-b { right: -2%; }
  .section { padding: 52px 0; }
  .track li { padding: 10px 16px; font-size: .95rem; margin-right: 10px; }
  .phone-body { height: 400px; }
  .trust, .two-col { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn, .soon { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .link { opacity: 0; }
  .mx circle.lit { opacity: .8; }
  .track { flex-wrap: wrap; width: auto; padding: 0 20px; }
  .track li[aria-hidden] { display: none; }
  .marquee.reverse { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .track li { margin-bottom: 10px; }
}
