:root {
  --azul-noche: #05162A;
  --azul-acento: #0061B3;
  --gris-carbon: #333333;
  --blanco: #FFFFFF;
  --gris-fondo: #f4f7f9;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--gris-carbon);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: 'Montserrat', sans-serif;
  
  color: var(--azul-noche);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.accent-blue {
  color: var(--azul-acento);
}

.ia-accent {
  color: var(--azul-acento);
}

.bg-dark .ia-accent,
.highlight-card-dark .ia-accent,
.btn-dark-hero .ia-accent,
.lucia-msg--user .ia-accent {
  color: #93C5FD; /* Light blue for very dark backgrounds */
}

.btn-primary .ia-accent,
.btn-primary-action .ia-accent,
.chat-lucia-floating .ia-accent {
  color: #BFDBFE; /* Very light blue for primary action buttons and floating chat */
}

.lucia-msg--bot .ia-accent,
.btn-outline .ia-accent {
  color: #004B8A; /* Darker blue for light backgrounds to increase contrast */
}

.ia-accent-light
{
  color: #93C5FD;
}

.ia-accent-dark
{
  color: #004B8A;
}

/* Header */
header {
  background: var(--blanco);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area img {
  height: 65px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: var(--azul-noche);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Hero Adaptado */
.hero {
  height: 90vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--blanco);
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 10px;
  color: var(--blanco);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto;
  font-weight: 400;
  color: #eee;
}

.hero-big-highlight {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-actions {
  margin-top: 50px;
}

/* Margen extra para separar el botón */

.btn-dark-hero {
  background: var(--azul-noche);
  color: var(--blanco);
  padding: 18px 45px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  display: inline-block;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-dark-hero:hover {
  background: var(--azul-acento);
  transform: translateY(-3px);
}

/* Principios */
.principles-grid-section {
  padding: 20px 0 80px;
  background: var(--gris-fondo);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.principle-card {
  background: var(--blanco);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
}

.card-num {
  color: rgba(0, 97, 179, 0.1);
  font-size: 3rem;
  font-weight: 800;
  position: absolute;
  top: 10px;
  right: 20px;
}

.principle-card h3 {
  padding-right: 60px;
}

/* Grid Layouts */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 80px 0;
}

.bg-dark {
  background: var(--azul-noche);
}

.text-white h2,
.text-white p {
  color: var(--blanco);
}

.service-image img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 10px 10px 0 var(--azul-acento);
}

.code-font {
  font-family: 'Fira Code', monospace;
  color: var(--azul-acento);
  font-weight: bold;
  margin-right: 10px;
}

.bg-dark .code-font,
.highlight-card-dark .code-font,
.text-white-block .code-font {
  color: #3B82F6;
}

.service-list {
  list-style: none;
  margin-top: 20px;
}

.service-list li {
  margin-bottom: 12px;
  font-weight: 600;
  border-left: 3px solid var(--azul-acento);
  padding-left: 15px;
}

/* Equipo Estilo Pastillas */
.team-section {
  padding: 80px 0;
  background: var(--blanco);
}

.team-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.team-pill {
  background: var(--gris-fondo);
  padding: 15px 30px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  border: 1px solid #eee;
  transition: 0.3s;
}

.team-pill:hover {
  border-color: var(--azul-acento);
  background: var(--blanco);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.pill-info h4 {
  font-size: 1rem;
  color: var(--azul-noche);
  margin: 0;
}

.pill-info span {
  font-size: 0.75rem;
  color: var(--azul-acento);
  font-weight: 600;
  
}

/* Contacto */
.contact-section {
  padding: 80px 0;
  background: var(--gris-fondo);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  display: grid;
  gap: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.btn-primary-action {
  background: var(--azul-acento);
  color: var(--blanco);
  padding: 15px;
  border: none;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary-action:hover {
  background: var(--azul-noche);
}

footer {
  padding: 40px 0;
  text-align: center;
  background: var(--blanco);
}

.footer-logo {
  height: 40px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {

  .grid,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .hero-title,
  .hero-big-highlight {
    font-size: 2.2rem;
  }
}

/* =========================================================
   SECCIÓN EQUIPO - SOLID ConsultorIA
   ========================================================= */

#equipo.equipo-section {
  padding: 80px 20px;
  background: #ffffff;
  color: #1f2937;
}

#equipo.equipo-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* INTRO */
#equipo .equipo-intro {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

#equipo .equipo-intro h2 {
  margin: 0 0 20px;
  font-size: 2.4rem;
  line-height: 1.1;
  font-weight: 800;
  color: #0a1b2e;
  
  letter-spacing: 0.02em;
}

#equipo .equipo-intro p {
  margin: 0 0 14px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #374151;
}

#equipo .equipo-intro .equipo-lead {
  font-size: 1.22rem;
  line-height: 1.7;
  font-weight: 500;
  color: #1f2937;
}

/* CÓMO TRABAJAMOS */
#equipo .equipo-how {
  margin: 0 0 40px;
}

#equipo .equipo-how h3 {
  margin: 0 0 22px;
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 800;
  color: #0a1b2e;
  text-align: center;
  
}

#equipo .equipo-how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

#equipo .equipo-how-grid>div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 10px 24px rgba(10, 27, 46, 0.06);
  text-align: left;
}

#equipo .equipo-how-grid h4 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 700;
  color: #235c92;
}

#equipo .equipo-how-grid p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #4b5563;
}

/* ORGANIZACIÓN */
#equipo .equipo-org {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

#equipo .equipo-org p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #374151;
}

/* GRID EQUIPO */
#equipo .equipo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin: 0 0 60px;
}

#equipo .equipo-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(10, 27, 46, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#equipo .equipo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 27, 46, 0.12);
}

#equipo .equipo-card img {
  display: block;
  width: 168px;
  height: 168px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #eff6ff;
  box-shadow: 0 8px 22px rgba(35, 92, 146, 0.12);
}

#equipo .equipo-card h4 {
  margin: 0 0 8px;
  font-size: 1.38rem;
  line-height: 1.25;
  font-weight: 800;
  color: #0a1b2e;
}

#equipo .equipo-card .rol {
  margin: 0 0 14px;
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 700;
  color: #235c92;
  
  letter-spacing: 0.03em;
}

#equipo .equipo-card p {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.72;
  color: #4b5563;
}

#equipo .equipo-card .highlight {
  margin-top: 10px;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 600;
  color: #0a1b2e;
}

/* IA TEAM */
#equipo .equipo-ia {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
  border: 1px solid #dbe7f3;
  border-radius: 24px;
  padding: 38px 28px;
  margin: 0 0 50px;
  text-align: center;
}

#equipo .equipo-ia h3 {
  margin: 0 0 12px;
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 800;
  color: #0a1b2e;
  
}

#equipo .equipo-ia>p {
  max-width: 760px;
  margin: 0 auto 26px;
  font-size: 1.04rem;
  line-height: 1.75;
  color: #374151;
}

#equipo .equipo-ia-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

#equipo .equipo-ia-grid>div {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(10, 27, 46, 0.06);
}

#equipo .equipo-ia-grid h4 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.3;
  font-weight: 800;
  color: #235c92;
}

#equipo .equipo-ia-grid p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #4b5563;
}

/* CTA */
#equipo .equipo-cta {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

#equipo .equipo-cta p {
  margin: 0 0 18px;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #1f2937;
}

#equipo .equipo-cta .btn-primary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: #235c92;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  border: 2px solid #235c92;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#equipo .equipo-cta .btn-primary:hover,
#equipo .equipo-cta .btn-primary:focus {
  background: #0a1b2e;
  border-color: #0a1b2e;
  color: #ffffff;
  transform: translateY(-1px);
}

#equipo .equipo-cta .btn-primary:focus {
  outline: 3px solid rgba(35, 92, 146, 0.25);
  outline-offset: 3px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  #equipo .equipo-how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #equipo .equipo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #equipo.equipo-section {
    padding: 64px 16px;
  }

  #equipo .equipo-intro h2 {
    font-size: 2rem;
  }

  #equipo .equipo-how h3,
  #equipo .equipo-ia h3 {
    font-size: 1.55rem;
  }

  #equipo .equipo-how-grid,
  #equipo .equipo-grid,
  #equipo .equipo-ia-grid {
    grid-template-columns: 1fr;
  }

  #equipo .equipo-card {
    padding: 26px 20px;
  }

  #equipo .equipo-card img {
    width: 148px;
    height: 148px;
  }

  #equipo .equipo-ia {
    padding: 30px 18px;
  }
}

@media (max-width: 480px) {
  #equipo .equipo-intro h2 {
    font-size: 1.75rem;
  }

  #equipo .equipo-intro .equipo-lead {
    font-size: 1.08rem;
  }

  #equipo .equipo-card h4 {
    font-size: 1.24rem;
  }

  #equipo .equipo-cta .btn-primary {
    width: 100%;
    text-align: center;
  }
}

#equipo .equipo-ia-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(10, 27, 46, 0.06);
  text-align: center;
}

#equipo .equipo-ia-card img {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #eff6ff;
  box-shadow: 0 8px 22px rgba(35, 92, 146, 0.12);
}

#equipo .equipo-ia-card .rol {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 700;
  color: #235c92;
  
  letter-spacing: 0.03em;
}

#equipo .equipo-ia-card p {
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #4b5563;
}

#equipo .equipo-ia-card p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   NUEVA ESTRUCTURA MULTIPÁGINA / CONTENIDO COMERCIAL
   ========================================================= */
body {
  background: var(--blanco);
}

main {
  min-height: 60vh;
}

a {
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

nav ul {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 0;
}

nav ul li {
  margin-left: 18px;
}

nav ul li a:hover,
nav ul li a:focus {
  color: var(--azul-acento);
}

.section-title-left {
  text-align: left;
}

.centered {
  text-align: center;
}

.centered-intro {
  max-width: 820px;
  margin: -20px auto 40px;
}

.page-hero {
  padding: 90px 0 50px;
}

.simple-page-hero {
  padding-bottom: 20px;
}

.bg-light {
  background: var(--gris-fondo);
}

.page-hero h1 {
  font-size: 2.9rem;
  max-width: 920px;
}

.page-subtitle {
  max-width: 840px;
  font-size: 1.15rem;
  color: #4b5563;
}

.eyebrow,
.mini-label {
  font-family: 'Fira Code', monospace;
  
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions-double {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary-hero {
  background: transparent;
  color: var(--blanco);
  padding: 18px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.btn-inline {
  display: inline-block;
  width: auto;
  text-decoration: none;
}

.text-link {
  color: var(--azul-acento);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.home-highlight-strip {
  padding: 70px 0 30px;
  background: var(--blanco);
}

.home-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.highlight-card,
.blog-highlight-card,
.chat-highlight-card,
.pillar-card,
.feature-panel,
.offer-card,
.module-card,
.training-card,
.blog-card,
.chat-inline-box {
  background: var(--blanco);
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(10, 27, 46, 0.06);
  padding: 30px;
}

.highlight-card-dark {
  background: var(--azul-noche);
  color: var(--blanco);
  border-color: rgba(255, 255, 255, 0.08);
}

.highlight-card-dark h2,
.highlight-card-dark p,
.highlight-card-dark .mini-label,
.text-white-block h2,
.text-white-block p,
.text-white-block .mini-label,
.text-white-block h1 {
  color: var(--blanco);
}

.highlight-card h2,
.blog-highlight-card h2,
.chat-highlight-card h2,
.pillar-card h2,
.feature-panel h3,
.offer-card h3,
.module-card h2,
.training-card h3,
.blog-card h2,
.chat-inline-box h2 {
  margin-bottom: 14px;
}

.services-preview .grid,
.split-feature-grid,
.ecosystem-intro-grid,
.detail-list-grid,
.offer-grid,
.home-blog-chat-grid,
.cta-band-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.product-preview {
  padding: 80px 0;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 36px;
}

.product-card-grid,
.service-pillar-grid,
.module-grid,
.training-grid,
.blog-listing-grid {
  display: grid;
  gap: 24px;
}

.product-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px;
}

.product-card h3 {
  color: var(--blanco);
  margin-bottom: 10px;
}

.product-card p {
  color: rgba(255, 255, 255, 0.86);
}

.home-blog-chat {
  padding: 80px 0;
  background: var(--gris-fondo);
}

.blog-highlight-card,
.chat-highlight-card {
  height: 100%;
}

.chat-demo-window {
  margin: 22px 0;
  background: #f8fafc;
  border-radius: 16px;
  padding: 18px;
}

.chat-demo-message {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border: 1px solid #e5e7eb;
}

.chat-demo-message-bot {
  background: #eef5fb;
}

.cta-band {
  padding: 70px 0;
}

.cta-band-inner {
  background: var(--gris-fondo);
  border-radius: 24px;
  padding: 30px 34px;
}

.service-pillars {
  padding: 70px 0;
}

.service-pillar-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-list-section {
  padding: 80px 0;
}

.detail-list-grid {
  align-items: start;
}

.service-list-light li {
  border-left-color: rgba(255, 255, 255, 0.4);
  color: var(--blanco);
}

.split-feature-section,
.ecosystem-intro,
.module-grid-section,
.training-grid-section,
.blog-listing-section,
.blog-post-section {
  padding: 80px 0;
}

.feature-panel p:last-child,
.module-card p:last-child,
.training-card p:last-child,
.blog-card p:last-child {
  margin-bottom: 0;
}

.offer-card {
  background: #f8fafc;
}

.offer-card.light-card {
  background: var(--blanco);
}

.offer-card ol,
.offer-card ul {
  padding-left: 20px;
  margin-bottom: 22px;
}

.module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-card {
  min-height: 100%;
}

.module-subtitle {
  color: var(--azul-acento);
  font-weight: 700;
  
  font-size: 0.84rem;
  margin-bottom: 14px;
}

.training-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.training-card {
  background: var(--blanco);
}

.blog-listing-grid {
  grid-template-columns: 2fr 1fr 1fr;
}

.blog-card-featured {
  background: var(--gris-fondo);
}

.blog-post-container {
  max-width: 860px;
}

.blog-post-container p {
  margin-bottom: 24px;
}

.blog-post-container a:not([class*="btn"]) {
  color: var(--azul-acento);
  font-weight: 700;
  text-decoration: none;
}

.blog-post-container a:not([class*="btn"]):hover {
  text-decoration: underline;
}

.blog-post-container h2 {
  margin: 34px 0 12px;
}

.cta-inline-box {
  margin-top: 34px;
  background: var(--gris-fondo);
  border-radius: 20px;
  padding: 28px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.contact-details li {
  margin-bottom: 10px;
}

.contact-form-wrapper {
  background: var(--blanco);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(10, 27, 46, 0.06);
}

.chat-inline-box {
  margin-top: 30px;
  background: #eef5fb;
}

.chat-lucia-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  background: var(--azul-noche);
  color: var(--blanco);
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(10, 27, 46, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.chat-lucia-floating:hover {
  background: var(--azul-acento);
  transform: translateY(-2px);
}

.chat-lucia-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--azul-acento);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 1100px) {
  .product-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-grid,
  .training-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-listing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {

  .home-highlight-grid,
  .services-preview .grid,
  .split-feature-grid,
  .ecosystem-intro-grid,
  .detail-list-grid,
  .offer-grid,
  .home-blog-chat-grid,
  .cta-band-inner,
  .service-pillar-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    justify-content: flex-start;
  }

  .hero-title,
  .hero-big-highlight {
    font-size: 2.2rem;
  }

  .product-card-grid,
  .module-grid,
  .training-grid,
  .service-pillar-grid,
  .home-highlight-grid {
    grid-template-columns: 1fr;
  }

  .chat-lucia-floating {
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
  }

  .cta-band-inner,
  .highlight-card,
  .blog-highlight-card,
  .chat-highlight-card,
  .pillar-card,
  .feature-panel,
  .offer-card,
  .module-card,
  .training-card,
  .blog-card,
  .contact-form-wrapper {
    padding: 22px;
  }
}


/* Logos SOLID360 */
.product-heading-with-logo {
  max-width: 860px;
  margin: 0 auto 36px;
}

.solid360-suite-logo {
  width: min(420px, 100%);
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.product-hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.module-logo-home {
  width: 190px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 14px;
  display: block;
}

.module-logo {
  width: 230px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 16px;
  display: block;
}

.module-card {
  text-align: center;
}

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

  .product-hero-logo-wrap {
    order: -1;
  }
}


/* =========================================================
   CRO + SEO + CHAT LUCÍA
   ========================================================= */
nav ul li a.active,
nav ul li a[aria-current="page"] {
  color: var(--azul-acento);
}

.hero-micro {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.microcopy {
  font-size: 0.92rem;
  color: #64748b;
  margin-top: 10px;
}

.microcopy-light {
  color: rgba(255, 255, 255, 0.78);
}

.text-link-light {
  color: #9cc7ff;
}

.text-link-light:hover {
  color: #ffffff;
}

.btn-outline {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 4px;
  border: 1px solid var(--azul-acento);
  color: var(--azul-acento);
  background: transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--azul-acento);
  color: var(--blanco);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--blanco);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-actions-left {
  justify-content: flex-start;
}

.compact-actions .btn-dark-hero,
.compact-actions .btn-outline,
.compact-actions .btn-primary-action {
  padding: 14px 24px;
}

.product-card-grid--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1020px;
  margin: 0 auto;
}

.product-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 96px;
  margin-bottom: 6px;
}

.solid360-suite-logo--home {
  width: min(500px, 100%);
  opacity: 0.96;
}

.solid360-suite-logo--hero {
  width: min(520px, 100%);
}

.module-logo-home {
  width: 220px;
  margin-bottom: 18px;
}

.module-logo {
  width: 260px;
  margin-bottom: 18px;
}

.module-card .text-link {
  margin-top: 10px;
  display: inline-block;
}

.offer-section {
  padding: 72px 0;
}

.offer-card p {
  margin-bottom: 12px;
}

.lucia-widget {
  position: fixed;
  inset: 0;
  background: rgba(5, 22, 42, 0.44);
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
  z-index: 1400;
}

.lucia-widget.is-open {
  display: flex;
}

.lucia-widget__panel {
  width: min(420px, calc(100vw - 24px));
  background: var(--blanco);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(10, 27, 46, 0.25);
  overflow: hidden;
}

.lucia-widget__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 22px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.lucia-widget__header h2 {
  font-size: 1.55rem;
  margin: 0;
}

.lucia-widget__close {
  border: none;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gris-carbon);
}

.lucia-widget__messages {
  max-height: 360px;
  overflow: auto;
  padding: 18px 18px 6px;
  background: #f8fafc;
}

.lucia-msg {
  display: flex;
  margin-bottom: 12px;
}

.lucia-msg p {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 14px;
  margin: 0;
}

.lucia-msg--bot p {
  background: #eaf2fb;
}

.lucia-msg--user {
  justify-content: flex-end;
}

.lucia-msg--user p {
  background: var(--azul-noche);
  color: var(--blanco);
}

.lucia-widget__form {
  padding: 16px 18px 18px;
}

.lucia-widget__form textarea {
  width: 100%;
  resize: vertical;
  min-height: 74px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
}

.lucia-widget__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.lucia-widget__status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #64748b;
}

.chat-lucia-floating {
  border: 0;
  cursor: pointer;
}

.chat-lucia-floating:focus-visible,
.lucia-widget__close:focus-visible,
.btn-outline:focus-visible {
  outline: 3px solid rgba(0, 97, 179, 0.28);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .product-card-grid--home {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-actions-left {
    justify-content: center;
  }

  .lucia-widget {
    padding: 12px;
  }

  .lucia-widget__panel {
    width: 100%;
  }
}


/* Ajustes solicitados abril 2026 */
.product-preview-light {
  background: #f6f8fb;
}

.product-preview-light .section-heading h2,
.product-preview-light .section-heading p,
.product-preview-light .section-heading .mini-label {
  color: var(--azul-noche);
}

.product-preview-light .product-card {
  background: var(--blanco);
  border: 1px solid #d8e1ea;
  box-shadow: 0 12px 26px rgba(10, 27, 46, 0.06);
}

.product-preview-light .product-card h3 {
  color: var(--azul-noche);
}

.product-preview-light .product-card p {
  color: #334155;
}

.product-preview-light .solid360-suite-logo--home {
  opacity: 1;
}

.product-preview-light .section-actions {
  margin-top: 34px;
}

.hero-actions .btn-dark-hero,
.hero-actions .btn-secondary-hero,
.btn-dark-hero,
.btn-primary-action,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-dark-hero,
.btn-primary-action {
  padding: 15px 28px;
  min-width: 220px;
}

.btn-outline {
  min-width: 200px;
}

.cta-band-inner>a,
.cta-band-inner>button {
  justify-self: start;
  width: auto;
}

.section-actions.centered .btn-dark-hero,
.section-actions.centered .btn-primary-action,
.section-actions.centered .btn-outline {
  min-width: 240px;
}

.footer-content {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  margin-bottom: 0;
}

.btn-lucia::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: url('../img/AvatarLucia.png') center/cover no-repeat;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
  flex: 0 0 24px;
}

.chat-lucia-floating {
  padding: 10px 16px 10px 12px;
}

.chat-lucia-badge {
  background: url('../img/AvatarLucia.png') center/cover no-repeat;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
  font-size: 0;
}

.lucia-widget__identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lucia-widget__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(10, 27, 46, 0.15);
}

.chat-identity-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 20px;
}

.inline-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 8px;
  }

  .btn-dark-hero,
  .btn-primary-action,
  .btn-outline {
    min-width: 0;
    width: auto;
  }
}


/* Ajustes finos finales abril 2026 */
.page-hero h1 {
  line-height: 1.08;
}

.principles-grid--extended {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ecosystem-intro {
  padding-bottom: 28px;
}

.module-grid-section {
  padding-top: 28px;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
}

.footer-right {
  margin-left: auto;
  text-align: right;
}

.footer-right p {
  margin: 0;
}

.footer-right a {
  color: var(--azul-acento);
  text-decoration: none;
  margin-left: 8px;
}

.footer-right a:hover {
  text-decoration: underline;
}

.btn-lucia {
  gap: 10px;
}

.btn-lucia::before {
  content: none;
  display: none;
}

.btn-lucia__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: url('../img/AvatarLucia.png') center/cover no-repeat;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
  flex: 0 0 24px;
  display: inline-block;
}

.chat-lucia-floating {
  padding: 10px 16px 10px 12px;
  gap: 10px;
}

.chat-lucia-floating .btn-lucia__avatar {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.chat-lucia-badge {
  display: none;
}

.lucia-widget__identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lucia-widget__title-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.lucia-widget__title-block .mini-label {
  margin: 0;
  line-height: 1;
}

.lucia-widget__title-block h2 {
  margin: 0;
  line-height: 1.1;
}

.btn-dark-hero,
.btn-primary-action {
  min-width: 190px;
}

.btn-outline {
  min-width: 185px;
}

.section-actions.centered .btn-dark-hero,
.section-actions.centered .btn-primary-action,
.section-actions.centered .btn-outline {
  min-width: 210px;
}

.home-products-cta,
.section-actions {
  margin-top: 40px;
}

.product-preview-light .section-actions {
  margin-top: 44px;
}

.product-card-grid--home+.section-actions,
.product-preview-light .product-card-grid--home+.section-actions {
  margin-top: 36px;
}

.btn-inline {
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .principles-grid--extended {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    margin-left: 0;
    text-align: left;
  }

  .principles-grid--extended {
    grid-template-columns: 1fr;
  }
}


/* SEO + Accesibilidad + Responsive review */
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--azul-noche);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 3000;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(0, 97, 179, 0.32);
  outline-offset: 3px;
}

.page-hero h1,
.hero-title {
  line-height: 1.12;
}

.footer-content {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-left,
.footer-right {
  flex: 0 1 auto;
}

.footer-right {
  text-align: right;
}

.contact-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--azul-noche);
}

.field-optional {
  font-weight: 400;
  color: #64748b;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
}

.lucia-widget__header {
  align-items: center;
}

.lucia-widget__panel:focus {
  outline: none;
}

@media (max-width: 900px) {
  .footer-content {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 72px 0 42px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 1.02rem;
  }

  nav ul li {
    margin-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Estilo para la burbuja de carga */
.lucia-msg--thinking {
  opacity: 0.7;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background-color: #0061B3;
  /* El color azul de tu marca */
  border-radius: 50%;
  display: inline-block;
  animation: luciaTyping 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes luciaTyping {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1.0);
  }
}