/* ==========================================================================
   XIOTECH SOLUCIONES — Hoja de estilos principal
   Paleta corporativa extraída del logotipo:
     Azul    #337198   |   Salmón  #FF9561   |   Naranja #FD6600   |   Negro #000000
   Estructura:
     01. Tokens de diseño
     02. Reset y base
     03. Utilidades y tipografía
     04. Botones
     05. Barra superior + cabecera + navegación
     06. Hero
     07. Franjas de confianza / cifras
     08. Tarjetas (soluciones, productos, recursos)
     09. Secciones compuestas (split, banda oscura, testimonio, CTA)
     10. Footer
     11. Cabecera de página interior + migas
     12. Componentes de páginas interiores
     13. Formularios
     14. Animaciones
     15. Responsive
   ========================================================================== */

/* ------------------------------------------------------------------ */
/* 01. TOKENS DE DISEÑO                                                */
/* ------------------------------------------------------------------ */
:root {
  /* Marca */
  --blue: #337198;
  --blue-900: #081f2c;
  --blue-850: #0b2836;
  --blue-800: #103346;
  --blue-700: #1c5071;
  --blue-600: #28628a;
  --blue-300: #8fb3c8;
  --blue-100: #dbe8f0;
  --blue-50: #f1f6f9;

  --orange: #fd6600;
  --orange-600: #e35b00;
  --orange-100: #ffe3d1;

  --salmon: #ff9561;
  --salmon-100: #ffe8dc;
  --salmon-50: #fff4ee;

  /* Neutros */
  --ink: #0d1a22;
  --ink-soft: #1d2f3a;
  --body: #4c5f6b;
  --muted: #63747e;
  --line: #dfe7ec;
  --line-soft: #eaf0f4;
  --bg: #ffffff;
  --bg-soft: #f6f9fb;
  --bg-mid: #eef3f7;

  /* Tipografía */
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Métricas */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 78px;
  --radius: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(8, 31, 44, 0.06);
  --shadow-md: 0 14px 34px -12px rgba(8, 31, 44, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(8, 31, 44, 0.34);

  /* Ritmo vertical */
  --section-y: clamp(3.75rem, 6.5vw, 6.75rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------------ */
/* 02. RESET Y BASE                                                    */
/* ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--orange);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.6em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 1.35rem + 2.9vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem);
  line-height: 1.3;
  letter-spacing: -0.012em;
}

h4 {
  font-size: 1rem;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.15em;
}

li + li {
  margin-top: 0.35em;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

::selection {
  background: var(--salmon);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------------------------------------------------ */
/* 03. UTILIDADES Y TIPOGRAFÍA                                         */
/* ------------------------------------------------------------------ */
.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.container--narrow {
  width: min(880px, 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

.section--soft {
  background: var(--bg-soft);
}

.section--tight {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 3.5vw, 3.25rem);
}

.section-head__text {
  max-width: 46rem;
}

.section-head h2 {
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--body);
  font-size: 1.0625rem;
  max-width: 44ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

.eyebrow--light {
  color: var(--salmon);
}

.lead {
  font-size: clamp(1.05rem, 0.98rem + 0.25vw, 1.2rem);
  line-height: 1.7;
  color: var(--body);
}

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

.mx-auto {
  margin-inline: auto;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.005em;
}

.link-arrow svg {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
  color: var(--orange);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.link-arrow--light {
  color: #fff;
}

.link-arrow--light:hover {
  color: var(--salmon);
}

/* Lista con checks */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin: 0;
  font-size: 0.9688rem;
  color: var(--body);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23337198' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.62rem no-repeat;
}

.check-list--light li {
  color: rgba(255, 255, 255, 0.78);
}

.check-list--light li::before {
  background-color: rgba(255, 149, 97, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9561' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ */
/* 04. BOTONES                                                         */
/* ------------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn svg {
  flex: none;
}

.btn:active {
  transform: translateY(1px);
}

/* Primario: azul corporativo */
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(51, 113, 152, 0.9);
}

.btn--primary:hover {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(28, 80, 113, 0.7);
}

/* Acento: naranja corporativo (texto oscuro para asegurar contraste AA) */
.btn--accent {
  background: var(--orange);
  color: #150a03;
  box-shadow: 0 12px 26px -14px rgba(253, 102, 0, 0.95);
}

.btn--accent:hover {
  background: var(--orange-600);
  color: #150a03;
}

/* Claro sobre fondo oscuro */
.btn--light {
  background: #fff;
  color: var(--blue-800);
}

.btn--light:hover {
  background: var(--salmon-50);
  color: var(--blue-900);
}

/* Contorno */
.btn--outline {
  border-color: var(--blue-100);
  color: var(--blue);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--blue);
  background: var(--blue-50);
  color: var(--blue);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn--sm {
  padding: 0.6rem 1.05rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1.05rem 1.9rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ------------------------------------------------------------------ */
/* 05. BARRA SUPERIOR, CABECERA Y NAVEGACIÓN                           */
/* ------------------------------------------------------------------ */
.topbar {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 36px;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.topbar a {
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar a:hover {
  color: #fff;
}

.topbar svg {
  opacity: 0.6;
}

.topbar__sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
}

.lang-switch {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  font-weight: 700;
}

.lang-switch a {
  padding: 0 0.15rem;
}

.lang-switch a.is-active {
  color: var(--salmon);
}

/* Cabecera */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -18px rgba(8, 31, 44, 0.45);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand img {
  height: 40px;
  width: auto;
}

/* Navegación principal */
.nav-wrap {
  display: flex;
  align-self: stretch;
  margin: 0 auto 0 0;
  min-width: 0;
}

.nav {
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav > li {
  display: flex;
  align-items: center;
  margin: 0;
}

.nav > li > a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0.35rem;
  padding: 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
  border-radius: 0;
  white-space: nowrap;
}

.nav > li > a:hover,
.nav > li > a:focus-visible {
  color: var(--blue);
  background: var(--blue-50);
}

.nav > li.is-active > a {
  color: var(--blue);
}

.nav > li.is-active > a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.nav__caret {
  transition: transform 0.2s var(--ease);
  opacity: 0.55;
}

.has-mega:hover .nav__caret,
.has-mega:focus-within .nav__caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Mega menú: se ancla al ancho de la cabecera para no salirse por los lados */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(940px, calc(100vw - 3rem));
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 2rem;
}

.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega__col h4 {
  margin: 0 0 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}

.mega__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.1rem;
}

.mega__col li {
  margin: 0;
}

.mega__col a {
  display: block;
  padding: 0.45rem 0.6rem;
  margin-left: -0.6rem;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.mega__col a span {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.mega__col a:hover {
  background: var(--blue-50);
  color: var(--blue);
}

.mega__promo {
  background: linear-gradient(150deg, var(--blue-800), var(--blue-900));
  border-radius: var(--radius);
  padding: 1.4rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.mega__promo strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.3;
}

.mega__promo p {
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.55;
}

.mega__promo .link-arrow {
  font-size: 0.83rem;
  color: var(--salmon);
}

/* Acciones de cabecera */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.icon-btn:hover {
  background: var(--blue-50);
  color: var(--blue);
}

.header__actions .btn {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
}

/* Buscador desplegable */
.search-panel {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 1.25rem 0;
  display: none;
}

.search-panel.is-open {
  display: block;
}

.search-panel form {
  display: flex;
  gap: 0.6rem;
}

.search-panel input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ */
/* 06. HERO                                                            */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--blue-900);
  color: #fff;
  padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(4rem, 7vw, 6rem);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 82% 18%, rgba(51, 113, 152, 0.55), transparent 62%),
    radial-gradient(760px 480px at 8% 92%, rgba(253, 102, 0, 0.18), transparent 60%),
    linear-gradient(122deg, #071c28 0%, #0a2533 42%, #0f3446 100%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 60% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 60% 40%, #000 0%, transparent 78%);
}

.hero__ring {
  position: absolute;
  right: -12%;
  top: -30%;
  width: 780px;
  height: 780px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  z-index: -1;
}

.hero__ring::after {
  content: "";
  position: absolute;
  inset: 120px;
  border: 1px solid rgba(255, 149, 97, 0.14);
  border-radius: 50%;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
}

.hero__badge b {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #150a03;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  max-width: 20ch;
}

.hero h1 .hl {
  color: var(--salmon);
}

.hero__text {
  max-width: 46ch;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 2rem;
}

.hero .btn-row {
  margin-bottom: 2.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(1.25rem, 3vw, 2.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__meta div {
  padding-block: 0.25rem;
}

.hero__meta dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.2rem;
}

.hero__meta dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Visual del hero */
.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual__spot {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 62%);
  filter: blur(6px);
}

.hero-visual__device {
  position: relative;
  width: min(100%, 470px);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.45));
  animation: floaty 9s ease-in-out infinite;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 32, 44, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  animation: floaty 7s ease-in-out infinite;
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: rgba(51, 113, 152, 0.28);
  color: var(--salmon);
  flex: none;
}

.float-card__label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.float-card__value {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.float-card--a {
  top: 2%;
  left: -4%;
  animation-delay: -1.5s;
}

.float-card--b {
  top: 46%;
  right: -5%;
  animation-delay: -3.5s;
}

.float-card--c {
  bottom: 3%;
  right: 8%;
  animation-delay: -5s;
}

.float-card--c .float-card__icon {
  background: rgba(253, 102, 0, 0.2);
  color: var(--orange);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ------------------------------------------------------------------ */
/* 07. FRANJAS DE CONFIANZA Y CIFRAS                                   */
/* ------------------------------------------------------------------ */
.trust-bar {
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
  padding-block: 1.6rem;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  flex-wrap: wrap;
}

.trust-bar__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  flex: none;
}

.trust-bar__items {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  flex-wrap: wrap;
}

.trust-bar__items span {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  opacity: 0.55;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.trust-bar__items span:hover {
  opacity: 1;
  color: var(--blue);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.stat {
  padding-left: 1.25rem;
  border-left: 2px solid var(--line);
}

.stat__value {
  display: block;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.stat__value em {
  font-style: normal;
  color: var(--orange);
}

.stat__label {
  display: block;
  font-size: 0.875rem;
  color: var(--body);
  line-height: 1.45;
}

/* ------------------------------------------------------------------ */
/* 08. TARJETAS                                                        */
/* ------------------------------------------------------------------ */
.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

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

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

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

/* Tarjeta de solución */
.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.9rem 1.65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.solution-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.solution-card:hover::after {
  transform: scaleX(1);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue);
  margin-bottom: 0.25rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.solution-card:hover .icon-box {
  background: var(--blue);
  color: #fff;
}

.solution-card h3 {
  margin-bottom: 0.1rem;
}

.solution-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}

.solution-card .link-arrow {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.875rem;
}

/* Tarjeta de producto */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(160deg, var(--bg-soft), var(--bg-mid));
  border-bottom: 1px solid var(--line-soft);
  min-height: 196px;
}

.product-card__media img {
  width: min(88%, 260px);
  height: auto;
  transition: transform 0.35s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.tag--accent {
  background: var(--orange);
  border-color: var(--orange);
  color: #150a03;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.35rem 1.35rem 1.5rem;
  flex: 1;
}

.product-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.product-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.spec-list {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.spec-list li {
  position: relative;
  margin: 0;
  padding-left: 0.9rem;
  font-size: 0.83rem;
  color: var(--muted);
}

.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--salmon);
}

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
}

.product-card__foot .link-arrow {
  font-size: 0.875rem;
}

/* Tarjeta de recurso / noticia */
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--blue-800), var(--blue));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.post-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.5;
}

.post-card__media svg {
  position: relative;
  width: 76px;
  height: 76px;
  color: rgba(255, 255, 255, 0.85);
}

.post-card__media--alt {
  background: linear-gradient(135deg, #123a4e, #337198 55%, #ff9561 160%);
}

.post-card__media--warm {
  background: linear-gradient(135deg, #b2410a, #fd6600 60%, #ff9561);
}

.post-card__body {
  padding: 1.4rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-card__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line);
}

.post-card h3 {
  font-size: 1.06rem;
  margin: 0;
  line-height: 1.35;
}

.post-card h3 a {
  color: var(--ink);
}

.post-card h3 a:hover {
  color: var(--blue);
}

.post-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.post-card .link-arrow {
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 0.85rem;
}

/* ------------------------------------------------------------------ */
/* 09. SECCIONES COMPUESTAS                                            */
/* ------------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--wide-left {
  grid-template-columns: 1.1fr 0.9fr;
}

.split__text h2 {
  margin-bottom: 1rem;
}

.split__text > p {
  font-size: 1.02rem;
  line-height: 1.7;
}

.split__text .check-list {
  margin: 1.5rem 0 2rem;
}

.feature-list {
  display: grid;
  gap: 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  margin: 0;
}

.feature-list .icon-box {
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 7px;
}

.feature-list strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.1rem;
}

.feature-list p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Marco tipo dashboard */
.frame {
  position: relative;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.frame__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.frame__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.frame__bar i:first-child {
  background: var(--salmon);
}

.frame__bar span {
  margin-left: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.frame__body {
  padding: 1.25rem;
  display: grid;
  gap: 0.9rem;
}

.dash-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.dash-tile {
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--bg-soft);
}

.dash-tile small {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.dash-tile b {
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 86px;
  padding: 0.5rem 0.2rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.dash-chart i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--blue-300), var(--blue));
  opacity: 0.85;
}

.dash-chart i:nth-child(4n) {
  background: linear-gradient(180deg, var(--salmon), var(--orange));
  opacity: 1;
}

.dash-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Banda oscura de sectores */
.band {
  position: relative;
  overflow: hidden;
  background: var(--blue-850);
  color: #fff;
}

.band__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 88% 12%, rgba(51, 113, 152, 0.5), transparent 65%),
    radial-gradient(600px 400px at 4% 90%, rgba(253, 102, 0, 0.14), transparent 60%);
}

.band .container {
  position: relative;
}

.band h2 {
  color: #fff;
}

.band p {
  color: rgba(255, 255, 255, 0.7);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2.5rem;
}

.sector {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.75rem 1.5rem;
  background: var(--blue-850);
  transition: background 0.25s var(--ease);
}

.sector:hover {
  background: #0e3042;
}

.sector svg {
  color: var(--salmon);
  margin-bottom: 0.5rem;
}

.sector b {
  color: #fff;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.sector span {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

/* Testimonio */
.quote {
  position: relative;
  max-width: 60rem;
  margin-inline: auto;
  text-align: center;
}

.quote__mark {
  font-size: 5rem;
  line-height: 0.6;
  color: var(--salmon);
  font-weight: 800;
  display: block;
  margin-bottom: 1rem;
}

.quote blockquote {
  margin: 0 0 1.75rem;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.quote__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.quote__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.quote__author b {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.quote__author span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Banda CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--blue-800) 0%, var(--blue) 62%, #3f7fa6 100%);
  color: #fff;
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 102, 0, 0.55), transparent 65%);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to left, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%);
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.4rem;
  max-width: 26ch;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
}

/* ------------------------------------------------------------------ */
/* 10. FOOTER                                                          */
/* ------------------------------------------------------------------ */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  padding-top: clamp(3rem, 5vw, 4.25rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-weight: 800;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col li {
  margin: 0;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--salmon);
}

.footer-contact li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-contact svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--salmon);
  opacity: 0.85;
}

.social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.footer-bottom ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-bottom li {
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-note {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
}

/* ------------------------------------------------------------------ */
/* 11. CABECERA DE PÁGINA INTERIOR + MIGAS                             */
/* ------------------------------------------------------------------ */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-850);
  color: #fff;
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 380px at 85% 10%, rgba(51, 113, 152, 0.55), transparent 62%),
    linear-gradient(120deg, #071c28, #0d2c3b);
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60%);
}

.page-hero .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a:hover {
  color: var(--salmon);
}

.breadcrumb li:last-child {
  color: var(--salmon);
  font-weight: 600;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.75rem;
  max-width: 24ch;
}

.page-hero p {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  margin: 0;
}

.page-hero__actions {
  margin-top: 2rem;
}

/* ------------------------------------------------------------------ */
/* 12. COMPONENTES DE PÁGINAS INTERIORES                               */
/* ------------------------------------------------------------------ */
/* Timeline */
.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  margin: 0;
  padding: 0 0 2.25rem 2rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
}

.timeline li:first-child::before {
  background: var(--orange);
  border-color: var(--orange);
}

.timeline time {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 0.2rem;
}

.timeline b {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.timeline p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Valores / equipo */
.value-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  border-top: 3px solid var(--blue);
}

.value-card:nth-child(2) {
  border-top-color: var(--salmon);
}

.value-card:nth-child(3) {
  border-top-color: var(--orange);
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.value-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.person {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.person__avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-100), var(--blue-50));
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.person b {
  display: block;
  color: var(--ink);
}

.person span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Filtros de productos */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.filter-btn {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--body);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--blue-300);
  color: var(--blue);
}

.filter-btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.is-hidden {
  display: none !important;
}

/* Banners laterales / avisos */
.notice {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--blue-100);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  background: var(--blue-50);
  font-size: 0.92rem;
}

.notice svg {
  flex: none;
  color: var(--blue);
  margin-top: 0.1rem;
}

.notice p {
  margin: 0;
}

/* Tabla simple */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}

th,
td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

thead th {
  background: var(--bg-soft);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: var(--blue-50);
}

/* Acordeón FAQ */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23337198' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
  transition: transform 0.25s var(--ease), background 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--blue-50);
}

.faq .faq__body {
  padding: 0 0 1.35rem;
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 68ch;
}

/* Mapa / placeholder */
.map-placeholder {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--blue-50);
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(51, 113, 152, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(51, 113, 152, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-placeholder__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  color: var(--blue);
}

.map-placeholder__pin {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--orange);
  color: #fff;
  margin-bottom: 0.6rem;
}

.map-placeholder__pin svg {
  transform: rotate(45deg);
}

.map-placeholder strong {
  font-size: 1.05rem;
}

.map-placeholder span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Contacto */
.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.contact-card .icon-box {
  margin: 0;
  width: 42px;
  height: 42px;
  flex: none;
}

.contact-card b {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-card p,
.contact-card a {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--body);
}

.contact-card a:hover {
  color: var(--orange);
}

/* Formulario */
.form {
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.field label .req {
  color: var(--orange);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(51, 113, 152, 0.14);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a9b7c0;
}

.field .error {
  font-size: 0.76rem;
  color: #c0392b;
  display: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #d9534f;
}

.field.has-error .error {
  display: block;
}

.form-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--body);
}

.form-check input {
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
  flex: none;
  accent-color: var(--blue);
}

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  background: #eaf7ef;
  border: 1px solid #bfe5cd;
  color: #1e6b3c;
  font-size: 0.9rem;
}

.form-status.is-visible {
  display: block;
}

/* ------------------------------------------------------------------ */
/* 13. UTILIDADES DE MAQUETA                                           */
/* ------------------------------------------------------------------ */
.stack > * + * {
  margin-top: 1rem;
}

.stack-lg > * + * {
  margin-top: 2rem;
}

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.75rem !important; }
.mt-4 { margin-top: 2.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.75rem !important; }

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin-block: clamp(2rem, 4vw, 3rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  color: #fff;
}

/* Botón volver arriba */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-md);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--orange);
}

/* ------------------------------------------------------------------ */
/* 14. ANIMACIONES                                                     */
/* ------------------------------------------------------------------ */
/* Solo se ocultan si hay JS disponible (clase .js en <html>) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ */
/* 14b. PODIO DEL HERO Y VARIANTES                                     */
/* ------------------------------------------------------------------ */
.hero-podium {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1 / 1.04;
  padding: 2.25rem 1.75rem 3.25rem;
  border-radius: 18px;
  background: linear-gradient(155deg, #ffffff 0%, #eef4f8 48%, #d8e5ee 100%);
  box-shadow:
    0 50px 90px -34px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  transform: rotate(-2deg);
  transition: transform 0.6s var(--ease);
}

.hero-podium::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(to right, rgba(51, 113, 152, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(51, 113, 152, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
  pointer-events: none;
}

.hero-podium img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 26px rgba(8, 31, 44, 0.26));
}

.hero-podium__tag {
  position: absolute;
  left: 1.35rem;
  bottom: 1.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px -12px rgba(8, 31, 44, 0.55);
}

.hero-visual:hover .hero-podium {
  transform: rotate(0deg) translateY(-4px);
}

/* Cuadrícula de 2 columnas para cifras dentro de un split */
.stats--2x2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2rem;
}

.stats--2x2 .stat {
  padding: 1.15rem 0 1.15rem 1.15rem;
  border-left: 2px solid var(--line);
}

/* ------------------------------------------------------------------ */
/* 14c. COMPONENTES DE CONTENIDO (páginas interiores)                  */
/* ------------------------------------------------------------------ */
/* Placeholder de imagen: reemplaza por una fotografía real */
.media-ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #0d2c3b 0%, #337198 62%, #4f8dac 100%);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}

.media-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}

.media-ph--wide {
  aspect-ratio: 16 / 9;
}

.media-ph--tall {
  aspect-ratio: 3 / 4;
}

.media-ph--warm {
  background: linear-gradient(150deg, #7a2f0b 0%, #fd6600 60%, #ff9561 100%);
}

.media-ph__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 1.5rem;
  text-align: center;
}

.media-ph__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.media-ph__cap {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* Pasos de un proceso */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  position: relative;
  margin: 0;
  padding: 2.2rem 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.process li::before {
  content: "0" counter(step);
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue-100);
  line-height: 1;
}

.process b {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.process p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Tarjeta "CTA" dentro de una grilla de productos */
.product-card--cta {
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem;
  border-style: dashed;
  border-color: var(--blue-300);
  background: var(--blue-50);
}

.product-card--cta:hover {
  transform: none;
  box-shadow: none;
}

.product-card--cta h3 {
  font-size: 1.15rem;
}

.product-card--cta p {
  font-size: 0.9rem;
}

/* Chips / etiquetas */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.chip--accent {
  background: var(--salmon-50);
  border-color: var(--salmon-100);
  color: #b2410a;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Layout de contacto */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.form-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.form-panel h2 {
  margin-bottom: 0.4rem;
}

.form-panel > p {
  margin-bottom: 1.75rem;
  font-size: 0.94rem;
}

.contact-aside {
  display: grid;
  gap: 0.85rem;
}

/* Cabecera de página compacta */
.page-hero--sm {
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

/* Bloques de solución numerados */
.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
}

.solution-block:last-of-type {
  border-bottom: 0;
}

.solution-block--reverse .solution-block__text {
  order: 2;
}

.solution-block__num {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.solution-block__text h2 {
  font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.solution-block__text p {
  font-size: 1rem;
  line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* 15. RESPONSIVE                                                      */
/* ------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    min-height: 360px;
    max-width: 540px;
    margin-inline: auto;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 52ch;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-wrap,
  .topbar__group--left .topbar__sep,
  .topbar__group--left a span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header__actions .btn {
    display: none;
  }

  .split,
  .split--wide-left {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

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

  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Navegación móvil */
  .site-header.is-open .nav-wrap {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 0.75rem var(--gutter) 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-header.is-open .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: auto;
  }

  .site-header.is-open .nav > li {
    display: block;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-header.is-open .nav > li > a {
    height: auto;
    padding: 0.95rem 0;
    font-size: 1rem;
    justify-content: space-between;
    border-radius: 0;
  }

  .site-header.is-open .nav > li > a:hover {
    background: transparent;
  }

  .site-header.is-open .nav > li.is-active > a::after {
    display: none;
  }

  .site-header.is-open .mega {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0.5rem 0 1.5rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .site-header.is-open .has-mega.is-expanded .mega {
    display: grid;
  }

  .mega__promo {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .brand img {
    height: 34px;
  }

  .topbar__group--left {
    display: none;
  }

  .topbar__inner {
    justify-content: flex-end;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .sector-grid,
  .product-grid,
  .form-row,
  .dash-row {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero__meta {
    gap: 1.5rem;
  }

  .float-card--a {
    top: 0;
    left: 0;
  }

  .float-card--b,
  .float-card--c {
    display: none;
  }

  .float-card {
    padding: 0.55rem 0.7rem;
  }

  .float-card__value {
    font-size: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote__mark {
    font-size: 3.5rem;
  }

  .btn {
    width: 100%;
  }

  .btn-row .btn {
    width: 100%;
  }

  .header__actions .btn {
    display: none;
  }

  .section-head p {
    max-width: none;
  }
}

/* ------------------------------------------------------------------ */
/* 16. ACCESIBILIDAD / IMPRESIÓN                                       */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .topbar,
  .to-top,
  .cta-band,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ------------------------------------------------------------------ */
/* 17. AJUSTES RESPONSIVE DE COMPONENTES INTERIORES                    */
/* ------------------------------------------------------------------ */
@media (max-width: 900px) {
  .solution-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .solution-block--reverse .solution-block__text {
    order: 0;
  }

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

  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-podium {
    width: 100%;
    transform: none;
  }
}

/* ------------------------------------------------------------------ */
/* 18. AJUSTES FINOS DE FORMULARIO Y UTILIDADES                        */
/* ------------------------------------------------------------------ */
.field .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--body);
  cursor: pointer;
}

.field .form-check input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
  flex: none;
  accent-color: var(--blue);
  box-shadow: none;
}

.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;
}

/* CTA dentro del menú móvil */
.nav__cta {
  display: none;
}

@media (max-width: 900px) {
  .site-header.is-open .nav__cta {
    display: inline-flex;
    margin-top: 1rem;
  }
}
