
:root {
  --arrant-blue: #003582;
  --arrant-orange: #ff6631;
  --arrant-black: #111;
  --arrant-light: #f5f5f5;
  --font-heading: "Josefin Sans", Arial, sans-serif;
  --font-body: "Archivo", Arial, sans-serif;
  --font-ui: "Inter", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--arrant-black);
  background: #fff;
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: #0b0b0b;
}
h2 { font-size: clamp(1.75rem, 2.3vw, 2.25rem); margin-bottom: 1.4rem; }
h3 { font-size: 1.35rem; margin-top: 1.7rem; margin-bottom: .75rem; }
p { margin-bottom: 1.2rem; }
.site-container { max-width: 1180px; }
.section-pad { padding: 72px 20px; }
.section-title { margin-bottom: 56px; }
.skip-link { position: fixed; top: 0; left: 0; z-index: 1000000; background: #fff; padding: .75rem 1rem; }

.site-header { z-index: 1040; border-bottom: 1px solid rgba(0,0,0,.06); }
.site-header .navbar { min-height: 92px; padding: 8px 0; }
.navbar-brand img { object-fit: contain; }
.site-header .nav-link {
  font-family: var(--font-ui);
  font-size: .82rem;
  font-weight: 500;
  color: #111;
  padding: 1rem .65rem !important;
}
.site-header .nav-link:hover, .site-header .nav-link:focus { color: var(--arrant-orange); }
.dropdown-menu {
  border: 0;
  border-radius: 0;
  box-shadow: 0 14px 35px rgba(0,0,0,.14);
  padding: .65rem 0;
}
.dropdown-item { font-family: var(--font-ui); font-size: .85rem; padding: .65rem 1.15rem; }
.dropdown-item:active, .dropdown-item:hover { background: #f3f6fb; color: var(--arrant-blue); }
.btn-contact {
  border-radius: 999px;
  background: var(--arrant-orange);
  color: #fff;
  border: 0;
  font-family: var(--font-ui);
  font-size: .82rem;
  padding: .72rem 1.25rem;
}
.btn-contact:hover { background: var(--arrant-blue); color: #fff; }
.mobile-menu a { text-decoration: none; font-family: var(--font-ui); padding: .75rem .25rem; border-bottom: 1px solid #ececec; }

.hero-section {
  min-height: min(70vh, 610px);
  background-image: linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,.18)), url("../images/hero.webp");
  background-size: cover;
  background-position: center 56%;
  padding: 56px 20px;
}
.hero-panel {
  width: min(72%, 760px);
  padding: 58px 62px;
  background: rgba(0,0,0,.52);
}
.hero-panel h1 {
  color: #fff;
  text-transform: uppercase;
  font-family: var(--font-ui);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 5px;
  margin: 0 0 24px;
}
.hero-btn {
  border-radius: 0;
  background: var(--arrant-orange);
  color: #fff;
  border: 2px solid #fff;
  font-family: var(--font-ui);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: 2px;
  padding: .78rem 1.45rem;
}
.hero-btn:hover { background: transparent; color: #fff; }

.credentials-section { padding: 18px 20px 30px; background: #fff; }
.credentials-scroll { overflow-x: auto; scrollbar-width: thin; }
.credentials-scroll img { display:block; width:100%; min-width: 900px; height:auto; }

.intro-section { padding-top: 38px; }
.intro-section h2 { max-width: 540px; }
.body-copy p { font-size: 1rem; line-height: 1.78; }
.intro-image { width:100%; aspect-ratio: 1.8/1; object-fit: cover; margin-top: 5px; }
.btn-primary-arr {
  border-radius: 0;
  background: var(--arrant-blue);
  border: 2px solid var(--arrant-blue);
  color: #fff;
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: capitalize;
  padding: .78rem 1.45rem;
}
.btn-primary-arr:hover { background: #000; border-color: #000; color: #fff; }

.project-carousel-section { padding: 42px 20px 72px; }
.project-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  padding: 10px 5px 20px;
}
.project-track::-webkit-scrollbar { display:none; }
.project-track.is-dragging { cursor: grabbing; scroll-snap-type:none; }
.project-card {
  scroll-snap-align: start;
  min-width: calc((100% - 56px)/3);
  text-align:center;
  flex: 0 0 calc((100% - 56px)/3);
}
.project-card img {
  width:100%;
  aspect-ratio: 1.52/1;
  object-fit:cover;
  border-radius: 28px;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.project-card h3 { font-family: var(--font-ui); font-size: 1.28rem; margin: 16px 0 4px; }
.project-card p { font-family:var(--font-ui); font-size:.78rem; font-weight:500; margin:0; }
.project-arrow {
  position:absolute;
  top:42%;
  transform:translateY(-50%);
  z-index:2;
  width:42px;height:42px;border-radius:50%;
  border:0;background:rgba(0,53,130,.92);color:#fff;
  opacity:0;transition:.2s;
}
.project-carousel-section:hover .project-arrow,
.project-arrow:focus { opacity:1; }
.project-prev { left:-5px; }
.project-next { right:-5px; }

.services-section { padding-top: 55px; }
.service-panel {
  background: var(--arrant-light);
  border-radius: 18px;
  overflow: hidden;
}
.service-panel > h3 {
  margin:0;
  color:#fff;
  background:var(--arrant-blue);
  font-family:var(--font-ui);
  font-size:1rem;
  font-weight:500;
  padding:18px 14px;
}
.service-item {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:74px;
  padding:12px 14px;
}
.service-item i {
  flex:0 0 36px;
  color:var(--arrant-orange);
  font-size:2rem;
  line-height:1;
}
.service-item span { font-family:var(--font-body); font-size:.92rem; line-height:1.25; font-weight:400; }

.sticky-media { position: sticky; top: 120px; }
.sticky-media img { width:100%; object-fit:cover; }
.industries-section .sticky-media img { min-height: 320px; max-height: 460px; }
.copy-block { margin-bottom: 28px; }
.copy-block h3 { font-size:1.45rem; margin-top:0; }
.copy-block p { font-size:1rem; line-height:1.72; }

.testimonial-section {
  background:var(--arrant-orange);
  color:#fff;
  padding:58px 20px;
}
.testimonial-section h2 { color:#fff; text-align:center; margin-bottom:24px; }
.testimonial-section blockquote { max-width:1050px; margin:0 auto 22px; }
.testimonial-section blockquote p { font-style:italic; font-size:1rem; margin-bottom:16px; }
.testimonial-section blockquote footer { font-family:var(--font-ui); font-size:.9rem; }
.testimonial-btn { border:1px solid #fff; border-radius:0; color:#fff; font-family:var(--font-ui); letter-spacing:2px; font-size:.75rem; padding:.7rem 1.4rem; }
.testimonial-btn:hover { background:#fff; color:var(--arrant-orange); }

.case-images img { width:100%; object-fit:cover; }
.case-images img:first-child { aspect-ratio:2.5/1; }
.case-images img:last-child { aspect-ratio:2.4/1; }
.project-facts { margin: 34px 0 26px; }
.project-facts p { margin-bottom:1.2rem; }

.expertise-copy h3 { font-size:1.42rem; }
.expertise-media img:first-child { aspect-ratio:2.7/1; }
.expertise-media img:last-child { aspect-ratio:3/1; }

.results-section .sticky-media img:first-child { aspect-ratio:2.75/1; }
.results-section .sticky-media img:last-child { aspect-ratio:2.15/1; }
.results-section .copy-block { margin-bottom:30px; }

.faq-section { padding-bottom: 35px; }
.accordion { --bs-accordion-border-width: 0; --bs-accordion-border-radius: 0; }
.accordion-item { margin-bottom:14px; border:0; }
.accordion-button {
  background:var(--arrant-blue);
  color:#fff;
  border-radius:0 !important;
  font-family:var(--font-ui);
  font-size:.9rem;
  font-weight:500;
  letter-spacing:.15px;
  padding:1.2rem 1.4rem;
  box-shadow:none !important;
}
.accordion-button:not(.collapsed) { background:var(--arrant-blue); color:#fff; }
.accordion-button::after { filter:brightness(0) invert(1); }
.accordion-body { background:#f7f7f7; padding:1.8rem 1.4rem; font-size:.92rem; line-height:1.65; }

.service-areas-section { padding: 35px 20px 60px; }
.service-area-grid {
  display:grid;
  grid-template-columns: 1fr 1fr 220px 1fr 1fr;
  gap:28px;
  align-items:start;
}
.service-city-list { margin:0; columns:1; }
.service-city-list li {
  font-family:var(--font-ui);
  font-size:.69rem;
  line-height:1.65;
  white-space:nowrap;
}
.service-city-list i { font-size:.65rem; margin-right:6px; }
.city-divider,
.city-divider-right {
  position: relative;
}
.city-divider { padding-left:28px; }
.city-divider-right { padding-right:28px; }
.city-divider-image {
  position:absolute;
  top:0;
  display:block;
  width:11px;
  height:596px;
  max-height:100%;
  object-fit:fill;
  pointer-events:none;
  user-select:none;
}
.city-divider-image-left { left:0; }
.city-divider-image-right { right:0; }
.map-column { display:flex; align-items:center; justify-content:center; min-height:360px; }
.map-column img { width:180px; height:auto; }

.site-footer { padding:86px 20px 22px; background:#fff; border-top:1px solid #eee; }
.footer-logo { width:80px; height:auto; margin-bottom:28px; }
.footer-tagline { max-width:330px; font-size:.98rem; line-height:1.7; }
.social-links { display:flex; flex-wrap:wrap; gap:16px; margin-top:28px; }
.social-links a { color:#9c9c9c; font-size:1.2rem; transition:.2s; }
.social-links a:hover { color:var(--arrant-orange); }
.site-footer h2 { font-size:1.55rem; margin-bottom:26px; }
.footer-links li { margin-bottom:14px; }
.footer-links a, .contact-list a { text-decoration:none; }
.footer-links a:hover, .contact-list a:hover { color:var(--arrant-orange); }
.contact-list li { display:flex; gap:10px; align-items:flex-start; margin-bottom:12px; font-size:.92rem; }
.contact-list i { flex:0 0 18px; margin-top:4px; }
.copyright-row {
  margin-top:72px;
  padding-top:18px;
  border-top:1px solid #bdbdbd;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.copyright-row p { margin:0; font-family:var(--font-ui); font-size:.82rem; }
#backToTop {
  width:34px;height:44px;border:0;background:var(--arrant-blue);color:#fff;
  display:flex;align-items:center;justify-content:center;
}

.sticky-call {
  position:fixed;
  top:50%;
  right:-70px;
  transform:translateY(-50%) rotate(-90deg);
  transform-origin:center;
  z-index:1035;
  display:inline-flex;
  align-items:center;
  gap:9px;
  background:var(--arrant-orange);
  color:#fff;
  text-decoration:none;
  padding:11px 38px;
  border-radius:10px;
  box-shadow:0 14px 34px rgba(0,0,0,.25);
  font-family:var(--font-ui);
  font-weight:700;
  opacity:0;
  pointer-events:none;
  transition:.25s;
}
.sticky-call.show { opacity:1; pointer-events:auto; }
.sticky-call.hide-near-footer { opacity:0; pointer-events:none; }
.sticky-call:hover { background:var(--arrant-blue); color:#fff; }

@media (max-width:1199.98px) {
  .site-header .navbar { min-height:78px; }
  .project-prev { left:8px; } .project-next { right:8px; }
}
@media (max-width:991.98px) {
  .hero-section { min-height:600px; }
  .hero-panel { width:85%; }
  .project-card { min-width:calc((100% - 24px)/2); flex-basis:calc((100% - 24px)/2); }
  .sticky-media { position:static; }
  .industries-section .sticky-media, .case-images, .expertise-media, .results-section .sticky-media { margin-bottom:20px; }
  .service-area-grid { grid-template-columns:1fr 1fr; }
  .map-column { grid-column:1/-1; grid-row:1; min-height:auto; padding:20px 0; }
  .city-divider,.city-divider-right { padding:0; }
  .city-divider-image { display:none; }
}
@media (max-width:767.98px) {
  .section-pad { padding:52px 20px; }
  .section-title { margin-bottom:34px; }
  .hero-section { min-height:calc(100vh - 78px); padding:30px 12px; background-position:center; }
  .hero-panel { width:100%; padding:36px 24px; }
  .hero-panel h1 { font-size:clamp(1.8rem,8vw,2.65rem); letter-spacing:3px; }
  .hero-btn { font-size:.73rem; letter-spacing:1.25px; padding:.75rem 1rem; }
  .credentials-section { padding-left:0; padding-right:0; }
  .credentials-scroll { padding:0 15px; }
  .credentials-scroll img { min-width:760px; }
  .project-card { min-width:84%; flex-basis:84%; }
  .project-arrow { display:none; }
  .service-item { min-height:65px; }
  .service-area-grid { grid-template-columns:1fr 1fr; gap:18px 24px; }
  .service-city-list li { font-size:.66rem; white-space:normal; }
  .copyright-row { align-items:flex-end; }
  .sticky-call {
    top:auto;
    bottom:24px;
    right:14px;
    transform:none;
    width:62px;height:62px;padding:0;border-radius:50%;
    justify-content:center;
  }
  .sticky-call span { display:none; }
  .sticky-call i { font-size:1.45rem; }
}
@media (max-width:575.98px) {
  .service-area-grid { grid-template-columns:1fr; }
  .map-column { grid-column:1; }
  .site-footer { padding-top:58px; }
  .copyright-row p { font-size:.72rem; }
}

/* =========================================================
   Corrected certification strip
   ========================================================= */
.credentials-section {
  padding: 22px 20px 34px;
  background: #fff;
}
.credentials-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}
.credential-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 64px);
  min-width: 920px;
  padding: 4px 8px 10px;
}
.credential-item {
  flex: 0 0 125px;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.credential-item img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
}
.experience-card {
  flex-direction: column;
  min-width: 158px;
  padding: 12px 18px;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(0,0,0,.05);
  font-family: var(--font-ui);
  color: #111;
}
.experience-number {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: .85;
}
.experience-number span {
  font-size: 1.15rem;
  margin-left: 2px;
  vertical-align: top;
}
.experience-label {
  margin-top: 4px;
  font-size: .92rem;
  font-weight: 600;
}
.experience-card p {
  margin: 5px 0 0;
  font-size: .72rem;
  white-space: nowrap;
}

/* =========================================================
   Exact project slider from arrant-commercial...v7
   ========================================================= */
.ac-narrow-container {
  width: min(calc(100% - 48px), 1280px);
  margin-inline: auto;
}
.projects-section {
  padding: 0 0 92px;
  overflow: hidden;
}
.project-slider {
  position: relative;
  width: 100%;
}
.project-slider-viewport {
  width: 100%;
  overflow: hidden;
  outline: none;
  touch-action: pan-y;
  cursor: grab;
}
.project-slider-viewport:active { cursor: grabbing; }
.project-slider-viewport:focus-visible {
  outline: 3px solid rgba(8,63,143,.35);
  outline-offset: 8px;
}
.project-slider-track {
  display: flex;
  align-items: flex-start;
  gap: 38px;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.project-slide {
  min-width: 0;
  text-align: center;
  user-select: none;
}
.project-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  background: #f4f4f4;
  box-shadow: 0 4px 14px rgba(0,0,0,.27);
}
.project-image-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.project-image-link:hover img,
.project-image-link:focus-visible img { transform: scale(1.025); }
.project-title {
  margin: 28px 0 14px;
  font-size: clamp(24px,2vw,31px);
  font-weight: 700;
  line-height: 1.18;
}
.project-title a { color: #3c3c3c; text-decoration: none; }
.project-title a:hover,
.project-title a:focus { color: var(--arrant-orange); }
.project-category {
  min-height: 24px;
  margin: 0;
  color: #3c3c3c;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

/* =========================================================
   One sticky image per long-form text section
   ========================================================= */
.sticky-copy-section .row { align-items: flex-start !important; }
.section-sticky-media {
  position: sticky;
  top: 112px;
  width: 100%;
  overflow: hidden;
  background: #f5f5f5;
}
.section-sticky-media img,
.intro-image,
.industries-section .section-sticky-media img,
.case-study-section .section-sticky-media img,
.expertise-section .section-sticky-media img,
.results-section .section-sticky-media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 0 !important;
}
.case-images img:first-child,
.case-images img:last-child,
.expertise-media img:first-child,
.expertise-media img:last-child,
.results-section .sticky-media img:first-child,
.results-section .sticky-media img:last-child {
  aspect-ratio: auto;
}

@media (max-width: 1024px) {
  .project-slider-track { gap: 28px; }
  .project-image-link { border-radius: 26px; }
}
@media (max-width: 991.98px) {
  .section-sticky-media { position: static; }
}
@media (max-width: 767.98px) {
  .ac-narrow-container { width: min(calc(100% - 28px),1280px); }
  .projects-section { padding-bottom: 72px; }
  .project-slider-track { gap: 18px; }
  .project-image-link { border-radius: 22px; }
  .project-title { margin-top: 22px; margin-bottom: 10px; font-size: 25px; }
  .project-category { font-size: 16px; }
  .credential-track { justify-content: flex-start; min-width: max-content; }
  .credential-item { flex-basis: 112px; }
  .credential-item img { width: 100px; height: 100px; }
}

/* =========================================================
   V4 correction: static credential row (not a slider)
   ========================================================= */
.credentials-section {
  padding: 28px 20px 34px;
  overflow: visible;
}
.credentials-section .credentials-scroll {
  overflow: visible !important;
  padding: 0 !important;
  scrollbar-width: none;
}
.credentials-section .credentials-scroll::-webkit-scrollbar { display: none; }
.credentials-section .credential-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(18px, 2.3vw, 44px);
  width: 100%;
  min-width: 0 !important;
  padding: 0;
}
.credentials-section .credential-item {
  width: 100%;
  min-width: 0;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.credentials-section .credential-item img {
  display: block;
  width: auto !important;
  min-width: 0 !important;
  max-width: 160px;
  height: 150px;
  object-fit: contain;
}
.credentials-section .credential-item:nth-child(3) img { max-width: 190px; }
.credentials-section .credential-item:nth-child(5) img { max-width: 185px; }
.credentials-section .credential-item:nth-child(6) img { max-width: 175px; }
.credentials-section .experience-card {
  width: min(100%, 260px);
  min-width: 0;
  min-height: 182px;
  padding: 18px 20px;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  box-shadow: none;
  flex-direction: column;
  color: #111;
}
.credentials-section .experience-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}
.credentials-section .experience-number {
  font-size: clamp(3.4rem, 4vw, 4.5rem);
  font-weight: 800;
  line-height: .9;
}
.credentials-section .experience-number span {
  font-size: 1.35rem;
  margin-left: 3px;
  vertical-align: top;
}
.credentials-section .experience-label {
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.45rem);
  font-weight: 700;
}
.credentials-section .experience-card p {
  margin: 16px 0 0;
  font-size: clamp(.78rem, 1vw, 1rem);
  color: #0a1f4e;
  text-align: center;
  white-space: nowrap;
}

/* =========================================================
   V4 correction: true Elementor-style sticky image behavior
   The image column must stretch to the full text-column height.
   ========================================================= */
@media (min-width: 992px) {
  .sticky-copy-section > .container > .row,
  .sticky-copy-section > .container-fluid > .row {
    align-items: stretch !important;
  }
  .sticky-copy-section .sticky-image-column {
    align-self: stretch !important;
    position: relative;
    min-height: 100%;
  }
  .sticky-copy-section .section-sticky-media,
  .sticky-copy-section .sticky-media.section-sticky-media {
    position: sticky !important;
    top: 112px;
    align-self: flex-start;
    height: max-content;
    overflow: visible;
    z-index: 1;
  }
  .sticky-copy-section .section-sticky-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 1399.98px) {
  .credentials-section .credential-track { gap: 18px; }
  .credentials-section .credential-item img { max-width: 130px; height: 130px; }
  .credentials-section .credential-item:nth-child(3) img { max-width: 155px; }
  .credentials-section .credential-item:nth-child(5) img { max-width: 150px; }
  .credentials-section .credential-item:nth-child(6) img { max-width: 145px; }
  .credentials-section .experience-card { min-height: 164px; padding: 16px 12px; }
}

@media (max-width: 991.98px) {
  .credentials-section .credential-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 14px;
  }
  .credentials-section .credential-item { min-height: 135px; }
  .credentials-section .experience-card { min-height: 150px; }
}

@media (max-width: 575.98px) {
  .credentials-section { padding-inline: 14px; }
  .credentials-section .credential-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credentials-section .credential-item img { max-width: 115px; height: 115px; }
  .credentials-section .experience-card { width: 100%; min-height: 138px; padding: 14px 8px; }
  .credentials-section .experience-number { font-size: 3rem; }
  .credentials-section .experience-label { font-size: 1rem; }
  .credentials-section .experience-card p { font-size: .72rem; margin-top: 12px; }
}


/* =========================================================
   V5 refinements requested from the supplied references
   ========================================================= */

/* Service rows: square at rest; softly rounded with blue icon on hover. */
.service-panel {
  background: #fff;
}
.service-panel ul {
  background: #fff;
}
.service-item {
  background: var(--arrant-light);
  border-radius: 0;
  min-height: 82px;
  padding: 16px 14px;
  transition:
    border-radius .32s ease,
    background-color .32s ease;
}
.service-item i {
  font-size: 45px;
  transition: color .32s ease;
}
.service-item span {
  font-size: 18px;
  line-height: 1.25;
}
.service-item:hover,
.service-item:focus-within {
  border-radius: 20px;
  background: var(--arrant-light);
}
.service-item:hover i,
.service-item:focus-within i {
  color: var(--arrant-blue);
}

/* Correct 30+ Years credential card proportions and inline typography. */
.credentials-section .site-container {
  max-width: 1500px;
}
.credentials-section .credential-track {
  grid-template-columns: 1fr 1fr 1.25fr 1.7fr 1.2fr 1.25fr;
  gap: clamp(20px, 2vw, 34px);
}
.credentials-section .experience-card {
  width: min(100%, 260px);
  min-height: 182px;
  padding: 22px 20px 20px;
  border-radius: 12px;
}
.credentials-section .experience-main {
  gap: 8px;
  min-width: 0;
}
.credentials-section .experience-number {
  font-size: clamp(4rem, 4.6vw, 5rem);
  line-height: .82;
  letter-spacing: -3px;
}
.credentials-section .experience-plus {
  align-self: center;
  margin-top: 0;
  transform: translateY(-14px);
  color: var(--arrant-blue);
  font-family: var(--font-ui);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 800;
  line-height: 1;
}
.credentials-section .experience-label {
  color: #10182a;
  font-size: clamp(1.12rem, 1.5vw, 1.55rem);
  line-height: 1;
}
.credentials-section .experience-card p {
  margin-top: 21px;
  color: #071c4a;
  font-size: clamp(.88rem, 1.15vw, 1.12rem);
  line-height: 1.2;
}

/* Smooth FAQ open/close for both Bootstrap and offline fallback modes. */
.accordion-collapse {
  overflow: hidden;
}
.accordion .collapsing,
.accordion-collapse.ac-collapsing {
  display: block !important;
  height: 0;
  overflow: hidden;
  transition: height .46s cubic-bezier(.4, 0, .2, 1);
}
.accordion-button::after {
  transition: transform .36s ease;
}

@media (max-width: 1399.98px) {
  .credentials-section .credential-track {
    grid-template-columns: 1fr 1fr 1.25fr 1.55fr 1.2fr 1.25fr;
  }
  .credentials-section .experience-card {
    width: min(100%, 235px);
    min-height: 178px;
    padding: 20px 16px 18px;
  }
}

@media (max-width: 991.98px) {
  .credentials-section .credential-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .credentials-section .experience-card {
    width: min(100%, 260px);
    min-height: 168px;
  }
}

@media (max-width: 575.98px) {
  .credentials-section .credential-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .credentials-section .experience-card {
    width: 100%;
    min-height: 150px;
    padding: 18px 8px 16px;
  }
  .credentials-section .experience-main { gap: 5px; }
  .credentials-section .experience-number {
    font-size: clamp(3.15rem, 15vw, 4rem);
    letter-spacing: -2px;
  }
  .credentials-section .experience-plus {
    margin-top: 0;
    font-size: 1rem;
    transform: translateY(-10px);
  }
  .credentials-section .experience-label {
    font-size: clamp(.95rem, 4vw, 1.15rem);
  }
  .credentials-section .experience-card p {
    margin-top: 16px;
    font-size: clamp(.72rem, 3.2vw, .88rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-item,
  .service-item i,
  .accordion .collapsing,
  .accordion-collapse.ac-collapsing,
  .accordion-button::after {
    transition-duration: .01ms !important;
  }
}


/* =========================================================
   V6: exact SVG service icons from the live Texas page
   and sticky Service Areas map behavior
   ========================================================= */
.service-item .service-svg-icon {
  display: block;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(45%) sepia(93%) saturate(2145%) hue-rotate(338deg) brightness(103%) contrast(101%);
  transition: filter .32s ease, transform .32s ease;
}
.service-item .service-icon-fallback {
  display: none;
  width: 45px;
  flex: 0 0 45px;
  color: var(--arrant-orange);
  font-size: 45px;
}
.service-item .service-svg-icon.is-failed {
  display: none;
}
.service-item .service-svg-icon.is-failed + .service-icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-item:hover .service-svg-icon,
.service-item:focus-within .service-svg-icon {
  filter: brightness(0) saturate(100%) invert(17%) sepia(95%) saturate(2390%) hue-rotate(202deg) brightness(82%) contrast(103%);
  transform: translateY(-1px) scale(1.03);
}
.service-item:hover .service-icon-fallback,
.service-item:focus-within .service-icon-fallback {
  color: var(--arrant-blue);
}

/* The center Texas map remains visible while the city lists scroll. */
.service-areas-section .service-area-grid {
  align-items: stretch;
}
.service-areas-section .map-column {
  position: relative;
  display: block;
  align-self: stretch;
  min-height: 100%;
}
.service-areas-section .map-sticky {
  position: sticky;
  top: 112px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}
.service-areas-section .map-sticky img {
  display: block;
  width: min(180px, 100%);
  height: auto;
  object-fit: contain;
  transform: translateZ(0);
}

@media (max-width: 991.98px) {
  .service-areas-section .map-column {
    min-height: auto;
  }
  .service-areas-section .map-sticky {
    position: static;
    top: auto;
    min-height: auto;
    padding: 20px 0 30px;
  }
}

@media (max-width: 767.98px) {
  .service-item .service-svg-icon,
  .service-item .service-icon-fallback {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-item .service-svg-icon {
    transition-duration: .01ms !important;
  }
}

/* Keep the Service Areas map sticky on tablet as it is on the source page. */
@media (min-width: 768px) and (max-width: 991.98px) {
  .service-areas-section .service-area-grid {
    grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 24px 20px;
    align-items: stretch;
  }
  .service-areas-section .service-area-grid > div:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .service-areas-section .service-area-grid > div:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .service-areas-section .map-column {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    min-height: 100%;
  }
  .service-areas-section .service-area-grid > div:nth-child(4) {
    grid-column: 3;
    grid-row: 1;
  }
  .service-areas-section .service-area-grid > div:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
  }
  .service-areas-section .map-sticky {
    position: sticky;
    top: 96px;
    min-height: 280px;
    padding: 20px 0;
  }
  .service-areas-section .map-sticky img {
    width: min(150px, 100%);
  }
}

@media (max-width: 767.98px) {
  .service-areas-section .map-column {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }
  .service-areas-section .map-sticky {
    position: static;
    min-height: auto;
  }
}

/* =========================================================
   V8: Mobile Service Areas layout
   Matches the source Elementor mobile structure:
   two city lists, centered Texas map, then two city lists.
   ========================================================= */
@media (max-width: 767.98px) {
  .service-areas-section {
    padding: 30px 0 46px;
    overflow: hidden;
  }

  .service-areas-section .site-container {
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-areas-section .section-title {
    margin-bottom: 28px;
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.05;
  }

  .service-areas-section .service-area-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    column-gap: 18px;
    row-gap: 26px;
    align-items: start;
  }

  .service-areas-section .service-area-grid > div {
    min-width: 0;
  }

  .service-areas-section .service-area-grid > div:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .service-areas-section .service-area-grid > div:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .service-areas-section .map-column {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100%;
    min-height: 0;
  }

  .service-areas-section .service-area-grid > div:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
  }

  .service-areas-section .service-area-grid > div:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
  }

  .service-areas-section .map-sticky {
    position: static;
    min-height: 0;
    padding: 4px 0 6px;
  }

  .service-areas-section .map-sticky img {
    width: min(190px, 62vw);
    max-width: 100%;
    height: auto;
  }

  .service-areas-section .service-city-list {
    width: 100%;
    margin: 0;
  }

  .service-areas-section .service-city-list li {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    margin: 0;
    font-size: clamp(.62rem, 2.55vw, .72rem);
    line-height: 1.52;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .service-areas-section .service-city-list i {
    flex: 0 0 auto;
    margin: .22em 0 0;
    font-size: .62rem;
    line-height: 1;
  }

  .service-areas-section .city-divider,
  .service-areas-section .city-divider-right {
    position: relative;
  }

  .service-areas-section .city-divider {
    padding-left: 14px;
  }

  .service-areas-section .city-divider-right {
    padding-right: 14px;
  }

  .service-areas-section .city-divider-image {
    display: block;
    top: 0;
    bottom: 0;
    width: 6px;
    height: 100%;
    max-height: none;
    object-fit: fill;
  }

  .service-areas-section .city-divider-image-left {
    left: 0;
  }

  .service-areas-section .city-divider-image-right {
    right: 0;
  }
}

@media (max-width: 420px) {
  .service-areas-section .site-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .service-areas-section .service-area-grid {
    column-gap: 12px;
    row-gap: 22px;
  }

  .service-areas-section .city-divider {
    padding-left: 10px;
  }

  .service-areas-section .city-divider-right {
    padding-right: 10px;
  }

  .service-areas-section .city-divider-image {
    width: 5px;
  }

  .service-areas-section .map-sticky img {
    width: min(176px, 60vw);
  }
}

@media (max-width: 350px) {
  .service-areas-section .site-container {
    padding-left: 9px;
    padding-right: 9px;
  }

  .service-areas-section .service-area-grid {
    column-gap: 9px;
  }

  .service-areas-section .service-city-list li {
    font-size: .58rem;
  }
}
