body.post-type-archive-service .services-banner,
body.page-template-page-services .services-banner {
  min-height: clamp(300px, 30vh, 640px);
  height: auto;
}
    .svc-archive-section h4 {
        font-size: 30px !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }
.svc-archive-section a#serv-box {
    padding: 35px;
}
body.single-service .services-banner {
  min-height: auto;
  height: auto;
}
body.single-service .services-banner .services-banner-inner h1.services-title {
    font-size: clamp(2.75rem, 6.1vw, 104.75rem) !important;
    line-height: 1.2;
}


body.page-template-page-services main > section:not(.services-banner),
body.single-service main > section:not(.services-banner) {
  height: auto !important;
  min-height: 0px !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  padding: 0px !important;
  aspect-ratio: auto !important;
}

body.page-template-page-services main,
body.single-service main {
  overflow: visible !important;
}



section.prof-grid-section {
    padding-top: 0px  !important;
}
.svc-archive-section .grid > a  * ,.svc-archive-section .grid > a,.svc-archive-section .grid > div{transition:0.5s;}

.services-banner {
  position: relative;
  height: clamp(270px, 80vh, 1180px);
  display: flex;
  align-items: flex-end;
  background-color: rgb(26, 31, 77);
}

.services-banner-bg {
  position: absolute;
  inset: 0px;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.services-banner-bg::before {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(
    rgba(26, 31, 77, 0.35) 0%,
    rgba(17, 20, 47, 0.7) 100%
  );
  opacity: 0;
}



.services-banner-inner {
  position: relative;
  width: 100%;
  max-width: 92%;
  margin: 0px auto;
  padding: 8.5rem 0rem 1.5rem !important;
}

@media (min-width: 1024px) {
  .services-banner-inner {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.services-breadcrumbs {
  font-family: Inter, sans-serif;
  font-size: 12px;
  letter-spacing: 1.4px;
  color: rgba(246, 243, 236, 0.55);
  margin-bottom: 1.5rem;
}

.services-breadcrumbs a {
  color: rgba(246, 243, 236, 0.55);
  text-decoration: none;
}

.services-breadcrumbs a:hover {
  color: rgb(246, 243, 236);
}

.services-breadcrumbs span {
  margin: 0px;
}
.services-practice-label span {
  font-weight: 200px;
}
.services-practice-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Inter, sans-serif;
  font-size: 0.725rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.75rem;
}

.services-practice-line {
  display: inline-block;
  width: 3.65rem;
  height: 1px;
  background: rgba(184, 150, 81, 0.6);
}

.services-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.85rem, 5.5vw, 4.75rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: rgb(246, 243, 236);
}



.services-title em {
  font-style: italic;
  color: rgb(184, 150, 81);
}

.services-desc {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(246, 243, 236, 0.6);
  max-width: 640px;
  margin-bottom: 20px;
}

.services-tabs {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  z-index: 40;
  background: rgb(43, 45, 82);
  border: 1px solid #ffffff63;
  width: 100%;
  max-width: 100%;
  left: 0;
  right: 0;
  box-sizing: border-box;
}

.services-tabs.is-sticky {
  width: 100%;
  max-width: 100%;
}

#svc-sticky-sentinel {
  width: 100%;
  height: 0;
  pointer-events: none;
}

.services-tabs-inner {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  width: 92%;
  max-width: 92%;
  margin: 0px auto;
  padding: 0px 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

@media (min-width: 1024px) {
  .services-tabs-inner {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.services-tabs-inner::-webkit-scrollbar {
  display: none;
}

.service-tab {
  position: relative;
  padding: 0.2rem 0px;
  margin: 1rem 0px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(246, 243, 236, 0.65);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s;
}

.service-tab::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 1px;
  background: rgb(184, 150, 81);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s;
}

.service-tab.active {
  color: rgb(184 150 81);
}

.service-tab.active::after {
  transform: scaleX(1);
}

.service-tab:hover {
  color: rgb(184 150 81);
}

/* 92% (not a fixed 80rem) so this stays aligned with the header's own
   max-w-7xl band at every viewport, including ultra-wide screens where a
   fixed rem value would drift from the logo. */
.services-section-inner {
  width: 92%;
  max-width: 92%;
  margin: 0px auto;
  padding: 1rem 24px 0.5rem;
}

@media (min-width: 1024px) {
  .services-section-inner {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.service-section:last-child .services-section-inner {
  padding-bottom: 4rem;
}

.services-heading {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.services-subheading {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: "Cormorant Garamond";
}

.services-block {
  margin-bottom: 1.5rem;
}

.services-block p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgb(43, 43, 43);
}

.services-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0px;
}

.services-list li {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgb(43, 43, 43);
  margin-bottom: 0.25rem;
}

.services-ordered-list {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 0px;
}

.services-ordered-list li {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgb(43, 43, 43);
  margin-bottom: 0.25rem;
}

.services-link {
  font-size: 0.9375rem;
  color: rgb(184, 150, 81);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-link:hover {
  color: rgb(154, 122, 62);
}

.bg-light1 {
  background-color: rgb(246, 243, 236);
}

.bg-light2 {
  background-color: rgb(240, 236, 231);
}

@media (max-width: 1023px) {
  .services-banner-inner {
    padding-bottom: 1rem !important;
  }

  .services-section-inner {
    padding: 2.5rem 0px;
  }
}

@media (max-width: 767px) {
  .services-banner {
    min-height: clamp(220px, 40vh, 400px) !important;
    height: auto !important;
  }
   body.single-service .services-banner {
    height: auto !important;
  }
#svc-track h2.services-heading.svc-def-heading {
    font-size: 40px ! IMPORTANT;
    line-height: 1 !IMPORTANT;
    margin-bottom: 20px ! IMPORTANT;
}
  .services-banner-inner {
    padding-bottom: 2rem;
    padding: 6rem 1.5rem 0rem !important;
  }

  h1.font-serif.services-title {
    font-size: 2rem !IMPORTANT;
    margin: 0;
  }

  .services-practice-label {
    font-size: 0.5625rem;
  }

  .services-tabs-inner {
    gap: 9px;
    padding: 0px 24px;
    justify-content: space-between;
    max-width: 92%;
  }

  .service-tab {
    font-size: 10px;
    padding: 0.175rem 0px;
    margin: 12px 0px;
  }

  .services-section-inner {
    padding: 0 24px 0 !important;
  }

  .services-heading {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .services-subheading {
    font-size: 0.875rem;
  }

  .services-block p,
  .services-list li,
  .services-ordered-list li,
  .services-link {
    font-size: 0.875rem;
  }
}

/* ============================================
 SERVICE ACCORDION STYLES
 ============================================ */

.svc-accordion {
  margin-top: 0.5rem;
}

.svc-accordion-item {
  border-bottom: 2px solid rgba(26, 31, 77, 0.12);
}
#svc-track h2.services-heading.svc-def-heading {
    font-size: 60px;
}

#svc-track .svc-def-text-html p,#svc-track .svc-def-text-html li {
    font-size: 16px;
    line-height: 1.5;
    color: #5E5D5B;
}

.svc-accordion-body .svc-acc-content a {
    font-size: 16px;
    color: #5E5D5B;
}

.svc-accordion-body .svc-acc-content ul li {
    font-size: 17px;
    margin-bottom: 13px;
}

.svc-accordion-body .svc-acc-content ul li::marker {
    color: #b89651;
    font-size: 22px !important;
}
.svc-accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.9rem 0.25rem 1.9rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 2vw, 11.35rem);
  font-weight: 600;
  line-height: 1.1;
  color: rgb(26, 31, 77);
  text-align: left;
  transition: color 0.3s, background 0.3s;
  border-radius: 4px;
  letter-spacing: 0.01em;
}
.svc-accordion-header:hover{
	  color: rgb(184, 150, 81);

}


.svc-acc-content ol {position: relative;padding: 0px !IMPORTANT;counter-reset: section;}
.svc-accordion-body .svc-acc-content ol {
    padding: 0 !IMPORTANT;
}
.svc-acc-content ol:before {
    content: '';
}
.svc-acc-content ol li:not(:last-child):after {
    content: '';
    width: 1px;
    background: #d4d4d2;
    position: absolute;
    left: 18px;
    top: 40px;
    bottom: 0;
    z-index: -1;
    height: 100%;
}
.svc-accordion-body .svc-acc-content ul li:after {
    display: none;
}
.svc-acc-content ol li ul li {
    padding: 0;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}

.svc-acc-content ol li ul li:before {list-style: tibetan;}

.svc-acc-content ol li ul li:before {
    content: '';
    width: 7px;
    height: 7px;
    background: #b89651;
    border-radius: 40px;
}
.svc-acc-content ol li:not(ul>li):before{
    content: '1';
    font-family: 'Cormorant Garamond';
    font-size: 20px;
    background: #f6f3ec;
    color: #b89651;
    width: 36px;
    height: 36px;
    line-height: 1;
    border: 1px solid #cccc;
    border-radius: 40px;
    text-align: center;
    position: absolute;
    left: 0;
    top: 5px;
    display: block;
    line-height: 1.45;
    counter-increment: section;
    content: counter(section);
}

.svc-acc-content ol li {
    display: inline-flex;
    gap: 13px;
    min-width: 100%;
    position: relative;
    padding: 10px 0 0 60px;
    margin: 10px 0px 0px;
    flex-direction: column;
    font-size: 16px;
    color: #5E5D5B;
}

.svc-acc-content li {
    font-size: 18px;
    color: #2B2B2BBF;
}

.svc-accordion-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: rgb(0 0 0);
  width: 22px;
  height: 22px;
}

.svc-accordion-header[aria-expanded="true"] .svc-accordion-icon {
  transform: rotate(180deg);
}

.svc-accordion-body {
  overflow: hidden;
  padding: 0 0.25rem;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.svc-accordion-body > div {
  min-height: 0;
  overflow: hidden;
}

.svc-accordion-header[aria-expanded="true"] + .svc-accordion-body {
  grid-template-rows: 1fr;
  padding-bottom: 1rem;
}

.svc-accordion-header[aria-expanded="true"] + .svc-accordion-body > div {
  animation: svcAccordionFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes svcAccordionFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.svc-accordion-body p {
  margin: 0 0 0.75rem;
  color: rgb(43, 43, 43);
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  line-height: 1.85;
  font-family: Inter, sans-serif;
}

.svc-accordion-body p:last-child {
  margin-bottom: 0;
}
.svc-accordion-body ul {
  list-style: disc outside !important;
  padding-left: 1.75rem !important;
  margin-bottom: 0.75rem;
}
.svc-accordion-body ol {
  list-style: decimal outside !important;
  padding-left: 1.75rem !important;
  margin-bottom: 0.75rem;
}
.svc-accordion-body li {
  margin-bottom: 0.35rem;
  font-size: clamp(0.675rem, 1vw, 0.9375rem);
  line-height: 1.8;
  color: rgb(43, 43, 43);
  font-family: Inter, sans-serif;
}
.svc-accordion-body a {
  color: rgb(184, 150, 81);
  text-decoration: underline;
}

/* ============================================
 SERVICE ACCORDION TAB PANEL
 ============================================ */

.services-accordion-page .services-tabs-inner {
  width: 92%;
  max-width: 92%;
  margin: 0 auto;
  padding: 4px 24px 3px;
}

@media (min-width: 1024px) {
  .services-accordion-page .services-tabs-inner {
    padding-left: 0;
    padding-right: 0;
  }
}
.services-accordion-page .service-tab {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 14px;
}

.services-tabs-dropdown {
  display: none;
}

.svc-dropdown-icon {
  display: none;
}

@media (max-width: 1023px) {
  /* the tabs row (.services-tabs) is already sticky; the dropdown just fills it.
     It's a genuine full-width bar (not a 92%-band box), so to land its text at
     the same inset as the header logo, its own padding must reproduce BOTH
     pieces of the header's box model: the 4% margin the header's 92%-wide
     band leaves on each side, plus that band's own 24px inner padding. */
  .services-tabs-dropdown {
    display: block;
    background: rgb(43, 45, 82);
    padding: 0.75rem calc(4% + 24px);
    width: 100%;
    max-width: 100%;
    margin: 0;
    margin-right: auto;
    transition: width 0.25s ease;
  }

  /* narrowed + left aligned only while the tabs bar is stuck to the top */
  .services-tabs.is-sticky .services-tabs-dropdown {
    width: 65%;
  }

  .services-tabs-dropdown .svc-select-wrap {
    position: relative;
    width: 100%;
    display: block;
  }

  .svc-dropdown-icon {
    display: block;
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(184, 150, 81);
    pointer-events: none;
    transition: transform 0.2s ease;
  }

  .services-tabs-dropdown select {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 0.75rem;
    font-size: 0.875rem;
    font-family: Inter, sans-serif;
    color: rgb(246, 243, 236);
    background: rgb(43, 45, 82);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
  }

  .services-tabs-dropdown select:hover {
    border-color: rgb(184, 150, 81);
  }

  .services-tabs-dropdown select:focus ~ .svc-dropdown-icon {
    transform: translateY(-50%) rotate(180deg);
  }

  .services-tabs-dropdown select option {
    background: rgb(43, 45, 82);
    color: rgb(246, 243, 236);
  }
}

@media (max-width: 1023px) {
  .services-tabs-inner {
    display: none;
  }
}

.svc-panels-stage {
  overflow: clip;
  width: 100%;
}

.svc-panels-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.svc-tab-panel {
  flex: 0 0 100%;
  min-width: 0;
  width: 100%;
}

.services-accordion-page .service-section {
  padding-top: clamp(40px, 3.5vw, 60px) !important;
  padding-bottom: clamp(40px, 3.5vw, 60px) !important;
}

.services-accordion-page .services-section-inner {
  width: 100%;
  max-width: 92%;
  margin: 0 auto;
  padding: 30px 24px !important;
}

@media (min-width: 1024px) {
  .services-accordion-page .services-section-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


.svc-two-col {
  display: grid;
  grid-template-columns: 5fr 8fr;
  gap: clamp(1rem, 2vw, 4rem);
  align-items: start;
}

.svc-def-col {
  position: sticky;
  top: calc(60px + 0.4rem);
  padding-top: 30px;
}

.svc-def-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 2.5rem;
  color: rgb(26, 31, 77);
  line-height: 1.1;
}

.svc-def-text-html {
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  line-height: 1.85;
  color: rgb(43, 43, 43);
  max-width: 96%;
  font-family: Inter, sans-serif;
}
.svc-def-text-html p {
  margin-bottom: 1rem;
}
.svc-def-text-html ul {
  list-style: disc outside !important;
  padding-left: 1.75rem !important;
  margin-bottom: 1rem;
}
.svc-def-text-html ol {
  list-style: decimal outside !important;
  padding-left: 1.75rem !important;
  margin-bottom: 1rem;
}
.svc-def-text-html li {
  margin-bottom: 0.35rem;
}
.svc-def-text-html h3 {
  font-size: 1.1rem;
  color: rgb(26, 31, 77);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.svc-def-text-html a {
  color: rgb(184, 150, 81);
  text-decoration: underline;
}

.svc-accordion-col {
  min-width: 0;
}

@media (max-width: 1023px) {
  .svc-two-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
	.svc-panels-stage div#svc-track section {
    padding: 0px !important;
}
  .svc-def-col {
    position: static;
  }

  .svc-def-heading {
    margin-bottom: 1rem;
  }

  .svc-def-text-html {
    max-width: none;
  }

  .services-accordion-page .service-tab {
    font-size: clamp(11.9px, 3.5vw, 15px);
    margin-right: 0.45rem;
    padding: 0.3rem 0;
  }
}

/* ============================================
 SERVICES ARCHIVE PAGE
 ============================================ */

.services-page {
  overflow: visible;
}

.services-page .services-banner {
    min-height: clamp(300px, 30vh, 640px);
    height: auto;
}

.svc-archive-section {
  background: rgb(246, 243, 236);
  padding: 0;
}

.svc-archive-section .grid > a,
.svc-archive-section .grid > div {
  border-right: 1px solid rgba(26, 31, 77, 0.06);
  border-bottom: 1px solid rgba(26, 31, 77, 0.06);
}

@media (max-width: 639px) {
  .svc-archive-section .grid > a:nth-child(even),
  .svc-archive-section .grid > div:nth-child(even) {
    border-right: none;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .svc-archive-section .grid > a:nth-child(2n),
  .svc-archive-section .grid > div:nth-child(2n) {
    border-right: none;
  }
}

@media (min-width: 1024px) {
  .svc-archive-section .grid > a:nth-child(3n),
  .svc-archive-section .grid > div:nth-child(3n) {
    border-right: none;
  }
}
@media (min-width: 1920px) {
body.single-service .services-banner {
    height: clamp(650px, 40vh, 640px);
}
	body.post-type-archive-service .services-banner, body.page-template-page-services .services-banner {
    min-height: clamp(300px, 35vh, 640px);
    height: auto;
}
	.services-page .services-banner {
    min-height: clamp(380px, 35vh, 500px);
    height: auto;
}
	
.services-desc {
  max-width: 840px;
}



}
