/* ==============================================================
   HOME SERVICES SEO SERVICES - PREMIUM CUSTOM STYLES
   Theme: Dark Navy + Gold (matches global site theme)
   ============================================================== */

/* 1. HERO SECTION */
.hs-hero-section {
  position: relative;
  padding: 12rem 0 6rem 0;
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.08) 0%, var(--bg-primary) 70%);
  overflow: hidden;
}
.hs-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hs-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 991px) {
  .hs-hero-grid { grid-template-columns: 1fr; text-align: center; }
}

/* 2. STATS STRIP */
.hs-stats-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 4rem 0;
  position: relative;
  z-index: 3;
}
.hs-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}
.hs-stat-card h3 {
  font-size: 3.5rem;
  font-family: var(--font-headings);
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hs-stat-card p {
  color: var(--text-muted);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* 3. WHY HOME SERVICES NEED SEO */
.hs-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.hs-why-card {
  padding: 2.5rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.hs-why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 0 20px rgba(212, 175, 55, 0.05);
}
.hs-why-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #d4af37;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.hs-why-card h4 { font-size: 1.3rem; color: #fff; margin-bottom: 1rem; }

/* 4. SERVICES GRID */
.hs-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.hs-service-box {
  padding: 2.5rem 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  text-align: left;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hs-service-box:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}
.hs-service-box h4 {
  font-size: 1.2rem;
  color: #fff;
  margin: 1rem 0;
}
.hs-service-box .btn { margin-top: auto !important; }

/* 5. BUSINESSES CARDS */
.hs-businesses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.hs-business-card {
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.hs-business-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.hs-business-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.hs-business-card-header i { font-size: 1.75rem; color: var(--accent); }
.hs-business-card-header h4 { margin: 0; font-size: 1.2rem; color: #fff; }
.hs-business-card .btn { margin-top: auto; }

/* 6. LOCAL SEO SPLIT */
.hs-local-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
}
@media (max-width: 991px) { .hs-local-split { grid-template-columns: 1fr; } }
.hs-local-list { list-style: none; padding: 0; }
.hs-local-list li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.hs-local-list i { color: #d4af37; font-size: 1.25rem; margin-top: 0.25rem; }
.hs-local-list h5 { font-size: 1.1rem; color: #fff; margin-bottom: 0.25rem; }
.hs-map-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  background: rgba(15, 23, 42, 0.6);
  padding: 2rem;
}
.hs-map-mockup {
  background: rgba(10, 15, 30, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem;
}

/* 7. GLOBAL COUNTRY CARDS */
.hs-global-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 1200px) { .hs-global-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hs-global-grid { grid-template-columns: 1fr; } }
.hs-country-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hs-country-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
}
.hs-country-card .btn { margin-top: auto; }

/* 8. CASE STUDIES */
.hs-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}
@media (max-width: 768px) { .hs-case-grid { grid-template-columns: 1fr; } }
.hs-case-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
}
.hs-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.hs-metric h5 { font-size: 2rem; color: #d4af37; margin-bottom: 0.25rem; }
.hs-metric p { color: var(--text-secondary); font-size: 0.9rem; }

/* 9. TIMELINE */
.hs-timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto 0;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(212, 175, 55, 0.2);
}
.hs-timeline-step {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}
.hs-timeline-step::before {
  content: '';
  position: absolute;
  left: -2.15rem;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}
.hs-timeline-step h4 { font-size: 1.1rem; color: #fff; margin-bottom: 0.3rem; }
.hs-timeline-step p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }

/* 10. FAQ */
.faq-item-custom {
  border-radius: 12px;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}
.faq-item-custom:hover { border-color: rgba(212, 175, 55, 0.3); background: rgba(255,255,255,0.03); }
.faq-item-custom.faq-open {
  background: rgba(212, 175, 55, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.faq-item-custom.faq-open h4 { color: #d4af37 !important; }
.faq-answer-custom {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 0 2rem;
}
.faq-item-custom.faq-open .faq-answer-custom { opacity: 1; padding-bottom: 1.5rem; }
.faq-question-custom { padding: 1.5rem 2rem; user-select: none; cursor: pointer; }
.faq-toggle-custom i { transition: transform 0.3s ease; }
.faq-item-custom.faq-open .faq-toggle-custom i { transform: rotate(180deg); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hs-hero-section { padding: 10rem 0 4rem 0; }
  .hs-case-card { padding: 2rem; }
}

/* 11. RESPONSIVE MOBILE FIXES */
.hs-responsive-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hs-responsive-grid-cta {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.hs-responsive-grid-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .hs-responsive-grid-2col,
  .hs-responsive-grid-cta {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .hs-responsive-grid-form {
    grid-template-columns: 1fr;
  }
  .hs-hero-stats-wrap {
    gap: 1rem !important;
    justify-content: center;
  }
  .hs-hero-stats-wrap div {
    width: 100%;
    justify-content: center;
  }
}
