/* ============================================================
   SkillBridge — Landing CSS (consolidado)
   Figma ref: 1728px frame / escalado proporcional a estándares web
   ============================================================ */

:root {
  --sb-primary: #FF622A;
  --sb-primary-deep: #e85a26;
  --sb-cyan: #27A8DF;
  --sb-cyan-deep: #1e93c5;
  --sb-dark: #0A2335;
  --sb-btn-ease: cubic-bezier(0.34, 1.2, 0.64, 1);
  --sb-btn-duration: 0.38s;
  /* Tema designesia usa 700; sin negrilla en menú */
  --mainmenu-font-weight: 400;
  /* Ritmo vertical y lectura (8px base) */
  --sb-section-y: clamp(3rem, 5.5vw, 4.5rem);
  --sb-section-y-mobile: clamp(2.25rem, 7vw, 2.85rem);
  --sb-section-y-xl: clamp(4rem, 4.5vw, 5rem);
  --sb-prose-width: 60ch;
  /* Misma escala visual header/footer (viewBox idéntico en ambos SVG) */
  --sb-logo-h: 42px;
  --sb-logo-max-w: 180px;
}

/* ============================================================
   GLOBAL OVERRIDES
   ============================================================ */
/* Unifica fondo con footer/secciones (#0A2335); el tema usa --bg-dark-1 (#101435) y generaba franja distinta al final */
html {
  background-color: var(--sb-dark);
  height: auto !important;
  min-height: 0 !important;
  /* Evita que anclas (#section-*) queden bajo el header fijo */
  scroll-padding-top: clamp(4.25rem, 11vw, 6.5rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body.dark-scheme {
  background-color: var(--sb-dark) !important;
  height: auto !important;
  min-height: 0 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Safe area (notch / home indicator) sin cambiar el diseño en escritorio */
#wrapper {
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.sb-dark-bg { background-color: var(--sb-dark) !important; }
.sb-light-section { background: #fff !important; color: var(--sb-dark) !important; }
.sb-light-section h1, .sb-light-section h2, .sb-light-section h3,
.sb-light-section h4, .sb-light-section h5, .sb-light-section h6,
.sb-light-section p, .sb-light-section span, .sb-light-section li { color: var(--sb-dark); }

/* Gradients */
.sb-gradient-text { background: linear-gradient(90deg, #0A2335 0%, #27A8DF 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sb-gradient-text-light { background: linear-gradient(90deg, #27A8DF 0%, #fff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
/* Figma nodo 74:17 — gradiente: blanco hasta ~45% luego a cyan marca */
/* "oportunidades" solo: el gradiente + clip sobre toda la frase recortaba mal la "s" de "reales" */
.sb-gradient-hero {
  background: linear-gradient(90deg, #fff 0%, #b8e8fb 55%, #27a8df 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
/* " reales." en cyan sólido (misma marca) — evita artefactos del clip y el punto siempre visible */
.sb-hero-reales {
  color: #27a8df;
  -webkit-text-fill-color: #27a8df;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.sb-gradient-stat { background: linear-gradient(90deg, #fff 0%, #27A8DF 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sb-gradient-faq { background: linear-gradient(90deg, #fff 34%, #999 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sb-stat-num-on-light { background: linear-gradient(90deg, #e0e0e0, #27A8DF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Tags */
.sb-tag { font-size: 18px; }
.sb-tag .bracket { color: var(--sb-cyan); }

/* Section shared sizing */
.sb-section-title { font-size: 32px; font-weight: 300; line-height: 1.3; letter-spacing: -0.5px; margin-bottom: 0.45em; }
.sb-section-title strong { font-weight: 700; }
.sb-section-subtitle { font-size: 16px; opacity: 0.85; line-height: 1.65; }

/* Bloques intro centrados: longitud de línea cómoda (~65 caracteres) */
#section-profiles .col-lg-8 .sb-section-subtitle {
  max-width: min(100%, var(--sb-prose-width));
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   BUTTONS — sombras, gradientes y microinteracciones
   ============================================================ */
.btn-sb-primary,
.btn-sb-outline,
.btn-sb-cyan,
.btn-sb-outline-dark {
  position: relative;
  z-index: 0;
  overflow: hidden;
  border-radius: 50px;
  font-weight: 400;
  font-variation-settings: "opsz" 14, "wght" 400;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  isolation: isolate;
  box-sizing: border-box;
  transition:
    transform var(--sb-btn-duration) var(--sb-btn-ease),
    box-shadow var(--sb-btn-duration) var(--sb-btn-ease),
    border-color var(--sb-btn-duration) ease,
    background var(--sb-btn-duration) ease,
    color var(--sb-btn-duration) ease;
}

.btn-sb-primary {
  background: linear-gradient(165deg, #ff7a45 0%, var(--sb-primary) 45%, var(--sb-primary-deep) 100%);
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.12);
  padding: 12px 28px;
  box-shadow:
    0 4px 14px rgba(255, 98, 42, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.btn-sb-primary:hover {
  color: #fff !important;
  background: linear-gradient(165deg, #ff8a5a 0%, #ff6b30 50%, var(--sb-primary-deep) 100%);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 28px rgba(255, 98, 42, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transform: translateY(-3px);
  animation: none;
}
.btn-sb-primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 16px rgba(255, 98, 42, 0.4);
}
.btn-sb-primary:focus-visible {
  outline: 2px solid #ffb69a;
  outline-offset: 3px;
}

.btn-sb-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.85);
  padding: 12px 28px;
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  backdrop-filter: blur(8px);
}
.btn-sb-outline:hover {
  color: #0a2335 !important;
  background: #fff;
  border-color: #fff;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  transform: translateY(-3px);
  animation: none;
}
.btn-sb-outline:active {
  transform: translateY(-1px) scale(0.98);
}
.btn-sb-outline:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.btn-sb-outline-dark {
  overflow: visible;
  background: transparent;
  color: var(--sb-dark) !important;
  border: 2px solid var(--sb-dark);
  padding: 10px 24px;
  font-weight: 400;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(10, 35, 53, 0.08);
}
.btn-sb-outline-dark:hover {
  background: var(--sb-dark);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(10, 35, 53, 0.28);
  transform: translateY(-2px);
}
.btn-sb-outline-dark:active {
  transform: translateY(0) scale(0.98);
}
.btn-sb-outline-dark:focus-visible {
  outline: 2px solid var(--sb-cyan);
  outline-offset: 3px;
}

.btn-sb-cyan {
  background: linear-gradient(
    165deg,
    #4dbce8 0%,
    var(--sb-cyan) 50%,
    var(--sb-cyan-deep) 100%
  );
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.15);
  padding: 12px 28px;
  box-shadow:
    0 4px 16px rgba(39, 168, 223, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.btn-sb-cyan:hover {
  color: #fff !important;
  background: linear-gradient(
    165deg,
    #5ac8f0 0%,
    #35b0e5 50%,
    var(--sb-cyan-deep) 100%
  );
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 10px 30px rgba(39, 168, 223, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
  transform: translateY(-3px);
  animation: none;
}
.btn-sb-cyan:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 16px rgba(39, 168, 223, 0.4);
}
.btn-sb-cyan:focus-visible {
  outline: 2px solid rgba(160, 230, 255, 0.9);
  outline-offset: 3px;
}

/* Pulso suave de sombra solo en CTAs del hero (se pausa al hover) */
@keyframes sb-hero-pill-glow-primary {
  0%,
  100% {
    box-shadow:
      0 4px 16px rgba(255, 98, 42, 0.42),
      0 1px 0 rgba(255, 255, 255, 0.15) inset;
  }
  50% {
    box-shadow:
      0 8px 26px rgba(255, 98, 42, 0.58),
      0 1px 0 rgba(255, 255, 255, 0.2) inset;
  }
}
@keyframes sb-hero-pill-glow-outline {
  0%,
  100% {
    box-shadow:
      0 2px 12px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  }
  50% {
    box-shadow:
      0 6px 22px rgba(255, 255, 255, 0.18),
      0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  }
}
@keyframes sb-hero-pill-glow-cyan {
  0%,
  100% {
    box-shadow:
      0 4px 18px rgba(39, 168, 223, 0.42),
      0 1px 0 rgba(255, 255, 255, 0.2) inset;
  }
  50% {
    box-shadow:
      0 9px 30px rgba(39, 168, 223, 0.58),
      0 1px 0 rgba(255, 255, 255, 0.28) inset;
  }
}

#section-hero .sb-hero-pills .sb-pill-primary {
  animation: sb-hero-pill-glow-primary 3.2s ease-in-out infinite;
}
#section-hero .sb-hero-pills .sb-pill-outline {
  animation: sb-hero-pill-glow-outline 3.5s ease-in-out infinite;
}
#section-hero .sb-hero-pills .sb-pill-cyan {
  animation: sb-hero-pill-glow-cyan 3.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .btn-sb-primary,
  .btn-sb-outline,
  .btn-sb-cyan,
  .btn-sb-outline-dark {
    transition-duration: 0.01ms;
  }
  .btn-sb-primary:hover,
  .btn-sb-outline:hover,
  .btn-sb-cyan:hover,
  .btn-sb-outline-dark:hover {
    transform: none;
  }
  #section-hero .sb-hero-pills .sb-pill-primary,
  #section-hero .sb-hero-pills .sb-pill-outline,
  #section-hero .sb-hero-pills .sb-pill-cyan {
    animation: none;
  }
}

/* ============================================================
   HEADER
   ============================================================ */
header.sb-header .de-flex.sb-header-layout {
  width: 100%; flex-wrap: nowrap; align-items: center;
  justify-content: space-between; gap: 12px;
}
header.sb-header .sb-header-brand { flex: 0 0 auto; }

/* Gana a `div#logo img { max-width: 120px }` del tema; alinea marca en header */
header.sb-header #logo {
  display: flex;
  align-items: center;
  line-height: 0;
}
header.sb-header #logo > a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
/* Tamaño del asset — NO forzar display: el tema alterna .logo-main / .logo-scroll / .logo-mobile;
 * un display:block aquí rompía el display:none del tema y se veían los 3 SVG a la vez.
 */
header.sb-header #logo img.logo-main,
header.sb-header #logo img.logo-scroll,
header.sb-header #logo img.logo-mobile {
  width: auto !important;
  height: var(--sb-logo-h) !important;
  max-width: var(--sb-logo-max-w) !important;
  aspect-ratio: 239 / 75.4126;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

header.sb-header .de-flex-col.sb-header-end {
  flex: 1 1 auto; min-width: 0; justify-content: flex-end !important;
  margin-left: auto; display: flex !important; flex-direction: row !important;
  flex-wrap: nowrap; align-items: center; gap: clamp(8px, 1.5vw, 24px);
}
header.sb-header .sb-header-nav { flex: 0 1 auto; }
header.sb-header .sb-header-cta { flex-shrink: 0; gap: 8px; }
/* Botones del header un poco más bajos; no afecta al logo (--sb-logo-h) */
header.sb-header .sb-header-cta .btn-sb-outline-dark {
  padding: 8px 20px;
  font-size: 15px;
}
header.sb-header .sb-header-cta .sb-dropdown__trigger.btn-sb-primary {
  padding: 8px 20px;
  font-size: 15px;
}

header.sb-header .sb-header-nav #mainmenu {
  margin: 0 !important; display: flex !important; flex-direction: row !important;
  flex-wrap: nowrap !important; align-items: center !important;
  justify-content: flex-end !important; float: none !important; width: auto !important;
}
header.sb-header .sb-header-nav #mainmenu > li {
  float: none !important; display: flex !important; align-items: center;
}
header.sb-header .sb-header-end #mainmenu { margin-left: 0; margin-right: 0; }

header.sb-header #mainmenu > li > a,
header.sb-header #mainmenu > li > a.menu-item {
  color: var(--sb-dark) !important;
  font-size: 16px;
  letter-spacing: -0.3px;
  font-weight: 400 !important;
  font-variation-settings: "opsz" 14, "wght" 400;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.18rem 0.2rem;
  box-sizing: border-box;
  position: relative;
}

/* Tema: #mainmenu li a:before { bottom: 20px } para padding vertical grande; con header compacto la línea caía sobre el texto */
header.sb-header #mainmenu > li > a.menu-item::before,
header.sb-header #mainmenu > li > a::before {
  bottom: 0 !important;
  top: auto !important;
  left: 0 !important;
}
header.sb-header #mainmenu > li > a.menu-item.active::before,
header.sb-header #mainmenu > li > a.active::before {
  width: calc(100% - 5px) !important;
}
header.sb-header #mainmenu .sb-dropdown-panel a::before,
header.sb-header #mainmenu .sb-dropdown-panel a::after {
  display: none !important;
  content: none !important;
}

header.sb-header.header-bg #mainmenu > li > a { color: var(--sb-dark) !important; }

/* Hamburguesa: visible sobre header blanco (el tema usa color #fff en #menu-btn) */
header.sb-header .menu_side_area {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
header.sb-header #menu-btn,
header.sb-header button#menu-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 0 0 8px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  line-height: 1.5em;
  float: right;
  box-sizing: border-box;
  color: var(--sb-dark) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
header.sb-header #menu-btn:before,
header.sb-header button#menu-btn:before {
  color: inherit;
}
header.sb-header #mainmenu li li a.sb-nav-placeholder {
  cursor: default;
  opacity: 0.85;
}

/* ---------- Desplegables desktop (mismo panel + animación) ---------- */
header.sb-header .sb-dropdown {
  position: relative;
}

header.sb-header .sb-dropdown__trigger.btn-sb-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 400;
  font-variation-settings: "opsz" 14, "wght" 400;
  margin: 0;
  color: #fff !important;
  overflow: visible;
}

header.sb-header .sb-dropdown__trigger.btn-sb-primary:hover,
header.sb-header .sb-dropdown__trigger.btn-sb-primary:focus-visible {
  color: #fff !important;
}

header.sb-header .sb-dropdown__caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 5px 0 5px;
  border-color: #fff transparent transparent transparent;
  flex-shrink: 0;
}

@media (min-width: 993px) {
  /* Solo móvil/tablet: el panel hamburguesa no se usa en desktop */
  header.sb-header .menu_side_area {
    display: none !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  header.sb-header #menu-btn,
  header.sb-header button#menu-btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Flecha móvil (designesia) oculta en desktop */
  header.sb-header #mainmenu > li > span {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    clip: rect(0, 0, 0, 0) !important;
  }

  header.sb-header #mainmenu > li.has-child:after {
    color: rgba(10, 35, 53, 0.5) !important;
    font-size: 9px !important;
    top: -1px;
  }

  /* Panel compartido: nav y CTA (#mainmenu gana especificidad sobre el tema) */
  header.sb-header #mainmenu > li.sb-nav-drop > ul.sb-dropdown-panel,
  header.sb-header .sb-dropdown--cta > .sb-dropdown-panel {
    display: block;
    list-style: none;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    padding: 6px 0;
    min-width: 240px;
    max-width: min(320px, 92vw);
    width: max-content;
    background: #fff !important;
    border: none !important;
    border-radius: 2px;
    box-shadow:
      0 14px 40px rgba(10, 35, 53, 0.12),
      0 4px 12px rgba(10, 35, 53, 0.06);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -8px, 0);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
  }

  header.sb-header .sb-dropdown--cta > .sb-dropdown-panel.sb-dropdown-panel--cta {
    left: auto;
    right: 0;
    min-width: 220px;
  }

  header.sb-header #mainmenu > li.sb-nav-drop:hover > ul.sb-dropdown-panel,
  header.sb-header #mainmenu > li.sb-nav-drop:focus-within > ul.sb-dropdown-panel,
  header.sb-header .sb-dropdown--cta:hover > .sb-dropdown-panel,
  header.sb-header .sb-dropdown--cta:focus-within > .sb-dropdown-panel {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate3d(0, 0, 0) !important;
    pointer-events: auto;
  }

  /* Ítems dentro del panel (lista nav) */
  body.dark-scheme header.sb-header #mainmenu > li.sb-nav-drop ul.sb-dropdown-panel > li {
    margin: 0;
    padding: 0;
    float: none;
    display: block;
    list-style: none;
  }

  body.dark-scheme header.sb-header #mainmenu > li.sb-nav-drop ul.sb-dropdown-panel > li > a.menu-item,
  body.dark-scheme header.sb-header .sb-dropdown-panel .sb-dropdown__link {
    color: var(--sb-dark) !important;
    padding: 12px 20px !important;
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-weight: 400;
    font-variation-settings: "opsz" 14, "wght" 400;
    font-size: 15px;
    line-height: 1.35;
    text-align: left !important;
    border: none !important;
    border-bottom: 1px solid rgba(10, 35, 53, 0.08) !important;
    background: transparent !important;
    border-radius: 0;
    text-decoration: none;
    transition: background 0.2s ease;
  }

  body.dark-scheme header.sb-header #mainmenu > li.sb-nav-drop ul.sb-dropdown-panel > li:last-child > a.menu-item {
    border-bottom: none !important;
  }

  body.dark-scheme header.sb-header .sb-dropdown-panel .sb-dropdown__link:last-child {
    border-bottom: none !important;
  }

  body.dark-scheme header.sb-header #mainmenu > li.sb-nav-drop ul.sb-dropdown-panel > li > a.menu-item:hover,
  body.dark-scheme header.sb-header #mainmenu > li.sb-nav-drop ul.sb-dropdown-panel > li > a.menu-item:focus-visible,
  body.dark-scheme header.sb-header .sb-dropdown-panel .sb-dropdown__link:hover,
  body.dark-scheme header.sb-header .sb-dropdown-panel .sb-dropdown__link:focus-visible {
    background: rgba(10, 35, 53, 0.06) !important;
    color: var(--sb-dark) !important;
  }

  /* Evita el subrayado animado del tema en ítems del panel */
  body.dark-scheme header.sb-header #mainmenu > li.sb-nav-drop ul.sb-dropdown-panel a:before,
  body.dark-scheme header.sb-header #mainmenu > li.sb-nav-drop ul.sb-dropdown-panel a:after,
  body.dark-scheme header.sb-header .sb-dropdown-panel.sb-dropdown-panel--cta .sb-dropdown__link:before,
  body.dark-scheme header.sb-header .sb-dropdown-panel.sb-dropdown-panel--cta .sb-dropdown__link:after {
    display: none !important;
    content: none !important;
  }
}

@media (max-width: 992px) {
  header.sb-header .menu_side_area {
    display: flex !important;
    width: auto !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }
  header.sb-header #menu-btn,
  header.sb-header button#menu-btn {
    display: inline-flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1002;
  }
  header.sb-header.header-mobile #mainmenu > li > a.menu-item,
  header.sb-header.header-mobile #mainmenu li ul li a.menu-item {
    color: var(--sb-dark) !important;
    font-weight: 400 !important;
    font-variation-settings: "opsz" 14, "wght" 400;
  }
  header.sb-header.header-mobile #mainmenu li {
    border-bottom-color: rgba(10, 35, 53, 0.12);
  }
  header.sb-header.header-mobile #mainmenu li li a.sb-nav-placeholder {
    color: rgba(10, 35, 53, 0.65) !important;
  }
}

/* El tema fuerza .menu_side_area { width:100% } en viewport pequeño y aplasta la fila del header */
@media (max-width: 767px) {
  header.sb-header .menu_side_area {
    width: auto !important;
    max-width: none;
    flex: 0 0 auto;
    margin-left: 8px !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.sb-hero-section { min-height: 720px; background: var(--sb-dark); overflow: hidden; }
.sb-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,35,53,0.28) 0%, rgba(10,35,53,0.55) 22%, rgba(10,35,53,0.78) 55%, #0A2335 96%); z-index: 1; }
.sb-hero-overlay-2 { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,35,53,0) 58%, rgba(10,35,53,0.45) 100%); z-index: 2; }

.sb-hero-blob { position: absolute; z-index: 0; pointer-events: none; }
.sb-hero-blob.top-right { top: -50px; right: -100px; width: 580px; opacity: 0.8; }
.sb-hero-blob.bottom-left { bottom: -200px; left: -160px; width: 480px; transform: rotate(180deg); opacity: 0.7; }

.sb-hero-inner { max-width: 1280px; padding-top: 160px; padding-bottom: 72px; }

.sb-hero-lead { font-size: 16px; max-width: 440px; line-height: 1.55; opacity: 0.95; }

.sb-hero-lead.sb-hero-lead-below-title {
  display: block;
  max-width: min(100%, 720px);
  text-align: center;
  /* Espacio tras el bloque de títulos (antes mt-4 ≈ 1.5rem) */
  margin-top: clamp(2rem, 5vw, 3.5rem) !important;
}

/* Espacio entre párrafo de apoyo y botones */
#section-hero .sb-hero-row-cta {
  margin-top: clamp(2.25rem, 5.5vw, 4rem);
}

/* Espacio entre botones y línea final */
#section-hero .sb-hero-row-tagline {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.sb-hero-badge { position: relative; z-index: 5; }
.sb-hero-badge .badge-inner { background: none; display: flex; align-items: flex-start; gap: 10px; }
.sb-hero-badge .badge-check { width: 48px; height: 48px; flex-shrink: 0; }
.sb-hero-badge .badge-text { color: #fff; font-size: 18px; line-height: 1.35; text-align: left; max-width: 280px; }

/* Figma 74:16 / 74:17 — DM Sans SemiBold, opsz 14; tracking −8.24px a 103px ≈ −0.08em */
.sb-hero-title-1, .sb-hero-title-2 {
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-variation-settings: "opsz" 14, "wght" 600;
  font-size: 64px;
  letter-spacing: -0.08em;
  line-height: 1.05;
  margin-bottom: 0;
}
/* Anula .dark-scheme h1 / .text-light h1 del tema (gradiente + fill transparente) */
#section-hero h1.sb-hero-title-1 {
  color: #fff !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}
/* filter:drop-shadow en el h1 rompía background-clip:text (bordes blancos en "s", etc.) */
.sb-hero-title-2 {
  filter: none;
}

.sb-hero-pills { row-gap: 12px; }
.sb-pill {
  height: 56px;
  padding: 0 28px;
  font-size: 17px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-variation-settings: "opsz" 14, "wght" 400;
  min-width: 200px;
  letter-spacing: 0.02em;
}
/* Los fondos y bordes los definen .btn-sb-* (gradientes); aquí no forzar color plano */
.sb-pill.sb-pill-outline { border-width: 2px !important; }

.sb-hero-bottom-text { font-size: 16px; opacity: 0.92; line-height: 1.5; }

/* ============================================================
   SCROLL “Scroll to top” + barra vertical (tema designesia)
   El JS puede inflar la altura si pageHeight≈0; ::before tenía min-height:100px y desbordaba.
   ============================================================ */
.scrollbar-v {
  overflow: hidden;
  max-height: 120px !important;
}

.scrollbar-v::before {
  min-height: 0 !important;
  top: 0;
  height: 100%;
  max-height: 100%;
}

/* ============================================================
   SOCIAL SIDEBAR + WHATSAPP
   ============================================================ */
.sb-social-sidebar {
  position: fixed;
  right: env(safe-area-inset-right, 0px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--sb-dark); border-radius: 10px 0 0 10px;
  padding: 14px 12px; z-index: 99; display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.sb-social-sidebar a { color: #fff; font-size: 18px; opacity: 0.8; transition: opacity 0.3s; }
.sb-social-sidebar a:hover { opacity: 1; }

.sb-whatsapp-float {
  position: fixed;
  z-index: 100;
  /* Contenedor algo mayor que el dibujo (cola + sombra); tamaño visual un poco menor */
  width: 50px;
  height: 50px;
  bottom: max(24px, calc(16px + env(safe-area-inset-bottom, 0px)));
  right: max(24px, calc(12px + env(safe-area-inset-right, 0px)));
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
/* border-radius:50% recortaba la punta/cola del icono respecto al círculo */
.sb-whatsapp-float img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 0;
}

/* ============================================================
   STATS
   ============================================================ */
.sb-section-stats { padding: var(--sb-section-y) 0; }

.sb-stat-card { border-radius: 14px; overflow: hidden; position: relative; }
.sb-stat-card img { width: 100%; height: 100%; object-fit: cover; }
.sb-stat-card-tall { height: 260px; }
.sb-stat-card-sm { height: 120px; }
.sb-stat-card-dark { background: var(--sb-dark); }
.sb-stat-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px; }
.sb-stat-number { font-size: 40px; font-weight: 500; line-height: 1; }
.sb-stat-label { font-size: 13px; text-align: center; margin-top: 4px; }

#section-stats h2.sb-stats-heading {
  font-size: 32px; line-height: 1.3; letter-spacing: -0.5px; margin: 0;
  background: none !important; -webkit-background-clip: initial !important;
  background-clip: initial !important; -webkit-text-fill-color: var(--sb-dark) !important; color: var(--sb-dark) !important;
}
#section-stats .sb-stats-heading-line { display: block; font-weight: 300; color: var(--sb-dark) !important; -webkit-text-fill-color: var(--sb-dark) !important; }
#section-stats .sb-stats-heading-strong.sb-gradient-text {
  display: block; margin-top: 4px; font-weight: 700; line-height: 1.2;
  background: linear-gradient(90deg, #0a2335 0%, #27a8df 100%) !important;
  -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important;
}
.sb-stats-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--sb-dark);
  margin-top: 16px;
  max-width: min(100%, 58ch);
}

.sb-stats-checklist { padding-left: 0; margin-bottom: 0; }
.sb-stats-check-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 0.75rem; }
.sb-stats-check-item:last-child { margin-bottom: 0; }
.sb-stats-check-ico { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; }
.sb-stats-check-ico img { display: block; width: 22px; height: 22px; }
.sb-stats-check-txt { flex: 1; min-width: 0; font-size: 16px; line-height: 1.5; color: var(--sb-dark); overflow-wrap: break-word; }

/* ============================================================
   MARQUEE
   ============================================================ */
#section-marquee.sb-marquee-section {
  position: relative; overflow: visible;
  background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--sb-dark) 60%, var(--sb-dark) 100%) !important;
}
#section-marquee .sb-marquee-stripes {
  position: relative; z-index: 1;
  width: calc(100% + min(12vw, 160px)); max-width: none;
  margin-left: calc(-0.5 * min(12vw, 160px)); margin-right: calc(-0.5 * min(12vw, 160px));
  overflow: visible;
}
#section-marquee .sb-marquee-1,
#section-marquee .sb-marquee-2 { position: relative; z-index: 1; width: 100%; }

.sb-marquee-1 { background: linear-gradient(90deg, #F6FDFF, #E7F9FF); }
.sb-marquee-2 { background: var(--sb-cyan); }

.sb-marquee-1 .fs-60, .sb-marquee-2 .fs-60 { font-size: 42px !important; }

/* ============================================================
   PROFILE CARDS
   ============================================================ */
.sb-section-profiles { padding: var(--sb-section-y) 0; }

.sb-profile-card { border-radius: 10px; overflow: hidden; position: relative; height: 440px; }
.sb-profile-card img { width: 100%; height: 100%; object-fit: cover; }
.sb-profile-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,35,53,0) 46%, #0A2335 80%); }
.sb-profile-card .content { position: absolute; bottom: 24px; left: 24px; right: 24px; z-index: 2; }
.sb-profile-card h3 { font-size: 24px; font-weight: 500; color: #fff; margin-bottom: 6px; }
.sb-profile-card p { font-size: 15px; color: #fff; line-height: 1.5; }
.sb-profile-inline-cta { padding: 10px 24px !important; font-size: 15px !important; margin-top: 8px; }

#section-profiles .hover.sb-profile-hover {
  display: block; border-radius: 10px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.45s ease;
}
#section-profiles .hover.sb-profile-hover:hover {
  transform: translateY(-10px); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}
#section-profiles .sb-profile-card img.hover-scale-1-1 {
  transform: scale(1); transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); will-change: transform;
}
#section-profiles .sb-profile-card .overlay {
  z-index: 1; transition: opacity 0.45s ease, background 0.45s ease;
}
#section-profiles .hover:hover .sb-profile-card .overlay {
  background: linear-gradient(165deg, rgba(255, 92, 0, 0.55) 0%, rgba(255, 98, 42, 0.28) 38%, rgba(10, 35, 53, 0.15) 52%, rgba(10, 35, 53, 0.92) 88%);
}
#section-profiles .sb-profile-shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: linear-gradient(135deg, rgba(255, 80, 0, 0.92) 0%, rgba(255, 98, 42, 0.62) 32%, rgba(255, 98, 42, 0.28) 52%, rgba(255, 98, 42, 0.06) 72%, transparent 100%);
}
#section-profiles .hover:hover .sb-profile-shine { opacity: 1; }
#section-profiles .sb-profile-card .content { z-index: 3; }

/* ============================================================
   FAQ
   ============================================================ */
.sb-section-faq { padding: var(--sb-section-y) 0; }

.sb-faq-title { font-size: 32px; font-weight: 700; line-height: 1.25; letter-spacing: -0.5px; }
.sb-faq-item { border-bottom: 1px solid rgba(255,255,255,0.15); padding: clamp(14px, 2vw, 20px) 0; cursor: pointer; position: relative; }
.sb-faq-item:last-child { border-bottom: none; }
.sb-faq-item:first-child { padding-top: 0 !important; }
.sb-faq-item h4 { font-size: 18px; font-weight: 700; color: #fff; margin: 0; padding: 6px 40px 6px 0; min-height: 44px; display: flex; align-items: center; line-height: 1.35; }
.sb-faq-item .sb-faq-answer { color: rgba(255,255,255,0.82); font-size: 16px; margin-top: 12px; display: none; line-height: 1.6; }
.sb-faq-item.active .sb-faq-answer { display: block; }
.sb-faq-chevron {
  position: absolute;
  right: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: 0;
  transition: transform 0.3s ease;
  transform: translateY(-50%);
  flex-shrink: 0;
}
.sb-faq-item.active .sb-faq-chevron { transform: translateY(-50%) rotate(180deg); }

/* ============================================================
   BLOG
   ============================================================ */
.sb-section-blog { padding: var(--sb-section-y) 0; }

.sb-blog-card { border-radius: 14px; overflow: hidden; position: relative; height: 300px; }
.sb-blog-card img { width: 100%; height: 100%; object-fit: cover; }
.sb-blog-card .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, #0A2335 0%, rgba(10,35,53,0) 100%); }
.sb-blog-card .content { position: absolute; bottom: 20px; left: 24px; right: 24px; z-index: 2; }
.sb-blog-date { font-size: 14px; opacity: 0.8; color: #fff; }
.sb-blog-tag { background: var(--sb-primary); color: #fff; border-radius: 60px; padding: 5px 16px; font-size: 12px; text-transform: uppercase; font-weight: 500; display: inline-block; }
.sb-blog-title { font-size: 20px; font-weight: 700; color: #fff; line-height: 1.3; }

/* ============================================================
   SOCIAL CIRCLES
   ============================================================ */
.sb-social-circle {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(217,217,217,0.1); display: inline-flex; align-items: center;
  justify-content: center; color: #fff; font-size: 18px; transition: background 0.3s;
  margin: 0 3px; text-decoration: none;
}
.sb-social-circle:hover { background: rgba(217,217,217,0.2); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.sb-footer {
  padding: 48px 16px calc(56px + env(safe-area-inset-bottom, 0px));
  background-color: var(--sb-dark) !important;
}
.sb-footer-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; max-width: 800px; margin: 0 auto;
}
.sb-footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
/* Misma altura que el logo del header para consistencia de marca */
.sb-footer-logo {
  width: auto !important;
  height: var(--sb-logo-h);
  max-width: min(var(--sb-logo-max-w), 85vw);
  object-fit: contain;
  display: block;
}
.sb-footer-social { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; }
.sb-footer .sb-social-circle { margin: 0; }
.sb-footer-contact { margin-top: 28px; }
.sb-footer-contact-title { font-family: "DM Sans", sans-serif; font-size: 22px; font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.sb-footer-email { display: inline-block; margin-top: 6px; font-family: "DM Sans", sans-serif; font-size: 18px; font-weight: 300; line-height: 1.45; color: rgba(255, 255, 255, 0.92); text-decoration: none; }
.sb-footer-email:hover { color: #fff; text-decoration: underline; }

/* Section bg helper */
.sb-section-bg { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 0; pointer-events: none; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  #section-profiles .hover.sb-profile-hover,
  #section-profiles .hover.sb-profile-hover:hover,
  #section-profiles .sb-profile-card img.hover-scale-1-1 {
    transition: none; transform: none; box-shadow: none;
  }
  #section-profiles .hover:hover .hover-scale-1-1 { transform: none !important; }
}

/* ============================================================
   MOBILE  (<768px)
   ============================================================ */
@media (max-width: 767px) {
  .sb-social-sidebar { display: none; }
  .sb-hero-blob { display: none; }
  .sb-hero-badge { display: none !important; }

  .sb-hero-section { min-height: auto; }
  .sb-hero-inner { padding-top: 120px; padding-bottom: 56px; }
  .sb-hero-title-1, .sb-hero-title-2 { font-size: 36px; }
  .sb-hero-lead { font-size: 14px; max-width: 100%; }
  .sb-hero-bottom-text { font-size: 14px; }

  .sb-pill { height: 46px; padding: 0 20px; font-size: 14px; min-width: 0; width: 100%; max-width: 280px; }
  .btn-sb-primary, .btn-sb-outline, .btn-sb-cyan { padding: 10px 20px; font-size: 14px; }

  .sb-section-stats,
  .sb-section-profiles,
  .sb-section-faq,
  .sb-section-blog {
    padding: var(--sb-section-y-mobile) 0;
  }

  .sb-profile-card { height: 320px; margin-bottom: 12px; }
  .sb-stat-card-tall { height: 180px; }
  .sb-stat-card-sm { height: 100px !important; }
  .sb-stat-number { font-size: 28px; }
  .sb-stat-label { font-size: 11px; }

  .sb-section-title { font-size: 26px; }
  .sb-faq-title { font-size: 26px; }
  #section-stats h2.sb-stats-heading { font-size: 26px; }

  .sb-blog-card { height: 220px; }
  .sb-blog-title { font-size: 17px; }

  .sb-marquee-1 .fs-60, .sb-marquee-2 .fs-60 { font-size: 28px !important; }

  #section-marquee .sb-marquee-stripes {
    width: calc(100% + 40px); margin-left: -20px; margin-right: -20px;
  }
  #section-marquee.sb-marquee-section {
    background: linear-gradient(180deg, #fff 0%, #fff 52%, var(--sb-dark) 52%, var(--sb-dark) 100%) !important;
  }
}

/* ============================================================
   TABLET  (768px – 991px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 991px) {
  .sb-social-sidebar { display: none; }
  .sb-hero-blob { display: none; }
  .sb-hero-badge { display: none !important; }

  .sb-hero-inner { padding-top: 140px; padding-bottom: 64px; }
  .sb-hero-title-1, .sb-hero-title-2 { font-size: 52px; }
  .sb-hero-lead { font-size: 15px; }

  .sb-pill { height: 50px; padding: 0 24px; font-size: 15px; min-width: 180px; }
  .btn-sb-primary, .btn-sb-outline, .btn-sb-cyan { padding: 11px 24px; font-size: 15px; }

  .sb-profile-card { height: 360px; }
  .sb-stat-card-tall { height: 220px; }
  .sb-stat-card-sm { height: 110px; }

  .sb-marquee-1 .fs-60, .sb-marquee-2 .fs-60 { font-size: 36px !important; }

  #section-marquee .sb-marquee-stripes {
    width: calc(100% + 60px); margin-left: -30px; margin-right: -30px;
  }
  #section-marquee.sb-marquee-section {
    background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--sb-dark) 55%, var(--sb-dark) 100%) !important;
  }
}

/* ============================================================
   SMALL DESKTOP (992px – 1199px)
   ============================================================ */
@media (min-width: 992px) and (max-width: 1199px) {
  .sb-hero-title-1, .sb-hero-title-2 { font-size: 72px; }
  .sb-hero-lead { font-size: 17px; max-width: 400px; }
  .sb-hero-lead.sb-hero-lead-below-title { max-width: min(100%, 680px); }
  .sb-pill { height: 58px; padding: 0 30px; font-size: 18px; min-width: 220px; }

  .sb-profile-card { height: 400px; }

  header.sb-header .de-flex.sb-header-layout {
    min-height: 76px;
  }

  header.sb-header #mainmenu > li > a { font-size: 17px !important; }
  header.sb-header #mainmenu > li { margin-right: 20px; }
}

/* ============================================================
   LARGE DESKTOP  (≥1200px)
   ============================================================ */
@media (min-width: 1200px) {
  :root {
    --sb-logo-h: 46px;
    --sb-logo-max-w: 200px;
  }

  header.sb-header { height: 82px; background: #fff !important; }
  header.sb-header .de-flex { min-height: 82px; }

  header.sb-header #mainmenu > li > a { font-size: 18px !important; letter-spacing: -0.7px !important; }
  header.sb-header #mainmenu > li { margin-right: clamp(16px, 1.8vw, 30px); }

  .sb-hero-title-1, .sb-hero-title-2 { font-size: 88px !important; line-height: 1.02 !important; }
  .sb-hero-lead { font-size: 18px !important; max-width: 420px !important; }
  .sb-hero-lead.sb-hero-lead-below-title { max-width: min(100%, 800px) !important; }
  .sb-hero-inner { padding-top: 170px; padding-bottom: 80px; }

  .sb-pill { height: 62px; padding: 0 32px !important; font-size: 20px !important; min-width: 260px; }

  .sb-profile-card .content .sb-profile-inline-cta { display: none !important; }
  .sb-profiles-cta-row { margin-top: 24px; }

  #section-profiles .sb-profiles-cta-row .sb-profile-bottom-cta {
    box-sizing: border-box; width: 100%; max-width: 300px;
    min-height: 58px; border-radius: 50px; padding: 0 24px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px;
    font-weight: 400;
    font-variation-settings: "opsz" 14, "wght" 400;
    text-align: center;
    line-height: 1.2;
  }

  .sb-section-stats { padding: var(--sb-section-y-xl) 0 !important; }
  .sb-stat-number { font-size: 48px !important; line-height: 44px !important; }
  .sb-stat-label { font-size: 15px !important; }
  .sb-stat-card-tall { height: 280px; }
  .sb-stat-card-sm { height: 125px; }
  #section-stats h2.sb-stats-heading { font-size: 36px; }

  .sb-marquee-1 .fs-60, .sb-marquee-2 .fs-60 { font-size: 48px !important; }

  .sb-hero-blob.top-right { top: 60px !important; right: -100px !important; width: 620px !important; }
  .sb-hero-blob.bottom-left { bottom: -220px !important; left: -180px !important; width: 520px !important; }

  .sb-section-title { font-size: 36px; }
  .sb-section-subtitle { font-size: 17px; }

  .sb-faq-title { font-size: 36px !important; }
  .sb-faq-item:not(:first-child) { padding: 22px 0; }
  .sb-faq-item:first-child { padding-bottom: 22px; }
  .sb-faq-item h4 { font-size: 20px; }
  .sb-faq-item .sb-faq-answer { font-size: 18px; }

  .sb-blog-card { height: 320px; }
  .sb-blog-card .content { bottom: 22px; left: 28px; right: 28px; }
  .sb-blog-tag { height: 32px; padding: 6px 18px; display: inline-flex; align-items: center; font-size: 13px; }
  .sb-blog-title { font-size: 22px; }

  .sb-footer { padding: 60px 24px calc(68px + env(safe-area-inset-bottom, 0px)); }
  .sb-footer-contact-title { font-size: 24px; }
  .sb-footer-email { font-size: 20px; }
  .sb-footer-social { margin-top: 28px; gap: 14px; }
  .sb-footer-contact { margin-top: 32px; }

  .sb-profile-card { height: 460px; }
  .sb-profile-card h3 { font-size: 26px; }
  .sb-profile-card p { font-size: 16px; }
}

/* ============================================================
   EXTRA LARGE  (≥1440px) — closer to Figma 1728 original
   ============================================================ */
@media (min-width: 1440px) {
  .sb-hero-title-1, .sb-hero-title-2 { font-size: 96px !important; }
  .sb-hero-lead { font-size: 20px !important; max-width: 440px !important; }
  .sb-hero-lead.sb-hero-lead-below-title { max-width: min(100%, 880px) !important; }

  .sb-pill { height: 68px; padding: 0 36px !important; font-size: 22px !important; min-width: 300px; }

  .sb-profile-card { height: 500px; }
  .sb-stat-card-tall { height: 290px; }

  .sb-section-title { font-size: 38px; }
  .sb-faq-title { font-size: 40px !important; }
  #section-stats h2.sb-stats-heading { font-size: 38px; }
}

/* Ancho de artboard Figma (1728px): tamaño H1 del archivo — 103px (nodos 74:16 / 74:17) */
@media (min-width: 1728px) {
  .sb-hero-title-1,
  .sb-hero-title-2 { font-size: 103px !important; }
}
