body {
  background: #f6f8fb !important;
  color: #14243a;
}

.projects-hero {
  padding: clamp(28px, 5vw, 64px) 24px 36px;
  background: #f6f8fb;
}

.projects-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: min(1180px, 100%);
  min-height: 350px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 74px);
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 82% 15%, rgba(40, 104, 164, .34), transparent 35%),
    linear-gradient(118deg, #0a2342 0%, #102f54 100%);
  color: #fff;
  box-shadow: 0 18px 50px rgba(10, 35, 66, .13);
}

.projects-hero-inner::after {
  position: absolute;
  right: 34%;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.projects-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.projects-eyebrow,
.projects-section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #f9a14b;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.projects-eyebrow span {
  width: 24px;
  height: 2px;
  background: #f58220;
}

.projects-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6.2vw, 5.35rem);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .99;
}

.projects-hero h1 span {
  color: #f58220;
}

.projects-intro {
  max-width: 510px;
  margin: 22px 0 0;
  color: #d4dfec;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.7;
}

.projects-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.projects-primary-link,
.projects-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}

.projects-primary-link {
  padding: 0 19px;
  border: 1px solid #f58220;
  border-radius: 7px;
  background: #f58220;
  color: #10243e;
}

.projects-primary-link:hover {
  border-color: #ff9a45;
  background: #ff9a45;
  color: #10243e;
  transform: translateY(-2px);
}

.projects-text-link {
  color: #fff;
}

.projects-text-link:hover {
  color: #f9a14b;
}

.projects-hero-note {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 245px;
  flex-direction: column;
  align-items: flex-start;
  min-height: 205px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(10px);
}

.projects-note-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 9px;
  background: #f58220;
  color: #10243e;
  font-size: 1.1rem;
  font-weight: 900;
}

.projects-hero-note p {
  margin: 19px 0 0;
  color: #d5e0ed;
  font-size: .98rem;
  line-height: 1.6;
}

.projects-hero-note p strong {
  color: #fff;
  font-weight: 700;
}

.projects-note-line {
  width: 100%;
  height: 1px;
  margin-top: auto;
  background: rgba(255, 255, 255, .17);
}

.projects-note-caption {
  margin-top: 12px;
  color: #aebed0;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .11em;
}

.featured-projects-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 76px;
}

.projects-category-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  padding: 12px 20px;
  overflow-x: auto;
  border-block: 1px solid #e5eaf0;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}

.projects-category-nav::-webkit-scrollbar {
  display: none;
}

.projects-category-nav a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #52647a;
  font-size: .83rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.projects-category-nav a:hover,
.projects-category-nav a:focus-visible {
  border-color: #f4d2b5;
  background: #fff7ef;
  color: #b45108;
  outline: none;
}

.projects-category-section {
  scroll-margin-top: 74px;
}

.projects-category-section + .projects-category-section {
  border-top: 1px solid #e5eaf0;
}

.featured-projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.projects-section-eyebrow {
  margin-bottom: 8px;
  color: #e16f16;
  font-size: .7rem;
}

.featured-projects-header h2 {
  margin: 0;
  color: #14243a;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.2;
}

.featured-projects-header h2 span {
  color: #f58220;
}

.projects-count {
  flex: 0 0 auto;
  margin: 0 0 3px;
  color: #718096;
  font-size: .88rem;
}

.projects-count strong {
  margin-right: 3px;
  color: #14243a;
  font-size: 1.05rem;
}

.category-view-all,
.project-story-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1767b1;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.category-view-all:hover,
.project-story-link:hover {
  color: #d76612;
}

.service-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 170px;
  align-items: center;
  gap: 24px;
  min-height: 224px;
  padding: 34px 40px;
  overflow: hidden;
  border: 1px solid #e2e9f1;
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 50%, rgba(245, 130, 32, .09), transparent 30%),
    #fff;
  box-shadow: 0 8px 24px rgba(20, 36, 58, .05);
}

.service-spotlight-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid #f4ddc9;
  border-radius: 15px;
  background: #fff5eb;
  color: #c45b0b;
}

.service-spotlight-icon svg {
  width: 34px;
  height: 34px;
}

.service-spotlight-copy {
  max-width: 620px;
}

.service-spotlight-label {
  color: #bf5a0d;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.service-spotlight-copy h3 {
  margin: 8px 0;
  color: #172a42;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.service-spotlight-copy p {
  max-width: 590px;
  margin: 0 0 16px;
  color: #627287;
  font-size: .94rem;
  line-height: 1.65;
}

.service-spotlight-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 150px;
  height: 150px;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  background: linear-gradient(145deg, #173b63, #0a2342);
  box-shadow: 0 12px 28px rgba(10, 35, 66, .16);
  color: #fff;
}

.service-spotlight-aside span {
  color: #ffab60;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

.service-spotlight-aside small {
  color: #d4dfec;
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.5;
  text-align: center;
}

.service-spotlight-search .service-spotlight-icon {
  border-color: #d8e7fa;
  background: #eff6ff;
  color: #1767b1;
}

.service-spotlight-social .service-spotlight-icon {
  border-color: #e3ddf8;
  background: #f5f1ff;
  color: #7352b8;
}

.service-spotlight-search .service-spotlight-label {
  color: #1767b1;
}

.service-spotlight-social .service-spotlight-label {
  color: #7352b8;
}

.gmb-project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.gmb-project-image {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e2e9f1;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(20, 36, 58, .045);
}

.gmb-project-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: cover;
  background: #eef4fa;
  transition: transform .3s ease;
}

.gmb-project-image:hover img {
  transform: scale(1.025);
}

.gmb-project-image figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 13px 15px;
  color: #172a42;
  font-size: .86rem;
  font-weight: 750;
}

.gmb-project-image figcaption span {
  color: #718096;
  font-size: .76rem;
  font-weight: 500;
}

.project-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#crm-projects .project-stories-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-story-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 208px;
  padding: 24px;
  border: 1px solid #e3e9f0;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(20, 36, 58, .04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.project-story-card:hover {
  transform: translateY(-4px);
  border-color: #d4dfeb;
  box-shadow: 0 14px 30px rgba(20, 36, 58, .09);
}

.project-story-number {
  margin-bottom: 15px;
  color: #c45b0b;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.project-story-card h3 {
  margin: 0 0 9px;
  color: #172a42;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.32;
}

.project-story-card p {
  flex: 1;
  margin: 0 0 19px;
  color: #627287;
  font-size: .88rem;
  line-height: 1.6;
}

.erp-project-gallery,
.crm-project-gallery {
  margin: 20px 0 0;
  overflow: hidden;
  border: 1px solid #e2e9f1;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 36, 58, .06);
}

.erp-project-gallery img,
.crm-project-gallery img {
  display: block;
  width: 100%;
  max-height: 680px;
  aspect-ratio: 1.5;
  object-fit: contain;
  background: #eef3f8;
}

.erp-project-gallery figcaption,
.crm-project-gallery figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 13px 16px;
  border-top: 1px solid #e8edf3;
  color: #172a42;
  font-size: .86rem;
  font-weight: 750;
}

.erp-project-gallery figcaption span,
.crm-project-gallery figcaption span {
  color: #718096;
  font-size: .76rem;
  font-weight: 500;
}

.mobile-app-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mobile-app-gallery .crm-project-gallery {
  margin: 0;
}

.mobile-app-gallery img {
  aspect-ratio: 1.5;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e6ebf1;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(20, 36, 58, .045);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.project-card:hover {
  z-index: 1;
  transform: translateY(-5px);
  border-color: #d9e1eb;
  box-shadow: 0 16px 34px rgba(20, 36, 58, .11);
}

.project-logo-wrap {
  display: grid;
  aspect-ratio: 1.62;
  place-items: center;
  padding: 24px;
  border-bottom: 1px solid #eef1f5;
  background: #fff;
}

.project-logo-wrap img {
  display: block;
  width: auto;
  max-width: min(100%, 310px);
  height: auto;
  max-height: 122px;
  object-fit: contain;
}

.project-logo-wordmark {
  grid-template-columns: auto auto;
  align-content: center;
  justify-content: center;
  gap: 11px;
  color: #173b63;
}

.project-logo-wordmark span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  background: #fff0e2;
  color: #bd590f;
  font-size: 1.1rem;
  font-weight: 900;
}

.project-logo-wordmark strong {
  color: #173b63;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.035em;
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 105px;
  padding: 17px 18px 16px;
}

.project-info h3 {
  margin: 0;
  color: #172a42;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #78879a;
  font-size: .78rem;
}

.project-meta span:first-child {
  color: #53657a;
}

.locations-services-section {
  padding: 38px 0 !important;
  border: 0 !important;
  background: #0a2342 !important;
}

.locations-services-section > .container {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: none !important;
}

.locations-services-section h2 {
  margin-bottom: 22px !important;
  color: #fff !important;
  font-size: 1.25rem !important;
}

.locations-services-list {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 26px !important;
}

.locations-services-list h3 {
  margin-bottom: 9px;
  color: #f9a14b;
}

.locations-services-list ul {
  padding-left: 0 !important;
  list-style: none;
}

.locations-services-list li {
  margin: 7px 0;
  line-height: 1.45;
}

.locations-services-list a {
  color: #ced9e6 !important;
  font-size: .83rem;
  text-decoration: none !important;
}

.locations-services-list a:hover {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .projects-hero-inner {
    gap: 30px;
    padding: 44px;
  }

  .projects-hero-note {
    flex-basis: 215px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .service-spotlight {
    grid-template-columns: 54px minmax(0, 1fr) 120px;
    gap: 18px;
    padding: 28px;
  }

  .service-spotlight-aside {
    width: 115px;
    height: 115px;
  }

  .gmb-project-gallery {
    gap: 14px;
  }

  .mobile-app-gallery {
    gap: 14px;
  }
}

@media (max-width: 620px) {
  .projects-hero {
    padding: 20px 16px 26px;
  }

  .projects-hero-inner {
    min-height: 0;
    padding: 34px 25px;
    border-radius: 17px;
  }

  .projects-hero-note {
    display: none;
  }

  .projects-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .projects-intro {
    margin-top: 16px;
  }

  .projects-hero-actions {
    gap: 16px;
    margin-top: 22px;
  }

  .projects-primary-link,
  .projects-text-link {
    font-size: .86rem;
  }

  .featured-projects-section {
    width: calc(100% - 32px);
    padding: 26px 0 48px;
  }

  .projects-category-nav {
    justify-content: flex-start;
    gap: 3px;
    padding: 9px 12px;
  }

  .projects-category-nav a {
    padding: 8px 11px;
    font-size: .76rem;
  }

  .featured-projects-header {
    align-items: flex-start;
    margin-bottom: 19px;
  }

  .featured-projects-header h2 {
    max-width: 270px;
  }

  .projects-count {
    padding-top: 18px;
    font-size: .78rem;
  }

  .projects-grid {
    gap: 13px;
  }

  .service-spotlight {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 15px;
    min-height: 0;
    padding: 21px 18px;
  }

  .service-spotlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .service-spotlight-icon svg {
    width: 27px;
    height: 27px;
  }

  .service-spotlight-copy {
    display: contents;
  }

  .service-spotlight-label,
  .service-spotlight-copy h3,
  .service-spotlight-copy p,
  .service-spotlight-copy .project-story-link {
    grid-column: 1 / -1;
  }

  .service-spotlight-label {
    margin-top: 3px;
  }

  .service-spotlight-copy h3 {
    margin-top: -9px;
  }

  .service-spotlight-copy p {
    margin-top: -8px;
  }

  .service-spotlight-aside {
    display: none;
  }

  .gmb-project-gallery {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 14px;
  }

  .mobile-app-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-stories-grid,
  #crm-projects .project-stories-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-story-card {
    min-height: 0;
    padding: 20px;
  }

  .project-logo-wrap {
    aspect-ratio: 1.5;
    padding: 20px;
  }

  .project-info {
    gap: 11px;
    min-height: 98px;
    padding: 13px 13px 12px;
  }

  .project-info h3 {
    font-size: .96rem;
  }

  .project-meta {
    font-size: .7rem;
  }

  .locations-services-section > .container {
    width: calc(100% - 32px) !important;
  }
}

@media (max-width: 400px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-logo-wrap {
    aspect-ratio: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects-primary-link,
  .project-card,
  .project-logo-wrap img,
  .gmb-project-image img {
    transition: none;
  }
}
