/* Noubex Landing — style.css */
/* Paleta: #001B48 (azul marino), #06B6D4 (teal), #FFFFFF, #f7f8fa, #5b6778, #1a1f2e */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #001B48;
  --teal: #06B6D4;
  --teal-dark: #0284C7;
  --white: #ffffff;
  --gray-bg: #f7f8fa;
  --gray-mid: #e5e7eb;
  --gray-text: #5b6778;
  --dark: #1a1f2e;
  --max-w: 1200px;
  --radius: 12px;
  --transition: 200ms ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ====================== UTILITIES ====================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(6,182,212,0.35); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: #0d3263; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 10px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(6,182,212,0.12);
  color: var(--teal-dark);
  border: 1px solid rgba(6,182,212,0.25);
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 17px;
  color: var(--gray-text);
  margin-top: 16px;
  max-width: 580px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ====================== NAV ====================== */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,27,72,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-btn-login {
  padding: 8px 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  font-weight: 500;
}
.nav-btn-login:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background var(--transition);
}
.nav-hamburger:hover { background: rgba(255,255,255,0.1); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 200ms, opacity 200ms;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 16px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: color var(--transition), background var(--transition);
}
.nav-mobile a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-mobile .btn { margin-top: 8px; }

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
}

/* ====================== HERO ====================== */
#hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3263 50%, #001B48 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { position: relative; }
.hero-badge { margin-bottom: 24px; }
.hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-title .accent { color: var(--teal); }
.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

/* Dashboard SVG mockup */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dashboard-mockup {
  width: 100%;
  max-width: 520px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}
.mockup-header {
  background: rgba(255,255,255,0.08);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }
.mockup-url {
  flex: 1;
  height: 22px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  margin: 0 8px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.mockup-url-text { font-size: 11px; color: rgba(255,255,255,0.4); }
.mockup-body { padding: 20px; }
.mockup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mockup-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px;
}
.mockup-card-num { font-size: 22px; font-weight: 700; color: var(--white); }
.mockup-card-label { font-size: 10px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.mockup-chart {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px;
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.mockup-bar {
  flex: 1;
  background: var(--teal);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
}
.mockup-table { margin-top: 16px; }
.mockup-row {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: center;
}
.mockup-dot-status { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.mockup-col { background: rgba(255,255,255,0.06); border-radius: 3px; height: 10px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ====================== SECCIÓN GENÉRICA ====================== */
.section { padding: 96px 0; }
.section-gray { background: var(--gray-bg); }
.section-navy { background: var(--navy); }

/* ====================== MÓDULOS ====================== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
@media (min-width: 1100px) {
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
}
.module-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.module-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,27,72,0.1); }
.module-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(6,182,212,0.12), rgba(6,182,212,0.05));
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
}
.module-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.module-target {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  margin-bottom: 16px;
}
.module-bullets {
  list-style: none;
  space-y: 8px;
}
.module-bullets li {
  position: relative;
  font-size: 14px;
  color: var(--gray-text);
  padding: 5px 0 5px 18px;
  line-height: 1.55;
}
.module-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.module-bullets li strong {
  color: var(--navy);
  font-weight: 600;
}

/* ====================== SECTORES ====================== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.sector-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background var(--transition), border-color var(--transition);
}
.sector-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(6,182,212,0.35); }
.sector-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}
.sector-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.sector-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* ====================== CUMPLIMIENTO ====================== */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.compliance-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.compliance-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,27,72,0.08); }
.compliance-law {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0,27,72,0.08);
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.compliance-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.compliance-desc { font-size: 14px; color: var(--gray-text); line-height: 1.6; }

/* ====================== PRECIOS ====================== */
.pricing-block {
  background: linear-gradient(135deg, rgba(6,182,212,0.06), rgba(0,27,72,0.03));
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  max-width: 680px;
  margin: 56px auto 0;
}
.pricing-block .section-title { font-size: 32px; }
.pricing-block .section-subtitle { font-size: 16px; margin: 16px auto 36px; }
.pricing-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.pricing-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-text);
}
.pricing-item::before { content: '✓'; color: var(--teal); font-weight: 700; }

/* ====================== FAQ ====================== */
.faq-list { max-width: 760px; margin: 56px auto 0; }
details {
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
details:hover { box-shadow: 0 2px 12px rgba(0,27,72,0.06); }
details[open] { border-color: rgba(6,182,212,0.3); }
summary {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 200ms;
}
details[open] summary::after { content: '−'; }
.faq-body { padding: 0 24px 20px; font-size: 14px; color: var(--gray-text); line-height: 1.7; }

/* ====================== FORMULARIO ====================== */
#contacto { scroll-margin-top: 80px; }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info { }
.contact-info .section-title { font-size: 32px; }
.contact-trust {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.trust-icon {
  width: 36px;
  height: 36px;
  background: rgba(6,182,212,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.trust-label { font-size: 14px; font-weight: 600; color: var(--navy); }
.trust-desc { font-size: 13px; color: var(--gray-text); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,27,72,0.07);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group label .req { color: var(--teal); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235b6778' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.modulos-check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.modulo-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-text);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  user-select: none;
}
.modulo-check input { width: 14px; height: 14px; cursor: pointer; accent-color: var(--teal); }
.modulo-check:has(input:checked) {
  border-color: var(--teal);
  background: rgba(6,182,212,0.06);
  color: var(--teal-dark);
}

.form-submit { width: 100%; margin-top: 8px; }
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  background: rgba(6,182,212,0.06);
  border: 1.5px solid rgba(6,182,212,0.3);
  border-radius: 12px;
  margin-top: 16px;
}
.form-success.show { display: block; }
.form-success-icon { font-size: 40px; margin-bottom: 12px; }
.form-success-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-success-text { font-size: 14px; color: var(--gray-text); }
.form-error-msg {
  display: none;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #dc2626;
  margin-bottom: 16px;
}
.form-error-msg.show { display: block; }

@media (max-width: 768px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .contact-info { display: none; }
}

/* ====================== FOOTER ====================== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--white); margin-bottom: 12px; }
.footer-logo-text { font-size: 18px; font-weight: 700; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; max-width: 300px; line-height: 1.6; }
.footer-contact-row { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-titular {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
.footer-titular strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.footer-bottom {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-made { font-style: italic; }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ====================== HERO DEMO CREDENTIALS (pill bajo CTAs) ====================== */
.hero-demo-creds {
  margin-top: 20px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(6,182,212,0.10);
  border: 1px dashed rgba(6,182,212,0.45);
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  max-width: 100%;
}
.hero-demo-creds-label {
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.01em;
}
.hero-demo-creds-code {
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 3px 8px;
  color: var(--white);
  white-space: nowrap;
}
.hero-demo-creds-sep { color: rgba(255,255,255,0.35); }
.hero-demo-creds-note {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-left: 4px;
}

/* ====================== CAPABILITIES (debajo de Módulos) ====================== */
.capabilities-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-mid);
}
.capability-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--gray-bg);
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  transition: border-color var(--transition), background var(--transition);
}
.capability-chip:hover {
  border-color: rgba(6,182,212,0.4);
  background: rgba(6,182,212,0.04);
}
.capability-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.capability-chip strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.capability-chip span {
  display: block;
  font-size: 12.5px;
  color: var(--gray-text);
  line-height: 1.45;
}

/* ====================== SECCIÓN DEMO EN VIVO ====================== */
#demo { scroll-margin-top: 80px; position: relative; overflow: hidden; }
.section-demo::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.demo-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.demo-bullets {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.78);
}
.demo-bullets li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0;
}

/* Tarjeta de credenciales */
.demo-credentials {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.demo-credentials-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.demo-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: demo-pulse 1.8s ease-out infinite;
}
@keyframes demo-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.demo-credentials-url {
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  word-break: break-all;
}
.demo-credentials-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.demo-credentials-row:first-of-type { border-top: none; }
.demo-credentials-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.demo-credentials-value {
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  padding: 8px 12px;
  border-radius: 6px;
  user-select: all;
  word-break: break-all;
}
.demo-copy {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--teal);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.demo-copy:hover { background: var(--teal-dark); }
.demo-copy.copied { background: #22c55e; }
.demo-credentials-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.demo-credentials-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--teal);
}

@media (max-width: 900px) {
  .demo-wrap { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .demo-credentials-row { grid-template-columns: 1fr; gap: 6px; }
  .demo-credentials-label { font-size: 11px; }
}

/* FAQ inline code (la pregunta de la demo lo usa) */
.faq-body code {
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
  background: rgba(6,182,212,0.10);
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--teal-dark);
}

/* ====================== FADE-IN ON SCROLL ====================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}


/* ====================== HERO PILLS + TOOLTIP ====================== */
.hero-pill {
  position: relative;
  display: inline-block;
  padding: 0 4px;
  border-radius: 8px;
  cursor: help;
  background: rgba(6,182,212,0.10);
  box-shadow: inset 0 -2px 0 rgba(6,182,212,0.55);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.hero-pill:hover,
.hero-pill:focus-visible,
.hero-pill.is-open {
  background: rgba(6,182,212,0.25);
  box-shadow: inset 0 -2px 0 var(--teal);
  outline: none;
}

/* Variante pequeña dentro del párrafo de ayuda */
.hero-pill-inline {
  font-weight: 600;
  color: var(--white);
  cursor: help;
}

.hero-hint {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 18px;
  margin-bottom: 28px;
  max-width: 520px;
  line-height: 1.6;
}
.hero-hint svg { flex-shrink: 0; }

/* Tooltip flotante (un único nodo, se reposiciona con JS) */
.hero-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  min-width: 260px;
  max-width: 340px;
  padding: 16px 18px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--gray-mid);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,27,72,0.30), 0 4px 12px rgba(0,27,72,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  pointer-events: none;
}
.hero-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-tooltip-sector {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.hero-tooltip-sector[data-sector="hosteleria"] {
  background: rgba(6,182,212,0.12);
  color: var(--teal-dark);
}
.hero-tooltip-sector[data-sector="construccion"] {
  background: rgba(245,158,11,0.14);
  color: #b45309;
}
.hero-tooltip-sector[data-sector="ambos"] {
  background: rgba(0,27,72,0.10);
  color: var(--navy);
}
.hero-tooltip-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.25;
}
.hero-tooltip-body {
  font-size: 14px;
  color: rgba(0,27,72,0.78);
  line-height: 1.55;
}

@media (max-width: 720px) {
  .hero-tooltip { min-width: 0; max-width: calc(100vw - 32px); }
}

/* Badge "Próximamente" en bullets */
.module-bullets .bullet-soon {
  color: var(--gray-600, #64748b);
}
/* Sólo el primer bullet "Próximamente" (justo después de uno normal) lleva separador */
.module-bullets li:not(.bullet-soon) + .bullet-soon {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--gray-mid);
}
.badge-soon {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  margin-right: 6px;
  background: rgba(245,158,11,0.12);
  color: #b45309;
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 999px;
  vertical-align: middle;
}

/* Compliance "Próximamente" */
.compliance-law-soon {
  background: rgba(245,158,11,0.12) !important;
  color: #b45309 !important;
  border-color: rgba(245,158,11,0.3) !important;
}
.compliance-card-soon {
  border-style: dashed;
}

/* ====================== PÁGINAS LEGALES ====================== */
.legal-page {
  padding: 120px 0 80px;
  background: var(--gray-bg);
  min-height: 70vh;
}
.legal-container {
  max-width: 820px;
  background: var(--white);
  border-radius: 16px;
  padding: 56px 56px 48px;
  box-shadow: 0 4px 24px rgba(0,27,72,0.06);
}
.legal-header {
  border-bottom: 1px solid var(--gray-mid);
  padding-bottom: 28px;
  margin-bottom: 32px;
}
.legal-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-dark);
  background: rgba(6,182,212,0.1);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.legal-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal-updated {
  font-size: 13px;
  color: var(--gray-text);
  margin: 0;
}
.legal-page section {
  margin-bottom: 32px;
}
.legal-page section:last-child {
  margin-bottom: 0;
}
.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.legal-page p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 12px;
}
.legal-page p:last-child {
  margin-bottom: 0;
}
.legal-page ul {
  margin: 0 0 12px 22px;
  padding: 0;
}
.legal-page ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 8px;
}
.legal-page ul.legal-data {
  list-style: none;
  margin-left: 0;
  background: var(--gray-bg);
  border-left: 3px solid var(--teal);
  padding: 18px 22px;
  border-radius: 8px;
}
.legal-page ul.legal-data li {
  margin-bottom: 6px;
}
.legal-page ul.legal-data li:last-child {
  margin-bottom: 0;
}
.legal-page a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.legal-page a:hover {
  color: var(--navy);
}
.legal-page code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  background: var(--gray-bg);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--gray-mid);
  color: var(--navy);
}
.legal-page strong {
  font-weight: 600;
  color: var(--navy);
}

/* Tabla en páginas legales */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  overflow: hidden;
}
.legal-table thead {
  background: var(--navy);
  color: var(--white);
}
.legal-table th,
.legal-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-mid);
}
.legal-table th {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.legal-table tbody tr:last-child td {
  border-bottom: none;
}
.legal-table tbody tr:nth-child(even) {
  background: var(--gray-bg);
}

@media (max-width: 768px) {
  .legal-page { padding: 100px 0 60px; }
  .legal-container { padding: 32px 22px; border-radius: 12px; }
  .legal-header h1 { font-size: 28px; }
  .legal-page h2 { font-size: 18px; }
  .legal-table { font-size: 13px; }
  .legal-table th, .legal-table td { padding: 10px 10px; }
}

/* ====================== DPA: componentes extra ====================== */
.legal-callout {
  background: linear-gradient(135deg, rgba(6,182,212,0.06), rgba(0,27,72,0.04));
  border: 1px solid rgba(6,182,212,0.25);
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.legal-callout strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 8px;
}
.legal-callout p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 8px;
}
.legal-callout p:last-child { margin-bottom: 0; }

.legal-page ol.legal-ol {
  margin: 0 0 12px 0;
  padding-left: 24px;
  list-style: none;
  counter-reset: legalcount;
}
.legal-page ol.legal-ol > li {
  counter-increment: legalcount;
  position: relative;
  padding-left: 8px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
}
.legal-page ol.legal-ol > li::before {
  content: counter(legalcount) ".";
  position: absolute;
  left: -24px;
  width: 24px;
  text-align: right;
  padding-right: 4px;
  font-weight: 700;
  color: var(--teal-dark);
}

.legal-firma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.legal-firma-box {
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  padding: 20px;
  background: var(--gray-bg);
}
.legal-firma-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-text);
  margin-bottom: 12px;
}
.legal-firma-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.legal-firma-cif {
  font-size: 13px;
  color: var(--dark);
  margin-top: 4px;
}
.legal-firma-line {
  height: 1px;
  background: var(--gray-text);
  margin: 56px 0 8px;
  opacity: 0.45;
}
.legal-firma-foot {
  font-size: 11px;
  color: var(--gray-text);
  text-align: center;
}

.legal-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--teal);
  color: var(--white) !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px rgba(6,182,212,0.25);
}
.legal-download:hover {
  background: var(--teal-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .legal-firma-grid { grid-template-columns: 1fr; }
}

/* ====== PRECIOS — Cards dinámicos (2026-07 rediseño) ====== */
.precios-toggle {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 24px auto 32px;
  background: #f4f6fa;
  border-radius: 999px;
  padding: 5px;
  width: fit-content;
}
.precios-toggle-btn {
  background: transparent;
  border: 0;
  color: var(--gray-text);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.precios-toggle-btn:hover { color: var(--navy); }
.precios-toggle-btn.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,27,72,0.08);
}
.precios-toggle-badge {
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.precios-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 12px;
}
.precios-loading {
  text-align: center;
  color: var(--gray-text);
  padding: 40px 0;
  font-size: 14px;
}
.precios-linea-titulo {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-text);
  margin: 0 0 14px;
  padding-left: 4px;
}
.precios-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.precio-card {
  background: var(--white);
  border: 1px solid #e5e9ef;
  border-radius: 14px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.precio-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: 0 12px 28px rgba(0,27,72,0.08);
}
.precio-card-destacado {
  border-color: var(--teal);
  box-shadow: 0 6px 18px rgba(6,182,212,0.14);
}
.precio-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.precio-nombre {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.3;
}
.precio-valor {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.precio-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.precio-periodo {
  font-size: 13px;
  color: var(--gray-text);
  font-weight: 500;
}
.precio-anual {
  font-size: 12px;
  color: var(--gray-text);
  margin-bottom: 14px;
}
.precio-desc {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
  margin: 0 0 14px;
  flex: 1;
}
.precio-ventajas {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.precio-ventajas li {
  font-size: 13px;
  color: var(--navy);
  padding-left: 20px;
  position: relative;
  line-height: 1.45;
}
.precio-ventajas li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0;
}
.precio-cta {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  margin-top: auto;
}

.precios-ventajas-globales {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px 18px;
  padding: 24px;
  background: #f4f6fa;
  border-radius: 14px;
  margin-top: 28px;
}
.vg-item {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vg-check {
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .precios-cards { grid-template-columns: 1fr; }
  .precio-num { font-size: 26px; }
}

/* ===== Casillas con check visible (23/10/2026) =====
   La regla general .form-group input les quitaba el aspecto nativo (appearance:none)
   y al marcarlas no se veía la marca. */
.form-group input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  flex: 0 0 20px !important;
  padding: 0;
  margin: 1px 0 0 0;
  border: 2px solid #8a96a8;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: background-color .15s, border-color .15s;
}
.form-group input[type="checkbox"]::before {
  content: "";
  width: 13px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.2 3.2L13 4.8'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: scale(0);
  transition: transform .12s ease-in-out;
}
.form-group input[type="checkbox"]:checked {
  background-color: var(--teal);
  border-color: var(--teal);
}
.form-group input[type="checkbox"]:checked::before { transform: scale(1); }
.form-group input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 3px rgba(6,182,212,.3); outline: none; }
.form-group input[type="checkbox"]:disabled { opacity: .45; cursor: not-allowed; }
.modulo-check:has(input:checked) { border-width: 2px; font-weight: 600; }

/* ===== Portada 2026-11: estilo tríptico ===== */
.hero-title { margin-bottom: 10px; }
.hero-swoosh { display:block; margin: 0 0 22px; }
.hero-lead { font-size: 17px; color: rgba(255,255,255,0.75); line-height: 1.65; max-width: 540px; margin-bottom: 26px; }
.hero-tiles { display:grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 560px; }
.hero-pill.hero-tile {
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
  min-height: 86px; padding: 12px 6px; border-radius: 12px; font: inherit; cursor: pointer;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(6,182,212,0.28); box-shadow:none;
  color: var(--white); text-align:center;
}
.hero-pill.hero-tile:hover, .hero-pill.hero-tile:focus-visible, .hero-pill.hero-tile.is-open {
  background: rgba(6,182,212,0.18); border-color: var(--teal); box-shadow:none; transform: translateY(-2px);
}
.hero-tile-icon { color: var(--teal); display:flex; }
.hero-tile-label { font-size: 13px; font-weight: 600; line-height: 1.2; }
.hero-content .hero-hint { margin-top: 12px; margin-bottom: 26px; font-size: 13px; }

.hv-wrap { position: relative; width: 100%; max-width: 560px; padding-bottom: 40px; }
.hv-claim { font-size: 26px; font-weight: 800; color: var(--white); line-height: 1.2; letter-spacing:-0.02em; margin: 0 0 22px 4px; }
.hv-claim span { color: var(--teal); }
.hv-tablet { background:#0f1624; border-radius: 22px; padding: 12px; box-shadow: 0 30px 70px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.10) inset; width: 88%; }
.hv-screen { display:flex; background:#eef2f6; border-radius: 12px; overflow:hidden; min-height: 300px; }
.hv-side { width: 38px; background: var(--navy); display:flex; flex-direction:column; align-items:center; gap:12px; padding-top: 44px; }
.hv-side span { width: 14px; height: 14px; border-radius: 4px; background: rgba(255,255,255,0.25); }
.hv-side span.on { background: var(--teal); }
.hv-main { flex:1; padding: 10px 12px 12px; }
.hv-top { display:flex; justify-content:space-between; align-items:center; background: var(--navy); margin: -10px -12px 10px; padding: 9px 12px; }
.hv-top b { color:#fff; font-size: 13px; }
.hv-top em, .hv-phone-logo em { color: var(--teal); font-style: normal; }
.hv-top small { color: rgba(255,255,255,0.6); font-size: 10px; }
.hv-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.hv-card { background:#fff; border-radius: 9px; padding: 9px 10px; box-shadow: 0 1px 3px rgba(0,27,72,0.10); min-height: 100px; color: var(--navy); font-size: 10.5px; }
.hv-h { font-weight: 700; font-size: 11px; margin-bottom: 7px; color: var(--navy); }
.hv-tables { display:grid; grid-template-columns: repeat(4,1fr); gap: 4px; margin-bottom: 7px; }
.hv-tables i { height: 15px; border-radius: 4px; background: #d7f3ef; border: 1px solid #a8e3db; }
.hv-tables i.b { background: var(--teal); border-color: var(--teal); }
.hv-tables i.r { background: #fde7c2; border-color: #F5A524; }
.hv-foot { display:flex; justify-content:space-between; color: var(--gray-text); }
.hv-foot b { color: var(--navy); }
.hv-list { list-style:none; margin:0; padding:0; }
.hv-list li { padding: 3px 0; border-bottom: 1px solid #eef1f4; white-space: nowrap; }
.hv-list li:last-child { border-bottom: 0; }
.hv-list b { color: var(--teal-dark); margin-right: 3px; }
.hv-bars { display:flex; align-items:flex-end; gap: 5px; height: 62px; }
.hv-bars i { flex:1; background: var(--teal); border-radius: 3px 3px 0 0; }
.hv-big { font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1; }
.hv-big small { font-size: 10px; font-weight: 500; color: var(--gray-text); }
.hv-avatars { display:flex; margin-top: 10px; }
.hv-avatars i { width: 20px; height: 20px; border-radius: 50%; background: #9fd9d1; border: 2px solid #fff; margin-left: -5px; }
.hv-avatars i:first-child { margin-left: 0; background: var(--teal); }
.hv-avatars i:nth-child(3) { background: #f7c873; }
.hv-card p { margin: 0 0 5px; }
.warn { display:inline-flex; width:14px; height:14px; border-radius:50%; background:#F5A524; color:#fff; font-weight:800; font-size:9px; align-items:center; justify-content:center; margin-right:4px; }
.ok { display:inline-flex; width:14px; height:14px; border-radius:50%; background:#22c55e; color:#fff; font-size:9px; align-items:center; justify-content:center; margin-right:4px; }
.hv-phone { position:absolute; right: 0; bottom: 0; width: 150px; background:#0f1624; border-radius: 24px; padding: 22px 10px 14px; box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.12) inset; }
.hv-notch { position:absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 44px; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.18); }
.hv-phone-logo { background:#fff; border-radius: 10px 10px 0 0; padding: 8px 10px 4px; font-weight: 800; font-size: 12px; color: var(--navy); }
.hv-checks { list-style:none; margin:0; padding: 4px 10px 10px; background:#fff; border-radius: 0 0 10px 10px; }
.hv-checks li { display:flex; align-items:center; gap:6px; font-size: 10.5px; color: var(--navy); padding: 3.5px 0; border-bottom: 1px solid #eef1f4; }
.hv-checks li:last-child { border-bottom: 0; }
.hv-checks li::before { content:'✓'; display:inline-flex; width:13px; height:13px; border-radius:3px; background: var(--teal); color:#fff; font-size:9px; font-weight:800; align-items:center; justify-content:center; flex-shrink:0; }
@media (max-width: 1100px) { .hv-card { min-height: 90px; } .hv-tablet { width: 92%; } }
@media (max-width: 640px) { .hero-tiles { grid-template-columns: repeat(3, 1fr); } }
#hero .hero-title { font-size: clamp(32px, 3.5vw, 48px); }
#hero .hero-title .hl { white-space: nowrap; }
.hero-tile-icon svg { width: 26px; height: 26px; }
.hero-pill.hero-tile { min-height: 78px; }
.hv-tablet { width: 78%; }
.hv-phone { width: 138px; bottom: -6px; }
.hv-wrap { padding-bottom: 20px; }
.hv-foot{white-space:nowrap;gap:4px}.hv-foot span{font-size:9.5px}
.hv-grid>*{min-width:0}.hv-main{min-width:0}
.hv-list li{overflow:hidden;text-overflow:ellipsis}.hv-alert p{white-space:nowrap}
.hv-grid{grid-template-columns:1fr 1.35fr 0.9fr}

/* ===== Noubex: logo y ajustes de contraste ===== */
.brand-logo { height: 38px; width: auto; display: block; }
.brand-logo-footer { height: 31px; }
.btn-primary, .demo-copy, .legal-download, .acceder-btn, .precio-badge, .precios-toggle-badge { color: var(--navy) !important; }
.btn-primary { background: linear-gradient(135deg, #22E4F2 0%, #06B6D4 55%, #1E8BFF 100%); }
.btn-primary:hover { background: linear-gradient(135deg, #5DEFF8 0%, #22D3EE 55%, #4AA3FF 100%); box-shadow: 0 4px 16px rgba(6,182,212,0.35); }
.demo-copy:hover, .legal-download:hover, .acceder-btn:hover { background: #22D3EE !important; }
.hv-foot { gap: 4px; flex-wrap: wrap; } .hv-foot b { white-space: nowrap; } .hv-card { overflow: hidden; padding: 9px 8px; } .hv-card h4, .hv-card strong { overflow-wrap: anywhere; }
#hero .badge, .section-navy .badge { color: #22D3EE; border-color: rgba(34,211,238,0.35); }
