/* IMAGEST — Un producto de Point ITS. Hoja de estilos del sitio estático. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-wght-normal.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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext-wght-normal.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: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-wght-normal.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: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-ext-wght-normal.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;
}

:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #0b1f3a;
  --primary: #1f5fd6;
  --primary-foreground: #ffffff;
  --muted: #f3f6fb;
  --muted-foreground: #56657d;
  --accent: #14a8a0;
  --navy: #0b1f3a;
  --destructive: #c8372d;
  --border: #e3e9f2;
  --input: #d6deea;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-heading: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 80rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background: var(--background);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--foreground);
}
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid rgba(31, 95, 214, 0.45); outline-offset: 2px; }

.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;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 60;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: var(--primary); color: var(--primary-foreground); font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 6rem 0; }
.bg-muted { background: var(--muted); }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* ---------- Icons (SVG locales vía máscara, heredan el color del texto) ---------- */
.ico {
  display: inline-block; flex-shrink: 0;
  width: 1rem; height: 1rem;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.ico-sm { width: 0.875rem; height: 0.875rem; }
.ico-lg { width: 1.25rem; height: 1.25rem; }
.ico-arrow-right { -webkit-mask-image: url('../assets/icons/arrow-right.svg'); mask-image: url('../assets/icons/arrow-right.svg'); }
.ico-arrow-left { -webkit-mask-image: url('../assets/icons/arrow-left.svg'); mask-image: url('../assets/icons/arrow-left.svg'); }
.ico-chevron-right { -webkit-mask-image: url('../assets/icons/chevron-right.svg'); mask-image: url('../assets/icons/chevron-right.svg'); }
.ico-check-circle { -webkit-mask-image: url('../assets/icons/check-circle.svg'); mask-image: url('../assets/icons/check-circle.svg'); }
.ico-clock { -webkit-mask-image: url('../assets/icons/clock.svg'); mask-image: url('../assets/icons/clock.svg'); }
.ico-file-check { -webkit-mask-image: url('../assets/icons/file-check.svg'); mask-image: url('../assets/icons/file-check.svg'); }
.ico-shield-check { -webkit-mask-image: url('../assets/icons/shield-check.svg'); mask-image: url('../assets/icons/shield-check.svg'); }
.ico-bar-chart { -webkit-mask-image: url('../assets/icons/bar-chart.svg'); mask-image: url('../assets/icons/bar-chart.svg'); }
.ico-building { -webkit-mask-image: url('../assets/icons/building.svg'); mask-image: url('../assets/icons/building.svg'); }
.ico-calendar-clock { -webkit-mask-image: url('../assets/icons/calendar-clock.svg'); mask-image: url('../assets/icons/calendar-clock.svg'); }
.ico-clipboard-list { -webkit-mask-image: url('../assets/icons/clipboard-list.svg'); mask-image: url('../assets/icons/clipboard-list.svg'); }
.ico-file-stack { -webkit-mask-image: url('../assets/icons/file-stack.svg'); mask-image: url('../assets/icons/file-stack.svg'); }
.ico-receipt { -webkit-mask-image: url('../assets/icons/receipt.svg'); mask-image: url('../assets/icons/receipt.svg'); }
.ico-scan-line { -webkit-mask-image: url('../assets/icons/scan-line.svg'); mask-image: url('../assets/icons/scan-line.svg'); }
.ico-stethoscope { -webkit-mask-image: url('../assets/icons/stethoscope.svg'); mask-image: url('../assets/icons/stethoscope.svg'); }
.ico-user-round { -webkit-mask-image: url('../assets/icons/user-round.svg'); mask-image: url('../assets/icons/user-round.svg'); }
.ico-wallet { -webkit-mask-image: url('../assets/icons/wallet.svg'); mask-image: url('../assets/icons/wallet.svg'); }
.ico-monitor-smartphone { -webkit-mask-image: url('../assets/icons/monitor-smartphone.svg'); mask-image: url('../assets/icons/monitor-smartphone.svg'); }
.ico-database { -webkit-mask-image: url('../assets/icons/database.svg'); mask-image: url('../assets/icons/database.svg'); }
.ico-folder-kanban { -webkit-mask-image: url('../assets/icons/folder-kanban.svg'); mask-image: url('../assets/icons/folder-kanban.svg'); }
.ico-line-chart { -webkit-mask-image: url('../assets/icons/line-chart.svg'); mask-image: url('../assets/icons/line-chart.svg'); }
.ico-lock { -webkit-mask-image: url('../assets/icons/lock.svg'); mask-image: url('../assets/icons/lock.svg'); }
.ico-repeat { -webkit-mask-image: url('../assets/icons/repeat.svg'); mask-image: url('../assets/icons/repeat.svg'); }
.ico-check { -webkit-mask-image: url('../assets/icons/check.svg'); mask-image: url('../assets/icons/check.svg'); }
.ico-minus { -webkit-mask-image: url('../assets/icons/minus.svg'); mask-image: url('../assets/icons/minus.svg'); }
.ico-plus { -webkit-mask-image: url('../assets/icons/plus.svg'); mask-image: url('../assets/icons/plus.svg'); }
.ico-menu { -webkit-mask-image: url('../assets/icons/menu.svg'); mask-image: url('../assets/icons/menu.svg'); }
.ico-x { -webkit-mask-image: url('../assets/icons/x.svg'); mask-image: url('../assets/icons/x.svg'); }
.ico-alert-circle { -webkit-mask-image: url('../assets/icons/alert-circle.svg'); mask-image: url('../assets/icons/alert-circle.svg'); }
.ico-phone { -webkit-mask-image: url('../assets/icons/phone.svg'); mask-image: url('../assets/icons/phone.svg'); }
.ico-whatsapp { -webkit-mask-image: url('../assets/icons/whatsapp.svg'); mask-image: url('../assets/icons/whatsapp.svg'); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem; border-radius: 999px;
  font-size: 0.875rem; font-weight: 600; line-height: 1.25rem;
  border: 1px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn-sm { padding: 0.625rem 1.25rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: 0 10px 24px -8px rgba(31, 95, 214, 0.45); }
.btn-primary:hover { background: var(--navy); }
.btn-outline { background: var(--background); border-color: var(--input); color: var(--foreground); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: var(--primary-foreground); color: var(--navy); }
.btn-light:hover { background: var(--accent); color: var(--primary-foreground); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.3); color: var(--primary-foreground); }
.btn-ghost-light:hover { border-color: var(--primary-foreground); }
.btn .ico-arrow-right { transition: transform 0.2s; }
.btn:hover .ico-arrow-right { transform: translateX(2px); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(227, 233, 242, 0.8);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.logo { display: inline-flex; align-items: center; gap: 0.625rem; }
.logo-mark { height: 2.25rem; width: auto; }
.logo-word { height: 1.25rem; width: auto; }
.logo-text {
  font-family: var(--font-heading); font-size: 1.125rem; font-weight: 800;
  letter-spacing: 0.14em; color: var(--primary-foreground);
}
.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 2rem; }
.main-nav a { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); transition: color 0.2s; }
.main-nav a:hover { color: var(--foreground); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--foreground); background: var(--background);
}
.menu-toggle .ico-x { display: none; }
.menu-toggle[aria-expanded='true'] .ico-x { display: inline-block; }
.menu-toggle[aria-expanded='true'] .ico-menu { display: none; }
.mobile-menu { border-top: 1px solid var(--border); background: var(--background); }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { display: flex; flex-direction: column; padding: 1rem 1.25rem; }
.mobile-menu a.nav-link { display: block; padding: 0.75rem 0.5rem; border-radius: 0.5rem; font-weight: 500; }
.mobile-menu a.nav-link:hover { background: var(--muted); }
.mobile-menu li.cta { padding-top: 0.75rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 7rem; }
.hero::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 620px; z-index: -1;
  background: linear-gradient(to bottom, var(--muted), var(--background));
}
.hero-grid { display: grid; gap: 3.5rem; align-items: center; padding-bottom: 5rem; }
.brand-line {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: var(--muted-foreground);
}
.brand-line strong { font-family: var(--font-heading); font-weight: 800; letter-spacing: 0.08em; color: var(--foreground); }
.brand-line .sep { width: 1.25rem; height: 1px; background: var(--input); }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem;
  padding: 0.375rem 0.875rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--background);
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--primary);
}
.dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: var(--accent); flex-shrink: 0; }
.hero h1 { margin-top: 1.5rem; font-size: 2.25rem; font-weight: 800; line-height: 1.08; }
.hero h1 span { color: var(--primary); }
.hero-lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.65; color: var(--muted-foreground); }
.hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2.25rem; }
.hero-highlights { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2.5rem; }
.hero-highlights li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; }
.hero-highlights .ico { color: var(--accent); }

.hero-visual { position: relative; margin-left: auto; width: 100%; max-width: 600px; aspect-ratio: 4 / 3.4; }
.hero-img-main {
  position: absolute; right: 0; top: 0; width: 86%; height: 78%;
  overflow: hidden; border-radius: 1.5rem; box-shadow: 0 25px 50px -12px rgba(11, 31, 58, 0.18);
}
.hero-img-small {
  position: absolute; left: 0; bottom: 0; width: 48%; height: 46%;
  overflow: hidden; border-radius: 1rem; border: 4px solid var(--background);
  box-shadow: 0 20px 25px -5px rgba(11, 31, 58, 0.15);
}
.hero-img-main img, .hero-img-small img { width: 100%; height: 100%; object-fit: cover; }
.queue-card {
  position: absolute; right: 2%; bottom: 6%; width: 54%; min-width: 220px;
  padding: 1rem; border-radius: 1rem; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96); box-shadow: 0 25px 50px -12px rgba(11, 31, 58, 0.2);
}
.queue-head { display: flex; align-items: center; justify-content: space-between; }
.queue-head p { font-size: 0.75rem; font-weight: 600; }
.tag { border-radius: 999px; background: var(--muted); padding: 0.125rem 0.5rem; font-size: 0.625rem; font-weight: 500; color: var(--muted-foreground); }
.queue-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }
.queue-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.5rem 0.625rem; border-radius: 0.5rem; background: var(--muted);
}
.queue-name { display: flex; align-items: center; gap: 0.5rem; min-width: 0; font-size: 0.6875rem; font-weight: 500; }
.queue-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-status { flex-shrink: 0; font-size: 0.625rem; color: var(--muted-foreground); }
.dot-primary { background: var(--primary); }
.dot-muted { background: var(--muted-foreground); }
.queue-foot {
  display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid var(--border); font-size: 0.6875rem; color: var(--muted-foreground);
}
.queue-foot .ico { color: var(--accent); }

/* Hero entrance */
.enter { animation: enter 0.8s var(--ease) both; }
.enter-d1 { animation-delay: 0.15s; }
.enter-d2 { animation-delay: 0.3s; }
.enter-d3 { animation-delay: 0.5s; }
.enter-zoom { animation: enter-zoom 1s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes enter-zoom { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- Section heading ---------- */
.heading { max-width: 48rem; margin: 0 auto; text-align: center; }
.heading.left { margin: 0; text-align: left; }
.eyebrow { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--primary); }
.heading h2, .h2 { margin-top: 1rem; font-size: 1.875rem; font-weight: 800; line-height: 1.2; }
.heading .sub { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.65; color: var(--muted-foreground); }
.inverted .eyebrow { color: var(--accent); }
.inverted h2 { color: var(--primary-foreground); }
.inverted .sub { color: rgba(255, 255, 255, 0.75); }

/* ---------- Modules ---------- */
.modules-grid {
  display: grid; gap: 1px; margin-top: 4rem; overflow: hidden;
  border: 1px solid var(--border); border-radius: 1.5rem; background: var(--border);
}
.module { background: var(--background); padding: 1.75rem; transition: background-color 0.2s; }
.module:hover { background: var(--muted); }
.module-ico {
  display: flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 0.75rem;
  background: var(--muted); color: var(--primary);
  transition: transform 0.3s, background-color 0.3s, color 0.3s;
}
.module:hover .module-ico { transform: translateY(-2px); background: var(--primary); color: var(--primary-foreground); }
.module h3, .card-title { margin-top: 1.25rem; font-size: 1rem; font-weight: 700; }
.module p, .card-text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.module-cta {
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--navy); color: var(--primary-foreground); padding: 1.75rem;
}
.module-cta p { font-size: 0.875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.module-cta .btn { margin-top: 1.5rem; width: fit-content; }

/* ---------- Specialties ---------- */
.spec-grid { display: grid; gap: 1.25rem; margin-top: 4rem; }
.spec-card {
  height: 100%; overflow: hidden; border-radius: 1rem; border: 1px solid var(--border); background: var(--background);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.spec-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(11, 31, 58, 0.1); }
.spec-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.spec-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.spec-card:hover .spec-media img { transform: scale(1.05); }
.spec-media::after {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s;
  background: linear-gradient(to top, rgba(11, 31, 58, 0.3), transparent);
}
.spec-card:hover .spec-media::after { opacity: 1; }
.spec-body { padding: 1.5rem; }
.spec-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.35; }
.spec-body p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.note { max-width: 42rem; margin: 2.5rem auto 0; text-align: center; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }

/* ---------- How it works ---------- */
.steps-wrap { position: relative; margin-top: 4rem; }
.steps { position: relative; display: grid; gap: 2rem; }
.step { display: flex; gap: 1rem; }
.step-num {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: var(--primary); color: var(--primary-foreground); font-size: 0.875rem; font-weight: 700;
  box-shadow: 0 0 0 8px var(--background);
}
.step h3 { font-size: 1rem; font-weight: 700; }
.step p { margin-top: 0.375rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.steps-line { display: none; }
.flows { display: grid; gap: 1.25rem; margin-top: 5rem; }
.flow-card { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--muted); padding: 2rem; }
.flow-card.featured { border-color: rgba(31, 95, 214, 0.25); background: var(--background); box-shadow: 0 20px 25px -5px rgba(31, 95, 214, 0.06); }
.kicker { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-foreground); }
.flow-card.featured .kicker { color: var(--primary); }
.flow-card h3 { margin-top: 0.75rem; font-size: 1.25rem; font-weight: 700; }
.flow-card > p:not(.kicker) { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.flow { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.5rem; }
.flow li { display: flex; align-items: center; gap: 0.5rem; }
.chip { border-radius: 999px; border: 1px solid var(--border); background: var(--background); padding: 0.5rem 0.875rem; font-size: 0.875rem; font-weight: 500; }
.flow .ico { color: var(--muted-foreground); transform: rotate(90deg); }
.claim-example { margin-top: 2rem; border-radius: 1rem; background: var(--muted); padding: 1.25rem; }
.claim-row { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; }
.claim-items { display: flex; flex: 1; flex-direction: column; gap: 0.375rem; }
.claim-items span { border-radius: 0.375rem; border: 1px solid var(--border); background: var(--background); padding: 0.375rem 0.75rem; font-size: 0.75rem; }
.claim-arrow { margin: 0 auto; color: var(--accent); transform: rotate(90deg); }
.claim-box { flex: 1; border-radius: 0.75rem; background: var(--navy); color: var(--primary-foreground); padding: 1rem; }
.claim-box .small { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.7); }
.claim-box .big { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 600; }
.claim-box .foot { margin-top: 0.5rem; font-size: 0.6875rem; color: rgba(255, 255, 255, 0.7); }

/* ---------- Dashboard ---------- */
.dashboard { overflow: hidden; background: var(--navy); color: var(--primary-foreground); }
.panel { margin-top: 4rem; border-radius: 1.5rem; background: var(--background); color: var(--foreground); padding: 0.75rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; border-radius: 1rem; background: var(--muted); padding: 0.75rem 1.25rem; }
.panel-dots { display: flex; gap: 0.375rem; }
.panel-dots span { width: 0.625rem; height: 0.625rem; border-radius: 999px; background: var(--input); }
.panel-title { font-size: 0.75rem; font-weight: 600; color: var(--muted-foreground); }
.badge-accent { border-radius: 999px; background: rgba(20, 168, 160, 0.15); padding: 0.25rem 0.625rem; font-size: 0.6875rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.panel-body { display: grid; gap: 0.75rem; padding: 1rem 0.5rem 0.5rem; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.box { border-radius: 1rem; border: 1px solid var(--border); padding: 1.25rem; min-width: 0; }
.kpis dt { font-size: 0.75rem; font-weight: 500; color: var(--muted-foreground); }
.kpis dd { margin-top: 0.5rem; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; }
.row { display: grid; gap: 0.75rem; }
.box-title { font-size: 0.875rem; font-weight: 700; }
.box-sub { font-size: 0.75rem; color: var(--muted-foreground); }
.line-chart { display: block; width: 100%; height: 8rem; margin-top: 1rem; overflow: visible; }
.months { display: flex; justify-content: space-between; margin-top: 0.5rem; font-size: 0.6875rem; color: var(--muted-foreground); }
.donut-wrap { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.25rem; }
.donut {
  position: relative; flex-shrink: 0; width: 7rem; height: 7rem; border-radius: 999px;
  background: conic-gradient(var(--primary) 0% 34%, var(--accent) 34% 62%, var(--navy) 62% 84%, var(--input) 84% 100%);
}
.donut::after { content: ''; position: absolute; inset: 1rem; border-radius: 999px; background: var(--background); }
.legend { display: flex; flex-direction: column; gap: 0.5rem; }
.legend li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; }
.legend span.sw { width: 0.625rem; height: 0.625rem; border-radius: 2px; }
.legend .pct { color: var(--muted-foreground); }
.bars { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.bars li { font-size: 0.75rem; }
.bars .lbl { display: flex; justify-content: space-between; }
.bars .lbl span:last-child { color: var(--muted-foreground); }
.track { height: 0.5rem; margin-top: 0.375rem; border-radius: 999px; background: var(--muted); }
.fill { height: 0.5rem; border-radius: 999px; background: var(--primary); }
.table-scroll { overflow-x: auto; }
.claims { width: 100%; min-width: 420px; margin-top: 0.75rem; text-align: left; font-size: 0.75rem; }
.claims th { padding: 0.625rem 0; font-weight: 500; color: var(--muted-foreground); border-bottom: 1px solid var(--border); }
.claims td { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.claims tr:last-child td { border-bottom: 0; }
.status { border-radius: 999px; background: var(--muted); padding: 0.25rem 0.625rem; font-weight: 500; color: var(--primary); }
.panel-note { margin-top: 1.25rem; text-align: center; font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 1.25rem; margin-top: 4rem; }
.plan {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border-radius: 1.5rem; border: 1px solid var(--border); background: var(--background); padding: 1.75rem;
  transition: box-shadow 0.3s;
}
.plan:hover { box-shadow: 0 10px 15px -3px rgba(11, 31, 58, 0.06); }
.plan.featured { border-color: var(--primary); box-shadow: 0 25px 50px -12px rgba(31, 95, 214, 0.2); }
.plan-badge {
  position: absolute; top: -0.75rem; left: 1.75rem; border-radius: 999px;
  background: var(--primary); color: var(--primary-foreground); padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600;
}
.plan h3 { font-size: 1.125rem; font-weight: 700; }
.plan-desc { margin-top: 0.5rem; min-height: 4.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.plan-price { display: flex; align-items: baseline; gap: 0.25rem; margin-top: 1.25rem; }
.plan-price strong { font-family: var(--font-heading); font-size: 2.25rem; font-weight: 800; line-height: 1.1; }
.plan-price span { font-size: 0.875rem; color: var(--muted-foreground); }
.plan .btn { margin-top: 1.5rem; width: 100%; padding: 0.75rem 1.25rem; }
.plan .btn .ico { opacity: 0.85; }
.features { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.features li { display: flex; gap: 0.625rem; font-size: 0.875rem; line-height: 1.4; }
.features .ico { margin-top: 0.125rem; color: var(--accent); }
.features li.excluded { color: var(--muted-foreground); }
.features li.excluded .ico { color: var(--muted-foreground); }

.compare { margin-top: 5rem; }
.compare h3 { text-align: center; font-size: 1.5rem; font-weight: 700; }
.compare-scroll { margin-top: 2rem; overflow-x: auto; border-radius: 1.5rem; border: 1px solid var(--border); }
.compare table { width: 100%; min-width: 720px; font-size: 0.875rem; }
.compare thead { background: var(--muted); }
.compare th, .compare td { padding: 1rem; text-align: center; }
.compare th:first-child { padding-left: 1.5rem; text-align: left; }
.compare thead th { font-weight: 600; }
.compare thead th.is-featured { color: var(--primary); }
.compare tbody tr { border-top: 1px solid var(--border); }
.compare tbody th { font-weight: 500; }
.compare td:nth-child(3) { background: rgba(31, 95, 214, 0.03); }
.compare .ico-check { color: var(--primary); }
.compare .ico-minus { color: var(--input); }
.compare .ico { display: block; margin: 0 auto; }

.rules { margin-top: 2.5rem; border-radius: 1.5rem; background: var(--muted); padding: 2rem; }
.rules h3 { font-size: 1rem; font-weight: 700; }
.rules ul { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.rules li { display: flex; gap: 0.625rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.rules .dot { margin-top: 0.5rem; }

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 3.5rem; align-items: center; }
.why-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1.5rem; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.benefits { display: grid; gap: 2.25rem 2rem; margin-top: 3rem; }
.benefits .ico { color: var(--primary); }
.benefits h3 { margin-top: 0.75rem; font-size: 1rem; font-weight: 700; }
.benefits p { margin-top: 0.375rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 48rem; margin: 0 auto; padding: 0 1.25rem; }
.faq-list { margin-top: 3.5rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-item h3 { font-family: var(--font-sans); letter-spacing: normal; }
.faq-btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; text-align: left; font-size: 1rem; font-weight: 600; color: var(--foreground);
  transition: color 0.2s;
}
.faq-btn:hover { color: var(--primary); }
.faq-icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 2rem; height: 2rem; border-radius: 999px; border: 1px solid var(--border);
  transition: transform 0.3s, background-color 0.3s, color 0.3s, border-color 0.3s;
}
.faq-btn[aria-expanded='true'] .faq-icon { transform: rotate(45deg); background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
.faq-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.3s ease-out, opacity 0.3s ease-out; }
.faq-panel.is-open { grid-template-rows: 1fr; opacity: 1; }
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding: 0 3rem 1.5rem 0; font-size: 0.875rem; line-height: 1.65; color: var(--muted-foreground); }

/* ---------- Contact ---------- */
.contact { padding: 0 0.75rem 6rem; }
.contact-box {
  max-width: var(--container); margin: 0 auto; overflow: hidden;
  border-radius: 2rem; background: var(--navy); color: var(--primary-foreground); padding: 5rem 1.25rem;
}
.contact-grid { display: grid; gap: 3.5rem; }
.contact-copy { display: flex; flex-direction: column; justify-content: center; }
.contact-copy .eyebrow { color: var(--accent); }
.contact-copy h2 { margin-top: 1rem; font-size: 1.875rem; font-weight: 800; line-height: 1.2; color: var(--primary-foreground); }
.contact-copy .lead { margin-top: 1.5rem; max-width: 32rem; font-size: 1.125rem; line-height: 1.65; color: rgba(255, 255, 255, 0.75); }
.contact-ctas { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2.25rem; }
.contact-phone { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; margin-top: 2rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.75); }
.contact-phone a { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--primary-foreground); transition: color 0.2s; }
.contact-phone a:hover { color: var(--accent); }
.contact-phone .ico { color: var(--accent); }

.form { border-radius: 1.5rem; background: var(--background); color: var(--foreground); padding: 1.5rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4); }
.form-grid { display: grid; gap: 1.25rem; }
.form label { font-size: 0.875rem; font-weight: 500; }
.form label .opt { font-weight: 400; color: var(--muted-foreground); }
.field {
  display: block; width: 100%; margin-top: 0.5rem; padding: 0.75rem 1rem;
  border-radius: 0.75rem; border: 1px solid var(--input); background: var(--background);
  font-size: 0.875rem; color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field::placeholder { color: rgba(86, 101, 125, 0.7); }
.field:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(31, 95, 214, 0.1); }
.field[aria-invalid='true'] { border-color: var(--destructive); }
select.field {
  -webkit-appearance: none; appearance: none; padding-right: 2.5rem;
  background-image: url('../assets/icons/chevron-right.svg');
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 0.875rem;
}
textarea.field { resize: none; }
.error { margin-top: 0.375rem; font-size: 0.75rem; color: var(--destructive); }
.error:empty { display: none; }
.form .btn { margin-top: 1.75rem; }
.form-status { margin-top: 1rem; font-size: 0.875rem; }
.form-status .ok { color: var(--accent); }
.form-status .info { display: flex; gap: 0.5rem; border-radius: 0.75rem; background: var(--muted); padding: 0.75rem; color: var(--muted-foreground); }
.form-status .info .ico { margin-top: 0.125rem; color: var(--primary); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: 3rem; padding-top: 4rem; padding-bottom: 4rem; }
.footer-about { margin-top: 1.25rem; max-width: 24rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.footer-product { margin-top: 1rem; font-size: 0.875rem; font-weight: 600; }
.footer-product span { color: var(--primary); }
.site-footer h2 { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; letter-spacing: 0; }
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; margin-top: 1rem; }
.footer-links a { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-links a.phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--foreground); }
.footer-links a.phone .ico { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .container { display: flex; flex-direction: column; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: 0.75rem; color: var(--muted-foreground); }
.footer-bottom strong { color: var(--foreground); font-weight: 600; }
.footer-bottom ul { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--primary); }

/* ---------- Legal pages ---------- */
.legal { display: flex; flex-direction: column; min-height: 100vh; max-width: 42rem; margin: 0 auto; padding: 4rem 1.25rem; }
.legal h1 { margin-top: 4rem; font-size: 2.25rem; font-weight: 800; line-height: 1.15; }
.legal p { margin-top: 1.5rem; line-height: 1.65; color: var(--muted-foreground); }
.legal .btn { margin-top: 2.5rem; width: fit-content; }
.legal .brand-line { margin-top: 1rem; }

/* ---------- Scroll reveal (solo si JavaScript está activo) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
  .hero-ctas, .contact-ctas { flex-direction: row; }
  .hero-highlights { flex-direction: row; flex-wrap: wrap; gap: 0.75rem 1.75rem; }
  .header-cta { display: inline-flex; }
  .heading h2, .h2, .contact-copy h2 { font-size: 2.25rem; }
  .modules-grid, .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .claim-row { flex-direction: row; align-items: center; }
  .claim-arrow { transform: none; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .span-2 { grid-column: span 2; }
}
@media (min-width: 768px) {
  .container { padding: 0 2rem; }
  .faq-wrap { padding: 0 2rem; }
  .section { padding: 8rem 0; }
  .header-bar { height: 5rem; }
  .hero { padding-top: 9rem; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
  .step { flex-direction: column; }
  .step h3 { margin-top: 0.5rem; }
  .steps-line { display: block; position: absolute; left: 1.25rem; right: 1.25rem; top: 1.25rem; height: 1px; background: var(--border); }
  .flow { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .flow .ico { transform: none; }
  .panel { padding: 1rem; }
  .panel-body { padding: 1.25rem 0.75rem 0.75rem; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { padding: 0 1.5rem 8rem; }
  .contact-box { padding: 6rem 3rem; }
  .form { padding: 2rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom .container { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .hero h1 { font-size: 3.6rem; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 7rem; }
  .heading h2, .h2 { font-size: 2.75rem; }
  .contact-copy h2 { font-size: 3rem; }
  .modules-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flows { grid-template-columns: 2fr 3fr; }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row .span-2 { grid-column: span 2; }
  .rules ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
  .why-media { aspect-ratio: 5 / 6; }
  .contact-box { padding: 6rem 4rem; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
  .footer-grid { grid-template-columns: 5fr 2fr 2fr 3fr; }
}
@media (min-width: 1280px) {
  .modules-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
