/* Service Page Specific Styling
  Brand Colors: Dark Blue #142e49, Orange #f19e3b, White #ffffff, Gray #a7a8a7
  Controlled Hover Blue: #3b82f6
*/

:root {
  --dark-blue: var(--navy);
  --dark-blue-hover: var(--navy-dark);
  --orange: #f19e3b;
  --orange-bright: #f5b364; 
  --orange-dark: var(--orange-hover);
  --hover-blue: #3b82f6;
  --white: #ffffff;
  --gray: #a7a8a7;
  --light-gray: #f8fafc;
  --border-light: #e2e8f0;
  --text-main: var(--text-body);
  --text-muted: var(--text-muted);
  --border-radius: 8px;
  --shadow-subtle: 0 4px 20px rgba(20, 46, 73, 0.03);
  --shadow-hover: 0 12px 30px rgba(20, 46, 73, 0.08);
  --shadow-glow: 0 8px 25px rgba(59, 130, 246, 0.2);
  --shadow-glow-blue: 0 8px 25px rgba(47, 128, 237, 0.2);
}

/* Base Layout Rules for Service Template */
.container {
  max-width: 1320px; 
  margin: 0 auto;
  padding: 0 5%;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Premium Layered Backgrounds (Matched to Homepage) */
.section-light { 
  background: radial-gradient(circle at top right, rgba(47, 128, 237, 0.03) 0%, var(--light-gray) 60%); 
}

.section-dark { 
  background-color: var(--dark-blue);
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03) 0%, transparent 60%); 
  color: var(--white); 
}

.text-white { color: var(--white) !important; }
.text-orange { color: var(--orange) !important; font-weight: 600; }
.text-center { text-align: center; }
.relative-z { position: relative; z-index: 2; }

/* Premium Typography Hierarchy */
h1, h2, h3 {
  font-family: inherit;
  letter-spacing: -0.02em; 
  color: var(--dark-blue);
  line-height: 1.2;
  font-weight: 700;
}

.section-title {
  font-size: 2.75rem;
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
  font-weight: 700;
  position: relative;
  display: block;
  text-align: center;
}

/* Subtle Heading Underline Accent */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 108px;
  height: 3px;
  background-color: var(--orange);
  border-radius: 2px;
  transform: translateX(-50%);
}

.text-center.section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-dark .section-title::after {
  background-color: rgba(241, 158, 59, 0.8);
}

.section-intro {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 65ch; 
  margin: 0 auto 3.5rem auto;
  line-height: 1.6;
  text-align: left;
}

.section-intro.text-center,
.svc-hero .section-intro {
  text-align: center;
}

p {
  line-height: 1.75; 
  color: var(--text-main);
  font-size: 1.125rem; 
  margin-bottom: 1.25rem;
}

a {
  color: var(--dark-blue);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

a:hover { color: var(--orange); }

/* Animations (Matched to Homepage) */
@keyframes float-gentle {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes shimmer-subtle {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse-glow {
  0% { opacity: 0.4; transform: scale(0.95); }
  100% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes svc-icon-float {
  0% {
    transform: translate3d(-3px, 0, 0) rotate(-0.4deg);
  }
  50% {
    transform: translate3d(3px, -12px, 0) rotate(0.4deg);
  }
  100% {
    transform: translate3d(-3px, 0, 0) rotate(-0.4deg);
  }
}

/* Solid brand color for highlighted heading text */
.section-title span.highlight,
.section-dark .section-title span.highlight {
    color: var(--orange);
    -webkit-text-fill-color: var(--orange);
    background: none;
    animation: none;
}

.gradient-text {
  color: var(--orange);
  -webkit-text-fill-color: var(--orange);
  background: none;
  animation: none;
  display: inline-block;
}

/* Icons & Graphics */
.icon-lg { width: 48px; height: 48px; display: block; margin: 0 auto 1.5rem auto; }
.icon-md { width: 32px; height: 32px; display: block; margin: 0 auto 1rem auto; }
.icon-sm { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }


/* 2. Buttons - Premium Glow & Lift (Matched to Homepage) */
.btn {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  min-height: 54px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none !important;
  border-radius: 6px; 
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--orange);
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(241, 158, 59, 0.25); 
  text-shadow: 0 1px 2px rgba(0,0,0,0.1); 
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn-primary:hover {
  background-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(241, 158, 59, 0.45); 
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark-blue) !important;
  border-color: var(--dark-blue);
  box-shadow: 0 4px 15px rgba(20, 46, 73, 0.05);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--dark-blue) !important;
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-large { padding: 16px 40px; font-size: 1.15rem; }

/* Readability fix for Secondary Buttons on Dark Sections */
.section-dark .btn-secondary,
.final-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white) !important;
}

.section-dark .btn-secondary:hover,
.final-cta .btn-secondary:hover {
  background-color: var(--white);
  color: var(--dark-blue) !important;
  border-color: var(--white);
  box-shadow: var(--shadow-glow-blue);
}


/* 4. Image Placeholders - Floating & Layered Depth (Matched to Homepage) */
.image-placeholder {
  background: linear-gradient(110deg, rgba(248, 250, 252, 0.8) 20%, rgba(255, 255, 255, 0.9) 40%, rgba(255, 255, 255, 0.9) 60%, rgba(248, 250, 252, 0.8) 80%);
  background-size: 200% auto;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 0.95rem;
  text-align: center;
  padding: 2rem;
  width: 100%;
  box-shadow: 0 8px 30px rgba(20, 46, 73, 0.04), inset 0 0 0 1px var(--border-light);
  animation: shimmer-subtle 6s infinite linear, float-gentle 7s ease-in-out infinite;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  backdrop-filter: blur(5px); /* Premium glass effect */
}

.image-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover), var(--shadow-glow-blue);
  border-color: rgba(59, 130, 246, 0.3);
}

.section-dark .image-placeholder {
  background: linear-gradient(110deg, rgba(30, 58, 95, 0.8) 20%, rgba(42, 76, 122, 0.9) 40%, rgba(42, 76, 122, 0.9) 60%, rgba(30, 58, 95, 0.8) 80%);
  border-color: rgba(255,255,255,0.1);
  color: #6486ab;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), inset 0 0 0 1px #224a75;
}

.section-dark .image-placeholder:hover {
   box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 8px 25px rgba(241, 158, 59, 0.15);
   border-color: rgba(241, 158, 59, 0.3);
}

.image-placeholder-hero { min-height: 480px; }
.image-placeholder-medium { min-height: 420px; }
.image-placeholder-tall { min-height: 560px; }


/* Background Glow Effects (Matched to Homepage) */
.bg-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite alternate;
  z-index: 0;
  filter: blur(60px);
}


/* Layout Utilities */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.align-center { align-items: center; }

/* Service Hero Section */
.svc-hero {
  padding: 145px 0 130px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top center, rgba(59, 130, 246, 0.05) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border-light);
}

.svc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.svc-hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
}

.svc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.64) 100%),
    radial-gradient(circle at center right, rgba(255, 255, 255, 0.08) 0%, transparent 62%);
  pointer-events: none;
  z-index: 1;
}

.svc-hero.shared-static-hero::before {
  background: linear-gradient(180deg, rgba(9, 36, 58, 0.38) 0%, rgba(9, 36, 58, 0.46) 100%);
}


.services-hero.shared-static-hero {
  background-image:
    linear-gradient(180deg, rgba(9, 36, 58, 0.46) 0%, rgba(9, 36, 58, 0.58) 100%),
    url("../images/hero/accounting-calculator-workspace.webp");
}

.svc-hero.shared-static-hero {
  background-image:
    linear-gradient(180deg, rgba(9, 36, 58, 0.38) 0%, rgba(9, 36, 58, 0.46) 100%),
    url("../images/hero/business-accounting-consultation.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.svc-hero.shared-static-hero .section-title,
.svc-hero.shared-static-hero .section-intro {
  color: var(--white);
}

.svc-hero.shared-static-hero .btn-secondary {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.78);
}

.svc-hero.shared-static-hero .btn-secondary:hover {
  background-color: var(--white);
  color: var(--dark-blue) !important;
  border-color: var(--white);
}

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

.svc-hero .split-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3.5rem;
  align-items: center;
}

.svc-hero-content {
  max-width: 840px;
}

/* Base H1 color explicitly dark blue to match light background, NO gradients applied here */
.svc-hero-content h1 { 
  font-size: 3.8rem; 
  color: var(--dark-blue); 
  margin-bottom: 1.5rem; 
  line-height: 1.15;
  max-width: 18ch;
  display: block; 
}
.svc-hero-content h1 .gradient-text {
  line-height: 1.15;
  padding: 0.04em 0 0.08em;
}
.svc-hero-title-tail {
  white-space: nowrap;
}
.svc-hero-content h1::after { display: none; } 

.section-dark .svc-hero-content h1 {
  color: var(--white);
}

.svc-hero-subtitle { font-size: 1.3rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 55ch; }
.section-dark .svc-hero-subtitle { color: rgba(255,255,255,0.9); }
.svc-hero-actions { display: flex; gap: 1rem; flex-wrap: nowrap; align-items: center; }

.svc-hero-visual {
  position: relative;
  z-index: 2;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.svc-hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(360px, 40vw, 500px);
  height: clamp(360px, 40vw, 500px);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(59, 130, 246, 0.28) 0%, rgba(59, 130, 246, 0.14) 42%, transparent 74%),
    radial-gradient(circle at 68% 30%, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0.08) 46%, transparent 78%);
  filter: blur(56px);
  z-index: 0;
  pointer-events: none;
}

.svc-hero-visual-card {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: auto;
  max-width: min(520px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  animation: svc-icon-float 8s ease-in-out infinite;
}

.svc-hero-icon {
  width: clamp(420px, 42vw, 560px);
  max-width: 560px;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: 0;
  filter: none;
}

.svc-hero-fallback-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}


/* Editorial List (Problems) */
.editorial-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.editorial-item {
  position: relative;
  padding: 1.5rem 0 1.5rem 2.5rem;
  border-left: 3px solid rgba(241, 158, 59, 0.3);
  transition: all 0.4s ease;
  border-radius: 0 8px 8px 0;
}

.editorial-item:hover {
  border-left-color: var(--orange);
  background: linear-gradient(90deg, rgba(241, 158, 59, 0.05) 0%, transparent 100%);
  transform: translateX(5px);
  box-shadow: 5px 0 15px rgba(241, 158, 59, 0.05) inset;
}

.editorial-title {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
  color: var(--dark-blue);
  transition: color 0.3s ease;
}

.editorial-item:hover .editorial-title {
  color: var(--orange-dark);
}

.editorial-item p { margin: 0; max-width: 65ch;}


/* Feature List (Why Switch) */
.svc-switch { padding: 120px 0; }
.svc-switch-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.svc-switch-visual img {
  width: 100%;
  height: auto;
}

@media (min-width: 993px) {
  .svc-switch .split-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 3vw, 3rem);
    align-items: center;
    justify-content: center;
    max-width: 1320px;
    margin: 0 auto;
  }

  .svc-switch-visual {
    height: 100%;
    justify-content: center;
    align-items: center;
  }

  .svc-switch-content {
    align-self: center;
  }

  .svc-switch-visual img {
    width: min(100%, 900px);
    max-width: 900px;
  }
}

@media (min-width: 1200px) {
  .svc-switch .split-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
}

.clean-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.clean-feature-list li {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  border-left: 4px solid rgba(241, 158, 59, 0.8);
  border-top: 1px solid rgba(241, 158, 59, 0.2);
  box-shadow: var(--shadow-subtle);
  transition: all 0.4s ease;
}

.clean-feature-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover), var(--shadow-glow-blue);
  border-left-color: var(--orange);
}

.clean-feature-list strong {
  display: block;
  font-size: 1.35rem;
  color: var(--dark-blue);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.clean-feature-list li:hover strong {
  color: var(--orange-dark);
}

.clean-feature-list p { margin: 0; }


/* Minimal Grid (How We Help) */
.minimal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.minimal-panel {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle Hover Accent Line */
.minimal-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.minimal-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover), var(--shadow-glow-blue);
  border-color: rgba(241, 158, 59, 0.35);
}

.minimal-panel:hover::before {
  transform: scaleX(1);
}

.minimal-panel h3 {
  font-size: 1.55rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.minimal-panel:hover h3 {
  color: var(--orange-dark);
}

.minimal-panel p { margin: 0; }


/* Timeline (Our Process) */
.timeline-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(241, 158, 59, 0.24);
  border-top: 3px solid rgba(241, 158, 59, 0.45);
}

.timeline-number {
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 15px rgba(241, 158, 59, 0.15);
}

.timeline-content h3 { font-size: 1.45rem; margin-bottom: 0.75rem; }
.timeline-content p { color: var(--text-muted); margin: 0; line-height: 1.6;}


/* Local Trust Section */
.svc-local { padding: 120px 0; overflow: hidden;}
.svc-local-content h2 { margin-bottom: 1.5rem; }
.svc-local-content h2::after { background-color: rgba(241, 158, 59, 0.8); }
.svc-local-content p { font-size: 1.15rem; max-width: 55ch; opacity: 0.95;}
.svc-local-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.svc-local-visual img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

@media (min-width: 993px) {
  .svc-local-visual img {
    width: 122%;
    max-width: 700px;
  }
}


/* FAQs (Collapsible Semantic HTML) */
.faq-container {
  max-width: 920px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 3rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all 0.4s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-hover), var(--shadow-glow-blue);
  border-color: rgba(241, 158, 59, 0.3);
  transform: translateY(-2px);
}

.faq-item[open] {
  border-color: var(--orange);
  box-shadow: var(--shadow-glow);
  transform: translateY(0); /* Reset lift when open to ground it */
}

/* Remove default marker */
.faq-item > summary {
  list-style: none;
}
.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  cursor: pointer;
  padding: 1.75rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-blue);
  position: relative;
  padding-right: 2.5rem;
  margin: 0;
  transition: color 0.3s ease, background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.faq-item:hover .faq-question {
  color: var(--orange-dark);
}

.faq-item[open] .faq-question {
  color: var(--orange-dark);
  background-color: rgba(241, 158, 59, 0.03);
}

/* Custom Plus/Minus Icon */
.faq-question::after {
  content: "+";
  position: static;
  font-size: 2rem;
  color: var(--orange);
  font-weight: 300;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  flex: 0 0 auto;
  line-height: 1;
}

.faq-item:hover .faq-question::after {
  color: var(--orange-dark);
}

.faq-item[open] .faq-question::after {
  content: "−";
  color: var(--orange);
  transform: rotate(180deg) scale(1.1);
}

.faq-answer {
  padding: 0 2.5rem 1.75rem 2.5rem;
  color: var(--text-muted);
  background-color: rgba(241, 158, 59, 0.03);
  animation: fade-in-down 0.4s ease-out; /* Smooth open */
}

@keyframes fade-in-down {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.faq-answer p { margin: 0; font-size: 1.1rem; line-height: 1.7; }



@media (min-width: 992px) {
  .faq-container {
    max-width: 1360px;
  }

  .faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(420px, 1fr));
    gap: 24px 30px;
    align-items: start;
  }

  .faq-item {
    height: auto;
    align-self: start;
  }
}

/* Related Services (reuses About page compact service card pattern) */
.related-services .services-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.related-services .service-preview-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.related-services .service-preview-card h3 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--dark-blue);
  transition: color 0.3s ease;
}


/* Mobile Responses (Handled mostly globally, but specifics here) */
@media (max-width: 992px) {
  .split-layout { grid-template-columns: 1fr; gap: 3rem; }
  .timeline-layout { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  section { padding: 80px 0; }
  .svc-hero-content h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
  .timeline-layout { grid-template-columns: 1fr; }
  .svc-hero {
    padding: 88px 0 60px;
  }
  .svc-hero-content {
    text-align: center;
  }
  .svc-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .svc-hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn { width: 100%; text-align: center; }
  .svc-hero-content h1 { font-size: 2.4rem; }
  .section-title { font-size: 2.2rem; }
  .svc-hero-visual-card {
    min-height: auto;
    max-width: 100%;
    padding: 0;
  }
  .svc-hero-icon {
    width: clamp(180px, 56vw, 240px);
    max-height: 240px;
  }
  .faq-question { font-size: 1.1rem; padding: 1.25rem 1.5rem; padding-right: 3rem;}
  .faq-answer { padding: 0 1.5rem 1.25rem 1.5rem; }
  .timeline-step { padding: 0; border: none; }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .image-placeholder, .btn-primary::after, .minimal-panel, .clean-feature-list li, .editorial-item, .timeline-step, .faq-item { transform: none !important; }
}

/* Services Hub Layout (Scoped to /services/) */
.services-overview .container,
.pain-points .container,
.local-expertise .container {
  max-width: 1200px;
}

.services-overview {
  padding-top: 96px;
  padding-bottom: 104px;
}

.services-overview .section-intro {
  max-width: 72ch;
  margin-bottom: 2.75rem;
}

.services-overview .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.services-overview .service-card {
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--orange);
  border-radius: 12px;
  box-shadow: var(--shadow-subtle);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease, border-top-color 0.32s ease;
}

.services-overview .service-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.4rem;
}

.services-overview .service-card p {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.services-overview .service-card .text-orange {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.28s ease, transform 0.28s ease, letter-spacing 0.28s ease;
}

.services-overview .service-card .icon-lg {
  transition: filter 0.32s ease, transform 0.32s ease;
}

@media (hover: hover) and (pointer: fine) {
  .services-overview .service-card:hover,
  .services-overview .service-card:focus-visible {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(20, 46, 73, 0.1), 0 6px 18px rgba(241, 158, 59, 0.16);
    border-color: #d6dee8;
    border-top-color: var(--orange-bright);
  }

  .services-overview .service-card:hover .icon-lg,
  .services-overview .service-card:focus-visible .icon-lg {
    transform: translateY(-1px);
    filter: drop-shadow(0 0 6px rgba(241, 158, 59, 0.35));
  }

  .services-overview .service-card:hover .text-orange,
  .services-overview .service-card:focus-visible .text-orange {
    color: var(--orange-dark) !important;
    transform: translateX(3px);
    letter-spacing: 0.01em;
  }
}

.pain-points .two-col-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
}

.pain-points .trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pain-points .trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-subtle);
}

.local-expertise .max-w-content {
  max-width: 860px;
}

@media (max-width: 1100px) {
  .services-overview .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .services-overview .services-grid,
  .pain-points .two-col-layout {
    grid-template-columns: 1fr;
  }

  .services-overview .service-card {
    padding: 1.5rem;
  }
}


.svc-faqs.section-light {
  padding-bottom: 82px;
}

@media (max-width: 991px) {
  .svc-faqs.section-light {
    padding-bottom: 96px;
  }
}



/* Desktop layout expansion test: Accounting Services (Irvine) only */
@media (min-width: 1024px) {
  .service-page-accountant-irvine > section {
    padding: 76px 0;
  }

  .service-page-accountant-irvine .container,
  .service-page-accountant-irvine + .related-services .container,
  .service-page-accountant-irvine + .related-services + .credential-strip .container {
    max-width: 1240px;
    padding-left: clamp(24px, 3.2vw, 44px);
    padding-right: clamp(24px, 3.2vw, 44px);
  }

  .service-page-accountant-irvine .section-intro {
    max-width: 72ch;
  }

  .service-page-accountant-irvine .svc-help .minimal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .service-page-accountant-irvine .svc-help .minimal-panel {
    padding: 2.25rem 1.8rem;
  }

  .service-page-accountant-irvine .svc-process .timeline-layout {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.25rem, 2vw, 2rem);
  }

  .service-page-accountant-irvine .svc-process .timeline-step {
    padding: 1.25rem 1rem;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.72);
  }

  .service-page-accountant-irvine .faq-container {
    max-width: 1240px;
  }

  .service-page-accountant-irvine .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px;
  }

  .service-page-accountant-irvine .faq-question {
    min-height: 106px;
  }

  .service-page-accountant-irvine + .related-services .container {
    max-width: 1240px;
  }

  .service-page-accountant-irvine + .related-services .services-preview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .service-page-accountant-irvine + .related-services .service-preview-card {
    padding: 1.75rem 1.25rem;
  }

  .service-page-accountant-irvine + .related-services + .credential-strip .credential-strip-inner {
    max-width: 1240px;
  }

  .service-page-accountant-irvine + .related-services + .credential-strip .credential-badge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
/* Accounting Services page targeted layout/background refinements (accountant-irvine only) */
@media (min-width: 1024px) {
  .service-page-accountant-irvine .container,
  .service-page-accountant-irvine + .related-services .container,
  .service-page-accountant-irvine + .related-services + .credential-strip .container {
    max-width: 1280px;
    padding-left: clamp(30px, 3vw, 48px);
    padding-right: clamp(30px, 3vw, 48px);
  }

  .service-page-accountant-irvine .editorial-list,
  .service-page-accountant-irvine .svc-switch .split-layout {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-page-accountant-irvine .editorial-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .service-page-accountant-irvine .editorial-item p,
  .service-page-accountant-irvine .svc-switch-content p,
  .service-page-accountant-irvine .clean-feature-list li p,
  .service-page-accountant-irvine .minimal-panel p {
    max-width: none;
  }

  .service-page-accountant-irvine .svc-switch .split-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 3vw, 3rem);
  }

  .service-page-accountant-irvine .svc-switch-visual {
    max-width: none;
  }

  .service-page-accountant-irvine .svc-help .minimal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .service-page-accountant-irvine .svc-process .timeline-layout {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .service-page-accountant-irvine .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .service-page-accountant-irvine + .related-services .services-preview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .service-page-accountant-irvine + .related-services + .credential-strip .credential-strip-inner {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
  }
}

.service-page-accountant-irvine > section:not(.svc-hero),
.service-page-accountant-irvine + .related-services,
.service-page-accountant-irvine + .related-services + .credential-strip {
  position: relative;
  overflow: hidden;
}

.service-page-accountant-irvine .svc-problems,
.service-page-accountant-irvine .svc-help,
.service-page-accountant-irvine + .related-services {
  background: #ffffff;
}

.service-page-accountant-irvine .svc-switch,
.service-page-accountant-irvine .svc-faqs,
.service-page-accountant-irvine + .related-services + .credential-strip {
  background: linear-gradient(180deg, #f4f8fd 0%, #edf3f9 100%);
}

.service-page-accountant-irvine .svc-process {
  background-color: #f8fbff;
}

/* Global service page width and ledger-paper system */
@media (min-width: 1024px) {
  .service-page > section {
    padding: 76px 0;
  }

  .service-page .container,
  .service-page .faq-container,
  .service-page .related-services .container,
  body.page-service .credential-strip .container {
    max-width: 1280px;
    padding-left: clamp(30px, 3vw, 48px);
    padding-right: clamp(30px, 3vw, 48px);
  }

  .service-page .editorial-list,
  .service-page .svc-switch .split-layout {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-page .editorial-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .service-page .svc-switch .split-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 3vw, 3rem);
  }

  .service-page .svc-help .minimal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .service-page .svc-process .timeline-layout {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .service-page .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .service-page .related-services .services-preview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  body.page-service .credential-strip .credential-strip-inner {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
  }
}

.service-page .svc-process,
.service-page .svc-faqs,
.service-page .related-services,
body.page-service .credential-strip,
.service-page .svc-switch {
  background-color: #f3f7fc;
}
