@import url("/styles/home.css");

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.service-detail {
  max-width: 960px;
  margin: 120px auto 80px;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.service-detail h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 32px;
  color: #0f172a;
}

.service-detail section + section {
  margin-top: 40px;
}

.service-detail h2 {
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 16px;
  color: #1e293b;
}

.service-detail p {
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
}

.bullets {
  list-style: disc;
  padding-left: 1.5rem;
  display: grid;
  gap: 12px;
}

.bullets li {
  font-size: 16px;
  color: #334155;
}

.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 16px;
  padding: 0;
}

.steps li {
  position: relative;
  padding-left: 48px;
  font-size: 16px;
  color: #334155;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4dd0e1, #26c6da);
  color: #fff;
  font-weight: 600;
}

.note {
  margin-top: 16px;
  font-size: 14px;
  color: #64748b;
}

.details-grid {
  display: grid;
  gap: 16px;
}

details {
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 16px;
  padding: 16px 20px;
  background-color: rgba(248, 250, 252, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

details[open] {
  border-color: #0ea5e9;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.12);
}

details summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  color: #0f172a;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: "+";
  float: right;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin-top: 12px;
  font-size: 15px;
  color: #475569;
}

details summary:focus {
  outline: none;
}

details summary:focus-visible {
  outline: 2px solid #0ea5e9;
  border-radius: 8px;
  outline-offset: 2px;
}

.cta-wrap {
  text-align: center;
  margin-top: 48px;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.cta-wrap .cta {
  min-width: 260px;
}

.nav-menu a:focus-visible,
.service-detail a:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .service-detail {
    margin: 100px 16px 64px;
    padding: 32px 20px;
  }

  .steps li {
    padding-left: 40px;
  }

  .steps li::before {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}
