/* Graphie Font Family */
@font-face {
  font-family: 'Graphie';
  src: url('../fonts/graphie/Graphie-Italic.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Graphie';
  src: url('../fonts/graphie/Graphie-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  position: relative;
}

/* Slightly larger typography for English locale */
html[lang^="en"] {
  font-size: calc(16px + 0.1rem);
}

/* English: footer a bit larger on top of the global bump */
html[lang^="en"] .footer-heading {
  font-size: calc(1.3rem + 0.1rem);
}

@media (max-width: 767px) {
  html[lang^="en"] .footer-heading {
    font-size: calc(1.1rem + 0.1rem);
  }
}

html[lang^="en"] .footer-nav,
html[lang^="en"] .footer-text {
  font-size: calc(clamp(0.9rem, 1.1vw, 1.15rem) + 0.3rem);
}

html[lang^="en"] .footer-copy {
  font-size: calc(0.85rem + 0.3rem);
}

html[lang^="en"] .footer-social-icon::before {
  font-size: calc(0.95rem + 0.3rem);
}

/* All Products page */
.all-products-page {
  background: #ffffff;
}

.header-link-active {
  color: #000000;
}

.all-products-main {
  background: #ffffff;
}

/* Breadcrumb strip — отдельная полоска под хедером, выравнивание как у логотипа */
.all-products-breadcrumb-strip {
  background: #ffffff;
  padding: 0.75rem 0 0.85rem;
}

.all-products-breadcrumb-inner {
  padding-left: 1.25rem;
  padding-right: 4rem;
}

@media (min-width: 768px) {
  .all-products-breadcrumb-inner {
    padding-left: 1.25rem;
    padding-right: 5rem;
  }
}

@media (min-width: 1024px) {
  .all-products-breadcrumb-inner {
    padding-left: 1.25rem;
    padding-right: 6rem;
  }
}

.all-products-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.15rem;
  font-size: 0.8rem;
  font-weight: 400;
  flex-wrap: wrap;
}

.all-products-breadcrumb a {
  color: #111827;
  text-decoration: none;
}

.all-products-breadcrumb a:hover {
  color: #4b5563;
}

.all-products-breadcrumb .breadcrumb-sep {
  color: #111827;
  font-weight: 500;
  user-select: none;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.all-products-breadcrumb svg.breadcrumb-sep {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 0.1rem;
}

.all-products-breadcrumb .breadcrumb-current {
  color: #111827;
}

/* Product page breadcrumb — Home / All Products / Product name */
.product-page-breadcrumb-strip {
  background: #ffffff;
  padding: 1.4rem 0 2rem;
}

.product-page-breadcrumb-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 2.625rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .product-page-breadcrumb-inner {
    padding-left: 2.625rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .product-page-breadcrumb-inner {
    padding-left: 2.625rem;
    padding-right: 3.5rem;
  }
}

.product-page-prev-next {
  font-size: 0.9rem;
  line-height: 1;
  color: #111827;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-top: -0.12rem;
}

.product-page-prev-next a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  line-height: 1;
}

.product-page-prev-next a:hover {
  color: #6b7280;
}

.product-page-prev-next-arrow {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

.product-page-prev-next-arrow-left {
  transform: rotate(180deg);
}

.product-page-prev-next-sep {
  margin: 0 0.35rem;
  user-select: none;
}

.product-page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.05rem 0.15rem;
  font-size: 0.9rem;
  font-weight: 400;
  flex-wrap: wrap;
}

.product-page-breadcrumb a {
  color: #111827;
  text-decoration: none;
}

.product-page-breadcrumb a:hover {
  color: #4b5563;
}

.product-page-breadcrumb .breadcrumb-sep {
  color: #111827;
  user-select: none;
  flex-shrink: 0;
}

.product-page-breadcrumb .breadcrumb-current {
  color: #111827;
}

.product-page-main {
  background: #fff;
}

.product-page-section {
  padding: 0.35rem 1.1rem 2.5rem;
  padding-left: 2.625rem;
  padding-right: 2.625rem;
}

@media (min-width: 768px) {
  .product-page-section {
    padding-left: 2.625rem;
    padding-right: 2.625rem;
  }
}

@media (min-width: 1024px) {
  .product-page-section {
    padding-left: 2.625rem;
    padding-right: 2.625rem;
  }
}

.product-page-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.4fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 4vw, 2rem);
  align-items: start;
}

.product-gallery-main {
  width: 100%;
  min-height: 320px;
  background: #f3f3f3;
  position: relative;
  overflow: hidden;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 1;
}

/* Desktop: main image in flow so layout and thumbs are correct */
.product-gallery-main #product-main-image {
  position: relative;
  z-index: 1;
  transform: translateX(0);
  opacity: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.product-gallery-main .product-main-image-incoming {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

.product-gallery-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #6b7280;
  font-size: 1.5rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
}

.product-gallery-nav-prev {
  left: 0.65rem;
}

.product-gallery-nav-next {
  right: 0.65rem;
}

.product-gallery-nav:hover {
  color: #111827;
}

.product-gallery-main .product-filmstrip-track {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
  opacity: 1;
}

.product-gallery-main .product-filmstrip-frame {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-gallery-thumbs {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.product-thumb {
  width: 60px;
  height: 60px;
  border: 1px solid transparent;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-thumb.is-active {
  opacity: 0.6;
}

.product-thumb:hover {
  border-color: #9ca3af;
}

.product-info-title {
  margin: 0;
  font-size: clamp(1.1rem, 1.7vw, 1.6rem);
  font-weight: 600;
  color: #111827;
}

.product-info-description {
  margin: 1.2rem 0 2.6rem;
  color: #4b5563;
  font-size: 0.94rem;
  line-height: 1.25;
  max-width: 84ch;
}

.product-info-description p {
  margin: 0 0 0.9rem;
}

.product-info-description ul,
.product-info-description ol {
  margin: 0 0 0.9rem 1.2rem;
  padding: 0;
}

.product-info-description .product-info {
  display: contents;
}

.product-info-description .product-info-title,
.product-info-description .product-accordion {
  display: none;
}

.product-accordion-item {
  border-bottom: 1px solid #d4d4d4;
}

.product-accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.8rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-accordion-item summary::-webkit-details-marker {
  display: none;
}

.product-accordion-icon {
  flex-shrink: 0;
  width: 12px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.product-accordion-icon::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 12px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.product-accordion-item[open] .product-accordion-icon::before {
  opacity: 0;
}

.product-accordion-content {
  padding: 0 0 0.95rem;
  color: #111827;
  font-size: 0.88rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.product-accordion-item[open] .product-accordion-content {
  opacity: 1;
  transform: translateY(0);
}

.product-subheading {
  margin: 0.35rem 0 0;
  font-weight: 600;
  color: #111827;
}

.product-accordion-content ul {
  margin: 0 0 1.5rem;
  padding-left: 1.4rem;
  list-style-type: disc;
}

.product-download-link {
  color: #111827;
  text-decoration: none;
  border-bottom: 1px solid #111827;
}

.product-download-link:hover {
  color: #4b5563;
}

@media (max-width: 960px) {
  .product-page-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .product-page-section {
    padding-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .product-page-section {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .product-gallery-main {
    min-height: 0;
    aspect-ratio: auto;
    background: transparent;
    touch-action: pan-y;
  }

  .product-gallery-main #product-main-image,
  .product-gallery-main .product-main-image-incoming {
    object-fit: contain;
    object-position: center;
  }

  .product-gallery-main #product-main-image {
    position: relative;
    inset: auto;
    height: auto;
  }

  .product-gallery-main .product-main-image-incoming {
    height: 100%;
  }

  .product-gallery-nav {
    display: inline-flex;
  }

  .product-page-breadcrumb-inner {
    gap: 0.65rem;
    flex-wrap: wrap;
  }
}

.all-products-hero-block {
  color: #ffffff;
  /* 1. Высота блока: верх/низ — увеличь первые числа в clamp для большей высоты */
  padding: clamp(1.75rem, 4.5vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.all-products-hero-inner {
  max-width: 40rem;
}

.all-products-hero-block .all-products-title {
  /* 2. Размер заголовка: увеличь числа в clamp для крупнее */
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.35rem;
}

.all-products-hero-block .all-products-subtitle {
  /* 3. Размер подзаголовка: уменьшь числа в clamp для мельче */
  font-size: clamp(0.7rem, 1.1vw, 0.8125rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Две колонки: сайдбар + основной контент (то же горизонтальное выравнивание, что и хедер) */
.all-products-content {
  padding: clamp(0.75rem, 2.5vw, 1.5rem) 0 clamp(2rem, 6vw, 4rem);
}

.all-products-layout-wrap {
  padding-left: 1.2rem;
  padding-right: 1.1rem;
}

@media (min-width: 768px) {
  .all-products-layout-wrap {
    padding-left: 1.2rem;
    padding-right: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .all-products-layout-wrap {
    padding-left: 1.2rem;
    padding-right: 1.1rem;
  }
}

.all-products-layout {
  display: grid;
  grid-template-columns: minmax(100px, 250px) minmax(280px, 1fr);
  gap: clamp(1.5rem, 1.8vw, 3rem);
  align-items: start;
}

.all-products-sidebar {
  background: #ffffff;
  padding-left: 0;
}

.sidebar-section {
  margin-bottom: 3rem;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-heading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.7rem;
  letter-spacing: 0.02em;
}

.sidebar-sep {
  border: 0;
  height: 1px;
  background: #e5e7eb;
  /* margin: 0 0 0.75rem; */
}

.sidebar-categories {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.sidebar-categories a {
  text-decoration: none;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 400;
}

.sidebar-categories a:hover {
  color: #111827;
  text-decoration: underline;
}

.filter-groups {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.filter-group {
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.filter-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: #111827;
  list-style: none;
  cursor: pointer;
  gap: 0.5rem;
}

.filter-group-head::-webkit-details-marker,
.filter-group-head::marker {
  display: none;
}

.filter-group-head:hover {
  color: #4b5563;
}

.filter-group-icon {
  flex-shrink: 0;
  width: 12px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.filter-group-icon::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 12px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.filter-group[open] .filter-group-icon::before {
  opacity: 0;
}

.filter-check-list {
  list-style: none;
  padding: 0 0 0.75rem 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.filter-group[open] .filter-check-list {
  opacity: 1;
  transform: translateY(0);
}

.filter-check-list label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.66rem;
  font-weight: 400;
  color: #111827;
  cursor: pointer;
}

.filter-check-list label:hover {
  color: #6b7280;
}

.filter-check-list input[type="checkbox"] {
  width: 0.875rem;
  height: 0.875rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: #111827;
  cursor: pointer;
  border-radius: 0;
  appearance: none;
  border: 1px solid #111827;
}

.filter-check-list input[type="checkbox"]:checked {
  background: #ffffff;
  border-color: #374151;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 80% 80%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
}

.all-products-results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.active-filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: -0.25rem;
}

.active-filters-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem 0.35rem 0.6rem;
  background: #f3f4f6;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 400;
  color: #111827;
}

.active-filter-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  color: #111827;
  cursor: pointer;
  border-radius: 2px;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.active-filter-chip-remove:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #374151;
}

.active-filter-chip-remove svg {
  width: 0.65rem;
  height: 0.65rem;
}

.active-filters-clear-all {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 400;
  color: #111827;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 0.25rem;
}

.active-filters-clear-all:hover {
  color: #374151;
}

.all-products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
}

/* Filter & Sort button */
.filter-sort-btn {
  display: none;
  padding: 0;
  border: none;
  background: transparent;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* Filter & Sort sidebar */
.filter-sort-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #f7f7f7;
  z-index: 10004;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.filter-sort-open .filter-sort-sidebar {
  transform: translateX(0);
}

body.filter-sort-open {
  overflow: hidden;
}

/* Чтобы сайдбар Filter & Sort был поверх хедера: он внутри main (z-index:1), хедер 100 — поднимаем main при открытии */
body.filter-sort-open main {
  z-index: 10003 !important;
  position: relative;
}

.filter-sort-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid #d1d5db;
  background: #f7f7f7;
  flex-shrink: 0;
  z-index: 10005;
}

.filter-sort-content {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding: 0 1rem;
}

.filter-sort-sidebar .filter-group-head {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.filter-sort-sidebar .filter-check-list input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 0.9rem;
  height: 0.9rem;
  border: 1px solid #8d8d8d;
  border-radius: 50%;
  background: #ffffff;
  margin: 0;
  cursor: pointer;
}

.filter-sort-sidebar .filter-check-list input[type="radio"]:checked {
  border-color: #8d8d8d;
  background-image: radial-gradient(circle, #8d8d8d 38%, transparent 40%);
}

.filter-sort-footer {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid #d1d5db;
  background: #f7f7f7;
  flex-shrink: 0;
  z-index: 10005;
}

.filter-sort-clear,
.filter-sort-apply {
  flex: 1;
  height: 2.9rem;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
}

.filter-sort-clear {
  border: 1px solid #1f2937;
  background: #ffffff;
  color: #1f2937;
  transition: opacity 0.2s ease;
}

.filter-sort-clear:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.filter-sort-apply {
  background: #1f2937;
  color: #ffffff;
}

.filter-sort-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.05;
}

.filter-sort-count {
  margin: 0.15rem 0 0;
  color: #4b5563;
  font-size: 0.82rem;
}

.filter-sort-close {
  border: none;
  background: transparent;
  color: #111827;
  padding: 0.1rem 0.15rem;
  line-height: 1;
  font-size: 1.8rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* Show Filter & Sort button on mobile/tablet, hide sort dropdown; search & all-products: show only results */
@media (max-width: 1023px) {
  .filter-sort-btn {
    display: inline-block;
  }

  .results-sort {
    display: none !important;
  }

  body.search-page .all-products-layout-wrap,
  body.all-products-page .all-products-layout-wrap {
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
    max-width: 100%;
  }

  body.search-page .all-products-layout,
  body.all-products-page .all-products-layout {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
  }

  body.search-page .all-products-sidebar,
  body.all-products-page .all-products-sidebar {
    display: none;
  }

  body.search-page .all-products-results,
  body.all-products-page .all-products-results {
    min-width: 0;
    width: 100%;
  }
}

.all-products-toolbar>div:first-child {
  min-width: 0;
}

.results-count {
  font-size: 0.8rem;
  color: #111827;
}

.results-sort {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #111827;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.results-sort-label {
  color: #111827;
  font-weight: 500;
}

.results-sort-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem 0.35rem 0.2rem;
  background: transparent;
  border: none;
  font-size: inherit;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  border-radius: 0.375rem;
  outline: none;
}

.results-sort-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 0.15rem;
  transition: transform 0.2s ease;
}

.results-sort.is-open .results-sort-caret {
  transform: rotate(180deg);
}

.results-sort-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  min-width: 10rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 40;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.results-sort.is-open .results-sort-dropdown {
  display: flex;
}

/* Prevent horizontal scroll when sort dropdown is open */
body.sort-dropdown-open {
  overflow-x: hidden;
}

.results-sort-option {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
  color: #111827;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.results-sort-option:hover,
.results-sort-option[aria-selected="true"] {
  background: #f3f4f6;
}

.all-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.product-image {
  display: block;
  position: relative;
  aspect-ratio: 460 / 340;
  overflow: hidden;
  border-radius: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.product-image-primary,
.product-image-secondary {
  position: absolute;
  inset: 0;
  transition: opacity 0.35s ease;
}

.product-image-primary {
  opacity: 1;
}

.product-image-secondary {
  opacity: 0;
}

.product-card:hover .product-image-primary,
.product-card:focus-within .product-image-primary {
  opacity: 0;
}

.product-card:hover .product-image-secondary,
.product-card:focus-within .product-image-secondary {
  opacity: 1;
}

.product-name-link {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  color: #111827;
  text-decoration: none;
}

.product-name-link:hover {
  text-decoration: underline;
}

.load-more-btn {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #2a2a2a;
  border: none;
  color: #ffffff;
  padding: 0.55rem 9.6rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, text-decoration 0.2s ease;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.load-more-btn:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .load-more-btn {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.load-previous-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.load-previous-wrap .load-previous-btn {
  display: inline-block;
  text-decoration: none;
}

.load-previous-wrap .load-previous-btn:hover {
  text-decoration: underline;
}


@media (max-width: 1024px) {
  .all-products-layout {
    grid-template-columns: minmax(100px, 160px) minmax(260px, 1fr);
  }

  .all-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .all-products-grid {
    grid-template-columns: 1fr;
  }

  .all-products-toolbar {
    align-items: flex-start;
  }
}

/* Search page */
body.search-page .all-products-main {
  padding-top: 0.75rem;
}

body.search-page .search-page-top {
  padding: 1.5rem 0 1.1rem;
}

body.search-page .search-page-top-inner {
  max-width: 77rem;
  margin: 0 auto;
  padding: 0 1.1rem;
}

body.search-page .search-page-title {
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(1.7rem, 2.2vw, 2.1rem);
  font-weight: 600;
  color: #111827;
}

body.search-page .search-page-input-wrap {
  position: relative;
}

body.search-page .search-page-input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.4rem;
  height: 1.rem;
  color: #9ca3af;
  pointer-events: none;
}

body.search-page .search-page-input {
  width: 100%;
  border: 1px solid #111827;
  height: 3.5rem;
  font-size: 1.2rem;
  color: #111827;
  background: #ffffff;
  padding: 0 3rem 0 2.35rem;
  outline: none;
}

body.search-page .search-page-input::placeholder {
  color: #9ca3af;
}

body.search-page .search-page-input:focus {
  border-color: #111827;
}

/* Скрываем встроенный крестик браузера для input type="search" */
body.search-page .search-page-input::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
}

body.search-page .search-page-clear {
  z-index: 10;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-clear,
.header-search-clear-mobile {
  z-index: 10;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.search-page .all-products-layout-wrap {
  max-width: 77rem;
  margin: 0 auto;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

body.search-page .filter-group-head,
body.all-products-page .filter-group-head {
  font-size: 0.9rem;
  color: #5c5c5c;
}

body.search-page .filter-check-list label,
body.all-products-page .filter-check-list label {
  font-size: 0.8rem;
  color: #5c5c5c;
}

body.search-page .filter-check-list label:hover,
body.all-products-page .filter-check-list label:hover {
  color: #111827;
}

body.search-page .filter-check-list input[type="checkbox"],
body.all-products-page .filter-check-list input[type="checkbox"] {
  border-color: #5c5c5c;
}

body.search-page .filter-group[open] .filter-check-list,
body.all-products-page .filter-group[open] .filter-check-list {
  gap: 0.28rem;
}

body.search-page .filter-check-list input[type="checkbox"]:hover,
body.all-products-page .filter-check-list input[type="checkbox"]:hover {
  border-color: #111827;
}

body.search-page .all-products-content {
  padding-top: 0;
}

body.search-page .all-products-content.is-loading {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

body.search-page .results-count {
  color: #5c5c5c;
}

body.search-page .results-sort-trigger {
  color: #5c5c5c;
}

body.search-page .results-sort-trigger:hover {
  color: #8d8d8d;
}

body.search-page .all-products-layout {
  grid-template-columns: minmax(170px, 205px) minmax(0, 1fr);
  gap: clamp(1.4rem, 2vw, 2.4rem);
}

body.search-page .all-products-results {
  gap: 1.1rem;
  margin-top: 0.2rem;
}

body.search-page .all-products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

body.search-page .product-image {
  aspect-ratio: 430 / 320;
}

body.search-page .product-name-link {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  line-height: 1.28;
}

body.search-page .sidebar-section {
  margin-bottom: 1.5rem;
  padding-top: 0.4rem;
}

body.search-page .sidebar-heading {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

body.search-page .load-more-btn,
body.search-page .load-previous-wrap .load-previous-btn {
  background: #fff;
  box-shadow: none;
  border: 1px solid #111827;
  color: #111827;
  padding: 0.75rem 3.5rem;
  border-radius: 0;
  font-size: 0.98rem;
}

@media (max-width: 1024px) {
  body.search-page .all-products-layout {
    grid-template-columns: minmax(150px, 185px) minmax(0, 1fr);
  }

  body.search-page .all-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.search-page .search-page-top {
    padding-top: 0.5rem;
  }

  body.search-page .all-products-layout-wrap {
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
    max-width: 100%;
  }

  body.search-page .all-products-layout {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
  }

  body.search-page .all-products-grid {
    grid-template-columns: 1fr;
  }

  body.search-page .all-products-sidebar {
    display: none;
  }

  body.search-page .all-products-results {
    width: 100%;
  }

  body.search-page .sidebar-heading,
  body.search-page .filter-group-head,
  body.all-products-page .sidebar-heading,
  body.all-products-page .filter-group-head {
    font-size: 1.1rem;
  }

  body.search-page .filter-group-head,
  body.all-products-page .filter-group-head {
    padding: 1rem 0;
  }

  body.search-page .filter-check-list,
  body.all-products-page .filter-check-list {
    padding-bottom: 0.5rem;
  }

  body.search-page .filter-check-list label,
  body.all-products-page .filter-check-list label {
    font-size: 1rem;
    gap: 0.4rem;
  }

  body.search-page .filter-check-list input[type="checkbox"],
  body.all-products-page .filter-check-list input[type="checkbox"] {
    width: 0.8rem;
    height: 0.8rem;
  }
}

/* Projects page: split hero section */
body.projects-page .projects-hero-split {
  display: grid;
  grid-template-columns: 48.7% 51.3%;
  width: 100%;
  min-height: 100vh;
}

body.projects-page .projects-hero-split-left {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body.projects-page .projects-hero-split-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 50%;
  display: block;
}

body.projects-page .projects-hero-split-right {
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: grid;
  grid-template-rows: 67% 33%;
}

body.projects-page .projects-hero-split-col {
  padding: clamp(1.2rem, 3.5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.projects-page .projects-hero-split-col:first-child {
  align-items: center;
}

body.projects-page .projects-collaboration-content {
  padding: clamp(1.2rem, 3.5vw, 4.5rem);
  width: 100%;
}

body.projects-page .projects-collaboration-title,
body.projects-page .projects-collaboration-text,
body.projects-page .projects-collaboration-cta {
  text-align: left;
  width: 100%;
  max-width: 100%;
}

body.projects-page .projects-collaboration-title {
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  color: #111827;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

body.projects-page .projects-collaboration-text {
  margin: 0 0 clamp(1.2rem, 2.5vw, 2rem);
  color: #4b5563;
  font-size: clamp(0.82rem, 1.15vw, 0.98rem);
  line-height: 1.4;
  max-width: 95%;
  padding-top: 1.2rem;
  padding-bottom: 1.8rem;
}

body.projects-page .projects-collaboration-cta {
  display: inline-block;
  color: #111827;
  text-decoration: none;
  font-size: clamp(0.82rem, 1.15vw, 0.98rem);
  border: 1px solid #111827;
  border-radius: 10px;
  padding: clamp(0.75rem, 1vw, 0.75rem) clamp(0.9rem, 1vw, 0.9rem);
  transition: background-color 0.2s ease, color 0.2s ease;
  width: auto;
}

body.projects-page .projects-collaboration-cta span {
  display: inline-block;
  transition: transform 0.2s ease;
}

body.projects-page .projects-collaboration-cta:hover {
  background-color: #111827;
  color: #ffffff;
}

body.projects-page .projects-collaboration-cta:hover span {
  transform: scale(0.9);
}

body.projects-page .projects-images-row {
  display: flex;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  align-items: stretch;
}

body.projects-page .projects-image-item {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* Адаптивность для уменьшенных окон - НЕ ТРОГАЕТ ПОЛНОЕ ОКНО */
@media (max-width: 1023px) {
  body.projects-page .projects-hero-split {
    min-height: auto;
    grid-template-columns: 54% 46%;
  }

  body.projects-page .projects-hero-split-right {
    grid-template-rows: auto auto;
  }

  body.projects-page .projects-hero-split-col {
    padding: clamp(1rem, 2.5vw, 1.2rem);
  }

  body.projects-page .projects-collaboration-content {
    padding: clamp(1rem, 2.5vw, 1.2rem);
  }

  body.projects-page .projects-collaboration-title {
    font-size: clamp(1.45rem, 2.5vw, 1.6rem);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
  }

  body.projects-page .projects-collaboration-text {
    font-size: clamp(0.8rem, 1vw, 0.82rem);
    margin-bottom: clamp(1rem, 2vw, 1.2rem);
    padding-top: clamp(0.8rem, 1.5vw, 1.2rem);
    padding-bottom: clamp(1.2rem, 2vw, 1.8rem);
  }

  body.projects-page .projects-collaboration-cta {
    font-size: clamp(0.75rem, 1vw, 0.82rem);
    padding: clamp(0.4rem, 0.8vw, 0.5rem) clamp(0.4rem, 0.8vw, 0.5rem);
  }

  body.projects-page .projects-images-row {
    gap: clamp(0.3rem, 1vw, 0.5rem);
    flex-wrap: nowrap;
    height: auto;
    align-items: flex-start;
  }

  body.projects-page .projects-image-item {
    min-width: 0;
    flex: 1 1 0;
    width: 0;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* Tablet fix (including 1024px): prevent projects row images from stretching */
@media (max-width: 1100px) {
  body.projects-page .projects-hero-split {
    min-height: auto;
  }

  body.projects-page .projects-hero-split-right {
    grid-template-rows: auto auto;
  }

  body.projects-page .projects-hero-split-col:last-child {
    justify-content: flex-start;
  }

  body.projects-page .projects-images-row {
    height: auto;
    min-height: 0;
    align-items: flex-start;
  }

  body.projects-page .projects-image-item {
    flex: 1 1 0;
    width: 0;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* Десктоп: на мобильном первом блоке показываем только desktop-картинку */
body.projects-page .projects-hero-split-image-mobile {
  display: none;
}

/* Мобильные: порядок — верхнее плоское фото → ряд из 3 фото → текст */
@media (max-width: 767px) {
  body.projects-page .projects-hero-split {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  body.projects-page .projects-hero-split-left {
    order: 1;
    flex-shrink: 0;
    height: auto;
    max-height: none;
    min-height: 0;
    position: relative;
    width: 100%;
  }

  body.projects-page .projects-hero-split-image-desktop {
    display: none;
  }

  body.projects-page .projects-hero-split-image-mobile {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: 50% 50%;
  }

  body.projects-page .projects-hero-split-right {
    display: flex;
    flex-direction: column;
    grid-template-rows: unset;
    order: 2;
  }

  body.projects-page .projects-hero-split-col:first-child {
    order: 3;
  }

  body.projects-page .projects-hero-split-col:last-child {
    order: 2;
  }

  body.projects-page .projects-hero-split-col {
    padding: clamp(1.75rem, 6vw, 2.5rem);
  }

  body.projects-page .projects-collaboration-content {
    padding: 0;
  }

  body.projects-page .projects-images-row {
    min-height: 0;
  }
}

/* Featured Projects section */
body.projects-page .featured-projects {
  background: #ffffff;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

body.projects-page .featured-projects-inner {
  max-width: 105rem;
  margin: 0 auto;
}

body.projects-page .featured-projects-title {
  font-family: inherit;
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-weight: 500;
  color: #111827;
  letter-spacing: 0.02em;
  margin: 0 0 clamp(1.5rem, 4vw, 3rem);
  text-align: left;
  padding-left: clamp(1.25rem, 4vw, 3.5rem);
}

body.projects-page .featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

body.projects-page .featured-project-card {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.projects-page .featured-project-card-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f2f2f2;
}

body.projects-page .featured-project-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.projects-page .featured-project-card-heading {
  font-family: inherit;
  font-size: clamp(0.85rem, 1.5vw, 0.85rem);
  font-weight: 500;
  color: #111827;
  margin: clamp(0.75rem, 1.5vw, 1rem) 0 1rem;
  line-height: 1.35;
}

body.projects-page .featured-project-card-text {
  font-size: clamp(0.75rem, 1.1vw, 0.75rem);
  color: #4b5563;
  line-height: 1.45;
  margin: 0;
}

body.projects-page .featured-project-card-text italic {
  font-style: italic;
}

@media (max-width: 767px) {
  body.projects-page .featured-projects-grid {
    grid-template-columns: 1fr;
  }

  body.projects-page .featured-projects {
    padding: clamp(1.75rem, 6vw, 2.5rem) clamp(1.75rem, 6vw, 2.5rem);
  }
}

/* Reference Projects section */
body.projects-page .reference-projects {
  background: #f5f5f5;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

body.projects-page .reference-projects-inner {
  max-width: 94rem;
  margin: 0 auto;
}

body.projects-page .reference-projects-title {
  font-family: inherit;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: #111827;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  text-align: center;
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.projects-page .reference-projects-title {
    font-weight: 600;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  }
}

body.projects-page .reference-projects-subtitle {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: #6b7280;
  line-height: 1.45;
  text-align: center;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  body.projects-page .reference-projects-title {
    margin-left: clamp(1.25rem, 2vw, 2.5rem);
    margin-top: clamp(0.75rem, 3vw, 1.5rem);
    font-weight: 600;
    font-size: clamp(2rem, 2vw, 1.3rem);
    text-align: left;
  }

  body.projects-page .reference-projects-subtitle {
    margin-left: clamp(1.25rem, 2vw, 2.5rem);
    text-align: left !important;
  }
}

body.projects-page .reference-projects-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(2.5rem, 6vw, 2.5rem);
  align-items: stretch;
}

body.projects-page .reference-project-item {
  font-size: clamp(1.1875rem, 1.1vw, 1.1875rem);
  color: #374151;
  line-height: 1.4;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid #111827;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-sizing: border-box;
}

body.projects-page .reference-project-num {
  color: #111827;
  font-weight: 500;
  flex-shrink: 0;
  align-self: center;
}

body.projects-page .reference-project-text {
  margin-left: 1rem;
  flex: 1;
  min-width: 0;
}

body.projects-page .reference-project-name {
  font-weight: 600;
  color: #111827;
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.projects-page .reference-projects-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    position: relative;
  }

  body.projects-page .reference-projects-columns::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #111827;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
  }

  body.projects-page .reference-project-item:nth-child(odd) {
    border-right: 1px solid #111827;
  }

  body.projects-page .reference-project-item {
    padding-left: clamp(1rem, 3vw, 2rem);
    font-size: clamp(0.8rem, 1vw, 1rem);
  }
}

@media (max-width: 767px) {
  body.projects-page .reference-projects-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.projects-page .reference-projects {
    padding: clamp(1.75rem, 6vw, 2.5rem) clamp(1.75rem, 6vw, 2.5rem);
  }

  body.projects-page .reference-project-item {
    font-size: clamp(0.85rem, 1vw, 0.95rem);
  }

  body.projects-page .reference-project-item:last-child {
    border-bottom: none;
  }
}

/* Always list every reference row on all breakpoints (overrides older hide-every-second-row + order hacks) */
body.projects-page .reference-projects-columns > .reference-project-item {
  display: flex;
  order: 0;
}

/* Hotel Partners section */
body.projects-page .hotel-partners {
  background: #ffffff;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

body.projects-page .hotel-partners-inner {
  max-width: 85rem;
  margin: 0 auto;
}

body.projects-page .hotel-partners-title {
  font-family: inherit;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: #111827;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  text-align: center;
}

body.projects-page .hotel-partners-subtitle {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: #6b7280;
  line-height: 1.45;
  text-align: center;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

body.projects-page .hotel-partners-logos {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  width: 100%;
}

body.projects-page .hotel-partner-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(0.5rem, 1vw, 1rem);
}

body.projects-page .hotel-partner-logo-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

body.projects-page .hotel-partner-logo-image:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.projects-page .hotel-partners-logos {
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
  }

  body.projects-page .hotel-partner-logo {
    padding: 0 clamp(0.4rem, 0.8vw, 0.8rem);
  }

  body.projects-page .hotel-partners-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  }
}

@media (max-width: 767px) {
  body.projects-page .hotel-partners {
    padding: clamp(1.75rem, 6vw, 2.5rem) clamp(0.75rem, 2vw, 1rem);
  }

  body.projects-page .hotel-partners-logos {
    flex-wrap: nowrap;
    gap: clamp(0.25rem, 1vw, 0.5rem);
    overflow-x: visible;
  }

  body.projects-page .hotel-partner-logo {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 clamp(0.15rem, 0.5vw, 0.3rem);
  }

  body.projects-page .hotel-partner-logo-image {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  body.projects-page .hotel-partners-title {
    font-size: clamp(1.4rem, 2vw, 1.6rem);
    text-align: center;
  }

  body.projects-page .hotel-partners-subtitle {
    font-size: clamp(0.8rem, 1vw, 1rem);
    text-align: center !important;
    margin-left: 0;
    margin-right: 0;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile: иконка гамбургер/закрыть */
#menu-toggle:checked~.container-brand .menu-icon {
  display: none !important;
}

#menu-toggle:checked~.container-brand .close-icon {
  display: block !important;
}

/* Search bar below header (mobile) – overlay + slide-up animation */
#mobile-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

body.mobile-search-open #mobile-search-overlay {
  display: block;
  opacity: 1;
}

header.header-search-open {
  z-index: 10002;
}

.header-search-bar {
  transition: transform 0.35s ease, opacity 0.2s ease;
}

@media (max-width: 1023px) {
  .header-search-bar.hidden {
    display: none !important;
    pointer-events: none;
  }

  .header-search-bar.mobile-search-open {
    display: block !important;
    transform: translateY(50vh);
    pointer-events: auto;
  }

  .header-search-bar.mobile-search-open.visible {
    transform: translateY(0);
  }
}

@media (min-width: 1024px) {
  .header-search-bar.hidden {
    display: none !important;
  }
}

/* Header: фиксированный, всегда поверх контента при скролле */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

/* Когда меню открыто, header должен быть выше main, чтобы сайдбар был виден */
header:has(#menu-toggle:checked),
header.header-sidebar-closing {
  z-index: 10001;
}

main {
  position: relative;
  z-index: 1;
}

body {
  padding-top: 6.5rem;
}

@media (min-width: 1024px) {
  body {
    padding-top: 7rem;
  }
}

/* Header: всё по вертикали по центру */
.header-row {
  height: 6.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.375rem;
  box-sizing: border-box;
}

.header-row>* {
  align-self: center;
}

.header-nav {
  align-items: center;
}

.header-row .header-lang-flag,
.header-row input,
.header-row button {
  vertical-align: middle;
}

.header-row-edge {
  padding-left: 4rem;
  padding-right: 4rem;
}

@media (max-width: 767px) {
  .header-row-edge {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (min-width: 768px) {
  .header-row-edge {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

@media (min-width: 1024px) {
  .header-row-edge {
    padding-left: 7rem;
    padding-right: 7rem;
  }

  .header-row {
    height: 7rem;
  }
}

/* Логотип крупнее, по центру */
.header-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo-link .header-logo {
  display: block;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .header-row {
    position: relative;
  }

  .header-logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
  }
}

@media (min-width: 1024px) {
  .header-logo-link {
    position: static;
    transform: none;
  }

  .header-logo-link .header-logo {
    height: 6rem;
    min-height: 6rem;
    width: auto;
  }
}

/* Тексты меню крупнее и bold */
.header-nav a {
  font-size: 1.0625rem;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .header-row .header-logo {
    height: 5.5rem;
    min-height: 5.5rem;
    width: auto;
  }

  .header-row .header-menu-icon {
    width: 1.75rem;
    height: 1.75rem;
    min-width: 1.75rem;
    min-height: 1.75rem;
  }

  .header-row .header-lang-flag {
    width: 1.75rem;
    height: 1.75rem;
    min-width: 1.75rem;
    min-height: 1.75rem;
  }

  .header-row .header-search-icon {
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    min-height: 1.5rem;
  }
}

/* Mobile sidebar — открывается слева, поверх всего */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  background: #e5e7eb;
  z-index: 10000;
  transform: translateX(-100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: none;
  overflow-y: auto;
}

#menu-toggle:checked~#mobile-sidebar {
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@media (min-width: 1024px) {

  .mobile-sidebar,
  .mobile-sidebar-backdrop {
    display: none !important;
  }
}

#menu-toggle:checked~#mobile-sidebar {
  transform: translateX(0);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

#menu-toggle:checked~#mobile-sidebar-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.mobile-sidebar-inner {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mobile-sidebar-close {
  cursor: pointer;
  padding: 0.5rem;
  margin-bottom: 2rem;
  color: #374151;
}

.mobile-sidebar-close svg {
  width: 2.25rem;
  height: 2.25rem;
}

.mobile-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.mobile-sidebar-link {
  font-size: 1.25rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  padding: 0.5rem 0;
}

.mobile-sidebar-link:hover,
.mobile-sidebar-link-active {
  color: #c9a962;
}

.link-underline {
  position: relative;
}

.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.2s ease;
}

.link-underline:hover::after {
  width: 100%;
}

.animate-fade-in {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lang-select-wrapper {
  outline: none;
}

.lang-select-wrapper.open #lang-flag-display {
  box-shadow: 0 0 0 2px rgba(30, 58, 95, 0.4);
}

.lang-select-dropdown {
  border: 1px solid rgba(200,168,64,0.25);
  z-index: 1100 !important;
  background-color: #050d15;
  color: rgba(255,255,255,0.85);
}

/* Пробел между буквами у главных названий (умеренный) */
#about .about-heading-wrap h2,
#products h2,
.sustainability-text h2,
.highlights-label,
.highlights-title,
main section p.text-muted.uppercase,
footer h4 {
  letter-spacing: 0.06em;
}

/* Products section: адаптивный заголовок и стили */
.products-heading {
  font-size: clamp(0.9rem, 2.2vw, 2.5rem);
  font-weight: 700 !important;
}

.products-grid {
  gap: 8px;
}

@media (min-width: 768px) {
  .products-grid {
    gap: 10px;
  }
}

/* Кнопки на картинках: адаптивный размер и немного прозрачные */
.products-card-btn {
  background-color: rgba(255, 255, 255, 0.88);
  color: #111827;
  font-size: clamp(0.7rem, 1.2vw, 0.875rem);
  padding: clamp(0.4rem, 0.8vw, 0.5rem) clamp(0.75rem, 1.5vw, 1rem);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.products-card-btn:hover {
  background-color: #000;
  color: #fff;
}

/* Hero: на полном окне — до 72vh; при сужении уменьшается (50vw), не ниже 20vh */
section.hero-section {
  min-height: clamp(110px, 12vw + 50px, 380px);
  height: clamp(20vh, 50vw, calc(72vh - 30px));
}

/* About page: немного уменьшенная высота hero */
body.about-page section.hero-section {
  height: clamp(20vh, 50vw, calc(68vh - 30px));
}

/* Policy page: hero без фото, только фон #292929 */
body.policy-page section.hero-section {
  height: clamp(20vh, 50vw, calc(49vh - 30px));
}

/* Policy page: content width and h2 styling (match reference layout) */
body.policy-page .policy-content {
  max-width: 83rem;
  width: 100%;
}

body.policy-page .policy-content h2 {
  font-size: 2.2rem;
  font-weight: 555;
  color: #292929;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

body.policy-page .policy-content h2:first-child {
  margin-top: 0;
}

body.policy-page .policy-content p {
  font-size: 1.1rem;
  line-height: 1.3;
  color: #585858;
  font-weight: 300;
}

@media (max-width: 767px) {
  body.policy-page section.hero-section h1 {
    font-size: 2rem !important;
    letter-spacing: 0.05rem;
  }

  body.policy-page .policy-content-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  body.policy-page .policy-content {
    padding-bottom: 2rem;
  }

  body.policy-page .policy-content h2 {
    font-size: 1.25rem;
  }

  body.policy-page .policy-content p {
    font-size: 0.9375rem;
    line-height: 1.55;
  }
}

/* Terms page: same layout as policy but independent classes */
body.terms-page section.hero-section {
  height: clamp(20vh, 50vw, calc(49vh - 30px));
}

body.terms-page .terms-content {
  max-width: 83rem;
  padding-top: 2.5rem;
  padding-bottom: 15rem;
  width: 100%;
}

body.terms-page .terms-content h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #292929;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  line-height: 1.3;
}

body.terms-page .terms-content h2:first-child {
  margin-top: 0;
}

body.terms-page .terms-content p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #374151;
  font-weight: 400;
}

@media (max-width: 767px) {
  body.terms-page section.hero-section h1 {
    font-size: 2rem !important;
    letter-spacing: 0.05rem;
  }

  body.terms-page .terms-content-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  body.terms-page .terms-content {
    padding-bottom: 2rem;
  }

  body.terms-page .terms-content h2 {
    font-size: 1.25rem;
  }

  body.terms-page .terms-content p {
    font-size: 0.9375rem;
    line-height: 1.55;
  }
}

body.contact-page section.hero-section {
  height: clamp(20vh, 50vw, calc(80vh - 30px));
  min-height: clamp(20vh, 50vw, calc(80vh - 30px));
  display: block;
  overflow: hidden;
}

@media (min-width: 1024px) {
  body.contact-page section.hero-section {
    height: calc(80vh - 30px);
    min-height: calc(80vh - 30px);
  }
}

body.contact-page section.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.contact-page section.hero-section {
    height: clamp(20vh, 50vw, calc(68vh - 30px));
    min-height: clamp(20vh, 50vw, calc(68vh - 30px));
    display: block;
    overflow: hidden;
  }

  body.contact-page section.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 767px) {
  body.contact-page section.hero-section {
    height: clamp(20vh, 50vw, calc(68vh - 30px));
    min-height: clamp(20vh, 50vw, calc(68vh - 30px));
    display: block;
    overflow: hidden;
  }

  body.contact-page section.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* Contact Us section */
body.contact-page .contact-us-section {
  background: #ffffff;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: clamp(2.5rem, 6vw, 7rem);
  padding-bottom: clamp(2.5rem, 6vw, 7rem);
}

body.contact-page .contact-us-inner {
  max-width: 110rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}

@media (max-width: 1023px) {
  body.contact-page .contact-us-inner {
    display: flex;
    flex-direction: column;
  }
}

/* Анимация появления формы и видео только на десктопе */
@media (min-width: 1024px) {

  body.contact-page .contact-us-form,
  body.contact-page .contact-us-image-wrapper {
    opacity: 0;
    transform: translateX(-120px);
    transition: opacity 1.8s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 1.8s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: 0.4s;
  }

  body.contact-page .contact-us-section.is-visible .contact-us-form,
  body.contact-page .contact-us-section.is-visible .contact-us-image-wrapper {
    opacity: 1;
    transform: translateX(0);
  }

  body.contact-page .contact-us-image-wrapper {
    transition-delay: 0.6s;
  }
}

@media (max-width: 1023px) {

  /* Анимация появления видео и формы на мобильных */
  body.contact-page .contact-us-image-wrapper,
  body.contact-page .contact-us-form {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.8s ease, transform 1.8s ease;
  }

  body.contact-page .contact-us-image-wrapper.is-visible,
  body.contact-page .contact-us-form.is-visible {
    opacity: 1;
    transform: translateX(0);
  }
}

body.contact-page .contact-us-form-wrapper {
  padding-right: clamp(1rem, 2vw, 2rem);
}

body.contact-page .contact-us-title {
  font-family: inherit;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: #111827;
  letter-spacing: 0.02em;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: left;
}

/* На десктопе показываем заголовок внутри form-wrapper */
@media (min-width: 1024px) {
  body.contact-page .contact-us-title-mobile {
    display: none;
  }

  body.contact-page .contact-us-title-desktop {
    display: block;
  }
}

/* На мобильных заголовок вынесен наружу */
@media (max-width: 1023px) {
  body.contact-page .contact-us-title-mobile {
    display: block;
    order: 1;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
  }

  body.contact-page .contact-us-title-desktop {
    display: none;
  }

  body.contact-page .contact-us-image-wrapper {
    order: 2;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
  }

  body.contact-page .contact-us-form-wrapper {
    order: 3;
    padding-right: 0;
    padding-left: 0;
  }
}

body.contact-page .contact-us-form {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.2vw, 1.25rem);
  padding-left: clamp(1rem, 1.5vw, 1.8rem);
}

body.contact-page .contact-form-success {
  color: #059669;
  font-weight: 500;
  margin-bottom: 1rem;
}

body.contact-page .contact-form-error {
  color: #b91c1c;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

body.contact-page .contact-field-error {
  margin: 0;
  min-height: 0;
  font-size: 0.78rem;
  color: #b91c1c;
  line-height: 1.2;
  display: none;
}

body.contact-page .contact-field-error:not(:empty) {
  display: block;
  margin-top: 0.2rem;
}

body.contact-page .contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

body.contact-page .contact-form-label {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: #374151;
  font-weight: 500;
}

body.contact-page .contact-form-label .required {
  color: #111827;
}

body.contact-page .contact-form-input,
body.contact-page .contact-form-textarea {
  width: 100%;
  padding: clamp(0.5rem, 0.8vw, 0.65rem) clamp(0.75rem, 1vw, 0.9rem);
  border: 1px solid #6b7280;
  border-radius: 0;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-family: inherit;
  color: #111827;
  background: #ffffff;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

body.contact-page .contact-form-input:hover,
body.contact-page .contact-form-textarea:hover {
  border-color: #111827;
}

body.contact-page .contact-form-input:focus,
body.contact-page .contact-form-textarea:focus {
  outline: none;
  border-color: #111827;
}

body.contact-page .contact-form-input.error,
body.contact-page .contact-form-textarea.error {
  border-color: #dc2626 !important;
  background-color: #fff7f7;
}

body.contact-page .contact-phone-wrapper:has(.contact-phone-input:focus) .contact-phone-selector {
  border-top-color: #111827;
  border-left-color: #111827;
  border-bottom-color: #111827;
}

body.contact-page .contact-phone-wrapper:has(.contact-phone-input:focus) .contact-phone-input {
  border-color: #111827;
}

body.contact-page .contact-phone-wrapper.has-error .contact-phone-input {
  border-color: #dc2626 !important;
  background-color: #fff7f7;
}

body.contact-page .contact-phone-wrapper.has-error .contact-phone-selector {
  border-top-color: #dc2626 !important;
  border-left-color: #dc2626 !important;
  border-bottom-color: #dc2626 !important;
  color: #dc2626;
}

body.contact-page .contact-form-textarea {
  resize: none;
  height: 90px !important;
  min-height: 90px;
  line-height: 1.4;
  overflow-y: auto;
  box-sizing: border-box;
}

body.contact-page .contact-phone-wrapper {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}

body.contact-page .contact-phone-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #6b7280;
  border-top: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: none;
  max-height: 300px;
  overflow: hidden;
  flex-direction: column;
}

body.contact-page .contact-phone-wrapper:has(.contact-phone-selector[aria-expanded="true"]) .contact-phone-dropdown,
body.contact-page .contact-phone-dropdown.show {
  display: flex;
  border-color: #111827;
}

body.contact-page .contact-phone-wrapper:has(.contact-phone-selector[aria-expanded="true"]) .contact-phone-input,
body.contact-page .contact-phone-wrapper:has(.contact-phone-dropdown.show) .contact-phone-input {
  border-color: #111827;
}

body.contact-page .contact-phone-wrapper:has(.contact-phone-selector[aria-expanded="true"]) .contact-phone-selector,
body.contact-page .contact-phone-wrapper:has(.contact-phone-dropdown.show) .contact-phone-selector {
  border-top-color: #111827;
  border-left-color: #111827;
  border-bottom-color: #111827;
}

body.contact-page .contact-phone-search-wrapper {
  position: relative;
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

body.contact-page .contact-phone-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  pointer-events: none;
}

body.contact-page .contact-phone-search {
  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 2.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  font-size: 0.9rem;
  font-family: inherit;
  color: #111827;
  background: #ffffff;
  box-sizing: border-box;
}

body.contact-page .contact-phone-search:focus {
  outline: none;
  border-color: #111827;
}

body.contact-page .contact-phone-list {
  overflow-y: auto;
  max-height: 250px;
}

body.contact-page .contact-phone-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: none;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background-color 0.15s ease;
}

body.contact-page .contact-phone-option:hover,
body.contact-page .contact-phone-option.selected {
  background: #f3f4f6;
}

body.contact-page .contact-phone-flag {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

body.contact-page .contact-phone-country {
  flex: 1;
  font-size: 0.9rem;
  color: #111827;
}

body.contact-page .contact-phone-code {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}

body.contact-page .contact-phone-selector {
  display: flex;
  align-items: center;
  padding: 0 clamp(0.5rem, 0.8vw, 0.75rem);
  border: none;
  border-top: 1px solid #6b7280;
  border-left: 1px solid #6b7280;
  border-bottom: 1px solid #6b7280;
  border-right: none;
  border-radius: 0;
  background: #ffffff;
  cursor: pointer;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  transition: border-color 0.2s ease;
}

body.contact-page .contact-phone-wrapper:hover .contact-phone-selector {
  border-top-color: #111827;
  border-left-color: #111827;
  border-bottom-color: #111827;
}

body.contact-page .contact-phone-wrapper:hover .contact-phone-input {
  border-color: #111827;
}

body.contact-page .contact-phone-selector:hover {
  border-top-color: #111827;
  border-left-color: #111827;
  border-bottom-color: #111827;
}

body.contact-page .contact-phone-selector:hover~.contact-phone-input {
  border-color: #111827;
}

body.contact-page .contact-phone-input:hover {
  border-color: #111827;
}

body.contact-page .contact-phone-input:hover~.contact-phone-selector,
body.contact-page .contact-phone-wrapper:has(.contact-phone-input:hover) .contact-phone-selector {
  border-top-color: #111827;
  border-left-color: #111827;
  border-bottom-color: #111827;
}

body.contact-page .contact-phone-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  position: relative;
}

body.contact-page .contact-phone-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  flex-shrink: 0;
  color: currentColor;
}

body.contact-page .contact-phone-selected-flag {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 2px;
  object-fit: cover;
  display: none;
}

body.contact-page .contact-phone-arrow {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  flex-shrink: 0;
  color: #111827;
}

body.contact-page .contact-phone-input {
  border-radius: 0;
  border-left: none;
  flex: 1;
}

body.contact-page .contact-form-submit {
  padding: clamp(0.75rem, 1vw, 0.9rem) clamp(2rem, 3vw, 3rem);
  border: 1px solid #111827;
  border-radius: 25px;
  background: #ffffff;
  color: #111827;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  width: 100%;
  margin-top: 0.5rem;
  box-sizing: border-box;
}

body.contact-page .contact-form-submit:hover {
  background: #111827;
  color: #ffffff;
}

body.contact-page .contact-form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

body.contact-page .contact-toast {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  max-width: min(22rem, calc(100vw - 2.5rem));
  padding: 0.6rem 0.85rem;
  border-radius: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.3;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.18);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1200;
}

body.contact-page .contact-toast.show {
  opacity: 1;
  transform: translateY(0);
}

body.contact-page .contact-toast.is-success {
  background: #ecfdf3;
  color: #047857;
  border: 1px solid #86efac;
}

body.contact-page .contact-toast.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

body.contact-page .contact-us-image-wrapper {
  position: sticky;
  top: 2rem;
  height: 100%;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

body.contact-page .contact-us-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  flex: 1;
}

@media (max-width: 1023px) {
  body.contact-page .contact-us-inner {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
  }

  body.contact-page .contact-us-form-wrapper {
    padding-right: 0;
  }

  body.contact-page .contact-us-image-wrapper {
    position: relative;
    top: 0;
    height: auto;
    min-height: 0;
    display: block;
    overflow: visible;
  }

  body.contact-page .contact-us-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}

@media (max-width: 767px) {
  body.contact-page .contact-us-section {
    padding: clamp(1.75rem, 6vw, 2.5rem) clamp(1.75rem, 6vw, 2.5rem);
  }

  body.contact-page .contact-us-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  }
}

/* About Us: мобилка — одна колонка; уменьшенное окно и десктоп — две колонки, заголовок по верху */
.about-section .about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  max-width: 64rem;
  align-items: stretch;
}

/* About page: увеличенная ширина контейнера */
body.about-page .about-section .about-inner {
  max-width: 85rem !important;
  padding-left: 1.2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

body.about-page .about-grid {
  max-width: 85rem !important;
}

@media (min-width: 768px) {
  body.about-page .about-section .about-inner {
    padding-left: 8.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@media (min-width: 1024px) {
  body.about-page .about-section .about-inner {
    padding-left: 9rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.about-heading-wrap {
  text-align: left;
}

/* Плавное уменьшение заголовков при уменьшении окна */
.about-heading-wrap h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
}

/* About page: уменьшенная межсимвольная дистанция для заголовка */
body.about-page .about-page-heading {
  letter-spacing: 0.02em;
  color: #292929;
}

.about-heading-wrap p {
  font-size: clamp(0.65rem, 1.2vw, 0.75rem);
  color: #292929;
}

.about-text {
  width: 100%;
  text-align: left;
  font-size: 13px;
}

@media (min-width: 768px) {
  .about-text {
    font-size: 14px;
  }
}

/* About page text: уменьшенный шрифт и увеличенная ширина */
.about-page-text {
  width: 100%;
  text-align: left;
  font-size: 12px;
  max-width: 100%;
}

@media (min-width: 768px) {
  .about-page-text {
    font-size: 13px;
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .about-page-text {
    max-width: 100%;
  }
}

/* Мобильное окно: увеличенные отступы от краёв — на .about-inner, чтобы не перезаписывался Tailwind */
@media (max-width: 767px) {
  .about-section .about-inner {
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
  }
}

/* Уменьшенное окно (не мобильное): две колонки, заголовок по верху, отступы от краёв */
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: auto 1fr;
    gap: 2rem 2.5rem;
    align-items: start;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .about-section {
    padding: clamp(1.5rem, 4vh, 2.5rem) clamp(1.5rem, 5vw, 2.5rem);
  }

  /* Отступ слева x3: у section от Tailwind ~1.5rem, добавляем на inner чтобы всего 4.5rem */
  .about-section .about-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 992px) {
  .about-grid {
    gap: 2rem 3rem;
  }
}

/* About page only: dual content section (does not affect index) */
/* Общие стили для блоков с фото и текстом */
body.about-page .about-alt-media-wrap,
body.about-page .about-alt-content {
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.about-page .about-alt-row-first .about-alt-media-wrap,
body.about-page .about-alt-row-first .about-alt-content {
  aspect-ratio: 857 / 754 !important;
}

body.about-page .about-alt-row-second .about-alt-media-wrap,
body.about-page .about-alt-row-second .about-alt-content {
  aspect-ratio: 800 / 619 !important;
}

body.about-page .about-alt-inner-first {
  max-width: 107rem !important;
}

body.about-page .about-alt-inner-second {
  max-width: 100rem !important;
}

body.about-page .about-alt-inner-second {
  margin-top: 1.6rem;
}

@media (min-width: 768px) {
  body.about-page .about-alt-inner-second {
    margin-top: 1.6rem;
  }
}

/* Фон для медиаблока */
body.about-page .about-alt-media-wrap {
  background: #f2f2f2;
  overflow: hidden;
}


/* Само изображение и обёртка текста остаются без изменений */
body.about-page .about-alt-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.about-page .about-alt-content-wrapper-first {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 0;
  /* На малых окнах общий padding почти исчезает, но слева остается небольшой отступ */
  padding-left: clamp(0.35rem, 1.1vw, 0.75rem);
  box-sizing: border-box;
}

body.about-page .about-alt-content-wrapper-second {
  position: absolute;
  top: 0;
  left: 0;
  width: 95%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 0;
  /* На малых окнах общий padding почти исчезает, но справа остается небольшой отступ */
  padding-right: clamp(0.35rem, 1.1vw, 0.75rem);
  box-sizing: border-box;
}

/* Средние окна: убираем обрезание текста в контент-блоках */
@media (min-width: 768px) and (max-width: 1280px) {

  body.about-page .about-alt-row-first .about-alt-content,
  body.about-page .about-alt-row-second .about-alt-content {
    aspect-ratio: auto !important;
    min-height: clamp(18rem, 34vw, 30rem);
    overflow: visible;
  }

  body.about-page .about-alt-content-wrapper-first,
  body.about-page .about-alt-content-wrapper-second {
    position: static;
    height: auto;
    width: 100%;
  }
}

body.about-page .about-alt-title {
  color: #111827;
  font-size: clamp(0.9rem, 4vw, 2.8rem);
  font-weight: 400 !important;
  font-style: italic;
  margin-bottom: clamp(0.35rem, 2.5vw, 1rem);
  letter-spacing: clamp(0.01em, 0.05vw, 0.02em);
  font-family: 'Cormorant Garamond', serif;
  text-align: left;
}

/* Year digits: same font as heading; italic + lining figures so they align with Armenian and stay readable */
body.about-page .about-alt-title .about-alt-title-year {
  font-family: inherit;
  font-style: italic;
  font-weight: inherit;
  letter-spacing: inherit;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-size: 1.06em;
}

body.about-page .about-alt-text {
  color: #111827;
  font-size: clamp(0.58rem, 1.35vw + 0.14rem, 1rem);
  line-height: clamp(1.3, 0.15vw + 1.2, 1.6);
  margin-bottom: clamp(0.4rem, 1.2vw, 0.75rem);
  font-weight: 400;
  text-align: left;
}

/* Стили для второй секции (второй строки) */
body.about-page .about-alt-row-second .about-alt-title {
  color: #111827;
  font-size: clamp(0.9rem, 4vw, 2.5rem);
  font-weight: 400 !important;
  font-style: normal;
  margin-bottom: clamp(0.35rem, 2.5vw, 1rem);
  letter-spacing: clamp(0.01em, 0.05vw, 0.02em);
  font-family: 'Cormorant Garamond', serif;
  text-align: left;
}

body.about-page .about-alt-row-second .about-alt-text {
  color: #111827;
  font-size: clamp(0.58rem, 1.35vw + 0.14rem, 1rem);
  line-height: clamp(1.3, 0.15vw + 1.2, 1.6);
  margin-bottom: clamp(0.4rem, 1.2vw, 0.75rem);
  font-weight: 400;
  text-align: left;
}

/* Порядок элементов на мобильных: для второй секции сначала изображение, потом текст */
@media (max-width: 767px) {
  body.about-page .about-alt-section {
    padding-bottom: 0 !important;
  }

  body.about-page .about-alt-row-second .about-alt-content {
    order: 2;
  }

  body.about-page .about-alt-row-second .about-alt-media-wrap {
    order: 1;
  }

  /* Анимация появления картинки слева на мобильных - только для первой картинки */
  body.about-page .about-alt-row-first .about-alt-media-wrap {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.8s ease, transform 1.8s ease;
  }

  body.about-page .about-alt-row-first .about-alt-media-wrap.is-visible {
    opacity: 1;
    transform: translateX(0);
  }

  /* На узких экранах увеличиваем оглавления и мелкие тексты */
  body.about-page .about-alt-title,
  body.about-page .about-alt-row-second .about-alt-title {
    font-size: clamp(1.1rem, 4vw, 1.5rem) !important;
    margin-bottom: clamp(0.5rem, 2vw, 0.7rem) !important;
    line-height: 1.2;
  }

  body.about-page .about-alt-text,
  body.about-page .about-alt-row-second .about-alt-text,
  body.about-page .about-alt-note {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    line-height: 1.4;
    margin-bottom: clamp(0.4rem, 1vw, 0.6rem);
  }

  /* Добавляем padding для текстовых блоков на мобильных */
  body.about-page .about-alt-content-wrapper-first,
  body.about-page .about-alt-content-wrapper-second {
    padding: clamp(0.75rem, 2vw, 1.25rem) !important;
  }

  /* Убираем лишнюю высоту у обоих текстовых блоков на мобильных */
  body.about-page .about-alt-row-first .about-alt-content,
  body.about-page .about-alt-row-second .about-alt-content {
    aspect-ratio: auto !important;
    min-height: 0 !important;
  }

  /* "Established in 1930": такие же дистанции сверху/снизу, текст по центру */
  body.about-page .about-alt-row-first .about-alt-content-wrapper-first {
    position: static !important;
    height: auto !important;
    width: 100% !important;
    padding-top: clamp(1.1rem, 2.5vw, 1.4rem) !important;
    padding-bottom: clamp(0.5rem, 1.5vw, 0.85rem) !important;
    padding-left: clamp(0.6rem, 2vw, 1rem) !important;
    padding-right: clamp(0.6rem, 2vw, 1rem) !important;
  }

  /* Текст под картинкой, не поверх: убираем absolute на мобильных */
  body.about-page .about-alt-row-second .about-alt-content-wrapper-second {
    position: static !important;
    height: auto !important;
    width: 100% !important;
    padding-top: clamp(1.1rem, 2.5vw, 1.4rem) !important;
    padding-bottom: clamp(0.5rem, 1.5vw, 0.85rem) !important;
    padding-left: clamp(0.6rem, 2vw, 1rem) !important;
    padding-right: clamp(0.6rem, 2vw, 1rem) !important;
  }

  body.about-page .about-alt-inner-second {
    margin-top: 0.75rem;
  }
}

/* Средние экраны: дополнительное уменьшение заголовков */
@media (min-width: 768px) and (max-width: 1200px) {

  body.about-page .about-alt-title,
  body.about-page .about-alt-row-second .about-alt-title {
    font-size: clamp(1rem, 1vw, 1.8rem) !important;
    margin-bottom: clamp(0.4rem, 1vw, 0.7rem) !important;
  }
}

/* About page: Core Propositions section */
body.about-page .about-propositions-section {
  background: #f2f2f2;
}

body.about-page .about-propositions-inner {
  max-width: 115rem;
  margin: 0 auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

body.about-page .about-propositions-heading {
  color: #111827;
  font-size: clamp(1.1rem, 2vw, 2.7rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

body.about-page .about-propositions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.5rem, 1vw, 0.75rem);
  width: 100%;
}

body.about-page .about-proposition-card {
  background: #f8f8f8;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  padding-right: clamp(1.5rem, 3vw, 2rem);
  padding-left: clamp(1.5rem, 3vw, 2rem);
  padding-bottom: clamp(0.5rem, 3vw, 3.7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

/* Анимация появления только на десктопе - весь блок как один поезд */
@media (min-width: 1024px) {
  body.about-page .about-propositions-grid {
    opacity: 0;
    transform: translateX(-120px);
    transition: opacity 1.3s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 1.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  body.about-page .about-propositions-section.is-visible .about-propositions-grid {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1023px) {
  body.about-page .about-propositions-grid {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
}

body.about-page .about-proposition-icon-wrap {
  width: 100%;
  height: clamp(42px, 12vw, 82px);
  margin-bottom: clamp(0.5rem, 1vw, 1.5rem);
}

body.about-page .about-proposition-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.about-page .about-proposition-title {
  color: #111827;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

/* Мобильные устройства: уменьшенное содержимое карточек и отключение анимации */
@media (max-width: 1023px) {
  body.about-page .about-proposition-card {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
}

@media (max-width: 639px) {
  body.about-page .about-proposition-card {
    padding: clamp(1rem, 2.5vw, 1.25rem);
    padding-bottom: clamp(1rem, 2.5vw, 2rem);
  }

  body.about-page .about-proposition-icon-wrap {
    height: clamp(40px, 10vw, 60px);
    margin-bottom: clamp(0.5rem, 1.2vw, 0.9rem);
  }

  body.about-page .about-proposition-title {
    font-size: clamp(0.65rem, 1.4vw, 0.85rem);
  }
}

@media (min-width: 640px) {
  body.about-page .about-propositions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.5rem, 1vw, 0.75rem);
  }
}

@media (min-width: 1024px) {
  body.about-page .about-propositions-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.5rem, 1vw, 0.75rem);
  }
}

/* About page: Change Matters section */
body.about-page .about-change-section {
  background: #ffffff;
  padding: clamp(1rem, 3vw, 5rem);
  padding-bottom: clamp(1rem, 3vw, 1rem);
}

body.about-page .about-change-banner {
  width: 100%;
  height: clamp(280px, 40vw, 500px);
  overflow: hidden;
  background: #f2f2f2;
}

body.about-page .about-change-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.about-page .about-change-content {
  background: #ffffff;
}

body.about-page .about-change-inner {
  max-width: 100rem;
  width: 100%;
}

body.about-page .about-change-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.about-page .about-change-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
  }

  body.about-page .about-change-grid>article:first-child {
    grid-column: 1 / -1;
  }

  body.about-page .about-change-grid>article:nth-child(2),
  body.about-page .about-change-grid>article:nth-child(3) {
    padding-top: 0;
  }
}

@media (min-width: 1024px) {
  body.about-page .about-change-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
  }

  body.about-page .about-change-grid>article {
    padding-top: clamp(1rem, 3vw, 1rem);
  }

  body.about-page .about-change-grid>article:last-child {
    padding-left: clamp(2rem, 4vw, 3rem);
    margin-left: clamp(2rem, 4vw, 3rem);
  }
}

body.about-page .about-change-heading {
  color: #111827;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}

body.about-page .about-change-card {
  padding: 0;
}

body.about-page .about-change-card-title {
  color: #111827;
  font-size: clamp(1rem, 2vw, 1rem);
  font-weight: 600;
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
  letter-spacing: 0.02em;
}

body.about-page .about-change-card-text {
  color: #4b5563;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  line-height: 1.6;
  margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

body.about-page .about-change-card-note {
  font-style: italic;
  color: #6b7280;
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  line-height: 1.4;
  margin-top: 0.5rem;
}

/* Анимация появления карточек на мобильных (кроме первого элемента - заголовка) */
@media (max-width: 767px) {
  body.about-page .about-change-card:not(:first-child) {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.8s ease, transform 1.8s ease;
  }

  body.about-page .about-change-card:not(:first-child).is-visible {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Сетка: мобильная – одна колонка, десктоп – две равные */
body.about-page .about-alt-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 768px) {

  body.about-page .about-alt-row-first,
  body.about-page .about-alt-row-second {
    grid-template-columns: 1fr 1fr;
  }

  body.about-page .about-alt-content-wrapper-first {
    /* padding: clamp(0rem, 5vw - 2rem, 5rem); */
    /* Не даем левому отступу уйти в ноль */
    padding-left: clamp(1rem, 5vw - 2rem, 5rem);
  }

  body.about-page .about-alt-content-wrapper-second {
    padding-top: clamp(0rem, 6vw - 3rem, 8rem);
    padding-right: clamp(1rem, 6vw - 3rem, 8rem);
    padding-bottom: clamp(0rem, 12vw - 4rem, 18rem);
    padding-left: clamp(0rem, 6vw - 3rem, 8rem);
  }
}

/* Highlights section with sticky scroll — плавное масштабирование (clamp), не ломается при resize */
#highlights-section {
  position: relative;
  overflow: hidden;
  /* отступ картинок от краёв окна */
  --highlights-edge: clamp(1rem, 3vw, 2.5rem);
  /* на полном окне картинки чуть шире, сужаются по мере уменьшения (3 колонки) */
  --highlights-img-width: clamp(200px, 32vw, 600px);
  --highlights-img-height: clamp(460px, 62vw, 870px);
  --highlights-start: clamp(0.75rem, 1.2vw, 2rem);
  /* равномерный вертикальный зазор между верхней и нижней парой */
  --highlights-row-gap: clamp(1.25rem, 2.4vw, 2.5rem);
  /* высота блока из двух ровных рядов */
  --highlights-block-height: calc(2 * var(--highlights-img-height) + var(--highlights-row-gap));
  /* высота секции = старт + блок картинок + отступ снизу */
  min-height: calc(var(--highlights-start) + var(--highlights-block-height) + 4rem);
}

.highlights-image {
  position: absolute;
  width: var(--highlights-img-width);
  height: var(--highlights-img-height);
  background: #f2f2f2;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.5s ease, transform 1.5s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 1: первая картинка */
.highlights-image-1 {
  left: var(--highlights-edge);
  top: var(--highlights-start);
  transform: translateX(-150px);
}

/* 2: на одной высоте с 1 (ровный верхний ряд) */
.highlights-image-2 {
  right: var(--highlights-edge);
  top: var(--highlights-start);
  transform: translateX(150px);
}

/* 3: нижний ряд */
.highlights-image-3 {
  left: var(--highlights-edge);
  top: calc(var(--highlights-start) + var(--highlights-img-height) + var(--highlights-row-gap));
  transform: translateX(-150px);
}

/* 4: на одной высоте с 3 (ровный нижний ряд) */
.highlights-image-4 {
  right: var(--highlights-edge);
  top: calc(var(--highlights-start) + var(--highlights-img-height) + var(--highlights-row-gap));
  transform: translateX(150px);
}

.highlights-image.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* центр по вертикали блока картинок (от верха 1 до низа 4) */
.highlights-center-content {
  position: absolute;
  left: 50%;
  top: calc(var(--highlights-start) + var(--highlights-block-height) / 2);
  transform: translate(-50%, -50%);
  z-index: 10;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  width: min-content;
  min-width: 0;
}

.highlights-center-inner {
  pointer-events: auto;
  width: clamp(180px, 22vw, 320px);
  min-width: clamp(180px, 22vw, 320px);
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.highlights-heading-group {
  display: inline-block;
  width: max-content;
  max-width: 100%;
}

/* PRODUCT и Highlights одного размера */
.highlights-label,
.highlights-title {
  font-size: clamp(1rem, 2.2vw, 2rem);
}

.highlights-title {
  font-style: italic;
}

/* Цвета заголовков: PRODUCT — чёрный и жирный, Highlights — слегка серый */
#highlights-section .highlights-label {
  color: #111827;
  font-weight: 700;
}

#highlights-section .highlights-title {
  color: #1f2937;
}

/* перебиваем Tailwind: отступ между заголовком и описанием меньше */
.highlights-center-inner .highlights-title {
  margin-bottom: 0.5rem !important;
}

.highlights-center-inner .highlights-desc {
  margin-top: 0.25rem !important;
}

/* ширина описания и кнопки = ширине заголовка (только в уменьшенных окнах, задаётся через JS) */
.highlights-desc {
  font-size: clamp(0.75rem, 1.35vw, 0.9375rem);
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}

.highlights-cta {
  padding: clamp(0.45rem, 0.9vw, 0.75rem) clamp(1rem, 2vw, 2rem);
  font-size: clamp(0.7rem, 1.2vw, 0.875rem);
}

/* полное окно: заголовки крупнее и больше отступы */
@media (min-width: 1180px) {

  #highlights-section .highlights-label,
  #highlights-section .highlights-title {
    font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  }

  #highlights-section .highlights-center-inner .highlights-title {
    margin-bottom: 2.5rem !important;
  }

  #highlights-section .highlights-center-inner .highlights-desc {
    margin-top: 1.5rem !important;
  }
}

.highlights-center-content.is-visible {
  opacity: 1;
}

/* Sticky block sits under the fixed header with a small gap */
.highlights-center-content.is-sticky {
  position: fixed;
  top: calc(6.5rem + 1.25rem);
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 1024px) {
  .highlights-center-content.is-sticky {
    top: calc(7rem + 1.5rem);
  }
}

.highlights-center-content.is-bottom {
  position: absolute;
  top: auto;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
}

/* Мобильная раскладка: только 1 и 3, горизонтальные полосы, текст по середине */
@media (max-width: 768px) {

  .highlights-image-2,
  .highlights-image-4 {
    display: none !important;
  }

  .highlights-image-1,
  .highlights-image-3 {
    left: 0;
    right: 0;
    width: 100%;
    min-height: 152px;
  }

  .highlights-image-1 {
    top: 0;
    height: 32vh;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 1.4s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 2s ease;
  }

  .highlights-image-1.is-visible {
    transform: translateX(0);
    opacity: 1;
  }

  .highlights-image-3 {
    bottom: 0;
    top: auto;
    height: 100vw;
    max-height: 460px;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 1.4s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 2s ease;
  }

  .highlights-image-3.is-visible {
    transform: translateX(0);
    opacity: 1;
  }

  #highlights-section {
    min-height: calc(32vh + 100vw + 14vh + clamp(2rem, 8vw, 3.5rem) + clamp(1.5rem, 4vw, 2.5rem));
    --highlights-block-height: 100%;
  }

  .highlights-center-content {
    position: absolute !important;
    top: calc(32vh + 50vw + clamp(1.5rem, 4vw, 2.5rem)) !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  /* отключаем sticky-логику для мобильных */
  .highlights-center-content.is-sticky,
  .highlights-center-content.is-bottom {
    position: absolute !important;
    top: calc(32vh + 50vw + clamp(1.5rem, 4vw, 2.5rem)) !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    bottom: auto !important;
  }

  .highlights-center-inner {
    width: min(82vw, 460px);
    min-width: min(82vw, 460px);
    margin-bottom: clamp(2rem, 8vw, 3.5rem);
  }

  .highlights-label,
  .highlights-title {
    font-size: 1.6rem;
  }

  .highlights-desc {
    font-size: clamp(0.9rem, 3.2vw, 1.05rem);
  }

  .highlights-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 576px) {

  .highlights-image-2,
  .highlights-image-4 {
    display: none !important;
  }

  .highlights-image-1,
  .highlights-image-3 {
    left: 0;
    right: 0;
    width: 100%;
    min-height: 112px;
  }

  .highlights-image-1 {
    top: 0;
    height: 30vh;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 1.4s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 2s ease;
  }

  .highlights-image-1.is-visible {
    transform: translateX(0);
    opacity: 1;
  }

  .highlights-image-3 {
    bottom: 0;
    top: auto;
    height: 100vw;
    max-height: 380px;
    transform: translateX(-100%);
    opacity: 0;
    margin-top: clamp(2rem, 8vw, 3.5rem);
    transition: transform 1.4s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 2s ease;
  }

  .highlights-image-3.is-visible {
    transform: translateX(0);
    opacity: 1;
  }

  #highlights-section {
    min-height: calc(30vh + 100vw + 14vh + clamp(2rem, 8vw, 3.5rem) + clamp(1.5rem, 4vw, 2.5rem));
  }

  .highlights-center-content {
    position: absolute !important;
    top: calc(30vh + 26vw + clamp(1.5rem, 4vw, 2.5rem)) !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .highlights-center-content.is-sticky,
  .highlights-center-content.is-bottom {
    position: absolute !important;
    top: calc(30vh + 50vw + clamp(1.5rem, 4vw, 2.5rem)) !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    bottom: auto !important;
  }

  .highlights-center-inner {
    width: min(84vw, 430px);
    min-width: min(84vw, 430px);
    margin-bottom: clamp(2rem, 8vw, 3.5rem);
  }

  .highlights-label,
  .highlights-title {
    font-size: 1.45rem;
  }

  .highlights-desc {
    font-size: clamp(0.85rem, 3.4vw, 1rem);
  }

  .highlights-cta {
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
  }
}

/* Specified with industry leading hotels — как на макете */
.hotels-section {
  background: #dcd2c7;
  margin-top: 12px;
  /* как толщина бордера страницы (body::after) */
  padding-top: clamp(1.25rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.25rem, 3vw, 3rem);
}

.hotels-heading {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(0.65rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
  margin-bottom: clamp(0.6rem, 2vw, 1.75rem);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.95s;
}

@media (min-width: 768px) {
  .hotels-heading {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .hotels-heading {
    font-size: 1.25rem;
  }
}

.hotels-section.is-visible .hotels-heading {
  opacity: 1;
  transform: translateY(0);
}

.hotels-logos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.3rem, 1.2vw, 1rem) clamp(0.4rem, 1.8vw, 1.5rem);
  padding-left: clamp(2rem, 8vw, 0);
  padding-right: clamp(2rem, 8vw, 0);
  max-width: 90%;
  margin: 0 auto;
}

.hotels-logo {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.hotels-logo:nth-child(1) {
  transition-delay: 0.15s;
}

.hotels-logo:nth-child(2) {
  transition-delay: 0.35s;
}

.hotels-logo:nth-child(3) {
  transition-delay: 0.55s;
}

.hotels-logo:nth-child(4) {
  transition-delay: 0.75s;
}

.hotels-logo:nth-child(5) {
  transition-delay: 0.95s;
}

.hotels-section.is-visible .hotels-logo {
  opacity: 1;
  transform: translateX(0);
}

.hotels-logo-img {
  width: 100%;
  max-width: 100%;
  height: clamp(2.5rem, 8vw, 11rem);
  object-fit: contain;
  filter: brightness(0) invert(1) brightness(1.15);
  opacity: 1;
}

/* Footer — отступ от края, текст крупнее */
.footer-main {
  background: #050d15;
  color: rgba(255,255,255,0.35);
  padding: 4rem 2.5rem 2.5rem;
  min-height: 100vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-main .footer-copy {
  flex-shrink: 0;
  margin-top: auto;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 767px) {
  .footer-main {
    min-height: auto;
  }

  .footer-main .footer-copy {
    margin-top: 0;
  }
}

/* Error Page Styles */
body.error-page {
  background: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  width: 100vw;
}

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 6.5rem);
  width: 100vw;
  padding: 2rem;
  box-sizing: border-box;
  margin-top: 6.5rem;
}

@media (min-width: 1024px) {
  .error-main {
    margin-top: 7rem;
    min-height: calc(100vh - 7rem);
  }
}

.error-container {
  text-align: center;
  max-width: none;
  width: auto;
}

.error-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111827;
  margin: 0 0 2rem;
  text-align: center;
  line-height: 1.2;
}

.error-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 22rem;
  color: #111827;
  line-height: 1;
  margin: 0 0 2rem;
  text-align: center;
  letter-spacing: 0;
}

.error-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #111827;
  margin: 0 0 2rem;
  text-align: center;
  line-height: 1.4;
}

.error-button-wrapper {
  text-align: center;
}

.error-button {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  background-color: #111827;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  border: none;
  cursor: pointer;
}

.error-button:hover {
  background-color: #fff;
  border: 1px solid #111827;
  color: #111827;
}

.error-button:active {
  opacity: 0.8;
}

@media (max-width: 767px) {
  .error-heading {
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .error-number {
    font-size: 12rem;
    margin-bottom: 1.25rem;
  }

  .error-description {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .error-button {
    font-size: 0.75rem;
    padding: 0.75rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .footer-main {
    padding-left: 4rem;
    padding-right: 4rem;
    padding-top: 4.5rem;
    padding-bottom: 3rem;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.footer-inner {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}

@media (max-width: 767px) {
  .footer-inner {
    grid-template-columns: 1fr;
    width: auto;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-col {
    width: 100%;
  }
}

@media (min-width: 640px) {
  .footer-inner {
    gap: 2.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    width: 90rem;
    max-width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    gap: 2.5rem 2rem;
    transform: translateX(3rem);
  }
}

.footer-heading {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 1.25rem;
}

@media (max-width: 767px) {
  .footer-heading {
    font-size: 1.1rem;
  }
}

.footer-nav,
.footer-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  font-size: clamp(0.9rem, 1.1vw, 1.15rem);
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  line-height: 1.35;
}

.footer-nav a,
.footer-text {
  text-decoration: none;
  color: rgba(255,255,255,0.35);
}

.footer-nav a:hover {
  color: #C9A84C;
}

/* Socials (Facebook/Instagram icons aligned right) */
@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome/fontawesome-webfont.woff2') format('woff2'),
    url('../fonts/fontawesome/fontawesome-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.footer-social-nav {
  gap: 0.8rem;
}

.footer-social-title {
  margin-bottom: 0.75rem;
}

.footer-social-items {
  display: flex;
  flex-direction: row;
  gap: 0.55rem;
  width: 100%;
  align-items: flex-end; /* align icons to the bottom */
  justify-content: flex-start; /* start from left */
  margin-top: 0.75rem; /* spacing from previous text */
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* no text: keep icon on the left */
  gap: 0.75rem;
  padding-right: 0;
}

.footer-social-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200,168,64,0.35);
  border-radius: 3px;
  color: rgba(200,168,64,0.6);
  background: transparent;
}

.footer-social-icon::before {
  font-family: 'FontAwesome';
  font-size: 0.95rem;
  line-height: 1;
  display: inline-block;
}

.footer-social-icon-facebook::before {
  content: '\f09a';
}

.footer-social-icon-instagram::before {
  content: '\f16d';
}

.footer-social-link:hover .footer-social-icon {
  border-color: #C9A84C;
  color: #C9A84C;
}

.footer-copy {
  width: 100%;
  margin: 3rem auto 0;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  max-width: 90rem;
}

@media (max-width: 767px) {
  .footer-copy {
    max-width: 15rem;
  }
}

/* Sustainability: keep image and text in separate columns, no overlap */
.sustainability-image {
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: 100%;
  min-width: 0;
}

.sustainability-image img {
  width: 100%;
  min-width: 100%;
  height: auto;
  object-fit: cover;
}

.sustainability-text {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

:root {
  --sustainability-img-height: 280px;
}

@media (min-width: 769px) and (max-width: 1200px) {
  :root {
    --sustainability-img-height: 320px;
  }
}

@media (min-width: 1201px) {
  :root {
    --sustainability-img-height: 520px;
  }
}

/* Sustainability: на полном окне — на всю ширину (как на 2-м фото); сужение/центр только на уменьшенных */
.sustainability-section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* Полное окно: без max-width, картинка ~55%, текст ~45%, на всю ширину секции */
.sustainability-section .sustainability-inner {
  gap: 2rem;
}

@media (min-width: 769px) {
  .sustainability-section .sustainability-inner {
    gap: 3rem;
    align-items: center;
  }

  .sustainability-section .sustainability-image {
    flex: 1 1 40%;
    height: 280px;
  }

  .sustainability-section .sustainability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sustainability-section .sustainability-text {
    flex: 1 1 42%;
  }

  /* Заголовок: адаптивный размер чтобы не переносился на новую строку */
  .sustainability-section .sustainability-text h2 {
    font-size: clamp(1.25rem, 2vw, 2.5rem);
    margin-bottom: clamp(0.75rem, 1.2vw, 1rem);
    line-height: 1.2;
  }

  /* Текст: увеличенный шрифт чтобы заполнить правую часть */
  .sustainability-section .sustainability-text p {
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    line-height: 1.4;
    margin-bottom: clamp(0.5rem, 0.8vw, 0.75rem);
  }

  .sustainability-section .sustainability-text p:last-child {
    margin-bottom: 0;
  }
}

@media (min-width: 1201px) {
  .sustainability-section .sustainability-image {
    height: 520px !important;
    min-height: 520px;
  }

  .sustainability-section .sustainability-image img {
    height: 100% !important;
    min-height: 520px;
  }
}

@media (max-width: 768px) {
  .sustainability-section {
    padding-top: 1.25rem;
    padding-bottom: 1.75rem;
  }

  .sustainability-section .sustainability-inner {
    max-width: 100%;
    gap: 1rem;
  }

  .sustainability-section .sustainability-image {
    flex: 0 0 auto;
    width: 100%;
    min-height: 280px;
  }

  .sustainability-section .sustainability-image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
  }

  .sustainability-section .sustainability-text {
    flex: 1 1 auto;
    padding: 1.25rem clamp(1.5rem, 5vw, 3rem) 0 clamp(1.5rem, 5vw, 3rem) !important;
  }

  .sustainability-section .sustainability-text h2 {
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
  }

  .sustainability-section .sustainability-text p {
    font-size: 0.8rem;
    line-height: 1.45;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .sustainability-section .sustainability-image {
    flex: 0 0 52%;
    height: 320px;
  }

  .sustainability-section .sustainability-text {
    flex: 0 0 45%;
    padding-right: clamp(2rem, 5vw, 4rem) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 320px;
  }

  /* Заголовок: уменьшается чтобы оставаться в одну строку */
  .sustainability-section .sustainability-text h2 {
    font-size: clamp(1rem, 1.6vw, 1.5rem);
    margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
    line-height: 1.2;
  }

  /* Текст: уменьшенный чтобы поместиться в высоту картинки */
  .sustainability-section .sustainability-text p {
    font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    line-height: 1.35;
    margin-bottom: clamp(0.4rem, 0.8vw, 0.6rem);
  }

  .sustainability-section .sustainability-text p:last-child {
    margin-bottom: 0;
  }
}

.border-red-500 {
  border-color: #ef4444 !important;
}

.border-green-500 {
  border-color: #10b981 !important;
}

.field-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Header ARTRADE style: dark nav, muted white links, gold hover */
.header-artrade {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: #050d15 !important;
  border-bottom: 1px solid rgba(200,168,64,0.06) !important;
}

.header-artrade .header-nav-artrade .header-nav-link {
  font-size: 0.6875rem;   /* ~11px, ARTRADE uses 7.5px */
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.3s;
}

.header-artrade .header-nav-artrade .header-nav-link:hover {
  color: #C9A84C;
}

.header-artrade .header-nav-artrade .header-nav-link-active {
  color: #C9A84C;
}

.header-artrade .header-menu-icon,
.header-artrade .header-search-icon,
.header-artrade [aria-label="Menu"] {
  color: rgba(255,255,255,0.7);
}

.header-artrade .header-menu-icon:hover,
.header-artrade [aria-label="Menu"]:hover {
  color: #C9A84C;
}

.header-artrade .header-search-input {
  background: rgba(9,21,34,0.8) !important;
  border-color: rgba(200,168,64,0.12) !important;
  color: rgba(255,255,255,0.8);
}

.header-artrade .header-search-input::placeholder {
  color: rgba(255,255,255,0.35);
}

.header-artrade .header-search-bar {
  background: rgba(6,15,24,0.98) !important;
}

/* Mobile sidebar ARTRADE palette */
.header-artrade .mobile-sidebar {
  background: #050d15 !important;
}

.header-artrade .mobile-sidebar-close {
  color: rgba(255,255,255,0.7);
}

.header-artrade .mobile-sidebar-link {
  color: rgba(255,255,255,0.35);
}

.header-artrade .mobile-sidebar-link:hover,
.header-artrade .mobile-sidebar-link-active {
  color: #C9A84C;
}

/* HERO ARTRADE (main page) */
.hero-artrade {
  --hero-g1: #EED98A;
  --hero-g2: #C9A84C;
  --hero-g3: #A07828;
  --hero-g4: #6A4E0A;
  --hero-navy: #060F18;
  --hero-navy2: #091522;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 88px 32px 80px;
  background: var(--hero-navy);
  color: #fff;
}

.hero-artrade .hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(12,28,48,0.9) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(200,168,64,0.03) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(200,168,64,0.03) 0%, transparent 60%),
    linear-gradient(160deg, #091522 0%, #060F18 50%, #0A1828 100%);
}

.hero-artrade .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,168,64,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,168,64,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
}

.hero-artrade .hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,168,64,0.06) 0%, transparent 70%);
  animation: hero-pulse 8s ease-in-out infinite;
}

@keyframes hero-fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hero-needleDown {
  from { height: 0; opacity: 0; }
  to   { height: 100px; opacity: 1; }
}
@keyframes hero-outerSpin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}
@keyframes hero-innerSpin {
  from { transform: rotate(0); }
  to   { transform: rotate(-360deg); }
}
@keyframes hero-glint {
  0%, 82%, 100% { opacity: 0; }
  88%, 94%      { opacity: 0.8; }
}
@keyframes hero-slideRight {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes hero-pulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

.hero-artrade .hero-needle {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--hero-g2));
  animation: hero-needleDown 1.4s 0.2s cubic-bezier(.16,1,.3,1) both;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.hero-artrade .hero-eyebrow {
  font-size: 7.5px;
  letter-spacing: 11px;
  text-transform: uppercase;
  color: rgba(200,168,64,0.38);
  animation: hero-fadeIn 1s 0.8s ease both;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-artrade .hero-crest {
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 32px rgba(200,168,64,0.25)) drop-shadow(0 0 10px rgba(200,168,64,0.1));
  animation: hero-fadeIn 1.6s 1s ease both;
}
.hero-artrade .hero-crest svg {
  width: 140px;
  height: 140px;
  display: block;
}
.hero-artrade .spin-out {
  transform-origin: 70px 70px;
  animation: hero-outerSpin 90s linear infinite;
}
.hero-artrade .spin-in {
  transform-origin: 70px 70px;
  animation: hero-innerSpin 45s linear infinite;
}

.hero-artrade .hero-est {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  animation: hero-fadeIn 0.9s 1.8s ease both;
}
.hero-artrade .hero-est .el {
  width: 48px;
  height: 1px;
  background: var(--hero-g3);
  opacity: 0.4;
}
.hero-artrade .hero-est span {
  font-size: 8px;
  letter-spacing: 9px;
  text-transform: uppercase;
  color: rgba(200,168,64,0.42);
}

.hero-artrade .hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 11vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  z-index: 1;
  animation: hero-fadeUp 1.6s 2s cubic-bezier(.16,1,.3,1) both;
}
.hero-artrade .ht-w { color: #fff; }
.hero-artrade .ht-d { color: var(--hero-g2); font-size: 0.5em; vertical-align: middle; letter-spacing: 0.05em; }
.hero-artrade .ht-g { color: var(--hero-g2); font-style: normal; font-weight: 300; }

.hero-artrade .hero-rule {
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--hero-g2) 20%, var(--hero-g2) 80%, transparent);
  opacity: 0.25;
  margin: 28px 0 26px;
  align-self: stretch;
  max-width: 600px;
  animation: hero-slideRight 1.2s 2.4s ease both;
  position: relative;
  z-index: 1;
}

.hero-artrade .hero-tagline {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  animation: hero-fadeUp 0.9s 2.6s ease both;
  margin-bottom: 24px;
}
.hero-artrade .htl-line {
  height: 1px;
  width: 60px;
  opacity: 0.35;
}
.hero-artrade .htl-line-l {
  background: linear-gradient(to right, transparent, var(--hero-g3));
}
.hero-artrade .htl-line-r {
  background: linear-gradient(to left, transparent, var(--hero-g3));
}
.hero-artrade .htl-diam {
  width: 6px;
  height: 6px;
  background: var(--hero-g2);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(200,168,64,0.4);
}
.hero-artrade .htl-txt {
  font-size: 9px;
  letter-spacing: 9px;
  text-transform: uppercase;
  color: rgba(200,168,64,0.42);
}

.hero-artrade .hero-sub {
  font-size: 7.5px;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.1);
  animation: hero-fadeIn 0.8s 2.8s ease both;
  position: relative;
  z-index: 1;
  margin-bottom: 52px;
}

@media (max-width: 767px) {
  /* Mobile: keep hero texts centered when they wrap. */
  .hero-artrade .hero-est {
    width: 100%;
    justify-content: center;
  }
  .hero-artrade .hero-est span {
    text-align: center;
  }
  .hero-artrade .hero-tagline {
    width: 100%;
    justify-content: center;
  }
  .hero-artrade .htl-txt {
    text-align: center;
  }
  .hero-artrade .hero-sub {
    width: 100%;
    text-align: center;
  }
}

.hero-artrade .hero-btns {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
  animation: hero-fadeUp 0.9s 3s ease both;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-artrade .btn-hero.btn-primary {
  padding: 14px 36px;
  background: linear-gradient(135deg, rgba(200,168,64,0.15), rgba(200,168,64,0.08));
  border: 0.5px solid rgba(200,168,64,0.4);
  font-size: 7.5px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--hero-g2);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.hero-artrade .btn-hero.btn-primary:hover {
  background: rgba(200,168,64,0.12);
  border-color: rgba(200,168,64,0.6);
}

.hero-artrade .btn-hero.btn-secondary {
  padding: 14px 36px;
  border: 0.5px solid rgba(255,255,255,0.1);
  font-size: 7.5px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.hero-artrade .btn-hero.btn-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
}

.hero-artrade .scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-artrade .scroll-hint span {
  font-size: 6.5px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.15);
}
.hero-artrade .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--hero-g3), transparent);
  animation: hero-pulse 2s ease-in-out infinite;
}
