/* ASCENDA · plantilla de solución "B" (Formulación de Proyectos, Beneficios Tributarios)
   Prefijo sb-. Mobile-first: móvil (390) → ≥768 tablet → ≥1100 escritorio (1440). */

:root {
  --sb-y: clamp(64px, 4.6vw + 46px, 112px);
  --sb-h1: clamp(34px, 2.1vw + 25.8px, 56px);
  --sb-h2: clamp(30px, 1.34vw + 24.8px, 44px);
  --sb-uva: #64478E;
  --sb-borgona-2: #70355C;
  --sb-line: rgba(29,18,40,.16);
  --sb-shadow-soft: 0 1px 2px rgba(29,18,40,.04), 0 8px 24px rgba(29,18,40,.05);
  --sb-shadow-fig: 0 1px 2px rgba(29,18,40,.05), 0 16px 40px rgba(29,18,40,.08);
}

/* ---------- Estructura y tipografía ---------- */
.sb-sec { padding-block: var(--sb-y); }
.sb-h1 { font-family: var(--f-display); font-weight: 800; font-size: var(--sb-h1); line-height: 1.04; letter-spacing: -.03em; color: var(--noche); text-wrap: balance; }
.sb-h2 { font-family: var(--f-display); font-weight: 800; font-size: var(--sb-h2); line-height: 1.08; letter-spacing: -.02em; color: var(--noche); text-wrap: balance; }
.bg-noche .sb-h2 { color: var(--blanco); }
.sb-lead { margin-top: 16px; font-size: var(--fs-lead); line-height: 1.6; }
.sb-intro { max-width: 820px; }
.sb-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--f-text); font-size: var(--fs-eyebrow); font-weight: 700; line-height: 1.4; letter-spacing: .12em; color: var(--noche); }
.sb-kicker::before { content: ""; width: 12px; height: 12px; flex-shrink: 0; border-radius: 3px; background: var(--citrico); }
.sb-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--nube); }
.sb-ext { flex-shrink: 0; }
.sb-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--borgona); text-decoration: none; }
.sb-link:hover { color: var(--borgona); text-decoration: underline; text-underline-offset: 3px; }
.sb-link-dark { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 16px; font-weight: 700; color: var(--nube); text-decoration: none; }
.sb-link-dark:hover { color: var(--nube); text-decoration: underline; text-underline-offset: 4px; }
.sb-link-dark:focus-visible { outline-color: var(--citrico); }
.sb-ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 999px; background: var(--citrico); display: inline-flex; align-items: center; justify-content: center; }
.sb-ic svg { stroke: var(--noche); }

@keyframes sbUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.sb-in { animation: sbUp .6s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) { .sb-in { animation: none; } }

/* ---------- Hero ---------- */
.sb-hero { padding: 28px 0 56px; }
.sb-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.sb-hero__text { display: flex; flex-direction: column; min-width: 0; }
.sb-hero__text .sb-kicker { margin-top: 28px; font-size: 12px; }
.sb-hero__name { margin-top: 12px; font-size: clamp(17px, .29vw + 15.9px, 20px); font-weight: 700; }
.sb-hero__text .sb-h1 { margin-top: 14px; }
.sb-hero__lead { margin-top: 20px; max-width: 62ch; font-size: var(--fs-lead); line-height: 1.6; }
.sb-hero__cta { margin-top: 32px; }
@media (min-width: 768px) {
  .sb-hero__cta .btn-with-note { align-items: flex-start; }
  .sb-hero__cta .note { text-align: left; }
}
@media (min-width: 1100px) {
  .sb-hero { padding: 56px 0 112px; }
  .sb-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
  .sb-hero__text .sb-kicker { margin-top: 40px; font-size: 13px; }
}

/* Escalón (Descubrir · Conectar · Acceder) */
.sb-stair { position: relative; width: 312px; max-width: 100%; height: 62px; }
.sb-stair__step { position: absolute; width: 100px; height: 32px; display: flex; align-items: center; padding-left: 12px; font-size: 12px; font-weight: 700; color: var(--noche); text-decoration: none; }
.sb-stair__step svg { position: absolute; left: 0; top: 0; width: 100%; height: 42px; overflow: visible; }
.sb-stair__step span { position: relative; }
.sb-stair__step path { transition: fill-opacity .15s ease; }
.sb-stair__step:hover { color: var(--noche); }
.sb-stair__step:hover path { fill-opacity: 1; }
.sb-stair__step:nth-child(1) { left: 0; top: 20px; }
.sb-stair__step:nth-child(1) path { fill: var(--borgona); fill-opacity: .25; }
.sb-stair__step:nth-child(2) { left: 34%; top: 10px; }
.sb-stair__step:nth-child(2) path { fill: var(--nube); fill-opacity: .25; }
.sb-stair__step:nth-child(3) { left: 68%; top: 0; }
.sb-stair__step:nth-child(3) path { fill: var(--citrico); fill-opacity: 1; }
@media (max-width: 359px) { .sb-stair__step { width: 31%; padding-left: 8px; font-size: 11.5px; } }
@media (min-width: 1100px) {
  .sb-stair { width: 412px; height: 78px; }
  .sb-stair__step { width: 132px; height: 36px; font-size: 13px; }
  .sb-stair__step svg { height: 50px; }
  .sb-stair__step:nth-child(1) { top: 28px; }
  .sb-stair__step:nth-child(2) { left: 140px; top: 14px; }
  .sb-stair__step:nth-child(3) { left: 280px; }
}

/* ---------- Documento ilustrativo "Proyecto formulado" ---------- */
.sb-doc { margin: 0; color: var(--noche); background: var(--blanco); border: 1px solid var(--algodon); border-radius: 24px; overflow: hidden; box-shadow: var(--sb-shadow-fig); }
.sb-doc::before { content: ""; display: block; height: 6px; background: var(--citrico); }
.sb-doc__body { padding: 18px; }
.sb-doc figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sb-doc__title { font-family: var(--f-display); font-weight: 700; font-size: 17px; color: var(--noche); }
.sb-badge { padding: 4px 10px; border-radius: 999px; background: var(--algodon); font-size: 12px; font-weight: 700; line-height: 1.5; color: var(--noche); white-space: nowrap; }
.sb-doc__tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.sb-doc__tabs span { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 10px 10px 0 0; font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; background: var(--algodon); }
.sb-doc__tabs span:first-child { background: var(--blanco); box-shadow: inset 0 3px 0 var(--citrico); }
.sb-doc__page { border: 1px solid var(--algodon); border-radius: 0 12px 12px 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sb-doc__h { font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.sb-doc__h + .sb-ln { margin-top: 0; }
.sb-ln + .sb-doc__h { margin-top: 8px; }
.sb-ln { display: block; height: 8px; width: var(--w, 90%); border-radius: 4px; background: var(--sb-line); }
.sb-doc__table { margin-top: 8px; display: flex; flex-direction: column; }
.sb-doc__row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--algodon); }
.sb-doc__row .sb-ln:nth-child(1) { --w: 80%; }
.sb-doc__row .sb-ln:nth-child(2) { --w: 60%; }
.sb-doc__row .sb-ln:nth-child(3) { --w: 70%; }
.sb-doc--lg .sb-doc__tabs span { padding: 9px 14px; font-size: 12.5px; }
.sb-doc--lg .sb-doc__page { padding: 20px; }
.sb-doc--lg .sb-doc__h { font-size: 14px; }
@media (min-width: 1100px) {
  .sb-doc--lg .sb-doc__body { padding: 28px; }
  .sb-doc--lg .sb-doc__title { font-size: 21px; }
}

/* ---------- ¿Es para ti? ---------- */
.sb-quotes { margin-top: 28px; display: grid; gap: 14px; }
.sb-quotes li { background: var(--blanco); border-radius: 20px; overflow: hidden; box-shadow: var(--sb-shadow-soft); }
.sb-quotes li::before { content: ""; display: block; height: 6px; background: var(--citrico); }
.sb-quotes p { padding: 24px; font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, .29vw + 18.9px, 23px); line-height: 1.28; letter-spacing: -.01em; }
@media (min-width: 900px) {
  .sb-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1100px) {
  .sb-quotes { margin-top: 40px; }
  .sb-quotes p { padding: 32px; }
}

/* ---------- Dos formas de llegar ---------- */
.sb-two { margin-top: 28px; display: flex; flex-direction: column; }
.sb-two__grid { display: flex; flex-direction: column; gap: 12px; }
.sb-two__item { display: flex; flex-direction: column; gap: 16px; }
.sb-two__mock { min-height: 196px; background: var(--blanco); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 2px rgba(29,18,40,.05), 0 10px 28px rgba(29,18,40,.07); }
.sb-two__mock--center { align-items: center; justify-content: center; }
.sb-two__ent { font-size: 12.5px; font-weight: 700; }
.sb-two__conv { font-family: var(--f-display); font-weight: 700; font-size: 17px; line-height: 1.2; }
.sb-two__fake-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--borgona); color: var(--blanco); font-size: 13px; font-weight: 700; }
.sb-two__big-ic { width: 96px; height: 96px; }
.sb-two h3 { font-family: var(--f-text); font-size: 18px; font-weight: 700; line-height: 1.35; }
.sb-two__item p { margin-top: 8px; line-height: 1.55; }
.sb-two__v { align-self: center; width: 0; height: 36px; border-left: 1.5px solid rgba(29,18,40,.4); }
.sb-two__v--after { margin-top: 12px; margin-bottom: 12px; }
.sb-two__join { display: none; }
.sb-two__end { width: 150px; height: 150px; align-self: center; border-radius: 999px; background: var(--citrico); display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.2; }
@media (min-width: 768px) {
  .sb-two__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4.5vw, 64px); }
  .sb-two__grid .sb-two__v, .sb-two__v--after { display: none; }
  .sb-two__join { display: block; width: 100%; height: clamp(80px, 7.6vw, 110px); margin-top: 24px; }
  .sb-two__end { width: 176px; height: 176px; font-size: 20px; }
}
@media (min-width: 1100px) { .sb-two { margin-top: 48px; } }

/* ---------- Qué hace una buena formulación ---------- */
.sb-good { margin-top: 28px; display: grid; gap: 12px; }
.sb-good li { display: flex; align-items: center; gap: 16px; padding: 22px; background: var(--blanco); border: 1px solid var(--algodon); border-radius: 20px; box-shadow: var(--sb-shadow-soft); }
.sb-good p { font-size: clamp(16px, .19vw + 15.3px, 18px); font-weight: 700; line-height: 1.4; }
@media (min-width: 900px) {
  .sb-good { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .sb-good li { flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px; }
}
@media (min-width: 1100px) { .sb-good { margin-top: 40px; } }

/* ---------- Cómo funciona (4 pasos) ---------- */
.sb-steps { margin-top: 28px; display: flex; flex-direction: column; counter-reset: none; }
.sb-step { position: relative; display: flex; gap: 16px; }
.sb-step__rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 48px; }
.sb-step__num { width: 48px; height: 48px; flex-shrink: 0; border-radius: 999px; background: var(--citrico); color: var(--noche); display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.sb-step__con { flex-grow: 1; min-height: 84px; margin: 8px 0; display: flex; align-items: center; justify-content: center; }
.sb-step__con svg { display: block; max-width: none; transform: rotate(90deg); }
.sb-step__body { padding: 4px 0 20px; }
.sb-step:last-child .sb-step__body { padding-bottom: 0; }
.sb-step h3 { font-family: var(--f-text); font-size: 17px; font-weight: 700; line-height: 1.3; }
.sb-step p { margin-top: 8px; font-size: 15px; line-height: 1.6; }
@media (min-width: 768px) {
  .sb-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .sb-step { flex-direction: column; gap: 0; }
  .sb-step__rail { width: auto; align-items: flex-start; }
  .sb-step__con { display: none; }
  .sb-step__body { padding: 22px 0 0; }
  .sb-step h3 { font-size: 18px; }
  .sb-step p { margin-top: 10px; font-size: 15.5px; }
  .sb-step__num { width: 56px; height: 56px; font-size: 24px; }
}
@media (min-width: 1100px) {
  .sb-steps { margin-top: 48px; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 108px; }
  .sb-step__con { display: block; position: absolute; left: calc(100% + 16px); top: 14px; margin: 0; min-height: 0; }
  .sb-step__con svg { transform: none; }
  .sb-step:last-child .sb-step__con { display: none; }
}

/* ---------- Qué recibes ---------- */
.sb-receive { display: grid; gap: 32px; align-items: center; }
.sb-checks { display: flex; flex-direction: column; gap: 16px; }
.sb-checks li { display: flex; gap: 14px; align-items: flex-start; font-size: clamp(16px, .1vw + 15.6px, 17px); line-height: 1.55; }
.sb-checks li::before { content: ""; width: 24px; height: 24px; flex-shrink: 0; border-radius: 999px; background: var(--citrico) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231D1228' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.sb-receive .sb-checks { margin-top: 24px; }
.sb-mech__t { margin-top: 28px; font-size: 15px; font-weight: 700; }
.sb-chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.sb-chips li { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--blanco); font-size: 13px; font-weight: 700; line-height: 1.4; }
@media (min-width: 1100px) {
  .sb-receive { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .sb-receive .sb-checks { margin-top: 32px; }
}

/* ---------- Tarjeta de oportunidad (plataforma) ---------- */
.sb-opp { background: var(--blanco); color: var(--noche); border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.sb-opp__cat { font-size: 12px; font-weight: 700; line-height: 1.3; color: rgba(29,18,40,.84); }
.sb-opp__t { font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, .1vw + 18.6px, 20px); line-height: 1.2; }
.sb-opp__fit { margin-top: 6px; font-size: 12.5px; font-weight: 700; }
.sb-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.2; color: var(--noche); }
.sb-pill svg { flex-shrink: 0; }
.sb-pill--fin { background: var(--nube); }
.sb-pill--tax { background: rgba(76,32,57,.12); color: var(--borgona); }
.sb-pill--coop { background: rgba(202,242,59,.4); }
.sb-pills--top { margin-top: 6px; }

/* ---------- Plataforma (fondo Noche) ---------- */
.sb-platform__intro { max-width: 760px; }
.sb-platform__intro p { margin-top: 18px; font-size: var(--fs-lead); line-height: 1.6; color: var(--algodon); }
.sb-flow { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.sb-flow__col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sb-flow__arrow { display: flex; justify-content: center; }
.sb-flow__arrow svg { display: block; transform: rotate(90deg); }
.sb-platform__more { margin-top: 24px; }
@media (min-width: 900px) {
  .sb-flow { display: grid; grid-template-columns: minmax(0, 1fr) clamp(80px, 8.3vw, 120px) minmax(0, 1fr); align-items: center; gap: 0; }
  .sb-flow__arrow { padding-top: 28px; }
  .sb-flow__arrow svg { transform: none; }
}
@media (min-width: 1100px) {
  .sb-flow { margin-top: 56px; }
  .sb-platform__more { margin-top: 40px; }
}

/* Variante en dos columnas (Beneficios) */
.sb-split { display: grid; gap: 24px; align-items: center; }
.sb-split .sb-platform__intro p { margin-top: 16px; }
.sb-split .sb-platform__more { margin-top: 20px; }
.sb-split .sb-opp { border-radius: 20px; padding: 22px 24px; }
@media (min-width: 900px) { .sb-split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 4.5vw, 64px); } }
.sb-split .sb-h2, .sb-platform .sb-h2 { font-size: clamp(26px, 1.34vw + 20.8px, 40px); }

/* ---------- Resultados (fondo Borgoña) ---------- */
.sb-results__label { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .12em; color: var(--nube); font-family: var(--f-text); }
.sb-case { background: var(--sb-borgona-2); color: var(--algodon); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; }
.sb-case__logo { width: 120px; height: 56px; padding: 8px 12px; border-radius: 12px; background: var(--blanco); display: flex; align-items: center; justify-content: center; }
.sb-case__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sb-case h3 { margin-top: 24px; font-family: var(--f-display); font-weight: 700; font-size: clamp(21px, .19vw + 20.3px, 23px); line-height: 1.22; letter-spacing: -.01em; color: var(--citrico); }
.sb-case blockquote { margin-top: 16px; }
.sb-case blockquote p { font-size: 15.5px; line-height: 1.6; }
.sb-case__who { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 2px; }
.sb-case__name { font-size: 15px; font-weight: 700; color: var(--blanco); }
.sb-case__role { font-size: 14px; line-height: 1.4; color: var(--nube); }

/* Un solo caso (Formulación) */
.sb-onecase { display: flex; flex-direction: column; align-items: stretch; }
.sb-onecase .sb-results__label { margin-bottom: 24px; }
.sb-onecase .sb-case h3 { margin-top: 28px; font-size: 24px; }
.sb-onecase .sb-case blockquote p { font-size: 16px; }
@media (min-width: 768px) {
  .sb-onecase { align-items: center; }
  .sb-onecase .sb-case { max-width: 560px; padding: 32px; }
}

/* Varios casos: carrusel en móvil/tablet, rejilla en escritorio */
.sb-cases { margin-top: 28px; color: var(--nube); }
.sb-cases [data-carousel-track] { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); gap: 14px; }
.sb-cases [data-carousel-track]::after { content: ""; flex: 0 0 1px; }
.sb-cases .sb-case { flex: 0 0 min(300px, 82vw); }
.sb-cases.is-static .carousel-dots { display: none; }
@media (min-width: 900px) {
  .sb-cases [data-carousel-track] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; overflow: visible; }
  .sb-cases [data-carousel-track]::after { content: none; }
  .sb-cases .carousel-dots { display: none; }
}
@media (min-width: 1100px) { .sb-cases .sb-case { padding: 32px; } }

/* ---------- Siguiente paso (C8 + C10) ---------- */
.sb-next { display: grid; gap: 40px; align-items: end; }
.sb-next__lead { margin-top: 14px; font-size: var(--fs-lead); line-height: 1.6; }
.sb-cards { margin-top: 28px; display: grid; gap: 14px; }
.sb-ncard { height: 100%; display: flex; flex-direction: column; background: var(--blanco); border: 1px solid var(--algodon); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--noche); box-shadow: var(--sb-shadow-soft); transition: box-shadow .15s ease; }
.sb-ncard::before { content: ""; height: 6px; background: var(--nube); }
.sb-ncard:hover { color: var(--noche); box-shadow: 0 1px 2px rgba(29,18,40,.06), 0 14px 32px rgba(29,18,40,.10); }
.sb-ncard__in { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.sb-ncard__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.sb-ncard__tag::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--nube); box-shadow: inset 0 0 0 1px rgba(29,18,40,.12); }
.sb-ncard__t { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.sb-ncard__d { font-size: 15px; line-height: 1.55; }
.sb-ncard__go { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 700; color: var(--borgona); }
.sb-ncard:hover .sb-ncard__go { text-decoration: underline; text-underline-offset: 3px; }
.sb-work { background: var(--blanco); border: 1px solid var(--algodon); border-radius: 24px; padding: 24px; }
.sb-work h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, .76vw + 21px, 32px); line-height: 1.12; letter-spacing: -.015em; }
.sb-work p { margin-top: 14px; font-size: clamp(15.5px, .24vw + 14.6px, 18px); line-height: 1.6; }
.sb-next .sb-work h2 { font-size: clamp(24px, .38vw + 22.5px, 28px); }
.sb-next .sb-work p { font-size: clamp(15.5px, .14vw + 14.9px, 17px); }
@media (min-width: 768px) {
  .sb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .sb-work { padding: 36px; }
}
@media (min-width: 1100px) {
  .sb-next { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; }
  .sb-work--solo { max-width: 860px; padding: 40px; }
}

/* ---------- Preguntas frecuentes ---------- */
.sb-faq { display: grid; gap: 24px; align-items: start; }
.sb-faq__intro p { margin-top: 14px; font-size: clamp(16px, .1vw + 15.6px, 17px); line-height: 1.6; }
.sb-faq .faq { border: 0; display: flex; flex-direction: column; gap: 10px; }
.sb-faq .faq__item { border: 0; background: var(--blanco); border-radius: 16px; box-shadow: 0 1px 2px rgba(29,18,40,.05); }
.sb-faq .faq__btn { margin: 0; width: 100%; min-height: 60px; padding: 16px 18px; border-radius: 16px; font-size: clamp(16px, .1vw + 15.6px, 17px); line-height: 1.35; }
.sb-faq .faq__chev { stroke: var(--borgona); }
.sb-faq .faq__ans { padding: 0 18px 20px; }
@media (min-width: 1100px) {
  .sb-faq { grid-template-columns: minmax(0, 7fr) minmax(0, 13fr); gap: 56px; }
  .sb-faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
  .sb-faq .faq { gap: 12px; }
  .sb-faq .faq__btn { min-height: 68px; padding: 18px 24px; }
  .sb-faq .faq__ans { padding: 0 24px 22px; }
}

/* ---------- Llamado final (fondo Nube) ---------- */
.sb-final { padding: 64px 0 72px; }
.sb-final__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sb-final .sb-h2 { font-size: clamp(30px, 1.71vw + 23.3px, 48px); max-width: 22ch; }
.sb-final__cta { margin-top: 28px; align-self: stretch; justify-content: center; }
.sb-final__alt { margin-top: 16px; font-size: 15px; line-height: 1.6; }
.sb-final__alt a[href^="tel"] { white-space: nowrap; }
@media (min-width: 768px) { .sb-final__cta { align-self: center; } }
@media (min-width: 1100px) { .sb-final { padding: 96px 0 104px; } .sb-final .sb-h2 { max-width: none; } }

/* =========================================================
   Beneficios Tributarios
   ========================================================= */

/* Pila de capítulos en el hero */
.sb-capstack { position: relative; width: 310px; max-width: 100%; height: 244px; margin-inline: auto; }
.sb-capcard { position: absolute; width: 74.2%; height: 76px; display: flex; align-items: center; gap: 14px; padding: 0 18px; background: var(--blanco); border: 1px solid var(--algodon); border-radius: 18px; box-shadow: 0 1px 2px rgba(29,18,40,.05), 0 12px 30px rgba(29,18,40,.08); color: var(--noche); text-decoration: none; transition: box-shadow .15s ease; }
.sb-capcard:hover { color: var(--noche); box-shadow: 0 1px 2px rgba(29,18,40,.06), 0 16px 36px rgba(29,18,40,.12); }
.sb-capcard__ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--citrico); display: inline-flex; align-items: center; justify-content: center; }
.sb-capcard__t { font-family: var(--f-display); font-weight: 700; font-size: 21px; }
.sb-capcard__arrow { margin-left: auto; font-weight: 700; }
.sb-capcard:nth-child(1) { left: 0; top: 168px; }
.sb-capcard:nth-child(2) { left: 12.9%; top: 84px; animation-delay: .1s; }
.sb-capcard:nth-child(3) { left: 25.8%; top: 0; animation-delay: .2s; }
@media (max-width: 359px) { .sb-capcard { width: 80%; gap: 10px; padding: 0 12px; } .sb-capcard:nth-child(2) { left: 10%; } .sb-capcard:nth-child(3) { left: 20%; } .sb-capcard__t { font-size: 19px; } }
@media (min-width: 1100px) {
  .sb-capstack { width: 410px; height: 316px; }
  .sb-capcard { width: 270px; height: 92px; }
  .sb-capcard__ic { width: 48px; height: 48px; }
  .sb-capcard__ic svg { width: 24px; height: 24px; }
  .sb-capcard__t { font-size: 24px; }
  .sb-capcard:nth-child(1) { top: 224px; }
  .sb-capcard:nth-child(2) { left: 70px; top: 112px; }
  .sb-capcard:nth-child(3) { left: 140px; }
}

/* ¿Qué es? */
.sb-what p { margin-top: 16px; max-width: 720px; font-size: clamp(16px, .29vw + 14.9px, 19px); line-height: 1.65; }
.sb-what { padding-block: clamp(56px, 3.8vw + 41px, 96px); }

/* Navegación de capítulos (fija bajo el header) */
.sb-chapters { --sb-nav-h: 65px; }
.sb-capnav { position: sticky; top: var(--header-h); z-index: 15; background: var(--blanco); border-bottom: 1px solid var(--algodon); box-shadow: 0 6px 16px rgba(29,18,40,.05); padding: 10px 12px; }
.sb-capnav ul { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; display: flex; gap: 8px; }
.sb-capnav li { flex: 1 1 0; min-width: 0; }
.sb-capnav a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 8px; border-radius: 12px; color: var(--noche); text-decoration: none; font-size: 13px; font-weight: 700; transition: background-color .15s ease; }
.sb-capnav a:hover { background: rgba(202,242,59,.35); color: var(--noche); }
.sb-capnav a[aria-current="true"] { background: var(--citrico); }
.sb-capnav svg { flex-shrink: 0; }
@media (max-width: 359px) { .sb-capnav svg { display: none; } }
@media (min-width: 768px) {
  .sb-chapters { --sb-nav-h: 73px; }
  .sb-capnav { padding: 12px var(--gutter); }
  .sb-capnav a { height: 48px; padding: 0 18px; font-size: 15px; }
}

/* Capítulo */
.sb-cap { scroll-margin-top: calc(var(--sb-nav-h) - 16px); padding-block: 64px; }
@media (min-width: 1100px) { .sb-cap { padding-block: 104px; } }
.sb-cap__head { display: flex; flex-direction: column; gap: 18px; }
.sb-cap__ic { width: 64px; height: 64px; flex-shrink: 0; border-radius: 20px; background: var(--citrico); display: inline-flex; align-items: center; justify-content: center; }
.sb-cap__ic svg { width: 32px; height: 32px; }
.sb-cap__head .sb-h2 { font-size: clamp(30px, 1.71vw + 23.3px, 48px); letter-spacing: -.025em; }
.sb-cap__src { margin-top: 18px; font-size: clamp(16px, .29vw + 14.9px, 19px); font-weight: 700; }
.sb-block { margin-top: 40px; }
.sb-block--tight { margin-top: 24px; }
.sb-block > p { margin-top: 12px; max-width: 760px; font-size: clamp(16px, .19vw + 15.3px, 18px); line-height: 1.6; }
.sb-block > .sb-need { margin-top: 14px; max-width: 860px; font-size: clamp(16px, .1vw + 15.6px, 17px); }
.sb-block .sb-checks { margin-top: 18px; max-width: 860px; gap: 14px; }
@media (min-width: 768px) {
  .sb-cap__head { flex-direction: row; align-items: center; gap: 28px; }
  .sb-cap__ic { width: 88px; height: 88px; }
  .sb-cap__ic svg { width: 44px; height: 44px; }
}
@media (min-width: 1100px) {
  .sb-block { margin-top: 56px; }
  .sb-block--tight { margin-top: 32px; }
}

/* Ejemplos "Para qué sirve" */
.sb-examples { margin-top: 18px; display: grid; gap: 12px; }
.sb-examples li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--blanco); border: 1px solid var(--algodon); border-radius: 16px; font-size: 15px; line-height: 1.5; }
.sb-examples .sb-ic { width: 40px; height: 40px; }
@media (min-width: 768px) { .sb-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .sb-examples { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sb-examples--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .sb-examples { margin-top: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .sb-examples--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sb-examples li { flex-direction: column; align-items: flex-start; padding: 22px; border-radius: 18px; font-size: 16px; }
  .sb-examples .sb-ic { width: 44px; height: 44px; }
}

/* Qué ganas (panel Noche) */
.sb-gain { background: var(--noche); color: var(--algodon); border-radius: 28px; padding: 28px 22px; }
.sb-gain .sb-gain__k { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--citrico); }
.sb-gain__lead { margin-top: 14px; max-width: 720px; font-size: clamp(16px, .29vw + 14.9px, 19px); line-height: 1.55; }
.sb-gain__duo { margin-top: 28px; display: grid; gap: 24px; }
.sb-gain__fig { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--noche-linea); }
.sb-gain__who { font-size: 15px; font-weight: 700; color: var(--nube); }
.sb-gain__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 1.9vw + 36.6px, 64px); line-height: 1; letter-spacing: -.02em; color: var(--citrico); }
.sb-gain__txt { font-size: clamp(15.5px, .14vw + 14.9px, 17px); line-height: 1.55; }
.sb-gain__big { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.sb-gain__pct { font-family: var(--f-display); font-weight: 800; font-size: clamp(72px, 4.6vw + 54px, 120px); line-height: 1; letter-spacing: -.03em; color: var(--citrico); white-space: nowrap; }
.sb-gain__big p { max-width: 620px; font-size: clamp(16px, .19vw + 15.3px, 18px); line-height: 1.6; }
.sb-gain__tiles { margin-top: 24px; display: grid; gap: 16px; }
.sb-gain__tile { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--noche-linea); border-radius: 18px; }
.sb-gain__tile svg { stroke: var(--citrico); }
.sb-gain__tile strong { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, .57vw + 25.8px, 34px); line-height: 1.1; color: var(--citrico); }
.sb-gain__tile span { font-size: 15.5px; line-height: 1.55; }
@media (min-width: 768px) {
  .sb-gain { padding: 40px; }
  .sb-gain__duo, .sb-gain__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-gain__duo { gap: 40px; }
  .sb-gain__big { flex-direction: row; align-items: center; gap: 40px; }
}
@media (min-width: 1100px) {
  .sb-gain { padding: 48px 56px; }
  .sb-gain__duo { gap: 48px; }
  .sb-gain__big { gap: 48px; }
}

/* Formas de participar */
.sb-ways { margin-top: 18px; display: grid; gap: 12px; }
.sb-ways li { background: var(--blanco); border-radius: 18px; overflow: hidden; }
.sb-ways li::before { content: ""; display: block; height: 6px; background: var(--citrico); }
.sb-ways__in { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.sb-ways h4 { font-family: var(--f-text); font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.sb-ways p { font-size: 15px; line-height: 1.55; }
.sb-ways__all { margin-top: 16px; font-size: 15.5px; font-weight: 700; }
@media (min-width: 900px) { .sb-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

/* Cómo es el camino */
.sb-path { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.sb-path li { display: flex; flex-direction: column; gap: 6px; }
.sb-path__row { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 700; line-height: 1.4; }
.sb-path__num { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: var(--citrico); display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 800; font-size: 17px; }
.sb-path__con { display: flex; align-items: center; gap: 6px; padding-left: 10px; }
.sb-path__con svg { flex-shrink: 0; max-width: none; transform: rotate(90deg); }
.sb-path__con span { display: none; width: 28px; height: 2px; background: var(--sb-uva); }
.sb-path li:last-child .sb-path__con { display: none; }
@media (min-width: 768px) {
  .sb-path { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(64px, 6vw, 86px); }
  .sb-path li { position: relative; }
  .sb-path__row { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 15.5px; }
  .sb-path__con { position: absolute; left: calc(100% + clamp(6px, 1.1vw, 16px)); top: 10px; padding: 0; }
  .sb-path__con svg { transform: none; }
  .sb-path__con span { display: block; width: clamp(20px, 2vw, 28px); }
}

/* Recuadro "Lo que debes saber" */
.sb-know { display: flex; gap: 16px; align-items: flex-start; border: 1.5px solid rgba(29,18,40,.22); border-radius: 20px; padding: 20px; }
.sb-know .sb-ic { width: 40px; height: 40px; }
.sb-know h3 { font-family: var(--f-text); font-size: 16px; font-weight: 700; line-height: 1.4; }
.sb-know p { margin-top: 6px; font-size: clamp(15px, .14vw + 14.4px, 16.5px); line-height: 1.55; }
@media (min-width: 1100px) { .sb-know { padding: 24px 28px; } }

/* ¿Vendes soluciones de energía? */
.sb-partner { background: var(--borgona); color: var(--blanco); border-radius: 24px; padding: 24px; display: grid; gap: 12px; align-items: center; }
.sb-partner h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, .38vw + 22.5px, 28px); line-height: 1.2; color: var(--blanco); }
.sb-partner p { margin-top: 10px; max-width: 720px; font-size: clamp(15.5px, .14vw + 14.9px, 17px); line-height: 1.6; }
@media (min-width: 900px) {
  .sb-partner { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; padding: 36px 40px; }
  .sb-partner .sb-link-dark { white-space: nowrap; }
}

/* Nota legal */
.sb-legal { padding: 28px 0; border-top: 1px solid var(--algodon); }
.sb-legal p { margin: 0 auto; max-width: 760px; text-align: center; font-size: 14px; line-height: 1.55; }
@media (min-width: 1100px) { .sb-legal { padding: 36px 0; } }

.sb-howwork { padding-block: clamp(56px, 3.8vw + 41px, 96px); }
.sb-cases [data-carousel-track]:focus-visible { outline-color: var(--citrico); outline-offset: 4px; }
