/* ============================================
   SARAA Financial Services — Service Pages
   Shared styles for all service landing pages
   ============================================ */

/* --- Page Load Animation --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.service-page-body {
  animation: fadeIn 0.5s ease-out;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
}

.breadcrumb .current {
  color: var(--accent);
  font-weight: 500;
}

/* --- Service Hero --- */
.service-hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #162B4D 50%, #1A3355 100%);
  color: var(--bg-white);
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.service-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

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

.service-hero-content {
  max-width: 700px;
}

.service-hero h1 {
  color: var(--bg-white);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.service-hero h1 .accent {
  color: var(--accent);
  font-style: italic;
}

.service-hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Service Introduction --- */
.service-intro {
  padding: 5rem 0;
  background: var(--bg-white);
}

.service-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-intro-content h2 {
  margin-bottom: 1.5rem;
}

.service-intro-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.service-intro-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.intro-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-offwhite);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
  transition: var(--transition);
}

.intro-highlight:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.intro-highlight i {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.intro-highlight h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.intro-highlight p {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- Sub-Service Cards Grid --- */
.sub-services-section {
  padding: 5rem 0;
  background: var(--bg-offwhite);
}

.sub-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.sub-service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 2.5rem 2rem;
  border-radius: 6px;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.sub-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sub-service-card:hover::before {
  transform: scaleX(1);
}

.sub-service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.sub-service-card .card-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-offwhite);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.sub-service-card:hover .card-icon {
  background: var(--primary);
  color: var(--accent);
}

.sub-service-card h3 {
  font-size: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.sub-service-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.sub-service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.sub-service-card .card-link i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.sub-service-card:hover .card-link {
  color: var(--accent);
}

.sub-service-card:hover .card-link i {
  transform: translateX(4px);
}

/* --- Detailed Sections (Accordions) --- */
.detail-sections {
  padding: 5rem 0;
  background: var(--bg-white);
}

.detail-section {
  margin-bottom: 4rem;
  scroll-margin-top: 100px;
}

.detail-section:last-child {
  margin-bottom: 0;
}

.detail-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-light);
}

.detail-section-header .section-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.detail-section-header h2 {
  font-size: 1.75rem;
  margin-bottom: 0;
}

.detail-section-intro {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 800px;
}

/* Accordion */
.accordion {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--bg-white);
  border: none;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  gap: 1rem;
}

.accordion-header:hover {
  background: var(--bg-offwhite);
}

.accordion-header.active {
  background: var(--primary);
  color: var(--bg-white);
}

.accordion-icon {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body-inner {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.accordion-body-inner p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.accordion-body-inner p:last-child {
  margin-bottom: 0;
}

.accordion-body-inner ul {
  padding-left: 0;
  margin-bottom: 1rem;
}

.accordion-body-inner ul li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.accordion-body-inner ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Feature grid inside accordion */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-offwhite);
  border-radius: 6px;
}

.feature-item i {
  color: var(--accent);
  margin-top: 3px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.4;
}

/* --- Why Choose Us Section --- */
.why-choose-section {
  padding: 5rem 0;
  background: var(--bg-offwhite);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.why-choose-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition);
}

.why-choose-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-choose-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.why-choose-card h4 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.why-choose-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- Benefits Section --- */
.benefits-section {
  padding: 5rem 0;
  background: var(--primary);
  color: var(--bg-white);
}

.benefits-section h2 {
  color: var(--bg-white);
}

.benefits-section .section-subtitle {
  color: var(--accent);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.25rem;
  border-radius: 6px;
  transition: var(--transition);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.benefit-card .benefit-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.benefit-card h4 {
  color: var(--bg-white);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Process Timeline --- */
.process-section {
  padding: 5rem 0;
  background: var(--bg-white);
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: var(--border-light);
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--bg-white);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.process-step:hover .step-number {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-body);
  max-width: 180px;
  line-height: 1.5;
}

/* --- Documents Section --- */
.documents-section {
  padding: 5rem 0;
  background: var(--bg-offwhite);
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.document-category {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 2rem;
}

.document-category h4 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.document-category h4 i {
  color: var(--accent);
}

.document-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--text-body);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.document-list li:last-child {
  border-bottom: none;
}

.document-list li i {
  color: var(--success);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 5rem 0;
  background: var(--bg-offwhite);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-white);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--bg-white);
  border: none;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question.active {
  background: var(--bg-offwhite);
  color: var(--primary);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-question.active .faq-toggle {
  background: var(--primary);
  color: var(--bg-white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, #1A3355 100%);
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-content h2 {
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-feature i {
  color: var(--accent);
  font-size: 0.85rem;
}

.cta-form-wrapper .quote-card {
  border-radius: 6px;
}

/* --- Related Services --- */
.related-services {
  padding: 5rem 0;
  background: var(--bg-white);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition);
}

.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.related-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.related-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.related-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.related-card .visit-link {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.related-card:hover .visit-link {
  color: var(--accent);
}

.related-card:hover .visit-link i {
  font-size: 0.7rem;
  color: inherit;
  margin-bottom: 0;
  transform: translateX(3px);
  transition: transform 0.3s ease;
}

/* --- Sticky CTA Button --- */
.sticky-cta {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 98;
  background: var(--accent);
  color: var(--primary);
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.sticky-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(201, 168, 76, 0.5);
  background: var(--accent-hover);
}

.sticky-cta i {
  font-size: 1rem;
}

/* --- Nav Dropdown (for Service Pages) --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-toggle .caret {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%) translateY(10px);
  z-index: 100;
  padding: 0.5rem 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.nav-dropdown-menu a:hover {
  background: var(--bg-offwhite);
  color: var(--accent);
}

.nav-dropdown-menu a i {
  color: var(--accent);
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--bg-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 98;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

/* ============================================
   Services Overhaul Components
   ============================================ */

/* --- Page Layout with Sidebar --- */
.page-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 3rem;
}

.page-sidebar {
  flex: 0 0 250px;
  position: sticky;
  top: 100px; /* offset for sticky header */
}

.page-content {
  flex: 1;
  min-width: 0; /* prevents flex blowout */
}

/* --- Sticky Sidebar Navigation --- */
.sidebar-nav {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-nav h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-link {
  display: block;
  font-size: 0.9rem;
  color: var(--text-body);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-link:hover {
  background: var(--bg-offwhite);
  color: var(--primary);
}

.sidebar-link.active {
  background: rgba(201, 168, 76, 0.1);
  color: var(--primary);
  border-left-color: var(--accent);
  font-weight: 600;
}

/* --- Detailed Content Blocks (No Accordions) --- */
.detail-content-block {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 120px; /* Offset for anchor jumps */
}

.detail-content-block h2 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.detail-content-block h2 i {
  color: var(--accent);
}

.detail-content-block h3 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
  color: var(--text-dark);
}

.detail-content-block p {
  margin-bottom: 1rem;
  color: var(--text-body);
  line-height: 1.7;
}

.detail-content-block ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-body);
}

.detail-content-block li {
  margin-bottom: 0.5rem;
}

.content-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.content-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  background: var(--bg-offwhite);
  padding: 1rem;
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}

.content-feature-item i {
  color: var(--accent);
  margin-top: 3px;
}

/* --- Comparison Tables --- */
.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border: 1px solid var(--border-light);
  text-align: left;
}

.comparison-table th {
  background: var(--primary);
  color: var(--bg-white);
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background: var(--bg-offwhite);
}

.comparison-table tr:hover {
  background: rgba(201, 168, 76, 0.05);
}

/* --- JS Calculators Widget --- */
.calculator-widget {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
}

.calculator-header {
  margin-bottom: 1.5rem;
}

.calculator-header h3 {
  color: var(--primary);
  font-family: var(--font-serif);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.calc-result-box {
  background: var(--bg-offwhite);
  padding: 1.5rem;
  border-radius: 6px;
  text-align: center;
  border: 1px dashed var(--accent);
}

.calc-result-box h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.calc-result-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-serif);
}

/* --- Brochure Download --- */
.download-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  margin-top: 1rem;
}

.download-action:hover:not(.disabled) {
  background: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

.download-action.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================
   Responsive — Service Pages
   ============================================ */

@media (max-width: 1024px) {
  .page-layout {
    flex-direction: column;
    gap: 2rem;
  }
  
  .page-sidebar {
    position: static;
    flex: auto;
    width: 100%;
  }

  .service-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sub-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    flex: 0 0 calc(33.333% - 1.5rem);
  }

  .cta-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  /* Nav dropdown on mobile */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    min-width: auto;
    padding: 0;
    background: transparent;
  }

  .nav-dropdown-menu a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .service-hero {
    padding: 120px 0 60px;
  }

  .service-hero h1 {
    font-size: 2rem;
  }

  .sub-services-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex: 0 0 calc(50% - 1rem);
  }

  .documents-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .cta-features {
    grid-template-columns: 1fr;
  }

  .intro-highlight {
    padding: 1rem;
  }

  .service-intro-highlights {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .sticky-cta {
    bottom: 5rem;
    right: 1rem;
    padding: 0.7rem 1.25rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .service-hero {
    padding: 110px 0 50px;
  }

  .service-hero h1 {
    font-size: 1.75rem;
  }

  .process-step {
    flex: 0 0 100%;
  }

  .accordion-header {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }

  .accordion-body-inner {
    padding: 1.25rem;
  }

  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.88rem;
  }

  .sub-service-card {
    padding: 2rem 1.5rem;
  }
}
