/* ==========================================================================
   service.css — Service Sub-Page Sections
   A Perfect Choice Home Care WordPress Theme
   Shared by all 6 service sub-pages
   ========================================================================== */

/* --------------------------------------------------------------------------
   Service Intro Section (2-column: image + text)
   -------------------------------------------------------------------------- */
.apch-svc-intro {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.apch-svc-intro::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 143, 113, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.apch-svc-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.apch-svc-intro-image-wrap {
  position: relative;
}
.apch-svc-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream);
  box-shadow:
    0 4px 6px rgba(27, 43, 75, 0.04),
    0 12px 28px rgba(27, 43, 75, 0.08),
    0 20px 48px rgba(27, 43, 75, 0.06);
}
.apch-svc-intro-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(27, 43, 75, 0.12) 100%);
  pointer-events: none;
  border-radius: inherit;
}
.apch-svc-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apch-svc-intro-image:hover img {
  transform: scale(1.03);
}
.apch-svc-intro-image-accent {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  border-left: 4px solid var(--coral);
  border-top: 4px solid var(--coral);
  border-radius: 12px 0 0 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apch-svc-intro-image-wrap:hover .apch-svc-intro-image-accent {
  top: -16px;
  left: -16px;
}
.apch-svc-intro-image-accent-bottom {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  border-right: 4px solid var(--sage);
  border-bottom: 4px solid var(--sage);
  border-radius: 0 0 12px 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apch-svc-intro-image-wrap:hover .apch-svc-intro-image-accent-bottom {
  bottom: -16px;
  right: -16px;
}
.apch-svc-intro-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(27, 43, 75, 0.3);
}
.apch-svc-intro-content h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.apch-svc-intro-tagline {
  font-family: 'Lora', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--coral);
  margin-bottom: 24px;
  line-height: 1.6;
}
.apch-svc-intro-content > p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.85;
}
.apch-svc-intro-highlights {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.apch-svc-intro-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apch-svc-intro-highlight:hover {
  transform: translateX(4px);
}
.apch-svc-intro-highlight-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}
.apch-svc-intro-highlight:hover .apch-svc-intro-highlight-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(27, 43, 75, 0.15);
}

@media (max-width: 900px) {
  .apch-svc-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .apch-svc-intro {
    padding: 80px 0;
  }
  .apch-svc-intro-image-accent,
  .apch-svc-intro-image-accent-bottom {
    display: none;
  }
}
@media (max-width: 768px) {
  .apch-svc-intro-grid {
    gap: 32px;
  }
  .apch-svc-intro-highlights {
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .apch-svc-intro {
    padding: 60px 0;
  }
  .apch-svc-intro-highlights {
    flex-direction: column;
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   Service Features Grid (3x2 cards with icons)
   -------------------------------------------------------------------------- */
.apch-svc-features {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  position: relative;
}
.apch-svc-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(107, 143, 113, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(196, 74, 63, 0.03) 0%, transparent 50%);
  pointer-events: none;
}
.apch-svc-features-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}
.apch-svc-features-header .apch-section-label {
  justify-content: center;
}
.apch-svc-features-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto 16px;
  letter-spacing: -0.02em;
}
.apch-svc-features-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}
.apch-svc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.apch-svc-feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(27, 43, 75, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.apch-svc-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), rgba(196, 74, 63, 0.6));
  transform: scaleX(0.3);
  opacity: 0.4;
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}
.apch-svc-feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(196, 74, 63, 0.12);
  box-shadow:
    0 4px 6px rgba(27, 43, 75, 0.03),
    0 10px 24px rgba(27, 43, 75, 0.06),
    0 24px 56px rgba(27, 43, 75, 0.06);
}
.apch-svc-feature-card:hover::before {
  transform: scaleX(1);
  opacity: 1;
}
.apch-svc-feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}
.apch-svc-feature-card:hover .apch-svc-feature-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(27, 43, 75, 0.12);
}
.apch-svc-feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.apch-svc-feature-card:hover h3 {
  color: var(--navy);
}
.apch-svc-feature-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .apch-svc-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .apch-svc-features {
    padding: 80px 0;
  }
}
@media (max-width: 768px) {
  .apch-svc-features-grid {
    gap: 20px;
  }
  .apch-svc-feature-card {
    padding: 28px 22px;
  }
  .apch-svc-features-header {
    margin-bottom: 48px;
  }
}
@media (max-width: 600px) {
  .apch-svc-features-grid {
    grid-template-columns: 1fr;
  }
  .apch-svc-features {
    padding: 60px 0;
  }
}

/* --------------------------------------------------------------------------
   How We Help Section
   -------------------------------------------------------------------------- */
.apch-svc-how {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.apch-svc-how-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.apch-svc-how-content h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.apch-svc-how-content > p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.85;
}
.apch-svc-how-list {
  list-style: none;
  margin-top: 32px;
}
.apch-svc-how-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apch-svc-how-list li:hover {
  transform: translateX(6px);
}
.apch-svc-how-list li + li {
  border-top: 1px solid var(--border);
}
.apch-svc-how-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-size: 13px;
  margin-top: 1px;
  transition: all 0.3s ease;
}
.apch-svc-how-list li:hover .apch-svc-how-check {
  background: var(--sage);
  color: var(--white);
  transform: scale(1.1);
}
.apch-svc-how-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream);
  box-shadow:
    0 4px 6px rgba(27, 43, 75, 0.04),
    0 12px 28px rgba(27, 43, 75, 0.08);
}
.apch-svc-how-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apch-svc-how-image:hover img {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .apch-svc-how-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .apch-svc-how {
    padding: 80px 0;
  }
}
@media (max-width: 768px) {
  .apch-svc-how-grid {
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .apch-svc-how {
    padding: 60px 0;
  }
}

/* --------------------------------------------------------------------------
   Who Benefits Section
   -------------------------------------------------------------------------- */
.apch-svc-benefits {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.apch-svc-benefits::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 74, 63, 0.1), transparent 70%);
  pointer-events: none;
}
.apch-svc-benefits::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 143, 113, 0.08), transparent 70%);
  pointer-events: none;
}
.apch-svc-benefits-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}
.apch-svc-benefits-header .apch-section-label {
  justify-content: center;
  color: var(--coral);
}
.apch-svc-benefits-header .apch-section-label::before {
  background: var(--coral);
}
.apch-svc-benefits-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--white);
  max-width: 640px;
  margin: 0 auto 16px;
  letter-spacing: -0.02em;
}
.apch-svc-benefits-header p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}
.apch-svc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.apch-svc-benefit-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.apch-svc-benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--sage));
  opacity: 0.3;
  transition: opacity 0.4s ease;
}
.apch-svc-benefit-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.apch-svc-benefit-card:hover::before {
  opacity: 1;
}
.apch-svc-benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: rgba(196, 74, 63, 0.15);
  color: var(--coral);
  font-size: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.4s ease;
}
.apch-svc-benefit-card:hover .apch-svc-benefit-icon {
  transform: scale(1.12);
  background: rgba(196, 74, 63, 0.25);
}
.apch-svc-benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.apch-svc-benefit-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .apch-svc-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .apch-svc-benefits {
    padding: 80px 0;
  }
}
@media (max-width: 768px) {
  .apch-svc-benefits-grid {
    gap: 20px;
  }
  .apch-svc-benefit-card {
    padding: 28px 20px;
  }
  .apch-svc-benefits-header {
    margin-bottom: 40px;
  }
}
@media (max-width: 600px) {
  .apch-svc-benefits-grid {
    grid-template-columns: 1fr;
  }
  .apch-svc-benefits {
    padding: 60px 0;
  }
}

/* --------------------------------------------------------------------------
   Service FAQ Section
   Reuses the shared .apch-faq-section from components.css.
   These are service-specific overrides if needed.
   -------------------------------------------------------------------------- */
.apch-svc-faq {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.apch-svc-faq-header {
  text-align: center;
  margin-bottom: 56px;
}
.apch-svc-faq-header .apch-section-label {
  justify-content: center;
}
.apch-svc-faq-header h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.apch-svc-faq-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* FAQ active state enhancements */
.apch-svc-faq .apch-faq-item {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apch-svc-faq .apch-faq-item.active {
  border-color: rgba(196, 74, 63, 0.2);
  box-shadow: 0 4px 16px rgba(27, 43, 75, 0.06);
}
.apch-svc-faq .apch-faq-item.active .apch-faq-question {
  color: var(--coral);
}

@media (max-width: 600px) {
  .apch-svc-faq {
    padding: 60px 0;
  }
}

/* --------------------------------------------------------------------------
   Service Form Section
   -------------------------------------------------------------------------- */
.apch-svc-form-section {
  padding: 100px 0;
  background: var(--white);
}
.apch-svc-form-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(27, 43, 75, 0.04);
}
.apch-svc-form-header {
  text-align: center;
  margin-bottom: 32px;
}
.apch-svc-form-header h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.apch-svc-form-header p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .apch-svc-form-section {
    padding: 60px 0;
  }
  .apch-svc-form-wrap {
    padding: 32px 20px;
  }
}

/* --------------------------------------------------------------------------
   Service CTA Section
   -------------------------------------------------------------------------- */
.apch-svc-cta {
  padding: 100px 0;
  background: var(--white);
}
.apch-svc-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(27, 43, 75, 0.15),
    0 20px 60px rgba(27, 43, 75, 0.12);
}
.apch-svc-cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 74, 63, 0.18), transparent 70%);
  pointer-events: none;
}
.apch-svc-cta-inner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 143, 113, 0.12), transparent 70%);
  pointer-events: none;
}
.apch-svc-cta-inner h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}
.apch-svc-cta-inner p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
.apch-svc-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .apch-svc-cta {
    padding: 60px 0;
  }
  .apch-svc-cta-inner {
    padding: 40px 24px;
  }
  .apch-svc-cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   Service Related Services
   -------------------------------------------------------------------------- */
.apch-svc-related {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.apch-svc-related-header {
  text-align: center;
  margin-bottom: 48px;
}
.apch-svc-related-header .apch-section-label {
  justify-content: center;
}
.apch-svc-related-header h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.apch-svc-related-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}
.apch-svc-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.apch-svc-related-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(27, 43, 75, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.apch-svc-related-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0.3);
  opacity: 0.4;
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}
.apch-svc-related-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow:
    0 4px 6px rgba(27, 43, 75, 0.03),
    0 10px 24px rgba(27, 43, 75, 0.06),
    0 20px 40px rgba(27, 43, 75, 0.05);
}
.apch-svc-related-card:hover::before {
  transform: scaleX(1);
  opacity: 1;
}
.apch-svc-related-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 22px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apch-svc-related-card:hover .apch-svc-related-icon {
  transform: scale(1.1);
}
.apch-svc-related-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.apch-svc-related-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}
.apch-svc-related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--coral);
  transition: gap 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.3s ease;
}
.apch-svc-related-link:hover {
  gap: 10px;
}

@media (max-width: 900px) {
  .apch-svc-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .apch-svc-related-grid {
    gap: 20px;
  }
  .apch-svc-related-card {
    padding: 28px 20px;
  }
}
@media (max-width: 600px) {
  .apch-svc-related-grid {
    grid-template-columns: 1fr;
  }
  .apch-svc-related {
    padding: 60px 0;
  }
}
