*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-text: #151515;
  --color-text-secondary: #888;
  --color-text-light: #777;
  --color-bg: #fafafa;
  --color-card: #f9f9f9;
  --color-white: #fff;
  --color-accent: #497dd7;
  --color-accent-hover: #3d6bc0;
  --color-dark: #032257;
  --color-border: #dadada;
  --color-hero: #1a3a5c;
  --color-hero-text: rgba(237, 246, 254, 1);
  --color-label-available: #6CCDF6;
  --color-label-order: #555;
  --color-hero-circle: rgba(56, 139, 202, 1);
  --font: 'Onest', sans-serif;
  --container: 1366px;
  --content-pad: 38px;
  --header-h: 115px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}

.section {
  padding: 60px 0 0;
}

.section__title {
  font-size: 34px;
  font-weight: 500;
  line-height: 50px;
  color: var(--color-text);
  margin-bottom: 40px;
}

.section__title--light {
  color: var(--color-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-white);
  color: var(--color-text);
}

.btn--primary:hover {
  background: #f0f0f0;
}

.btn--primary:active {
  background: #e0e0e0;
}

.btn--blue {
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 600;
  padding: 16px 48px;
  border-radius: 10px;
}

.btn--blue:hover {
  background: var(--color-accent-hover);
}

.btn--blue:active {
  background: #3560a8;
}

.btn--blue:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ===== HEADER ===== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-white);
  height: var(--header-h);
  border-bottom: 1px solid #d0d0d0;
}

.header__container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.header__top {
  display: flex;
  align-items: center;
  height: 64px;
  padding-top: 18px;
  gap: 12px;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo svg {
  width: 150px;
  height: auto;
  display: block;
}

.header__search {
  flex: 1;
  height: 43px;
  max-width: 900px;
  margin-left: 40px;
  padding: 3px 2px 3px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding-left: 16px;
  cursor: pointer;
  transition: border-color 0.3s;
}

.header__search-btn {
  flex-shrink: 0;
  margin-left: auto;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.header__search-btn svg {
  display: block;
}

.header__search:hover {
  border-color: #ccc;
}

.header__search-text {
  font-size: 15px;
  font-weight: 400;
  color: #818181;
  line-height: 1;
  white-space: nowrap;
}

.header__search-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #151515;
  display: none;
}

.header__search--active {
  cursor: text;
}

.header__search--active .header__search-text {
  display: none;
}

.header__search--active .header__search-input {
  display: block;
}

.header__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: var(--color-accent);
  border: none;
  border-radius: 7px;
  color: var(--color-white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.3s;
}

.header__contact-btn:hover {
  background: var(--color-accent-hover);
}

.header__contact-btn:active {
  background: #3560a8;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__bottom {
  display: flex;
  align-items: center;
  height: 38px;
  padding-top: 6px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: 54px;
}

.header__phone {
  margin-left: auto;
}

.header__nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  transition: opacity 0.3s;
  padding: 4px 0;
}

.header__nav-link:hover {
  opacity: 0.6;
}

.header__nav-link--active {
  opacity: 1;
  border-bottom: 2px solid var(--color-accent);
}

.header__nav-link--catalog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 150px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #bebebe;
  border-radius: 7px;
  background: var(--color-white);
  transition: border-color 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

.header__nav-link--catalog:hover {
  border-color: var(--color-accent);
  box-shadow: 0 1px 6px rgba(73, 125, 215, 0.15);
}

.header__nav-catalog-icon {
  flex-shrink: 0;
  display: flex;
}

.header__nav-catalog-arrow {
  flex-shrink: 0;
  display: flex;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header__phone-link {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: var(--color-text);
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.3s;
}

.header__phone-link:hover {
  opacity: 0.6;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  margin-top: calc(var(--header-h) + 40px);
  margin-left: auto;
  margin-right: auto;
  max-width: calc(var(--container) - 2 * var(--content-pad));
  min-height: 535px;
  overflow: hidden;
  background: var(--color-hero);
  border-radius: 26px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1a3a5c 0%, rgba(26, 58, 92, 0.3) 40%, transparent 60%);
  z-index: 1;
}

.hero__circle {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.hero__circle--1 {
  width: 900px;
  height: 900px;
  background: var(--color-hero-circle);
  top: -192px;
  left: -498px;
}

.hero__circle--2 {
  width: 900px;
  height: 900px;
  background: rgba(56, 139, 202, 0.6);
  top: -245px;
  left: -602px;
}

.hero__circle--3 {
  width: 900px;
  height: 900px;
  background: var(--color-hero-circle);
  bottom: -200px;
  right: -300px;
}

.hero__circle--4 {
  width: 900px;
  height: 900px;
  background: rgba(56, 139, 202, 0.6);
  bottom: -250px;
  right: -400px;
}

.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.hero__slide-bg--active {
  opacity: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 535px;
}

.hero__content {
  flex-shrink: 0;
  padding-left: 38px;
  max-width: 600px;
}

.hero__title {
  font-size: 46px;
  font-weight: 500;
  line-height: 50px;
  color: var(--color-white);
  margin-bottom: 34px;
}

.hero__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-hero-text);
  margin-bottom: 48px;
  max-width: 479px;
}

.hero__btn {
  width: 202px;
  height: 50px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
}

.hero__btn:hover {
  background: #f5f5f5;
}

.hero__btn:active {
  background: #e8e8e8;
}

.hero__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 3;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.hero__dot:hover {
  border-color: var(--color-white);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

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

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

.hero__dot--active {
  width: 10px;
  height: 10px;
  background: var(--color-white);
  border: none;
  outline: 1.5px solid var(--color-white);
  outline-offset: 4.5px;
}

/* ===== CATALOG ===== */



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

.catalog__card {
  cursor: pointer;
  transition: box-shadow 0.3s;
  border-radius: 15px;
  overflow: hidden;
}

.catalog__card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.catalog__card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 300 / 246.79;
  overflow: hidden;
}

.catalog__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.catalog__card:hover .catalog__card-img img {
  transform: scale(1.05);
}

.catalog__card-overlay {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 24px;
  width: calc(100% - 20px);
  max-width: 252px;
  height: 35px;
  background: white;
  border: 1px solid #000;
  border-radius: 17px;
}

.catalog__card-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  color: var(--color-text);
}

.catalog__card-arrow {
  flex-shrink: 0;
  display: flex;
}

/* ===== PRODUCTS ===== */

.products__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 204.61px;
  min-height: 306.79px;
  background: var(--color-white);
  border: 1px solid #E9E9E9;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.product:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.product__img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 19px 0 15px;
  min-height: 131px;
}

.product__img img {
  max-width: 149px;
  max-height: 112px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product__label {
  position: absolute;
  top: 7px;
  left: 9px;
  z-index: 2;
  display: block;
  width: fit-content;
  padding: 5px 17px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: white;
  border-radius: 0 10px 10px 10px;
}

.product__label--available {
  background: #6CCDF6;
}

.product__label--order {
  background: #555555;
}

.product__label--unavailable {
  background: #555555;
}

.product__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 10px 0;
  flex: 1;
}

.product__price {
  font-size: 13px;
  font-weight: 400;
  line-height: 13px;
  color: #555;
}

.product__title {
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product__specs {
  font-size: 13px;
  font-weight: 400;
  line-height: 14px;
  color: var(--color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.product__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto auto 10px;
  width: 186px;
  height: 27px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-accent);
  border: none;
  border-radius: 3px;
  transition: background 0.3s;
  text-decoration: none;
}

.product__btn:hover {
  background: var(--color-accent-hover);
}

/* ===== SERVICES ===== */

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

.service__img {
  position: relative;
  width: 100%;
  height: 312px;
  overflow: hidden;
  border-radius: 26px;
}

.service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.service:hover .service__img img {
  transform: scale(1.05);
}

.service__bottom {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: calc(100% - 20px);
  max-width: 381.66px;
  height: 64.49px;
}

.service__overlay {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 338.66px;
  height: 100%;
  padding: 0 28px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(5px);
  border-radius: 10px;
}

.service__name {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

.service__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 36px;
  background: #497DD7;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.service__btn:hover {
  background: #3b66b3;
}

/* ===== ABOUT ===== */


.about__layout {
  display: grid;
  grid-template-columns: 559px 1fr;
  gap: 100px;
  align-items: start;
}

.about__image {
  width: 559px;
  height: 372px;
  overflow: hidden;
  border-radius: 15px;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__content {
  padding-top: 48px;
}

.about__content .section__title {
  margin-bottom: 28px;
}

.about__text {
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
  color: var(--color-text-light);
}

/* ===== TRUST / STATS ===== */

.trust__grid {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.trust__main-card {
  flex: 1;
  background: var(--color-card);
  border-radius: 15px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.trust__main-card .trust__avatars {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.trust__avatar {
  width: 113px;
  height: 113px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust__avatar:first-child {
  margin-right: -32px;
  z-index: 1;
  position: relative;
}

.trust__avatar svg {
  display: block;
}

.trust__main-text {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

.trust__stat-card {
  width: 224px;
  background: var(--color-card);
  border-radius: 15px;
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}

.trust__stat-number {
  font-size: 67px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 8px;
}

.trust__stat-label {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.3;
}

/* ===== PARTNER FORM ===== */


.partner__layout {
  display: flex;
  gap: 35px;
  position: relative;
}

.partner__contacts {
  width: 364px;
  flex-shrink: 0;
}

.partner__contacts-image {
  display: block;
  width: 100%;
  height: auto;
}


.partner__form-wrap {
  width: 891px;
  flex-shrink: 0;
  position: relative;
  min-height: 492px;
  overflow: hidden;
  border-radius: 15px;
}

.partner__form-bg {
  position: absolute;
  inset: 0;
}

.partner__form-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner__form-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 30, 0.7);
}

.partner__form-content {
  position: relative;
  z-index: 2;
  padding: 40px 50px;
  color: var(--color-white);
}

.partner__form-content .section__title {
  margin-bottom: 8px;
}

.partner__form-subtitle {
  font-size: 18px;
  font-weight: 300;
  line-height: 29px;
  margin-bottom: 28px;
}

.partner__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 610px;
}

.partner__form-row {
  display: flex;
  gap: 16px;
}

.partner__form-input {
  width: 100%;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-white);
  outline: none;
  transition: background 0.3s, border-color 0.3s;
}

.partner__form-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.partner__form-input:focus {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--color-white);
}

.partner__form-file {
  width: 100%;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.3s;
  border: 2px solid transparent;
}

.partner__form-file:hover {
  background: rgba(255, 255, 255, 0.5);
}

.partner__form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.partner__form-agree {
  font-size: 14px;
  font-weight: 300;
  line-height: 15px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 262px;
}

.partner__form-divider {
  height: 1px;
  background: #A4BDE9;
  margin-top: 30px;
}

.partner__form-success {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  margin: 0;
}

/* ===== PARTNERS ===== */



.partners__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.partners__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 89px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 34px;
  font-weight: 300;
  color: var(--color-text-secondary);
  transition: box-shadow 0.3s;
}

.partners__logo:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* ===== BUYERS PAGE ===== */

.buyers-page {
  padding-top: 140px;
  padding-bottom: 80px;
}

.buyers-page__layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* ---------- SIDEBAR ---------- */

.buyers-page__sidebar {
  width: 201px;
  flex-shrink: 0;
}

.buyers-page__sidebar-card {
  background: var(--color-white);
  border: 1px solid #E2E2E2;
  border-radius: 14.5px;
  overflow: hidden;
}

.buyers-page__sidebar-line {
  height: 1px;
  background: #E5E5E5;
  margin: 0 16px;
}

.buyers-page__sidebar-header {
  background: #F4F4F4;
  padding: 10px 20px;
  margin-top: 8px;
}

.buyers-page__sidebar-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

.buyers-page__sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.buyers-page__sidebar-link {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.2s;
  line-height: 1.4;
}

.buyers-page__sidebar-link:hover {
  color: var(--color-accent);
  background: #f5f7fa;
}

.buyers-page__sidebar-link--active {
  color: var(--color-accent);
  font-weight: 500;
  border-left: 3px solid var(--color-accent);
  padding-left: 13px;
}

/* ---------- CONTENT ---------- */

.buyers-page__content {
  flex: 1;
  min-width: 0;
}

.buyers-page__content-header {
  padding-top: 8px;
  padding-bottom: 8px;
}

.buyers-page__content-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

.buyers-page__content-sep {
  height: 1px;
  background: #424B5A;
  margin: 8px 0 20px;
}

/* ---------- BANNER ---------- */

.buyers-page__banner {
  position: relative;
  width: 100%;
  max-width: 769px;
  height: 372px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 40px;
  background: #1a3a5c;
}

.buyers-page__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- CONTENT SECTIONS ---------- */

.buyers-page__section {
  margin-bottom: 40px;
}

.buyers-page__section-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 16px;
}

.buyers-page__section-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: 769px;
}

.buyers-page__table-wrap {
  margin-bottom: 0;
}

.buyers-page__table-wrap .buyers-page__section-title {
  margin-bottom: 16px;
}

/* ---------- TABLE ---------- */

.buyers-page__table {
  background: var(--color-white);
  border: 1px solid #E9E9E9;
  border-radius: 10px;
  overflow: hidden;
}

.buyers-page__table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--color-white);
}

.buyers-page__table-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.buyers-page__table-value {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-secondary);
  text-align: right;
}

.buyers-page__table-sep {
  height: 1px;
  background: #E5E5E5;
  margin: 0 24px;
}

/* ===== PARTNERS PAGE ===== */

.partners-page {
  padding-top: 140px;
  padding-bottom: 60px;
}

.partners-page__intro {
  display: grid;
  grid-template-columns: 559px 1fr;
  gap: 100px;
  align-items: start;
}

.partners-page__intro-image {
  width: 559px;
  height: 372px;
  overflow: hidden;
  border-radius: 15px;
}

.partners-page__intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partners-page__intro-content {
  padding-top: 48px;
}

.partners-page__title {
  font-size: 34px;
  font-weight: 500;
  line-height: 50px;
  color: var(--color-text);
  margin-bottom: 28px;
}

.partners-page__text {
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.partners-page__text:last-child {
  margin-bottom: 0;
}

/* ===== SERVICES PAGE ===== */
.services-page {
  padding-top: 140px;
  padding-bottom: 80px;
}
.services-page__layout {
  display: flex;
  gap: 99px;
  margin-top: 47px;
}
.services-page__sidebar {
  flex-shrink: 0;
  width: 201px;
}
.services-page__sidebar-nav {
  background: #fff;
  border: 1px solid #E2E2E2;
  border-radius: 14.5px;
  padding: 16px 0;
}
.services-page__sidebar-link {
  display: block;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: #151515;
  text-decoration: none;
  transition: background 0.2s;
}
.services-page__sidebar-link:hover {
  background: #F4F4F4;
}
.services-page__sidebar-link--active {
  background: #F4F4F4;
}
.services-page__sidebar-label {
  display: block;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #151515;
}
.services-page__sidebar-divider {
  height: 1px;
  background: #E2E2E2;
  margin: 8px 20px;
}
.services-page__content {
  flex: 1;
  min-width: 0;
}
.services-page__title {
  font-size: 34px;
  font-weight: 500;
  color: #151515;
  margin: 0;
}
.services-page__divider {
  margin: 30px 0;
  height: 1px;
  background: #424B5A;
}
.services-page__image {
  margin-bottom: 40px;
  border-radius: 15px;
  overflow: hidden;
}
.services-page__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}
.services-page__service {
  margin-bottom: 60px;
}
.services-page__service:last-child {
  margin-bottom: 0;
}
.services-page__service-title {
  font-size: 24px;
  font-weight: 500;
  color: #151515;
  margin: 0 0 16px;
}
.services-page__service-text {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  color: #666;
  margin: 0 0 12px;
}

/* ===== PROJECTS PAGE ===== */

.projects-page {
  padding-top: 140px;
  padding-bottom: 100px;
}
.projects-page__title {
  font-size: 34px;
  font-weight: 500;
  color: #151515;
  margin: 0 0 40px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 300px);
  gap: 30px;
}
.projects-card {
  width: 300px;
}
.projects-card__image {
  position: relative;
  width: 300px;
  height: 247px;
  border-radius: 15px;
  overflow: hidden;
}
.projects-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projects-card__btn {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 251px;
  height: 34px;
  padding: 0 16px;
  border-radius: 17px;
  border: 1px solid #000;
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #151515;
  box-sizing: border-box;
  transition: box-shadow 0.2s;
}
.projects-card__btn:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.projects-card__btn svg {
  flex-shrink: 0;
}

.projects-pagination {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}
.projects-pagination__bar {
  display: flex;
  align-items: center;
  width: 451px;
  height: 57px;
  padding: 0 12px;
  border-radius: 15px;
  background: #f2f5f7;
  gap: 8px;
}
.projects-pagination__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
}
.projects-pagination__page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: #151515;
  cursor: pointer;
  transition: background 0.2s;
}
.projects-pagination__page:hover {
  background: rgba(0,0,0,0.04);
}
.projects-pagination__page.is-active {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.projects-pagination__dots {
  font-size: 15px;
  color: #151515;
  padding: 0 2px;
  user-select: none;
}
.projects-pagination__dots + .projects-pagination__page {
  margin-left: 8px;
}
.projects-pagination__arrow {
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}
.projects-pagination__arrow:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

@media (max-width: 1310px) {
  .projects-grid {
    grid-template-columns: repeat(3, 300px);
    justify-content: center;
  }
}
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 300px);
    justify-content: center;
  }
}
@media (max-width: 700px) {
  .projects-grid {
    grid-template-columns: 300px;
    justify-content: center;
  }
}

/* ===== ABOUT PAGE ===== */

.about-intro {
  padding-top: 140px;
  padding-bottom: 60px;
}

.about-intro__layout {
  display: grid;
  grid-template-columns: 559px 1fr;
  gap: 100px;
  align-items: start;
}

.about-intro__image {
  width: 559px;
  height: 372px;
  overflow: hidden;
  border-radius: 15px;
}

.about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro__content {
  padding-top: 48px;
}

.about-intro__title {
  font-size: 34px;
  font-weight: 500;
  line-height: 50px;
  color: var(--color-text);
  margin-bottom: 28px;
}

.about-intro__text {
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.about-intro__text:last-child {
  margin-bottom: 0;
}

/* Features */

.partners-features {
  padding-top: 0;
}

.partners-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.partners-features__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.partners-features__icon svg {
  display: block;
}

.partners-features__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}

.partners-features__text {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0;
}

/* CTA */

.partners-cta {
  padding-top: 0;
}

.partners-cta__wrap {
  position: relative;
  width: 100%;
  min-height: 350px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-cta__bg {
  position: absolute;
  inset: 0;
}

.partners-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partners-cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 30, 0.7);
}

.partners-cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 40px;
  color: var(--color-white);
  max-width: 700px;
}

.partners-cta__content .section__title {
  margin-bottom: 12px;
}

.partners-cta__subtitle {
  font-size: 18px;
  font-weight: 300;
  line-height: 29px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.8);
}

.partners-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn--white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.btn--white:hover {
  background: #f0f0f0;
}

.btn--white:active {
  background: #e0e0e0;
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  border: 2px solid var(--color-white);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ===== FOOTER ENHANCED ===== */

.footer {
  background: #032257;
  margin-top: 60px;
  padding: 40px 0 20px;
}

.footer__image {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: contain;
  object-position: center;
}

.footer__layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
}

.footer__col-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__col-brand {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
}

.footer__col-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}

a.footer__col-title {
  display: block;
  text-decoration: none;
  color: var(--color-white);
}

a.footer__col-title:hover {
  text-decoration: none;
}

.footer__text {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer__link {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: var(--color-white);
  transition: background 0.3s;
}

.footer__social-icon svg path {
  fill: var(--color-accent);
}

.footer__social-icon:hover {
  background: rgba(255,255,255,0.85);
}

.footer__bottom-line {
  height: 1px;
  background: #465978;
  margin: 0 0 16px;
}

.footer__copyright {
  text-align: center;
}

.footer__copyright p {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ===== MOBILE NAV ===== */

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 99;
  padding: 24px 16px;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
}

.mobile-nav--open {
  display: flex;
}

.mobile-nav__search {
  padding: 12px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 7px;
  font-size: 15px;
  color: #818181;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav__links a {
  font-size: 18px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  transition: opacity 0.3s;
}

.mobile-nav__links a:hover {
  opacity: 0.6;
}

.mobile-nav__phone {
  display: block;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  padding: 16px;
  background: var(--color-bg);
  border-radius: 7px;
  transition: opacity 0.3s;
}

.mobile-nav__phone:hover {
  opacity: 0.6;
}

.no-scroll {
  overflow: hidden;
}

/* ===== CATALOG PAGE ===== */

.catalog-page {
  padding-top: 140px;
  padding-bottom: 80px;
}

.catalog-page__title {
  font-size: 34px;
  font-weight: 500;
  line-height: 50px;
  color: var(--color-text);
  margin-bottom: 40px;
  text-align: left;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 400;
}

.breadcrumbs__link {
  color: var(--color-text-light);
  transition: opacity 0.3s;
}

.breadcrumbs__link:hover {
  opacity: 0.6;
}

.breadcrumbs__sep {
  color: var(--color-text-light);
}

.breadcrumbs__current {
  color: var(--color-text);
}

.catalog-page__layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.catalog-page__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 202px;
  flex-shrink: 0;
}

.catalog-page__sidebar-card {
  background: var(--color-white);
  border: 1px solid #E9E9E9;
  border-radius: 5.5px;
  overflow: hidden;
  padding: 8px 0;
}

.catalog-page__sidebar-card--filters {
  padding: 8px 0;
}

.catalog-page__sidebar-title--filter {
  font-weight: 700;
  margin: 8px auto 24px;
}

.catalog-page__sidebar-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.catalog-page__sidebar-line {
  height: 1px;
  background: #E5E5E5;
  margin: 0 21px;
}

.catalog-page__sidebar-nav {
  display: flex;
  flex-direction: column;
}

.catalog-page__sidebar-nav--categories {
  margin-bottom: 0;
}

.catalog-page__sidebar-link {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  color: #151515;
  text-decoration: none;
  transition: all 0.2s;
  line-height: 1.4;
}

.catalog-page__sidebar-link:hover {
  color: var(--color-accent);
  background: #f5f7fa;
}

.catalog-page__sidebar-link--active {
  color: var(--color-accent);
  font-weight: 500;
  border-left: 3px solid var(--color-accent);
  padding-left: 13px;
}

.catalog-page__sidebar-link.is-pill {
  color: var(--color-white);
  background: var(--color-accent);
  border-left: none;
  padding: 0 16px;
  border-radius: 999px;
  width: 176px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 4px auto;
}

.catalog-page__sidebar-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 21px;
  font-size: 13px;
  font-weight: 400;
  color: #151515;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.catalog-page__sidebar-filter-header:hover {
  color: var(--color-accent);
}

.catalog-page__sidebar-filter-chevron {
  flex-shrink: 0;
}

.catalog-page__content {
  flex: 1;
  min-width: 0;
}

.catalog-page__sort {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.catalog-page__sort-label {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.catalog-page__sort-select {
  padding: 8px 36px 8px 16px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-white) url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.3s;
  min-width: 180px;
}

.catalog-page__sort-select:hover {
  border-color: #ccc;
}

.catalog-page__sort-select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.catalog-page__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.catalog-page__grid .product {
  width: 100%;
}

/* ===== PAGINATION ===== */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
}

.pagination__item:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pagination__item--active {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.pagination__item--active:hover {
  color: var(--color-white);
}

.pagination__item--next {
  font-size: 0;
}

.pagination__item--next svg {
  transition: transform 0.3s;
}

.pagination__item--next:hover svg path {
  stroke: var(--color-accent);
}

/* ===== CONTACTS PAGE ===== */

.contacts-page {
  padding-top: 140px;
  padding-bottom: 80px;
}

.contacts-page__title {
  font-size: 34px;
  font-weight: 500;
  line-height: 50px;
  color: var(--color-text);
  margin-bottom: 40px;
}

.contacts-page__layout {
  display: flex;
  gap: 21px;
  align-items: flex-start;
}

/* Left sidebar card */
.contacts-card--office {
  width: 201px;
  flex-shrink: 0;
  background: var(--color-white);
  border: 1px solid #E2E2E2;
  border-radius: 14.5px;
  overflow: hidden;
}

.contacts-card--office .contacts-card__body {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 315px;
}

.office-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px 0;
}

.office-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 16px;
}

.office-card__divider {
  height: 1px;
  background: #E5E5E5;
  width: 100%;
  margin-bottom: 20px;
}

.office-card__badge {
  display: inline-block;
  background: #F4F4F4;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 24px;
}

.office-card__actions {
  margin-top: auto;
  padding: 16px 10px;
}

.office-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
  width: 100%;
}

.office-card__cta:hover {
  background: var(--color-accent-hover);
}

/* Right contact form */
.contacts-form {
  flex: 1;
  background: #F2F5F7;
  border-radius: 15px;
  min-height: 316px;
}

.contacts-form__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 60px 50px;
}

.contacts-form__field {
  width: 100%;
  max-width: 530px;
}

.contacts-form__row {
  display: flex;
  gap: 16px;
}

.contacts-form__row .contacts-form__field {
  max-width: none;
}

.contacts-form__row .contacts-form__field:first-child {
  max-width: 230px;
}

.contacts-form__row .contacts-form__field:last-child {
  max-width: 285px;
}

.contacts-form__input {
  width: 100%;
  padding: 16px 20px;
  background: var(--color-white);
  border: none;
  border-radius: 5px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  outline: none;
  transition: box-shadow 0.3s;
}

.contacts-form__input::placeholder {
  color: #999;
}

.contacts-form__input:focus {
  box-shadow: 0 0 0 2px var(--color-accent);
}

.contacts-form__submit {
  align-self: flex-start;
  margin-top: 8px;
}

/* Social cards row (Telegram, WhatsApp) */
.contacts-socials {
  display: flex;
  gap: 21px;
  margin-top: 40px;
}

.contacts-socials__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 20px;
  background: var(--color-white);
  border: 1px solid #E2E2E2;
  border-radius: 14.5px;
  width: 201px;
}

.contacts-socials__icon svg {
  display: block;
  width: 49px;
  height: 49px;
}

.contacts-socials__text {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.5;
  text-align: center;
}

.contacts-socials__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
}

.contacts-socials__link:hover {
  text-decoration: underline;
}

/* ===== TABLET (1200px) ===== */

@media (max-width: 1200px) {
  .products__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .partner__layout {
    flex-direction: column;
  }

  .partner__contacts {
    width: 100%;
  }

  .partner__form-wrap {
    width: 100%;
    flex-shrink: 1;
  }

  .contacts-page__layout {
    flex-direction: column;
  }

  .contacts-form__body {
    padding: 40px 30px;
  }
}

/* ===== TABLET SMALL (1024px) ===== */

@media (max-width: 1024px) {
  :root {
    --content-pad: 24px;
  }

  .hero__content {
    padding-left: 0;
    text-align: center;
    max-width: 100%;
  }

  .hero__title {
    margin: 0 auto 34px;
  }

  .hero__desc {
    margin: 0 auto 48px;
  }

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

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

  .services__grid {
    grid-template-columns: 1fr;
  }

  .about__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__image {
    width: 100%;
    height: auto;
  }

  .about__image img {
    height: auto;
  }

  .about__content {
    padding-top: 0;
  }

  .about__text {
    max-width: 100%;
  }

  .partners-page__intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .partners-page__intro-image {
    width: 100%;
    height: auto;
  }

  .partners-page__intro-content {
    padding-top: 0;
  }

  .partners-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .partners-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .partners-cta__actions {
    flex-direction: column;
  }

  .product-detail__layout {
    flex-direction: column;
  }

  .product-detail__info {
    flex: none;
    width: 100%;
  }

  .product-detail__gallery-main {
    width: 100%;
    height: auto;
    aspect-ratio: 447 / 339;
  }

  .product-detail__gallery-main img {
    max-width: 80%;
    max-height: 80%;
  }

  .product-detail__gallery-thumb {
    width: 120px;
    height: 84px;
  }

  .product-detail__desc-section {
    flex-direction: column;
  }

  .product-detail__desc-sidebar {
    flex: none;
    width: 100%;
  }

  .product-detail__desc-content {
    padding: 30px;
  }

  .partners__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .header__nav {
    gap: 20px;
  }

  .partner__form-row {
    flex-direction: column;
  }

  .partner__form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-detail__similar-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .catalog-page__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .catalog-page__aside {
    flex-direction: column;
    align-items: flex-start;
  }

  .buyers-page__layout {
    flex-direction: column;
  }

  .buyers-page__sidebar {
    width: 100%;
  }

  .buyers-page__table-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .buyers-page__table-value {
    text-align: left;
  }

  .footer__layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .contacts-page__layout {
    flex-direction: column;
  }

  .contacts-card--office {
    width: 100%;
  }

  .contacts-form__body {
    padding: 30px 24px;
  }

  .contacts-form__row {
    flex-direction: column;
  }

  .contacts-form__row .contacts-form__field:first-child,
  .contacts-form__row .contacts-form__field:last-child {
    max-width: none;
  }

  .contacts-form__submit {
    width: 100%;
    justify-content: center;
  }

  .contacts-socials {
    flex-direction: column;
    align-items: flex-start;
  }

  .contacts-socials__card {
    width: 100%;
  }
}

/* ===== CLIENTS PAGE ===== */

.clients-page {
  padding-top: 140px;
  padding-bottom: 80px;
}

.clients-page__title {
  font-size: 34px;
  font-weight: 500;
  line-height: 50px;
  color: var(--color-text);
  margin-bottom: 40px;
}

.clients-layout {
  display: flex;
  gap: 102px;
  margin-bottom: 40px;
}

.clients-card {
  flex-shrink: 0;
  width: 201px;
  background: var(--color-white);
  border: 1px solid #E2E2E2;
  border-radius: 14.5px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: flex-start;
}

.clients-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  color: var(--color-text);
}

.clients-card__title--bold {
  font-weight: 700;
}

.clients-card__divider {
  height: 1px;
  background: #E5E5E5;
  margin: 0;
}

.clients-card__image svg {
  display: block;
  width: 100%;
  height: auto;
}

.clients-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.clients-card__item {
  list-style: none;
}

.clients-card__link {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: var(--color-text);
  text-decoration: none;
  display: block;
  padding: 6px 0;
  transition: color 0.2s;
  cursor: pointer;
}

.clients-card__link:hover {
  color: var(--color-accent);
}

.clients-main {
  flex: 1;
  min-width: 0;
}

.clients-main__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 30px;
  color: var(--color-text);
  margin-bottom: 12px;
  margin-top: 23px;
}

.clients-main__divider {
  height: 1px;
  background: #424B5A;
  margin-bottom: 24px;
}

.clients-main__illustration {
  width: 100%;
  max-width: 769px;
  height: 372px;
  border-radius: 15px;
  overflow: hidden;
  background: #F4F4F4;
  margin-bottom: 48px;
}

.clients-main__map {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clients-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.clients-info__text {
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  color: var(--color-text-light);
  max-width: 770px;
}

.clients-bottom {
  display: flex;
  flex-direction: column;
}

.clients-bottom__divider {
  height: 1px;
  background: #424B5A;
}

.clients-bottom__content {
  padding: 28px 0;
}

.clients-bottom__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.clients-bottom__text {
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  color: var(--color-text-light);
  max-width: 770px;
}

/* ===== MOBILE (768px) ===== */

@media (max-width: 768px) {
  :root {
    --content-pad: 16px;
    --header-h: 64px;
  }

  .header__search,
  .header__contact-btn,
  .header__phone,
  .header__bottom {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__top {
    justify-content: space-between;
    height: 64px;
    padding-top: 0;
  }

  .header__logo-img {
    width: 90px;
  }

  .hero {
    margin-top: 64px;
    min-height: auto;
  }

  .hero__inner {
    min-height: auto;
    padding: 60px 0;
  }

  .hero__content {
    padding-left: 0;
  }

  .hero__title {
    font-size: 28px;
    line-height: 34px;
  }

  .hero__desc {
    font-size: 16px;
  }

  .section {
    padding: 60px 0 0;
  }

  .section__title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 24px;
  }

  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .catalog__card-overlay {
    height: 28px;
    max-width: 180px;
    bottom: 8px;
  }

  .catalog__card-name {
    font-size: 13px;
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product {
    width: 100%;
  }

  .services__grid {
    gap: 16px;
  }

  .service__img {
  height: 265px;
  }

  .service__overlay {
    width: auto;
    flex: 1;
  }

  .about__text {
    font-size: 16px;
  }

  .partners-page {
    padding-top: 110px;
  }

  .partners-page__intro-image {
    height: 260px;
  }

  .partners-page__title {
    font-size: 24px;
    line-height: 32px;
  }

  .partners-page__text {
    font-size: 16px;
  }

  .partners-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .partners-stats__number {
    font-size: 32px;
  }

  .partners-stats__label {
    font-size: 14px;
  }

  .about-intro {
    padding-top: 110px;
  }

  .about-intro__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-intro__image {
    width: 100%;
    height: auto;
  }

  .about-intro__content {
    padding-top: 0;
  }

  .about-intro__title {
    font-size: 24px;
    line-height: 32px;
  }

  .about-intro__text {
    font-size: 16px;
  }

  .about-specialists__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-specialists__content {
    padding-top: 0;
  }

  .about-specialists__title {
    font-size: 24px;
    line-height: 32px;
  }

  .about-specialists__image {
    width: 100%;
    height: auto;
  }

  .partners-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .partners-cta__content {
    padding: 40px 20px;
  }

  .partners-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .partners-cta__actions .btn--white,
  .partners-cta__actions .btn--outline {
    width: 100%;
  }

  .partner__contacts {
    padding-top: 0;
  }

  .partner__form-content {
    padding: 24px 16px;
  }

  .partner__form-actions {
    flex-direction: column;
    gap: 16px;
  }

  .btn--blue {
    width: 100%;
  }

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

  .contacts-page {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .contacts-page__title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 24px;
  }

  .contacts-page__layout {
    flex-direction: column;
  }

  .contacts-form__body {
    padding: 24px 16px;
  }

  .contacts-form__row {
    flex-direction: column;
  }

  .contacts-form__row .contacts-form__field:first-child,
  .contacts-form__row .contacts-form__field:last-child {
    max-width: none;
  }

  .contacts-form__submit {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 16px;
  }

  .contacts-socials {
    flex-direction: column;
  }

  .contacts-socials__card {
    width: 100%;
  }

  .clients-page {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .clients-page__title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 24px;
  }

  .clients-layout {
    flex-direction: column;
    gap: 40px;
  }

  .clients-card {
    width: 100%;
  }

  .clients-main__title {
    margin-top: 0;
  }

  .clients-main__illustration {
    height: 220px;
  }

  .clients-bottom__title {
    font-size: 18px;
    line-height: 26px;
  }

  .product-detail {
    padding-top: 110px;
  }

  .product-detail__layout {
    flex-direction: column;
  }

  .product-detail__info {
    flex: none;
    width: 100%;
  }

  .product-detail__gallery {
    padding: 16px;
  }

  .product-detail__gallery-main {
    width: 100%;
    height: auto;
    aspect-ratio: 447 / 339;
  }

  .product-detail__gallery-main img {
    max-width: 80%;
    max-height: 80%;
  }

  .product-detail__gallery-thumb {
    width: 90px;
    height: 64px;
  }

  .product-detail__gallery-thumb img {
    max-width: 60px;
    max-height: 45px;
  }

  .product-detail__desc-section {
    flex-direction: column;
  }

  .product-detail__desc-sidebar {
    flex: none;
    width: 100%;
  }

  .product-detail__desc-content {
    padding: 24px 20px;
  }

  .product-detail__desc-btn {
    width: 100%;
    text-align: center;
  }

  .product-detail__similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-page {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .catalog-page__title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 24px;
  }

  .catalog-page__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 40px;
  }

  .catalog-page__layout {
    flex-direction: column;
  }

  .catalog-page__sidebar {
    width: 100%;
  }

  .catalog-page__sidebar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .catalog-page__sidebar-link {
    flex: 1 1 auto;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }

  .catalog-page__sidebar-line {
    display: none;
  }

  .catalog-page__sort {
    width: 100%;
  }

  .catalog-page__sort-select {
    flex: 1;
    min-width: 0;
  }

  .buyers-page {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .buyers-page__banner {
    height: 260px;
  }

  .services-page {
    padding-top: 110px;
  }
  .services-page__layout {
    flex-direction: column;
    gap: 40px;
  }
  .services-page__sidebar {
    width: 100%;
  }
  .services-page__title {
    font-size: 28px;
  }
  .services-page__service-title {
    font-size: 20px;
  }
  .services-page__service-text {
    font-size: 16px;
  }
  .services-page__image img {
    max-width: 100%;
  }

  .footer__layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* ===== MOBILE SMALL (480px) ===== */

@media (max-width: 480px) {
  .catalog__grid {
    grid-template-columns: 1fr;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 24px;
    line-height: 30px;
  }

  .hero__btn {
    width: 100%;
  }

.hero__dots {
    bottom: 16px;
  }

  .product-detail__gallery {
    padding: 12px;
  }

  .product-detail__gallery-main {
    aspect-ratio: 4 / 3;
  }

  .product-detail__gallery-thumbs {
    gap: 12px;
  }

  .product-detail__gallery-thumb {
    width: 70px;
    height: 50px;
  }

  .product-detail__gallery-thumb img {
    max-width: 45px;
    max-height: 34px;
  }

  .product-detail__desc-content {
    padding: 16px;
  }

  .product-detail__similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-page__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .catalog-page__sidebar-link {
    font-size: 12px;
    padding: 6px 10px;
  }

  .buyers-page__banner {
    height: 200px;
  }

  .partners-page__intro-image {
    height: 200px;
  }

  .partners-stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .about-intro__image {
    height: 200px;
  }

  .about-specialists__image {
    height: 200px;
  }

  .services-page__title {
    font-size: 24px;
  }
  .services-page__service-title {
    font-size: 18px;
  }
  .services-page__service-text {
    font-size: 15px;
  }
  .services-page__sidebar-nav {
    border-radius: 10px;
  }
  .services-page__sidebar-link {
    font-size: 14px;
    padding: 10px 16px;
  }

  .partners-features__grid {
    grid-template-columns: 1fr;
  }

  .footer__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* About � Specialists */
.about-specialists {
  padding-top: 0;
  padding-bottom: 60px;
}

.about-specialists__layout {
  display: grid;
  grid-template-columns: 1fr 559px;
  gap: 100px;
  align-items: start;
}

.about-specialists__content {
  padding-top: 48px;
}

.about-specialists__title {
  font-size: 34px;
  font-weight: 500;
  line-height: 50px;
  color: var(--color-text);
  margin-bottom: 28px;
}

.about-specialists__text {
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.about-specialists__text:last-child {
  margin-bottom: 0;
}

.about-specialists__image {
  width: 559px;
  height: 372px;
  overflow: hidden;
  border-radius: 15px;
}

.about-specialists__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== PRODUCT DETAIL PAGE ===== */

.product-detail {
  padding-top: 140px;
  padding-bottom: 60px;
}

.product-detail__layout {
  display: flex;
  gap: 32px;
  margin-bottom: 46px;
}

.product-detail__info {
  flex: 0 0 280px;
  background: var(--color-white);
  border-radius: 15px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: flex-start;
}

.product-detail__info-label {
  display: inline-block;
  width: fit-content;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 500;
  color: white;
  border-radius: 0 10px 10px 10px;
}

.product-detail__info-label--available {
  background: #6CCDF6;
}

.product-detail__info-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.product-detail__info-price {
  font-size: 14px;
  color: #555;
}

.product-detail__info-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-detail__info-spec {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.product-detail__info-spec-label {
  color: #888;
}

.product-detail__info-spec-value {
  color: var(--color-text);
  font-weight: 500;
}

.product-detail__info-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.product-detail__info-actions .btn {
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.product-detail__info-actions .btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  transition: background 0.3s;
}

.product-detail__info-actions .btn--primary:hover {
  background: var(--color-accent-hover);
}

.product-detail__info-actions .btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  transition: background 0.3s, color 0.3s;
}

.product-detail__info-actions .btn--outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.product-detail__gallery {
  flex: 1;
  background: var(--color-white);
  border-radius: 15px;
  padding: 29px;
}

.product-detail__gallery-main {
  width: 447px;
  height: 339px;
  background: #F5F5F5;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.product-detail__gallery-main img {
  max-width: 303px;
  max-height: 227px;
  object-fit: contain;
}

.product-detail__gallery-thumbs {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  justify-content: center;
}

.product-detail__gallery-thumb {
  width: 148px;
  height: 104px;
  background: #F5F5F5;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.product-detail__gallery-thumb--active {
  border-color: var(--color-accent);
}

.product-detail__gallery-thumb img {
  max-width: 95px;
  max-height: 71px;
  object-fit: contain;
}

.product-detail__desc-section {
  display: flex;
  gap: 22px;
  margin-bottom: 134px;
}

.product-detail__desc-sidebar {
  flex: 0 0 202px;
  background: var(--color-white);
  border-radius: 15px;
  padding: 24px 20px;
  align-self: flex-start;
}

.product-detail__desc-sidebar-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.product-detail__desc-sidebar-text {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
  line-height: 1.5;
}

.product-detail__desc-sidebar-phone {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.product-detail__desc-sidebar-email {
  font-size: 14px;
  color: var(--color-accent);
  text-decoration: none;
}

.product-detail__desc-content {
  flex: 1;
  background: #F2F5F7;
  border-radius: 15px;
  padding: 40px;
}

.product-detail__desc-text {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 24px;
}

.product-detail__desc-rows {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 24px;
}

.product-detail__desc-row {
  background: var(--color-white);
  border-radius: 5px;
  padding: 15px 20px;
  font-size: 14px;
  color: var(--color-text);
}

.product-detail__desc-row-label {
  color: #888;
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
}

.product-detail__desc-row-value {
  font-weight: 500;
}

.product-detail__desc-row-group {
  display: flex;
  gap: 15px;
}

.product-detail__desc-row-group .product-detail__desc-row {
  flex: 1;
}

.product-detail__desc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-accent);
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s;
}

.product-detail__desc-btn:hover {
  background: var(--color-accent-hover);
}

.product-detail__partners {
  margin-bottom: 80px;
}

.product-detail__similar {
  margin-bottom: 80px;
}

.product-detail__similar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.product-detail__similar-grid .product {
  width: 100%;
}




