/* ============================================================
   SERVICES PAGE TEMPLATE
   ============================================================ */

/* ── Hero (shared styles with service-hero) ─────────────── */
.service-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px var(--pad-x);
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
   linear-gradient(270deg, rgba(18, 13, 31, 0.10) 14.38%, rgba(18, 13, 31, 0.55) 60.88%, rgba(18, 13, 31, 0.80) 98.93%), linear-gradient(0deg, rgba(37, 70, 141, 0.40) 0%, rgba(37, 70, 141, 0.40) 100%);
  pointer-events: none;
}

.service-hero__inner {
  max-width: var(--site-max-w);
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.service-hero__content {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.service-hero__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-hero__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 88px);
  line-height: 1;
  color: #ffffff;
}

.service-hero__subheading {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.85);
  max-width: 778px;
}

.service-hero__cta {
  display: flex;
}

@media (max-width: 1024px) {
  .service-hero {
    padding: 100px var(--pad-x-tablet);
    height: 45vh;
  }
	
	.service-hero::before{
		background: linear-gradient(0deg, rgba(37, 70, 141, 0.10) 0%, rgba(37, 70, 141, 0.10) 100%), linear-gradient(0deg, rgba(18, 14, 31, 0.44) 0%, rgba(18, 14, 31, 0.44) 100%), linear-gradient(0deg, rgba(3, 0, 8, 0.25) 0%, rgba(3, 0, 8, 0.25) 100%);
	}

  .service-hero__content {
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .service-hero {
    padding: 80px var(--pad-x-mobile);
  }

  .service-hero__content {
    align-items: flex-start;
    }

  .service-hero__heading,
  .service-hero__subheading {
    text-align: left;
  }
	.service-hero__heading{
		font-weight: 600;
	}
	.service-hero__subheading {
		font-size: 16px;
		font-weight: 200;
	}

  .service-hero__cta {
    justify-content: center;
  }
}

/* ── Services Grid ──────────────────────────────────────── */
.svcs-grid {
  background: var(--neutral);
  padding: 80px var(--pad-x);
}

.svcs-grid__inner {
  max-width: var(--site-max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.svcs-grid__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.svcs-grid__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 3.33vw, 48px);
  line-height: 1;
  color: var(--dark);
}

.svcs-grid__subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
  color: var(--dark);
  max-width: 960px;
}

.svcs-grid__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.svcs-grid__card {
  position: relative;
  aspect-ratio: 1 / 1;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
  overflow: hidden;
}

.svcs-grid__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(18, 14, 31, 0.74) 0%, rgba(18, 14, 31, 0) 53%),
    rgba(18, 14, 31, 0.3);
  transition: background 350ms ease;
  pointer-events: none;
}

.svcs-grid__card:hover .svcs-grid__overlay {
  background:
    linear-gradient(0deg, rgba(18, 14, 31, 0.74) 0%, rgba(18, 14, 31, 0) 53%),
    rgba(18, 14, 31, 0.8);
}

.svcs-grid__card-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 20px;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.25));
}

.svcs-grid__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms ease, visibility 350ms ease;
}

.svcs-grid__icon svg {
  width: 100%;
  height: 100%;
}

.svcs-grid__icon svg path,
.svcs-grid__icon svg circle,
.svcs-grid__icon svg rect,
.svcs-grid__icon svg line,
.svcs-grid__icon svg polygon,
.svcs-grid__icon svg polyline {
  fill: #fff !important;
  stroke: #fff !important;
}

.svcs-grid__card:hover .svcs-grid__icon {
  opacity: 1;
  visibility: visible;
}

.svcs-grid__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  color: var(--neutral);
  text-align: center;
}

.svcs-grid__excerpt {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  color: var(--neutral);
  text-align: center;
  max-width: 315px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms ease, visibility 350ms ease;
}

.svcs-grid__card:hover .svcs-grid__excerpt {
  opacity: 1;
  visibility: visible;
}

/* tablet + mobile — 2-col grid, overlay always on, no hover */
@media (max-width: 1024px) {
  .svcs-grid {
    padding: 48px var(--pad-x-tablet);
  }

  .svcs-grid__header {
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .svcs-grid__subtitle {
    font-size: 16px;
  }

  .svcs-grid__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* always-on overlay (no hover) */
  .svcs-grid__overlay {
    background:
      linear-gradient(0deg, rgba(18, 14, 31, 0.74) 0%, rgba(18, 14, 31, 0) 53%),
      rgba(18, 14, 31, 0.6);
  }

  /* hide icon + excerpt — name only */
  .svcs-grid__icon,
  .svcs-grid__excerpt {
    display: none !important;
  }

 

  .svcs-grid__excerpt {
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .svcs-grid {
    padding: 48px var(--pad-x-mobile);
  }
	.svcs-grid__inner{ gap: 20px;}
	
	 .svcs-grid__name {
    font-size: 24px;
  }
}

/* ── What To Expect ─────────────────────────────────────── */
.svcs-expect {
  background: var(--dark);
  padding: 80px var(--pad-x);
  position: relative;
  overflow: hidden;
}

.svcs-expect::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150%;
  height: 100%;
  background-image: url('/wp-content/uploads/2026/06/overlay-1.webp');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.svcs-expect__inner {
  max-width: var(--site-max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.svcs-expect__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.svcs-expect__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(32px, 4.17vw, 60px);
  line-height: 1;
  color: #ffffff;
  text-transform: capitalize;
}

.svcs-expect__subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
  color: var(--secondary-2);
  max-width: 860px;
}

.svcs-expect__body {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 16px;
  line-height: 1.1;
  color: var(--neutral);
  max-width: 860px;
}

.svcs-expect__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

@media (max-width: 1024px) {
  .svcs-expect {
    padding: 48px var(--pad-x-tablet);
  }

}

@media (max-width: 767px) {
  .svcs-expect {
    padding: 48px var(--pad-x-mobile);
  }

  .svcs-expect__title {
    font-size: 32px;
    line-height: 1.1;
	  font-weight: 600;
  }

  .svcs-expect__cta {
    flex-direction: column;
  }

  .svcs-expect__cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ── Help Prompt ────────────────────────────────────────── */
.svcs-help {
  background: linear-gradient(
    -89.75deg,
    #25468d 0%,
    #233f7f 15.4%,
    #223c7a 20.9%,
    #120e1f 118.5%
  );
  padding: 60px var(--pad-x);
}

.svcs-help__inner {
  max-width: var(--site-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.svcs-help__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 620px;
}

.svcs-help__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  color: #c4cce4;
  text-transform: uppercase;
}

.svcs-help__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(32px, 3.33vw, 48px);
  line-height: 1;
  color: #ffffff;
}

.svcs-help__body {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 16px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.85);
}

.svcs-help__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  width: 289px;
}

.svcs-help__btn {
  width: 100%;
  justify-content: center;
  height: 56px;
}

.svcs-help__phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.svcs-help__phone-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.svcs-help__phone {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  color: var(--neutral);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .svcs-help {
    padding: 48px var(--pad-x-tablet);
  }
}

@media (max-width: 767px) {
  .svcs-help {
    padding: 48px var(--pad-x-mobile);
  }

  .svcs-help__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .svcs-help__text {
    max-width: 100%;
  }

  .svcs-help__cta {
    width: 100%;
  }

  .svcs-help__heading {
    font-size: 42px;
    line-height: 1.1;
  }
}

/* ── Portfolio Gallery ─────────────────────────────────── */
.svcs-portfolio {
  background: var(--neutral);
  padding: 80px 0;
  overflow: hidden;
}

/* When Recent Projects follows immediately after, avoid double-spacing */
.svcs-portfolio--stacked {
  padding-bottom: 40px;
}

.svcs-portfolio__inner {
  max-width: var(--site-max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x-desktop);
  margin-bottom: 40px;
}

.svcs-portfolio__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.svcs-portfolio__title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin: 0;
}

.svcs-portfolio__slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svcs-portfolio__swiper {
  width: 100%;
  overflow: visible;
}

.svcs-portfolio__slide {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.svcs-portfolio__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svcs-portfolio__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 200px;
  width: 100%;
  margin-top: 20px;
}

.svcs-portfolio__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--dark);
  transition: opacity var(--transition);
  flex-shrink: 0;
}

.svcs-portfolio__nav-btn:hover {
  opacity: 0.6;
}

.svcs-portfolio__nav-btn.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.svcs-portfolio__pagination {
  display: none;
}

.svcs-portfolio__pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(37, 70, 141, 0.3);
  opacity: 1;
  border-radius: 99px;
  transition: width 0.3s, background 0.3s;
}

.svcs-portfolio__pagination .swiper-pagination-bullet-active {
  width: 46px;
  background: var(--accent);
}

@media (max-width: 1024px) {
	.svcs-portfolio { padding: 48px 0;}
  .svcs-portfolio__inner { padding: 0 var(--pad-x-tablet); }
  .svcs-portfolio__nav { display: none; }
  .svcs-portfolio__pagination {
    display: flex;
    justify-content: center;
    margin-top: 16px;
  }
}

@media (max-width: 767px) {
  .svcs-portfolio { padding: 48px 0; }
  .svcs-portfolio__inner { padding: 0; margin-bottom: 20px; }
  .svcs-portfolio__header { padding: 0 var(--pad-x-mobile); flex-direction: column; align-items: flex-start; gap: 0; }
  .svcs-portfolio__title { font-size: 32px; line-height: 1.1; }
}

/* ── Recent Projects ────────────────────────────────────── */
.svcs-projects {
  background: var(--neutral);
  padding: 80px var(--pad-x-desktop);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.svcs-projects__header-wrap {
  padding: 0;
}

.svcs-projects__header {
  max-width: var(--site-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.svcs-projects__lede {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.svcs-projects__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 3.33vw, 48px);
  line-height: 1;
  color: var(--dark);
}

.svcs-projects__subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(18, 14, 31, 0.70);
  max-width: 560px;
}

.svcs-projects__cards-wrap {
  max-width: var(--site-max-w-alt);
  margin: 0 auto;
  width: 100%;
}

.svcs-projects__swiper {
  overflow: hidden;
}

.svcs-projects__swiper .dcbs-card {
  flex: none;
}

.svcs-projects__card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  background: transparent;
  overflow: hidden;
  height: auto;
}

.svcs-projects__card-img {
  height: 320px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.svcs-projects__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 350ms ease;
}

.svcs-projects__card:hover .svcs-projects__card-img img {
  transform: scale(1.03);
}

.svcs-projects__card-body {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.svcs-projects__card-eyebrow {
  position: absolute;
  top: 16px;
  left: 10px;
  background: rgba(18, 14, 31, 0.8);
  border-radius: 99px;
  padding: 6px 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: var(--neutral);
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
}

.svcs-projects__card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  color: var(--dark);
}

.svcs-projects__card-excerpt {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(18, 14, 31, 0.70);
  flex: 1;
}

.svcs-projects__card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: border-color 250ms ease;
}

.svcs-projects__card-link-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: var(--accent);
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: max-width 350ms ease, opacity 300ms ease;
}

.svcs-projects__card-link-arrow svg {
  width: 12px;
  height: 12px;
  display: block;
}

.svcs-projects__card-link-arrow svg path {
  fill: var(--accent);
}

.svcs-projects__card:hover .svcs-projects__card-link-text {
  max-width: 200px;
  opacity: 1;
}

.svcs-projects__card:hover .svcs-projects__card-link {
  border-bottom-color: var(--accent);
}

.svcs-projects__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 200px;
  width: 100%;
  margin-top: 20px;
}

.svcs-projects__nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 200ms ease;
}

.svcs-projects__nav-btn svg {
  width: 33px;
  height: 33px;
  display: block;
}

.svcs-projects__nav-btn.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

.svcs-projects__pagination {
  display: none;
}

@media (max-width: 1024px) {
  .svcs-projects {
    padding: 48px var(--pad-x-tablet);
    gap: 32px;
  }

  .svcs-projects__header-wrap {
    padding: 0;
  }

  .svcs-projects__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .svcs-projects__cta-btn {
    display: none;
  }

  .svcs-projects__cards-wrap {
    max-width: 100%;
  }

  .svcs-projects__nav {
    display: none;
  }

  .svcs-projects__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 24px;
  }

  .svcs-projects__pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(37, 70, 141, 0.3);
    opacity: 1;
    border-radius: 99px;
    transition: width 200ms ease, background 200ms ease;
    margin: 0 !important;
  }

  .svcs-projects__pagination .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 46px;
  }

  .svcs-projects__card-link-text {
    max-width: 200px !important;
    opacity: 1 !important;
  }

  .svcs-projects__card-link {
    border-bottom-color: var(--accent) !important;
  }
}

@media (max-width: 767px) {
  .svcs-projects {
    padding: 48px var(--pad-x-mobile);
  }

  .svcs-projects__card-img {
    height: 220px;
  }
}
