/**
 * Services page — typography scale + card pattern (ธีมสีใช้จาก Tailwind เดิม)
 * ลำดับ: eyebrow → H1/H2 → sublead → body → label → การ์ดรายการ
 */

/* --- Hero --- */
.svc-hero-eyebrow {
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
}

.svc-hero-title {
  font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.svc-hero-lead {
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  max-width: 28rem;
}

@media (min-width: 768px) {
  .svc-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
  }
}

/* --- Section stack (ทุกบล็อกเนื้อหาใช้ระยะเดียวกัน) --- */
.svc-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .svc-stack {
    gap: 1.5rem;
  }
}

.svc-copy-col {
  max-width: 36rem;
}

/* --- Section headings --- */
.svc-h2 {
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.svc-sublead {
  font-size: 1.0625rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .svc-sublead {
    font-size: 1.125rem;
    line-height: 1.45;
  }
}

.svc-body {
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.svc-label {
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
}

/* --- Section meta row (ไอคอน + badge) --- */
.svc-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.svc-icon-sq {
  display: flex;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
}

.svc-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --- Light surface: การ์ดรายการ (MEP / Site) --- */
.svc-item-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.97);
  padding: 1rem 1.125rem;
  box-shadow:
    0 1px 2px rgba(0, 8, 33, 0.035),
    0 4px 16px -4px rgba(0, 8, 33, 0.06);
  font-size: 0.9375rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #44464e;
}

.svc-item-card .svc-item-icon {
  margin-top: 0.125rem;
  flex-shrink: 0;
  line-height: 1;
  color: #3d5d9e;
}

/* --- Pull-quote / highlight box --- */
.svc-highlight-box {
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: linear-gradient(135deg, #ffffff 0%, #f0f4fc 100%);
  padding: 1.5rem 1.75rem;
  box-shadow:
    0 1px 2px rgba(0, 8, 33, 0.04),
    0 12px 32px -12px rgba(0, 8, 33, 0.08);
}

@media (min-width: 768px) {
  .svc-highlight-box {
    padding: 2rem 2.25rem;
  }
}

.svc-pull-quote {
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .svc-pull-quote {
    font-size: 1.0625rem;
  }
}

.svc-checklist {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.svc-checklist li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.svc-checklist .svc-check {
  flex-shrink: 0;
  margin-top: 0.15em;
  color: #3d5d9e;
  font-weight: 600;
}

/* --- Dark band (BOQ): การ์ดย่อย --- */
.svc-dark-body {
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.015em;
  color: rgba(226, 235, 255, 0.88);
}

.svc-dark-sublead {
  font-size: 1.0625rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.96);
}

@media (min-width: 768px) {
  .svc-dark-sublead {
    font-size: 1.125rem;
  }
}

.svc-dark-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: rgba(235, 242, 255, 0.92);
}

.svc-dark-card .svc-dark-card-icon {
  margin-top: 0.125rem;
  flex-shrink: 0;
  line-height: 1;
  color: #99b8ff;
}

.svc-dark-h2 {
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #fff;
}
