:root {
  --aci-navy: #013760;
  --aci-gold: #ffd700;
  --aci-light: #f7f9fc;
  --aci-ink: #0b1b2b;
  --aci-muted: #5d6a7a;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--aci-ink);
  background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Space Grotesk", system-ui, sans-serif;
}

a {
  text-decoration: none;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background-color: var(--aci-light);
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 20px;
}

.eyebrow {
  color: var(--aci-gold);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.glass-nav {
  background: rgba(1, 55, 96, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-logo {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.logo-text {
  color: #ffffff;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8); /* casi blanco */
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Al pasar el mouse */
.nav-link:hover {
  color: #ffffff; /* blanco puro */
}

/* Cuando el enlace está activo/seleccionado */
.nav-link.active,
.nav-link:focus {
  color: #ffffff; /* blanco puro */
  font-weight: 600; /* opcional: resaltar con negrita */
}

.btn-gold {
  background-color: var(--aci-gold);
  color: #1d1d1d;
  border: none;
  font-weight: 600;
}

.btn-gold:hover {
  background-color: #e6c400;
  color: #1d1d1d;
}

.hero-section {
  padding: 150px 0 110px;
  background: radial-gradient(circle at top left, rgba(255, 215, 0, 0.15), transparent 40%),
    linear-gradient(135deg, #013760 10%, #0a2340 70%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-pill {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
}

/* Contenedor principal */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  min-height: 360px;
  position: relative;
}

/* Tarjeta visual */
.visual-card {
  background: #1e1e2f;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  width: 360px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Encabezado tipo ventana */
.visual-header {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: #2a2a3d;
}

.visual-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.visual-header span:nth-child(1) { background: #ff5f56; } /* rojo */
.visual-header span:nth-child(2) { background: #ffbd2e; } /* amarillo */
.visual-header span:nth-child(3) { background: #27c93f; } /* verde */

/* Cuerpo del chat */
.visual-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
}

.chat-bubble.left {
  background: #3a3a5a;
  align-self: flex-start;
}

.chat-bubble.right {
  background: #4cafef;
  align-self: flex-end;
}

/* Efecto glow */
.glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(76,175,239,0.3) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  z-index: 1;
}

/* Responsive para móviles */
@media (max-width: 480px) {
  .hero-visual {
    padding: 40px 10px;
  }

  .visual-card {
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
  }

  .visual-body {
    padding: 15px;
    gap: 10px;
  }

  .chat-bubble {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 14px;
    max-width: 90%;
  }

  .glow {
    width: 280px;
    height: 280px;
    filter: blur(60px);
  }
}

/* Responsive para tablets */
@media (max-width: 768px) {
  .hero-visual {
    padding: 50px 15px;
  }

  .visual-card {
    width: 100%;
    max-width: 400px;
  }

  .chat-bubble {
    font-size: 14px;
    max-width: 85%;
  }

  .glow {
    width: 320px;
    height: 320px;
    filter: blur(70px);
  }
}

.feature-card,
.step-card,
.sector-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px;
  height: 100%;
  border: 1px solid #e6ebf2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.step-card:hover,
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(1, 55, 96, 0.12);
}

.feature-card i {
  font-size: 1.7rem;
  color: var(--aci-gold);
}

.step-number {
  width: 42px;
  height: 42px;
  background: var(--aci-navy);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  margin-bottom: 12px;
}

.sector-card h4 i {
  color: var(--aci-gold);
  margin-right: 6px;
}

.list-check {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.list-check li {
  padding-left: 26px;
  margin-bottom: 8px;
  position: relative;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--aci-gold);
  font-weight: 700;
}

.pricing-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px;
  border: 2px solid rgba(1, 55, 96, 0.12);
  box-shadow: 0 20px 50px rgba(1, 55, 96, 0.1);
}

.pricing-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pricing-tag {
  background: var(--aci-navy);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.pricing-desc {
  color: var(--aci-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.pricing-grid h6 {
  margin-bottom: 6px;
  color: var(--aci-navy);
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-list li {
  padding: 8px 0;
  border-bottom: 1px solid #e6ebf2;
}

.contact-section {
  background: linear-gradient(120deg, #013760 0%, #001b34 100%);
  color: #ffffff;
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  color: var(--aci-ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.footer {
  background: #0a1c2d;
  color: #cdd6e1;
  padding: 24px 0;
}

.footer-link {
  color: #cdd6e1;
  margin-left: 18px;
}

.footer-link:hover {
  color: var(--aci-gold);
}

@media (max-width: 991px) {
  .hero-section {
    padding-top: 130px;
  }

  .navbar .btn-gold {
    width: 100%;
  }

  .hero-badges {
    justify-content: flex-start;
  }
}
