/* =========================================================
   Strenua — Hoja de estilos principal
   Misma estructura que la web de Gateway Tech, con la paleta de Strenua
   ========================================================= */

/* ---------- Fuentes de marca ---------- */
/* Archivo de peso único (Bold): el rango evita que el navegador simule la negrita */
@font-face {
  font-family: "Prompt";
  src: url("../fonts/Prompt-Bold.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables de marca ---------- */
/* Índigo #332780, azul #0085D2 y azul marino #002B7A, tomados del logo */
:root {
  --ink: #0b1230;
  --ink-soft: #121a40;
  --ink-softer: #1a2452;
  --blue: #0085d2;
  --blue-light: #4db2ee;
  --blue-deep: #0069b3;
  --indigo: #332780;
  --indigo-deep: #1d1654;
  --navy: #002b7a;
  --snow: #f7f9fc;
  --snow-dim: #e3e8f1;

  --gradient-brand: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(0, 133, 210, 0.14), rgba(51, 39, 128, 0.14));
  --gradient-dark: linear-gradient(180deg, var(--ink) 0%, #070c22 100%);

  --text-on-dark: var(--snow);
  --text-muted-on-dark: rgba(247, 249, 252, 0.7);
  --text-on-light: var(--ink);
  --text-muted-on-light: rgba(11, 18, 48, 0.66);

  --border-on-dark: rgba(247, 249, 252, 0.12);
  --border-on-light: rgba(11, 18, 48, 0.1);

  --font-heading: "Prompt", "Poppins", sans-serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 45px rgba(8, 16, 48, 0.14);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.45);

  --header-h: 84px;
}

/* ---------- Reset básico ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--snow);
  color: var(--text-on-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
}
p {
  margin: 0 0 1em;
}
button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}
.section--dark {
  background: var(--gradient-dark);
  color: var(--text-on-dark);
}
.section--soft {
  background: #f1f5fb;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: rgba(0, 133, 210, 0.1);
  border: 1px solid rgba(0, 133, 210, 0.35);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.section--dark .eyebrow {
  color: var(--snow);
  background: rgba(247, 249, 252, 0.1);
  border-color: rgba(247, 249, 252, 0.35);
}

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}
.section-head p {
  color: var(--text-muted-on-light);
  font-size: 17px;
}
.section--dark .section-head p {
  color: var(--text-muted-on-dark);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn-primary {
  background: var(--gradient-brand);
  color: var(--snow);
  box-shadow: 0 14px 30px rgba(0, 133, 210, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 133, 210, 0.4);
}
.btn-outline {
  background: transparent;
  border-color: var(--indigo);
  color: var(--indigo);
}
.btn-outline:hover {
  background: var(--indigo);
  color: var(--snow);
}
.section--dark .btn-outline {
  border-color: rgba(247, 249, 252, 0.55);
  color: var(--snow);
}
.section--dark .btn-outline:hover {
  background: var(--snow);
  color: var(--ink);
}
.btn-light {
  background: var(--snow);
  color: var(--indigo);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ---------- Header / navegación ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 48, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(247, 249, 252, 0.08);
}
.site-header .container {
  max-width: 1400px;
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  height: 46px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.nav-links a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  color: var(--text-muted-on-dark);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover {
  color: var(--snow);
  background: rgba(247, 249, 252, 0.08);
}
.nav-links a.active {
  color: var(--snow);
  background: rgba(0, 133, 210, 0.22);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--snow);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    background: var(--ink);
    border-bottom: 1px solid rgba(247, 249, 252, 0.08);
    padding: 10px 20px 20px;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .3s ease, visibility .3s ease;
  }
  .nav-links.open {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    visibility: visible;
  }
  .nav-links a {
    padding: 14px 12px;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60%;
  height: 140%;
  background: var(--gradient-brand);
  opacity: .25;
  filter: blur(90px);
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  color: var(--snow);
}
.hero h1 .accent {
  color: var(--blue);
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-muted-on-dark);
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .icon-glow {
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 25px 55px rgba(0, 133, 210, 0.35));
}
/* Zona de atención, bajo los botones de la sección principal */
.hero-note {
  margin: 22px 0 0;
  font-size: 14.5px;
  color: var(--text-muted-on-dark);
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--snow);
}
.hero-stats div span {
  font-size: 13px;
  color: var(--text-muted-on-dark);
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  /* En pantallas pequeñas el mensaje va primero y el icono queda detrás, como marca de agua */
  .hero-art {
    position: absolute;
    top: 28px;
    right: -90px;
    z-index: 0;
    width: 330px;
    opacity: .16;
    pointer-events: none;
  }
  .hero-art .icon-glow,
  .hero-art .icon-glow--logo {
    width: 100%;
    filter: none;
  }
  /* El logo de Strenua es blanco: como marca de agua necesita ser más tenue */
  .hero-art .icon-glow--logo {
    opacity: .5;
  }
  .hero-grid > div:first-child {
    position: relative;
    z-index: 1;
  }
  .hero {
    padding: 56px 0 64px;
  }
}

/* ---------- Tarjetas de áreas ---------- */
.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg {
  width: 28px;
  height: 28px;
  stroke: var(--snow);
  fill: none;
}

/* ---------- Lista de servicios (páginas de área) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-item {
  background: var(--snow);
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-item h4 {
  font-size: 17px;
}
.service-item p {
  font-size: 14px;
  color: var(--text-muted-on-light);
  margin: 0;
}
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-on-light);
  font-size: 15.5px;
}
.section--dark .check-list li {
  border-color: var(--border-on-dark);
}
.check-list li:last-child {
  border-bottom: none;
}
.check-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 2px;
}

/* ---------- Proceso / pasos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px 24px;
  border-radius: var(--radius-md);
  background: rgba(247, 249, 252, 0.05);
  border: 1px solid var(--border-on-dark);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--snow);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 14px;
}
.step h4 {
  color: var(--snow);
  font-size: 16px;
}
.step p {
  color: var(--text-muted-on-dark);
  font-size: 14px;
  margin: 0;
}
/* Pasos sobre una sección de fondo claro */
.section:not(.section--dark):not(.section--brand) .step {
  background: #fff;
  border-color: var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.section:not(.section--dark):not(.section--brand) .step h4 {
  color: var(--text-on-light);
}
.section:not(.section--dark):not(.section--brand) .step p {
  color: var(--text-muted-on-light);
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  padding: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--snow);
}
/* El texto se adapta al espacio: aunque sea largo, el botón se queda a la derecha */
.cta-banner > div {
  flex: 1 1 320px;
  min-width: 0;
}
.cta-banner h3 {
  font-size: 26px;
  margin-bottom: 6px;
}
.cta-banner p {
  margin: 0;
  color: rgba(247, 249, 252, 0.85);
}
.cta-banner .btn-light {
  flex-shrink: 0;
}

/* ---------- Contacto ---------- */
.contact-card {
  background: var(--snow);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-on-light);
}
.contact-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-on-light);
}
.contact-row:last-child {
  border-bottom: none;
}
.contact-row .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}
.contact-row .icon-badge svg {
  width: 22px;
  height: 22px;
}
.contact-row h4 {
  font-size: 15px;
  margin-bottom: 4px;
}
.contact-row p {
  font-size: 14.5px;
  color: var(--text-muted-on-light);
  margin: 0;
}

.form-card {
  background: var(--ink-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--snow);
  border: 1px solid var(--border-on-dark);
}
.form-card h3 {
  margin-bottom: 22px;
  color: var(--snow);
}
/* Si después del título va una aclaración, quedan juntos */
.form-card h3:has(+ p.hint) {
  margin-bottom: 8px;
}
.form-card p.hint {
  color: var(--text-muted-on-dark);
  font-size: 14px;
  margin-bottom: 26px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted-on-dark);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(247, 249, 252, 0.06);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(247, 249, 252, 0.4);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.field select option {
  color: var(--ink);
}

/* ---------- Strenua ERP ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero-art--panel {
  order: 0;
}

/* Strenua: el logo del producto en lugar del icono de la marca */
.hero-art .icon-glow--logo {
  width: min(100%, 420px);
  filter: drop-shadow(0 20px 50px rgba(0, 133, 210, 0.45));
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.module-card {
  background: var(--snow);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-on-light);
}
.module-card h3 {
  font-size: 22px;
  margin: 18px 0 8px;
}
.module-card .check-list li {
  font-size: 14.5px;
  padding: 9px 0;
}
.module-extra {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.module-extra-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand-soft);
  border: 1px solid rgba(0, 133, 210, 0.2);
}
.module-extra-item h4 {
  font-size: 17px;
  margin-bottom: 2px;
}
.module-extra-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted-on-light);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.sector-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 18px;
  border-radius: var(--radius-md);
  background: var(--snow);
  border: 1px solid var(--border-on-light);
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
}

.feature-list {
  max-width: 860px;
  margin: 0 auto;
}
.feature-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-on-dark);
}
.feature-row:first-child {
  padding-top: 0;
}
.feature-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.feature-num {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1;
  color: var(--blue-light);
}
.feature-row h4 {
  color: var(--snow);
  font-size: 18px;
  margin-bottom: 6px;
}
.feature-row p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-dark);
}

#planes {
  scroll-margin-top: var(--header-h);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px 30px;
  border-radius: var(--radius-lg);
  background: var(--gradient-dark);
  color: var(--snow);
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-soft);
}
.plan-card--featured {
  background: linear-gradient(160deg, var(--indigo-deep) 0%, var(--ink) 70%);
  border-color: rgba(0, 133, 210, 0.65);
}
.plan-tag {
  position: absolute;
  top: -14px;
  left: 30px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: .04em;
}
.plan-name {
  font-size: 22px;
  margin-bottom: 18px;
}
.plan-label {
  font-size: 13px;
  color: var(--text-muted-on-dark);
}
.plan-price {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.1;
}
.plan-annual {
  margin: 6px 0 22px;
  font-size: 14.5px;
  color: var(--text-muted-on-dark);
}
.plan-annual strong {
  color: var(--snow);
}
.plan-features {
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border-on-dark);
  font-size: 14.5px;
}
.plan-features svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue-light);
}
.plan-features li.off,
.plan-features li.off svg {
  color: rgba(247, 249, 252, 0.38);
}
.plan-features li.off {
  text-decoration: line-through;
}
.plan-card .btn {
  margin-top: auto;
}
.plan-card .btn-outline {
  border-color: rgba(247, 249, 252, 0.55);
  color: var(--snow);
}
.plan-card .btn-outline:hover {
  background: var(--snow);
  color: var(--ink);
}
.plan-note {
  margin: 30px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--text-muted-on-light);
}

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

.support-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.support-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.support-pillar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(247, 249, 252, 0.05);
  border: 1px solid var(--border-on-dark);
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--snow);
}
.support-pillar .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}
.support-pillar .icon-badge svg {
  width: 22px;
  height: 22px;
}
.support-box {
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  background: rgba(247, 249, 252, 0.05);
  border: 1px solid var(--border-on-dark);
}

@media (max-width: 1000px) {
  .sector-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .module-grid,
  .plan-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .plan-grid {
    max-width: 460px;
    margin: 0 auto;
    gap: 34px;
  }
}
@media (max-width: 620px) {
  .module-extra,
  .service-grid--4 {
    grid-template-columns: 1fr;
  }
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-row {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }
  .feature-num {
    font-size: 24px;
  }
}

/* ---------- Estructuras propias de cada página ---------- */
.section-head--wide {
  max-width: 820px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--indigo);
}
.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

/* Secciones a dos columnas */
.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.split--even {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.split .section-head {
  margin-bottom: 0;
}

/* Inicio: mosaico de áreas y valores */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 250px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--snow);
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 55px rgba(8, 16, 48, 0.22);
}
.bento-card:hover .card-link svg {
  transform: translateX(4px);
}
.bento-card h3 {
  font-size: 21px;
  margin: 6px 0 0;
}
.bento-card p {
  flex-grow: 1;
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
.bento-num {
  position: absolute;
  top: 28px;
  right: 30px;
  font-family: var(--font-heading);
  font-size: 15px;
  color: rgba(11, 18, 48, 0.62);
}
.bento--2 {
  grid-template-columns: repeat(2, 1fr);
}
.bento-card--dark {
  background: linear-gradient(135deg, var(--ink) 30%, var(--indigo-deep) 100%);
  border-color: var(--border-on-dark);
  color: var(--snow);
}
.bento-card--dark p {
  color: var(--text-muted-on-dark);
}
.bento-card--dark .bento-num,
.bento-card--brand .bento-num {
  color: rgba(247, 249, 252, 0.82);
}
.bento-card--dark .card-link {
  color: var(--blue-light);
}
.bento-card--brand {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  min-height: 0;
  padding-right: 80px;
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--snow);
}
.bento-card--brand .icon-badge {
  background: rgba(247, 249, 252, 0.18);
}
.bento-card--brand div {
  flex-grow: 1;
}
.bento-card--brand h3 {
  margin: 0 0 6px;
}
.bento-card--brand p {
  color: rgba(247, 249, 252, 0.9);
}
.bento-card--brand .card-link {
  flex-shrink: 0;
  color: var(--snow);
}

/* Redes y Ayuda: portada centrada */
.hero--center {
  padding: 88px 0 84px;
  text-align: center;
}
.hero--center .section-head {
  max-width: 760px;
  margin: 0 auto;
}
.hero--center p.lead {
  margin-left: auto;
  margin-right: auto;
}
.hero--center .hero-actions {
  justify-content: center;
}

/* Contacto: formulario en la portada y bloque de visita */
.hero--contact .hero-grid {
  grid-template-columns: .9fr 1.1fr;
}
.hero--contact .form-card {
  box-shadow: var(--shadow-dark);
}

@media (max-width: 900px) {
  .split,
  .split--even,
  .hero--contact .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .split {
    gap: 32px;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card--brand {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 30px;
  }
}
@media (max-width: 600px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-card--brand {
    grid-column: auto;
  }
  .bento-card {
    min-height: 0;
  }
}

/* ---------- Métodos de pago (pagos.html) ---------- */
.text-link {
  color: var(--indigo);
  font-weight: 700;
}
.section--dark .text-link {
  color: var(--blue-light);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-muted-on-dark);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-on-dark);
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14.5px;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.footer-social a:hover {
  background: var(--gradient-brand);
  border-color: transparent;
}
.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--snow);
}
.footer-col .footer-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 0;
  color: var(--snow);
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  font-size: 14.5px;
  transition: color .2s ease;
}
.footer-col ul li a:hover {
  color: var(--blue);
}
.footer-col .contact-mini {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}
.footer-col .contact-mini svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.footer-bottom a:hover {
  color: var(--blue);
}
.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  /* deja espacio al botón flotante de WhatsApp */
  margin-right: 76px;
}

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

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(0, 133, 210, 0.45);
  transition: transform .2s ease;
}
.wa-float:hover {
  transform: scale(1.08);
}
.wa-float svg {
  width: 28px;
  height: 28px;
  fill: var(--snow);
}

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  color: var(--snow);
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.section--dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--blue-light);
}

/* ---------- Páginas legales ---------- */
.legal {
  max-width: 820px;
}
.legal h2 {
  font-size: 24px;
  margin-top: 2em;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal p,
.legal li {
  color: var(--text-muted-on-light);
}
.legal ul {
  list-style: disc;
  padding-left: 1.4em;
  margin: 0 0 1em;
}
.legal li {
  margin-bottom: .5em;
}
.legal a {
  color: var(--indigo);
  text-decoration: underline;
}
.legal-updated {
  font-size: 14px;
  color: var(--text-muted-on-light);
}
.form-card p.hint a {
  color: var(--blue-light);
  font-weight: 700;
  text-decoration: underline;
}
/* Solicitud de propuesta */
.lead-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lead-msg {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(247, 249, 252, 0.08);
  border: 1px solid var(--border-on-dark);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--snow);
}
.lead-msg.ok {
  background: rgba(53, 208, 127, 0.14);
  border-color: rgba(53, 208, 127, 0.5);
}
.lead-msg a {
  color: var(--blue-light);
  text-decoration: underline;
}
.lead-msg[hidden] {
  display: none;
}
#propuesta {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.form-legal {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-muted-on-dark);
}
.form-legal a {
  text-decoration: underline;
}
.plan-tax {
  font-size: 13px;
  opacity: .75;
}

/* ---------- 404 ---------- */
.section-head .notfound-code {
  font-family: var(--font-heading);
  font-size: clamp(80px, 16vw, 160px);
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

/* ---------- Strenua GO (strenua-go.html) ---------- */
/* Modalidades de pago: cuatro fichas y, debajo, lo que incluyen todas */
.plan-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.plan-grid--4 .plan-card {
  padding: 34px 24px 26px;
}
.plan-grid--4 .plan-price {
  font-size: 32px;
}
.plan-grid--4 .plan-annual {
  margin-bottom: 26px;
}
.plan-label--off {
  color: var(--blue-light);
  font-weight: 700;
}
.go-includes {
  margin-top: 28px;
  padding: 30px 32px;
  border-radius: var(--radius-lg);
  background: var(--snow);
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.go-includes h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.go-includes .check-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
}
.go-includes .check-list li {
  border-bottom: none;
  padding: 8px 0;
}
@media (max-width: 1100px) {
  .plan-grid--4 {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }
}
@media (max-width: 900px) {
  /* En tableta siguen de dos en dos, a todo el ancho */
  .plan-grid--4 {
    max-width: none;
  }
  .go-includes .check-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .plan-grid--4,
  .go-includes .check-list {
    grid-template-columns: 1fr;
  }
  .plan-grid--4 {
    max-width: 460px;
  }
  .go-includes {
    padding: 24px 22px;
  }
}
/* Integración con Strenua ERP: el aviso va bajo las cuatro tarjetas */
.service-grid + .cta-banner {
  margin-top: 28px;
}
/* Panel de pedidos ilustrativo junto al texto principal (decorativo) */
.go-order {
  display: grid;
  gap: 10px;
  width: min(100%, 400px);
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(247, 249, 252, 0.05);
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-dark);
}
.go-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.go-order-title {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(247, 249, 252, 0.7);
}
.go-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--snow);
}
.go-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35d07f;
  box-shadow: 0 0 0 4px rgba(53, 208, 127, 0.22);
}
.go-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ink-softer), #0d1535);
  border: 1px solid var(--border-on-dark);
  font-size: 14px;
  color: var(--snow);
}
.go-line small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted-on-dark);
}
.go-line strong {
  font-family: var(--font-heading);
}
.go-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.go-state {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.go-state--pago {
  background: rgba(255, 184, 77, 0.16);
  color: #ffc46b;
}
.go-state--prep {
  background: rgba(0, 133, 210, 0.22);
  color: var(--blue-light);
}
.go-state--ok {
  background: rgba(53, 208, 127, 0.16);
  color: #5fe0a0;
}
.go-foot {
  padding: 4px 4px 0;
  font-size: 12.5px;
  color: var(--text-muted-on-dark);
}

/* ---------- Propio de Strenua ---------- */
/* Botón del encabezado */
.nav-cta {
  white-space: nowrap;
}
@media (max-width: 520px) {
  .nav-cta {
    display: none;
  }
}

/* Inicio: dos productos y, debajo, la tarjeta de integración a todo el ancho */
.bento--2 .bento-card--brand {
  grid-column: span 2;
}
.bento-card .bento-price {
  flex-grow: 0;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--indigo);
}
.bento-card--dark .bento-price {
  color: var(--snow);
}
@media (max-width: 900px) {
  .bento--2 {
    grid-template-columns: 1fr;
  }
  .bento--2 .bento-card--brand {
    grid-column: auto;
  }
}

/* Inicio: quién desarrolla Strenua */
.maker {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 64px;
}
.maker h2 {
  font-size: clamp(24px, 3vw, 30px);
}
.maker p {
  color: var(--text-muted-on-light);
}
@media (max-width: 620px) {
  .maker {
    flex-direction: column;
    gap: 16px;
  }
}
