:root {
  --navy: #0b2577;
  --navy-900: #071a57;
  --blue: #1e8fe1;
  --ink: #0f172a;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5eaf2;
  --tag-bg: #dbe9fb;
  --soft: #eef5fc;
  --white: #fff;
  --star: #f5b301;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(15, 37, 90, .08);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons / tags / stores ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; padding: 10px 22px; border-radius: 8px; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-900); box-shadow: var(--shadow); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); background: var(--white); padding: 10px 34px; }
.btn-outline:hover { background: var(--soft); }
.btn-white { background: var(--white); color: var(--navy); padding: 10px 50px; }

.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--tag-bg); color: var(--navy); font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 4px; }
.tag .ico { width: 13px; height: 13px; }

.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.stores-stack { flex-direction: column; gap: 6px; }
/* Both badges share the same box so Google Play / App Store always match in size */
.store { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 108px; height: 34px; border: 1px solid var(--navy); border-radius: 6px; padding: 0 8px; background: var(--white); color: var(--navy); font-weight: 600; font-size: 13px; line-height: 1.05; letter-spacing: -.2px; white-space: nowrap; transition: background .2s; }
.store:hover { background: var(--soft); }
.store svg { width: 18px; height: 18px; flex: none; }
.store small { display: block; font-size: 7px; font-weight: 500; letter-spacing: 0; }
.stores-lg { gap: 12px; flex-wrap: nowrap; }
.stores-lg .store { width: 152px; height: 52px; gap: 9px; font-size: 16px; border-radius: 7px; }
.stores-lg .store svg { width: 26px; height: 26px; }
.stores-lg .store small { font-size: 9px; margin-bottom: 1px; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 86px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 53px; width: auto; }
.logo-lg img { height: 67px; }

.main-nav { display: flex; gap: 36px; font-size: 14px; color: var(--ink); }
.main-nav a { position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero-media { position: absolute; top: 0; right: 0; width: 44%; height: 100%; border-bottom-right-radius: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.7) 7%, rgba(255,255,255,0) 22%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 52px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; letter-spacing: -1.5px; margin: 26px 0 30px; max-width: 680px; line-height: 1.08; }
.hero h1 span { color: var(--navy); display: block; }
.lead { font-size: 18px; max-width: 580px; color: var(--ink); }

.hero-features { display: flex; margin: 38px 0 50px; max-width: 760px; }
.hero-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--navy); line-height: 1.5; padding: 0 20px; border-left: 1px solid #c9d8ee; flex: 1; }
.hero-features li:first-child { padding-left: 0; border-left: 0; }
.f-ico { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--tag-bg); display: grid; place-items: center; color: var(--navy); }
.f-ico svg { width: 20px; height: 20px; }

.app-card { display: inline-flex; align-items: center; gap: 14px; background: var(--soft); border-radius: var(--radius); padding: 14px 24px; box-shadow: 0 0 0 1px #dfeaf7; }
.app-card h2 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-family: var(--font-body); }
.app-card p { font-size: 15px; max-width: 250px; color: var(--ink); }
.qr { border-radius: 4px; background: #fff; }

/* ---------- Sections ---------- */
.section { padding: 32px 0; }
.section-head { margin-bottom: 34px; }
.section-head h2, .section h2 { font-size: clamp(26px, 2.6vw, 33px); font-weight: 600; color: var(--navy); }
.section-head h2 { margin: 18px 0 18px; }
.section-head p { font-size: 17px; color: var(--ink); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 34px; }
.card { position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15,37,90,.14); }
.card-media { aspect-ratio: 395 / 222; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 34px 24px 34px; position: relative; }
.card-body h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card-body p { font-size: 15px; color: var(--ink); }
.card-badge { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; border: 3px solid #fff; left: 24px; top: -24px; }
.card-badge svg { width: 24px; height: 24px; }
/* Toda la tarjeta abre el detalle del servicio */
.card-link { all: unset; cursor: pointer; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.card-link:focus-visible::after { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: var(--radius); }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--navy); }
.card-more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-more svg { transform: translateX(3px); }

/* ---------- Modales (detalle de servicio / descarga) ---------- */
.modal { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(15,37,90,.25); color: var(--text); overflow: auto; }
.modal::backdrop { background: rgba(7, 26, 87, .55); }
.modal[open] { animation: modal-in .2s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.modal-close svg { width: 18px; height: 18px; }
.modal-media { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.modal-body { padding: 26px 30px 30px; }
.modal-body h2 { font-size: 26px; color: var(--navy); margin: 12px 0 10px; }
.modal-body h3 { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--navy); margin: 20px 0 10px; }
.modal-body > p { font-size: 15px; }
.check-list { display: grid; gap: 8px; font-size: 15px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--blue); }
.modal-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.modal-actions .btn { padding: 10px 22px; }
.download-modal { width: min(440px, calc(100% - 32px)); text-align: center; }
.download-modal .modal-body { padding: 36px 30px 32px; }
.download-modal .modal-body h2 { margin-top: 0; }
.download-modal .stores { justify-content: center; }
.qr-lg { width: 180px; height: 180px; margin: 22px auto; border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fff; image-rendering: pixelated; }
.download-box { display: flex; align-items: center; gap: 32px; margin-top: 28px; flex-wrap: wrap; }
.download-box .qr-lg { margin: 0; }
.qr { image-rendering: pixelated; }
@media (max-width: 560px) {
  .modal-body { padding: 22px 20px 24px; }
  .modal .stores-lg { flex-wrap: wrap; justify-content: center; }
}

/* Video (miniatura local; el iframe de YouTube se carga recién al hacer clic) */
.video-section { padding: 56px 0 24px; }
.video-inner { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 56px; }
.video-copy h2 { margin: 16px 0 16px; }
.video-copy > p { font-size: 17px; color: var(--ink); max-width: 440px; }
.video-points { display: grid; gap: 12px; margin-top: 26px; }
.video-points li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); }
.video-points svg { width: 26px; height: 26px; flex: none; padding: 6px; border-radius: 50%; background: var(--tag-bg); color: var(--navy); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--navy-900); box-shadow: 22px 22px 0 var(--tag-bg), 0 18px 48px rgba(15,37,90,.18); margin: 0 22px 22px 0; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,87,0) 55%, rgba(7,26,87,.35) 100%); transition: background .3s; }
.video-play:hover img { transform: scale(1.03); }
.video-play:hover::after { background: linear-gradient(180deg, rgba(7,26,87,.08) 0%, rgba(7,26,87,.4) 100%); }
.video-play:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: 16px; }
.video-btn { position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.35), 0 10px 30px rgba(7,26,87,.35); transition: transform .25s, background .25s; }
.video-btn svg { width: 34px; height: 34px; margin-left: 4px; }
.video-play:hover .video-btn { transform: scale(1.08); background: var(--blue); }

/* How it works */
.how { background: linear-gradient(180deg, #fff 0%, var(--soft) 12%, var(--soft) 88%, #fff 100%); padding: 72px 0; margin-top: 30px; }
.how-inner { display: grid; grid-template-columns: 1.15fr .8fr .55fr; align-items: center; gap: 32px; }
.how-steps h2 { margin: 16px 0 18px; }
.how .sub { font-size: 17px; color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 34px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; border-top: 2px dashed #cfe0f4; }
.steps li { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 16px; color: var(--ink); position: relative; }
.step-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--tag-bg); color: var(--navy); display: grid; place-items: center; }
.step-ico svg { width: 28px; height: 28px; }
.step-n { width: 18px; height: 18px; border-radius: 50%; background: var(--tag-bg); color: var(--navy); font-size: 10px; display: grid; place-items: center; margin: 8px 0 10px; }
.phones { width: 100%; max-width: 350px; margin: 0 auto; }
.pocket h2 { font-size: 24px; margin-bottom: 14px; line-height: 1.3; }
.pocket ul { margin-bottom: 18px; }
.pocket li { font-size: 14px; color: var(--ink); padding: 6px 0 6px 20px; position: relative; }
.pocket li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

/* Trust */
.trust { display: grid; grid-template-columns: 1fr 405px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.trust-content { padding: 24px 24px 24px; }
.trust-content h2 { margin: 18px 0 24px; }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; font-size: 16px; color: var(--ink); padding: 0 10px; border-left: 1.5px solid #c9d8ee; }
.trust-list li:first-child { border-left: 0; }
.trust-list svg { width: 44px; height: 44px; color: var(--navy); }
.trust-media { position: relative; }
.trust-media img { width: 100%; height: 100%; object-fit: cover; }
.trust-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 25%); }

/* Testimonials */
.testimonials h2 { margin-bottom: 30px; }
.quotes-wrap { position: relative; }
.quotes { --fl: 0px; --fr: 0px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 3); gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 2px 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); }
.quotes-wrap.can-prev .quotes { --fl: 48px; }
.quotes-wrap.can-next .quotes { --fr: 48px; }
.quotes::-webkit-scrollbar { display: none; }
.quotes:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: var(--radius); }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; }
.quote blockquote { flex: 1; }
.quotes-btn { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); box-shadow: 0 4px 16px rgba(15,37,90,.18); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.quotes-btn[hidden] { display: none; }
.quotes-btn:hover { background: var(--navy); color: var(--white); transform: scale(1.06); }
.quotes-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.quotes-btn svg { width: 20px; height: 20px; }
.quotes-prev { left: -24px; }
.quotes-prev svg { transform: scaleX(-1); }
.quotes-next { right: -24px; }
@media (hover: none) and (pointer: coarse) { .quotes-btn { display: none !important; } }
.quote { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 24px; background: var(--white); }
.stars { display: flex; gap: 2px; margin-bottom: 14px; }
.stars svg { width: 15px; height: 15px; fill: none; stroke: var(--star); stroke-width: 1.6; }
.stars svg.on { fill: var(--star); }
.quote blockquote { margin: 0 0 12px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.quote figcaption { display: flex; align-items: center; gap: 8px; }
.quote figcaption strong { display: block; font-weight: 500; color: var(--ink); font-size: 16px; line-height: 1.2; }
.quote figcaption small { font-size: 11px; color: var(--blue); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; }

/* CTA */
.cta { position: relative; display: grid; grid-template-columns: 1fr 1.1fr 300px; align-items: center; background: var(--navy-900); color: #fff; border-radius: var(--radius); overflow: hidden; min-height: 154px; }
.cta-help { display: flex; align-items: center; gap: 20px; padding: 24px 48px; position: relative; z-index: 2; }
.cta-help strong { display: block; font-family: var(--font-body); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.cta-help span:last-child { font-size: 16px; color: #dbe5ff; max-width: 200px; line-height: 1.45; }
.wa { width: 64px; height: 64px; flex: none; border-radius: 50%; background: #3e64c9; display: grid; place-items: center; }
.wa svg { width: 34px; height: 34px; color: #fff; }
.cta-main { text-align: center; position: relative; z-index: 2; padding: 24px 0; }
.cta-main h2 { color: #fff; font-family: var(--font-body); font-size: 22px; font-weight: 600; margin-bottom: 14px; max-width: 400px; margin-inline: auto; }
.cta-media { height: 100%; position: relative; }
.cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(7,26,87,0) 45%); }

/* Footer */
.site-footer { padding: 40px 0 70px; }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1.5fr; gap: 32px; }
.social { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; color: var(--navy); }
.social svg { width: 22px; height: 22px; }
.social a:hover { color: var(--blue); }
.footer-col { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.footer-col h3 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--navy); }
.footer-app { justify-self: end; }
.footer-app h3 { font-family: var(--font-body); font-size: 18px; font-weight: 500; color: var(--navy); margin-bottom: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 22px; }
  .how-inner { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
  .footer-brand, .footer-app { grid-column: span 3; justify-self: start; }
  .cta { grid-template-columns: 1fr 1fr; }
  .cta-media { display: none; }
}

@media (max-width: 900px) {
  .site-header { position: sticky; top: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
  .header-inner { height: 68px; }
  .nav-toggle { display: block; }
  .header-inner { gap: 12px; }
  .header-cta { margin-left: auto; padding: 8px 14px; font-size: 13px; gap: 6px; white-space: nowrap; }
  .header-cta .ico { width: 16px; height: 16px; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; padding: 8px 16px 16px; box-shadow: 0 10px 20px rgba(15,37,90,.08); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-media { position: relative; width: 100%; height: 340px; }
  .hero-media::before { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 35%); }
  .hero-inner { padding-top: 0; margin-top: -40px; }
  .hero-features { flex-wrap: wrap; gap: 16px 0; }
  .hero-features li { flex: 1 1 50%; border-left: 0; padding: 0 10px 0 0; }
  .app-card { display: grid; grid-template-columns: 1fr auto; width: 100%; }
  .app-card > div:first-child { grid-column: 1 / -1; }
  .stores-stack { flex-direction: row; }

  .cards { grid-template-columns: 1fr; }
  .quotes { grid-auto-columns: 46%; gap: 20px; }
  .quotes-prev { left: -12px; }
  .quotes-next { right: -12px; }
  .video-inner { grid-template-columns: 1fr; gap: 32px; }
  .video-frame { box-shadow: 0 14px 36px rgba(15,37,90,.18); margin: 0; }
  .trust { grid-template-columns: 1fr; }
  .trust-media { height: 240px; order: -1; }
  .trust-media::before { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 30%); }
  .trust-list { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .trust-list li:nth-child(3) { border-left: 0; }
  .cta { grid-template-columns: 1fr; }
  .cta-help { padding: 24px; }
}

@media (max-width: 560px) {
  .site-header .logo img { height: 44px; }
  .nav-toggle { padding: 8px 0 8px 4px; }
}

@media (max-width: 370px) {
  .header-cta .ico { display: none; }
  .header-cta { padding: 8px 12px; }
}

@media (max-width: 560px) {
  .quotes { grid-auto-columns: 85%; gap: 16px; }
  .quotes-wrap.can-prev .quotes { --fl: 16px; }
  .quotes-wrap.can-next .quotes { --fr: 16px; }
  .how-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .steps::before { display: none; }
  .hero-features li { flex-basis: 100%; }
  .app-card { grid-template-columns: 1fr; }
  .qr { display: none; }
  .video-frame { border-radius: 12px; }
  .video-btn { width: 64px; height: 64px; box-shadow: 0 0 0 7px rgba(255,255,255,.35), 0 8px 24px rgba(7,26,87,.35); }
  .video-btn svg { width: 26px; height: 26px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-app { grid-column: 1 / -1; }
}

/* =========================================================
   Páginas internas (quiénes somos, FAQ, legales, trabajá con nosotros)
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn-lg { padding: 13px 26px; font-size: 15px; }

/* Header sólido en páginas internas */
.page-inner .site-header { position: sticky; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.main-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Footer: contacto y pie */
.footer-contact { margin-top: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--navy); flex: none; }
.footer-contact a:hover { color: var(--navy); }
.footer-bottom { margin-top: 36px; padding-top: 18px; color: var(--muted); background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 32px) 1px no-repeat; }

/* Hero de página interna */
.page-hero { position: relative; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); padding: 40px 0 44px; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(30,143,225,.12), rgba(30,143,225,0) 70%); pointer-events: none; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -1px; margin: 18px 0 16px; }
.page-hero h1 span { color: var(--navy); }
.page-hero .lead { max-width: 640px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--navy); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero--split { padding-bottom: 56px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split-media { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; border-bottom-right-radius: 80px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Bloques generales */
.band { background: var(--soft); padding: 64px 0; margin: 32px 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; color: var(--navy); font-weight: 600; font-size: 15px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Quiénes somos */
.about-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.about-story .section-head h2 { margin-bottom: 0; }
.about-story-body p { font-size: 17px; color: var(--ink); line-height: 1.7; }
.about-story-body p + p { margin-top: 16px; }

/* Pasos de proceso (5 columnas) */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: p; }
.process li { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 20px 24px; box-shadow: var(--shadow); font-size: 14px; color: var(--muted); line-height: 1.55; counter-increment: p; }
.process li::before { content: counter(p); position: absolute; top: 18px; right: 18px; font-family: var(--font-head); font-weight: 700; font-size: 28px; color: var(--tag-bg); line-height: 1; }
.process strong { display: block; font-size: 16px; color: var(--navy); margin: 14px 0 6px; }
.process-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--tag-bg); color: var(--navy); display: grid; place-items: center; }
.process-ico svg { width: 24px; height: 24px; }

/* Bloque "sumate" */
.join { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--soft); border: 1px solid #dfeaf7; border-radius: var(--radius); padding: 32px 40px; }
.join h2 { font-size: 26px; margin-bottom: 6px; }
.join p { color: var(--ink); }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Requisitos */
.req-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.req { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; background: #fff; transition: box-shadow .25s, transform .25s; }
.req:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.req h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; color: var(--navy); margin: 16px 0 8px; }
.req p { font-size: 14px; color: var(--muted); }
.req-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.req-ico svg { width: 24px; height: 24px; }

/* FAQ */
.faq-search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin-top: 28px; background: #fff; border: 1px solid #d6e3f3; border-radius: 10px; padding: 0 16px; box-shadow: var(--shadow); }
.faq-search:focus-within { border-color: var(--blue); }
.faq-search svg { width: 20px; height: 20px; color: var(--navy); flex: none; }
.faq-search input { border: 0; outline: 0; font: inherit; font-size: 15px; padding: 14px 0; width: 100%; background: transparent; color: var(--ink); }
.faq-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips a { font-size: 13px; font-weight: 500; color: var(--navy); background: var(--tag-bg); padding: 7px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.chips a:hover { background: var(--navy); color: #fff; }
.faq-group { scroll-margin-top: 90px; }
.faq-group + .faq-group { margin-top: 36px; }
.faq-group h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 14px; }
.faq-group-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--tag-bg); display: grid; place-items: center; color: var(--navy); }
.faq-group-ico svg { width: 18px; height: 18px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item[open] { border-color: #cfe0f4; box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 16px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--navy); }
.faq-item summary svg { width: 20px; height: 20px; color: var(--navy); flex: none; transition: transform .2s; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.faq-answer p + p, .faq-answer p + ul, .faq-answer ul + p { margin-top: 10px; }
.faq-answer a { color: var(--navy); font-weight: 500; text-decoration: underline; }
.faq-answer ul { display: grid; gap: 6px; }
.faq-answer li { position: relative; padding-left: 20px; }
.faq-answer li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.faq-empty { padding: 24px; text-align: center; color: var(--muted); border: 1px dashed #cfe0f4; border-radius: var(--radius); }
.help-card { position: sticky; top: 100px; background: var(--navy-900); color: #dbe5ff; border-radius: 14px; padding: 28px 26px; }
.help-card-ico { width: 52px; height: 52px; border-radius: 50%; background: #3e64c9; display: grid; place-items: center; color: #fff; }
.help-card-ico svg { width: 26px; height: 26px; }
.help-card h2 { color: #fff; font-size: 22px; margin: 16px 0 8px; }
.help-card p { font-size: 15px; line-height: 1.55; margin-bottom: 20px; }
.help-card .btn { width: 100%; justify-content: center; background: #fff; color: var(--navy); }
.help-contact { margin-top: 18px; display: grid; gap: 10px; font-size: 14px; }
.help-contact li { display: flex; align-items: center; gap: 8px; }
.help-contact svg { width: 16px; height: 16px; flex: none; }
.help-contact a:hover { color: #fff; text-decoration: underline; }

/* Legales */
.legal-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.legal-tabs a { font-size: 14px; font-weight: 500; color: var(--muted); padding: 10px 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.legal-tabs a:hover { color: var(--navy); }
.legal-tabs a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); font-weight: 600; }
.legal-layout { display: grid; grid-template-columns: 270px 1fr; gap: 56px; align-items: start; }
.legal-layout--single { grid-template-columns: 1fr; max-width: 820px; }
.toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; padding-right: 6px; }
.toc-title { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc-list { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc-list a { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; }
.toc-list a:hover { color: var(--navy); }
.toc-list a.active { color: var(--navy); border-left-color: var(--navy); font-weight: 500; }
.toc-list .clause-n { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.prose { max-width: 760px; color: var(--text); font-size: 16px; line-height: 1.75; }
.prose h2 { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--navy); margin: 40px 0 14px; scroll-margin-top: 100px; line-height: 1.3; }
.prose h2:first-child { margin-top: 0; }
.prose .clause-n { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.prose p + p, .prose p + ol, .prose p + ul, .prose ol + p, .prose ul + p { margin-top: 14px; }
.prose ol, .prose ul { padding-left: 22px; display: grid; gap: 8px; }
.prose ol { list-style: decimal; }
.prose ul { list-style: disc; }
.prose li::marker { color: var(--navy); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose a { color: var(--navy); text-decoration: underline; }
.prose .doc-rev { margin-top: 28px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

@media (max-width: 1100px) {
  .process { grid-template-columns: repeat(3, 1fr); }
  .req-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 220px 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .split, .about-story, .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .split-media { order: -1; aspect-ratio: 16 / 10; border-bottom-right-radius: 48px; }
  .help-card { position: static; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .join { padding: 26px 22px; }
  .band { padding: 48px 0; }
}
@media (max-width: 560px) {
  .process, .req-grid { grid-template-columns: 1fr; }
  .legal-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .legal-tabs a { white-space: nowrap; }
  .hero-actions .btn, .join-actions .btn { width: 100%; justify-content: center; }
  .join-actions { width: 100%; }
}

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