/* Página pública: barra superior, sección Roki, pie y formulario de afiliación */
html, body { margin: 0; background: #f3ebe1; }
body { font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; color: #2a1d21; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }

.top { display: flex; align-items: center; gap: 18px; max-width: 1680px; margin: 0 auto; padding: 12px 24px; }
.top-logo { height: 46px; width: auto; display: block; }
.top-back { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px 8px 8px; border-radius: 12px; text-decoration: none; font-weight: 800; font-size: 13px; color: #7a1430; background: #fff; box-shadow: 0 6px 16px -12px rgba(61, 9, 24, .6); }
.top-back:hover { background: #fbf7f2; }
.top .info { flex: 1; text-align: right; font-size: 13px; font-weight: 700; color: #6f6166; }
.top .info b { color: #7a1430; }
.roki-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border-radius: 999px; text-decoration: none;
  background: #fff; color: #17323d; font-size: 12.5px; font-weight: 800; white-space: nowrap;
  box-shadow: 0 0 0 1.5px #91dde6, 0 8px 20px -12px rgba(23, 50, 61, .5); transition: transform .15s;
}
.roki-pill:hover { transform: translateY(-1px); }
.roki-pill img { height: 22px; width: auto; padding: 4px 9px; border-radius: 999px; background: #eefafc; box-sizing: content-box; }
.wrap { max-width: 1680px; margin: 0 auto; padding: 0 24px 24px; }
#expo-mapa { --em-h: max(480px, calc(100vh - 70px - 76px - 26px)); }

/* ---------------- Roki */
.roki { background: linear-gradient(180deg, #f8fafc 0%, #eefafc 100%); border-top: 1px solid #dceff2; }
.roki-in { max-width: 1240px; margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.roki-by { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #5b7884; }
.roki-by img { height: 26px; width: auto; }
.roki h2 { margin: 16px 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.02em; color: #12303b; }
.roki h2 em { font-style: normal; color: #f47f62; }
.roki-lead { margin: 0 0 22px; font-size: 17px; color: #4a6470; max-width: 560px; }
.roki-feat { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.roki-feat li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.roki-feat li::before { content: '✓'; grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #12303b; background: #91dde6; }
.roki-feat b { font-size: 15.5px; color: #12303b; }
.roki-feat span { font-size: 14px; color: #5b7884; }
.roki-cards { display: flex; gap: 10px; align-items: center; margin-bottom: 26px; }
.roki-cards img { height: 30px; width: auto; padding: 6px 10px; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px #e3eef1; box-sizing: content-box; }
.roki-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.roki-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  padding: 15px 24px; border-radius: 14px; font: 800 15.5px 'Manrope', system-ui, sans-serif; color: #fff; background: #f47f62;
  box-shadow: 0 14px 28px -14px rgba(244, 127, 98, .9); transition: transform .15s, box-shadow .2s;
}
.roki-btn:hover { transform: translateY(-1px); box-shadow: 0 18px 30px -14px rgba(244, 127, 98, 1); }
.roki-btn.sec { background: #12303b; box-shadow: 0 14px 28px -16px rgba(18, 48, 59, .8); }
.roki-foot { margin: 26px 0 0; font-size: 13px; color: #6f8a95; }
.roki-foot a { color: #12303b; font-weight: 800; }

.roki-art { position: relative; display: grid; place-items: center; min-height: 460px; }
.roki-art::before { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, #91dde6 0%, rgba(145, 221, 230, 0) 70%); }
.phone { position: relative; width: 240px; height: 470px; border-radius: 38px; padding: 10px; background: #12303b; box-shadow: 0 40px 70px -30px rgba(18, 48, 59, .7); transform: rotate(-4deg); }
.phone-scr { height: 100%; border-radius: 30px; background: linear-gradient(180deg, #91dde6, #c9eff3); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 44px 18px 28px; text-align: center; }
.phone-scr img { width: 130px; height: auto; }
.phone-amt { font-size: 32px; font-weight: 800; color: #12303b; letter-spacing: -.02em; }
.phone-amt small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #3f6a77; }
.phone-tap { display: grid; justify-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: #12303b; }
.phone-tap i { width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .45), 0 0 0 22px rgba(255, 255, 255, .2); animation: tap 2s ease-in-out infinite; }
@keyframes tap { 50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, .5), 0 0 0 30px rgba(255, 255, 255, .15); } }
.bubble { position: absolute; padding: 10px 14px; border-radius: 14px; background: #fff; font-size: 13px; font-weight: 800; color: #12303b; box-shadow: 0 16px 30px -18px rgba(18, 48, 59, .6); }
.bubble.b1 { top: 70px; right: 6%; color: #1d8a55; }
.bubble.b2 { bottom: 80px; left: 4%; }

/* ---------------- Pie */
.pie { padding: 26px 16px 34px; text-align: center; font-size: 12.5px; color: #8b7d81; display: grid; gap: 6px; background: #f3ebe1; }
.pie b, .pie a { color: #7a1430; }
.pie-roki { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.pie-roki img { height: 18px; width: auto; vertical-align: middle; }

/* ---------------- Formulario */
.af { width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: #12303b; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); overflow: auto; }
.af::backdrop { background: rgba(18, 30, 36, .55); backdrop-filter: blur(3px); }
.af[open] { animation: afin .3s cubic-bezier(.2, .9, .25, 1.1); }
@keyframes afin { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.af-form, .af-done { position: relative; padding: 28px 28px 24px; }
.af-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eefafc; color: #12303b; font-size: 22px; line-height: 1; cursor: pointer; }
.af-head img { height: 30px; width: auto; }
.af-head h3, .af-done h3 { margin: 10px 0 4px; font-size: 26px; letter-spacing: -.01em; }
.af-head p, .af-done p { margin: 0 0 18px; color: #5b7884; font-size: 14.5px; }
.af-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.f { display: grid; gap: 5px; font-size: 13px; font-weight: 800; color: #3f5964; }
.f input, .f select { width: 100%; box-sizing: border-box; height: 46px; padding: 0 13px; border: 1.5px solid #d6e6ea; border-radius: 12px; font: 600 15px 'Manrope', system-ui, sans-serif; color: #12303b; background: #fbfdfe; }
.f input:focus, .f select:focus { outline: none; border-color: #91dde6; box-shadow: 0 0 0 4px rgba(145, 221, 230, .35); background: #fff; }
.f.bad input, .f.bad select { border-color: #e2543a; }
.f small { color: #c73d24; font-weight: 700; }
.af-ok { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 6px; font-size: 13.5px; color: #3f5964; cursor: pointer; }
.af-ok input { margin-top: 3px; width: 18px; height: 18px; accent-color: #f47f62; flex: none; }
.af-ok.bad span { color: #c73d24; }
.af-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.af-err { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdeeea; color: #a8321b; font-size: 14px; font-weight: 700; }
.af-send { width: 100%; margin-top: 14px; }
.af-send[disabled] { opacity: .6; cursor: wait; }
.af-done { text-align: center; padding-top: 40px; }
.af-check { width: 70px; height: 70px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 34px; font-weight: 800; color: #fff; background: #1fa855; box-shadow: 0 0 0 10px #e3f6ea; }

@media (max-width: 960px) {
  .top .info { display: none; }
  .top { justify-content: space-between; }
  .roki-in { grid-template-columns: 1fr; padding: 44px 20px; gap: 20px; }
  .roki-art { min-height: 380px; order: -1; }
  .phone { width: 200px; height: 390px; }
}
@media (max-width: 640px) {
  .top { padding: 10px 14px; gap: 10px; }
  .top-logo { height: 30px; }
  .top-back span { display: none; }
  .top-back { padding: 8px; }
  .roki-pill { padding: 6px 6px 6px 11px; font-size: 11.5px; }
  .roki-pill span { max-width: 128px; white-space: normal; line-height: 1.15; }
  .roki-pill img { height: 17px; }
  .wrap { padding: 0; }
  .af-grid { grid-template-columns: 1fr; }
  .af-form, .af-done { padding: 22px 18px 18px; }
  .roki-btn { width: 100%; }
  .roki-art { display: none; }
}
