:root {
  --brand: #049ac6;
  --brand-dark: #027fa5;
  --text: #111827;
  --muted: #5b6776;
  --card: #ffffff;
  --bg: #f4f6fb;
  --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

body.service-detail-page {
  margin: 0;
  font-family: "Vesper Libre", serif;
  background: #ffffff;
  color: var(--text);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.service-detail {
  background: #ffffff;
}

.hero {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.2));
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
  max-width: 820px;
}

.hero-content h1 {
  font-family: "Vesper Libre", serif;
  font-size: clamp(30px, 4vw, 42px);
  margin: 0 0 8px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  font-size: 18px;
  margin: 0 0 18px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.25);
}

.hero-cta {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 12px 34px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(3, 159, 200, 0.35);
}

.content {
  width: min(1100px, 92%);
  margin: 24px auto 80px;
}

.service-intro-card {
  margin: 18px 0 26px;
  padding: 22px 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(0, 163, 200, 0.08), transparent 34%),
    linear-gradient(135deg, #ffffff, #f6fbff);
  border: 1px solid rgba(0, 163, 200, 0.12);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.service-intro-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 163, 200, 0.1);
  color: #0089a8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-intro-layout {
  margin-top: 14px;
  display: block;
}

.service-intro-layout h2 {
  margin: 0;
  font-family: "Vesper Libre", serif;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.25;
  color: #0f172a;
}

.service-intro {
  font-size: 16px;
  color: #5f6f7c;
  line-height: 1.8;
  margin: 0;
  max-width: none;
  width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.checklist-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin: 10px 0 18px;
}

.checklist-header h2 {
  font-size: 16px;
  margin: 0;
}

.check-icon {
  color: #14a44d;
  font-size: 16px;
}

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

.checklist-card {
  background: var(--card);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(3, 159, 200, 0.12);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 700;
}

.card-title h3 {
  font-size: 14px;
  margin: 0;
  font-weight: 700;
}

.card-icon {
  font-size: 14px;
}

.checklist-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist-card li {
  font-size: 13px;
  color: #3f4a5a;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.checklist-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2b6cb0;
  font-size: 14px;
}

.pricing-section {
  margin-top: 50px;
  text-align: center;
}

.pricing-section h2 {
  font-family: "Vesper Libre", serif;
  margin-bottom: 6px;
}

.pricing-subtitle {
  color: #8a94a6;
  font-size: 13px;
  margin: 0 auto 18px;
  max-width: 520px;
}

.pricing-card {
  background: var(--card);
  border-radius: 14px;
  padding: 28px 20px 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(3, 159, 200, 0.15);
  width: 100%;
  margin: 0 auto;
  border-top: 3px solid var(--brand);
}

.pricing-card-title {
  font-size: 14px;
  color: var(--brand);
  margin: 0 0 6px;
  font-weight: 600;
}

.pricing-label {
  font-size: 13px;
  color: #9aa5b1;
  margin: 0;
}

.pricing-value {
  font-size: 28px;
  font-weight: 700;
  margin: 6px 0;
  color: #111827;
}

.pricing-note {
  color: #9aa5b1;
  font-size: 12px;
  margin: 0 0 10px;
}

.pricing-description {
  color: #7b8794;
  font-size: 13px;
  margin: 0 0 18px;
  line-height: 1.5;
}

.estimate-section {
  margin-top: 22px;
  background: #f3f5ff;
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.estimate-section h2 {
  font-family: "Vesper Libre", serif;
  margin: 0 0 14px;
}

.estimate-form {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.estimate-form .field {
  width: min(320px, 100%);
}

.estimate-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.estimate-form input,
.estimate-form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d8dee9;
  background: #fff;
  font-family: inherit;
}

.estimate-form select {
  appearance: none;
  cursor: pointer;
}

.estimate-result-card {
  width: min(420px, 100%);
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #d8e6f2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  text-align: left;
}

.estimate-result-row,
.estimate-result-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.estimate-result-row {
  padding: 8px 0;
  font-size: 14px;
  color: #475569;
}

.estimate-result-total {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.estimate-note {
  font-size: 12px;
  color: #9aa5b1;
  margin: 8px 0 0;
}

.eco-section {
  margin-top: 26px;
  background: #edfff0;
  border: 1px solid #d5f0dc;
  border-radius: 12px;
  padding: 26px 30px 28px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.eco-section h2 {
  font-family: "Vesper Libre", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 14px;
}

.eco-subtitle {
  font-family: "Vesper Libre", serif;
  font-size: 12px;
  color: #7f8b8c;
  line-height: 1.45;
  max-width: 430px;
  margin: 0 auto 18px;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.eco-item {
  background: transparent;
  border: 0;
  padding: 0;
}

.eco-item-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.eco-icon-wrap {
  width: 22px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 1px;
}

.eco-icon-eco-products .eco-sprout {
  font-size: 18px;
  line-height: 1;
}

.eco-icon-eco-products .eco-drops {
  position: absolute;
  top: -5px;
  right: -4px;
  font-size: 9px;
  line-height: 1;
}

.eco-icon-sustainable-methods .eco-recycle {
  color: #2ec400;
  font-size: 21px;
  line-height: 1;
}

.eco-item h3 {
  font-family: "Vesper Libre", serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.eco-item p {
  font-family: "Vesper Libre", serif;
  font-size: 11px;
  color: #6f7e80;
  line-height: 1.45;
  margin: 0;
  padding-left: 30px;
}

.detail-background-image-section {
  margin-top: 24px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.18),
    0 8px 20px rgba(113, 178, 71, 0.14);
  background: linear-gradient(135deg, rgba(242, 248, 244, 0.92), rgba(231, 241, 235, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
}

.detail-background-image-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.08)),
    linear-gradient(135deg, rgba(113, 178, 71, 0.1), rgba(3, 159, 200, 0.08));
  pointer-events: none;
}

.detail-background-image {
  display: block;
  width: 100%;
  height: clamp(180px, 28vw, 320px);
  object-fit: cover;
  opacity: 0.9;
  transform: scale(1.01);
  filter: saturate(0.94) contrast(1.04) brightness(0.96);
}

.add-to-cart {
  display: flex;
  justify-content: center;
  margin: 18px 0 28px;
}

.contact-section {
  background: var(--card);
  border-radius: 14px;
  padding: 26px 24px;
  margin-top: 36px;
  box-shadow: 0 18px 36px rgba(113, 178, 71, 0.22);
  text-align: center;
}

.contact-section h2 {
  font-family: "Vesper Libre", serif;
  margin: 0 0 6px;
}

.contact-subtitle {
  font-size: 12px;
  color: #7b8794;
  margin: 0 0 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  text-align: left;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
  text-align: left;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #d8dee9;
  padding: 10px 12px;
  font-family: inherit;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(3, 159, 200, 0.5);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(3, 159, 200, 0.15);
}

.field.full {
  grid-column: 1 / -1;
}

.primary-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 11px 28px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(3, 159, 200, 0.25);
}

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

  .service-intro-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .service-intro-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .eco-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 320px;
  }

  .eco-section {
    padding: 22px 18px 24px;
  }

  .eco-section h2 {
    font-size: 15px;
  }

  .eco-item h3 {
    font-size: 12px;
  }

  .eco-item p {
    font-size: 11px;
  }

  .detail-background-image {
    height: 200px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
