:root {
  --azul-oscuro: #0d2b5e;
  --azul-medio: #1a4a9c;
  --azul-claro: #2e6be6;
  --azul-suave: #ebf2ff;
  --acento: #00c7a3;
  --acento-dark: #009e82;
  --text-dark: #0d1b2a;
  --text-mid: #3a4a5c;
  --text-light: #6b7e96;
  --blanco: #ffffff;
  --gris-claro: #f5f7fa;
  --borde: #d6e2f5;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--blanco);
  line-height: 1.6;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 43, 94, 0.97);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span.brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--blanco);
  letter-spacing: -0.5px;
}
.nav-logo span.product {
  font-size: 13px;
  color: var(--acento);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--acento);
}

.nav-logos {
  display: flex;
  align-items: center;
  gap: 15px; /* separación entre logos */
}

.nav-logo img {
  height: 40px; /* ajusta el tamaño */
  width: auto;
  display: block;
}

.nav-logo:first-child img {
  height: 45px;
}

.nav-logo:last-child img {
  height: 35px;
}

.btn-demo-nav {
  background: var(--acento);
  color: var(--blanco);
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-demo-nav:hover {
  background: var(--acento-dark);
}

/* HERO */
.hero {
  background: linear-gradient(
    135deg,
    var(--azul-oscuro) 0%,
    #0a2050 40%,
    #0e1f45 100%
  );
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 700'%3E%3Crect x='30' y='40' width='540' height='620' rx='16' fill='%23132C5A'/%3E%3Crect x='50' y='70' width='500' height='54' rx='6' fill='%231A3E7E'/%3E%3Crect x='70' y='84' width='80' height='26' rx='4' fill='%2300C7A3' opacity='0.9'/%3E%3Ctext x='160' y='101' fill='%23AAC8F5' font-size='14' font-family='Arial'>Expediente%231042%3C/text%3E%3Crect x='50' y='142' width='240' height='120' rx='8' fill='%230D2450'/%3E%3Ctext x='66' y='164' fill='%2370A0E0' font-size='11' font-family='Arial'>Signos vitales%3C/text%3E%3Crect x='66' y='172' width='60' height='6' rx='3' fill='%2300C7A3' opacity='0.7'/%3E%3Ctext x='66' y='198' fill='%23AABFDF' font-size='20' font-family='Arial' font-weight='bold'>98.6°F%3C/text%3E%3Ctext x='66' y='218' fill='%2370A0E0' font-size='11' font-family='Arial'>FC: 72 lpm · SpO2: 98%25%3C/text%3E%3Crect x='66' y='230' width='120' height='22' rx='4' fill='%2300C7A3' opacity='0.15'/%3E%3Ctext x='76' y='245' fill='%2300C7A3' font-size='11' font-family='Arial'>✓ Normal%3C/text%3E%3Crect x='306' y='142' width='244' height='120' rx='8' fill='%230D2450'/%3E%3Ctext x='322' y='164' fill='%2370A0E0' font-size='11' font-family='Arial'>Diagnóstico activo%3C/text%3E%3Ctext x='322' y='186' fill='%23D4E8FF' font-size='13' font-family='Arial' font-weight='bold'>HTA Esencial%3C/text%3E%3Ctext x='322' y='204' fill='%2370A0E0' font-size='11' font-family='Arial'>CIE-10: I10 · Crónico%3C/text%3E%3Crect x='322' y='216' width='100' height='6' rx='3' fill='%232E6BE6' opacity='0.6'/%3E%3Ctext x='322' y='246' fill='%2370A0E0' font-size='11' font-family='Arial'>Controlado · Revisión 30d%3C/text%3E%3Crect x='50' y='278' width='500' height='110' rx='8' fill='%230D2450'/%3E%3Ctext x='66' y='300' fill='%2370A0E0' font-size='11' font-family='Arial'>Órdenes de servicio%3C/text%3E%3Crect x='66' y='310' width='220' height='26' rx='4' fill='%231A3E7E'/%3E%3Ctext x='80' y='327' fill='%23AAC8F5' font-size='11' font-family='Arial'>BHC + Glucosa · Lab Central%3C/text%3E%3Ctext x='298' y='327' fill='%2300C7A3' font-size='11' font-family='Arial'>Enviado ✓%3C/text%3E%3Crect x='66' y='342' width='220' height='26' rx='4' fill='%231A3E7E'/%3E%3Ctext x='80' y='359' fill='%23AAC8F5' font-size='11' font-family='Arial'>Rx Tórax AP · Radiodiagnostico%3C/text%3E%3Ctext x='298' y='359' fill='%23EFA' font-size='11' font-family='Arial'>Pendiente%3C/text%3E%3Crect x='50' y='404' width='500' height='90' rx='8' fill='%230D2450'/%3E%3Ctext x='66' y='426' fill='%2370A0E0' font-size='11' font-family='Arial'>Nota médica de evolución%3C/text%3E%3Ctext x='66' y='446' fill='%23AAC8F5' font-size='12' font-family='Arial'>Paciente masculino 58a. Acude a revisión por HTA. TA 138/88.%3C/text%3E%3Ctext x='66' y='462' fill='%23AAC8F5' font-size='12' font-family='Arial'>Se ajusta Amlodipino a 10mg. Próxima cita 4 semanas.%3C/text%3E%3Crect x='66' y='476' width='130' height='8' rx='4' fill='%231A3E7E'/%3E%3C/svg%3E")
    no-repeat center center;
  background-size: 90%;
  opacity: 0.8;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 55%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 199, 163, 0.15);
  border: 1px solid rgba(0, 199, 163, 0.4);
  color: var(--acento);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  color: var(--blanco);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 em {
  color: var(--acento);
  font-style: normal;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 48px;
}
.btn-primary {
  background: var(--acento);
  color: var(--blanco);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--acento-dark);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--blanco);
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.stat-item {
}
.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--blanco);
}
.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* LOGOS CLIENTES */
.clientes-strip {
  background: var(--gris-claro);
  padding: 28px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--borde);
}
.clientes-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-right: 8px;
  text-transform: uppercase;
}
.cliente-pill {
  background: var(--blanco);
  border: 1px solid var(--borde);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 500;
}

/* SECCIONES */
section {
  padding: 80px 5%;
}
.section-label {
  font-size: 12px;
  color: var(--azul-claro);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h2.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--azul-oscuro);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.7;
}

/* MÓDULOS */
.modulos {
  background: var(--blanco);
}
.modulos-header {
  text-align: center;
  margin-bottom: 56px;
}
.modulos-header .section-desc {
  margin: 0 auto;
}
.modulos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.modulo-card {
  border: 1px solid var(--borde);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.25s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.modulo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--azul-claro);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.modulo-card:hover {
  border-color: var(--azul-claro);
  box-shadow: 0 8px 30px rgba(30, 74, 156, 0.1);
  transform: translateY(-3px);
}
.modulo-card:hover::before {
  transform: scaleX(1);
}
.modulo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--azul-suave);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.modulo-icon svg {
  width: 24px;
  height: 24px;
  color: var(--azul-claro);
}
.modulo-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--azul-oscuro);
  margin-bottom: 10px;
}
.modulo-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 16px;
}
.modulo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  background: var(--gris-claro);
  border: 1px solid var(--borde);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 500;
}

/* BENEFICIOS / DIFERENCIADORES */
.beneficios {
  background: var(--azul-oscuro);
}
.beneficios h2.section-title {
  color: var(--blanco);
}
.beneficios .section-desc {
  color: rgba(255, 255, 255, 0.7);
}
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.beneficio-item {
}
.beneficio-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--acento);
  line-height: 1;
  margin-bottom: 10px;
}
.beneficio-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 8px;
}
.beneficio-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

/* CUMPLIMIENTO NORMATIVO */
.normas {
  background: var(--gris-claro);
}
.normas-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.normas-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.normas-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 10px;
  padding: 16px 20px;
}
.norma-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--azul-suave);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.norma-icon svg {
  width: 18px;
  height: 18px;
  color: var(--azul-claro);
}
.norma-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--azul-oscuro);
}
.norma-text span {
  font-size: 13px;
  color: var(--text-mid);
}
.normas-visual {
  background: var(--azul-oscuro);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.cert-icon {
  font-size: 24px;
}
.cert-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--blanco);
}
.cert-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* PROCESO */
.proceso {
  background: var(--blanco);
}
.proceso-steps {
  display: flex;
  gap: 0;
  margin-top: 48px;
  position: relative;
  flex-wrap: wrap;
}
.proceso-step {
  flex: 1;
  min-width: 180px;
  padding: 0 24px 0 0;
  position: relative;
}
.paso-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--azul-oscuro);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}
.paso-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--azul-oscuro);
  margin-bottom: 8px;
}
.paso-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}
.proceso-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 44px;
  width: calc(100% - 44px);
  height: 2px;
  background: var(--borde);
}

/* FORMULARIO DEMO */
.demo-section {
  background: linear-gradient(135deg, var(--azul-oscuro), #0e2a66);
  padding: 80px 5%;
  display: flex;
  gap: 64px;
  align-items: center;
  flex-wrap: wrap;
}
.demo-copy {
  flex: 1;
  min-width: 280px;
}
.demo-copy h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--blanco);
  line-height: 1.2;
  margin-bottom: 16px;
}
.demo-copy p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
  line-height: 1.7;
}
.demo-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}
.demo-checklist li::before {
  content: "✓";
  color: var(--acento);
  font-weight: 700;
  font-size: 14px;
}
.demo-form {
  background: var(--blanco);
  border-radius: 16px;
  padding: 36px;
  flex: 0 0 420px;
  max-width: 100%;
}
.demo-form h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--azul-oscuro);
  margin-bottom: 6px;
}
.demo-form p {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
}
.form-group input,
.form-group select {
  border: 1px solid var(--borde);
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
  background: var(--blanco);
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--azul-claro);
}
.btn-submit {
  width: 100%;
  background: var(--azul-claro);
  color: var(--blanco);
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover {
  background: var(--azul-oscuro);
}
.form-note {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: #080f1e;
  padding: 48px 5% 28px;
}
.footer-top {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 36px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 280px;
  margin-top: 10px;
  line-height: 1.65;
}
.footer-brand .brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--blanco);
}
.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links ul a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links ul a:hover {
  color: var(--acento);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* STICKY WHATSAPP */
.wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  background: #25d366;
  color: var(--blanco);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s;
}
.wa-btn:hover {
  transform: scale(1.08);
}
.wa-btn svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 768px) {
  .hero-content {
    max-width: 100%;
  }
  .hero::before {
    display: none;
  }
  .normas-flex {
    grid-template-columns: 1fr;
  }
  .proceso-step::after {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .demo-form {
    flex: 1 1 100%;
  }
  nav .nav-links {
    display: none;
  }
}
