
:root { --f: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif; --g1: #1fb871; --g2: #0e9b59; --gd: #0b7a47; --ink: #0f172a; --mut: #5f6c82; --line: #e6ebf1; --soft: #f5f7fa; --sl: #3a4866; --sand: #8a6a3b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--f); color: var(--ink); background: #f6f8fb; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hd { display: flex; align-items: center; gap: 22px; height: 66px; }
.hd .brand img { height: 28px; }
.hd nav { display: flex; gap: 4px; }
.hd nav a { font-size: 13.5px; font-weight: 800; color: var(--mut); padding: 8px 12px; border-radius: 10px; }
.hd nav a.on { color: var(--ink); background: var(--soft); }
.hd .mine { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px; background: linear-gradient(180deg, var(--g1), var(--g2)); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 12px 24px -14px rgba(14,155,89,.75); white-space: nowrap; }
.hd .mine svg { width: 19px; height: 19px; }

/* portada con la animación de puntos */
.hero { position: relative; overflow: hidden; background: linear-gradient(150deg, #0f1a2e 0%, #17263f 55%, #13324a 100%); color: #fff; }
.hero::before { content: ''; position: absolute; width: 560px; height: 560px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,196,136,.28), rgba(47,196,136,0)); }
.hero-g { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding: 54px 24px 60px; }
.kick { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9fe3c1; }
.kick i { width: 8px; height: 8px; border-radius: 50%; background: #2fc488; box-shadow: 0 0 0 4px rgba(47,196,136,.2); }
h1 { margin: 12px 0 10px; font-size: 46px; letter-spacing: -.045em; line-height: 1.05; font-weight: 800; }
.hero p { margin: 0 0 22px; color: #b8c3d6; font-size: 16px; line-height: 1.6; max-width: 480px; font-weight: 500; }
.find { position: relative; display: block; max-width: 520px; }
.find svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #7b879c; }
.find input { width: 100%; height: 58px; border-radius: 18px; border: none; background: #fff; padding: 0 130px 0 50px; font-size: 15.5px; font-weight: 600; outline: none; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.find input:focus { box-shadow: 0 0 0 4px rgba(47,196,136,.35), 0 20px 40px -20px rgba(0,0,0,.5); }
.find button { position: absolute; right: 7px; top: 7px; height: 44px; padding: 0 18px; border: none; border-radius: 13px; background: linear-gradient(180deg, var(--g1), var(--g2)); color: #fff; font-weight: 800; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips a { font-size: 12.5px; font-weight: 700; color: #dbe4f0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); padding: 7px 11px; border-radius: 999px; }
.hero-art svg { width: 100%; max-width: 440px; height: auto; margin-left: auto; overflow: visible; }

/* aviso de seguridad */
.safe { position: relative; z-index: 2; margin-top: -26px; display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px 20px; box-shadow: 0 20px 40px -30px rgba(15,23,42,.5); }
.safe svg { width: 46px; height: 46px; flex: none; }
.safe b { display: block; font-size: 15px; font-weight: 800; }
.safe small { font-size: 13.5px; color: var(--mut); font-weight: 600; line-height: 1.45; }

h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.035em; font-weight: 800; }
.lead { margin: 0 0 20px; color: var(--mut); font-size: 15px; font-weight: 500; }
section.blk { padding-top: 46px; }

/* temas */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tp { display: flex; gap: 14px; align-items: flex-start; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tp:hover { transform: translateY(-2px); border-color: #d3e9dd; box-shadow: 0 18px 34px -26px rgba(15,23,42,.5); }
.tp svg { width: 52px; height: 52px; flex: none; }
.tp b { display: block; font-size: 15.5px; font-weight: 800; margin-bottom: 4px; }
.tp small { display: block; font-size: 13px; color: var(--mut); font-weight: 500; line-height: 1.45; }
.tp em { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--gd); }
.tp em svg { width: 14px; height: 14px; }

/* preguntas y formulario */
.two { display: grid; grid-template-columns: 1fr 440px; gap: 24px; align-items: start; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.fg { padding: 16px 20px 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #94a3b8; }
.faq details { border-top: 1px solid #f0f3f7; }
.faq .fg + details { border-top: none; }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; padding: 14px 20px; font-size: 14.5px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { width: 28px; height: 28px; border-radius: 9px; background: var(--soft); display: grid; place-items: center; flex: none; }
.faq summary .q svg { width: 16px; height: 16px; }
.faq summary > svg { margin-left: auto; width: 18px; height: 18px; color: #94a3b8; transition: transform .25s; flex: none; }
.faq details[open] summary > svg { transform: rotate(180deg); }
.faq details[open] .q { background: #e3f5ec; }
.faq p { margin: 0; padding: 0 20px 16px 60px; font-size: 13.5px; color: var(--mut); line-height: 1.6; font-weight: 500; }
.faq p b { color: var(--ink); }

.form { position: sticky; top: 86px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.form .fh { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.form .fh svg { width: 48px; height: 48px; flex: none; }
.form .fh b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.form .fh small { font-size: 13px; color: var(--mut); font-weight: 600; }
.lbl { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; margin: 0 0 7px; }
.lbl span { color: #94a3b8; font-weight: 700; }
.kind { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.kind button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 800; color: var(--mut); display: inline-flex; align-items: center; gap: 6px; }
.kind button svg { width: 15px; height: 15px; }
.kind button.on { border-color: var(--g1); background: #f1faf5; color: var(--gd); box-shadow: 0 0 0 3px #e3f5ec; }
.inp { position: relative; margin-bottom: 14px; }
.inp > svg { position: absolute; left: 14px; top: 15px; width: 19px; height: 19px; color: #94a3b8; pointer-events: none; }
.inp input, .inp textarea { width: 100%; border-radius: 14px; border: 1.5px solid var(--line); background: var(--soft); padding: 0 14px 0 44px; font-size: 15px; font-weight: 600; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.inp input { height: 50px; }
.inp textarea { min-height: 118px; padding: 13px 14px 26px 44px; resize: vertical; line-height: 1.5; }
.inp input:focus, .inp textarea:focus { border-color: var(--g1); background: #fff; box-shadow: 0 0 0 4px #e3f5ec; }
.inp input::placeholder, .inp textarea::placeholder { color: #a5b0c0; font-weight: 500; }
.inp .cnt { position: absolute; right: 12px; bottom: 10px; font-size: 11.5px; font-weight: 700; color: #94a3b8; }
.hint { display: flex; gap: 7px; align-items: flex-start; font-size: 12.5px; color: var(--mut); font-weight: 600; margin: -6px 0 14px; line-height: 1.45; }
.hint svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.hint.warn { color: #6f5a3a; }
.b-main { width: 100%; min-height: 52px; border: none; border-radius: 15px; color: #fff; background: linear-gradient(180deg, var(--g1), var(--g2)); font-size: 15px; font-weight: 800; box-shadow: 0 12px 24px -14px rgba(14,155,89,.75); display: flex; align-items: center; justify-content: center; gap: 8px; }
.b-main svg { width: 18px; height: 18px; }
.b-main:disabled { background: #d9e0e8; box-shadow: none; color: #8592a6; cursor: not-allowed; }
.mail { text-align: center; margin: 14px 0 0; font-size: 13px; color: var(--mut); font-weight: 600; }
.mail a { color: var(--gd); font-weight: 800; }
.sla { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 11px 13px; border-radius: 14px; background: #f5f7fb; border: 1px solid #e4e9f1; font-size: 12.5px; color: var(--sl); font-weight: 700; line-height: 1.4; }
.sla svg { width: 22px; height: 22px; flex: none; }

/* enviado */
.sent { display: none; text-align: center; }
.form.done .send { display: none; } .form.done .sent { display: block; animation: in .4s cubic-bezier(.2,.8,.2,1); }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.sent svg.art { width: 180px; height: auto; margin: 4px auto 8px; }
.sent h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.03em; font-weight: 800; }
.sent p { margin: 0 auto 16px; max-width: 320px; font-size: 14px; color: var(--mut); line-height: 1.55; font-weight: 500; }
.fol { display: inline-flex; align-items: center; gap: 10px; border: 1.5px dashed #bfe6d2; background: #f1faf5; border-radius: 14px; padding: 10px 16px; margin-bottom: 16px; }
.fol small { font-size: 11.5px; font-weight: 800; color: var(--gd); text-transform: uppercase; letter-spacing: .06em; }
.fol b { font-size: 16px; font-weight: 800; letter-spacing: .06em; }
.steps { text-align: left; display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.steps div { display: flex; gap: 12px; align-items: flex-start; }
.steps i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; font-style: normal; font-size: 12px; font-weight: 800; }
.steps i.d { background: var(--g1); color: #fff; } .steps i.w { background: var(--soft); color: var(--mut); border: 1.5px dashed #cbd3de; }
.steps b { display: block; font-size: 14px; font-weight: 800; } .steps small { font-size: 12.5px; color: var(--mut); font-weight: 600; }
.b-txt { width: 100%; min-height: 44px; border: none; background: none; font-weight: 800; font-size: 14px; color: var(--mut); }

/* antes de escribir */
.before { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bf { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: flex; gap: 12px; align-items: center; }
.bf svg { width: 40px; height: 40px; flex: none; }
.bf b { display: block; font-size: 14px; font-weight: 800; } .bf small { font-size: 12.5px; color: var(--mut); font-weight: 600; line-height: 1.4; }

footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 26px 0 40px; background: #fff; }
.ft { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--mut); font-weight: 700; }
.ft img { height: 22px; } .ft nav { display: flex; gap: 18px; }
.demo-x { position: fixed; z-index: 80; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 4px; background: rgba(15,23,42,.92); padding: 5px; border-radius: 14px; box-shadow: 0 14px 34px -14px rgba(15,23,42,.6); }
.demo button { border: none; background: none; color: #b8c3d6; font-size: 12.5px; font-weight: 800; padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
.demo button.on { background: #fff; color: var(--ink); }

@media (max-width: 980px) {
  .hero-g { grid-template-columns: 1fr; padding: 34px 20px 56px; }
  .hero-art { position: absolute; right: -40px; top: 6px; width: 200px; opacity: .9; }
  .hero-g > div:first-child { position: relative; z-index: 1; }
  .two { grid-template-columns: 1fr; } .form { position: static; }
  .topics { grid-template-columns: 1fr 1fr; } .before { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hd { gap: 12px; height: 60px; } .hd nav { display: none; } .hd .brand img { height: 24px; }
  .hd .mine { height: 38px; padding: 0 13px 0 10px; font-size: 13px; }
  h1 { font-size: 32px; max-width: 70%; } .hero p { font-size: 14.5px; max-width: 78%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; } .chips a { flex: none; }
  .hero-g { padding: 30px 16px 58px; }
  .find input { height: 54px; padding-right: 16px; font-size: 15px; } .find button { display: none; }
  .safe { margin-top: -22px; padding: 14px; align-items: flex-start; } .safe svg { width: 38px; height: 38px; }
  .topics { grid-template-columns: 1fr; gap: 10px; }
  .tp { padding: 14px; } .tp svg { width: 44px; height: 44px; } .tp em { display: none; }
  h2 { font-size: 22px; } section.blk { padding-top: 34px; }
  .faq summary { padding: 13px 14px; font-size: 14px; } .faq p { padding: 0 14px 14px 54px; }
  .form { padding: 18px; border-radius: 22px; }
  .demo-x { bottom: 10px; }
}

/* dibujo en PC, puntos solo en celular */
.hero-art .m-dots { display: none; }
@media (max-width: 980px) { .hero-art .pc-art { display: none; } .hero-art .m-dots { display: block; } }
.fl1 { animation: fl 6s ease-in-out infinite; transform-box: fill-box; }
.fl2 { animation: fl 7.5s ease-in-out infinite reverse; transform-box: fill-box; }
@keyframes fl { 50% { transform: translateY(-8px); } }
.tw { animation: tw 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes tw { 50% { opacity: .3; transform: scale(.75); } }
@media (prefers-reduced-motion: reduce) { .fl1, .fl2, .tw { animation: none; } }

.note-err { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: #fbf6ec; border: 1px solid #efe3cc; color: #7a5d2f; font-size: 13px; font-weight: 700; line-height: 1.45; }
.note-err[hidden] { display: none; }
