img { max-width: 100%; display: block; }

body.page-template-about-us .showroom p.section-tag {
  position: relative;
  background: var(--black-70);
  color: var(--accent);
  text-align: center;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  height: 40px;
  padding-top: 0;
  padding-bottom: 0;
}

.section-tag::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 0;
  width: 15px;
  height: 40px;
  background: inherit;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

h1, h2, h3, h4, p { margin: 0; }

.site-nav {
  position: relative;
  z-index: 10;
  background: var(--ink);
  color: #fdfdfd;
  border-bottom: 1px solid rgba(253, 253, 253, 0.15);
}

.site-nav .inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fdfdfd;
  letter-spacing: .04em;
  text-decoration: none;
}

.logo span { color: var(--accent); }

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.menu a { color: #fdfdfd; text-decoration: none; }

.hero {
  min-height: 1000px;
  color: #fdfdfd;
  background:
    linear-gradient(rgba(51,54,57,.35), rgba(51,54,57,.35)),
    url('../../../assets/images/pages/about-us/hero.webp') center/cover no-repeat;
}

.hero .wrap {
  min-height: 1000px;
  padding: 160px 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-main {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 61px;
  line-height: 1.16;
  margin-bottom: 22px;
}

.hero .lead {
  font-family: "Onest", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: #fdfdfd;
  margin-bottom: 36px;
}

.adv-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.adv-row-scrollbar {
  display: none;
}

.adv-card {
  background: var(--card);
  padding: 34px 40px;
}

.adv-card h3 {
  font-family: "Onest", sans-serif;
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.adv-card p {
  font-family: "Onest", sans-serif;
  color: #fdfdfd;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.split {
  padding: 160px 0;
  display: grid;
  grid-template-columns: 1fr 680px;
  gap: 40px;
  align-items: center;
}

.split h2,
.trust h2,
.showroom h2,
.map-section h2,
.safety h2,
.news h2 {
  font-size: 49px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.split p,
.trust .lead,
.showroom p,
.map-section p,
.safety .lead,
.news .lead {
  font-size: 20px;
  color: var(--ink-soft);
}

.showroom p:not(.section-tag),
.intro p:not(.section-tag),
.trust-wrap .lead,
.trust-wrap p.lead {
  font-family: 'Onest', sans-serif;
  color: var(--black-70);
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
}

.split .media {
  background: var(--legacy-image) center/cover no-repeat;
  min-height: 750px;
  clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 100%);
}

.split-copy p {
  color: var(--black-70);
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 24px;
}
.split-copy p.section-tag {
  font-weight: 600;
}

.split-copy strong {
  color: var(--black);
  font-weight: 600;
}

.trust-wrap {
  background: var(--bg);
  padding: 0 0 110px;
}

.trust {
  padding: 0;
}

.trust .intro {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 35px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 680px 680px;
  gap: 40px;
  justify-content: center;
  margin-bottom: 44px;
}

.trust-item {
  position: relative;
  height: 280px;
  padding: 40px;
  border-left: 5px solid var(--accent);
  background: var(--surface);
  overflow: hidden;
}

.trust-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--bg);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.trust-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  object-fit: contain;
  object-position: center;
}

.trust-item h3 {
  font-family: "Onest", sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 10px;
}

.trust-item p,
.news-card p {
  font-size: 20px;
  color: var(--ink-soft);
}

.trust-item p {
  font-family: 'Onest', sans-serif;
  max-width: 100%;
  font-size: 20px;
  font-weight: 400;
  color: var(--black-70);
  line-height: normal;
}

.center { text-align: center; }

.showroom {
  position: relative;
  padding: 90px 0 80px;
  background: url('../../../assets/images/pages/about-us/showroom.webp') center/cover no-repeat;
  color: var(--ink);
  display: flex;
  align-items: center;
}

.showroom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #FDFDFD 15.38%, rgba(253, 253, 253, 0) 100%);
}

.showroom .content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.showroom h2,
.showroom p,
.showroom .meta {
  color: var(--ink);
}

.showroom .section-tag {
  background: var(--card);
  color: var(--accent);
  border-left-color: var(--accent);
}

.showroom p { max-width: 920px; margin: 0 auto 18px; }

.showroom .meta {
  margin-top: 496px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: "Onest", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}

.meta-pill {
  min-height: 60px;
  padding: 0 24px;
  background: rgba(51, 54, 57, .7);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  border-left: 5px solid var(--accent);
  text-decoration: none;
  transition: text-decoration-color .2s ease;
  text-transform: initial;
}

.meta-pill img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(76%) sepia(74%) saturate(468%) hue-rotate(349deg) brightness(102%) contrast(101%);
}

a.meta-pill:hover { text-decoration: underline; }

.map-section {
  padding: 160px 0;
}

.map-section .intro {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 18px;
}
.split .split-copy .section-tag,
.trust-wrap .intro .section-tag,
.news .intro .section-tag,
.safety .intro .section-tag,
.map-section .intro .section-tag {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  height: 40px;
  font-size: 16px;
  color: var(--black-70);
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.split .split-copy .section-tag {
  margin-bottom: 24px;
}

.map-card {
  height: 650px;
  position: relative;
  overflow: hidden;
  padding-top: 40px;
  margin-bottom: 26px;
}

#projectsMap {
  width: 100%;
  height: 100%;
}

.projects-tooltip {
  position: absolute;
  z-index: 5;
  width: auto;
  min-height: 60px;
  padding: 0 20px;
  background: rgba(51, 54, 57, 0.96);
  border-left: 6px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-onest);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 26px));
  white-space: nowrap;
}

.projects-tooltip::after {
  content: "";
  position: absolute;
  left: calc(50% - 7px);
  bottom: -6px;
  width: 14px;
  height: 7px;
  background: rgba(51, 54, 57, 0.96);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.projects-tooltip.hidden {
  opacity: 0;
  visibility: hidden;
}

.safety {
  padding: 0 0 120px;
}

.safety .intro {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 76px;
}
.map-section + .safety .intro {
  margin: 0 auto 36px;
}

.safety-grid {
  display: grid;
  grid-template-columns: 440px 440px 440px;
  justify-content: center;
  gap: 40px;
}

.safety-grid-scrollbar {
  display: none;
}

.safety-item {
  position: relative;
  height: 312px;
  padding: 40px;
  background: var(--black);
  overflow: hidden;
}

.safety-item::before,
.safety-item::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 40px;
  height: 40px;
  background: var(--bg);
}

.safety-item::before {
  left: -1px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.safety-item::after {
  right: -1px;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.safety-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  object-fit: contain;
  object-position: center;
}

.safety-item h3 {
  font-family: "Onest", sans-serif;
  color: var(--accent);
  font-size: 25px;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 20px;
  text-align: center;
}

.safety-item p {
  font-family: "Onest", sans-serif;
  color: #fdfdfd;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  margin: 0 auto;
}

.news {
  padding-bottom: 160px;
  overflow: hidden;
}

.news .intro {
  text-align: center;
  margin-bottom: 56px;
}

.news-swiper { overflow: visible; }

.news-grid {
  display: flex;
  gap: 0;
}

.news-grid .swiper-slide {
  width: calc((100% - 80px) / 3);
  height: auto;
}

.news-card {
  border: 0;
  background: #fff;
  overflow: hidden;
  height: 100%;
}

.news-card .thumb {
  height: 247px;
  background-size: cover;
  background-position: center;
}

.news-grid .swiper-slide .thumb {
  clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 100%);
}

.news-card .body {
  padding: 22px 20px 24px;
  border: 1px solid rgba(51, 54, 57, 0.3);
  border-top: 0;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 8px;
  background: #f4f7f5;
  color: var(--black-70);
  font-family: "Onest", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}

.news-card h3 {
  font-size: 31px;
  line-height: 1.25;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .body > p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;

  color: var(--black-70);
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
}

.meta-line {
  margin-top: 8px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  font-family: "Onest", sans-serif;
  color: var(--black-70);
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}

.news-pagination {
  margin: 24px auto 0;
  width: fit-content;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.page-arrow {
  position: relative;
  width: 50px;
  height: 40px;
  background: transparent;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.6;
}
.page-arrow:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  border: 1px solid var(--black);
  transform: skew(-19deg);
}

.page-arrow:hover {
  color: var(--ink);
  border-color: rgba(51, 54, 57, .7);
}

.page-arrow.swiper-button-disabled {
  opacity: .35;
  cursor: default;
}

.page-bars {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  gap: 4px;
}

.page-bars span {
  width: 25px;
  height: 20px;
  background: var(--ink);
  clip-path: polygon(26% 0, 100% 0, 74% 100%, 0 100%);
}
.page-bars span.active {
  background: var(--accent);
}
.see-all-articles {
  margin-top: 40px;
}

@media (max-width: 1280px) {
  .container { width: min(1440px, calc(100% - 32px)); }
  .hero h1 { font-size: 50px; }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .pre-grid { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
  body { overflow-x: hidden; }
  .menu { display: none; }
  .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero,
  .hero .wrap,
  .showroom { min-height: auto; }

  .hero {
    min-height: 926px;
    background:
      linear-gradient(rgba(51,54,57,.35), rgba(51,54,57,.35)),
      url('../../../assets/images/pages/about-us/mobile/hero-mobile.webp') center/cover no-repeat;
  }

  .hero .wrap {
    min-height: 926px;
    padding: 120px 0 0;
    justify-content: flex-start;
  }

  .hero-main {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-main .btn {
    width: 212px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 60.48px;
    margin-bottom: 20px;
  }

  .hero .lead {
    font-size: 19px;
    line-height: 24.23px;
    margin-bottom: 35px;
  }

  .adv-row {
    margin-top: 226px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 280px;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    touch-action: pan-x;
    bottom: -94px;
    position: relative;
  }

  .adv-row::-webkit-scrollbar { display: none; }

  .adv-row .adv-card:first-child {
    margin-left: 20px;
  }

  .adv-row .adv-card:last-child {
    margin-right: 20px;
  }

  .adv-row-scrollbar {
    position: relative;
    bottom: -94px;
    display: block;
    height: 3px;
    margin: 5px 20px 0;
    background: var(--second-bg);
    overflow: hidden;
  }

  .adv-row-scrollbar-thumb {
    display: block;
    height: 100%;
    background: var(--accent);
    transform: translateX(0);
    will-change: transform;
  }

  .adv-card {
    width: 280px;
    height: 154px;
    padding: 24px;
    border-bottom: 5px solid var(--accent);
  }

  .adv-card h3 {
    font-size: 19px;
    line-height: 24.23px;
    border-bottom: 0;
    margin-bottom: 22px;
    padding-bottom: 0;
  }

  .adv-card p {
    font-size: 16px;
    line-height: 20.4px;
  }

  .split {
    padding: 204px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .split .media {
    order: -1;
    width: 100%;
    min-height: 353px;
  }

  .split h2,
  .trust h2,
  .showroom h2,
  .map-section h2,
  .safety h2,
  .news h2 {
    font-size: 40px;
    line-height: 50.4px;
    margin-bottom: 20px;
  }

  .split p,
  .trust .lead,
  .showroom p,
  .map-section p,
  .safety .lead,
  .news-card p,
  .prefooter p { font-size: 19px; line-height: 24.23px; }

  .split p { font-size: 16px; line-height: normal; }

  .trust-wrap { padding: 120px 0 120px; }
  .trust .intro { margin: 0 0 40px; text-align: left; }
  .trust-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }

  .trust-item {
    height: auto;
    min-height: 0;
    padding: 20px 40px 20px 15px;
  }

  .trust-item h3 { font-size: 23px; line-height: 29.32px; margin-bottom: 12px; }
  .trust-item p { max-width: none; font-size: 19px; line-height: 24.23px; font-weight: 400; }
  .trust .center .btn {
    width: 216px;
    margin: 0 auto;
  }

  .showroom {
    padding: 0;
    align-items: flex-start;
    background:
      linear-gradient(180deg, #FDFDFD 15.38%, rgba(253, 253, 253, 0) 100%),
      linear-gradient(rgba(51,54,57,.35), rgba(51,54,57,.35)),
      url('../../../assets/images/pages/about-us/mobile/showroom-mobile.webp') center/cover no-repeat;
  }

  .showroom::before { display: none; }
  .showroom .content { text-align: left; padding-top: 60px; padding-bottom: 40px; }
  .showroom p { margin: 0 0 35px; }
  .showroom .meta {
    margin-top: 480px;
    gap: 10px;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }
  .meta-pill {
    width: 100%;
    min-height: 60px;
    padding: 0 14px;
    font-size: 16px;
    line-height: 20.4px;
    justify-content: flex-start;
  }

  .map-section { padding-top: 120px; padding-bottom: 0; display: flex; flex-direction: column; }
  .map-section .intro { text-align: left; margin: 0 0 14px; }
  .map-section .center { order: 2; text-align: left; margin: 0 0 40px; }
  .map-section .center .btn { width: 239px; }
  .map-card {
    order: 3;
    width: 100vw;
    height: 450px;
    margin: 0 0 0 calc(50% - 50vw);
  }
  .projects-tooltip {
    min-width: 240px;
    max-width: 300px;
    min-height: 56px;
    padding: 0 16px;
    font-size: 18px;
    transform: translate(-50%, calc(-100% - 18px));
  }
  .projects-tooltip::after {
    left: calc(50% - 12px);
    bottom: -18px;
    width: 24px;
    height: 18px;
  }

  .safety {
    padding: 120px 0 0;
  }

  #projectsMap {
    height: 450px;
  }

  .safety .intro {
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 0 40px;
  }
  .map-section + .safety .intro {
    padding-left: 20px;
    padding-right: 20px;
  }
  .safety-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 280px 280px 280px;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
  }

  .safety-grid::-webkit-scrollbar { display: none; }

  .safety-grid-scrollbar {
    display: block;
    height: 3px;
    margin: 5px 20px 0;
    background: var(--second-bg);
    overflow: hidden;
  }

  .safety-grid-scrollbar-thumb {
    display: block;
    height: 100%;
    background: var(--accent);
    transform: translateX(0);
    will-change: transform;
  }

  .safety-grid {
    padding-left: 20px;
    padding-bottom: 0;
    justify-content: flex-start;
    grid-template-columns: 280px 280px 280px;
  }
  .safety-item {
    width: 280px;
    min-height: 368px;
    padding: 24px;
    border-bottom: 5px solid var(--accent);
  }
  .safety-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
  }
  .safety-item h3 {
    color: var(--accent);
    font-size: 25px;
    line-height: 31.88px;
    max-width: 100%;
    text-align: center;
  }
  .safety-item p {
    color: #fdfdfd;
    max-width: 100%;
    font-size: 16px;
    line-height: 20.4px;
    text-align: center;
    margin: 0 auto;
  }

  .news {
    padding: 110px 0 120px;
    overflow: hidden;
  }
  .news .intro { text-align: left; margin-bottom: 40px; padding-left: 20px; padding-right: 20px;}
  .news-swiper { overflow: hidden; padding-left: 20px; padding-right: 20px;}
  .news-grid {
    display: flex;
    gap: 0;
    overflow: visible;
  }
  .news-grid .swiper-slide {
    width: auto;
    height: auto;
  }
  .news-card { width: 100%; height: 458px; }
  .news-card .thumb { height: 180px; background-size: cover; }
  .news-grid .swiper-slide .thumb { clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 100%); }
  .news-grid .swiper-slide:nth-child(1) .thumb { background-image: url('../../../assets/images/pages/about-us/mobile/news-mobile-1.webp') !important; }
  .news-grid .swiper-slide:nth-child(2) .thumb { background-image: url('../../../assets/images/pages/about-us/mobile/news-mobile-2.webp') !important; }
  .news-grid .swiper-slide:nth-child(3) .thumb { background-image: url('../../../assets/images/pages/about-us/mobile/news-mobile-3.webp') !important; }
  .news-card .body { padding: 22px 20px 20px; }
  .news-card h3 { font-size: 28px; line-height: 35.28px; }
  .news-card p { font-size: 19px; line-height: 24.23px; }
  .news-pagination { width: 250px; margin: 20px auto 0; }
  .news .center .btn {
    width: 194px;
    margin: 0 auto;
  }

  .showroom p:not(.section-tag),
  .intro p:not(.section-tag),
  .trust-wrap .lead,
  .trust-wrap p.lead {
    text-align: left;
    font-size: 19px;
  }
  .map-section .intro ~ .center {
    margin-bottom: 0;
  }

  .page-bars {
    gap: 0;
  }
  .page-arrow {
    flex: 0 0 50px;
    height: 40px;
  }
  .see-all-articles {
    margin-top: 20px;
  }
}
