/* Auto-split from original styles.css for easier theme maintenance. */

/* =========================================================
   10. SERVICES
========================================================= */

/* Base service cards */
.services-grid .service-item,
.service-item {
  height: 100%;
}

.service-item {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 38px;
  border: 1px solid var(--mesh-border-soft);
  border-radius: var(--mesh-radius-md);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--mesh-transition);
}

.service-item:hover {
  transform: translateY(-4px);
  border-color: rgba(166, 245, 0, 0.24);
}

.service-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(111, 99, 255, 0.16);
  color: var(--mesh-green);
  font-size: 1.4rem;
}

.service-item h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: var(--type-h3);
  font-weight: 800;
  line-height: 1.12;
}

.service-item p {
  margin: 0;
  color: var(--mesh-text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

/* Benefit card variation */
.service-benefit-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

/* Service overview / parent page cards */
.service-overview-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(166, 245, 0, 0.3);
}

.service-overview-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-overview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Service overview content */
.service-overview-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.service-overview-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mesh-green);
}

.service-overview-content h3 {
  margin-bottom: 12px;
  font-size: var(--type-h3);
  line-height: 1.12;
}

.service-overview-content h3 a {
  color: #fff;
  text-decoration: none;
}

.service-overview-content p {
  margin-bottom: 18px;
  color: var(--mesh-text-muted);
  line-height: 1.75;
}

.service-overview-actions {
  margin-top: auto;
}

/* Services page premium grid */
.service-grid-premium .service-overview-card {
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-grid-premium .service-overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(166, 245, 0, 0.28);
}

/* Principles cards */
.section-principles-grid .mini-stat {
  height: 100%;
  padding: 28px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-principles-grid .mini-stat strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #fff;
}

/* Included / deliverable cards */
.service-included-card {
  position: relative;
  height: 100%;
  min-height: 280px;
  padding: 34px 30px 44px;
  overflow: hidden;
  border: 1px solid var(--mesh-border-soft);
  border-radius: var(--mesh-radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.service-included-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 60px;
  height: 2px;
  background: var(--mesh-green);
  box-shadow: 0 0 10px rgba(166, 245, 0, 0.28);
}

.service-included-card h3 {
  margin-bottom: 14px;
}

.service-included-card p {
  margin-bottom: 0;
}

/* Fit cards */
.service-fit-card {
  height: 100%;
}

/* Service page images */
.service-page .content-image-break {
  width: 100%;
  max-width: 92%;
  aspect-ratio: 4 / 3;
}

.service-page .content-image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-feature-image img {
  min-height: 440px;
  object-fit: cover;
}

.service-page .page-content p:last-child,
.service-page .section-text:last-child {
  margin-bottom: 0;
}

/* =========================================================
   UNIVERSAL SERVICE PROCESS TIMELINE
   Supports timeline markup inside both the Process section
   and manually entered Split Section / WYSIWYG content.
========================================================= */

.service-page .strategy-timeline,
.service-page .service-process {
  position: relative;
  margin-top: 2rem;
}

.service-page .strategy-timeline-item,
.service-page .service-process-item {
  position: relative;
  padding-left: 56px;
  padding-bottom: 2.75rem;
}

.service-page .strategy-timeline-item:last-child,
.service-page .service-process-item:last-child {
  padding-bottom: 0;
}

/* Timeline dot */
.service-page .strategy-timeline-item::before,
.service-page .service-process-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 50%;
  background: var(--mesh-green);
  box-shadow:
    0 0 10px rgba(166, 245, 0, 0.35),
    0 0 22px rgba(166, 245, 0, 0.18);
  z-index: 2;
}

/* Connector line */
.service-page .strategy-timeline-item:not(:last-child)::after,
.service-page .service-process-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 1px;
  height: calc(100% - 4px);
  display: block;
  background: linear-gradient(
    to bottom,
    rgba(166, 245, 0, 0.35),
    rgba(166, 245, 0, 0.05)
  );
  z-index: 1;
}

/* Number */
.service-page .strategy-timeline-number,
.service-page .service-process-number {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mesh-green);
}

/* Heading */
.service-page .strategy-timeline-item h4,
.service-page .service-process-item h4 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.15rem, 1.3vw, 1.35rem);
  font-weight: 800;
  line-height: 1.15;
}

/* Body */
.service-page .strategy-timeline-item p,
.service-page .service-process-item p {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.8;
}

/* Prevent global page-content spacing from disrupting timeline items */
.service-page .page-content .strategy-timeline,
.service-page .page-content .service-process {
  margin-top: 2rem;
  margin-bottom: 0;
}

.service-page .page-content .strategy-timeline-item p,
.service-page .page-content .service-process-item p {
  margin-bottom: 0;
}



/* =========================================================
   THE MESH METHOD SECTION
========================================================= */

.service-method-section {
  position: relative;
  overflow: hidden;
}

.service-method-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(166, 245, 0, 0.08), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(111, 99, 255, 0.10), transparent 30%);
}

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

.service-method-section .feature-list {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

.service-method-section .content-image-break {
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

/* =========================================================
   EXPECTED OUTCOMES
========================================================= */

.service-results-section .mini-stat {
  height: 100%;
  padding: 30px 26px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.service-results-section .mini-stat strong {
  display: block;
  margin-bottom: 10px;
  color: var(--mesh-green);
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-results-section .mini-stat span {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 800;
}

.service-results-section .mini-stat p {
  margin: 0;
  color: var(--mesh-text-muted);
  line-height: 1.7;
}

/* =========================================================
   INDUSTRIES / AUDIENCE / RELATED SERVICES
========================================================= */

.service-industries-section .service-item {
  min-height: 250px;
}

.service-related-section .service-included-card h3 a {
  color: #fff;
  text-decoration: none;
}

.service-related-section .service-included-card h3 a:hover,
.service-related-section .service-included-card h3 a:focus {
  color: var(--mesh-green);
}

/* =========================================================
   DOWNLOADABLE RESOURCE
========================================================= */

.service-asset-section .section-contrast-panel {
  position: relative;
  overflow: hidden;
}

.service-asset-section .section-contrast-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(166, 245, 0, 0.08);
  filter: blur(4px);
  pointer-events: none;
}

.service-asset-section .row {
  position: relative;
  z-index: 2;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {
  .service-item,
  .service-benefit-card {
    min-height: auto;
  }

  .service-page .content-image-break {
    max-width: 100%;
  }

  .service-page .strategy-timeline,
  .service-page .service-process {
    margin-top: 2.5rem;
  }

  .service-page .strategy-timeline-item,
  .service-page .service-process-item {
    padding-left: 40px;
    padding-bottom: 2.25rem;
  }

  .service-page .strategy-timeline-item h4,
  .service-page .service-process-item h4 {
    font-size: 1.15rem;
  }

  .service-page .strategy-timeline-item p,
  .service-page .service-process-item p {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}


/* =========================================================
   SERVICE NAVIGATION
   Contextual service navigation for individual service pages
========================================================= */

.service-nav-section {
  position: relative;
  z-index: 5;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(12, 11, 20, 0.92), rgba(12, 11, 20, 0.78));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.service-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.service-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mesh-text-muted);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--mesh-transition);
}

.service-nav-link:hover,
.service-nav-link:focus {
  color: var(--mesh-green);
  text-decoration: none;
}

.service-nav-link i {
  color: var(--mesh-green);
  font-size: 1rem;
  line-height: 1;
}

.service-nav-prev {
  justify-self: start;
}

.service-nav-center {
  justify-self: center;
  padding: 10px 18px;
  border: 1px solid rgba(166, 245, 0, 0.18);
  border-radius: 999px;
  background: rgba(166, 245, 0, 0.055);
  color: #fff;
}

.service-nav-center:hover,
.service-nav-center:focus {
  border-color: rgba(166, 245, 0, 0.42);
  background: rgba(166, 245, 0, 0.11);
  color: var(--mesh-green);
}

.service-nav-next {
  justify-self: end;
  text-align: right;
}

.service-nav-label {
  display: inline-block;
}

@media (max-width: 767px) {
  .service-nav-section {
    padding: 14px 0;
  }

  .service-nav {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .service-nav-prev,
  .service-nav-center,
  .service-nav-next {
    justify-self: center;
  }

  .service-nav-center {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  .service-nav-link {
    font-size: 0.78rem;
  }
}

/* =========================================================
   PREMIUM SERVICE FAQ ACCORDION
   Replaces default Bootstrap accordion styling with MESH UI.
========================================================= */

.service-faq-section {
  position: relative;
  overflow: hidden;
}

.service-faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, rgba(111, 99, 255, 0.10), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(166, 245, 0, 0.06), transparent 30%);
}

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

.service-faq-section .mesh-faq {
  max-width: 980px;
  margin: 0 auto;
}

.service-faq-section .accordion-item {
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease,
    background 0.28s ease;
}

.service-faq-section .accordion-item:hover {
  transform: translateY(-2px);
  border-color: rgba(166, 245, 0, 0.22);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.24),
    0 0 36px rgba(166, 245, 0, 0.055);
}

.service-faq-section .accordion-header {
  margin: 0;
}

.service-faq-section .accordion-button {
  position: relative;
  gap: 24px;
  min-height: 78px;
  padding: 26px 72px 26px 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(1.05rem, 1.2vw, 1.28rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.035em;
  box-shadow: none;
  transition: color 0.25s ease, background 0.25s ease;
}

.service-faq-section .accordion-button:hover,
.service-faq-section .accordion-button:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.018);
  box-shadow: none;
}

.service-faq-section .accordion-button:focus-visible {
  outline: 2px solid rgba(166, 245, 0, 0.5);
  outline-offset: -4px;
}

.service-faq-section .accordion-button:not(.collapsed) {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(166, 245, 0, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: none;
}

/* Replace Bootstrap chevron with MESH plus icon */
.service-faq-section .accordion-button::after {
  content: "+";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(166, 245, 0, 0.24);
  border-radius: 999px;
  background: rgba(166, 245, 0, 0.06);
  color: var(--mesh-green);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%) rotate(0deg);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  background-image: none !important;
}

.service-faq-section .accordion-button:not(.collapsed)::after {
  transform: translateY(-50%) rotate(45deg);
  border-color: rgba(166, 245, 0, 0.46);
  background: rgba(166, 245, 0, 0.12);
  box-shadow: 0 0 26px rgba(166, 245, 0, 0.14);
}

.service-faq-section .accordion-collapse {
  border: 0;
}

.service-faq-section .accordion-body {
  padding: 0 30px 30px;
  color: var(--mesh-text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.service-faq-section .accordion-body p {
  max-width: 820px;
  margin: 0;
}

.service-faq-section .accordion-body p + p {
  margin-top: 1rem;
}

.service-faq-section .accordion-body a {
  color: var(--mesh-green);
  text-decoration: none;
}

.service-faq-section .accordion-body a:hover,
.service-faq-section .accordion-body a:focus {
  text-decoration: underline;
}

/* Bootstrap fallback cleanup */
.service-faq-section .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: #fff;
}

@media (max-width: 767px) {
  .service-faq-section .mesh-faq {
    max-width: 100%;
  }

  .service-faq-section .accordion-item {
    margin-bottom: 12px;
    border-radius: 18px;
  }

  .service-faq-section .accordion-button {
    min-height: 68px;
    padding: 22px 62px 22px 22px;
    font-size: 1rem;
  }

  .service-faq-section .accordion-button::after {
    right: 20px;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }

  .service-faq-section .accordion-body {
    padding: 0 22px 24px;
    font-size: 0.96rem;
    line-height: 1.75;
  }
}

/* =========================================================
   SELECTED WORK (industry proof grid) + TESTIMONIAL
   Used by industry pages (Medical, Church) on the Service Page template.
========================================================= */

.service-work-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--mesh-border-soft);
  border-radius: var(--mesh-radius-md);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--mesh-transition);
}

.service-work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(166, 245, 0, 0.24);
}

.service-work-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(111, 99, 255, 0.35), transparent 55%),
    linear-gradient(135deg, var(--mesh-bg-3), var(--mesh-bg-2));
}

.service-work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.service-work-card:hover .service-work-media img {
  transform: scale(1.03);
}

.service-work-monogram {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--mesh-heading-font);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: var(--heading-track);
}

.service-work-tags {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-work-tag {
  padding: 6px 12px;
  border-radius: var(--mesh-radius-pill);
  background: rgba(9, 8, 15, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--mesh-text);
  font-family: var(--mesh-mono-font);
  font-size: var(--type-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.service-work-tag.is-archived {
  color: var(--mesh-text-soft);
}

.service-work-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 30px;
}

.service-work-body h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: var(--type-h4);
  font-weight: 800;
  line-height: 1.12;
}

.service-work-body h3 a {
  color: inherit;
  text-decoration: none;
}

.service-work-body h3 a:hover,
.service-work-body h3 a:focus {
  color: var(--mesh-green);
}

.service-work-body p {
  margin: 0 0 18px;
  color: var(--mesh-text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.service-work-body .work-case-link,
.service-work-note {
  margin-top: auto;
}

.service-work-note {
  color: var(--mesh-text-soft);
  font-size: var(--type-small);
  line-height: 1.6;
}

/* Featured (full-width) card */
@media (min-width: 992px) {
  .service-work-card.is-featured {
    flex-direction: row;
  }

  .service-work-card.is-featured .service-work-media {
    flex: 0 0 58%;
    aspect-ratio: auto;
    min-height: 380px;
  }

  .service-work-card.is-featured .service-work-body {
    justify-content: center;
    padding: 40px;
  }

  .service-work-card.is-featured h3 {
    font-size: var(--type-h3);
  }
}

/* Closing CTA cell */
.service-work-cta {
  justify-content: center;
  min-height: 320px;
  padding: 34px 30px;
  background: var(--mesh-green);
  border-color: var(--mesh-green);
  color: var(--mesh-bg);
  text-decoration: none;
}

.service-work-cta:hover,
.service-work-cta:focus {
  color: var(--mesh-bg);
  border-color: var(--mesh-green-hover);
  background: var(--mesh-green-hover);
}

.service-work-cta .section-label {
  color: var(--mesh-bg);
  opacity: 0.7;
}

.service-work-cta strong {
  display: block;
  margin: 10px 0 22px;
  font-family: var(--mesh-heading-font);
  font-size: var(--type-h3);
  line-height: var(--heading-line-loose);
  letter-spacing: var(--heading-track-soft);
}

.service-page .service-work-cta .work-case-link,
.service-page .service-work-cta:hover .work-case-link {
  color: var(--mesh-bg);
  font-weight: 700;
}

/* Testimonial */
.service-testimonial {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.service-testimonial blockquote {
  margin: 0 0 26px;
}

.service-testimonial blockquote p {
  margin: 0;
  color: #fff;
  font-family: var(--mesh-heading-font);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: var(--heading-track-soft);
}

.service-testimonial blockquote p::before {
  content: "\201C";
  color: var(--mesh-green);
}

.service-testimonial blockquote p::after {
  content: "\201D";
  color: var(--mesh-green);
}

.service-testimonial figcaption strong {
  display: block;
  color: #fff;
}

.service-testimonial figcaption span {
  color: var(--mesh-text-soft);
  font-size: var(--type-small);
}

@media (prefers-reduced-motion: reduce) {
  .service-work-card,
  .service-work-media img {
    transition: none;
  }

  .service-work-card:hover,
  .service-work-card:hover .service-work-media img {
    transform: none;
  }
}

/* Text links inside service-page cards (home.css / work.css are not loaded here) */
.service-page .work-case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mesh-green);
  font-weight: 600;
  text-decoration: none;
  transition: var(--mesh-transition);
}

.service-page .work-case-link:hover,
.service-page .work-case-link:focus {
  color: #fff;
}
