/* ============================================================
   Servicios con detalle protagonista v1.1.50
   Home liviano + selector de capacidades + detalle de servicio
   ============================================================ */

.home-services-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: -8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.home-services-bridge p {
  max-width: 760px;
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.home-services-bridge .button {
  flex: 0 0 auto;
}

.service-focus-stage {
  overflow: hidden;
}

.service-focus-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr);
  gap: 28px;
  align-items: end;
}

.service-focus-intro p {
  margin: 0;
}

.service-focus-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.service-focus-option {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  width: 100%;
  min-height: 92px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--primary-900);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}

.service-focus-option:hover {
  transform: translateY(-1px);
  border-color: #bed5dd;
  box-shadow: 0 8px 20px rgba(15, 44, 66, .05);
}

.service-focus-option.is-active,
.service-focus-option[aria-selected="true"] {
  border-color: #9bcfd2;
  background: #f8fcfc;
  box-shadow: 0 0 0 2px rgba(22, 158, 164, .07);
}

.service-focus-option-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eef6f7;
  color: var(--tech);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.service-focus-option strong {
  display: block;
  margin-top: 1px;
  font-size: .9rem;
  line-height: 1.28;
}

.service-focus-option small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.35;
}

.service-focus-detail {
  scroll-margin-top: 104px;
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 5vw, 64px);
  margin-top: 18px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid #cbdde4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 44, 66, .045);
}

.service-focus-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.service-focus-index {
  color: var(--tech);
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.service-focus-badge {
  display: inline-flex;
  width: max-content;
  margin-top: 18px;
  padding: 8px 11px;
  border: 1px solid #d4e4e9;
  border-radius: 999px;
  background: #f7fafb;
  color: #185b77;
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-focus-copy h3 {
  margin: 26px 0 14px;
  color: var(--primary-900);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.service-focus-lead {
  margin: 0;
  color: #5d7287;
  font-size: 1rem;
  line-height: 1.62;
}

.service-focus-value {
  margin: 18px 0 0;
  padding: 3px 0 3px 16px;
  border-left: 3px solid var(--tech);
  color: #264a63;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.service-focus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: auto;
  padding-top: 32px;
}

.service-focus-side {
  min-width: 0;
}

.service-focus-section + .service-focus-section {
  margin-top: 26px;
  padding-top: 25px;
  border-top: 1px solid #e4ecef;
}

.service-focus-section h4 {
  margin: 0 0 14px;
  color: var(--primary-900);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-focus-steps,
.service-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.service-focus-step,
.service-focus-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 760;
  line-height: 1.25;
}

.service-focus-step {
  background: #f4f7f8;
  color: #3d596d;
}

.service-focus-step b {
  color: var(--tech);
  font-size: .72rem;
  font-weight: 900;
}

.service-focus-tag {
  background: #dff8f4;
  color: #0f5660;
}

.service-focus-tech-note {
  margin: -3px 0 15px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
}

.service-focus-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-focus-tech-group {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dce7eb;
  border-radius: 14px;
  background: #fbfcfd;
}

.service-focus-tech-group strong {
  display: block;
  margin-bottom: 12px;
  color: #124761;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-focus-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-focus-tech-chips span {
  padding: 7px 10px;
  border: 1px solid #d5e2e7;
  border-radius: 999px;
  background: #fff;
  color: #35536a;
  font-size: .76rem;
  font-weight: 730;
}

@media (max-width: 980px) {
  .service-focus-intro,
  .service-focus-detail {
    grid-template-columns: 1fr;
  }

  .service-focus-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-focus-actions {
    margin-top: 6px;
  }
}

@media (max-width: 760px) {
  .home-services-bridge {
    align-items: stretch;
    flex-direction: column;
  }

  .home-services-bridge .button {
    width: 100%;
  }

  .service-focus-selector,
  .service-focus-tech-grid {
    grid-template-columns: 1fr;
  }

  .service-focus-option {
    min-height: 0;
  }

  .service-focus-detail {
    padding: 20px;
    border-radius: 16px;
  }

  .service-focus-copy h3 {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }

  .service-focus-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .service-focus-actions .button,
  .service-focus-actions .text-link {
    width: 100%;
  }
}
