:root {
  --color-brand-blue: #0054a6;
  --color-brand-deep: #003b82;
  --color-brand-green: #8bc400;
  --color-text: #222;
  --color-muted: #777;
  --color-page: #f1f1f3;
  --color-panel: #fff;
  --color-footer: #2f3542;
  --shadow-soft: 0 18px 48px rgba(20, 40, 80, 0.12);
  --container: 1080px;
  --header-height: 68px;
  --font-sans: Helvetica, Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-sans);
  background: var(--color-page);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 128px 1fr 120px;
  align-items: center;
  gap: 28px;
  width: min(1080px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
}

.site-header__logo img {
  width: 54px;
}

.site-nav {
  font-size: 14px;
  font-weight: 600;
}

.site-nav__list {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-around;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item {
  position: relative;
  display: grid;
  height: var(--header-height);
  align-items: center;
}

.site-nav__link {
  position: relative;
  display: grid;
  height: 100%;
  align-items: center;
  transition: color 0.2s ease;
}

.site-nav__link::before {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 30px;
  height: 8px;
  background: var(--color-brand-blue);
  clip-path: path("M0 8 Q7.5 8 13 2 Q15 0 17 2 Q22.5 8 30 8 Z");
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.2s ease;
  content: "";
}

.site-nav__link:hover,
.site-nav__link.is-active,
.site-nav__item--has-subnav:hover > .site-nav__link,
.mobile-nav a:hover {
  color: var(--color-brand-blue);
}

.site-nav__link.is-active::before,
.site-nav__item--has-subnav:hover > .site-nav__link::before {
  opacity: 1;
}

.site-subnav {
  position: fixed;
  z-index: 40;
  top: var(--header-height);
  left: 0;
  display: flex;
  width: 100vw;
  height: calc(100vh - var(--header-height));
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: linear-gradient(#fff 0 588px, rgba(0, 0, 0, 0.74) 588px 100%);
}

.site-nav__item--has-subnav:hover .site-subnav,
.site-nav__item--has-subnav:focus-within .site-subnav {
  overflow: visible;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
}

.site-subnav__mask {
  position: fixed;
  z-index: -1;
  inset: calc(var(--header-height) + 588px) 0 0;
  background: rgba(0, 0, 0, 0.74);
}

.site-subnav__panel {
  display: flex;
  width: min(754px, calc(100vw - 40px));
  height: 588px;
  padding: 26.9px 0 23.8px;
  overflow: hidden;
  pointer-events: auto;
  background: transparent;
}

.site-subnav__panel--compact {
  height: 310px;
}

.site-subnav__panel--about {
  height: 588px;
}

.site-subnav__menu {
  width: 207.25px;
  margin-right: 16.9px;
  padding: 0;
}

.site-subnav__menu h2 {
  margin: 0 0 32.2px;
  padding: 0;
  color: #000;
  font-size: 27.6px;
  font-weight: 500;
  line-height: normal;
}

.site-subnav__tab {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 20px;
  border: 0;
  color: #333;
  font-size: 13.8px;
  font-weight: 400;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.site-subnav__tab::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 41px;
  height: 12px;
  background: var(--color-brand-blue);
  clip-path: path("M0 12 Q10 12 17.4 2.4 Q20.5 0 23.6 2.4 Q31 12 41 12 Z");
  opacity: 0;
  content: "";
}

.site-subnav__tab.is-active,
.site-subnav__tab:hover {
  color: var(--color-brand-blue);
  background: #f1f1f3;
}

.site-subnav__tab.is-active::after,
.site-subnav__tab:hover::after {
  opacity: 1;
}

.site-subnav__content {
  display: none;
  flex: 1;
  grid-template-columns: repeat(3, 164.5px);
  align-content: start;
  gap: 10px 10px;
  height: 100%;
  padding: 0;
  overflow-y: auto;
  border-left: 1px solid #e5e5e9;
}

.site-subnav__content.is-active {
  display: grid;
}

.site-subnav__content--feature {
  grid-template-columns: 514px;
  gap: 10px;
  padding-left: 7.5px;
}

.site-subnav__content--half {
  grid-template-columns: repeat(2, 251.86px);
  gap: 10px;
  padding-left: 7.5px;
}

.site-subnav__content--about {
  display: none;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px;
  padding-left: 7.5px;
}

.site-subnav__content--about.is-active {
  display: flex;
}

.site-subnav__content::-webkit-scrollbar {
  width: 11px;
}

.site-subnav__content::-webkit-scrollbar-track {
  background: transparent;
}

.site-subnav__content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
}

.site-subnav__content a {
  position: relative;
  display: block;
  min-height: 145px;
  overflow: hidden;
  padding: 0;
  color: #000;
  font-size: 15px;
  font-weight: 400;
  text-align: center;
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-subnav__content--feature a {
  width: 514px;
  height: 247px;
  min-height: 247px;
}

.site-subnav__content--half a {
  width: 251.86px;
  height: 164px;
  min-height: 164px;
}

.site-subnav__content--about a {
  width: 164.5px;
  height: 145px;
  min-height: 145px;
}

.site-subnav__content--about .site-subnav__wide {
  width: 339.23px;
}

.site-subnav__content--about .site-subnav__half {
  width: 251.86px;
  height: 164px;
  min-height: 164px;
}

.site-subnav__content a::before {
  position: absolute;
  inset: 0;
  background: rgba(0, 56, 139, 0.06);
  opacity: 0;
  transition: opacity 0.2s ease;
  content: "";
}

.site-subnav__content img {
  position: relative;
  display: block;
  width: 100%;
  height: 145px;
  object-fit: cover;
}

.site-subnav__content--feature img {
  height: 247px;
}

.site-subnav__content--half img {
  height: 164px;
}

.site-subnav__content--about .site-subnav__half img {
  height: 164px;
}

.site-subnav__content span {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 34.5px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.85);
}

.site-subnav__content a:hover {
  color: var(--color-brand-blue);
  background: #f7f8fa;
}

.site-subnav__content a:hover::before {
  opacity: 1;
}

.search-pill {
  width: 42px;
  height: 31px;
  border: 0;
  border-radius: 999px;
  background: #f4f4f4;
  cursor: pointer;
}

.search-pill span {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border: 2px solid #222;
  border-radius: 50%;
}

.search-pill span::after {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  background: #222;
  transform: rotate(45deg);
  content: "";
}

.site-search {
  position: absolute;
  right: max(22px, calc((100vw - var(--container)) / 2));
  top: calc(100% + 10px);
  z-index: 30;
  width: min(420px, calc(100vw - 32px));
  padding: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
}

.site-header.is-search-open .site-search {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-search__form {
  display: grid;
  grid-template-columns: 1fr 86px;
  gap: 8px;
}

.site-search input,
.search-page__form input {
  min-width: 0;
  height: 42px;
  border: 1px solid #d7dbe3;
  padding: 0 14px;
  color: #111;
  font: inherit;
}

.site-search button,
.search-page__form button {
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 700;
  background: #003889;
  cursor: pointer;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  height: 460px;
  margin-top: var(--header-height);
  overflow: hidden;
  background: #e9e1cf;
}

.hero__track,
.hero__slide {
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(220px, 43%) 1fr;
  align-items: center;
  padding: 0 max(7vw, 42px);
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__slide--kids {
  background: #e9e1cf;
}

.hero__slide--love {
  background: #e9e1cf;
}

.hero__slide--home {
  background: #e9e1cf;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__copy {
  position: relative;
  z-index: 2;
  color: #705c47;
  display: none;
}

.hero__brand {
  display: inline-grid;
  place-items: center;
  min-width: 70px;
  min-height: 32px;
  margin-bottom: 10px;
  color: var(--color-brand-blue);
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.1vw, 56px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.7);
}

.hero p {
  display: inline-block;
  margin: 12px 0 0;
  padding: 5px 18px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  background: rgba(141, 112, 82, 0.82);
  border-radius: 999px;
}

.hero__paint {
  display: none;
  width: min(360px, 32vw);
  aspect-ratio: 1.55;
  justify-self: start;
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 30%, #ffe77e 0 6%, transparent 7%),
    linear-gradient(90deg, #084c9f 0 20%, #0a73d1 20% 38%, #fff 38% 48%, #134a27 48% 100%);
  box-shadow: var(--shadow-soft);
}

.hero__wall,
.hero__building,
.hero__rooms {
  display: none;
  justify-self: end;
  width: min(420px, 38vw);
  height: 220px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.hero__wall {
  background: repeating-linear-gradient(90deg, #ceb999 0 38px, #83d9dd 38px 78px, #f3d27d 78px 116px, #dfe7df 116px 154px);
  transform: skewX(-7deg);
}

.hero__building {
  background: linear-gradient(#b9d5e8 0 24%, #d6b58c 24% 43%, #8bc400 43% 66%, #d6b58c 66%);
  border: 10px solid rgba(255, 255, 255, 0.4);
}

.hero__rooms {
  background: linear-gradient(90deg, #f0d7b8, #c8def0 34%, #fff 34% 37%, #d7f1d1 37% 66%, #fff 66% 69%, #ead9f4 69%);
}

.hero__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero__arrow::before {
  display: block;
  width: 22px;
  height: 22px;
  border-top: 4px solid rgba(0, 0, 0, 0.45);
  border-left: 4px solid rgba(0, 0, 0, 0.45);
  content: "";
}

.hero__arrow--prev {
  left: 34px;
}

.hero__arrow--prev::before {
  transform: rotate(-45deg);
}

.hero__arrow--next {
  right: 34px;
}

.hero__arrow--next::before {
  transform: rotate(135deg);
}

.hero__dots {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 7px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 36px;
}

.hero__dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

.hero__dots button.is-active {
  background: var(--color-brand-blue);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.75);
}

.section-title {
  margin: 0;
  color: #111;
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
}

.business {
  padding: 20px 0 56px;
  background: #f3f3f5;
}

.business__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: min(900px, calc(100% - 40px));
  margin: 18px auto 0;
}

.business-card {
  min-height: 154px;
  padding: 0 20px;
  text-align: center;
  border-left: 1px solid #dedee2;
  transition: transform 0.2s ease;
}

.business-card:first-child {
  border-left: 0;
}

.business-card:hover {
  transform: translateY(-4px);
}

.business-card a {
  display: grid;
  min-height: inherit;
  align-content: start;
  color: inherit;
  text-decoration: none;
}

.business-card h3 {
  margin: 13px 0 0;
  color: #bc9683;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.42;
}

.business-card:nth-child(2) h3,
.business-card:nth-child(3) h3 {
  color: #729491;
}

.business-card:nth-child(4) h3,
.business-card:nth-child(5) h3 {
  color: #c49f71;
}

.business-card:nth-child(6) h3 {
  color: #669966;
}

.business-card__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto;
  object-fit: contain;
}

.products,
.news {
  padding: 62px 0;
  background: #fff;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.product-card {
  position: relative;
  min-height: 0;
  color: #101010;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 60px rgba(20, 40, 80, 0.16);
}

.product-card h3 {
  margin: 0;
  color: #111;
  font-size: 17px;
  line-height: 1.35;
  text-align: center;
}

.product-card p {
  margin: 8px 0 0;
  color: #5d6570;
  font-size: 14px;
  line-height: 1.6;
}

.product-card__body {
  min-height: 58px;
  padding: 16px 18px;
}

.news {
  background: #f7f7f8;
}

.search-page {
  padding: 54px 0 70px;
}

.search-page h1 {
  margin: 0 0 20px;
  color: #111;
  font-size: 28px;
}

.search-page__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 10px;
  max-width: 640px;
}

.search-page__summary {
  margin: 18px 0;
  color: #666;
}

.search-page__list {
  display: grid;
  gap: 14px;
}

.search-result {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px;
  background: #fff;
}

.search-result__image img {
  display: block;
  width: 180px;
  height: 120px;
  object-fit: cover;
}

.search-result h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
}

.search-result h2 a {
  color: #111;
}

.search-result p {
  margin: 0 0 12px;
  color: #606975;
  line-height: 1.7;
}

.search-result time {
  color: #9aa1aa;
  font-size: 13px;
}

.home-news-board {
  width: min(812px, 100%);
  margin: 30px auto 0;
}

.home-news-board__top,
.home-news-board__bottom {
  display: grid;
  gap: 10px;
}

.home-news-board__top {
  grid-template-columns: repeat(2, 1fr);
}

.home-news-board__bottom {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 10px;
}

.home-news-card {
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.home-news-card--wide {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 195px;
}

.home-news-card--wide img {
  width: 240px;
  height: 195px;
  object-fit: cover;
}

.home-news-card--wide .home-news-card__body {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px 9px 11px 16px;
}

.home-news-card--wide .home-news-card__body::before {
  position: absolute;
  top: 76px;
  left: -11px;
  width: 12px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  content: "";
}

.home-news-card--small {
  min-height: 220px;
}

.home-news-card--small > a {
  display: block;
  width: 100%;
  height: 135px;
  color: inherit;
  background: none;
}

.home-news-card--small img {
  width: 100%;
  height: 135px;
  object-fit: cover;
}

.home-news-card--small .home-news-card__body {
  position: relative;
  padding: 13px 12px 10px;
}

.home-news-card--small .home-news-card__body::before {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 62px;
  height: 16px;
  background: #fff;
  border-radius: 50% 50% 0 0;
  content: "";
  transform: translateX(-50%);
}

.home-news-card h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #101010;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.home-news-card--small h3 {
  font-size: 12px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
}

.home-news-card h3 a {
  display: inline;
  width: auto;
  height: auto;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  background: none;
}

.home-news-card time {
  display: block;
  color: #aaa;
  font-size: 12px;
}

.home-news-card__body > a {
  display: grid;
  width: 100px;
  height: 34px;
  place-items: center;
  color: #fff;
  font-size: 14px;
  background: #003889;
}

.home-news-more {
  display: grid;
  width: 154px;
  height: 38px;
  margin: 28px auto 0;
  place-items: center;
  color: #fff;
  font-size: 14px;
  background: #003889;
}

.tool-rail {
  position: fixed;
  z-index: 20;
  right: 40px;
  top: 335px;
  display: grid;
  width: 58px;
  background: rgba(0, 84, 166, 0.62);
}

.tool-rail a {
  position: relative;
  display: grid;
  place-items: center;
  height: 58px;
  transition: background 0.2s ease;
}

.tool-rail a:hover {
  background: rgba(0, 84, 166, 0.92);
}

.tool-rail img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.tool-rail span {
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  min-width: 76px;
  padding: 8px 10px;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  background: rgba(0, 56, 137, .94);
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity .2s ease, transform .2s ease;
}

.tool-rail span::after {
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: rgba(0, 56, 137, .94);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.tool-rail a:hover span {
  opacity: 1;
  transform: translate(0, -50%);
}

.tool-rail em {
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  z-index: 2;
  display: block;
  width: 132px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity .2s ease, transform .2s ease;
}

.tool-rail em img {
  display: block;
  width: 116px;
  height: 116px;
}

.tool-rail__wechat:hover span {
  opacity: 0;
}

.tool-rail__wechat:hover em {
  opacity: 1;
  transform: translate(0, -50%);
}

.site-footer {
  color: #57575f;
  background: #d7d7dd;
}

.footer-media {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: #fff;
}

.footer-media p {
  margin: 0;
  color: #57575f;
  font-size: 14px;
  font-weight: 700;
}

.footer-media__list {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-media__list li {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  background: #f4f6f8;
}

.footer-media__list a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.footer-media__list img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-media__xhs {
  width: 40px;
  height: 16px;
}

.footer-media__wechat {
  cursor: default;
}

.footer-media__qr {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 5;
  width: 148px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease;
}

.footer-media__qr::after {
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.footer-media__qr img {
  display: block;
  width: 128px;
  height: 128px;
}

.footer-media__wechat:hover .footer-media__qr,
.footer-media__wechat:focus-within .footer-media__qr {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer-media__douyin {
  position: relative;
}

.footer-media__douyin::before {
  position: absolute;
  inset: 13px 20px 13px 22px;
  border-right: 5px solid #33333a;
  border-bottom: 5px solid #33333a;
  border-radius: 0 0 10px 10px;
  content: "";
}

.footer-media__douyin::after {
  position: absolute;
  right: 17px;
  top: 15px;
  width: 12px;
  height: 6px;
  border-top: 4px solid #33333a;
  border-right: 4px solid #33333a;
  content: "";
}

.footer-wrap {
  background: #d7d7dd;
}

.footer-main {
  display: flex;
  min-height: 248px;
  align-items: flex-start;
  gap: 108px;
  padding: 30px 0 24px;
}

.footer-main__brand img {
  width: 102px;
  margin-bottom: 16px;
}

.footer-main__brand p {
  margin: 0 0 6px;
  color: #777780;
  font-size: 11px;
}

.footer-main__brand strong {
  display: block;
  margin-bottom: 16px;
  color: #1f1f24;
  font-size: 26px;
  font-weight: 700;
}

.footer-main__brand small {
  display: block;
  color: #777780;
  font-size: 11px;
  line-height: 1.65;
}

.footer-main__record {
  margin-top: 14px;
}

.footer-links {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(4, minmax(96px, 1fr));
  gap: 46px;
  padding-top: 18px;
}

.footer-links h3 {
  margin: 0 0 18px;
  color: #15151a;
  font-size: 13px;
  font-weight: 700;
}

.footer-links a {
  display: block;
  margin: 12px 0;
  color: #6d6d75;
  font-size: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 58px;
  padding: 0 20px;
  color: #777780;
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: 88px 44px;
    justify-content: space-between;
  }

  .site-nav,
  .site-subnav,
  .search-pill {
    display: none;
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 11px 8px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span {
    height: 2px;
    background: #111;
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid #eee;
  }

  .mobile-nav a,
  .mobile-nav__toggle {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    border: 0;
    color: #222;
    text-align: left;
    background: #fff;
  }

  .mobile-nav__link,
  .mobile-nav__toggle {
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
  }

  .mobile-nav__toggle {
    justify-content: space-between;
    cursor: pointer;
  }

  .mobile-nav__toggle::after {
    width: 9px;
    height: 9px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    content: "";
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .mobile-nav__group.is-open .mobile-nav__toggle::after {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .mobile-nav__sub {
    display: none;
    grid-template-columns: 1fr;
    background: #f6f7f9;
  }

  .mobile-nav__group.is-open .mobile-nav__sub {
    display: grid;
  }

  .mobile-nav__sub a {
    min-height: 44px;
    padding: 12px 24px 12px 38px;
    border-bottom: 1px solid #e6e8ec;
    color: #4b5563;
    font-size: 14px;
    background: #f6f7f9;
  }

  .hero {
    height: 420px;
  }

  .hero__slide {
    grid-template-columns: 1fr;
    padding: 28px 50px;
  }

  .hero__wall,
  .hero__building,
  .hero__rooms,
  .hero__paint {
    display: none;
  }

  .business__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-row,
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-media {
    min-height: 92px;
  }

  .home-news-board__top,
  .home-news-board__bottom {
    grid-template-columns: 1fr;
  }

  .home-news-card--wide {
    grid-template-columns: 240px 1fr;
  }

  .tool-rail {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 60px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header__inner {
    width: calc(100% - 28px);
  }

  .site-search {
    right: 14px;
    top: calc(100% + 8px);
  }

  .site-search__form {
    grid-template-columns: 1fr 72px;
  }

  .hero {
    height: 320px;
  }

  .hero__slide {
    padding: 0;
    background-position: center;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero__arrow {
    width: 34px;
    height: 44px;
  }

  .hero__arrow::before {
    width: 16px;
    height: 16px;
    border-width: 3px;
  }

  .hero__arrow--prev {
    left: 8px;
  }

  .hero__arrow--next {
    right: 8px;
  }

  .hero__dots {
    bottom: 10px;
    gap: 20px;
  }

  .hero__dots button {
    width: 8px;
    height: 8px;
  }

  .hero__dots button.is-active {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.75);
  }

  .section-title {
    font-size: 22px;
  }

  .business {
    padding: 26px 0 34px;
  }

  .business__grid {
    gap: 10px;
    width: calc(100% - 28px);
  }

  .business__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-row,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .business-card {
    display: grid;
    min-height: 112px;
    align-content: center;
    padding: 14px 8px;
    border-left: 0;
    border-top: 0;
    background: #fff;
  }

  .business-card__icon {
    width: 52px;
    height: 52px;
  }

  .business-card h3 {
    margin-top: 8px;
    font-size: 15px;
  }

  .products,
  .news {
    padding: 38px 0;
  }

  .product-row {
    gap: 14px;
    margin-top: 20px;
  }

  .product-card {
    min-height: 0;
  }

  .product-card h3 {
    font-size: 16px;
  }

  .product-card p {
    font-size: 14px;
    line-height: 1.55;
  }

  .product-card__body {
    min-height: 54px;
    padding: 14px 14px 16px;
  }

  .home-news-board {
    margin-top: 20px;
  }

  .home-news-card--wide {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-news-card--wide img {
    width: 100%;
    height: 160px;
  }

  .home-news-card--wide .home-news-card__body,
  .home-news-card--small .home-news-card__body {
    padding: 13px 14px 14px;
  }

  .home-news-card--wide .home-news-card__body::before {
    top: -15px;
    left: 50%;
    width: 62px;
    height: 16px;
    border-radius: 50% 50% 0 0;
    transform: translateX(-50%);
  }

  .home-news-card--small {
    display: grid;
    grid-template-columns: 118px 1fr;
    min-height: 0;
  }

  .home-news-card--small > a {
    width: 118px;
    height: 118px;
  }

  .home-news-card--small img {
    width: 118px;
    height: 118px;
  }

  .home-news-card--small .home-news-card__body::before {
    display: none;
  }

  .home-news-card h3 {
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 3;
  }

  .home-news-card--small h3 {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }

  .home-news-more {
    margin-top: 20px;
  }

  .search-result {
    grid-template-columns: 1fr;
  }

  .search-result__image img {
    width: 100%;
    height: 170px;
  }

  .site-footer {
    text-align: center;
  }

  .footer-wrap {
    padding: 22px 0 0;
  }

  .footer-main {
    min-height: 0;
    gap: 18px;
    padding: 0 0 18px;
  }

  .footer-main__brand img {
    width: 46px;
    margin: 0 auto 10px;
  }

  .footer-main__brand strong {
    margin-bottom: 10px;
    font-size: 22px;
  }

  .footer-main__record {
    margin-top: 8px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    padding-top: 0;
    text-align: left;
  }

  .footer-links > div {
    padding: 14px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .footer-links h3 {
    margin-bottom: 10px;
  }

  .footer-links a {
    margin: 8px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
  }

  .footer-media {
    display: flex;
    min-height: 96px;
    flex-direction: column;
    gap: 12px;
  }

  .footer-media__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .footer-media__list li {
    width: 42px;
    height: 42px;
  }

  .footer-media__list img {
    width: 24px;
    height: 24px;
  }
}

.page-main {
  padding-top: var(--header-height);
  background: #f6f6f7;
}

.page-hero,
.contact-hero,
.about-hero {
  background: #fff;
}

.page-hero img,
.contact-hero img,
.about-hero img {
  width: 100%;
  height: min(300px, 28vw);
  object-fit: cover;
}

.product-page {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  width: min(1200px, calc(100% - 40px));
  padding: 30px 0 64px;
}

.category-panel {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
  width: 200px;
  padding: 0 0 18px;
  background: transparent;
  box-shadow: none;
}

.category-panel h1 {
  margin: 0 0 18px;
  color: #222;
  font-size: 28px;
  font-weight: 500;
}

.category-panel label,
.filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  cursor: pointer;
}

.category-panel label {
  min-height: 28px;
  margin: 7px 0;
  font-size: 14px;
}

.category-panel input,
.filter-group input {
  accent-color: var(--color-brand-blue);
}

.product-listing {
  width: 100%;
  padding-left: 0;
}

.filter-panel {
  margin-bottom: 30px;
  background: #fff;
}

.filter-panel__header {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 0 38px;
  color: #222;
  font-size: 15px;
  font-weight: 500;
}

.filter-panel__header::before {
  width: 18px;
  height: 18px;
  background:
    linear-gradient(#111 0 0) 1px 4px / 15px 2px no-repeat,
    linear-gradient(#111 0 0) 1px 9px / 15px 2px no-repeat,
    linear-gradient(#111 0 0) 1px 14px / 15px 2px no-repeat;
  content: "";
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
  padding: 14px 38px 2px;
}

.filter-group h2 {
  flex: 0 0 96px;
  margin: 0;
  color: #222;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}

.filter-options {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  max-height: none;
  overflow: hidden;
}

.filter-group.is-collapsed .filter-options {
  max-height: 30px;
}

.filter-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 112px;
  margin: 0 2px 14px 0;
  font-size: 14px;
  white-space: nowrap;
}

.filter-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0 4px 0 0;
  appearance: none;
  border: 1px solid #c8cbd0;
  border-radius: 2px;
  background: #f0f1f2;
}

.filter-group input[type="checkbox"]:checked {
  background:
    linear-gradient(45deg, transparent 45%, #fff 45% 55%, transparent 55%) 3px 6px / 5px 5px no-repeat,
    linear-gradient(-45deg, transparent 45%, #fff 45% 55%, transparent 55%) 7px 4px / 7px 9px no-repeat,
    var(--color-brand-blue);
  border-color: var(--color-brand-blue);
}

.filter-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 54px;
  margin-top: 1px;
  padding: 0;
  border: 0;
  color: var(--color-brand-blue);
  font-size: 14px;
  background: transparent;
  cursor: pointer;
}

.filter-toggle::after {
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg) translateY(2px);
  content: "";
}

.filter-group.is-collapsed .filter-toggle::after {
  transform: rotate(225deg) translateY(2px);
}

.catalog-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 24px;
}

.catalog-heading h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
}

.catalog-heading p {
  margin: 0;
  color: #555;
  font-size: 15px;
}

.catalog-heading strong {
  color: var(--color-brand-blue);
  font-size: 30px;
  font-weight: 500;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 224.4px);
  gap: 13.8px;
  padding-left: 30px;
}

.catalog-card {
  position: relative;
  min-height: 287px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
}

.catalog-card > a {
  display: block;
  min-height: 287px;
  color: inherit;
  cursor: pointer;
}

.article-grid article:hover {
  box-shadow: var(--shadow-soft);
}

.catalog-card img {
  width: 171.9px;
  height: 171.9px;
  margin: 0 auto;
  padding-top: 23px;
  object-fit: contain;
}

.catalog-card h2 {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin: 9.4px 31.6px 0;
  color: #000;
  font-size: 13.8px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.catalog-card p {
  height: 43px;
  min-height: 43px;
  overflow: hidden;
  margin: 7.675px 43.1px 0;
  color: #575757;
  font-size: 0;
  line-height: 19.956px;
  text-align: left;
}

.catalog-card p br {
  display: none;
}

.catalog-card p::before,
.catalog-card p::after {
  display: flex;
  min-height: 21.484px;
  align-items: center;
  padding-left: 14px;
  color: #575757;
  font-size: 13.8px;
  line-height: 19.956px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='64 64 896 896' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2349a942' d='M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z'/%3E%3C/svg%3E");
  background-position: left 2px;
  background-repeat: no-repeat;
  background-size: 10.734px 19.956px;
}

.catalog-card p::before {
  content: attr(data-line-one);
}

.catalog-card p::after {
  content: attr(data-line-two);
}

.contact-tabs span {
  border: 0;
  border-radius: 999px;
  background: var(--color-brand-blue);
  color: #fff;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 34px 0 0;
  color: #444;
  font-size: 14px;
}

.pagination a,
.pagination span {
  display: grid;
  min-width: 32px;
  height: 30px;
  place-items: center;
  padding: 0 8px;
  background: #fff;
}

.pagination a.is-active {
  color: #fff;
  background: var(--color-brand-blue);
}

.news-lead {
  min-height: 320px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 48, 100, 0.68), rgba(0, 84, 166, 0.12)),
    url("../images/ac594c317062345fbfdd38e036642c8e.jpeg") center / cover no-repeat;
}

.news-lead__inner {
  display: flex;
  align-items: end;
  min-height: 320px;
  padding-bottom: 48px;
}

.news-lead p {
  max-width: 560px;
  margin: 0 0 12px;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
}

.listing-section {
  padding: 54px 0 70px;
}

.listing-section h1,
.contact-panel h1,
.about-content h1 {
  margin: 0 0 30px;
  font-size: 30px;
  text-align: center;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-grid article {
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-grid article > a {
  display: block;
  height: 100%;
  color: inherit;
}

.article-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.article-grid time {
  display: block;
  padding: 18px 20px 6px;
  color: var(--color-muted);
}

.article-grid h2 {
  margin: 0;
  padding: 0 20px 24px;
  font-size: 18px;
  line-height: 1.5;
}

.contact-panel,
.about-content {
  padding: 52px 0 70px;
}

.contact-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.contact-tabs span {
  padding: 9px 18px;
}

.contact-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 34px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 34px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-card img {
  width: 120px;
}

.contact-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.contact-card p {
  margin: 8px 0;
  color: #333;
  font-size: 18px;
}

.about-content {
  max-width: 900px;
  font-size: 17px;
  line-height: 1.9;
}

.about-content h2 {
  margin-top: 38px;
  font-size: 24px;
  text-align: center;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.cert-grid span {
  display: grid;
  min-height: 74px;
  place-items: center;
  color: var(--color-brand-blue);
  font-weight: 800;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
}

.compact-footer .footer-bottom {
  min-height: 76px;
}

.detail-container {
  width: min(1024px, calc(100% - 32px));
  margin: 0 auto;
}

.detail-crumb {
  background: #fff;
}

.detail-crumb .detail-container {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 8px;
  color: #5f6875;
  font-size: 14px;
}

.detail-crumb a {
  color: inherit;
}

.detail-crumb strong {
  color: #202a36;
  font-weight: 400;
}

.product-detail-hero {
  min-height: 596px;
  background: #f1f1f3;
}

.product-detail-hero__inner {
  display: grid;
  grid-template-columns: 460px 438px;
  gap: 30px;
  padding-top: 30px;
}

.product-detail-hero__image {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 0;
}

.product-detail-hero__image img {
  width: 364px;
  height: 364px;
  object-fit: contain;
}

.product-detail-info {
  color: #242c36;
}

.product-detail-info h1 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
}

.product-detail-info__tagline {
  margin: 0 0 18px;
  color: #333;
  font-size: 16px;
  line-height: 1.8;
}

.product-detail-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 10px;
  max-width: 330px;
  margin-bottom: 16px;
}

.product-detail-icons img {
  width: 41px;
  height: 32px;
  object-fit: contain;
}

.product-detail-info__desc {
  max-width: 438px;
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.72;
  text-align: justify;
}

.product-detail-meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: #5f6875;
  font-size: 14px;
}

.product-detail-meta strong {
  color: #222;
  font-size: 16px;
  font-weight: 500;
}

.product-detail-price {
  color: #1b62b7 !important;
}

.product-detail-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
}

.product-detail-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 40px;
  border: 1px solid #2f6fbd;
  color: #2f6fbd;
  font-size: 14px;
}

.product-detail-actions .product-detail-buy {
  width: 118px;
  color: #fff;
  background: #2f6fbd;
}

.detail-action-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  background: center / contain no-repeat;
}

.detail-action-icon--color {
  background-image: url("../images/icon-tool-color-w.0782a3f.svg");
  filter: invert(42%) sepia(46%) saturate(1486%) hue-rotate(184deg) brightness(86%) contrast(87%);
}

.detail-action-icon--calc {
  background-image: url("../images/icon-tool-calculate.548cc1a.svg");
  filter: invert(42%) sepia(46%) saturate(1486%) hue-rotate(184deg) brightness(86%) contrast(87%);
}

.product-detail-tabs {
  display: flex;
  justify-content: center;
  height: 110px;
  background: #fff;
}

.product-detail-tabs button {
  position: relative;
  width: 174px;
  height: 110px;
  border: 0;
  color: #236cbd;
  background: #fff;
  font-size: 18px;
  cursor: default;
}

.product-detail-tabs button::before,
.product-detail-tabs button::after {
  position: absolute;
  left: 50%;
  content: "";
  transform: translateX(-50%);
}

.product-detail-tabs button::before {
  bottom: 23px;
  width: 28px;
  height: 2px;
  background: #236cbd;
}

.product-detail-tabs button::after {
  bottom: -11px;
  width: 20px;
  height: 20px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.product-detail-content {
  width: min(922px, calc(100% - 32px));
  margin: 25px auto 70px;
  color: #5f6875;
  font-size: 14px;
}

.product-detail-row {
  display: grid;
  grid-template-columns: 123px 1fr;
  gap: 0;
  padding: 28px 0 30px;
  border-bottom: 1px solid #e4e7eb;
}

.product-detail-row h2 {
  margin: 0;
  color: #2d3642;
  font-size: 16px;
  font-weight: 500;
}

.product-detail-row p {
  margin: 0 0 12px;
  line-height: 2;
}

.product-detail-row p:last-child {
  margin-bottom: 0;
}

.product-detail-row strong {
  color: #2d3642;
  font-weight: 500;
}

.product-detail-row--docs a {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: #5f6875;
}

.product-detail-row--docs span {
  color: #236cbd;
}

.news-detail-page {
  background: #f6f6f7;
}

.news-detail {
  width: min(920px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 44px 58px 50px;
  background: #fff;
}

.news-detail__header {
  text-align: center;
}

.news-detail__label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 18px;
  padding: 0 16px;
  border-radius: 999px;
  color: #236cbd;
  font-size: 14px;
  background: #eef5ff;
}

.news-detail__header h1 {
  margin: 0 auto 18px;
  color: #1f2a37;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.45;
}

.news-detail__meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: #7b8490;
  font-size: 14px;
}

.news-detail__cover {
  margin: 34px 0 36px;
}

.news-detail__cover img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.news-detail__body {
  color: #3f4854;
  font-size: 16px;
  line-height: 2;
}

.news-detail__body p {
  margin: 0 0 22px;
}

.news-detail__body blockquote {
  margin: 30px 0;
  padding: 20px 26px;
  border-left: 4px solid #236cbd;
  color: #1f2a37;
  font-size: 18px;
  line-height: 1.8;
  background: #f3f7fc;
}

.news-detail__pager {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid #e4e7eb;
}

.news-detail__pager a {
  display: grid;
  gap: 8px;
  min-height: 82px;
  align-content: center;
  padding: 18px 20px;
  color: #273342;
  font-size: 15px;
  line-height: 1.5;
  background: #f6f6f7;
}

.news-detail__pager span {
  color: #236cbd;
  font-size: 13px;
}

.related-news {
  padding: 48px 0 72px;
}

.related-news > h2 {
  margin: 0 0 24px;
  color: #1f2a37;
  font-size: 26px;
  font-weight: 500;
  text-align: center;
}

.auto-hero {
  height: 300px;
  margin-top: var(--header-height);
  overflow: hidden;
  background: #e7e9ee;
}

.auto-hero img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.auto-section {
  background: #f1f1f3;
}

.auto-container {
  width: min(830px, calc(100% - 40px));
  margin: 0 auto;
}

.auto-about {
  padding: 30.7px 0 46px;
}

.auto-about__inner {
  display: block;
}

.auto-about__body {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 46px;
  align-items: start;
  margin-top: 30.7px;
}

.auto-about__body > img {
  width: 380px;
  height: 269px;
  object-fit: cover;
}

.auto-about__title,
.auto-products h2 {
  margin: 0 0 18px;
  color: #111;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}

.auto-about__title {
  margin-bottom: 0;
}

.auto-about__text {
  height: 269px;
  overflow: hidden;
}

.auto-about__text ul {
  height: 188px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #333;
  font-size: 12.3px;
  line-height: normal;
}

.auto-about__text li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 16px;
}

.auto-about__text li::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "•";
}

.auto-about__text a,
.auto-more {
  display: grid;
  width: 138px;
  height: 38px;
  margin-top: 30.7px;
  place-items: center;
  color: #fff;
  font-size: 12.3px;
  background: #003889;
}

.auto-products {
  padding: 34px 0 75px;
}

.auto-products h2 {
  margin-bottom: 36px;
  text-align: center;
}

.auto-products__grid {
  display: grid;
  grid-template-columns: repeat(5, 153.5px);
  justify-content: space-between;
  gap: 15px;
}

.auto-products__grid a {
  display: grid;
  justify-items: center;
  color: #333;
  font-size: 16px;
  text-align: center;
}

.auto-products__grid img {
  width: 153.5px;
  height: 153.5px;
  margin-bottom: 18px;
  object-fit: cover;
  border-radius: 50%;
}

.auto-more {
  margin: 36px auto 0;
}

.auto-gallery {
  padding: 0 0 78px;
}

.auto-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 23px;
}

.auto-gallery__grid a {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
}

.auto-gallery__grid img {
  width: 100%;
  height: 269px;
  object-fit: cover;
}

.auto-gallery__grid span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: 52px;
  place-items: center;
  color: #fff;
  font-size: 18px;
  background: rgba(0, 56, 137, 0.88);
}

@media (max-width: 900px) {
  .product-page,
  .contact-card,
  .product-detail-hero__inner,
  .product-detail-row,
  .auto-about__inner,
  .auto-gallery__grid {
    grid-template-columns: 1fr;
  }

  .category-panel {
    position: static;
  }

  .catalog-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail-hero__inner {
    gap: 26px;
    padding-bottom: 36px;
  }

  .product-detail-info__desc {
    max-width: none;
  }

  .product-detail-row {
    gap: 14px;
  }

  .news-detail {
    padding: 34px 32px 40px;
  }

  .news-detail__header h1 {
    font-size: 28px;
  }

  .auto-about__inner > img {
    width: 100%;
  }

  .auto-products__grid {
    grid-template-columns: repeat(3, 153.5px);
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .page-hero img,
  .contact-hero img,
  .about-hero img {
    height: 190px;
  }

  .catalog-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .news-lead,
  .news-lead__inner {
    min-height: 250px;
  }

  .news-lead p {
    font-size: 28px;
  }

  .news-detail {
    margin-top: 22px;
    padding: 28px 20px 34px;
  }

  .news-detail__header {
    text-align: left;
  }

  .news-detail__header h1 {
    font-size: 23px;
  }

  .news-detail__meta {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .news-detail__cover {
    margin: 24px 0 26px;
  }

  .news-detail__body {
    font-size: 15px;
  }

  .news-detail__pager {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 24px;
    text-align: center;
  }

  .contact-card img {
    margin: 0 auto;
  }

  .auto-products__grid {
    grid-template-columns: repeat(2, 153.5px);
  }
}
