/* About — secciones B2B célula ES (vs hire, contrato, Scrum, stack) */

.about-b2b {
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 40px);
  background: linear-gradient(180deg, #10100f 0%, #141615 50%, #0e0e0d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--mws-white, #d5d5d5);
}

.about-b2b--alt {
  background: linear-gradient(180deg, #0e0e0d 0%, #12110f 55%, #10100f 100%);
}

.about-b2b__inner {
  max-width: 1040px;
  margin: 0 auto;
}

.about-b2b__inner:has(.about-b2b__pricing--three) {
  max-width: 1180px;
}

.about-b2b__header {
  max-width: 62ch;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.about-b2b__eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mws-green, #c9ff00);
}

.about-b2b__title {
  margin: 0 0 12px;
  font-family: var(--font-primary);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--mws-white, #d5d5d5);
}

.about-b2b__lead {
  margin: 0;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  color: rgba(213, 213, 213, 0.78);
}

.about-b2b__lead strong {
  color: var(--mws-white, #d5d5d5);
  font-weight: 600;
}

/* Beneficios: lectura rápida para CTO / People / Compras */
.about-b2b__benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}

.about-b2b__benefit {
  padding: 6px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-b2b__benefit i {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: var(--mws-green, #c9ff00);
}

.about-b2b__benefit h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--mws-white, #d5d5d5);
}

.about-b2b__benefit p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(213, 213, 213, 0.7);
}

/* Comparativa */
.about-b2b__compare {
  display: grid;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.about-b2b__compare-head,
.about-b2b__compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.about-b2b__compare-head {
  background: rgba(201, 255, 0, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-b2b__compare-row + .about-b2b__compare-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-b2b__compare-cell {
  padding: 14px 16px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(213, 213, 213, 0.85);
}

.about-b2b__compare-cell--label {
  font-weight: 600;
  color: var(--mws-white, #d5d5d5);
}

.about-b2b__compare-cell--muted {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(213, 213, 213, 0.55);
}

.about-b2b__compare-cell--accent {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mws-green, #c9ff00);
}

/* Comparativa 3 vías: nómina | dev | célula */
.about-b2b__compare--three .about-b2b__compare-head,
.about-b2b__compare--three .about-b2b__compare-row {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.about-b2b__compare--three .about-b2b__compare-row .about-b2b__compare-cell:nth-child(3) {
  background: rgba(255, 255, 255, 0.02);
}

.about-b2b__compare--three .about-b2b__compare-row .about-b2b__compare-cell:last-child {
  background: rgba(201, 255, 0, 0.04);
}

/* Pasos contratación */
.about-b2b__steps {
  list-style: none;
  margin: 0 0 clamp(28px, 4vw, 36px);
  padding: 0;
  display: grid;
  gap: 16px;
}

.about-b2b__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.about-b2b__step-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  color: #0c0c0b;
  background: var(--mws-green, #c9ff00);
}

.about-b2b__step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mws-white, #d5d5d5);
}

.about-b2b__step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(213, 213, 213, 0.75);
}

.about-b2b__catalog {
  margin-bottom: 28px;
}

.about-b2b__row-head {
  max-width: 62ch;
  margin: 0 0 18px;
}

.about-b2b__row-head--spaced {
  margin-top: clamp(36px, 5vw, 52px);
}

.about-b2b__row-title {
  margin: 0 0 8px;
  font-family: var(--font-primary);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mws-white, #d5d5d5);
}

.about-b2b__row-lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(213, 213, 213, 0.72);
}

.about-b2b__pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.about-b2b__pricing--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  margin-bottom: 0;
}

.about-b2b__pricing--stack {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

/* Equipo dedicado: paquetes + imagen del servicio */
.about-offer-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.about-offer-split__media {
  margin: 0;
  position: sticky;
  top: 88px;
}

.about-offer-split__frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(201, 255, 0, 0.22);
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(201, 255, 0, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 60px rgba(0, 0, 0, 0.45);
}

.about-offer-split__img,
.about-offer-split__frame picture,
.about-offer-split__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 35%;
}

.about-offer-split__cap {
  margin: 12px 2px 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(213, 213, 213, 0.62);
}

.about-b2b__price-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.about-b2b__price-card--accent {
  border-color: rgba(201, 255, 0, 0.35);
  box-shadow: 0 0 40px rgba(201, 255, 0, 0.08);
}

.about-b2b__price-badge {
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0c0c0b;
  background: rgba(213, 213, 213, 0.85);
}

.about-b2b__price-badge--hot {
  background: var(--mws-green, #c9ff00);
}

.about-b2b__price-badge--warm {
  background: #e8c47a;
}

.about-b2b__price-badge--cool {
  background: #8ec8ff;
}

.about-b2b__price-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mws-white, #d5d5d5);
}

.about-b2b__price-tagline {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(213, 213, 213, 0.72);
}

.about-b2b__price-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mws-green, #c9ff00);
}

.about-b2b__price-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(213, 213, 213, 0.55);
}

.about-b2b__price-value {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mws-white, #d5d5d5);
}

.about-b2b__price-value span {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--mws-green, #c9ff00);
}

.about-b2b__price-note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(213, 213, 213, 0.65);
}

.about-b2b__price-note strong {
  color: var(--mws-white, #d5d5d5);
  font-weight: 600;
}

.about-b2b__tiers {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.about-b2b__tier {
  padding: 12px 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.about-b2b__tier-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.about-b2b__tier-head strong {
  font-size: 0.95rem;
  color: var(--mws-white, #d5d5d5);
}

.about-b2b__tier-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--mws-white, #d5d5d5);
  white-space: nowrap;
}

.about-b2b__tier-price span {
  font-size: 0.65em;
  font-weight: 600;
  color: var(--mws-green, #c9ff00);
}

.about-b2b__tier-profile {
  margin: 0 0 6px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(213, 213, 213, 0.65);
}

.about-b2b__tier-promo {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: rgba(213, 213, 213, 0.7);
}

.about-b2b__tier-promo strong {
  color: var(--mws-green, #c9ff00);
}

.about-b2b__tier-cta {
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0c0c0b;
  background: var(--mws-green, #c9ff00);
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
}

.about-b2b__tier-cta:hover {
  filter: brightness(1.05);
}

.about-b2b__feat-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.about-b2b__feat-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(213, 213, 213, 0.78);
}

.about-b2b__feat-list i {
  margin-top: 2px;
  color: var(--mws-green, #c9ff00);
  font-size: 0.75rem;
}

.about-b2b__feat-list--out li {
  color: rgba(213, 213, 213, 0.48);
}

.about-b2b__feat-list--out i {
  color: rgba(213, 213, 213, 0.35);
}

.about-b2b__card-cta {
  margin-top: auto;
  padding-top: 12px;
}

.about-b2b__billing {
  margin: 8px 0 24px;
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.about-b2b__billing-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mws-white, #d5d5d5);
}

.about-b2b__billing-grid {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.about-b2b__billing-grid li {
  display: grid;
  gap: 4px;
}

.about-b2b__billing-grid strong {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mws-green, #c9ff00);
}

.about-b2b__billing-grid span {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(213, 213, 213, 0.75);
}

.about-b2b__disclaimer {
  margin: 0 0 24px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(213, 213, 213, 0.5);
  max-width: 70ch;
}

.about-b2b__billing .about-b2b__disclaimer {
  margin-bottom: 0;
}

.about-b2b__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Timeline Scrum */
.about-b2b__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 2px solid rgba(201, 255, 0, 0.25);
  margin-left: 10px;
}

.about-b2b__timeline-item {
  position: relative;
  padding: 0 0 28px 28px;
}

.about-b2b__timeline-item:last-child {
  padding-bottom: 0;
}

.about-b2b__timeline-dot {
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mws-green, #c9ff00);
  box-shadow: 0 0 12px rgba(201, 255, 0, 0.5);
}

.about-b2b__timeline-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mws-white, #d5d5d5);
}

.about-b2b__timeline-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(213, 213, 213, 0.75);
  max-width: 56ch;
}

/* Stack */
.about-b2b__stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-b2b__stack-card {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.about-b2b__stack-card i {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--mws-green, #c9ff00);
}

.about-b2b__stack-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mws-white, #d5d5d5);
}

.about-b2b__stack-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(213, 213, 213, 0.72);
}

/* FAQ visible + FAQPage JSON-LD */
.about-b2b__faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.about-b2b__faq {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-b2b__faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: var(--mws-white, #d5d5d5);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.about-b2b__faq summary i {
  color: var(--mws-green, #c9ff00);
  transition: transform 0.2s ease;
}

.about-b2b__faq[open] summary i {
  transform: rotate(45deg);
}

.about-b2b__faq p {
  margin: -4px 0 20px;
  max-width: 72ch;
  color: rgba(213, 213, 213, 0.72);
  line-height: 1.65;
}

/* Scrum — dos columnas + carrusel CRM */
.about-b2b__inner--wide {
  max-width: 1180px;
}

.about-b2b__header--compact {
  margin-bottom: 22px;
}

.about-scrum {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.about-scrum__copy .about-b2b__timeline {
  margin-left: 8px;
}

.about-scrum-carousel {
  position: sticky;
  top: 88px;
  outline: none;
}

.about-scrum-carousel__viewport {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(201, 255, 0, 0.22);
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(201, 255, 0, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 60px rgba(0, 0, 0, 0.45);
}

.about-scrum-carousel__track {
  --scrum-i: 2;
  display: grid;
  grid-template-columns: repeat(3, 100%);
  width: 100%;
  transform: translate3d(calc(var(--scrum-i) * -100%), 0, 0);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-scrum-carousel__slide {
  margin: 0;
  position: relative;
  min-width: 100%;
}

.about-scrum-carousel__img,
.about-scrum-carousel__slide picture,
.about-scrum-carousel__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.about-scrum-carousel__cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0c0c0b;
  background: var(--mws-green, #c9ff00);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.about-scrum-carousel__chrome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.about-scrum-carousel__nav {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--mws-white, #d5d5d5);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.about-scrum-carousel__nav:hover {
  border-color: rgba(201, 255, 0, 0.45);
  background: rgba(201, 255, 0, 0.12);
  color: var(--mws-green, #c9ff00);
}

.about-scrum-carousel__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.about-scrum-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(213, 213, 213, 0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.about-scrum-carousel__dot.is-active {
  width: 22px;
  background: var(--mws-green, #c9ff00);
}

.about-scrum-carousel__live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .about-scrum-carousel__track {
    transition: none;
  }
}

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

  .about-scrum-carousel {
    position: static;
  }
}

@media (max-width: 768px) {
  .about-b2b__compare-head,
  .about-b2b__compare-row {
    grid-template-columns: 1fr;
  }

  .about-b2b__compare-head .about-b2b__compare-cell:first-child {
    display: none;
  }

  .about-b2b__compare-row .about-b2b__compare-cell--label {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .about-b2b__compare--three .about-b2b__compare-row .about-b2b__compare-cell:nth-child(2)::before {
    content: 'Nómina ES · ';
    color: rgba(213, 213, 213, 0.45);
    font-weight: 600;
  }

  .about-b2b__compare--three .about-b2b__compare-row .about-b2b__compare-cell:nth-child(3)::before {
    content: 'Dev MWS · ';
    color: rgba(213, 213, 213, 0.55);
    font-weight: 600;
  }

  .about-b2b__compare--three .about-b2b__compare-row .about-b2b__compare-cell:last-child::before {
    content: 'Equipo · ';
    color: var(--mws-green, #c9ff00);
    font-weight: 600;
  }

  .about-b2b__compare:not(.about-b2b__compare--three) .about-b2b__compare-row .about-b2b__compare-cell:nth-child(2)::before {
    content: '1 senior ES · ';
    color: rgba(213, 213, 213, 0.45);
    font-weight: 600;
  }

  .about-b2b__compare:not(.about-b2b__compare--three) .about-b2b__compare-row .about-b2b__compare-cell:last-child::before {
    content: 'Equipo · ';
    color: var(--mws-green, #c9ff00);
    font-weight: 600;
  }

  .about-offer-split {
    grid-template-columns: 1fr;
  }

  .about-offer-split__media {
    position: static;
    order: -1;
  }

  .about-b2b__pricing,
  .about-b2b__pricing--three,
  .about-b2b__pricing--stack,
  .about-b2b__benefits-grid,
  .about-b2b__stack-grid,
  .about-b2b__billing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .about-offer-split {
    grid-template-columns: 1fr 0.9fr;
  }

  .about-b2b__pricing--three {
    grid-template-columns: 1fr;
  }

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