/* ══════════════════════════════════════════════════
   VALOR MEDICAL REVIEWS — Services Page Styles
   Page-specific styles for services.html
   ══════════════════════════════════════════════════ */

/* ── Hero Section (reuses dark pattern) ── */
.section--services-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  background-image: url('../images/Final+-+Home+Page+New.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section--services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(23, 51, 79, 0.75);
  z-index: 1;
}

.section--services-hero .container {
  position: relative;
  z-index: 2;
}

.section--services-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.services-hero-underline {
  width: 3.25rem;
  height: 4px;
  background: var(--color-burgundy);
  border-radius: 2px;
  margin: var(--space-4) 0 var(--space-6);
}

.services-hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--text-xl);
  line-height: var(--leading-loose);
  max-width: 620px;
  margin-bottom: var(--space-10);
}

/* ── Service Detail Sections ── */
.service-section {
  padding: var(--section-pad);
}

.service-section h2 {
  margin-bottom: var(--space-6);
}

.service-intro {
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  color: var(--color-body);
  margin-bottom: var(--space-10);
  max-width: var(--container-narrow);
}

/* ── "What's Included" Subheading with Burgundy Rule ── */
.service-included-heading {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--color-burgundy);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-burgundy);
  display: inline-block;
}

/* ── Two-Column Bullet Grid ── */
.service-bullets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-10);
  list-style: none;
}

.service-bullets-grid li {
  font-size: var(--text-base);
  line-height: var(--leading-snug);
  color: var(--color-body);
  padding-left: var(--space-6);
  position: relative;
}

.service-bullets-grid li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-burgundy);
  font-weight: var(--weight-bold);
  font-size: 1.25rem;
  line-height: 1;
}

/* ── Micro-Text Process Steps ── */
.service-process-micro {
  font-size: var(--text-sm);
  line-height: var(--leading-prose);
  color: var(--color-muted);
  margin-bottom: var(--space-10);
  padding: var(--space-6) var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-md);
}

/* ── Pricing Callout Box with Burgundy Left Border ── */
.service-pricing-box {
  padding: var(--space-8);
  background: var(--color-white);
  border-left: 4px solid var(--color-burgundy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  color: var(--color-body);
}

.service-pricing-box strong {
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
}

/* ── Documentation & Compliance Standards ── */
.compliance-section {
  padding: var(--section-pad);
  background: var(--color-surface);
}

.compliance-heading {
  font-size: clamp(2rem, 3.5vw, var(--text-4xl));
  text-align: center;
  margin-bottom: var(--space-12);
  color: var(--color-navy);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: var(--container-max);
  margin: 0 auto;
}

.compliance-item {
  text-align: center;
}

.compliance-checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-burgundy);
  color: var(--color-white);
  border-radius: 50%;
  font-weight: var(--weight-bold);
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
}

.compliance-item h3 {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}

.compliance-item p {
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: var(--color-muted);
}

/* ── FAQ Accordion Section ── */
.faq-section {
  padding: var(--section-pad);
  background: var(--color-white);
}

.faq-heading {
  font-size: clamp(2rem, 3.5vw, var(--text-4xl));
  text-align: center;
  margin-bottom: var(--space-12);
  color: var(--color-navy);
}

.faq-container {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-8) 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item details {
  cursor: pointer;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  user-select: none;
  transition: color var(--transition-base);
}

.faq-item summary:hover {
  color: var(--color-burgundy);
}

.faq-item summary::before {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 4px;
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item details[open] summary::before {
  content: '−';
  transform: rotate(0deg);
}

.faq-item-answer {
  padding: var(--space-6) 0 0 calc(1.5rem + var(--space-4));
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  color: var(--color-body);
}

/* ── Footer CTA (Shared Inner Page Pattern) ── */
.section--footer-cta-services {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  background-image: url('../images/Final+-+Home+Page+New.webp');
  background-size: cover;
  background-position: center;
  padding: var(--space-24) var(--space-5) var(--space-20);
}

.section--footer-cta-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(23, 51, 79, 0.75);
  z-index: 1;
}

.section--footer-cta-services .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.section--footer-cta-services h2 {
  color: var(--color-white);
  font-size: var(--text-cta);
  margin-bottom: var(--space-4);
  line-height: var(--leading-snug);
}

.section--footer-cta-services .footer-cta-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-10);
}

/* ── Responsive Adjustments ── */
@media (max-width: 900px) {
  .compliance-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .service-bullets-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

@media (max-width: 768px) {
  .section--services-hero {
    background-attachment: scroll;
  }

  .services-hero-sub {
    font-size: var(--text-base);
  }

  .service-section {
    padding: var(--space-16) var(--space-5);
  }

  .compliance-section {
    padding: var(--space-16) var(--space-5);
  }

  .faq-section {
    padding: var(--space-16) var(--space-5);
  }

  .faq-item-answer {
    padding: var(--space-4) 0 0 var(--space-6);
  }

  .section--footer-cta-services {
    padding: var(--space-16) var(--space-5);
  }

  .section--footer-cta-services h2 {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 480px) {
  .services-hero-underline {
    width: 2.5rem;
  }

  .faq-item summary {
    font-size: var(--text-sm);
  }
}
