/* ==========================================================================
   SERVICE DETAIL TEMPLATE — DEDICATED STYLESHEET
   Brand: Aarambh Agency
   Fonts: Cormorant Garamond (Display) + Montserrat (Functional)
   Colors: Primary Red (#D62828), Burnt Orange (#E86F30), Soft Red (#FDECEC)
   ========================================================================== */

@import url('style.css');
@import url('services.css');

/* Service Detail Hero */
.service-hero {
  padding: 130px 0 64px;
  text-align: center;
  position: relative;
}

.service-hero-content {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.service-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.015em;
}

.service-hero-intro {
  font-family: var(--font-functional);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn-whatsapp {
  background: #FFFFFF;
  color: #1A1A1A;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.btn-whatsapp:hover {
  background: #F0FDF4;
  border-color: #25D366;
  color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.18);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  color: #25D366;
  flex-shrink: 0;
}

/* Section Common Titles */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.section-header p {
  font-family: var(--font-functional);
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* What's Included Grid */
/* What's Included Grid — 1 col Mobile, 2 cols Tablet, 4 cols Laptop/Desktop */
.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.included-grid.five-items {
  grid-template-columns: repeat(3, 1fr);
}

.included-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.025);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .included-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 40, 40, 0.3);
    box-shadow: 0 12px 28px rgba(214, 40, 40, 0.08);
  }

  .included-card:hover .included-link-arrow {
    transform: translateX(4px);
  }
}

.included-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.included-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
}

.included-card p {
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--text-secondary);
  margin: 0;
}

.included-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-functional);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-top: 6px;
  min-height: 44px;
  transition: transform var(--transition-fast);
}

/* Why It Works (Result Points) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.why-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.025);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--brand-orange));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 40, 40, 0.3);
    box-shadow: 0 12px 28px rgba(214, 40, 40, 0.08);
  }

  .why-card:hover::before {
    opacity: 1;
  }
}

.why-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
}

.why-card p {
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--text-secondary);
  margin: 0;
}

/* FAQ Accordion */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-color);
}

.faq-item.active {
  border-bottom-color: var(--primary-red);
}

.faq-header {
  padding: 16px 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-functional);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  user-select: none;
  gap: 16px;
  box-sizing: border-box;
  transition: color var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .faq-header:hover {
    color: var(--primary-red);
  }
}

.faq-header span {
  flex: 1;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-red);
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 0 24px;
  display: none;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-item.active .faq-content {
  display: block;
  animation: faqFadeIn 0.3s ease;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Related Services Grid — 1 col Mobile, 2 cols Tablet, 3 cols Laptop/Desktop */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

/* Media Queries for Service Detail Pages */
/* Tablet: 640px to 1023px */
@media (min-width: 640px) and (max-width: 1023px) {
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .included-grid.five-items {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile: up to 639px */
@media (max-width: 639px) {
  .service-hero {
    padding: 100px 0 40px;
  }
  .included-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .included-grid.five-items {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
}
