/* Asenware landing — Figma node 118-2 */

:root {
  --red: #d42027;
  --red-dark: #b81a20;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #636363;
  --border: #e5e7eb;
  --radius: 8px;
  --font: "Noto Sans Armenian", system-ui, sans-serif;
  --canvas: 1440px;
  --gutter: max(0px, calc((100vw - 1440px) / 2));
  --header-h: 120px;
  --hero-h: 950px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 10px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 1500px) {
  .container {
    max-width: 100%;
    padding: 0 30px;
  }
}

@media (max-width: 575px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.btn-quote {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  background: #D92028;
  border-radius: 4px;
  white-space: nowrap;
}

.btn-quote:hover { background: var(--red-dark); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #2C2C2C;
  box-shadow: 0px 4px 11px 0px #00000040;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.header.is-scrolled .nav a { color: var(--text); }
.header.is-scrolled .nav a:hover { color: var(--red); }
.header.is-scrolled .nav a.is-active { color: #D92028; }
.header.is-scrolled .header-icon-btn { color: var(--text); }
.header.is-scrolled .lang-globe-icon { color: var(--text); }
.header.is-scrolled .menu-toggle { color: var(--text); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 32px;
}

.logo {
  flex-shrink: 0;
  align-self: center;
}

.logo-img {
  width: auto;
}

.logo--mobile .logo-img {
  height: 29px;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  margin-left: auto;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 28px;
  width: 100%;
}

.nav a {
  font-family: "Noto Sans Armenian", system-ui, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #fff;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav a:hover { color: rgba(255, 255, 255, 0.75); }
.nav a.is-active,
.nav a.is-active:hover { color: #D92028; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  transition: background var(--transition), color var(--transition);
}

.header-icon-btn:hover,
.lang-dropdown.is-open .header-icon-btn {
  background: rgba(255, 255, 255, 0.12);
}

.header.is-scrolled .header-icon-btn:hover,
.header.is-scrolled .lang-dropdown.is-open .header-icon-btn {
  background: rgba(0, 0, 0, 0.06);
}

.lang-globe-icon {
  width: 27px;
  height: 27px;
  color: var(--white);
}

.lang-dropdown { position: relative; }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 110;
}

.lang-menu[hidden] { display: none; }

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  font-size: 14px;
  border-radius: 4px;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}

.lang-option:hover,
.lang-option.is-active {
  background: #fde8e9;
  color: var(--red);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
  padding: 20px var(--gutter) 32px;
  overflow-y: auto;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text);
}

.mobile-menu-btns {
  margin-bottom: 28px;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-nav a {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
  height: var(--hero-h);
  max-height: 950px;
  color: var(--white);
  overflow: hidden;
}

.hero-slider__track {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: calc(var(--header-h) + 48px) 0 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide > .container,
.hero-slide__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
}

.hero-slide__title {
  position: absolute;
  bottom: 320px;
  left: 0;
  right: var(--gutter);
  max-width: 1020px;
  font-family: "Noto Sans Armenian", system-ui, sans-serif;
  font-weight: 700;
  font-size: 70px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffffff;
  transform: translateY(100px);
  opacity: 0;
}

.hero-slide.is-active .hero-slide__title {
  animation: hero-text-up 0.9s ease forwards;
  animation-delay: 0.15s;
}

/* Hero stats bar — bottom left (Figma) */
.hero-stats-bar {
  margin-top: auto;
  align-self: flex-end;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 850px;
  background: #E9001038;
  backdrop-filter: blur(57.9px);
  transform: translateY(100px);
  opacity: 0;
}

.hero-slide.is-active .hero-stats-bar {
  animation: hero-text-up 0.9s ease forwards;
  animation-delay: 0.35s;
}

.hero-stats-bar__item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 18px 22px;
}

.hero-stats-bar__item + .hero-stats-bar__item {
  border-left: 1px dashed #fff;
}

.hero-stats-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.hero-stats-bar__icon img,
.hero-stats-bar__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}

.hero-stats-bar__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero-stats-bar__value {
  font-family: "Noto Sans Armenian", system-ui, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: #fff;
  margin-bottom: 15px;
  white-space: nowrap;
}

.hero-stats-bar__label {
  font-family: "Noto Sans Armenian", system-ui, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  color: #fff;
  height: 2.4em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.hero-slide__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide.is-active .hero-slide__bg {
  animation: hero-zoom-out 3s linear forwards;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-slider__dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

@keyframes hero-zoom-out {
  from { width: 110%; }
  to { width: 100%; }
}

@keyframes hero-text-up {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.about,
.solutions,
.features,
.products,
.news,
.certificates,
.values,
#download {
  scroll-margin-top: 10px;
}

/* ---------- About (Figma node 217-2) ---------- */
.about {
  padding: 104px 0 0;
  background: var(--white);
}

.about__inner {
  display: flex;
  align-items: flex-start;
  gap: 97px;
}

.about__media {
  flex: 0 0 569px;
  width: 569px;
  border-radius: 3px;
  overflow: hidden;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 569 / 379;
}

.about__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  max-width: 774px;
}

.about__title {
  font-family: var(--font);
  font-weight: 500;
  font-size: 40px;
  line-height: normal;
  color: #000;
}

.about__text {
  padding-top: 40px;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: #000;
}

/* ---------- Solutions / Advantages (Figma node 217-3) ---------- */
.solutions {
  padding: 104px 0 0;
  background: var(--white);
}

.solutions__grid {
  display: grid;
  grid-template-columns: minmax(0, 922fr) minmax(0, 506fr);
  gap: 11px;
  width: 100%;
}

.solutions__stack {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
  min-height: 405px;
}

.solutions-card {
  position: relative;
  background: #f4f4f4;
  overflow: hidden;
  min-width: 0;
}

.solutions-card--large {
  height: 405px;
  box-shadow: 0 4px 11px rgba(87, 87, 87, 0.25);
}

.solutions-card--small {
  height: 197px;
  flex: 1 1 0;
}

.solutions-card--wide {
  grid-column: 1 / -1;
  height: 405px;
}

.solutions-card__media {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
}

.solutions-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* Large: media 26/922 × 33, size 393; title 377/922 × 30, w 275 */
.solutions-card--large .solutions-card__media {
  left: 2.82%;
  top: 33px;
  width: 42.625%;
  aspect-ratio: 1;
  height: auto;
}

.solutions-card--large .solutions-card__title {
  left: 40.89%;
  top: 30px;
  width: 29.83%;
  font-size: clamp(28px, 3.125vw, 45px);
}

/* Small supermarket: media 7×42 241×162; title 178×14 w314 */
.solutions-card--small:first-child .solutions-card__media {
  left: 1.38%;
  top: 42px;
  width: 47.63%;
  height: 162px;
}

.solutions-card--small:first-child .solutions-card__title {
  left: 38%;
  width: 62.06%;
}

/* Small apartment: media 7×-8 227×227; title 182×14 w310 */
.solutions-card--small:last-child .solutions-card__media {
  left: 1.38%;
  top: -8px;
  width: 44.86%;
  aspect-ratio: 1;
  height: auto;
}

.solutions-card--small:last-child .solutions-card__title {
  left: 35.97%;
  width: 61.26%;
}

.solutions-card--small .solutions-card__title {
  top: 14px;
  font-size: clamp(22px, 2.43vw, 35px);
  line-height: 1.1;
}

/* Wide: media 0×-32 529×470 with inner crop; title 461×39 w604 */
.solutions-card--wide .solutions-card__media {
  left: 0;
  top: -7.9%;
  width: 36.736%;
  height: 116.05%;
}

.solutions-card--wide .solutions-card__media img {
  position: absolute;
  left: 0;
  top: -39.93%;
  width: 185.07%;
  height: 139.93%;
  object-fit: unset;
}

.solutions-card--wide .solutions-card__title {
  top: 39px;
  right: 40px;
  width: 41.94%;
  font-size: clamp(32px, 4.167vw, 60px);
}

.solutions-card__title {
  position: absolute;
  z-index: 1;
  margin: 0;
  font-family: var(--font);
  font-weight: 700;
  font-style: normal;
  color: #d92028;
  line-height: normal;
  word-break: break-word;
}

/* ---------- Features (Figma node 217-4) ---------- */
.features {
  padding: 104px 0 0;
  background: var(--white);
}

.features__title {
  margin: 0 auto 100px;
  max-width: 900px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 40px;
  line-height: normal;
  text-align: center;
  color: #000;
}

.features__grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 75px;
  width: 100%;
}

.features-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 0;
  max-width: 304px;
  width: 100%;
}

.features-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 120px;
  overflow: hidden;
}

.features-item__icon--rd { width: 155px; }
.features-item__icon--praises { width: 118px; }
.features-item__icon--manufacturer { width: 87px; }
.features-item__icon--projects { width: 121px; }

.features-item__icon img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: 120px;
  object-fit: contain;
}

.features-item__title {
  margin: 0;
  width: 100%;
  font-family: var(--font);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.2;
  text-align: center;
  color: #000;
  transition: color var(--transition);
  height: 2.4em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.features-item:hover .features-item__title {
  color: #d70110;
}

.features-item__text {
  margin: 0;
  width: 100%;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  color: #000;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

/* ---------- Products (Figma node 217-5 / 130-502 / 92-179) ---------- */
.products {
  padding: 104px 0 0;
  background: var(--white);
}

.products__title {
  margin: 0 0 64px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 40px;
  line-height: normal;
  text-align: center;
  color: #000;
}

.products-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 84px;
  width: 100%;
}

.products-filter__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  padding: 12px 20px;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: #000;
  background: #f1f1f1;
  border: 0.5px solid #d5d5d5;
  border-left-width: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.products-filter__btn:first-child {
  border-left-width: 0.5px;
}

.products-filter__btn.is-active {
  color: var(--white);
  background: #d92028;
  border-color: #d92028;
}

.products-filter__btn:hover:not(.is-active) {
  background: #e8e8e8;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 20px;
  width: 100%;
}

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

.product-card[hidden] {
  display: none !important;
}

.product-card__btn {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  background: transparent;
}

.product-card__media {
  width: 100%;
  aspect-ratio: 345 / 312;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 4px 11px rgba(139, 139, 139, 0.25);
  overflow: hidden;
}

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

.product-card__title {
  margin: 0 0 15px;
  height: 2.4em;
  font-family: var(--font);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.2;
  color: #000;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color var(--transition);
}

.product-card__btn:hover .product-card__title {
  color: #d92028;
}

.product-card__text {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.products__more {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.products__more[hidden] {
  display: none !important;
}

.products__more-btn {
  min-width: 166px;
  min-height: 53px;
  padding: 12px 24px;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  color: #d92028;
  background: transparent;
  border: 1px solid #d92028;
  transition: background var(--transition), color var(--transition);
}

.products__more-btn:hover {
  color: var(--white);
  background: #d92028;
}

.products__more-btn[hidden] {
  display: none;
}

/* ---------- News (Figma node 217-6) ---------- */
.news {
  padding: 104px 0 0;
  background: var(--white);
}

.news__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}

.news-item__btn {
  display: grid;
  grid-template-columns: minmax(0, 774fr) minmax(0, 604fr);
  gap: 62px;
  align-items: start;
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  background: transparent;
}

.news-item--reverse .news-item__btn {
  grid-template-columns: minmax(0, 604fr) minmax(0, 774fr);
}

.news-item--reverse .news-item__content {
  text-align: right;
  align-items: flex-end;
}

.news-item__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-top: 8px;
}

.news-item__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 40px;
  max-width: 774px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 40px;
  line-height: normal;
  color: #000;
  transition: color var(--transition);
}

.news-item__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  margin: 0 0 32px;
  max-width: 774px;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: #000;
}

.news-item__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 40px;
  padding: 8px 18px;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  color: #d92028;
  border: 1px solid #d92028;
  transition: background var(--transition), color var(--transition);
}

.news-item__btn:hover .news-item__title {
  color: #d92028;
}

.news-item__btn:hover .news-item__more {
  color: var(--white);
  background: #d92028;
}

.news-item__media {
  width: 100%;
  max-width: 604px;
  aspect-ratio: 604 / 379;
  border-radius: 3px;
  overflow: hidden;
  justify-self: stretch;
}

.news-item--reverse .news-item__media {
  justify-self: start;
}

.news-item:not(.news-item--reverse) .news-item__media {
  justify-self: end;
}

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

.news-item + .news-item {
  margin-top: 0;
}

/* News modal — same backdrop style as product modal */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 24px;
  overflow-y: auto;
}

.news-modal[hidden] { display: none; }

body.news-modal-open { overflow: hidden; }

.news-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.71);
  backdrop-filter: blur(20px);
}

.news-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  max-height: calc(100vh - 80px);
  margin: auto;
  padding: 56px 48px 48px;
  background: var(--white);
  box-shadow: 0 4px 16.1px rgba(17, 17, 17, 0.25);
  overflow-y: auto;
}

.news-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #000;
  transition: opacity var(--transition);
}

.news-modal__close:hover { opacity: 0.6; }

.news-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas:
    "media title"
    "text text";
  gap: 28px 40px;
  align-items: start;
}

.news-modal__media {
  grid-area: media;
  width: 100%;
  aspect-ratio: 604 / 379;
  border-radius: 3px;
  overflow: hidden;
  background: #f7f7f7;
}

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

.news-modal__title {
  grid-area: title;
  margin: 0;
  padding-right: 40px;
  padding-top: 8px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 40px;
  line-height: normal;
  color: #000;
}

.news-modal__text {
  grid-area: text;
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
}

/* ---------- Certificates (Figma node 217-7) ---------- */
.certificates {
  padding: 104px 0 104px;
  background: var(--white);
}

.certificates__title {
  margin: 0 0 28px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 40px;
  line-height: normal;
  text-align: center;
  color: #000;
}

.certificates__intro {
  margin: 0 auto 80px;
  max-width: 606px;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  text-align: center;
  color: #000;
}

.certificates__slider {
  width: 100%;
}

.certificates__track {
  display: flex;
  gap: 19px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.certificates__track::-webkit-scrollbar { display: none; }

.certificates__card {
  flex: 0 0 calc((100% - 57px) / 4);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 174px;
  background: #f7f7f7;
  scroll-snap-align: start;
  overflow: hidden;
}

.certificates__card img {
  display: block;
  width: auto;
  max-width: 70%;
  height: auto;
  max-height: 140px;
  object-fit: contain;
}

.certificates__nav {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 43px;
}

.certificates__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 67px;
  height: 67px;
  padding: 0;
  background: transparent;
  transition: opacity var(--transition);
}

.certificates__nav-btn:hover { opacity: 0.75; }

.certificates__nav-btn img {
  display: block;
  width: 67px;
  height: 67px;
  max-width: none;
}

/* ---------- Values (Figma node 217-8) ---------- */
.values {
  position: relative;
  width: 100%;
  min-height: 508px;
  color: var(--white);
  overflow: hidden;
}

.values__media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 0;
}

.values__bg {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.values__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.49);
}

.values__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 62px;
  align-items: center;
  min-height: 508px;
  padding-top: 85px;
  padding-bottom: 85px;
}

.values-card {
  max-width: 606px;
  width: 100%;
}

.values-card__title {
  margin: 0 0 24px;
  max-width: 569px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 40px;
  line-height: normal;
  color: var(--white);
}

.values-card__line {
  display: block;
  width: 100%;
  max-width: 606px;
  height: 1px;
  margin-bottom: 22px;
  background: #fb9300;
}

.values-card__text {
  margin: 0;
  max-width: 606px;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: var(--white);
}

/* ---------- Footer (Figma node 217-9) ---------- */
.footer {
  background: #2c2c2c;
  color: var(--white);
  padding: 39px 0 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 420px;
  padding-bottom: 24px;
}

.footer__logo {
  display: block;
  margin-bottom: 29px;
}

.footer__logo img {
  display: block;
  width: 265px;
  height: 48px;
  max-width: 100%;
  object-fit: contain;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer__nav a {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: var(--white);
  white-space: nowrap;
  transition: opacity var(--transition);
}

.footer__nav a:hover { opacity: 0.75; }

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 26px;
  text-align: center;
}

.footer__address {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 20px;
  line-height: 27px;
  color: var(--white);
}

.footer__contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 0;
}

.footer__contact-row a {
  font-family: var(--font);
  font-weight: 400;
  font-size: 20px;
  line-height: 20px;
  color: var(--white);
  transition: opacity var(--transition);
}

.footer__contact-row a:hover { opacity: 0.75; }

.footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #D92028;
  transition: opacity var(--transition);
}

.footer__social:hover { opacity: 0.85; }

.footer__social img {
  display: block;
  width: auto;
  height: auto;
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.footer__tagline {
  margin: 0 0 48px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 30px;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
  color: var(--white);
}

.footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
}

.footer__copy,
.footer__credit {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 35px;
  color: var(--white);
}

.footer__credit-link {
  color: inherit;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity var(--transition);
}

.footer__credit-link:hover {
  opacity: 0.75;
  color: inherit;
}

/* Product modal */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 24px;
  overflow-y: auto;
}

.product-modal[hidden] { display: none; }

body.product-modal-open { overflow: hidden; }

.product-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.71);
  backdrop-filter: blur(20px);
}

.product-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1443px;
  margin: auto;
  padding: 48px 56px 40px;
  background: var(--white);
  box-shadow: 0 4px 16.1px rgba(17, 17, 17, 0.25);
}

.product-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #000;
  transition: opacity var(--transition);
}

.product-modal__close:hover { opacity: 0.6; }

.product-modal__top {
  display: grid;
  grid-template-columns: minmax(0, 505px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.product-modal__gallery {
  min-width: 0;
}

.product-modal__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 505 / 457;
  margin-bottom: 16px;
  border-radius: 3px;
  box-shadow: 0 4px 11px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background: #f7f7f7;
}

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

.product-modal__nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #000;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background var(--transition);
}

.product-modal__nav:hover { background: var(--white); }

.product-modal__nav--prev { left: 12px; }
.product-modal__nav--next { right: 12px; }

.product-modal__thumbs {
  display: flex;
  gap: 14px;
}

.product-modal__thumb {
  width: 158px;
  height: 152px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--transition);
}

.product-modal__thumb.is-active {
  border-color: #d92028;
}

.product-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.product-modal__desc {
  min-width: 0;
  padding-top: 8px;
}

.product-modal__heading {
  margin: 0 0 28px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 40px;
  line-height: normal;
  color: #000;
}

.product-modal__body,
.product-modal__extra {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: #000;
}

.product-modal__body p,
.product-modal__extra p {
  margin: 0 0 12px;
}

.product-modal__body ol,
.product-modal__extra ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.product-modal__body li,
.product-modal__extra li {
  margin-bottom: 4px;
}

.product-modal__extra {
  margin-bottom: 48px;
}

.product-modal__assortment-track {
  display: flex;
  gap: 19px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product-modal__assortment-track::-webkit-scrollbar { display: none; }

.product-modal__assortment-item {
  flex: 0 0 208px;
  width: 208px;
  scroll-snap-align: start;
}

.product-modal__assortment-media {
  width: 100%;
  height: 201px;
  margin-bottom: 15px;
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 4px 11px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.product-modal__assortment-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
}

.product-modal__assortment-item p {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 20px;
  line-height: normal;
  color: #000;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-modal__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.product-modal__dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 1.5px solid #9a9a9a;
  border-radius: 50%;
  background: transparent;
  transition: border-color var(--transition), background var(--transition);
}

.product-modal__dot.is-active {
  border-color: #d92028;
  background: radial-gradient(circle, #d92028 35%, transparent 40%);
}

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
  :root {
    --gutter: 30px;
  }
  .hero-slide__title {
    left: 15px;
  }
}

@media (max-width: 1200px) {
  :root {
    --header-h: 72px;
    --hero-h: 640px;
  }

  .header-right { display: none; }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .about {
    padding: 104px 0 0;
  }

  .about__inner {
    gap: 48px;
  }

  .about__media {
    flex: 0 0 480px;
    width: 480px;
  }

  .about__title {
    font-size: 32px;
  }

  .solutions {
    padding: 104px 0 0;
  }

  .solutions__grid {
    grid-template-columns: minmax(0, 922fr) minmax(0, 506fr);
  }

  .solutions__stack {
    min-height: 340px;
  }

  .solutions-card--large {
    height: 340px;
  }

  .solutions-card--small {
    height: 164.5px;
  }

  .solutions-card--wide {
    height: 320px;
  }

  .solutions-card--large .solutions-card__media {
    top: 6%;
  }

  .solutions-card--small:first-child .solutions-card__media {
    top: 18%;
    height: 78%;
  }

  .solutions-card--small:last-child .solutions-card__media {
    top: -4%;
  }

  .solutions-card--wide .solutions-card__media {
    top: -8%;
    height: 116%;
  }

  .solutions-card--large .solutions-card__title {
    font-size: clamp(26px, 2.8vw, 36px);
  }

  .solutions-card--small .solutions-card__title {
    font-size: clamp(18px, 2.2vw, 28px);
  }

  .solutions-card--wide .solutions-card__title {
    font-size: clamp(28px, 3.4vw, 44px);
  }

  .features {
    padding: 104px 0 0;
  }

  .features__title {
    margin-bottom: 64px;
    font-size: 32px;
  }

  .features__grid {
    gap: 32px;
  }

  .features-item__title {
    font-size: 20px;
  }

  .products {
    padding: 104px 0 0;
  }

  .products__title {
    margin-bottom: 40px;
    font-size: 32px;
  }

  .products-filter {
    margin-bottom: 48px;
  }

  .products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 16px;
  }

  .product-card__title {
    font-size: 20px;
  }

  .product-modal__panel {
    padding: 40px 28px 32px;
  }

  .product-modal__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-modal__heading {
    font-size: 32px;
  }

  .product-modal__thumb {
    width: 110px;
    height: 106px;
  }

  .news {
    padding: 104px 0 0;
  }

  .news-item__btn,
  .news-item--reverse .news-item__btn {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .news-item__title {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .news-modal__panel {
    padding: 48px 28px 32px;
    max-height: calc(100vh - 64px);
  }

  .news-modal__layout {
    gap: 28px;
  }

  .news-modal__title {
    font-size: 28px;
  }

  .certificates {
    padding: 104px 0 104px;
  }

  .certificates__title {
    font-size: 32px;
  }

  .certificates__intro {
    margin-bottom: 48px;
  }

  .certificates__card {
    flex-basis: calc((100% - 19px) / 2);
  }

  .values__inner {
    min-height: 420px;
    padding-top: 56px;
    padding-bottom: 56px;
    gap: 40px;
  }

  .values-card__title {
    font-size: 28px;
  }

  .footer__inner {
    min-height: 0;
  }

  .footer__tagline {
    font-size: 24px;
    margin-bottom: 32px;
  }
}

@media (max-width: 1024px) {
  .hero-slide__title {
    position: absolute;
    bottom: 220px;
    left: var(--gutter);
    right: var(--gutter);
    max-width: 1020px;
    font-family: "Noto Sans Armenian", system-ui, sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #ffffff;
    transform: translateY(100px);
    opacity: 0;
  }

  .about__inner {
    flex-direction: column;
    gap: 40px;
  }

  .about__media {
    flex: none;
    width: 100%;
    max-width: 569px;
  }

  .about__content {
    max-width: none;
  }

  .about__title {
    font-size: 28px;
  }

  .about__text {
    margin-top: 24px;
    padding-top: 0;
  }

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

  .solutions__stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    min-height: 0;
  }

  .solutions-card--large,
  .solutions-card--wide {
    height: 280px;
  }

  .solutions-card--small {
    height: 200px;
  }

  .solutions-card--large .solutions-card__title,
  .solutions-card--wide .solutions-card__title {
    font-size: 28px;
  }

  .solutions-card--small .solutions-card__title {
    font-size: 18px;
    line-height: 1.1;
  }

  .solutions-card--wide .solutions-card__media {
    width: 42%;
  }

  .solutions-card--wide .solutions-card__title {
    left: 40%;
    width: 55%;
  }

  .features__title {
    margin-bottom: 48px;
    font-size: 28px;
  }

  .features__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    justify-items: center;
  }

  .features-item {
    max-width: 360px;
  }

  .products-filter__btn {
    flex: 1 1 auto;
    font-size: 14px;
    padding: 10px 14px;
  }

  .product-modal__close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 575px) {
  :root {
    --gutter: 15px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
    --hero-h: 100dvh;
  }

  .hero-slider {
    height: var(--hero-h);
    min-height: 0;
    max-height: 950px;
  }

  .logo-img { height: 32px; }

  .hero-slide__title {
    bottom: 400px;
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero-stats-bar {
    max-width: 100%;
    flex-direction: column;
  }

  .hero-stats-bar__item {
    padding: 14px 16px;
  }

  .hero-stats-bar__item + .hero-stats-bar__item {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .hero-stats-bar__value {
    font-size: 22px;
  }

  .about {
    padding: 104px 0 0;
  }

  .about__title {
    font-size: 24px;
  }

  .about__text {
    margin-top: 16px;
  }

  .solutions {
    padding: 104px 0 0;
  }

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

  .solutions-card--large,
  .solutions-card--small,
  .solutions-card--wide {
    height: 260px;
  }

  .solutions-card__media,
  .solutions-card--large .solutions-card__media,
  .solutions-card--small .solutions-card__media,
  .solutions-card--small:first-child .solutions-card__media,
  .solutions-card--small:last-child .solutions-card__media,
  .solutions-card--wide .solutions-card__media {
    left: 0;
    top: auto;
    bottom: 0;
    width: 55%;
    height: 70%;
    aspect-ratio: auto;
  }

  .solutions-card--wide .solutions-card__media img {
    position: absolute;
    left: 0;
    object-position: left bottom;
  }

  .solutions-card__title,
  .solutions-card--large .solutions-card__title,
  .solutions-card--small .solutions-card__title,
  .solutions-card--small:first-child .solutions-card__title,
  .solutions-card--small:last-child .solutions-card__title,
  .solutions-card--wide .solutions-card__title {
    left: auto;
    right: 16px;
    top: 16px;
    width: 48%;
    font-size: 20px;
    line-height: 1.15;
  }

  .features {
    padding: 104px 0 0;
  }

  .features__title {
    margin-bottom: 36px;
    font-size: 24px;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .features-item {
    max-width: 304px;
    margin: 0 auto;
  }

  .features-item__title {
    font-size: 22px;
  }

  .products {
    padding: 104px 0 0;
  }

  .products__title {
    margin-bottom: 28px;
    font-size: 24px;
  }

  .products-filter {
    flex-direction: column;
    margin-bottom: 32px;
  }

  .products-filter__btn,
  .products-filter__btn:first-child {
    width: 100%;
    border-width: 0.5px;
  }

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

  .products__more {
    margin-top: 40px;
  }

  .product-modal {
    padding: 16px;
  }

  .product-modal__panel {
    padding: 56px 16px 24px;
  }

  .product-modal__heading {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .product-modal__thumbs {
    gap: 8px;
    overflow-x: auto;
  }

  .product-modal__thumb {
    flex: 0 0 88px;
    width: 88px;
    height: 84px;
  }

  .product-modal__assortment-item {
    flex-basis: 160px;
    width: 160px;
  }

  .product-modal__assortment-media {
    height: 150px;
  }

  .product-modal__assortment-item p {
    font-size: 16px;
  }

  .news {
    padding: 104px 0 0;
  }

  .news-item__btn,
  .news-item--reverse .news-item__btn {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-item--reverse .news-item__btn {
    display: flex;
    flex-direction: column-reverse;
  }

  .news-item--reverse .news-item__content {
    text-align: left;
    align-items: flex-start;
  }

  .news-item__media,
  .news-item--reverse .news-item__media,
  .news-item:not(.news-item--reverse) .news-item__media {
    max-width: none;
    justify-self: stretch;
  }

  .news-item__title {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .news-item__text {
    margin-bottom: 20px;
  }

  .news-modal {
    padding: 16px;
  }

  .news-modal__panel {
    padding: 56px 16px 24px;
    max-height: calc(100vh - 32px);
  }

  .news-modal__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "title"
      "text";
    gap: 20px;
  }

  .news-modal__title {
    font-size: 22px;
    padding-right: 0;
    padding-top: 0;
  }

  .certificates {
    padding: 104px 0 104px;
  }

  .certificates__title {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .certificates__intro {
    margin-bottom: 32px;
  }

  .certificates__card {
    flex-basis: 85%;
    height: 150px;
  }

  .certificates__nav {
    margin-top: 24px;
    gap: 12px;
  }

  .certificates__nav-btn,
  .certificates__nav-btn img {
    width: 48px;
    height: 48px;
  }

  .values {
    min-height: 720px;
  }

  .values__media {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .values__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .values-card__title {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .values-card__line {
    margin-bottom: 16px;
  }

  .footer {
    padding-top: 32px;
  }

  .footer__logo {
    margin-bottom: 24px;
  }

  .footer__logo img {
    width: 200px;
    height: auto;
  }

  .footer__nav {
    gap: 10px 14px;
    margin-bottom: 24px;
  }

  .footer__address,
  .footer__contact-row,
  .footer__contact-row a {
    font-size: 16px;
    line-height: 1.4;
  }

  .footer__tagline {
    margin-bottom: 28px;
    font-size: 18px;
    padding: 0 8px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .footer__copy,
  .footer__credit {
    line-height: 1.4;
    font-size: 14px;
  }
}

/* ---------- Feedback modal (Figma node 130-279) ---------- */
.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.feedback-modal[hidden] { display: none; }

body.feedback-modal-open { overflow: hidden; }

.feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.feedback-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.feedback-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text);
  background: transparent;
  transition: opacity var(--transition);
}

.feedback-modal__close:hover { opacity: 0.65; }

.feedback-form-wrap {
  background: var(--white);
  padding: 25px;
  border-radius: 4px;
}

.feedback-form__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--red);
  margin-bottom: 28px;
}

.feedback-form__field {
  position: relative;
  margin-bottom: 24px;
}

.feedback-form__field label {
  position: absolute;
  top: 0;
  left: 12px;
  z-index: 1;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-muted);
  background: var(--white);
  transform: translateY(-50%);
}

.feedback-form__field .required { color: #fa0101; }

.feedback-form__field input,
.feedback-form__field textarea {
  width: 100%;
  padding: 16px 14px 12px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid #eaeaea;
  border-radius: 4px;
  transition: border-color var(--transition);
}

.feedback-form__field input:focus,
.feedback-form__field textarea:focus {
  outline: none;
  border-color: var(--red);
}

.feedback-form__field textarea {
  resize: vertical;
  min-height: 120px;
}

.feedback-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.btn-submit {
  padding: 12px 36px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--red);
  border-radius: 4px;
  transition: background var(--transition);
}

.btn-submit:hover { background: var(--red-dark); }

.feedback-form__note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.feedback-form__note.is-success { color: #0a7a3e; }
.feedback-form__note.is-error { color: var(--red); }

@media (max-width: 640px) {
  .feedback-form-wrap {
    padding: 25px;
  }

  .feedback-form__actions {
    justify-content: stretch;
  }

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

/* ---------- Inner pages (CMS) ---------- */
body.is-inner .header {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

body.is-inner .nav a { color: var(--text); }
body.is-inner .nav a:hover { color: var(--red); }
body.is-inner .nav a.is-active { color: #D92028; }
body.is-inner .header-icon-btn { color: var(--text); }
body.is-inner .lang-globe-icon { color: var(--text); }
body.is-inner .menu-toggle { color: var(--text); }

.inner-page {
  padding: 48px 0 80px;
}

.inner-page__title {
  margin: 24px 0 20px;
  font-size: 36px;
  line-height: 1.25;
}

.inner-page__media {
  margin: 0 0 24px;
}

.inner-page__media img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}

.inner-page__content {
  max-width: 900px;
}

.inner-page__contacts {
  margin: 24px 0;
  display: grid;
  gap: 8px;
}

.inner-page__pagination {
  margin-top: 32px;
}

.bread-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 14px;
  color: var(--text-muted);
}

.bread-crumbs__link {
  color: var(--text-muted);
}

.bread-crumbs__link_active {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 767px) {
  .inner-page__title {
    font-size: 28px;
  }
}
