/* ═══════════════════════════════════════════════════════════════
   NEXXUS — Compliance Intelligence Platform
   Sitio comercial público — Estilo minimalista / confianza
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy: #0a2540;
  --navy-2: #11365c;
  --blue: #0284c7;
  --blue-d: #026aa2;
  --sky: #38bdf8;
  --sky-l: #bae6fd;
  --ice: #f2f8fc;
  --ice-2: #e9f3fa;
  --text: #1f2e3d;
  --muted: #5d7185;
  --faint: #8ca2b5;
  --border: #dce9f2;
  --border-2: #c6dcea;
  --green: #0e9f6e;
  --green-bg: #e6f7f1;
  --amber: #b45309;
  --amber-bg: #fdf3e3;
  --red: #c0392b;
  --red-bg: #fbeae8;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(10, 37, 64, 0.09);
  --shadow-sm: 0 2px 10px rgba(10, 37, 64, 0.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
}
a {
  color: var(--blue);
  text-decoration: none;
}
button {
  font-family: var(--font);
  cursor: pointer;
}
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
section {
  scroll-margin-top: 84px;
}

.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Botones ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.28);
}
.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--border-2);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  padding: 12px 14px;
}
.btn-ghost:hover {
  color: var(--blue);
}
.btn-white {
  background: #fff;
  color: var(--navy);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Header / Nav ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}
.brand-name {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.5px;
}
.brand-name small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--faint);
  margin-top: -3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav-links a {
  white-space: nowrap;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--blue);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  margin: 4px auto;
  border-radius: 2px;
  transition: 0.2s;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(700px 380px at 85% -10%, rgba(56, 189, 248, 0.16), transparent 60%),
    linear-gradient(180deg, #f7fbfe 0%, #eef6fb 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0 76px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--sky-l);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
}
.hero h1 {
  font-size: 47px;
  line-height: 1.12;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
}
.hero-lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 13.5px;
  color: var(--faint);
}
.hero-note b {
  color: var(--muted);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 28px 32px;
  margin-top: 44px;
}
.stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.stat span {
  font-size: 13px;
  color: var(--muted);
}

/* Report mock */
.hero-visual {
  position: relative;
}
.report-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px;
  max-width: 430px;
  margin-left: auto;
}
.report-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.report-brand {
  font-weight: 800;
  color: var(--navy);
  font-size: 17px;
}
.report-brand span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--faint);
  margin-top: 2px;
}
.report-code {
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--blue);
  background: var(--ice);
  border: 1px solid var(--sky-l);
  padding: 5px 10px;
  border-radius: 7px;
  letter-spacing: 0.4px;
}
.report-subject {
  padding: 16px 0 4px;
}
.subject-name {
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy);
}
.subject-meta {
  font-size: 12.5px;
  color: var(--faint);
}
.score-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.score-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
}
.score-num span {
  font-size: 15px;
  color: var(--faint);
  font-weight: 600;
}
.score-info {
  flex: 1;
}
.score-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 7px;
}
.score-badge.low {
  background: var(--green-bg);
  color: var(--green);
}
.score-bar {
  height: 7px;
  background: var(--ice-2);
  border-radius: 10px;
  overflow: hidden;
}
.score-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), #34d399);
  border-radius: 10px;
}
.check-list {
  list-style: none;
  padding: 6px 0 14px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text);
  padding: 6px 0;
}
.check-list li::before {
  content: '✓';
  flex: 0 0 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.check-list li.warn::before {
  content: '!';
  background: var(--amber-bg);
  color: var(--amber);
}
.report-foot {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-size: 11.5px;
  color: var(--faint);
}
.float-chip {
  position: absolute;
  bottom: -18px;
  left: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 100px;
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.28);
}
.float-chip::before {
  content: '✓ ';
  color: #4ade80;
  font-weight: 800;
}

/* ── Trust bar ───────────────────────────────────────────── */
.trust {
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--faint);
  margin-right: 8px;
}
.trust-chip {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-2);
  background: var(--ice);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 100px;
}

/* ── Secciones ───────────────────────────────────────────── */
.section {
  padding: 88px 0;
}
.section.alt {
  background: var(--ice);
}
.section-head {
  max-width: 640px;
  margin: 0 auto 54px;
  text-align: center;
}
.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.7px;
  margin: 14px 0 12px;
}
.section-head p {
  color: var(--muted);
  font-size: 16.5px;
}

/* Cards de servicios */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
/* Una tarjeta que queda sola en la última fila va centrada, no pegada a la izquierda. */
@media (min-width: 1101px) {
  .cards-grid > .card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .cards-grid > .card:last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 11px);
  }
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: 0.2s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--sky-l);
}
.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ice);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.card-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.card-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--blue);
  background: var(--ice);
  border: 1px solid var(--sky-l);
  padding: 4px 9px;
  border-radius: 6px;
}

/* Industrias */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.industry {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  transition: 0.2s;
}
.industry:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow-sm);
}
.industry .icon-circle {
  margin: 0 auto 12px;
  width: 42px;
  height: 42px;
}
.industry b {
  display: block;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 4px;
}
.industry span {
  font-size: 12px;
  color: var(--faint);
  line-height: 1.45;
  display: block;
}

.industries-grid.six {
  grid-template-columns: repeat(3, 1fr);
}

/* Pasos */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.step p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ── Plataforma (split) ──────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.split h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.6px;
  margin: 14px 0 14px;
}
.split > div > p {
  color: var(--muted);
  margin-bottom: 24px;
}
.feature-list {
  list-style: none;
  margin-bottom: 30px;
}
.feature-list li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  font-size: 15px;
  color: var(--text);
}
.feature-list li::before {
  content: '✓';
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  font-weight: 800;
  font-size: 12px;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.split-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Dashboard mock */
.dash {
  container-type: inline-size;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 12px;
}
.dash-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: #fafcfe;
}
.dash-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-2);
}
.dash-url {
  margin-left: 12px;
  flex: 1;
  background: var(--ice);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--faint);
}
.dash-body {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  min-height: 330px;
}
.dash-side {
  background: var(--navy);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
}
.dash-logo {
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  margin-bottom: 16px;
}
.dash-logo i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--blue);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 11px;
}
.dash-side nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-side nav a {
  color: #8fb3d4;
  font-size: 11.5px;
  padding: 7px 10px;
  border-radius: 7px;
  font-weight: 500;
}
.dash-side nav a.on {
  background: rgba(56, 189, 248, 0.16);
  color: #fff;
  font-weight: 600;
}
.dash-plan {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 10px 12px;
  color: #b9d2e8;
  font-size: 10.5px;
  font-weight: 600;
}
.dash-plan small {
  font-weight: 400;
  color: #7e9dbb;
}
.dash-main {
  padding: 16px 18px;
  background: #fbfdff;
}
.dash-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.dash-search {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 13px;
  color: var(--faint);
  font-size: 11.5px;
}
.dash-new {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 11.5px;
  font-weight: 700;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.dash-stats > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 13px;
}
.dash-stats b {
  display: block;
  font-size: 17px;
  color: var(--navy);
  font-weight: 800;
}
.dash-stats span {
  font-size: 10px;
  color: var(--faint);
}
.dash-table {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.dash-row {
  display: grid;
  grid-template-columns: 1.1fr 1.45fr 1.05fr 0.85fr 1.05fr;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--ice-2);
  align-items: center;
  font-size: 11px;
}
.dash-row:last-child {
  border-bottom: none;
}
.dash-row.head {
  background: var(--ice);
  font-weight: 700;
  color: var(--navy-2);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.dash-row code {
  white-space: nowrap;
  color: var(--faint);
  font-size: 10.5px;
}
.pill {
  display: inline-block;
  white-space: nowrap;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.4px;
}
.pill.low {
  background: var(--green-bg);
  color: var(--green);
}
.pill.mid {
  background: var(--amber-bg);
  color: var(--amber);
}
.pill.high {
  background: var(--red-bg);
  color: var(--red);
}
.pill.state {
  background: var(--ice);
  color: var(--navy-2);
}

/* ── Banda CTA comercial ──────────────────────────────────────── */
.band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, #155a8a 100%);
  border-radius: 22px;
  padding: 64px 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.band::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28), transparent 70%);
}
.band-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.band h2 {
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}
.band p {
  color: #b9d2e8;
  font-size: 16px;
  max-width: 560px;
}
.band-steps {
  list-style: none;
  margin-top: 22px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.band-steps li {
  font-size: 13.5px;
  color: #d7e7f5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.band-steps b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.22);
  color: var(--sky);
  font-size: 11px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
}
.band-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.band-cta small {
  color: #8fb3d4;
  font-size: 12px;
  text-align: center;
}

/* Seguridad chips */
.security-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 56px;
}
.sec-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-2);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 18px;
}
.sec-chip .icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 19px 24px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  transition: 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: #b9d2e8;
  padding: 64px 0 30px;
  margin-top: 88px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand-mark {
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 13.5px;
  color: #8fb3d4;
  max-width: 280px;
  margin-bottom: 18px;
}
.footer-contact {
  font-size: 13px;
  line-height: 2;
  color: #b9d2e8;
}
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul {
  list-style: none;
}
.site-footer ul li {
  margin-bottom: 9px;
}
.site-footer ul a {
  color: #8fb3d4;
  font-size: 13.5px;
}
.site-footer ul a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 12px;
  color: #6e8fae;
}
.footer-disclaimer {
  font-size: 11px;
  color: #5d7c9b;
  margin-top: 14px;
  max-width: 820px;
}

/* Formularios */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-2);
}
.field label em {
  color: var(--red);
  font-style: normal;
}
.field input,
.field select {
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--text);
  border: 1.5px solid var(--border-2);
  border-radius: 9px;
  padding: 11px 14px;
  background: #fff;
  transition: 0.15s;
  width: 100%;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}
.field input.err,
.field select.err {
  border-color: var(--red);
  background: #fffbfa;
}
.field-hint {
  font-size: 11.5px;
  color: var(--faint);
}
.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0 24px;
  font-size: 13px;
  color: var(--muted);
}
.check-row input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--blue);
}
.form-error {
  display: none;
  background: var(--red-bg);
  border: 1px solid #f0c4be;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  border-radius: 9px;
  padding: 11px 16px;
  margin-bottom: 18px;
}
.form-error.show {
  display: block;
}
.form-error a {
  color: inherit;
  text-decoration: underline;
}
.form-ok {
  display: none;
  background: #ecfdf3;
  border: 1px solid #b7e4c7;
  color: #166534;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9px;
  padding: 11px 16px;
  margin-bottom: 18px;
}
.form-ok.show {
  display: block;
}
/* Fuera de pantalla y no display:none: algunos bots saltean los campos ocultos con display. */
.campo-trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 15px 26px;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(10, 37, 64, 0.35);
  opacity: 0;
  transition: 0.3s ease;
  z-index: 100;
  max-width: 90vw;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Contacto ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ci-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.ci-item .icon-circle {
  margin: 0;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}
.ci-item b {
  display: block;
  font-size: 13.5px;
  color: var(--navy);
  margin-bottom: 2px;
}
.ci-item span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.contact-hint {
  font-size: 13px;
  color: var(--muted);
  background: var(--ice-2);
  border: 1px dashed var(--border-2);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 4px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 30px 32px;
}
.field textarea {
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--text);
  border: 1.5px solid var(--border-2);
  border-radius: 9px;
  padding: 11px 14px;
  background: #fff;
  transition: 0.15s;
  width: 100%;
  resize: vertical;
  min-height: 120px;
}
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}
.field textarea.err {
  border-color: var(--red);
  background: #fffbfa;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 18px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }

  .hero h1 {
    font-size: 38px;
  }
  .hero-grid {
    gap: 36px;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .band-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .stats-row {
    grid-template-columns: repeat(2, auto);
  }
  .float-chip {
    position: static;
    display: table;
    margin: 16px auto 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 54px 0 60px;
  }
  .report-card {
    margin: 0 auto;
  }
  .hero h1 {
    font-size: 32px;
  }
  .cards-grid,
  .industries-grid,
  .industries-grid.six,
  .steps {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 24px 20px;
  }
  .section {
    padding: 60px 0;
  }
  .band {
    padding: 44px 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-cta .btn-primary {
    display: none;
  }
}

/* El mockup del portal se adapta a SU ancho, no al de la ventana: la columna que lo contiene
   cambia de ancho con cada breakpoint de la grilla. */
@container (max-width: 620px) {
  .dash-row {
    grid-template-columns: 1.1fr 1.5fr 0.9fr 1.05fr;
  }
  .dash-row .hide-t {
    display: none;
  }
}
@container (max-width: 440px) {
  .dash-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .dash-side {
    display: none;
  }
  .dash-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .dash-row .hide-m {
    display: none;
  }
}
