/* Sitio público de Aura — estilos compartidos */
:root {
  --navy: #0B4F6C;
  --navy-deep: #08354A;
  --blue: #0089BC;
  --blue-soft: #EAF5FA;
  --orange: #F28C28;
  --orange-deep: #C96A10;
  --ink: #10212B;
  --muted: #4A5A63;
  --line: #D7E3EA;
  --bg: #FFFFFF;
  --bg-alt: #F4F8FA;
  --radius: 14px;
  --max: 1180px;
  --head: "Plus Jakarta Sans", 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(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: 1.15rem; color: var(--muted); }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--orange); color: #1B1205; }
.btn-primary:hover { background: #F5A04D; color: #1B1205; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 1.45rem; color: var(--navy); }
.brand span { font-weight: 500; color: var(--blue); }
.brand:hover { color: var(--navy); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: 10px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }
.nav .login { color: var(--muted); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; min-width: 44px; min-height: 44px; cursor: pointer; color: var(--navy); }
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); gap: 2px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
}

/* Portada */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding: 72px 0 0; }
.hero::after { content: ""; position: absolute; right: -180px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: var(--blue); opacity: .35; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 760px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { color: #fff; }
.hero .lead { color: #D6EEF7; font-size: 1.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-shot { margin-top: 56px; margin-bottom: -2px; }
.window { background: #0B2A3A; border-radius: 14px 14px 0 0; padding: 10px 10px 0; box-shadow: 0 30px 70px rgba(4, 24, 36, .45); }
.window.round { border-radius: 14px; padding-bottom: 10px; }
.window .dots { display: flex; gap: 6px; padding: 0 0 9px 6px; }
.window .dots span { width: 10px; height: 10px; border-radius: 50%; }
.window .dots span:nth-child(1) { background: #F28C28; }
.window .dots span:nth-child(2) { background: #F2C94C; }
.window .dots span:nth-child(3) { background: #6FCF97; }
.window img { border-radius: 6px 6px 0 0; width: 100%; }
.window.round img { border-radius: 6px; }

/* Franja de confianza */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-item strong { font-family: var(--head); font-size: 1.15rem; color: var(--navy); }
.trust-item span { color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) { .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Grupos de módulos */
.module-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.module-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.module-group h3 { color: var(--navy); }
.module-group p { color: var(--muted); font-size: .95rem; }
.module-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.module-group a { display: flex; align-items: center; justify-content: space-between; text-decoration: none; color: var(--ink); font-weight: 500; padding: 9px 10px; margin: 0 -10px; border-radius: 8px; min-height: 40px; }
.module-group a:hover { background: var(--blue-soft); color: var(--navy); }
.module-group a svg { color: var(--blue); flex: none; }
@media (max-width: 1040px) { .module-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .module-groups { grid-template-columns: minmax(0, 1fr); } }

/* Bloques de característica con captura */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.feature + .feature { margin-top: 88px; }
.feature.reverse .feature-copy { order: 2; }
.feature-copy { display: flex; flex-direction: column; gap: 16px; }
.feature-copy p { color: var(--muted); }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 4px; color: var(--blue); }
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature.reverse .feature-copy { order: 0; }
}

/* Tarjetas de función */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.card p { color: var(--muted); font-size: .97rem; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* Banda CRM */
.band { background: var(--navy-deep); color: #fff; border-radius: 20px; padding: 48px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: #D6EEF7; }
.band .checks svg { color: var(--orange); }
.phone { justify-self: center; width: 220px; height: 440px; border-radius: 36px; background: #0B2A3A; border: 8px solid #1C4357; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.phone .row { background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 12px; font-size: .78rem; color: #D6EEF7; display: flex; flex-direction: column; gap: 2px; }
.phone .row strong { color: #fff; font-size: .85rem; }
.phone .ok { margin-top: auto; background: var(--orange); color: #1B1205; text-align: center; border-radius: 10px; padding: 10px; font-weight: 600; font-size: .85rem; }
@media (max-width: 860px) { .band { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; } }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 52px; display: flex; flex-direction: column; gap: 8px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--head); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Preguntas frecuentes */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* Llamado final */
.cta { background: var(--navy); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #D6EEF7; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* Encabezado de página interior */
.page-hero { background: var(--navy); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .lead { color: #D6EEF7; max-width: 760px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 16px; }
.crumbs { font-size: .9rem; color: #9FDDF3; }
.crumbs a { color: #9FDDF3; }

/* Formulario */
.form-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: minmax(0, 1fr); } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); padding: 22px; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #A9BCC6; border-radius: 9px; padding: 11px 12px; min-height: 46px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(0,137,188,.25); border-color: var(--blue); }
.field .err { display: none; color: #B42318; font-size: .88rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B42318; }
.field.invalid .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 500; cursor: pointer; min-height: 40px; }
.chips input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--blue); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--blue); flex: none; }
.consent.invalid { color: #B42318; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; border-radius: 10px; padding: 14px 16px; }
.form-msg.show { display: block; }
.form-msg.ok { background: #E8F6EE; color: #11603A; }
.form-msg.bad { background: #FDECEA; color: #8A1C12; }
.aside { display: flex; flex-direction: column; gap: 18px; }
.aside .card { gap: 8px; }

/* Texto legal */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.note { background: #FFF6E5; border: 1px solid #F2D29B; color: #6A4705; border-radius: 10px; padding: 14px 16px; }

/* Pie */
.site-footer { background: #072B3C; color: #BBD3DE; padding: 56px 0 32px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #BBD3DE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; }
.site-footer .brand span { color: #9FDDF3; }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 800px) { .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.turnstile { min-height: 65px; }

.paper { margin: 0; background: #fff; border-radius: 6px; box-shadow: 0 24px 60px rgba(4, 24, 36, .22); padding: 10px; }
.paper img { width: 100%; height: auto; display: block; }
.paper figcaption { font-size: .85rem; color: #5b6b78; padding: 10px 6px 2px; text-align: center; }
