/* Secure Baseline landing — pilar Ciberseguridad (Dark Mode Tech del brandbook MKS). */

.sb-page {
  --sb-navy: #0e1e40;
  --sb-navy-deep: #030813;
  --sb-blue: #0162a4;
  --sb-blue-rgb: 1, 98, 164;
  --sb-cyan: #3fd0ff;
  --sb-cyan-rgb: 63, 208, 255;
  --sb-ok: #4ade80;
  --sb-warn: #fbbf24;
  --sb-risk: #f87171;
  --sb-text: rgba(232, 244, 255, 0.74);
  --sb-surface: rgba(7, 15, 30, 0.62);
  --sb-border: rgba(185, 238, 255, 0.14);
  min-height: 100vh;
  overflow-x: hidden;
  color: #f7fbff;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--sb-blue-rgb), 0.26), transparent 32rem),
    radial-gradient(circle at 80% 36%, rgba(var(--sb-cyan-rgb), 0.08), transparent 30rem),
    linear-gradient(180deg, var(--sb-navy-deep) 0%, #060b17 45%, #02050c 100%);
}

.sb-page #particles-canvas {
  display: block;
  z-index: 0;
  opacity: 1;
  mix-blend-mode: screen;
}

.sb-page main,
.sb-page .landing-footer {
  position: relative;
  z-index: 1;
}

.sb-page .container {
  max-width: 1160px;
}

/* ---------- Navbar ---------- */
.sb-nav {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + clamp(0.75rem, 1.5vw, 1.35rem));
  left: 50%;
  z-index: 80;
  width: min(calc(100% - 2rem), 1180px);
  transform: translateX(-50%);
}

.sb-nav__inner {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 2.5rem);
  padding: 0.45rem 0.58rem 0.45rem 1rem;
  border: 1px solid rgba(177, 232, 255, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    rgba(2, 8, 16, 0.42);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(26px) saturate(165%);
  -webkit-backdrop-filter: blur(26px) saturate(165%);
}

.sb-nav__logo {
  width: 162px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}

.sb-nav__logo img {
  width: 162px;
  height: 42px;
  object-fit: contain;
}

.sb-nav__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.9rem, 3vw, 3rem);
}

.sb-nav__links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  font-weight: 800;
  transition: color 180ms ease, transform 180ms ease;
}

.sb-nav__links a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.sb-nav__cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.05rem;
  border: 1px solid rgba(var(--sb-cyan-rgb), 0.6);
  border-radius: 999px;
  color: #eaffff;
  background: rgba(var(--sb-blue-rgb), 0.24);
  box-shadow: 0 0 30px rgba(var(--sb-cyan-rgb), 0.16);
  font-weight: 900;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease;
}

.sb-nav__cta:hover {
  transform: translateY(-1px);
  background: rgba(var(--sb-blue-rgb), 0.42);
}

/* ---------- Hero ---------- */
.sb-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(7rem, 12vh, 8.5rem) 0 clamp(3rem, 6vh, 5rem);
  overflow: hidden;
}

.sb-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(180deg, transparent, #02060c 80%);
  pointer-events: none;
  z-index: 2;
}

.sb-hero__ambient,
.sb-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sb-hero__ambient {
  overflow: hidden;
  z-index: 1;
}

.sb-glow--one {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(var(--sb-blue-rgb), 0.42), transparent 26%),
    radial-gradient(ellipse at 36% 64%, rgba(14, 30, 64, 0.6), transparent 34%),
    radial-gradient(ellipse at 66% 50%, rgba(var(--sb-cyan-rgb), 0.12), transparent 26%);
  filter: blur(34px);
  animation: sbGlowPulse 13s ease-in-out infinite alternate;
}

.sb-glow--two {
  inset: -12% -4% 0;
  background:
    conic-gradient(from 140deg at 52% 42%, transparent 0 16%, rgba(var(--sb-cyan-rgb), 0.14) 24%, transparent 40%, rgba(var(--sb-blue-rgb), 0.2) 52%, transparent 72%);
  filter: blur(24px);
  opacity: 0.7;
  animation: sbGlowDrift 16s ease-in-out infinite alternate;
}

.sb-hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

.sb-hero__content {
  width: min(100%, 940px);
  text-align: center;
}

.sb-section__label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(var(--sb-cyan-rgb), 0.3);
  border-radius: 999px;
  color: #cbf2ff;
  background: rgba(var(--sb-blue-rgb), 0.18);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sb-hero h1,
.sb-section__header h2,
.sb-tldr h2,
.sb-cta__card h2 {
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0;
}

.sb-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(2.1rem, 4.4vw, 4.3rem);
  line-height: 1.04;
}

.sb-hero h1 span,
.sb-section__header h2 span,
.sb-cta__card h2 span {
  color: var(--sb-cyan);
}

.sb-hero__lead {
  max-width: 720px;
  margin: 1.2rem auto 0;
  color: var(--sb-text);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.68;
}

.sb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.7rem;
}

.sb-btn {
  min-height: 48px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.sb-btn:hover {
  transform: translateY(-2px);
}

.sb-btn--primary {
  color: #ffffff;
  background: var(--sb-blue);
  box-shadow: 0 18px 40px rgba(var(--sb-blue-rgb), 0.34);
}

.sb-btn--primary:hover {
  background: #0a74bd;
  box-shadow: 0 20px 46px rgba(var(--sb-blue-rgb), 0.44), 0 0 30px rgba(var(--sb-cyan-rgb), 0.2);
}

.sb-btn--secondary {
  color: #f7fbff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Compartir ---------- */
.sb-share {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.sb-share__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  color: rgba(232, 244, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.sb-share__toggle:hover,
.sb-share__toggle[aria-expanded="true"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.sb-share__menu[hidden] {
  display: none;
}

.sb-share__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
}

.sb-share__menu a,
.sb-share__menu button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  border: 1px solid var(--sb-border);
  border-radius: 999px;
  color: #eaf6ff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease;
}

.sb-share__menu a:hover,
.sb-share__menu button:hover {
  border-color: rgba(var(--sb-cyan-rgb), 0.5);
  background: rgba(var(--sb-blue-rgb), 0.24);
}

.sb-share__status {
  width: 100%;
  min-height: 1.2em;
  color: var(--sb-cyan);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ---------- Layout común ---------- */
/* Capa oscura a la mitad (antes ~85%) para que los puntos de luz se vean en toda la página */
.sb-main-bg {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(var(--sb-blue-rgb), 0.1), transparent 24rem),
    radial-gradient(circle at 85% 50%, rgba(var(--sb-cyan-rgb), 0.06), transparent 26rem),
    linear-gradient(180deg, rgba(2, 5, 12, 0.42) 0%, rgba(6, 11, 23, 0.43) 48%, rgba(2, 5, 12, 0.44) 100%);
}

.sb-section {
  position: relative;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.sb-section--tldr {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.sb-section__header {
  max-width: 760px;
}

.sb-section__header--center {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.sb-section__header h2 {
  margin: 0.85rem 0 0;
  font-size: clamp(1.8rem, 3.2vw, 3.05rem);
  line-height: 1.08;
}

.sb-split .sb-section__header h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

.sb-section__header p {
  max-width: 720px;
  margin: 1rem auto 0;
  color: var(--sb-text);
  font-size: 1rem;
  line-height: 1.7;
}

.sb-section__header:not(.sb-section__header--center) p {
  margin-inline: 0;
}

.sb-inline-link {
  color: var(--sb-cyan);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(var(--sb-cyan-rgb), 0.4);
  text-underline-offset: 3px;
}

.sb-inline-link:hover {
  text-decoration-color: var(--sb-cyan);
}

.sb-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
}

/* ---------- Tarjetas ---------- */
.sb-card,
.sb-process__step,
.sb-scope__panel,
.sb-tldr,
.sb-fit,
.sb-table-card,
.sb-cta__card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--sb-border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--sb-surface);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sb-card,
.sb-process__step {
  padding: 1.35rem;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.sb-fit,
.sb-offer,
.sb-cta__card {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.sb-offer {
  position: relative;
}

.sb-fit > *,
.sb-offer > * {
  position: relative;
  z-index: 1;
}

.sb-card::before,
.sb-process__step::before,
.sb-fit::before,
.sb-offer::before,
.sb-cta__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(var(--sb-cyan-rgb), 0.32), transparent 42%, rgba(var(--sb-blue-rgb), 0.36));
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.sb-card:hover::before,
.sb-process__step:hover::before,
.sb-fit:hover::before,
.sb-offer:hover::before,
.sb-cta__card:hover::before {
  opacity: 1;
}

.sb-page .sb-card.is-visible:hover,
.sb-page .sb-process__step.is-visible:hover,
.sb-page .sb-fit.is-visible:hover,
.sb-page .sb-offer.is-visible:hover,
.sb-page .sb-cta__card.is-visible:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--sb-cyan-rgb), 0.34);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3), 0 0 34px rgba(var(--sb-cyan-rgb), 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.sb-card h3,
.sb-process__step h3,
.sb-offer h3 {
  position: relative;
  z-index: 1;
  margin: 0.45rem 0 0;
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.2;
}

.sb-card p,
.sb-process__step p,
.sb-offer p,
.sb-scope__item p {
  position: relative;
  z-index: 1;
  margin-top: 0.6rem;
  color: var(--sb-text);
  line-height: 1.62;
}

.sb-card__icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--sb-cyan-rgb), 0.3);
  border-radius: 14px;
  color: #dff7ff;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(var(--sb-blue-rgb), 0.34), rgba(14, 30, 64, 0.6));
  box-shadow: 0 0 26px rgba(var(--sb-cyan-rgb), 0.14);
}

.sb-card__number,
.sb-process__step > span,
.sb-cta__card > span,
.sb-related-card__tag {
  position: relative;
  z-index: 1;
  color: var(--sb-cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

/* ---------- TL;DR ---------- */
.sb-tldr {
  max-width: 960px;
  margin-inline: auto;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-color: rgba(var(--sb-cyan-rgb), 0.24);
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--sb-blue-rgb), 0.24), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    var(--sb-surface);
}

.sb-tldr h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.15;
}

.sb-tldr__list {
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: sb-tldr;
}

.sb-tldr__list li {
  position: relative;
  padding-left: 2.6rem;
  color: var(--sb-text);
  line-height: 1.6;
  counter-increment: sb-tldr;
}

.sb-tldr__list li::before {
  content: counter(sb-tldr);
  position: absolute;
  top: 0;
  left: 0;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--sb-cyan-rgb), 0.4);
  border-radius: 50%;
  color: var(--sb-cyan);
  font-size: 0.82rem;
  font-weight: 900;
}

.sb-tldr__list strong {
  color: #ffffff;
}

/* ---------- Grids ---------- */
.sb-question-grid,
.sb-principle-grid,
.sb-deliverable-grid,
.sb-reco-grid,
.sb-related-grid,
.sb-process {
  display: grid;
  gap: 1rem;
  margin-top: 2.2rem;
}

.sb-question-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sb-principle-grid,
.sb-reco-grid,
.sb-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-deliverable-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sb-process { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.sb-question-card__mark {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--sb-risk);
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  font-weight: 900;
}

.sb-question-card h3 {
  margin-top: 0.9rem;
  font-size: 1.08rem;
}

.sb-principle-card h3 {
  margin-top: 1rem;
}

/* ---------- Alcance ---------- */
.sb-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
  align-items: stretch;
}

/* Ambos paneles miden lo mismo; los puntos se reparten la altura disponible */
.sb-scope__panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.3rem, 2.5vw, 1.8rem);
}

.sb-scope__head {
  flex: none;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sb-border);
}

.sb-scope__tag {
  color: var(--sb-cyan);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sb-scope__head h3 {
  margin-top: 0.35rem;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
}

.sb-scope__item {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0 1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sb-scope__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sb-scope__item h4 {
  position: relative;
}

/* El punto va pegado al título para que siga alineado aunque el bloque crezca */
.sb-scope__item h4::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: -1.4rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sb-cyan);
  box-shadow: 0 0 12px rgba(var(--sb-cyan-rgb), 0.7);
}

.sb-scope__item h4 {
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.3;
}

.sb-scope__item p {
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

/* ---------- Tabla del cruce ---------- */
.sb-table-card {
  margin: 0;
  padding: 0.5rem;
}

.sb-table-scroll {
  overflow-x: auto;
}

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

.sb-table caption {
  caption-side: bottom;
  padding: 0.85rem 0.75rem 0.4rem;
  color: rgba(232, 244, 255, 0.5);
  font-size: 0.78rem;
  font-style: italic;
  text-align: left;
}

.sb-table th {
  padding: 0.8rem 0.75rem;
  color: rgba(232, 244, 255, 0.6);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  border-bottom: 1px solid var(--sb-border);
}

.sb-table td {
  padding: 0.75rem 0.7rem;
  color: #eaf4ff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

/* La prioridad siempre en un renglón ("Sin acción") */
.sb-table td:last-child {
  white-space: nowrap;
}

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

.sb-pill {
  display: inline-flex;
  white-space: nowrap;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.sb-pill--ok { color: var(--sb-ok); background: rgba(74, 222, 128, 0.12); }
.sb-pill--warn { color: var(--sb-warn); background: rgba(251, 191, 36, 0.12); }
.sb-pill--risk { color: var(--sb-risk); background: rgba(248, 113, 113, 0.12); }

.sb-priority {
  font-weight: 800;
}

.sb-priority--high { color: var(--sb-risk); }
.sb-priority--mid { color: var(--sb-warn); }

/* ---------- Proceso ---------- */
.sb-process__step {
  display: flex;
  flex-direction: column;
}

/* ---------- Por qué MKS ---------- */
.sb-split--why {
  align-items: start;
}

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

/* Franja de las 5 designaciones (sellos 426x245 sobre fondo blanco) */
.sb-designations {
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  padding-top: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid var(--sb-border);
}

.sb-designations__title {
  color: rgba(232, 244, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

/* Flex centrado: si la última fila queda incompleta, sus sellos van al centro */
.sb-designations__grid {
  --sb-seal-cols: 5;
  --sb-seal-gap: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sb-seal-gap);
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.sb-designations__grid li {
  flex: 0 0 calc((100% - (var(--sb-seal-cols) - 1) * var(--sb-seal-gap)) / var(--sb-seal-cols));
  padding: 5px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px var(--sb-border), 0 18px 40px -22px rgba(var(--sb-blue-rgb), 0.45);
}

.sb-designations__grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
}

@media (max-width: 980px) {
  .sb-designations__grid { --sb-seal-cols: 3; }
}

@media (max-width: 640px) {
  .sb-designations__grid { --sb-seal-cols: 2; --sb-seal-gap: 0.75rem; }
}

/* ---------- ¿Es para ti? ---------- */
.sb-fit {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.sb-fit__list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sb-fit__list li {
  position: relative;
  padding-left: 2.1rem;
  color: #eaf4ff;
  line-height: 1.55;
}

.sb-fit__list li::before {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background-color: var(--sb-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 0.8rem;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 14px rgba(var(--sb-cyan-rgb), 0.3);
}

/* ---------- Postula ---------- */
.sb-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.sb-offer {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.2rem;
  border: 1px solid var(--sb-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.sb-offer h3 {
  margin: 0;
  font-size: 1.04rem;
}

.sb-offer p {
  margin-top: 0.3rem;
  font-size: 0.92rem;
}

.sb-offer__requirements {
  max-width: 760px;
  margin: 1.6rem auto 0;
  color: var(--sb-text);
  text-align: center;
  line-height: 1.6;
}

.sb-offer__requirements strong {
  color: #ffffff;
}

.sb-offer__cta {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}

/* ---------- Relacionadas ---------- */
.sb-related-card {
  display: flex;
  flex-direction: column;
  color: inherit;
}

.sb-related-card__more {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--sb-cyan);
  font-weight: 800;
}

/* ---------- FAQ ---------- */
.sb-section--faq {
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.sb-faq {
  max-width: 900px;
  display: grid;
  gap: 0.75rem;
  margin: 2rem auto 0;
}

.sb-faq__item {
  border: 1px solid var(--sb-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.sb-faq__item summary {
  padding: 1rem 1.1rem;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.sb-faq__item p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--sb-text);
  line-height: 1.65;
}

/* ---------- CTA final ---------- */
.sb-cta {
  padding: 0 0 clamp(5rem, 8vw, 7rem);
}

.sb-cta__card {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--sb-blue-rgb), 0.3), transparent 30rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(6, 13, 24, 0.58);
}

.sb-cta__card img {
  position: relative;
  z-index: 1;
  width: 150px;
  height: auto;
  margin-bottom: 1rem;
  object-fit: contain;
}

.sb-cta__card h2 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0.6rem 0 0;
  font-size: clamp(1.8rem, 3.2vw, 3.05rem);
  line-height: 1.06;
  text-wrap: balance;
}

/* En pantallas medianas y grandes, "Microsoft 365 y Azure" va junto en su renglón */
@media (min-width: 640px) {
  .sb-cta__card h2 span {
    white-space: nowrap;
  }
}

.sb-cta__card p {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 1rem auto 1.5rem;
  color: var(--sb-text);
}

.sb-cta__card .sb-btn {
  position: relative;
  z-index: 1;
}

.sb-page .landing-footer {
  background: #02060c;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Flotantes ---------- */
.sb-back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(1rem, 3vw, 1.5rem));
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--sb-cyan-rgb), 0.46);
  border-radius: 50%;
  color: #eaffff;
  background: rgba(3, 8, 16, 0.76);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, bottom 0.3s ease;
}

.sb-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.has-cookie-banner .sb-back-to-top {
  bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(1rem, 3vw, 1.5rem) + 84px);
}

/* WhatsApp: solo en móvil */
.sb-whatsapp {
  display: none;
}

/* ---------- Animaciones de entrada (esta landing no carga styles.css) ---------- */
/* La entrada es una animación (no una transición) para que el hover de las
   tarjetas conserve su transición rápida de 200 ms y sin retraso. */
.sb-page [data-animate] {
  opacity: 0;
}

.sb-page [data-animate].is-visible {
  opacity: 1;
  animation: sbReveal 480ms cubic-bezier(0.22, 1, 0.36, 1) var(--sb-reveal-delay, 0ms) backwards;
}

@keyframes sbReveal {
  from {
    opacity: 0;
    filter: blur(4px);
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

.sb-question-grid > :nth-child(2),
.sb-principle-grid > :nth-child(2),
.sb-deliverable-grid > :nth-child(2),
.sb-reco-grid > :nth-child(2),
.sb-related-grid > :nth-child(2),
.sb-process > :nth-child(2),
.sb-offer-grid > :nth-child(2),
.sb-why-grid > :nth-child(2),
.sb-scope > :nth-child(2) { --sb-reveal-delay: 60ms; }

.sb-question-grid > :nth-child(3),
.sb-principle-grid > :nth-child(3),
.sb-deliverable-grid > :nth-child(3),
.sb-reco-grid > :nth-child(3),
.sb-related-grid > :nth-child(3),
.sb-process > :nth-child(3),
.sb-offer-grid > :nth-child(3),
.sb-why-grid > :nth-child(3) { --sb-reveal-delay: 120ms; }

.sb-question-grid > :nth-child(4),
.sb-deliverable-grid > :nth-child(4),
.sb-reco-grid > :nth-child(4),
.sb-process > :nth-child(4),
.sb-offer-grid > :nth-child(4),
.sb-why-grid > :nth-child(4) { --sb-reveal-delay: 180ms; }

.sb-question-grid > :nth-child(5),
.sb-deliverable-grid > :nth-child(5),
.sb-reco-grid > :nth-child(5) { --sb-reveal-delay: 240ms; }

.sb-reco-grid > :nth-child(6) { --sb-reveal-delay: 300ms; }

@keyframes sbGlowPulse {
  from { transform: scale(1) translate3d(0, 0, 0); opacity: 0.76; }
  to { transform: scale(1.08) translate3d(1.5%, -1%, 0); opacity: 0.96; }
}

@keyframes sbGlowDrift {
  from { transform: translate3d(-1.5%, 0, 0) rotate(-4deg); }
  to { transform: translate3d(1.5%, -1.2%, 0) rotate(4deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sb-question-grid,
  .sb-deliverable-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sb-process,
  .sb-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .sb-nav__inner { grid-template-columns: auto auto; justify-content: space-between; }
  .sb-nav__links { display: none; }

  .sb-hero { align-items: flex-start; }

  .sb-split,
  .sb-scope,
  .sb-fit { grid-template-columns: 1fr; }

  .sb-principle-grid,
  .sb-reco-grid,
  .sb-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .sb-whatsapp {
    position: fixed;
    left: 1rem;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
    z-index: 91;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.1rem 0 0.95rem;
    border-radius: 999px;
    color: #ffffff;
    background: #1fa855;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
    font-weight: 800;
    transition: opacity 0.3s ease;
  }

  /* En móvil el aviso de cookies es alto: el botón aparece al cerrarlo */
  body.has-cookie-banner .sb-whatsapp {
    opacity: 0;
    pointer-events: none;
  }

  .sb-page .landing-footer {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 5rem);
  }
}

@media (max-width: 640px) {
  .sb-nav { width: min(calc(100% - 1rem), 720px); }
  .sb-nav__inner { min-height: 54px; padding-left: 0.85rem; }
  .sb-nav__logo,
  .sb-nav__logo img { width: 124px; }
  .sb-nav__cta { min-height: 36px; padding: 0 0.8rem; font-size: 0.82rem; }

  .sb-hero__content,
  .sb-section__header--center { text-align: left; }
  .sb-hero__actions { flex-direction: column; align-items: stretch; }
  .sb-hero__actions .btn { width: 100%; }
  .sb-share,
  .sb-share__menu { justify-content: flex-start; }

  .sb-question-grid,
  .sb-principle-grid,
  .sb-deliverable-grid,
  .sb-reco-grid,
  .sb-related-grid,
  .sb-process,
  .sb-offer-grid,
  .sb-why-grid { grid-template-columns: 1fr; }

  .sb-offer__requirements { text-align: left; }
  .sb-offer__cta .btn { width: 100%; }

  .sb-cta__card { justify-items: start; text-align: left; }
  .sb-cta__card .sb-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .sb-page [data-animate],
  .sb-page [data-animate].is-visible {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
    animation: none;
  }

  .sb-glow { animation: none; }
}
