/* =========================================================
   AgentBooster — estilos globales
   ========================================================= */

/* ---------- Tipografías (auto-hospedadas) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --accent: #1D4ED8;
  --accent-dark: #1E3A8A;
  --accent-soft: #E0E7FF;
  --accent-softer: #EEF2FF;
  --ink: #0E1A2B;
  --ink-2: #1E293B;
  --text: #334155;
  --muted: #475569;
  --subtle: #94A3B8;
  --line: #DDE3EC;
  --line-2: #E2E8F0;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --green: #15803D;
  --green-soft: #DCFCE7;
  --red: #B91C1C;
  --red-soft: #FEE2E2;
  --amber: #B45309;
  --amber-soft: #FEF3C7;
  --sky: #93C5FD;
  --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --radius: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #fff; }

/* ---------- Tipografía ---------- */
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.section-dark .eyebrow { color: var(--sky); }
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; font-size: clamp(36px, 5vw, 58px); }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.03em; }
.h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 600px; }
.body { font-size: 16px; line-height: 1.6; color: var(--muted); }
.section-dark .body, .section-dark .lead { color: #CBD5E1; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  padding: 15px 24px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1E40AF; box-shadow: 0 8px 20px -8px rgba(29, 78, 216, .6); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1B2A40; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: #CBD5E1; }
.btn-outline:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); font-weight: 800; }
.btn-ghost-white { color: #fff; border-color: #fff; }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { font-size: 15px; padding: 11px 18px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--text); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-login { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.mobile-menu { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { border-top: 1px solid var(--line); background: var(--surface); }
  .mobile-menu.open { display: block; }
  .mobile-menu nav { display: flex; flex-direction: column; padding: 12px 24px 24px; gap: 4px; }
  .mobile-menu a.m-link { padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
  .mobile-menu .btn { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid #C7D2FE; background: var(--accent-softer); color: var(--accent-dark); font-weight: 700; font-size: 13px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; border-top: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--text); padding-top: 8px; }
.proof span { display: inline-flex; align-items: center; gap: 8px; padding-top: 14px; }

/* Page hero (interiores) */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero .container:not(.split) { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; max-width: 1200px; }
.page-hero .display { font-size: clamp(34px, 4.4vw, 52px); max-width: 880px; }
.breadcrumb { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Mockup Capi ---------- */
.capi { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 24px; background: var(--ink); box-shadow: 0 30px 60px -30px rgba(14, 26, 43, .5); }
.capi-head { display: flex; align-items: center; justify-content: space-between; }
.capi-id { display: flex; align-items: center; gap: 10px; }
.capi-avatar { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.capi-name { color: #fff; font-weight: 700; font-size: 15px; display: block; }
.capi-role { color: var(--subtle); font-size: 12px; display: block; }
.capi-status { color: #86EFAC; font-size: 12px; font-weight: 700; }
.bubble-user { align-self: flex-end; max-width: 80%; background: var(--ink-2); color: var(--line-2); padding: 12px 16px; border-radius: 14px 14px 4px 14px; font-size: 14px; line-height: 1.5; }
.bubble-bot { align-self: flex-start; width: 100%; background: #fff; padding: 16px; border-radius: 14px 14px 14px 4px; display: flex; flex-direction: column; gap: 12px; }
.bubble-bot > span { font-size: 14px; font-weight: 600; }
.policy-list { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.policy-row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; background: #F8FAFC; border: 1px solid var(--line-2); }
.policy-row b { font-weight: 700; }
.policy-row .ins { color: var(--muted); }
.st-red { color: var(--red); font-weight: 700; }
.st-amber { color: var(--amber); font-weight: 700; }
.st-green { color: var(--green); font-weight: 700; }
.chip-btn { font-family: inherit; font-weight: 700; font-size: 13px; padding: 10px 14px; border-radius: 9px; border: 1px solid #CBD5E1; background: #fff; color: var(--ink); cursor: pointer; }
.chip-btn.green { background: var(--green); border-color: var(--green); color: #fff; }
.capi-input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid #334155; }
.capi-input input { flex-grow: 1; min-width: 0; background: transparent; border: 0; color: var(--line-2); font-family: inherit; font-size: 14px; outline: none; }
.capi-input input::placeholder { color: #8090A6; }
.capi-send { width: 36px; height: 36px; border-radius: 9px; border: 0; background: var(--accent); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.capi-thread { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 480px) {
  .policy-row { grid-template-columns: 1fr auto; }
  .policy-row .ins { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Grids y tarjetas ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 48px; align-items: start; }
.split.v-center { align-items: center; }

.card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card.soft { background: var(--bg); }
.card.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.card.dark .body { color: #CBD5E1; }
.card.sm { border-radius: 16px; padding: 22px 24px; gap: 6px; }
.card.sm h3 { font-size: 18px; font-weight: 700; }
.card.sm p { font-size: 15px; line-height: 1.55; color: var(--muted); }
a.card { text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
a.card:hover { border-color: #A5B4FC; transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(14, 26, 43, .35); }
.card-link { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 15px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.card.dark .card-link { color: var(--sky); }

.icon-box { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ib-accent { background: var(--accent); color: #fff; }
.ib-indigo { background: var(--accent-soft); color: var(--accent-dark); }
.ib-green { background: var(--green-soft); color: var(--green); }
.ib-amber { background: var(--amber-soft); color: #92400E; }
.ib-red { background: var(--red-soft); color: var(--red); }

/* Antes / después */
.compare { padding: 28px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 18px; }
.compare.before { background: var(--surface); border: 1px solid var(--line); }
.compare.after { background: var(--ink); color: #fff; }
.compare-title { display: flex; align-items: center; gap: 10px; }
.compare-title h3 { font-family: var(--font-display); font-size: 20px; }
.mark { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.mark.x { background: var(--red-soft); color: var(--red); }
.mark.ok { background: var(--green-soft); color: var(--green); }
.compare p { padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 16px; line-height: 1.55; color: var(--muted); }
.compare.after p { border-top-color: #253247; color: #CBD5E1; }
.compare.after strong { color: #fff; }

/* Seguridad */
.sec-card { border: 1px solid #2A3A52; border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.sec-card h3 { font-size: 18px; }
.sec-card p { font-size: 15px; line-height: 1.55; color: #CBD5E1; }

/* Listas con check */
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--text); }
.checklist li svg { flex-shrink: 0; margin-top: 3px; }
.section-dark .checklist li, .card.dark .checklist li { color: #CBD5E1; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px; }
.stat { padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.stat-label { font-size: 15px; color: var(--muted); margin-top: 6px; }
.section-dark .stat { background: transparent; border-color: #2A3A52; }
.section-dark .stat-num { color: #fff; }
.section-dark .stat-label { color: #CBD5E1; }

/* Feature detalle (página Funciones) */
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 56px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line); }
.feature:first-child { border-top: 0; padding-top: 0; }
.feature-copy { display: flex; flex-direction: column; gap: 18px; }
.feature.reverse .feature-visual { order: -1; }
@media (max-width: 860px) { .feature.reverse .feature-visual { order: 0; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 24px 50px -32px rgba(14, 26, 43, .35); display: flex; flex-direction: column; gap: 14px; }
.panel-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #F8FAFC; border: 1px solid var(--line-2); font-size: 14px; }
.field span:first-child { color: var(--muted); }
.field span:last-child { font-weight: 700; }
@media (max-width: 480px) { .field { grid-template-columns: 1fr; gap: 2px; } }
.drop { border: 2px dashed #A5B4FC; background: var(--accent-softer); border-radius: 14px; padding: 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--accent-dark); }
.wa { background: #E7F7EC; border-radius: 14px; padding: 16px; font-size: 14px; line-height: 1.55; color: #14532D; border: 1px solid #BBE5C8; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 70px; gap: 12px; align-items: center; font-size: 14px; }
.bar { height: 10px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.bar-row b { text-align: right; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.indigo { background: var(--accent-soft); color: var(--accent-dark); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent); }
.step h3 { font-size: 18px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Precios */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); gap: 4px; }
.billing-toggle button { font-family: inherit; font-weight: 700; font-size: 14px; border: 0; padding: 10px 16px; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.save-tag { color: var(--green); font-weight: 700; font-size: 13px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 20px; position: relative; }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 30px 60px -30px rgba(14, 26, 43, .55); }
.plan.featured .body, .plan.featured .checklist li { color: #CBD5E1; }
.plan-tag { position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
.plan-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price-num { font-family: var(--font-display); font-weight: 700; font-size: 46px; letter-spacing: -0.04em; line-height: 1; }
.price-per { font-size: 15px; color: var(--muted); }
.plan.featured .price-per { color: var(--subtle); }
.plan .checklist { margin-top: 4px; }
.plan .btn { margin-top: auto; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
table.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); }
.compare-table thead th { font-family: var(--font-display); font-size: 16px; background: #F8FAFC; }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .group td { background: var(--bg); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.yes { color: var(--green); font-weight: 800; }
.no { color: #CBD5E1; font-weight: 800; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.faq-list summary { font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 12px; height: 12px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease; flex-shrink: 0; margin-top: -6px; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq-list details p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.faq-group-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 40px 0 16px; }
.faq-group-title:first-child { margin-top: 0; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.faq-nav a { text-decoration: none; font-weight: 700; font-size: 14px; color: var(--accent-dark); background: var(--accent-softer); border: 1px solid #C7D2FE; padding: 8px 14px; border-radius: 999px; }

/* CTA */
.cta-wrap { padding-bottom: 96px; }
.cta { background: var(--accent); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.cta h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.03em; max-width: 760px; }
.cta p { font-size: 18px; line-height: 1.6; color: var(--accent-soft); max-width: 560px; }
.cta .btn-row { justify-content: center; padding-top: 8px; }

/* Logos aseguradoras */
.logos { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; justify-content: center; }
.logos span { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #94A3B8; letter-spacing: -0.02em; }
.logos-label { text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 20px; }

/* Testimonios */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.quote-name { font-weight: 700; font-size: 15px; display: block; }
.quote-role { font-size: 14px; color: var(--muted); display: block; }

/* ---------- Formularios ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 24px 50px -32px rgba(14, 26, 43, .3); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 700; font-size: 14px; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid #CBD5E1; border-radius: 10px; padding: 12px 14px; width: 100%;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29, 78, 216, .18); }
.form-field .hint { font-size: 13px; color: var(--muted); }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.form-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.form-status { display: none; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.form-status.show { display: block; }
.form-status.ok { background: var(--green-soft); color: var(--green); }
.form-status.err { background: var(--red-soft); color: var(--red); }
.hp { position: absolute; left: -9999px; }

/* Login */
.auth { min-height: calc(100vh - 73px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.auth-side { background: var(--ink); color: #fff; padding: clamp(32px, 6vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.auth-main { padding: clamp(32px, 6vw, 72px) 24px; display: flex; align-items: center; justify-content: center; }
.auth-main .form-card { width: 100%; max-width: 440px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--subtle); font-size: 13px; font-weight: 600; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Legal */
.legal { max-width: 820px; }
.legal h2 { font-family: var(--font-display); font-size: 24px; margin: 40px 0 12px; letter-spacing: -0.02em; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0; }
.legal li + li { margin-top: 6px; }
.legal .updated { font-size: 14px; color: var(--muted); }
.callout { background: var(--amber-soft); border: 1px solid #FCD34D; color: #78350F; padding: 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.55; margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about { display: flex; flex-direction: column; gap: 14px; }
.footer-about p { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 340px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); z-index: 40; transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.06); }

/* Utilidades */
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }

/* Animación de entrada */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, a.card { transition: none; }
}
