/* ==========================================================================
   home.css — Homepage-Specific Sections
   A Perfect Choice Home Care WordPress Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   Stats Section
   -------------------------------------------------------------------------- */
.apch-stats {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.apch-stats::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 74, 63, 0.1), transparent 70%);
  pointer-events: none;
}
.apch-stats::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 143, 113, 0.08), transparent 70%);
  pointer-events: none;
}
.apch-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.apch-stat-item {
  text-align: center;
  padding: 24px 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid rgba(196, 74, 63, 0.4);
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apch-stat-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  border-left-color: var(--coral);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.apch-stat-number {
  font-family: 'Lora', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
}
.apch-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  line-height: 1.4;
}
.apch-stat-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  background: rgba(196, 74, 63, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  box-shadow: 0 2px 8px rgba(196, 74, 63, 0.15);
}

@media (max-width: 900px) {
  .apch-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .apch-stats {
    padding: 56px 0;
  }
}
@media (max-width: 768px) {
  .apch-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .apch-stat-item {
    padding: 20px 10px;
  }
}
@media (max-width: 600px) {
  .apch-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .apch-stats {
    padding: 48px 0;
  }
}

/* --------------------------------------------------------------------------
   Services Grid Section
   -------------------------------------------------------------------------- */
.apch-services {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  position: relative;
}
.apch-services::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-services-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}
.apch-services-header .apch-section-label {
  justify-content: center;
}
.apch-services-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto 16px;
}
.apch-services-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}
@media (max-width: 900px) {
  .apch-services {
    padding: 80px 0;
  }
}
@media (max-width: 600px) {
  .apch-services {
    padding: 60px 0;
  }
}

/* --------------------------------------------------------------------------
   Home Intro / About Section
   -------------------------------------------------------------------------- */
.apch-home-intro {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  position: relative;
}
.apch-home-intro::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 74, 63, 0.06) 0%, rgba(196, 74, 63, 0.02) 40%, transparent 70%);
  pointer-events: none;
}
.apch-home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.apch-home-intro-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream);
}
.apch-home-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apch-home-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;
}
.apch-home-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;
}
.apch-home-intro-content h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  margin-bottom: 24px;
}
.apch-home-intro-tagline {
  font-family: 'Lora', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--coral);
  margin-bottom: 24px;
  line-height: 1.6;
}
.apch-home-intro-content p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.85;
}
.apch-home-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;
}
.apch-home-intro-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.apch-home-intro-credential {
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 6px rgba(27, 43, 75, 0.05);
}
.apch-home-intro-credential-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}
.apch-home-intro-highlights {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.apch-home-intro-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.apch-home-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;
}

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

/* --------------------------------------------------------------------------
   Why Choose Us Section
   -------------------------------------------------------------------------- */
.apch-why {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.apch-why::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-why::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-why-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}
.apch-why-header .apch-section-label {
  justify-content: center;
  color: var(--coral);
}
.apch-why-header .apch-section-label::before {
  background: var(--coral);
}
.apch-why-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--white);
  max-width: 640px;
  margin: 0 auto 16px;
}
.apch-why-header p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}
.apch-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.apch-why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.apch-why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral) 0%, #D4574C 100%);
  transform: scaleX(0.3);
  opacity: 0.5;
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
}
.apch-why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.apch-why-card:hover::before {
  transform: scaleX(1);
  opacity: 1;
}
.apch-why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(196, 74, 63, 0.15);
  color: var(--coral);
  font-size: 22px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apch-why-card:hover .apch-why-card-icon {
  transform: scale(1.12);
  background: rgba(196, 74, 63, 0.25);
  box-shadow: 0 0 0 8px rgba(196, 74, 63, 0.08);
}
.apch-why-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.apch-why-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

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

/* --------------------------------------------------------------------------
   Process Section
   -------------------------------------------------------------------------- */
.apch-process {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  position: relative;
}
.apch-process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(196, 74, 63, 0.03) 0%, transparent 50%);
  pointer-events: none;
}
.apch-process-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}
.apch-process-header .apch-section-label {
  justify-content: center;
}
.apch-process-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto 16px;
}
.apch-process-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}
.apch-process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
.apch-process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 16.7%;
  right: 16.7%;
  height: 2px;
  background: linear-gradient(90deg, var(--border) 0%, var(--coral) 50%, var(--border) 100%);
  opacity: 0.5;
  z-index: 0;
}
.apch-process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.apch-process-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Lora', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--coral);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 0 0 6px rgba(196, 74, 63, 0.08);
}
.apch-process-step:hover .apch-process-step-number {
  background: var(--coral);
  color: var(--white);
  transform: scale(1.12);
  box-shadow: 0 0 0 10px rgba(196, 74, 63, 0.12), 0 4px 16px rgba(196, 74, 63, 0.3);
}
.apch-process-step-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  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);
}
.apch-process-step:hover .apch-process-step-content {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.apch-process-step-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.apch-process-step-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.apch-process-phone {
  color: var(--coral);
  font-weight: 600;
}
.apch-process-phone:hover {
  color: var(--coral-hover);
}
.apch-process-cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .apch-process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .apch-process-steps::before {
    display: none;
  }
  .apch-process {
    padding: 80px 0;
  }
}
@media (max-width: 768px) {
  .apch-process-header {
    margin-bottom: 48px;
  }
  .apch-process-step-content {
    padding: 24px 16px;
  }
}
@media (max-width: 600px) {
  .apch-process-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .apch-process {
    padding: 60px 0;
  }
}

/* --------------------------------------------------------------------------
   Testimonials Section (Homepage)
   -------------------------------------------------------------------------- */
.apch-home-testimonials {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.apch-home-testimonials::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 143, 113, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.apch-home-testimonials-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}
.apch-home-testimonials-header .apch-section-label {
  justify-content: center;
}
.apch-home-testimonials-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto 16px;
}
.apch-home-testimonials-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}
.apch-home-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.apch-home-testimonial-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  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;
}
.apch-home-testimonial-card::before {
  content: '\201C';
  font-family: 'Lora', serif;
  font-size: 80px;
  color: var(--coral);
  opacity: 0.12;
  position: absolute;
  top: 6px;
  left: 20px;
  line-height: 1;
  transition: all 0.4s ease;
}
.apch-home-testimonial-card:hover::before {
  opacity: 0.2;
  transform: scale(1.1);
}
.apch-home-testimonial-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 74, 63, 0.15);
}
.apch-home-testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--star);
  font-size: 16px;
}
.apch-home-testimonial-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.apch-home-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.apch-home-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
}
.apch-home-testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.apch-home-testimonial-role {
  font-size: 13px;
  color: var(--text-light);
}

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

/* --------------------------------------------------------------------------
   Service Areas Section (Homepage)
   -------------------------------------------------------------------------- */
.apch-home-areas {
  padding: 80px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.apch-home-areas::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 74, 63, 0.1), transparent 70%);
  pointer-events: none;
}
.apch-home-areas-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.apch-home-areas-header .apch-section-label {
  justify-content: center;
  color: var(--coral);
}
.apch-home-areas-header .apch-section-label::before {
  background: var(--coral);
}
.apch-home-areas-header h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.apch-home-areas-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto;
}
.apch-home-areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.apch-home-area-item,
.apch-home-area-link {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: all 0.3s ease;
}
.apch-home-area-item:hover,
.apch-home-area-link:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
  color: var(--white) !important;
}
.apch-home-area-item svg,
.apch-home-area-link svg {
  color: var(--sage);
  min-width: 14px;
}
.apch-home-area-link-all {
  background: rgba(196, 74, 63, 0.15);
  border-color: rgba(196, 74, 63, 0.3);
  color: var(--coral) !important;
  justify-content: center;
}
.apch-home-area-link-all:hover {
  background: var(--coral);
  color: var(--white) !important;
  border-color: var(--coral);
}
.apch-home-area-link-all svg {
  color: currentColor;
}
.apch-home-areas-cta {
  text-align: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .apch-home-areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .apch-home-areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .apch-home-areas-header {
    margin-bottom: 36px;
  }
}
@media (max-width: 600px) {
  .apch-home-areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .apch-home-areas {
    padding: 60px 0;
  }
}
