/* ===========================================
   Service Sub-Page Styles
   Shared by all pages under /services/xxx/
   =========================================== */

/* Hero */
.page-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 27, 18, 0.6);
  z-index: 1;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.page-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0 auto;
}

/* Detail Section */
.detail-section {
  padding: 80px 0;
}
.detail-section:nth-child(even) {
  background: var(--bg-light);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.detail-img {
  width: 100%;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
}
.detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--brown-dark);
}
.detail-content p {
  color: var(--brown-light);
  line-height: 1.8;
  margin-bottom: 15px;
}
.detail-content ul {
  list-style: none;
  margin: 20px 0;
}
.detail-content ul li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--brown-light);
}
.detail-content ul li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--gold-deep);
  position: absolute;
  left: 0;
}

/* Sub-Section */
.sub-section {
  padding: 80px 0;
}
.sub-section:nth-child(even) {
  background: var(--bg-light);
}
.sub-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--brown-dark);
}

/* Steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.step-box {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.step-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-soft);
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 auto 15px;
}
.step-box h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--brown-dark);
}
.step-box p {
  font-size: 0.85rem;
  color: var(--brown-light);
  line-height: 1.6;
}

/* Documents Grid */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.doc-item {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.doc-item:hover {
  border-color: var(--gold-soft);
}
.doc-item i {
  font-size: 1.5rem;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.doc-item span {
  font-size: 0.95rem;
  color: var(--brown-light);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-soft);
}
.feature-card i {
  font-size: 2.5rem;
  color: var(--gold-deep);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--brown-dark);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--brown-light);
  line-height: 1.6;
}

/* Related Services Grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.related-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-soft);
}
.related-card i {
  font-size: 2rem;
  color: var(--gold-deep);
  margin-bottom: 15px;
}
.related-card h3 {
  font-size: 1.1rem;
  color: var(--brown-dark);
  margin-bottom: 8px;
}
.related-card p {
  font-size: 0.85rem;
  color: var(--brown-light);
}

/* FAQ (overrides for sub-page) */
.faq-section {
  padding: 80px 0;
}
.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

/* CTA (overrides for sub-page) */
.cta-section {
  text-align: center;
}
.cta-section .btn-gold {
  background: var(--brown-dark);
  color: #fff;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .detail-img {
    max-width: 400px;
    margin: 0 auto;
  }
  .detail-content {
    text-align: center;
  }
  .detail-content ul {
    display: inline-block;
    text-align: left;
  }
  .detail-content .btn-pill {
    display: inline-block;
  }
  .features-grid,
  .docs-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-hero h1 {
    font-size: 2.2rem;
  }
}
@media (max-width: 576px) {
  .steps-row {
    grid-template-columns: 1fr;
  }
}
