:root {
  --blue: #008bd2;
  --blue-dark: #006aa9;
  --red: #e52427;
  --ink: #101820;
  --muted: #64717d;
  --line: #dfe6ec;
  --soft: #f5f8fb;
  --footer: #17212a;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(16, 24, 32, .08);
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0 20px;
}

.logo {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #164995;
  font-weight: 800;
  text-transform: uppercase;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 40px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), #ff5a3f 45%, #174ea6 46%, #164995);
  border-radius: 22px 8px 22px 8px;
  letter-spacing: -.05em;
}

.logo-text {
  font-size: 28px;
  font-style: italic;
  letter-spacing: -.04em;
}

.header-contacts,
.header-meta {
  display: grid;
  gap: 4px;
  font-size: 14px;
}

.header-contacts a {
  font-weight: 700;
}

.header-meta {
  color: var(--muted);
}

.menu-toggle {
  display: none;
  border: 0;
  color: #fff;
  background: var(--blue);
  padding: 10px 14px;
  border-radius: 3px;
  font-weight: 700;
}

.main-nav {
  background: linear-gradient(180deg, #06a0e3, var(--blue-dark));
}

.nav-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.nav-inner a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-inner a:hover {
  background: rgba(0, 0, 0, .12);
  text-decoration: none;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 26px;
  padding-top: 26px;
}

.hero {
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(260px, .8fr);
  align-items: center;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(234, 243, 249, .96), rgba(255, 255, 255, .78)), linear-gradient(135deg, #d8e2ea, #ffffff);
  border: 1px solid var(--line);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, #375d54, #8a793c);
}

.hero-copy {
  padding: 58px;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  color: #fff;
  background: #5f6f68;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 540px;
  margin: 24px 0 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
}

.hero p {
  max-width: 510px;
  color: #3d4a54;
  font-size: 18px;
}

.hero-card {
  align-self: stretch;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  min-height: 320px;
  padding: 30px;
}

.hero-card img {
  width: min(208px, 56vw);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  margin-top: 26px;
  box-shadow: 0 20px 45px rgba(21, 42, 55, .24);
}

.hero-card span {
  color: var(--blue-dark);
  font-size: 32px;
  font-weight: 800;
}

.hero-card strong {
  color: #43515c;
}

.conditioner-shape,
.product-visual::before {
  display: block;
  width: min(360px, 80vw);
  height: 92px;
  border-radius: 16px 16px 40px 40px;
  background: linear-gradient(180deg, #fff, #e8edf2 70%, #c6d0d9);
  box-shadow: 0 18px 40px rgba(21, 42, 55, .25);
}

.duct-shape {
  width: min(360px, 78vw);
  height: 150px;
  border-radius: 26px;
  background:
    linear-gradient(90deg, transparent 20%, rgba(0, 139, 210, .2) 20% 24%, transparent 24% 47%, rgba(0, 139, 210, .2) 47% 51%, transparent 51% 74%, rgba(0, 139, 210, .2) 74% 78%, transparent 78%),
    linear-gradient(135deg, #ffffff, #d8e5ee);
  box-shadow: 0 18px 40px rgba(21, 42, 55, .22);
  position: relative;
}

.duct-shape::before,
.duct-shape::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: #7aaac5;
}

.duct-shape::before {
  width: 76%;
  height: 12px;
  left: 12%;
  top: 42px;
}

.duct-shape::after {
  width: 54%;
  height: 12px;
  right: 14%;
  bottom: 40px;
}

.conditioner-shape::after,
.product-visual::after {
  content: "";
  display: block;
  width: 70%;
  height: 8px;
  margin: 18px auto 0;
  border-radius: 99px;
  background: rgba(0, 139, 210, .28);
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 22px;
}

.search-form {
  display: flex;
}

.search-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  padding: 10px;
}

.search-form button,
.btn {
  border: 0;
  color: #fff;
  background: var(--blue);
  padding: 11px 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  border-radius: 2px;
}

.btn:hover {
  background: var(--blue-dark);
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
}

.btn-secondary {
  background: var(--blue);
}

.side-box {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.side-box h2 {
  margin: 0 0 8px;
  font-size: 17px;
  text-transform: uppercase;
}

.side-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.consultant-box img {
  width: 51px;
  height: 51px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.section {
  padding: 44px 0 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.section h2,
.section-head h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 300px));
  gap: 44px;
}

.product-card {
  display: grid;
  gap: 10px;
  text-align: center;
}

.product-visual {
  min-height: 150px;
  display: grid;
  place-items: center;
}

.product-visual::before {
  content: "";
  width: 220px;
  height: 58px;
}

.product-visual-dark::before {
  background: linear-gradient(180deg, #56616b, #252b31 72%, #15191d);
}

.product-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-card strong {
  font-size: 17px;
}

.category-banner {
  min-height: 260px;
  display: grid;
  align-items: end;
  margin-top: 28px;
  padding: 0 34px 34px;
  color: #fff;
  background: linear-gradient(180deg, rgba(8, 20, 32, .1), rgba(8, 20, 32, .78)), linear-gradient(120deg, #567184, #dce6ee 50%, #6d899b);
}

.category-banner div {
  max-width: 680px;
  padding: 32px;
  background: rgba(0, 0, 0, .42);
}

.category-banner h2 {
  margin: 0 0 14px;
  font-size: 31px;
  font-weight: 400;
}

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

.info-card {
  border: 1px solid var(--line);
  padding: 20px;
  background: #fff;
}

.info-visual {
  min-height: 210px;
  margin: -20px -20px 18px;
  background: radial-gradient(circle at 30% 45%, rgba(0, 139, 210, .2), transparent 32%), linear-gradient(135deg, #eaf4ff, #fff 65%);
}

.info-visual-blue {
  background: radial-gradient(circle at 70% 40%, rgba(229, 36, 39, .16), transparent 30%), linear-gradient(135deg, #dfefff, #f8fbff);
}

.info-visual-gray {
  background: radial-gradient(circle at 40% 35%, rgba(0, 139, 210, .16), transparent 32%), linear-gradient(135deg, #eef1f4, #fff);
}

.info-image {
  display: block;
  width: calc(100% + 40px);
  height: 210px;
  margin: -20px -20px 18px;
  object-fit: cover;
}

.info-image-link {
  display: block;
  overflow: hidden;
  margin: -20px -20px 18px;
}

.info-image-link .info-image {
  width: 100%;
  margin: 0;
  transition: transform .2s ease;
}

.info-card:hover .info-image-link .info-image {
  transform: scale(1.04);
}

.info-card h3 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 20px;
  text-transform: uppercase;
}

.info-card h3 a {
  color: inherit;
}

.info-card h3 a:hover {
  color: var(--blue);
}

.info-card p {
  color: #35434f;
}

.service-grid .info-card {
  min-height: 100%;
}

.advantages {
  padding-top: 26px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.advantage-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--soft));
}

.advantage-grid img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 12px;
}

.advantage-grid strong {
  display: block;
  color: var(--blue-dark);
  font-size: 20px;
  margin-bottom: 8px;
}

.advantage-grid p {
  margin: 0;
  color: #35434f;
}

.object-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.object-tags span {
  padding: 9px 14px;
  color: #fff;
  background: var(--blue-dark);
  border-radius: 2px;
  font-weight: 700;
}

.article-preview,
.request-box {
  padding: 28px;
  background: var(--soft);
  border-left: 5px solid var(--blue);
}

.article-preview {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
}

.article-preview img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  grid-row: 1 / 3;
}

.article-preview h3,
.article-preview p {
  grid-column: 2;
}

.category-banner-photo {
  background:
    linear-gradient(180deg, rgba(8, 20, 32, .12), rgba(8, 20, 32, .82)),
    url('../img/object-apartment.webp') center / cover;
}

.article-preview h3,
.request-box h2 {
  margin-top: 0;
}

.faq-section details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.faq-section details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 700;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-links a {
  display: inline-flex;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--soft);
  font-weight: 700;
}

.service-links a:hover {
  border-color: var(--blue);
  background: #fff;
  text-decoration: none;
}

.inner-page {
  padding-top: 26px;
  padding-bottom: 34px;
}

.breadcrumbs {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.inner-page h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 400;
}

.lead {
  max-width: 850px;
  color: #35434f;
  font-size: 18px;
}

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

.catalog-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.catalog-card .product-visual {
  min-height: 130px;
}

.catalog-image {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: var(--soft);
}

.catalog-card span {
  color: var(--muted);
  font-size: 13px;
}

.catalog-card h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 19px;
  line-height: 1.25;
}

.catalog-card strong {
  font-size: 22px;
}

.catalog-card .btn {
  justify-self: start;
}

.catalog-empty {
  max-width: 760px;
  margin-top: 30px;
  padding: 34px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, var(--soft));
  box-shadow: 0 18px 40px rgba(16, 24, 32, .08);
}

.catalog-empty h2 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 28px;
}

.catalog-empty p {
  margin: 0 0 22px;
  color: #35434f;
}

.catalog-page {
  padding-bottom: 58px;
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 26px;
  align-items: stretch;
  margin-bottom: 26px;
  padding: 34px;
  background: linear-gradient(135deg, #eef8ff, #fff 58%, #eef4f8);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(16, 24, 32, .08);
}

.catalog-hero h1 {
  margin-bottom: 16px;
}

.catalog-hero aside {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(160deg, var(--blue-dark), var(--blue));
}

.catalog-hero aside strong {
  font-size: 54px;
  line-height: 1;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.catalog-filter-panel {
  position: sticky;
  top: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(16, 24, 32, .08);
}

.catalog-filter-panel h2 {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 24px;
}

.catalog-filter-panel nav {
  display: grid;
  gap: 8px;
}

.catalog-filter-panel nav a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid transparent;
}

.catalog-filter-panel nav a:hover {
  color: var(--blue-dark);
  border-color: var(--blue);
}

.catalog-filter-panel nav strong {
  min-width: 28px;
  padding: 3px 8px;
  color: #fff;
  text-align: center;
  background: var(--blue);
  border-radius: 999px;
}

.filter-note {
  margin-top: 18px;
  padding: 16px;
  color: #fff;
  background: linear-gradient(160deg, var(--blue-dark), var(--blue));
}

.filter-note p {
  margin: 8px 0 12px;
  font-size: 14px;
}

.filter-note a {
  color: #fff;
  font-weight: 700;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding: 12px;
  color: #35434f;
  background: #fff;
  border: 1px solid var(--line);
}

.catalog-toolbar span {
  padding: 7px 10px;
  background: var(--soft);
  font-size: 13px;
}

.catalog-section {
  scroll-margin-top: 88px;
  margin-top: 42px;
}

.catalog-results .catalog-section:first-of-type {
  margin-top: 0;
}

.catalog-list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-list-card {
  gap: 0;
  padding: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(16, 24, 32, .1);
}

.product-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #f7fbfe;
  border-bottom: 1px solid var(--line);
}

.product-brand {
  color: var(--red) !important;
  font-weight: 800;
  letter-spacing: .08em;
}

.product-code {
  color: var(--muted);
  font-size: 13px;
}

.product-list-card .catalog-image-link {
  display: grid;
  place-items: center;
  min-height: 190px;
  background: linear-gradient(135deg, #fff, var(--soft));
}

.product-card-body {
  display: grid;
  gap: 8px;
  padding: 16px 16px 12px;
}

.product-card-body h2 a {
  color: inherit;
}

.product-card-body p {
  margin: 0;
  color: #35434f;
  font-size: 14px;
}

.product-type {
  color: var(--muted);
  font-size: 13px;
}

.product-meta-list {
  display: grid;
  grid-template-columns: 90px 1fr;
  margin: 0 16px 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.product-meta-list dt,
.product-meta-list dd {
  margin: 0;
  padding: 4px 0;
  font-size: 13px;
}

.product-meta-list dt {
  color: var(--muted);
}

.product-card-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, #fff, #f6f9fb);
  border-top: 1px solid var(--line);
}

.product-card-foot div {
  display: grid;
  gap: 6px;
}

.stock-badge {
  justify-self: start;
  padding: 4px 9px;
  color: #10713d;
  font-size: 12px;
  font-weight: 700;
  background: #e9f8ef;
  border-radius: 999px;
}

.stock-soon {
  color: #8a5a00;
  background: #fff4d8;
}

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

.contact-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--soft));
}

.contact-card h2 {
  margin: 0 0 8px;
  color: var(--blue-dark);
}

.contact-card p {
  margin: 0;
}

.request-box {
  margin-top: 28px;
}

.article-page {
  max-width: 940px;
}

.article-content {
  display: grid;
  gap: 12px;
}

.article-content h2 {
  margin: 28px 0 0;
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1.2;
}

.article-content img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.article-list {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.article-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

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

.article-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
}

.article-card p {
  margin: 0 0 18px;
  color: #35434f;
  font-size: 17px;
}

.article-cta {
  margin-top: 30px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, #173040, var(--blue-dark));
}

.article-cta h2 {
  color: #fff;
  margin-top: 0;
}

.article-content p {
  margin: 0;
  font-size: 18px;
}

.site-footer {
  margin-top: 48px;
  color: #fff;
  background: radial-gradient(circle at 20% 0, #31485f, transparent 34%), var(--footer);
}

.footer-strip {
  padding: 12px;
  text-align: center;
  font-size: 22px;
  font-style: italic;
  background: linear-gradient(90deg, #005987, #496f9e, #005987);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
  padding: 52px 0;
}

.footer-grid div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-grid h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 400;
}

.footer-grid a {
  color: #fff;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  color: #d8e4ee;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.footer-bottom a {
  color: #d8e4ee;
}

@media (max-width: 900px) {
  .header-top,
  .page-grid,
  .hero,
  .catalog-hero,
  .catalog-layout,
  .service-hero,
  .service-layout,
  .news-grid,
  .advantage-grid,
  .catalog-grid,
  .contact-grid,
  .article-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-top {
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: start;
  }

  .nav-inner {
    display: none;
    padding: 10px 0;
  }

  .nav-inner.is-open {
    display: grid;
  }

  .nav-inner a {
    min-height: 44px;
    padding-inline: 0;
  }

  .hero-copy {
    padding: 34px 24px 10px;
  }

  .hero-card {
    min-height: 230px;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .category-banner {
    padding: 18px;
  }

  .category-banner div {
    padding: 22px;
  }

  .catalog-filter-panel {
    position: static;
  }

  .service-sidebar {
    position: static;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .logo-text {
    font-size: 22px;
  }

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

  .section h2,
  .section-head h2 {
    font-size: 26px;
  }
}
