/* Service landing pages — extends main style.css */

.service-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,0.20), transparent 28rem),
    radial-gradient(circle at 88% 48%, rgba(255,211,167,0.16), transparent 34rem),
    linear-gradient(155deg, #FF9638 0%, var(--orange) 42%, #E86C08 100%);
  background-attachment: fixed;
}

.service-main {
  padding-top: calc(var(--header-h) + 24px);
}

@media (min-width: 769px) {
  .service-main {
    padding-top: calc(var(--header-h) + 16px);
  }
}

.service-main .container {
  width: 100%;
}

.service-hero {
  padding: 48px 0 24px;
}

.service-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(26, 26, 26, 0.72);
  margin-bottom: 20px;
}

.service-breadcrumb a:hover {
  opacity: 0.75;
}

.service-hero-card {
  padding: 48px 40px;
}

.service-hero-card .section-label {
  background: var(--orange);
  color: var(--white);
  box-shadow: none;
  border: none;
}

.service-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
}

.service-hero-desc {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-600);
  max-width: 720px;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 2px solid rgba(26, 26, 26, 0.12);
  font-size: 0.875rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.service-section {
  padding: 24px 0 32px;
}

.service-section > .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.service-intro {
  padding: 36px 32px;
  width: 100%;
}

.service-intro p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-600);
}

.service-related-home {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  font-size: 0.875rem;
  font-weight: 700;
}

.service-related-home a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-related-home a:hover {
  opacity: 0.8;
}

.service-section-title {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  align-items: stretch;
}

.service-feature-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 220px;
}

.service-feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  margin: 16px 0 10px;
}

.service-feature-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-top: auto;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  width: 100%;
  align-items: stretch;
}

.service-step {
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 168px;
}

.service-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.service-step h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.service-step p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--gray-600);
}

.service-checklist-wrap {
  padding: 36px 32px;
  width: 100%;
}

.service-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.55;
  min-height: 28px;
}

.service-checklist i {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-faq-list {
  display: grid;
  gap: 12px;
  width: 100%;
}

.service-faq {
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.service-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.975rem;
  line-height: 1.5;
}

.service-faq summary::-webkit-details-marker {
  display: none;
}

.service-faq p {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--gray-600);
}

.service-related {
  padding: 32px;
  text-align: center;
  width: 100%;
}

.service-related h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.service-related p {
  color: var(--gray-600);
  margin-bottom: 20px;
}

/* 다른 서비스 — 컴팩트 pill 칩 */
.service-nav-grid-balanced {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 12px;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

.service-nav-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.3;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(26, 26, 26, 0.06);
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.06);
  box-sizing: border-box;
}

.service-nav-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  background: var(--white);
}

.service-nav-label {
  flex: 0 1 auto;
  line-height: 1.3;
  white-space: nowrap;
}

.service-nav-card i {
  color: var(--orange);
  flex-shrink: 0;
  font-size: 0.875rem;
}

.service-cta {
  padding: 16px 0 64px;
}

.service-cta-box {
  padding: 40px 32px;
  text-align: center;
  width: 100%;
}

.service-cta-box h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.service-cta-box p {
  color: var(--gray-600);
  margin-bottom: 22px;
}

.footer-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin: 20px 0 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-services a {
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0.78;
  transition: opacity 0.2s;
}

.footer-services a:hover {
  opacity: 1;
}

.service-section-more {
  text-align: center;
  margin-top: 28px;
}

.service-section-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 26, 26, 0.08);
  transition: background 0.2s, transform 0.2s;
}

.service-section-more a:hover {
  background: var(--white);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .service-nav-card {
    font-size: 0.875rem;
    padding: 11px 20px;
  }
}

@media (max-width: 767px) {
  .service-nav-label {
    white-space: normal;
    text-align: center;
  }
  .service-nav-card {
    flex: 1 1 calc(50% - 6px);
    max-width: calc(50% - 6px);
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .service-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-feature-grid.features-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .service-steps.steps-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-steps.steps-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .service-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .service-feature-grid,
  .service-checklist {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-hero-card,
  .service-intro,
  .service-checklist-wrap {
    padding: 28px 22px;
  }
}

@media (max-width: 768px) {
  .service-hero {
    padding: 32px 0 16px;
  }

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

  .service-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .service-feature-card {
    min-height: 0;
  }

  .service-step {
    min-height: 0;
  }
}
