/* ── Services ── */
#services {
  scroll-margin-top: 5rem;
}

.services {
  position: relative;
  padding: 2.75rem 1rem 3.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(20, 184, 166, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 100%, rgba(252, 122, 34, 0.08), transparent 50%),
    var(--color-white);
  border-top: 1px solid var(--color-gray-100);
  overflow: hidden;
}

.services__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.services__header {
  text-align: center;
  margin-bottom: 1.75rem;
  padding: 0 0.15rem;
}

.services__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  margin-bottom: 0.65rem;
}

.services__title {
  font-size: clamp(1.4rem, 6.2vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.services__title .accent {
  color: var(--color-orange);
}

.services__subtitle {
  color: var(--color-gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 auto;
  padding: 0 0.15rem;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

.services__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.05rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .services__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.08);
  }
}

.services__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-gray-50);
}

.services__icon {
  width: 96px;
  height: 96px;
  max-width: 100%;
  display: block;
}

.services__visual--prep {
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(145deg, rgba(88, 204, 2, 0.08) 0%, rgba(20, 184, 166, 0.06) 100%);
  border: 1px solid rgba(88, 204, 2, 0.18);
}

.services__det-logo {
  width: 100%;
  max-width: 160px;
  height: auto;
  object-fit: contain;
}

.services__body {
  min-width: 0;
}

.services__badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.28rem 0.7rem;
  margin-bottom: 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.services__card--purchase .services__badge {
  color: var(--color-teal);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.22);
}

.services__card--room .services__badge {
  color: var(--color-orange);
  background: rgba(252, 122, 34, 0.1);
  border: 1px solid rgba(252, 122, 34, 0.22);
}

.services__card--prep .services__badge {
  color: #3d9e00;
  background: rgba(88, 204, 2, 0.12);
  border: 1px solid rgba(88, 204, 2, 0.25);
}

.services__name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.services__hook {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-black);
  overflow-wrap: anywhere;
}

.services__speed {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
}

.services__speed-fast {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-teal);
  line-height: 1.3;
}

.services__speed-fast strong {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.services__speed-vs {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-500);
}

.services__speed-std {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gray-500);
  line-height: 1.3;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.services__speed-std strong {
  font-weight: 700;
}

.services__desc {
  color: var(--color-gray-500);
  font-size: 0.92rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.services__features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0;
}

.services__features li {
  padding: 0.3rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--color-black);
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: 999px;
  line-height: 1.35;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.services__cta {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

.services__cta-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 320px;
}

.services__cta-primary .btn {
  width: 100%;
}

.services__cta-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-gray-500);
  text-align: center;
  line-height: 1.4;
}

.services__cta .btn {
  width: 100%;
  max-width: 320px;
}

@media (min-width: 480px) {
  .services {
    padding: 3.25rem 1.15rem 4rem;
  }

  .services__header {
    margin-bottom: 2.25rem;
  }

  .services__card {
    grid-template-columns: auto 1fr;
    gap: 1.15rem;
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
  }

  .services__visual {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 16px;
  }

  .services__icon {
    width: 88px;
    height: 88px;
  }

  .services__visual--prep {
    padding: 0.55rem 0.45rem;
  }

  .services__det-logo {
    max-width: 72px;
  }

  .services__cta .btn {
    width: auto;
  }
}

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

  .services__card--prep {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .services {
    padding: 4rem 1.5rem 5rem;
  }

  .services__header {
    margin-bottom: 2.75rem;
  }

  .services__subtitle {
    font-size: 0.98rem;
  }

  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .services__card--prep {
    grid-column: auto;
  }

  .services__card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem;
    border-radius: 20px;
  }

  .services__visual {
    width: 100%;
    height: 112px;
    border-radius: 16px;
  }

  .services__icon {
    width: 112px;
    height: 112px;
  }

  .services__visual--prep {
    padding: 1rem;
  }

  .services__det-logo {
    max-width: 180px;
  }

  .services__name {
    font-size: 1.12rem;
  }

  .services__desc {
    font-size: 0.95rem;
  }
}

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

  .services__card:hover {
    transform: none;
  }
}
