/* Nuestros servicios + Metodología
   Nota: el sitio usa html ~50–62.5% (1rem ≈ 8–10px). Los tamaños van en esa escala. */

.services-section .container,
.method-section .container {
  max-width: 1480px;
}

.services-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 55%, #fff 100%);
}

.services-section .wave-top {
  pointer-events: none;
}

.services-header {
  max-width: 920px;
  margin: 0 auto 4.5rem;
}

.services-header__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1.6rem;
  border-radius: 1.3rem;
  background: linear-gradient(145deg, var(--bo-cyan) 0%, var(--bo-cyan-deep) 100%);
  box-shadow: 0 12px 32px rgba(0, 163, 255, 0.28);
}

.services-header__mark svg {
  width: 2.8rem;
  height: 2.8rem;
  fill: #fff;
}

.services-header h4 {
  color: var(--bo-cyan-deep);
  letter-spacing: 0.04em;
  font-size: 1.8rem;
}

.services-header h2 {
  margin-bottom: 1rem;
  font-size: clamp(3.2rem, 4vw, 4.6rem);
}

.services-header__subtitle {
  margin: 0;
  color: #5b6b7c;
  font-size: 2rem;
  line-height: 1.5;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem;
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.8rem 2.4rem 2.6rem;
  background: #fff;
  border: 1px solid rgba(12, 37, 72, 0.08);
  border-radius: 1.6rem;
  box-shadow: 0 12px 34px rgba(8, 20, 40, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(0, 163, 255, 0.45);
  box-shadow: 0 20px 44px rgba(0, 119, 204, 0.14);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  flex-shrink: 0;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, var(--bo-cyan) 0%, var(--bo-cyan-deep) 100%);
  color: #fff;
}

.service-card__icon svg {
  width: 2.3rem;
  height: 2.3rem;
  fill: currentColor;
}

.service-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--bo-cyan);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.service-card h3 {
  margin: 0 0 1rem;
  color: #0c2548;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.service-card__desc {
  margin: 0 0 1.8rem;
  color: #5b6b7c;
  font-size: 1.75rem;
  line-height: 1.5;
  flex: 1;
}

.service-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card__list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2.2rem;
  color: #4a5a6a;
  font-size: 1.65rem;
  line-height: 1.45;
}

.service-card__list li::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 0;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--bo-cyan);
  box-shadow: 0 0 0 4px rgba(0, 163, 255, 0.15);
}

/* Metodología */

.method-section {
  position: relative;
  background: #f7fafc;
}

.method-header {
  max-width: 960px;
  margin: 0 auto 4.5rem;
}

.method-header h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 3.8vw, 4.4rem);
}

.method-header__subtitle {
  margin: 0;
  color: #5b6b7c;
  font-size: 2rem;
  line-height: 1.55;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
  }
}

@media (min-width: 1100px) {
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
  }
}

.method-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.8rem 2.5rem 2.6rem;
  background: #fff;
  border: 1px solid rgba(12, 37, 72, 0.08);
  border-radius: 1.6rem;
  box-shadow: 0 12px 34px rgba(8, 20, 40, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.method-card:hover,
.method-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(0, 163, 255, 0.45);
  box-shadow: 0 20px 44px rgba(0, 119, 204, 0.12);
}

.method-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.method-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  flex-shrink: 0;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, var(--bo-cyan) 0%, var(--bo-cyan-deep) 100%);
  color: #fff;
}

.method-card__icon svg {
  width: 2.3rem;
  height: 2.3rem;
  fill: currentColor;
}

.method-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  height: 3.4rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(0, 163, 255, 0.12);
  color: var(--bo-cyan-deep);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.method-card h3 {
  margin: 0 0 1rem;
  color: #0c2548;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}

.method-card__desc {
  margin: 0;
  color: #5b6b7c;
  font-size: 1.75rem;
  line-height: 1.5;
}
