.our-services {
  padding: 2rem 0;
}

.our-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
@media (max-width: 991px) {
  .our-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .our-services__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.service-detail-page .main {
  padding-top: 0;
}

.service-detail {
  width: 100%;
  max-width: 100%;
  padding-bottom: 3rem;
}
.service-detail__hero-wrap {
  width: 100%;
  max-width: 100%;
}
.service-detail__hero {
  width: 100%;
  max-width: 100%;
  max-height: 28rem;
  overflow: hidden;
  background: #f3f4f5;
}
.service-detail__hero-media {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.service-detail__hero-media img,
.service-detail__hero-media .service-detail__hero-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 28rem;
  -o-object-fit: cover;
     object-fit: cover;
}
.service-detail__hero-placeholder {
  min-height: 14rem;
  background: linear-gradient(135deg, #e8ecf1 0%, #f3f4f5 100%);
}
.service-detail__intro {
  padding: 1.5rem 0;
  text-align: center;
}
.service-detail__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: #194885;
  margin-bottom: 0.75rem;
}
.service-detail__tagline {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-body);
  max-width: 48rem;
  margin: 0 auto;
}
.service-detail__mosaic {
  list-style: none;
  display: grid;
  gap: 2rem;
  padding: 0 0 2rem;
  margin: 0;
  width: 100%;
}
.service-detail__mosaic-item {
  min-width: 0;
}
.service-detail__mosaic--dense {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 1024px) {
  .service-detail__mosaic--dense {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .service-detail__mosaic--dense {
    grid-template-columns: repeat(1, 1fr);
  }
}
.service-detail__mosaic-link {
  display: block;
  overflow: hidden;
}
.service-detail__mosaic-link:hover .service-detail__mosaic-img {
  transform: scale(1.03);
}
.service-detail__mosaic-img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.35s ease;
}
.service-detail__floorplan-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  -moz-column-gap: clamp(1.25rem, 2.22vw, 2rem);
       column-gap: clamp(1.25rem, 2.22vw, 2rem);
  row-gap: clamp(1.25rem, 2.22vw, 2rem);
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  width: 100%;
}
.service-detail__floorplan-grid > .service-detail__floorplan-cell:nth-child(1) {
  grid-column: 1/span 6;
  grid-row: 1;
  aspect-ratio: 592/395;
}
.service-detail__floorplan-grid > .service-detail__floorplan-cell:nth-child(2) {
  grid-column: 7/span 6;
  grid-row: 1;
  aspect-ratio: 592/395;
}
.service-detail__floorplan-grid > .service-detail__floorplan-cell:nth-child(3) {
  grid-column: 1/span 4;
  grid-row: 2;
  aspect-ratio: 388/259;
}
.service-detail__floorplan-grid > .service-detail__floorplan-cell:nth-child(4) {
  grid-column: 5/span 4;
  grid-row: 2;
  aspect-ratio: 388/259;
}
.service-detail__floorplan-grid > .service-detail__floorplan-cell:nth-child(5) {
  grid-column: 9/span 4;
  grid-row: 2;
  aspect-ratio: 388/259;
}
.service-detail__floorplan-grid > .service-detail__floorplan-cell:nth-child(6) {
  grid-column: 2/span 10;
  grid-row: 3;
  aspect-ratio: 1008/662;
}
.service-detail__floorplan-grid > .service-detail__floorplan-cell:nth-child(7) {
  grid-column: 1/span 6;
  grid-row: 4;
  aspect-ratio: 592/395;
}
.service-detail__floorplan-grid > .service-detail__floorplan-cell:nth-child(8) {
  grid-column: 7/span 6;
  grid-row: 4;
  aspect-ratio: 592/395;
}
.service-detail__floorplan-grid > .service-detail__floorplan-cell:nth-child(9) {
  grid-column: 1/span 4;
  grid-row: 5;
  aspect-ratio: 384/555;
}
.service-detail__floorplan-grid > .service-detail__floorplan-cell:nth-child(10) {
  grid-column: 5/span 8;
  grid-row: 5;
  aspect-ratio: 800/555;
}
@media (max-width: 767px) {
  .service-detail__floorplan-grid > .service-detail__floorplan-cell:nth-child(n) {
    grid-column: 1/-1;
    grid-row: auto;
    aspect-ratio: 16/10;
  }
}
.service-detail__floorplan-grid-more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  -moz-column-gap: clamp(1.25rem, 2.22vw, 2rem);
       column-gap: clamp(1.25rem, 2.22vw, 2rem);
  row-gap: clamp(1.25rem, 2.22vw, 2rem);
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  width: 100%;
}
.service-detail__floorplan-grid-more .service-detail__floorplan-cell--more {
  aspect-ratio: 388/259;
}
@media (max-width: 767px) {
  .service-detail__floorplan-grid-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .service-detail__floorplan-grid-more {
    grid-template-columns: minmax(0, 1fr);
  }
}
.service-detail__intro--floorplan {
  padding-bottom: 1rem;
}
.service-detail__tagline--floorplan {
  max-width: 44.125rem;
}
.service-detail__floorplan-cell {
  min-width: 0;
  overflow: hidden;
  border-radius: 0.25rem;
  background: #f3f4f5;
}
.service-detail__floorplan-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.service-detail__floorplan-link:hover .service-detail__floorplan-img {
  transform: scale(1.03);
}
.service-detail__floorplan-img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.35s ease;
}
.service-detail__summary, .service-detail__body {
  padding: 2rem 0;
}
.service-detail__summary-inner, .service-detail__body-inner {
  max-width: 58rem;
  margin: 0 auto;
}
.service-detail__other {
  padding-bottom: 0.5rem;
}
.service-detail__other-header {
  padding: clamp(1.75rem, 4vw, 3rem) 0 0;
  text-align: center;
  max-width: 44.125rem;
  margin: 0 auto 2rem;
}
.service-detail__other-title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  color: #194885;
  margin: 0 0 0.625rem;
}
.service-detail__other-lead {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.5;
  color: #484F56;
  margin: 0;
}
.service-detail__other-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 2.5rem;
}
.service-detail__other-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  border-radius: 1.875rem;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
  color: #484F56;
  background: transparent;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.service-detail__other-tab:hover {
  color: #194885;
}
.service-detail__other-tab--active {
  color: #fff;
  background: #266dca;
  cursor: default;
}
.service-detail__other-hero {
  margin: 0 0 1.75rem;
  width: 100%;
  background: #f3f4f5;
}
.service-detail__other-hero-link {
  display: block;
  width: 100%;
  overflow: hidden;
}
.service-detail__other-hero-link:hover .service-detail__other-hero-img {
  transform: scale(1.02);
}
.service-detail__other-hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(46.75rem, 88vh);
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1216/748;
  transition: transform 0.35s ease;
}
.service-detail__other-bento {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}
@media (max-width: 991px) {
  .service-detail__other-bento {
    gap: 1.25rem;
  }
}
@media (max-width: 767px) {
  .service-detail__other-bento {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}
.service-detail__other-bento-item {
  min-width: 0;
}
.service-detail__other-bento-item .service-detail__other-bento-link {
  aspect-ratio: 592/395;
}
.service-detail__other-bento-item:only-child {
  grid-column: 1/-1;
}
.service-detail__other-bento-item:only-child .service-detail__other-bento-link {
  aspect-ratio: 16/9;
}
@media (max-width: 767px) {
  .service-detail__other-bento-item .service-detail__other-bento-link {
    aspect-ratio: 16/10;
  }
}
@media (max-width: 575px) {
  .service-detail__other-bento-item .service-detail__other-bento-link {
    aspect-ratio: 4/3;
  }
}
.service-detail__other-bento-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 0.25rem;
  background: #f3f4f5;
}
.service-detail__other-bento-link:hover .service-detail__other-bento-img {
  transform: scale(1.03);
}
.service-detail__other-bento-img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.35s ease;
}
.service-detail__summary--other {
  padding-top: 0;
}

@media (max-width: 991px) {
  .product-detail {
    flex-direction: column;
  }
  .product-detail-right {
    width: 100%;
  }
  .product__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product__item .info {
    padding: 8px;
  }
  .title-filter {
    flex-direction: column;
  }
  .related-products__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .related-products__search-input {
    width: 100%;
  }
}
@media (max-width: 575px) {
  .thumbnail-grid a {
    width: calc(25% - 9px);
  }
}
@media (max-width: 374px) {
  .thumbnail-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}