:root {
  --primary: #2563eb;
  --dark: #020617;
  --gray: #475569;
  --light: #f8fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

body {
  color: var(--dark);
  line-height: 1.6;
}

.footer-links {
  margin-top: .35rem;
  font-size: .85rem;
}

.footer-links a,
.footer-link-button {
  color: inherit;
}

.footer-link-button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}

.cookie-consent {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__content {
  width: min(100%, 480px);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.25rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(2, 6, 23, .2);
  pointer-events: auto;
}

.cookie-consent h2 {
  margin-bottom: .35rem;
  font-size: 1.1rem;
}

.cookie-consent p {
  margin-bottom: .55rem;
  color: #334155;
  font-size: .92rem;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

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

.container.narrow {
  max-width: 800px;
}

.header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  height: 36px;
}

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

.hero {
  background: linear-gradient(135deg, #020617, #0f172a);
  color: white;
  padding: 6rem 0;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.2;
}

.hero h1 span {
  color: #93c5fd;
}

.hero h1 { max-width: 900px; }

.hero-text {
  margin: 1.5rem 0 2.5rem;
  max-width: 650px;
  font-size: 1.1rem;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--dark);
  color: white;
}

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

.section-title.light {
  color: white;
}

.services-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card,
.process-step {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.section-dark .process-step {
  background: #0f172a;
}

.process-step span {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: bold;
}

.company-text {
  text-align: center;
  font-size: 1.08rem;
  color: #334155;
}

.cta {
  background: var(--primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta p {
  margin: 1rem 0 2rem;
}

.contact-email a {
  font-size: 1.2rem;
  color: #93c5fd;
  text-decoration: none;
}

.footer {
  background: #020617;
  color: #cbd5f5;
  text-align: center;
  padding: 2rem 0;
}

.btn {
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  border: 1px solid white;
  color: white;
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}
/* CONTACT MODAL */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal h3 {
  margin-bottom: 0.5rem;
}

.modal p {
  margin-bottom: 2rem;
  color: #475569;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-email {
  background: #2563eb;
  color: white;
}

.modal-close {
  margin-top: 1.5rem;
  background: none;
  border: none;
  color: #475569;
  cursor: pointer;
}

/* Subtítulos consistentes */
.section-subtitle {
  max-width: 860px;
  margin: 10px auto 28px;
  text-align: center;
  opacity: .85;
  line-height: 1.6;
}

/* HERO badges (en tu captura se ven pegados) */
.hero-badges {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
}

/* Grids para Especialidades y Tecnologías */
.features-grid,
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.tech-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.04);
}

.feature-card h3,
.tech-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.feature-card p,
.tech-card p {
  margin: 0 0 8px;
  opacity: .9;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 1100px) {
  .features-grid,
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .features-grid,
  .tech-grid { grid-template-columns: 1fr; }
}

.contact-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 16px 0 8px;
  flex-wrap: wrap;
}

.contact-email {
  text-align: center;
  margin-top: 10px;
}

/* =========================
   CONSISTENCIA VISUAL PRO
   Pegar al final del styles.css
   ========================= */

/* 1) Sección clara (en tu HTML la usas y no estaba definida) */
.section-light {
  background: var(--light);
}

/* 2) Cards: unifica estilo para TODAS las tarjetas */
.service-card,
.process-step,
.feature-card,
.tech-card {
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

/* Ajuste fino para textos en cards */
.service-card h3,
.feature-card h3,
.tech-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.service-card p,
.feature-card p,
.tech-card p {
  opacity: .9;
  line-height: 1.6;
}

/* 3) Cards en sección oscura: consistente */
.section-dark .service-card,
.section-dark .feature-card,
.section-dark .tech-card,
.section-dark .process-step {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 34px rgba(0,0,0,0.25);
}

/* Texto en dark */
.section-dark .service-card,
.section-dark .feature-card,
.section-dark .tech-card,
.section-dark .process-step {
  color: white;
}

.section-dark .service-card p,
.section-dark .feature-card p,
.section-dark .tech-card p,
.section-dark .process-step p {
  color: rgba(255,255,255,0.78);
}

/* 4) Subtítulo: más “premium” */
.section-subtitle {
  font-size: 1.02rem;
  color: rgba(2, 6, 23, 0.72);
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.78);
}

/* 5) Hero badges: que se vean mejor (más “chip”) */
.badge {
  backdrop-filter: blur(6px);
}

/* 6) Scroll a anchors sin quedar tapado por el header sticky */
section[id] {
  scroll-margin-top: 90px;
}

/* 7) Botones: hover sutil (se siente más profesional) */
.btn {
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;       /* <-- añade esto */
  line-height: 1.2;      /* opcional pero ayuda a igualar */
}
.btn:hover {
  transform: translateY(-1px);
  opacity: .95;
}

.btn:active {
  transform: translateY(0);
  opacity: .9;
}

/* 8) CTA: centrado perfecto y con mejor legibilidad */
.cta h2 {
  margin-bottom: .5rem;
}

.cta p {
  max-width: 760px;
  margin: 1rem auto 2rem;
  opacity: .95;
}

/* 9) Contacto: tamaño y alineación */
.section-dark .contact-text {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255,255,255,0.78);
}

.contact-actions .btn {
  min-width: 140px;
  text-align: center;
}

/* 10) Tecnologías: separa párrafos y mejora jerarquía */
.tech-card p {
  margin-bottom: .5rem;
}
.tech-card p:last-child {
  margin-bottom: 0;
}
/* =========================
   MOBILE: header/nav + layout
   Pegar al final del styles.css
   ========================= */

.header-content {
  position: relative; /* necesario para posicionar el menú desplegable */
}

/* Botón hamburguesa (oculto en desktop) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
}

.nav-toggle-icon {
  font-size: 24px;
  line-height: 1;
  color: #0f172a;
}

.nav-toggle:active {
  transform: scale(0.98);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f172a;
  margin: 5px 0;
  border-radius: 2px;
}

/* Ajustes generales para pantallas pequeñas */
@media (max-width: 768px) {
  .container {
    width: 92%;
  }

  .logo {
    height: 32px;
  }

  /* HERO: menos padding y tipografías más contenidas */
  .hero {
    padding: 3.5rem 0;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.15;
  }

  .hero h1 br {
    display: none; /* evita saltos forzados en móviles */
  }

  .hero-text {
    font-size: 1rem;
    margin: 1.2rem 0 1.6rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-badges {
    gap: 8px;
  }

  .badge {
    font-size: 12px;
    padding: 7px 10px;
  }

  /* Secciones: menos aire en móvil */
  .section {
    padding: 3.25rem 0;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
  }

  .section-subtitle {
    margin: 10px auto 22px;
    font-size: 0.98rem;
  }

  /* Cards: menos padding para que no “ahoguen” */
  .service-card,
  .process-step,
  .feature-card,
  .tech-card {
    padding: 1.25rem;
  }

  /* Contacto: botones a ancho completo en móvil */
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions .btn {
    width: 100%;
  }

  /* Modal: que no se salga en pantallas pequeñas */
  .modal {
    max-height: 90vh;
    overflow: auto;
  }

  /* ====== NAV móvil ====== */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Oculta el nav “normal” y lo convierte en menú desplegable */
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
    padding: 10px;
    display: none; /* cerrado por defecto */
    z-index: 50;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .nav a {
    margin-left: 0; /* anula tu margin-left desktop */
    padding: 12px 12px;
    border-radius: 10px;
  }

  .nav a:hover {
    background: rgba(2, 6, 23, 0.05);
  }

  /* El botón "Contacto" dentro del menú: a ancho completo */
  .nav .btn.btn-outline {
    display: block;
    text-align: center;
    width: 100%;
  }

  /* Anchor scroll: header sticky suele ser más alto en móvil */
  section[id] {
    scroll-margin-top: 110px;
  }
}

/* Productos propios */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #0f172a;
  border: 1px solid;
  border-radius: 14px;
  padding: 2.25rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.product-card--lacomanda { border-color: rgba(249, 115, 22, 0.3); }
.product-card--taxflow { border-color: rgba(96, 165, 250, 0.35); }
.product-card__tags { margin-top: auto; }
.product-card > a { align-self: flex-start; }
.product-card > a:hover { opacity: 0.88; }
.product-card > a:focus-visible { outline: 3px solid #93c5fd; outline-offset: 4px; }

@media (max-width: 768px) {
  .product-card { padding: 1.25rem; }
}

/* Captación de proyectos */
.btn {
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.btn:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.25rem;
  list-style: none;
  margin-top: 1.4rem;
  max-width: 760px;
  padding: 0;
}

.hero-trust li {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}

.hero-trust li::before {
  color: #93c5fd;
  content: '✓';
  font-weight: 700;
  margin-right: .45rem;
}

.eyebrow {
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  margin-bottom: .65rem;
  text-align: center;
  text-transform: uppercase;
}

.section-title--compact {
  margin-bottom: 1rem;
}

.outcomes-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.outcome-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem;
}

.outcome-card h3 {
  font-size: 1.08rem;
  margin: .85rem 0 .55rem;
}

.outcome-card p {
  color: #475569;
}

.outcome-icon,
.contact-path-icon {
  align-items: center;
  background: #dbeafe;
  border-radius: 10px;
  color: #1d4ed8;
  display: inline-flex;
  font-size: 1.15rem;
  font-weight: 800;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.quote-section {
  background: #f8fafc;
}

.contact-paths {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2.25rem auto 0;
  max-width: 980px;
}

.contact-path {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .07);
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.contact-path--assistant {
  background: linear-gradient(145deg, #fff 0%, #f4f8ff 100%);
  border-color: rgba(37, 99, 235, .52);
  box-shadow: 0 20px 48px rgba(37, 99, 235, .13);
}

.contact-path--meeting {
  background: linear-gradient(145deg, #fff 0%, #fffaf0 100%);
  border-color: rgba(180, 83, 9, .42);
  box-shadow: 0 20px 48px rgba(180, 83, 9, .1);
}

.contact-path-heading {
  align-items: center;
  display: flex;
  gap: .75rem;
}

.contact-path-context {
  color: #475569;
  font-size: .82rem;
  font-weight: 700;
}

.contact-path--assistant .contact-path-context {
  color: #1d4ed8;
}

.contact-path--meeting .contact-path-icon {
  background: #fef3c7;
  color: #b45309;
}

.contact-path--meeting .contact-path-context {
  color: #b45309;
}

.contact-path h3 {
  font-size: 1.2rem;
  margin: 1rem 0 .55rem;
}

.contact-path > p {
  color: #475569;
  margin-bottom: 1.25rem;
}

.assistant-commitment {
  align-items: center;
  background: #e8f1ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  color: #1e40af !important;
  display: flex;
  font-size: .94rem;
  gap: .55rem;
  line-height: 1.4;
  margin: 1.1rem 0 0;
  padding: .75rem .85rem;
}

.assistant-commitment span {
  font-size: 1.15rem;
}

.contact-path--assistant .btn {
  box-shadow: 0 10px 20px rgba(37, 99, 235, .2);
}

.meeting-button {
  background: #b45309;
  box-shadow: 0 10px 20px rgba(180, 83, 9, .2);
}

.contact-path-whatsapp {
  color: #64748b;
  font-size: .9rem;
  margin: .9rem 0 0;
}

.contact-path-whatsapp a {
  color: #b45309;
  font-weight: 700;
}

.contact-path ul {
  color: #475569;
  display: grid;
  gap: .55rem;
  list-style: none;
  margin: 1.4rem 0 1.75rem;
}

.contact-path li {
  display: flex;
  gap: .5rem;
}

.contact-path li::before {
  color: #2563eb;
  content: '✓';
  font-weight: 800;
}

.contact-path .btn {
  align-self: flex-start;
  margin-top: auto;
}

.schedule-button {
  border-color: #2563eb;
  color: #2563eb;
}

.lead-assistant,
.meeting-request {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .1);
  margin: 2rem auto 0;
  max-width: 850px;
  padding: 2rem;
}

.meeting-request {
  border-color: #dbe3ee;
}

.floating-assistant {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .45rem .65rem .45rem .45rem;
  border: 0;
  border-radius: 999px;
  background: #1748bb;
  color: #fff;
  box-shadow: 0 12px 35px rgba(15, 48, 126, .3);
  cursor: pointer;
  text-align: left;
}
.floating-assistant:focus-visible { outline: 3px solid #60a5fa; outline-offset: 3px; }
.floating-assistant__icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  flex: none; border-radius: 50%; background: #fff; color: #1d4ed8;
}
.floating-assistant__icon svg { width: 34px; height: 34px; }
.floating-assistant__text { display: grid; min-width: 155px; line-height: 1.25; }
.floating-assistant__bubble {
  position: absolute;
  right: .25rem;
  bottom: calc(100% + .8rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  align-items: center;
  gap: .3rem;
  width: 310px;
  max-width: calc(100vw - 2rem);
  min-height: 95px;
  padding: .55rem .6rem .55rem 1rem;
  border: 1px solid #dbe5f5;
  border-radius: 14px 14px 4px 14px;
  background: #fff;
  color: #172554;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
}
.floating-assistant__bubble::after {
  position: absolute;
  right: 1.25rem;
  bottom: -.4rem;
  width: .75rem;
  height: .75rem;
  border-right: 1px solid #dbe5f5;
  border-bottom: 1px solid #dbe5f5;
  background: #fff;
  content: '';
  transform: rotate(45deg);
}
.floating-assistant__bubble-label { color: #1d4ed8; font-size: .7rem; font-weight: 700; letter-spacing: .02em; }
.floating-assistant__bubble-copy { display: grid; gap: .25rem; }
.floating-assistant__mascot { display: block; width: 76px; height: 82px; }
.floating-assistant__prompt { display: block; font-size: .9rem; font-weight: 650; line-height: 1.35; transition: opacity .25s ease, transform .25s ease; }
.floating-assistant[aria-expanded='true'] .floating-assistant__bubble { display: none; }
.floating-assistant__icon { transition: transform .25s ease; }
.floating-assistant.is-changing .floating-assistant__prompt { opacity: 0; transform: translateY(4px); }
.floating-assistant.is-changing .floating-assistant__icon { transform: rotate(-8deg) scale(1.04); }
.floating-assistant__text strong { font-size: .9rem; }
.floating-assistant__text small { margin-top: .2rem; color: #e7efff; font-size: .75rem; }
.floating-assistant__arrow { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 1.15rem; font-weight: 700; }
.floating-chat {
  position: fixed;
  right: 1.25rem;
  bottom: 6.25rem;
  z-index: 81;
  width: min(430px, calc(100vw - 2.5rem));
  max-height: min(680px, calc(100dvh - 8rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 1.25rem;
  text-align: left;
}
.floating-chat[hidden] { display: none; }
.floating-chat .lead-assistant-heading h3 { font-size: 1.2rem; }
.floating-chat .lead-assistant-heading p:not(.eyebrow) { font-size: .86rem; line-height: 1.45; }
.floating-chat .assistant-messages { margin: 1rem 0; max-height: min(34vh, 290px); }
.floating-chat .assistant-form textarea { min-height: 70px; }
.floating-chat__privacy { color: #64748b; font-size: .75rem; line-height: 1.4; margin-top: .7rem; }
.floating-chat__privacy a { color: #1d4ed8; text-decoration: underline; }
@media (max-width: 768px) {
  /* El asistente ocupa una fila propia de la cabecera, sin cubrir la página. */
  body:has(#floatingAssistant) .header { padding-bottom: 4.1rem; }
  .floating-assistant {
    top: 4.65rem; right: .75rem; bottom: auto; left: auto;
    width: min(470px, calc(100% - 1.5rem));
    height: 3.5rem; gap: .45rem; padding: 0;
    border-radius: 0; background: transparent; box-shadow: none;
  }
  .floating-assistant__bubble {
    position: relative; right: auto; bottom: auto; flex: 1 1 auto;
    width: auto; min-width: 0; max-width: none; height: 100%; min-height: 0;
    grid-template-columns: minmax(0, 1fr) 44px; gap: .2rem;
    padding: .2rem .35rem .2rem .65rem; box-shadow: none;
    border-radius: 12px;
  }
  .floating-assistant__bubble::after { display: none; }
  .floating-assistant__bubble-copy { gap: .05rem; }
  .floating-assistant__bubble-label { font-size: .6rem; }
  .floating-assistant__prompt { font-size: .78rem; line-height: 1.2; }
  .floating-assistant__mascot { width: 44px; height: 48px; }
  .floating-assistant__icon, .floating-assistant__arrow, .floating-assistant__text small { display: none; }
  .floating-assistant__text {
    display: grid; place-items: center; flex: 0 0 104px; min-width: 0; height: 100%;
    margin-left: auto; padding: .35rem; border-radius: 12px;
    background: #1748bb; color: #fff; text-align: center;
  }
  .floating-assistant__text strong { font-size: .8rem; line-height: 1.2; }
  .header:has(.nav-toggle[aria-expanded='true']) ~ .floating-assistant { visibility: hidden; }
  .floating-chat { top: 9rem; right: .75rem; bottom: auto; left: .75rem; width: auto; max-height: calc(100dvh - 10rem); }
  section[id] { scroll-margin-top: 9.5rem; }
}

.lead-assistant-heading {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.lead-assistant-heading .eyebrow {
  margin-bottom: .3rem;
  text-align: left;
}

.lead-assistant-heading h3 {
  font-size: 1.4rem;
  margin-bottom: .35rem;
}

.lead-assistant-heading p:not(.eyebrow) {
  color: #64748b;
  max-width: 620px;
}

.icon-button {
  align-items: center;
  background: #f1f5f9;
  border: 0;
  border-radius: 50%;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.5rem;
  height: 2.25rem;
  justify-content: center;
  line-height: 1;
  width: 2.25rem;
}

.assistant-messages {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: grid;
  gap: .85rem;
  margin: 1.5rem 0 1rem;
  max-height: 430px;
  overflow-y: auto;
  padding: 1rem;
}

.assistant-message {
  border-radius: 10px;
  max-width: 82%;
  padding: .8rem 1rem;
  transition: opacity .2s ease, transform .2s ease;
}

.assistant-message--new {
  opacity: 0;
  transform: translateY(8px);
}

.assistant-message strong {
  display: block;
  font-size: .8rem;
  margin-bottom: .25rem;
}

.assistant-message p {
  line-height: 1.5;
}

.assistant-message--bot {
  background: #e0edff;
  color: #1e3a8a;
}

.assistant-message--user {
  background: #0f172a;
  color: #fff;
  justify-self: end;
}

.assistant-message--thinking {
  min-width: 185px;
}

.assistant-message--thinking p {
  align-items: center;
  display: flex;
  gap: .55rem;
}

.thinking-dots {
  display: inline-flex;
  gap: .22rem;
}

.thinking-dots i {
  animation: thinking-dot 1.1s ease-in-out infinite;
  background: currentColor;
  border-radius: 50%;
  display: block;
  height: .35rem;
  opacity: .45;
  width: .35rem;
}

.thinking-dots i:nth-child(2) { animation-delay: .15s; }
.thinking-dots i:nth-child(3) { animation-delay: .3s; }

@keyframes thinking-dot {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

.assistant-form,
.meeting-request-form {
  display: grid;
  gap: .85rem;
}

.assistant-form textarea,
.meeting-request-form input,
.meeting-request-form textarea {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  font: inherit;
  padding: .75rem .85rem;
  resize: vertical;
  width: 100%;
}

.assistant-form textarea:focus,
.meeting-request-form input:focus,
.meeting-request-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
  outline: none;
}

.assistant-form .btn,
.meeting-request-form .btn {
  justify-self: start;
}

.assistant-form .btn.is-loading {
  gap: .55rem;
}

.assistant-form .btn.is-loading::before {
  animation: button-spinner .75s linear infinite;
  border: 2px solid rgba(255, 255, 255, .4);
  border-right-color: #fff;
  border-radius: 50%;
  content: '';
  height: .9rem;
  width: .9rem;
}

@keyframes button-spinner {
  to { transform: rotate(360deg); }
}

.meeting-request-form {
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
  display: grid;
  gap: .4rem;
}

.form-group label {
  color: #334155;
  font-size: .9rem;
  font-weight: 700;
}

.form-group label span {
  color: #dc2626;
}

.form-group small {
  color: #64748b;
  font-weight: 400;
}

.assistant-status {
  color: #2563eb;
  font-size: .92rem;
  min-height: 1.4rem;
}

.assistant-status.is-error {
  color: #b91c1c;
}

@media (prefers-reduced-motion: reduce) {
  .assistant-message,
  .thinking-dots i,
  .assistant-form .btn.is-loading::before {
    animation: none;
    transition: none;
  }
}

.brief-completion {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  margin-top: 1.25rem;
  padding: 1.25rem;
}

.brief-completion h4 {
  font-size: 1.05rem;
  margin: 0;
  scroll-margin-top: 6rem;
}

.brief-completion > p {
  color: #475569;
  margin: .75rem 0;
}

.brief-completion > .assistant-status {
  color: #1d4ed8;
}

.brief-completion > .assistant-status.is-error {
  color: #b91c1c;
}

.assistant-form[hidden],
.brief-completion .btn[hidden] {
  display: none;
}

.brief-completion {
  scroll-margin-top: 6rem;
}

.brief-details {
  border-top: 1px solid #bfdbfe;
  margin-top: 1rem;
  padding-top: 1rem;
}

.brief-details summary {
  color: #1d4ed8;
  cursor: pointer;
  font-weight: 600;
}

.brief-details .brief-summary {
  margin-top: 1rem;
}

.brief-summary {
  display: grid;
  gap: .25rem 1rem;
  grid-template-columns: minmax(130px, .35fr) 1fr;
}

.brief-summary dt {
  color: #475569;
  font-size: .86rem;
  font-weight: 700;
}

.brief-summary dd {
  margin: 0 0 .75rem;
}

.contact-alternative--center {
  color: #64748b;
  margin-top: 1.5rem;
  text-align: center;
}

.contact-alternative--center a,
.text-link {
  color: #1d4ed8;
  font-weight: 600;
}

.quick-contact {
  max-width: 760px;
  margin: 1.75rem auto 2.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, .08);
  text-align: left;
}
.quick-contact-heading h3 { margin: .3rem 0 .5rem; color: #0f172a; font-size: 1.35rem; }
.quick-contact-heading p:not(.eyebrow), .quick-contact-privacy { color: #475569; }
.quick-contact .form-group { margin-top: 1rem; }
.quick-contact .form-row { gap: 1rem; }
.quick-contact input, .quick-contact textarea, .quick-contact select {
  width: 100%; min-height: 48px; padding: .75rem; border: 1px solid #94a3b8;
  border-radius: 8px; font: inherit; color: #0f172a; background: #fff;
}
.quick-contact textarea { min-height: 106px; resize: vertical; }
.quick-contact label { display: block; font-weight: 650; margin-bottom: .4rem; }
.quick-contact :is(input, textarea, select):focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.quick-contact-privacy { margin: 1rem 0; font-size: .9rem; }
.quick-contact-privacy a { color: #1d4ed8; text-decoration: underline; }
.quick-contact .assistant-status { margin-top: .75rem; }
.contact-paths-intro { color: #334155; font-size: 1.1rem; font-weight: 700; text-align: center; margin: 2rem 0 1rem; }

.services-grid--focused { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-card--focused { display: flex; flex-direction: column; min-height: 255px; border: 1px solid #dce6f4; border-top: 3px solid #2563eb; border-radius: 12px; box-shadow: 0 14px 40px rgba(15, 23, 42, .055); }
.service-number { color: #1d4ed8; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.service-card--focused h3 { color: #0f172a; font-size: 1.2rem; line-height: 1.3; margin: 1.1rem 0 .7rem; }
.service-card--focused p { color: #475569; line-height: 1.65; }
.service-detail { color: #1e40af; font-size: .78rem; font-weight: 700; line-height: 1.5; margin-top: auto; padding-top: 1.3rem; }
.services-note { color: #475569; font-size: .95rem; text-align: center; margin: 1.5rem auto 0; }
.hero-content { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.hero-kicker { color: #88d8dc; font-size: .72rem; font-weight: 800; letter-spacing: .13em; margin-bottom: 1rem; }
.hero-message h1 { letter-spacing: -.035em; line-height: 1.12; }
.hero-message h1 span { color: #9bcaff; }
.hero-message .hero-text { margin-bottom: 1.8rem; }
.hero-needs { margin-top: 1.7rem; }
.hero-needs > p { color: #d6e5f9; font-size: .82rem; font-weight: 700; margin-bottom: .6rem; }
.hero-needs__choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-needs__choices button {
  min-height: 44px; padding: .55rem .8rem; border: 1px solid #60789c;
  border-radius: 8px; background: rgba(255,255,255,.05); color: #eef5ff;
  font: inherit; font-size: .875rem; font-weight: 650; line-height: 1.25; cursor: pointer;
}
.hero-needs__choices button:hover { background: rgba(147,197,253,.16); border-color: #a8c9ff; }
.hero-needs__choices button[aria-pressed='true'] { background: #dbeafe; border-color: #dbeafe; color: #102a56; }
.hero-needs__choices button:focus-visible { outline: 3px solid #80d8df; outline-offset: 3px; }
@media (max-width: 768px) {
  .hero-needs__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hero-map { padding: 1.65rem; border: 1px solid rgba(147,197,253,.3); border-radius: 16px; background: linear-gradient(150deg, #172e54, #0b1c37); box-shadow: 0 24px 55px rgba(0,0,0,.18); }
.hero-map__label { color: #a9ccff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.hero-map h2 { color: #fff; font-size: 1.45rem; line-height: 1.25; margin: .8rem 0 .5rem; }
.hero-map > p:last-child { color: #d4e3f7; font-size: .85rem; line-height: 1.5; }
.hero-map__flow { display: grid; gap: .5rem; margin: 1.2rem 0; }
.hero-map__flow span { display: block; padding: .55rem .75rem; border: 1px solid rgba(147,197,253,.25); border-radius: 8px; background: rgba(255,255,255,.06); color: #e6f0ff; font-size: .85rem; }
.hero-map__flow span::before { content: '↗'; color: #9fc3ff; font-weight: 800; margin-right: .65rem; }
@media (min-width: 769px) {
  .hero-map { align-self: start; transform: translateY(-1rem); }
}
.product-capture { margin: 0 0 1.35rem; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: #0f172a; }
.product-capture img { display: block; width: 100%; height: auto; }
.product-capture figcaption { padding: .6rem .8rem; color: #d6e0ee; font-size: .75rem; }
@media (max-width: 768px) {
  .services-grid--focused { grid-template-columns: 1fr; }
  .service-card--focused { min-height: 0; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-map { max-width: 560px; }
}

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

@media (max-width: 768px) {
  .outcomes-grid,
  .contact-paths,
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-path,
  .lead-assistant,
  .meeting-request {
    padding: 1.25rem;
  }

  .contact-path .btn,
  .quick-contact .btn,
  .assistant-form .btn,
  .brief-completion .btn,
  .meeting-request-form .btn {
    width: 100%;
  }

  .assistant-message {
    max-width: 94%;
  }

  .brief-summary {
    grid-template-columns: 1fr;
  }

  .brief-summary dd {
    margin-bottom: .75rem;
  }
}

/* Identidad visual: un recorrido claro desde la necesidad hasta la solución. */
.hero {
  background: radial-gradient(ellipse at 85% 12%, rgba(32, 95, 160, .2), transparent 38%), linear-gradient(135deg, #071329, #101d35);
}
.hero-content { grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); }
.hero-kicker { color: #91e3db; font-size: .8rem; }
.hero-message h1 { font-size: clamp(2.6rem, 4vw, 3.7rem); max-width: 730px; }
.hero-message h1 span { color: #a8ccff; }
.hero-needs > p { font-size: .9rem; }
.hero-needs__choices button { border-color: #7187a7; }
.hero-map {
  position: relative; overflow: hidden; padding: clamp(1.5rem, 2.6vw, 2rem);
  border: 1px solid #d7e5f2; border-radius: 20px; color: #12243f;
  background: #f8fbff; box-shadow: 0 28px 70px rgba(0, 5, 20, .25);
}
.hero-map::before, .landing-intro-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #2770ef, #61d4c5);
}
.hero-map__label, .landing-intro-card .landing-card-label { color: #205ab2; font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.hero-map h2 { color: #10223d; font-size: clamp(1.5rem, 2vw, 1.8rem); letter-spacing: -.035em; line-height: 1.2; margin: .8rem 0 .6rem; }
.hero-map .hero-map__intro, .hero-map #heroMapDescription { color: #4a5c73; font-size: .95rem; line-height: 1.55; }
.hero-map__flow, .landing-flow { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; margin: 1.35rem 0; }
.hero-map__flow::before, .landing-flow::before { content: ''; position: absolute; left: 12px; top: 18px; bottom: 18px; width: 2px; background: #a9d9d9; }
.hero-map__flow span, .landing-flow span {
  position: relative; display: flex; align-items: center; gap: .8rem; min-height: 45px; padding: .35rem 0;
  border: 0; border-radius: 0; background: transparent; color: #1b3654; font-size: .95rem; font-weight: 650; line-height: 1.35;
}
.hero-map__flow span::before, .landing-flow span::before {
  content: ''; flex: 0 0 26px; width: 26px; height: 26px; margin: 0; border: 7px solid #d5f2ec;
  border-radius: 50%; background: #167b80; box-shadow: 0 0 0 1px #a8ddd8;
}
.hero-map__flow span:nth-child(2)::before, .landing-flow span:nth-child(2)::before { background: #2869da; border-color: #dce9ff; box-shadow: 0 0 0 1px #b9d1f8; }
.outcome-card { border-radius: 14px; border-color: #d9e5ee; box-shadow: 0 12px 32px rgba(17, 42, 69, .04); }
.service-card--focused { border-top-color: #4caaa9; box-shadow: none; }
.service-number { color: #176e79; font-size: .78rem; }
.service-detail { font-size: .85rem; }
.about-section { background: #edf5f7; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-intro { max-width: 570px; }
.about-eyebrow, .about-commitments__label { color: #176e79; font-size: .8rem; font-weight: 800; letter-spacing: .1em; }
.about-intro h2 { color: #10223d; font-size: clamp(2rem, 3.4vw, 3.1rem); letter-spacing: -.04em; line-height: 1.14; margin: 1rem 0 1.2rem; }
.about-intro > p:not(.about-eyebrow) { color: #41566e; font-size: 1.05rem; line-height: 1.7; }
.about-intro .about-market { margin: 1.1rem 0 1.6rem; padding-left: 1rem; border-left: 3px solid #52aaa8; font-size: .95rem !important; }
.about-intro .btn { display: inline-block; }
.about-commitments { padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid #d2e3e9; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(19, 57, 72, .07); }
.about-commitments__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.about-portrait { display: block; flex: 0 0 auto; width: 80px; height: 80px; object-fit: cover; object-position: center 25%; border-radius: 50%; border: 3px solid #e0f2f0; }
.about-commitment { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; padding: 1.15rem 0; border-bottom: 1px solid #e3edf0; }
.about-commitment:last-child { padding-bottom: 0; border-bottom: 0; }
.about-commitment > span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #dcf3ef; color: #14767a; font-weight: 800; }
.about-commitment h3 { color: #102b45; font-size: 1.05rem; line-height: 1.35; }
.about-commitment p { color: #50657a; line-height: 1.55; margin-top: .3rem; }
.products-grid:not(:has(.product-card--taxflow)) { max-width: 640px; margin-left: auto; margin-right: auto; }
.cta .btn-primary { display: inline-block; background: #fff; color: #1748bb; }
.cta .btn-primary:hover { background: #eaf1ff; }
.cta .btn-primary:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (min-width: 769px) {
  .hero-map { align-self: center; transform: none; }
}
@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-message h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-map { max-width: 560px; }
  .about-layout { grid-template-columns: 1fr; }
}

/* Sistema visual: conexiones, ritmo editorial y espacios para cada contenido. */
.problem-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.problem-intro { position: sticky; top: 7rem; }
.problem-intro :is(.eyebrow, .section-title, .section-subtitle),
.market-solutions :is(.eyebrow, .section-title, .section-subtitle),
.service-section :is(.eyebrow, .section-title, .section-subtitle),
.specialty-section :is(.section-title, .section-subtitle),
.process-section :is(.section-title, .section-subtitle),
.collaboration-section :is(.eyebrow, .section-title, .section-subtitle),
.tech-section :is(.section-title, .section-subtitle) { text-align: left; margin-left: 0; }
.problem-intro .section-title, .market-solutions .section-title, .service-section .section-title, .collaboration-section .section-title { max-width: 780px; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.16; letter-spacing: -.035em; }
.service-section .section-title, .specialty-section .section-title, .process-section .section-title, .tech-section .section-title { margin-bottom: .9rem; }
.problem-intro .section-subtitle { max-width: 460px; margin-top: 1.4rem; }
.problem-layout .outcomes-grid { grid-template-columns: 1fr; gap: 0; margin: 0; border-top: 1px solid #b8d1d9; }
.problem-layout .outcome-card { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1.1rem; border: 0; border-bottom: 1px solid #c9dce2; border-radius: 0; background: transparent; box-shadow: none; padding: 1.5rem 0; }
.problem-layout .outcome-icon { grid-row: span 2; background: #dbf1ed; color: #126c75; border-radius: 50%; }
.problem-layout .outcome-card h3 { margin: 0 0 .4rem; font-size: 1.15rem; color: #102a43; }
.problem-layout .outcome-card p { line-height: 1.6; }
.market-solutions { background: #edf5f7; }
.market-solutions .outcomes-grid { gap: 0; border-top: 1px solid #b8d1d9; border-bottom: 1px solid #b8d1d9; }
.market-solutions .outcome-card { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 1.7rem 1.5rem 1.7rem 0; }
.market-solutions .outcome-card + .outcome-card { border-left: 1px solid #c6dce2; padding-left: 1.5rem; }
.market-solutions > .container > .btn { display: inline-block; }
.service-section { background: #fff; }
.service-section .services-grid--focused { gap: 0; border-top: 1px solid #b8d1d9; border-bottom: 1px solid #b8d1d9; }
.service-section .service-card--focused { min-height: 250px; border: 0; border-radius: 0; padding: 1.8rem 1.5rem 1.8rem 0; box-shadow: none; }
.service-section .service-card--focused + .service-card--focused { border-left: 1px solid #d3e3e8; padding-left: 1.5rem; }
.service-section .service-number { color: #14757c; letter-spacing: .07em; }
.service-section .services-note { text-align: left; }
.service-section .services-grid--focused { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-section .service-card--focused:nth-child(3) { border-left: 0; border-top: 1px solid #d3e3e8; padding-left: 0; }
.service-section .service-card--focused:nth-child(4) { border-top: 1px solid #d3e3e8; }
.service-section .service-card--focused:nth-child(even) { padding-right: 0; }
.service-art { min-height: 190px; display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); padding: clamp(1rem, 3vw, 2rem); border: 1px solid #dce9f1; border-radius: 12px; margin-bottom: 1.2rem; overflow: hidden; }
.service-art--web { background: linear-gradient(135deg, #eef5fc, #e3eef8); }
.service-art--integration { justify-content: center; background: linear-gradient(135deg, #eaf7f5, #ddf0ef); }
.service-art--microsoft { justify-content: center; background: linear-gradient(135deg, #f0f4fc, #e5f0f8); }
.service-art--evolution { background: linear-gradient(135deg, #eef7f5, #e3f0f1); }
.service-art__orb { flex: 0 0 auto; display: grid; place-items: center; width: 86px; height: 86px; border-radius: 24px; color: #fff; background: linear-gradient(145deg, #2250bb, #2584cc); box-shadow: 0 12px 24px rgba(30, 81, 153, .16); }
.service-art__orb svg { width: 53px; height: 53px; }
.service-art__orb--evolution { background: linear-gradient(145deg, #116e78, #35a89e); }
.service-art__copy { display: grid; gap: .45rem; min-width: 0; }
.service-art__copy span { color: #176e79; font-size: .65rem; font-weight: 800; letter-spacing: .09em; }
.service-art__copy strong { color: #102a43; font-size: clamp(1rem, 1.55vw, 1.3rem); line-height: 1.25; }
.service-art__copy small { color: #516a7e; font-size: .72rem; line-height: 1.45; }
.service-network { display: flex; align-items: center; justify-content: center; width: 100%; }
.service-network__node { display: grid; justify-items: center; gap: .2rem; min-width: 64px; color: #176e79; font-size: .72rem; letter-spacing: .04em; }
.service-network__node svg { width: 42px; height: 42px; padding: 8px; box-sizing: content-box; background: #fff; border: 1px solid #c9e1df; border-radius: 16px; stroke: currentColor; stroke-width: 2; }
.service-network__line { width: clamp(12px, 5vw, 46px); height: 2px; margin-bottom: 1.1rem; background: #9bcac7; }
.service-network__api { display: grid; place-items: center; flex: 0 0 auto; width: 66px; height: 66px; margin-bottom: 1.1rem; border-radius: 18px; background: #176e79; color: #fff; font-size: .88rem; font-weight: 800; letter-spacing: .06em; box-shadow: 0 10px 22px rgba(23, 110, 121, .18); }
.service-product { display: grid; justify-items: center; gap: .5rem; min-width: 108px; color: #183a57; text-align: center; font-size: .72rem; }
.service-product img { display: block; width: 60px; height: 60px; object-fit: contain; }
.service-product__connector { color: #7399b4; font-size: 1.5rem; line-height: 1; }
@media (max-width: 400px) { .service-art { min-height: 165px; gap: .9rem; } .service-art__orb { width: 70px; height: 70px; border-radius: 20px; } .service-art__orb svg { width: 44px; height: 44px; } .service-product { min-width: 90px; } }
.specialty-section { background: #f4f8fb; }
.specialty-section .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.specialty-section .feature-card { background: transparent; box-shadow: none; border: 0; border-top: 1px solid #cbdde5; border-radius: 0; padding: 1.5rem 0; }
.specialty-section .feature-card h3 { color: #102a43; font-size: 1.2rem; }
.specialty-section .feature-card p { color: #41576a; }
.specialty-art { min-height: 150px; display: flex; align-items: center; gap: 1.5rem; padding: 1.4rem; margin-bottom: 1.1rem; border: 1px solid #d9e8f0; border-radius: 12px; }
.specialty-art--architecture { background: #e9f2fa; }
.specialty-art--delivery { justify-content: center; background: #e4f3f0; }
.specialty-art--scale { justify-content: center; background: #eaf1fb; }
.specialty-art--business { background: #e4f2f1; }
.specialty-art__symbol { display: grid; place-items: center; flex: 0 0 auto; width: 70px; height: 70px; border-radius: 20px; background: #2059ad; color: #fff; box-shadow: 0 10px 20px rgba(29, 78, 152, .13); }
.specialty-art--business .specialty-art__symbol { background: #177b80; }
.specialty-art__symbol svg { width: 43px; height: 43px; }
.specialty-art__labels { display: grid; gap: .4rem; color: #153a57; }
.specialty-art__labels strong { font-size: 1.05rem; }
.specialty-art__labels span { color: #50697d; font-size: .78rem; line-height: 1.4; }
.specialty-steps { display: flex; align-items: center; justify-content: center; gap: clamp(.4rem, 2vw, 1rem); width: 100%; }
.specialty-steps span { display: grid; justify-items: center; gap: .45rem; color: #295467; font-size: .7rem; font-weight: 700; }
.specialty-steps b { display: grid; place-items: center; width: 40px; height: 40px; color: #176e79; background: #fff; border: 1px solid #c7e2dc; border-radius: 13px; font-size: .8rem; }
.specialty-steps i { color: #72aba6; font-style: normal; font-size: 1.2rem; margin-bottom: 1.3rem; }
.specialty-brand { display: grid; justify-items: center; gap: .45rem; min-width: 94px; color: #173b60; font-size: .75rem; }
.specialty-brand img { width: 46px; height: 46px; object-fit: contain; filter: invert(38%) sepia(85%) saturate(1749%) hue-rotate(181deg) brightness(87%) contrast(92%); }
.specialty-brand__separator { color: #91acc4; font-size: 1.35rem; font-weight: 400; }
@media (max-width: 480px) { .specialty-art { min-height: 135px; gap: 1rem; padding: 1rem; } }
.process-section { background: linear-gradient(130deg, #08172d, #12334c); }
.process-section .process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 3rem; }
.process-section .process-step { position: relative; padding: 1.8rem 1.25rem 0 0; border: 0; border-top: 2px solid #4ca9a7; border-radius: 0; background: transparent; box-shadow: none; }
.process-section .process-step::before { content: ''; position: absolute; width: 12px; height: 12px; top: -7px; left: 0; border-radius: 50%; background: #88ddd0; box-shadow: 0 0 0 5px #123b50; }
.process-section .process-step span { color: #89dfd4; font-size: .85rem; letter-spacing: .08em; }
.process-section .process-step h4 { color: #fff; font-size: 1.2rem; margin: .45rem 0 .6rem; }
.process-section .process-step p { color: #d3e5ed; line-height: 1.65; }
.collaboration-section { background: #fff; }
.collaboration-section .services-grid { gap: 0; border-top: 1px solid #cbdde5; }
.collaboration-section .service-card { border: 0; border-bottom: 1px solid #cbdde5; border-radius: 0; background: transparent; box-shadow: none; padding: 1.6rem 1.5rem 1.6rem 0; }
.tech-section { background: #f4f8fb; }
.tech-section .tech-grid { gap: 0; border-top: 1px solid #cbdde5; }
.tech-section .tech-card { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 1.5rem 1.25rem 0 0; }
.tech-section .tech-card h3 { color: #176e79; font-size: 1rem; }
.tech-section .tech-card p { color: #344b60; }
.assistant-form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.assistant-voice { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .6rem .8rem; border: 1px solid #a4b8d3; border-radius: 8px; background: #fff; color: #173f80; font: inherit; font-weight: 700; cursor: pointer; }
.assistant-voice svg { width: 20px; height: 20px; }
.assistant-voice[aria-pressed='true'] { border-color: #b91c1c; background: #fff1f2; color: #991b1b; }
.assistant-voice:focus-visible { outline: 3px solid #60a5fa; outline-offset: 2px; }
.assistant-voice:disabled { opacity: .55; cursor: not-allowed; }
.assistant-voice__status { color: #526579; font-size: .75rem; line-height: 1.4; }
@media (max-width: 768px) { .assistant-form__actions .btn { width: auto; flex: 1 1 140px; } }
.contact-path--meeting { background: linear-gradient(145deg, #fff, #f1faf8); border-color: #9bcfc9; box-shadow: 0 16px 40px rgba(23, 110, 121, .08); }
.contact-path--meeting .contact-path-icon { background: #dff3ef; color: #176e79; }
.contact-path--meeting .contact-path-context { color: #176e79; }
.cta { background: #1e55c5; }
@media (min-width: 769px) {
  .cta .container { padding-right: 330px; text-align: left; }
  .cta p { margin-left: 0; margin-right: 0; }
}
@media (max-width: 768px) {
  .problem-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .problem-intro { position: static; }
  .market-solutions .outcomes-grid, .service-section .services-grid--focused { grid-template-columns: 1fr; }
  .service-section .service-card--focused:nth-child(3), .service-section .service-card--focused:nth-child(4) { border-top: 0; }
  .market-solutions .outcome-card, .market-solutions .outcome-card + .outcome-card, .service-section .service-card--focused, .service-section .service-card--focused + .service-card--focused { border-left: 0; border-bottom: 1px solid #c6dce2; padding: 1.4rem 0; min-height: 0; }
  .market-solutions .outcome-card:last-child, .service-section .service-card--focused:last-child { border-bottom: 0; }
  .specialty-section .features-grid, .tech-section .tech-grid { grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
  .process-section .process-grid { grid-template-columns: 1fr; gap: 0; border-left: 2px solid #4ca9a7; margin: 2rem 0 0 .35rem; }
  .process-section .process-step { border-top: 0; padding: 0 0 1.8rem 1.5rem; }
  .process-section .process-step::before { top: .2rem; left: -7px; }
  .collaboration-section .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .specialty-section .features-grid, .tech-section .tech-grid { grid-template-columns: 1fr; }
}

/* Mismo lenguaje visual para el portafolio de la web y de la campaña. */
.portfolio-section { background: #eaf3f7; }
.portfolio-section :is(.eyebrow, .section-title, .section-subtitle) { text-align: left; margin-left: 0; }
.portfolio-section .section-title { margin-bottom: .75rem; color: #0f172a; }
.portfolio-section .section-subtitle { max-width: 720px; color: #475569; }
.portfolio-list { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.portfolio-project { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; border: 1px solid #d2e2e9; border-radius: 16px; }
.portfolio-project__content { min-width: 0; }
.portfolio-project__category { color: #176e79; font-size: .72rem; font-weight: 800; letter-spacing: .09em; line-height: 1.5; }
.portfolio-project__content h3 { color: #102a43; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.2; margin: .6rem 0 1rem; }
.portfolio-project__content > p:not(.portfolio-project__category) { color: #41576a; line-height: 1.65; margin: 0 0 .85rem; }
.portfolio-project__tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.1rem 0 1.3rem; }
.portfolio-project__tags li { color: #176e79; background: #eaf6f4; border-radius: 999px; padding: .32rem .7rem; font-size: .78rem; font-weight: 700; }
.portfolio-project__link { display: inline-block; margin-top: .5rem; color: #1d4ed8; font-weight: 750; text-decoration: underline; text-underline-offset: .2rem; }
.portfolio-project__link:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.portfolio-capture { overflow: hidden; margin: 0; border: 1px solid #cbd9ef; border-radius: 12px; background: #fff; box-shadow: 0 14px 35px rgba(26, 53, 99, .1); }
.portfolio-capture__bar { display: flex; align-items: center; gap: .35rem; padding: .7rem .85rem; background: #12213b; }
.portfolio-capture__bar > span:not(.portfolio-capture__url) { width: .5rem; height: .5rem; border-radius: 50%; background: #7890ae; }
.portfolio-capture__url { margin-left: .45rem; color: #d3e0f1; font-size: .7rem; }
.portfolio-capture img { display: block; width: 100%; height: auto; }
.portfolio-capture figcaption { padding: .7rem .9rem; color: #475569; font-size: .75rem; line-height: 1.45; }
.portfolio-project--compact { grid-template-columns: 1fr auto; }
.portfolio-project__mark { display: flex; align-items: center; gap: .75rem; color: #173b67; font-size: 1.2rem; font-weight: 800; padding: 1.25rem; border: 1px solid #cfdfed; border-radius: 12px; background: #f1f6fc; }
@media (max-width: 768px) {
  .portfolio-project, .portfolio-project--compact { grid-template-columns: 1fr; }
  .portfolio-project__mark { justify-self: start; }
}

/* Ejemplos ilustrativos y condiciones de trabajo, sin simular casos de clientes. */
.market-solutions .example-card { position: relative; padding-top: 2rem; }
.example-card__number { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #d9eeeb; color: #176e79; font-size: .75rem; font-weight: 800; }
.market-solutions .example-card h3 { margin: 1rem 0 1.25rem; color: #102a43; font-size: 1.25rem; }
.market-solutions .example-card p { margin-top: 1rem; color: #40586a; font-size: .93rem; line-height: 1.6; }
.example-card p strong { display: block; margin-bottom: .2rem; color: #176e79; font-size: .7rem; letter-spacing: .065em; text-transform: uppercase; }
.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 1.4rem 0; margin: 2.2rem 0; border-top: 1px solid #cbdde5; border-bottom: 1px solid #cbdde5; }
.trust-strip li { display: grid; grid-template-columns: 2rem 1fr; column-gap: .55rem; align-content: start; color: #102a43; }
.trust-strip li > span { grid-row: span 2; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #e1f3ef; color: #176e79; font-weight: 800; }
.trust-strip strong { font-size: .91rem; line-height: 1.35; }
.trust-strip small { margin-top: .25rem; color: #52697a; font-size: .8rem; line-height: 1.45; }

.faq-section { background: #edf5f7; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-intro :is(.eyebrow, .section-title) { text-align: left; margin-left: 0; }
.faq-intro .section-title { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.16; letter-spacing: -.035em; }
.faq-intro > p:not(.eyebrow) { max-width: 32rem; color: #435d70; line-height: 1.7; }
.faq-link { display: inline-block; margin-top: 1.1rem; color: #1d4ed8; font-weight: 700; text-underline-offset: .2rem; }
.faq-list { border-top: 1px solid #bdd5dc; }
.faq-list details { border-bottom: 1px solid #bdd5dc; }
.faq-list summary { position: relative; padding: 1.15rem 2rem 1.15rem 0; color: #102a43; font-weight: 750; line-height: 1.45; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: .25rem; top: .9rem; color: #176e79; font-size: 1.4rem; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list summary:focus-visible, .faq-link:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.faq-list details p { max-width: 44rem; margin: 0 2rem 1.2rem 0; color: #435d70; line-height: 1.65; }
.quote-expectations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 980px; margin: 2rem auto 0; text-align: left; }
.quote-expectations p { display: grid; gap: .3rem; padding: 1rem 1.1rem; border-left: 3px solid #75bdb8; background: #edf5f7; }
.quote-expectations strong { color: #173a57; font-size: .85rem; }
.quote-expectations span { color: #4a6171; font-size: .83rem; line-height: 1.45; }

/* La invitación sigue hablando, pero ocupa menos de la zona de lectura. */
@media (min-width: 769px) {
  .hero-map { align-self: start; padding: 1.5rem; }
  .hero-map__flow { margin: .8rem 0; }
  .hero-map__flow span { min-height: 40px; }
  .floating-assistant { right: 1rem; bottom: 1rem; gap: .5rem; }
  .floating-assistant__icon { width: 40px; height: 40px; }
  .floating-assistant__icon svg { width: 29px; height: 29px; }
  .floating-assistant__text { min-width: 126px; }
  .floating-assistant__arrow { width: 26px; height: 26px; }
  .floating-assistant__bubble { width: 238px; min-height: 72px; grid-template-columns: minmax(0, 1fr) 52px; padding: .5rem .55rem .5rem .8rem; }
  .floating-assistant__mascot { width: 52px; height: 57px; }
  .floating-assistant__prompt { font-size: .82rem; }
}
@media (max-width: 768px) {
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
  .faq-layout { grid-template-columns: 1fr; gap: 2rem; }
  .quote-expectations { grid-template-columns: 1fr; gap: .5rem; }
}

/* Un ejemplo interactivo que ilustra el servicio sin simular datos de clientes. */
.integration-example { background: #f8fbfc; }
.integration-example__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.integration-example__intro .eyebrow { text-align: left; }
.integration-example__intro h2 { max-width: 480px; margin: .9rem 0 1.1rem; color: #10223d; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.14; letter-spacing: -.035em; }
.integration-example__intro > p:not(.eyebrow) { max-width: 480px; color: #435c70; line-height: 1.7; }
.integration-example__intro .integration-example__note { margin-top: 1rem; color: #5b7180; font-size: .85rem; }
.integration-example__link { display: inline-block; margin-top: 1.25rem; color: #1d4ed8; font-weight: 750; text-underline-offset: .2rem; }
.integration-demo { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid #cde1e6; border-radius: 18px; background: #fff; box-shadow: 0 20px 48px rgba(17, 55, 75, .07); }
.integration-demo__header { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; padding-bottom: 1rem; border-bottom: 1px solid #e1ebed; color: #173b55; font-size: .85rem; }
.integration-demo__header > span:last-child { margin-left: auto; color: #5a7180; font-size: .75rem; }
.integration-demo__indicator { width: .6rem; height: .6rem; border-radius: 50%; background: #258b83; }
.integration-demo__steps { position: relative; display: grid; gap: .65rem; margin-top: 1.2rem; }
.integration-demo__step { border: 1px solid #dbe8ed; border-radius: 12px; background: #f8fbfc; }
.integration-demo__step[open] { border-color: #94c8c3; background: #edf8f5; }
.integration-demo__step summary { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .9rem; cursor: pointer; list-style: none; }
.integration-demo__step summary::-webkit-details-marker { display: none; }
.integration-demo__step summary::after { content: '+'; color: #176e79; font-size: 1.25rem; }
.integration-demo__step[open] summary::after { content: '−'; }
.integration-demo__number { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: 50%; background: #d6efea; color: #176e79; font-size: .75rem; font-weight: 800; }
.integration-demo__step summary strong, .integration-demo__step summary small { display: block; }
.integration-demo__step summary strong { color: #15344c; font-size: .95rem; line-height: 1.35; }
.integration-demo__step summary small { margin-top: .2rem; color: #5a7180; font-size: .78rem; line-height: 1.4; }
.integration-demo__step p { margin: 0 1rem 1rem 4.15rem; color: #405c6c; font-size: .87rem; line-height: 1.55; }
.integration-demo__hint { margin-top: .9rem; color: #617888; font-size: .75rem; line-height: 1.5; }
.integration-demo__step summary:focus-visible, .integration-example__link:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.proposal-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.4rem, 3vw, 2.2rem); margin-top: 2.4rem; border: 1px solid #d4e5e8; border-radius: 16px; background: #f5faf9; }
.proposal-detail__label { color: #176e79; font-size: .72rem; font-weight: 800; letter-spacing: .09em; }
.proposal-detail h3 { margin: .7rem 0 .7rem; color: #102a43; font-size: 1.25rem; line-height: 1.3; }
.proposal-detail p:not(.proposal-detail__label), .proposal-detail li { color: #40586a; font-size: .92rem; line-height: 1.65; }
.proposal-detail__contents { padding-left: clamp(0rem, 2vw, 1.5rem); border-left: 1px solid #c9e0dd; }
.proposal-detail__contents h3 { margin-top: 0; }
.proposal-detail__contents ul { padding-left: 1.15rem; margin: .8rem 0; }
.proposal-detail__contents li + li { margin-top: .3rem; }
.proposal-detail__contents li::marker { color: #19857f; }
@media (max-width: 768px) {
  .integration-example__layout, .proposal-detail { grid-template-columns: 1fr; }
  .proposal-detail__contents { padding: 1.4rem 0 0; border-left: 0; border-top: 1px solid #c9e0dd; }
}
