/* ==========================================================================
   Theta HVAC - Service Detail Page Styles
   ========================================================================== */

/* --- Container Utility --- */
.th-service-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Hero Section --- */
.th-service-hero {
  background: linear-gradient(135deg, #071527 0%, #0b2546 60%, #00386b 100%);
  color: #ffffff;
  padding: 80px 20px 70px;
  position: relative;
  overflow: hidden;
}

.th-service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.th-service-hero .th-service-container {
  position: relative;
  z-index: 2;
}

.th-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 20px;
  font-weight: 500;
}

.th-breadcrumb a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.th-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.th-breadcrumb-sep {
  opacity: 0.5;
}

.th-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.th-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 16px;
  max-width: 860px;
}

.th-hero-desc {
  font-size: 17px;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 0 32px;
}

.th-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.th-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #005b9f 0%, #0084d6 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 91, 159, 0.35);
  transition: all 0.25s ease;
}

.th-btn-primary:hover {
  background: linear-gradient(135deg, #004b85 0%, #0072ba 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 91, 159, 0.5);
}

.th-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.th-btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.th-hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.th-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
}

.th-highlight-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.th-highlight-text {
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.35;
}

/* --- Section Headings --- */
.th-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.th-section-badge {
  display: inline-block;
  background: rgba(0, 91, 159, 0.1);
  color: #005b9f;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.th-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #0b1f3a;
  margin: 0 0 12px;
}

.th-section-desc {
  font-size: 16px;
  color: #64748b;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Scope of Work (Detail Pengerjaan) --- */
.th-scope-section {
  padding: 85px 0;
  background: #ffffff;
}

.th-scope-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.th-scope-visual {
  position: relative;
}

.th-scope-visual img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(11, 31, 58, 0.12);
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.th-floating-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: #0b1f3a;
  color: #ffffff;
  padding: 16px 22px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.25);
  display: flex;
  align-items: center;
  gap: 14px;
}

.th-floating-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #005b9f, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
}

.th-floating-badge-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.th-floating-badge-sub {
  font-size: 12px;
  color: #94a3b8;
  margin: 2px 0 0;
}

.th-checklist-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.th-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.th-checklist-item:hover {
  background: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 8px 24px rgba(0, 91, 159, 0.08);
  transform: translateX(4px);
}

.th-checklist-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #005b9f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.th-checklist-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0b1f3a;
  margin: 0 0 4px;
}

.th-checklist-body p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* --- Pricing Section --- */
.th-pricing-section {
  padding: 85px 0;
  background: #f1f5f9;
}

.th-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.th-price-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.th-price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 31, 58, 0.1);
  border-color: #cbd5e1;
}

.th-price-card.featured {
  border: 2px solid #005b9f;
  box-shadow: 0 12px 30px rgba(0, 91, 159, 0.12);
  transform: scale(1.02);
}

.th-price-card.featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.th-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #005b9f 0%, #0084d6 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.th-card-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 24px;
}

.th-card-plan-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0b1f3a;
  margin: 0 0 8px;
}

.th-card-plan-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 16px;
}

.th-card-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.th-price-currency {
  font-size: 18px;
  font-weight: 700;
  color: #005b9f;
}

.th-price-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #0b1f3a;
  line-height: 1;
}

.th-price-unit {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.th-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex-grow: 1;
}

.th-card-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #334155;
  margin-bottom: 14px;
  line-height: 1.4;
}

.th-card-features li i {
  color: #10b981;
  font-size: 14px;
  flex-shrink: 0;
}

.th-card-btn {
  display: block;
  text-align: center;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.th-btn-secondary {
  background: #f1f5f9;
  color: #0b1f3a !important;
  border: 1px solid #cbd5e1;
}

.th-btn-secondary:hover {
  background: #e2e8f0;
  color: #005b9f !important;
}

.th-price-card.featured .th-card-btn {
  background: linear-gradient(135deg, #005b9f 0%, #0084d6 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 6px 16px rgba(0, 91, 159, 0.25);
}

.th-price-card.featured .th-card-btn:hover {
  background: linear-gradient(135deg, #004b85 0%, #0072ba 100%);
  box-shadow: 0 10px 22px rgba(0, 91, 159, 0.4);
}

/* --- Key Guarantees Section --- */
.th-guarantee-section {
  padding: 85px 0;
  background: #ffffff;
}

.th-guarantee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.th-guarantee-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(11, 31, 58, 0.12);
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.th-guarantee-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.th-guarantee-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s ease;
}

.th-guarantee-box:hover {
  background: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 10px 25px rgba(0, 91, 159, 0.08);
  transform: translateY(-3px);
}

.th-guarantee-box-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 91, 159, 0.1);
  color: #005b9f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.th-guarantee-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0b1f3a;
  margin: 0 0 6px;
}

.th-guarantee-box p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* --- FAQ Section --- */
.th-faq-section {
  padding: 85px 0;
  background: #f8fafc;
}

.th-faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.th-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.th-faq-item[open] {
  border-color: #005b9f;
  box-shadow: 0 6px 20px rgba(0, 91, 159, 0.08);
}

.th-faq-summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #0b1f3a;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.th-faq-summary::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 13px;
  color: #005b9f;
  transition: transform 0.25s ease;
}

.th-faq-item[open] .th-faq-summary::after {
  transform: rotate(180deg);
}

.th-faq-answer {
  padding: 0 24px 22px;
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  border-top: 1px solid #f1f5f9;
  margin-top: -4px;
  padding-top: 16px;
}

/* --- High-Impact Bottom CTA --- */
.th-cta-banner-section {
  padding: 80px 0;
  background: #ffffff;
}

.th-cta-banner-box {
  background: linear-gradient(135deg, #071527 0%, #0b2546 60%, #00386b 100%);
  border-radius: 20px;
  padding: 60px 50px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(11, 31, 58, 0.2);
}

.th-cta-banner-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(56, 189, 248, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.th-cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.th-cta-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.8px;
}

.th-cta-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.25;
}

.th-cta-desc {
  font-size: 16px;
  color: #cbd5e1;
  margin: 0 0 32px;
  line-height: 1.6;
}

.th-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.th-btn-wa-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.th-btn-wa-large:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
  .th-hero-title {
    font-size: 32px;
  }
  .th-hero-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
  .th-scope-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .th-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .th-price-card.featured {
    transform: none;
  }
  .th-price-card.featured:hover {
    transform: translateY(-6px);
  }
  .th-guarantee-grid {
    grid-template-columns: 1fr;
  }
  .th-guarantee-items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .th-service-hero {
    padding: 60px 15px 50px;
  }
  .th-hero-title {
    font-size: 26px;
  }
  .th-hero-highlights {
    grid-template-columns: 1fr;
  }
  .th-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .th-hero-actions a {
    justify-content: center;
  }
  .th-section-title {
    font-size: 26px;
  }
  .th-floating-badge {
    position: static;
    margin-top: 15px;
    border-radius: 8px;
  }
  .th-cta-banner-box {
    padding: 40px 20px;
  }
  .th-cta-title {
    font-size: 24px;
  }
  .th-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .th-cta-buttons a {
    justify-content: center;
  }
}
