/**
 * СТРОЙДОМ — профессиональный UI/UX слой
 * B2B лендинг: читаемость, иерархия, доступность, спокойные анимации
 */

:root {
  --font-sans: "Montserrat", system-ui, sans-serif;
  --font-serif: "Montserrat", system-ui, sans-serif;

  --header-h: 4.25rem;
  --container: 72rem;
  --section-y: clamp(4rem, 8vh, 6.5rem);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --focus-ring: 0 0 0 3px rgba(166, 124, 46, 0.35);
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  cursor: auto;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--gold-light);
  color: var(--green-deep);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ——— Layout shell ——— */
.section-shell {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section-head--center {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.section-head--center .section-head-row {
  justify-content: center;
}

.section-sub--center {
  margin-inline: auto;
}

/* ——— Header — зелёная шапка, белый текст, золото ——— */
.site-header--ref {
  height: var(--header-h);
  padding-block: 0;
  color: #fff;
  background: linear-gradient(180deg, #1a3d33 0%, var(--green-deep) 100%);
  border-bottom: 1px solid rgba(201, 160, 74, 0.28);
  box-shadow: 0 4px 28px rgba(15, 41, 35, 0.22);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header--ref.is-scrolled,
.site-header.site-header--ref.is-scrolled {
  background: rgba(15, 41, 35, 0.97);
  border-bottom-color: rgba(201, 160, 74, 0.4);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.25);
}

.site-header--ref .brand-mark {
  gap: 0.65rem;
}

.site-header--ref .brand-name {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #fff;
}

.site-header--ref .brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.site-header--ref .nav--header a {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition);
}

.site-header--ref .nav--header a::after {
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.site-header--ref .nav--header a:hover {
  color: #fff;
}

.site-header--ref .nav--header a.is-active {
  color: var(--gold-mid);
}

.site-header--ref .nav--header a.is-active::after {
  width: 100%;
}

/* Catalog dropdown — desktop */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown__control {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.site-header--ref .nav-dropdown__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition);
}

.site-header--ref .nav-dropdown__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header--ref .nav-dropdown__link:hover {
  color: #fff;
}

.site-header--ref .nav-dropdown__link.is-active {
  color: var(--gold-mid);
}

.site-header--ref .nav-dropdown__link.is-active::after,
.site-header--ref .nav-dropdown:hover .nav-dropdown__link::after,
.site-header--ref .nav-dropdown:focus-within .nav-dropdown__link::after,
.site-header--ref .nav-dropdown.is-open .nav-dropdown__link::after {
  width: 100%;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color 0.22s ease, background 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-dropdown__toggle:hover,
.nav-dropdown__toggle:focus-visible {
  color: var(--gold-mid);
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown:hover .nav-dropdown__toggle,
.nav-dropdown:focus-within .nav-dropdown__toggle,
.nav-dropdown.is-open .nav-dropdown__toggle {
  color: var(--gold-mid);
  transform: rotate(180deg);
}

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  width: 18.5rem;
  padding: 0.65rem;
  background: linear-gradient(165deg, #fdfbf7 0%, #f6f2ea 100%);
  border: 1px solid rgba(15, 41, 35, 0.08);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85) inset,
    0 1px 0 rgba(201, 160, 74, 0.18) inset,
    0 8px 20px rgba(15, 41, 35, 0.07),
    0 28px 56px rgba(15, 41, 35, 0.14);
  transform: translateX(-50%) translateY(8px) scale(0.96);
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.28s;
  z-index: 120;
}

.site-header--ref .nav--header .nav-dropdown__panel a {
  letter-spacing: 0;
  text-transform: none;
  font-weight: inherit;
  color: var(--green-deep);
}

.site-header--ref .nav--header .nav-dropdown__panel a:hover,
.site-header--ref .nav--header .nav-dropdown__panel a:focus-visible {
  color: var(--green-deep);
}

.site-header--ref .nav--header .nav-dropdown__panel a.nav-dropdown__item {
  font-weight: 600;
  font-size: 0.8125rem;
}

.site-header--ref .nav--header .nav-dropdown__panel a::after {
  display: none;
}

.nav-dropdown__panel::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 11px;
  height: 11px;
  background: #faf8f4;
  border-left: 1px solid rgba(15, 41, 35, 0.08);
  border-top: 1px solid rgba(15, 41, 35, 0.08);
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown__panel::after {
  content: "";
  position: absolute;
  top: -0.85rem;
  left: 0;
  right: 0;
  height: 0.85rem;
}

.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel,
.nav-dropdown.is-open .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown__eyebrow {
  margin: 0 0 0.55rem;
  padding: 0 0.55rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 41, 35, 0.42);
}

.nav-dropdown__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.7rem !important;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.nav-dropdown__item::after {
  display: none !important;
}

.nav-dropdown__item:hover,
.nav-dropdown__item:focus-visible {
  background: rgba(15, 41, 35, 0.05);
  transform: translateX(2px);
}

.nav-dropdown__item.is-current {
  background: rgba(166, 124, 46, 0.09);
  box-shadow: inset 0 0 0 1px rgba(166, 124, 46, 0.14);
}

.nav-dropdown__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(166, 124, 46, 0.14) 0%, rgba(166, 124, 46, 0.06) 100%);
  color: var(--gold-dim);
  font-size: 0.82rem;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.nav-dropdown__item:hover .nav-dropdown__icon,
.nav-dropdown__item:focus-visible .nav-dropdown__icon,
.nav-dropdown__item.is-current .nav-dropdown__icon {
  background: linear-gradient(145deg, rgba(166, 124, 46, 0.22) 0%, rgba(166, 124, 46, 0.1) 100%);
  color: var(--gold);
  transform: scale(1.04);
}

.nav-dropdown__item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.nav-dropdown__item-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--green-deep);
  line-height: 1.25;
}

.nav-dropdown__item-desc {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(15, 41, 35, 0.52);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-dropdown__item-arrow {
  flex-shrink: 0;
  display: inline-flex;
  color: rgba(15, 41, 35, 0.22);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

.nav-dropdown__item:hover .nav-dropdown__item-arrow,
.nav-dropdown__item:focus-visible .nav-dropdown__item-arrow,
.nav-dropdown__item.is-current .nav-dropdown__item-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--gold);
}

.nav-dropdown__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
  padding: 0.62rem 0.85rem !important;
  border-radius: 9px;
  border-top: 1px solid rgba(15, 41, 35, 0.07);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  transition: background 0.22s ease, color 0.22s ease;
}

.nav-dropdown__all::after {
  display: none !important;
}

.nav-dropdown__all:hover,
.nav-dropdown__all:focus-visible {
  background: rgba(15, 41, 35, 0.04);
  color: var(--gold);
}

.nav-dropdown.is-active .nav-dropdown__link {
  color: var(--gold-mid);
}

.nav-dropdown.is-active .nav-dropdown__toggle {
  color: var(--gold-mid);
}

.nav-dropdown.is-open .nav-dropdown__list li {
  animation: navDropItemIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.nav-dropdown.is-open .nav-dropdown__list li:nth-child(1) { animation-delay: 0.04s; }
.nav-dropdown.is-open .nav-dropdown__list li:nth-child(2) { animation-delay: 0.08s; }
.nav-dropdown.is-open .nav-dropdown__list li:nth-child(3) { animation-delay: 0.12s; }
.nav-dropdown.is-open .nav-dropdown__list li:nth-child(4) { animation-delay: 0.16s; }

.nav-dropdown:hover .nav-dropdown__list li,
.nav-dropdown:focus-within .nav-dropdown__list li {
  animation: navDropItemIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.nav-dropdown:hover .nav-dropdown__list li:nth-child(1),
.nav-dropdown:focus-within .nav-dropdown__list li:nth-child(1) { animation-delay: 0.04s; }
.nav-dropdown:hover .nav-dropdown__list li:nth-child(2),
.nav-dropdown:focus-within .nav-dropdown__list li:nth-child(2) { animation-delay: 0.08s; }
.nav-dropdown:hover .nav-dropdown__list li:nth-child(3),
.nav-dropdown:focus-within .nav-dropdown__list li:nth-child(3) { animation-delay: 0.12s; }
.nav-dropdown:hover .nav-dropdown__list li:nth-child(4),
.nav-dropdown:focus-within .nav-dropdown__list li:nth-child(4) { animation-delay: 0.16s; }

@keyframes navDropItemIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Catalog submenu — mobile */
.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(15, 41, 35, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.32s ease;
  cursor: pointer;
}

.mobile-nav.is-open .mobile-nav__backdrop {
  opacity: 1;
}

.mobile-nav__panel {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, var(--green-deep) 0%, #0a1f1a 100%);
  border-top: 1px solid rgba(201, 160, 74, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  transform: translateY(-12px);
  opacity: 0;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem clamp(1rem, 4vw, 1.5rem) 0.5rem;
}

.mobile-nav__foot {
  flex-shrink: 0;
  padding: 0.85rem clamp(1rem, 4vw, 1.5rem) calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(201, 160, 74, 0.2);
  background: rgba(0, 0, 0, 0.12);
}

.mobile-nav__cta {
  width: 100%;
  justify-content: center;
}

.mobile-nav__group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  border: 1px solid rgba(201, 160, 74, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-nav__group.is-open {
  border-color: rgba(201, 160, 74, 0.35);
}

.mobile-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.2rem 0.2rem 0.2rem 0.85rem;
}

.mobile-nav__row > a {
  flex: 1;
  text-align: left;
  padding-inline: 0 !important;
  font-size: 1rem;
  font-weight: 600;
}

.mobile-nav__expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.mobile-nav__expand:hover,
.mobile-nav__expand:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-mid);
}

.mobile-nav__expand[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mobile-nav__expand svg {
  transition: transform 0.25s ease;
}

.mobile-nav__sub {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  max-height: min(42vh, 20rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.45rem 0.55rem 0.6rem;
  border-top: 1px solid rgba(201, 160, 74, 0.15);
  background: rgba(0, 0, 0, 0.14);
}

.mobile-nav__sub[hidden] {
  display: none !important;
}

.mobile-nav__cat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.7rem !important;
  border-radius: 8px;
  text-align: left;
  transition: background 0.2s ease;
}

.mobile-nav__cat:hover,
.mobile-nav__cat:focus-visible {
  background: rgba(255, 255, 255, 0.07);
}

.mobile-nav__cat.is-current {
  background: rgba(201, 160, 74, 0.12);
}

.mobile-nav__cat-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 7px;
  background: rgba(201, 160, 74, 0.15);
  color: var(--gold-mid);
  font-size: 0.78rem;
}

.mobile-nav__cat-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.mobile-nav__cat-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
}

.mobile-nav__cat-desc {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.3;
}

.site-header--ref .header-cta {
  flex-shrink: 0;
  justify-self: end;
  min-height: 2.35rem;
  padding: 0.45rem 1.05rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(166, 124, 46, 0.28);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.site-header--ref .header-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(166, 124, 46, 0.38);
  filter: brightness(1.04);
}

.site-header--ref .menu-btn {
  color: #fff;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.site-header--ref .menu-btn span {
  background: #fff;
}

.site-header--ref .menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav a:not(.btn) {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition);
}

.mobile-nav a:not(.btn):hover,
.mobile-nav a:not(.btn):focus-visible,
.mobile-nav a:not(.btn).is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-mid);
}

.mobile-nav .btn-gold:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav__panel,
  .mobile-nav__backdrop,
  .menu-btn span {
    transition: none;
  }
}

@media (max-width: 900px) {
  .site-header.site-header--ref,
  .site-header.site-header--ref.is-scrolled {
    background: linear-gradient(180deg, #1a3d33 0%, var(--green-deep) 100%);
  }

  .site-header--ref .menu-btn.is-open span {
    background: #fff;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
}

.btn--lg {
  min-height: 3rem;
  padding-inline: 1.75rem;
  font-size: 0.875rem;
}

.btn--sm {
  min-height: 2.35rem;
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--green-deep);
  background: var(--bg-elev);
  box-shadow: none;
  padding: 0.65rem 1.35rem;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline:hover {
  border-color: var(--green-mid);
  background: var(--green-soft);
  transform: translateY(-1px);
}

.btn-gold {
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.btn-gold:hover {
  filter: brightness(1.05);
}

/* ——— Hero v3 ——— */
.hero-v3 {
  --hero-pad-x: clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 1.5rem) var(--hero-pad-x) 0;
  display: flex;
  flex-direction: column;
  background: #f8f7f4;
  overflow: clip;
}

.hero-v3 .hero-shroud {
  background: #f8f7f4;
}

.hero-v3__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-v3__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hero-v3__blob--1 {
  width: 55vw;
  max-width: 520px;
  height: 55vw;
  max-height: 520px;
  top: -15%;
  right: -8%;
  background: rgba(201, 160, 74, 0.2);
}

.hero-v3__blob--2 {
  width: 40vw;
  max-width: 400px;
  height: 40vw;
  max-height: 400px;
  bottom: 10%;
  left: -12%;
  background: rgba(26, 61, 51, 0.1);
}

.hero-v3__layout {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: end;
  width: 100%;
  max-width: min(var(--container), 1280px);
  margin: 0 auto;
  padding-bottom: 0.5rem;
}

.hero-v3__copy {
  position: relative;
  padding-left: 1.25rem;
  padding-bottom: 1rem;
}

.hero-v3__accent-bar {
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 3px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--gold), var(--green-mid));
}

.hero-v3__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-v3__label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 160, 74, 0.45);
  animation: heroPulse 2.2s ease-out infinite;
}

.hero-v3__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 5.8vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--green-deep);
}

.hero-v3__title-line {
  display: block;
  margin-top: 0.08em;
  background: linear-gradient(105deg, var(--green-mid) 0%, var(--gold) 55%, var(--gold-mid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-v3__desc {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.75;
  color: var(--text-dim);
}

.hero-v3__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-v3__cta .btn-gold {
  gap: 0.6rem;
  padding-inline: 1.75rem;
  box-shadow: 0 10px 36px rgba(166, 124, 46, 0.3);
}

.btn-ghost-v3 {
  border: 1px solid rgba(26, 61, 51, 0.2);
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  padding: 0.65rem 1.35rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-ghost-v3:hover {
  background: #fff;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.hero-v3__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  max-width: 22rem;
}

.hero-v3__nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.hero-v3__nav-link span {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.9;
}

.hero-v3__nav-link:hover {
  background: #fff;
  border-color: var(--line-gold);
  transform: translateX(4px);
}

/* Витрина с домом — крупный акцент */
.hero-v3__showcase {
  --spot-x: 50%;
  --spot-y: 40%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: clamp(400px, 58vh, 720px);
  margin-right: clamp(-1rem, -2vw, 0);
  padding: 0 0 0.25rem;
  overflow: visible;
}

.hero-v3__showcase-bg {
  position: absolute;
  inset: 0;
  border-radius: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) 12px 12px;
  background: linear-gradient(165deg, #e4ece8 0%, #d4e4dc 35%, #efe6d2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 32px 80px rgba(15, 41, 35, 0.12);
  overflow: hidden;
}

.hero-v3__showcase-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 61, 51, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 61, 51, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  opacity: 0.6;
}

.hero-v3__showcase-spotlight {
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle at var(--spot-x) var(--spot-y),
    rgba(255, 255, 255, 0.55) 0%,
    rgba(201, 160, 74, 0.12) 28%,
    transparent 58%
  );
  transition: background 0.15s ease-out;
  pointer-events: none;
}

.hero-v3__showcase-arch {
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 42%;
  border: 1px solid rgba(166, 124, 46, 0.2);
  border-bottom: none;
  border-radius: 50% 50% 0 0 / 18% 18% 0 0;
  pointer-events: none;
  z-index: 1;
}

.hero-v3__house-stage {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 2%;
}

.hero-v3__house-shadow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 14%;
  border-radius: 50%;
  background: rgba(15, 41, 35, 0.2);
  filter: blur(22px);
  z-index: 0;
}

.hero-v3__house-glow {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 45%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 80%, rgba(201, 160, 74, 0.25), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-v3__house {
  position: relative;
  z-index: 2;
  width: 128%;
  max-width: none;
  height: auto;
  max-height: min(62vh, 680px);
  min-height: clamp(320px, 48vh, 580px);
  object-fit: contain;
  object-position: center bottom;
  margin-bottom: -1%;
  filter: drop-shadow(0 32px 56px rgba(15, 41, 35, 0.2)) drop-shadow(0 12px 24px rgba(15, 41, 35, 0.1));
  transition: transform 0.75s var(--ease-out), filter 0.75s var(--ease-out);
  will-change: transform;
}

.hero-v3__showcase:hover .hero-v3__house {
  transform: translateY(-12px) scale(1.02);
  filter: drop-shadow(0 42px 72px rgba(15, 41, 35, 0.26)) drop-shadow(0 16px 32px rgba(15, 41, 35, 0.12));
}

.hero-v3__showcase-tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 5;
  padding: 0.4rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-v3__float {
  position: absolute;
  z-index: 4;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(15, 41, 35, 0.1);
  backdrop-filter: blur(12px);
  animation: heroBadgeIn 0.9s var(--ease-out) backwards;
}

.hero-v3__float--years {
  top: 8%;
  right: 2%;
  animation-delay: 0.45s;
}

.hero-v3__float--fire {
  left: 4%;
  bottom: 18%;
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  border-color: transparent;
  color: #fff;
  animation-delay: 0.6s;
}

.hero-v3__float-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero-v3__float-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-v3__float--years .hero-v3__float-value {
  font-size: 1.65rem;
  color: var(--green-deep);
}

.hero-v3__float--fire .hero-v3__float-value {
  font-size: 1.1rem;
}

/* Нижняя панель — наслаивается на hero */
.hero-v3__dock {
  position: relative;
  z-index: 4;
  margin-top: -1.25rem;
  padding: 0 var(--hero-pad-x) clamp(1.25rem, 3vh, 2rem);
}

.hero-v3__dock-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 1.35rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(15, 41, 35, 0.08);
  backdrop-filter: blur(20px);
}

.hero-v3__dock-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-right: 2rem;
  border-right: 1px solid var(--line);
}

.hero-v3__dock-item:last-of-type {
  border-right: none;
  padding-right: 0;
}

.hero-v3__dock-item strong {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.1;
}

.hero-v3__dock-item span {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-v3__dock-cta {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dim);
  white-space: nowrap;
  transition: color var(--transition), transform var(--transition);
}

.hero-v3__dock-cta:hover {
  color: var(--green-deep);
  transform: translateX(4px);
}

.hero-v3__scroll {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 28px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  transition: border-color var(--transition);
}

.hero-v3__scroll:hover {
  border-color: var(--gold);
}

.hero-v3__scroll-line {
  width: 4px;
  height: 10px;
  background: var(--gold);
  border-radius: 4px;
  animation: heroScrollLine 2s ease-in-out infinite;
}

@keyframes heroPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 160, 74, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(201, 160, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(201, 160, 74, 0);
  }
}

@keyframes heroBadgeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScrollLine {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

/* ——— Advantages Premium ——— */
.advantages-premium {
  position: relative;
  padding-block: var(--section-y);
  background: var(--bg);
  overflow: hidden;
}

.advantages-premium__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.advantages-premium__orb {
  position: absolute;
  top: 10%;
  left: -10%;
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  border-radius: 50%;
  background: rgba(42, 92, 77, 0.08);
  filter: blur(60px);
}

.advantages-premium .section-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}

.advantages-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 1rem;
}

.adv-card {
  position: relative;
  padding: 1.5rem 1.4rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.adv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 160, 74, 0.06), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(166, 124, 46, 0.35);
}

.adv-card:hover::after {
  opacity: 1;
}

.adv-card__bg-num {
  position: absolute;
  top: -0.15em;
  right: 0.1em;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green-soft);
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}

.adv-card--lead {
  grid-row: 1 / 3;
  grid-column: 1;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: linear-gradient(155deg, var(--green-deep) 0%, #163028 55%, var(--green-mid) 100%);
  border-color: transparent;
  color: #fff;
}

.adv-card--lead .adv-card__bg-num {
  color: rgba(255, 255, 255, 0.08);
}

.adv-card--lead .adv-card__title,
.adv-card--lead .adv-card__text,
.adv-card--lead .adv-card__list {
  color: rgba(255, 255, 255, 0.92);
}

.adv-card--lead .adv-card__text {
  color: rgba(255, 255, 255, 0.72);
}

.adv-card--lead:hover {
  border-color: transparent;
  transform: translateY(-6px) scale(1.01);
}

.adv-card--lead::after {
  background: linear-gradient(135deg, rgba(201, 160, 74, 0.15), transparent 60%);
}

.adv-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.adv-card:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.adv-card--wide {
  grid-column: 2 / 4;
  grid-row: 2;
}

.adv-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.adv-card__tag {
  padding: 0.3rem 0.65rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-mid);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(201, 160, 74, 0.35);
  border-radius: 999px;
}

.adv-card__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  color: var(--gold);
  background: var(--gold-light);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  transition: transform var(--transition), background var(--transition);
}

.adv-card--lead .adv-card__icon {
  margin-bottom: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.adv-card:hover .adv-card__icon {
  transform: scale(1.06) rotate(-3deg);
}

.adv-card__icon i {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.adv-card__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--heading);
}

.adv-card--lead .adv-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.adv-card__text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.adv-card__list {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.adv-card__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}

.adv-card__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-mid);
  flex-shrink: 0;
}

.adv-card--accent {
  background: linear-gradient(120deg, var(--gold-light) 0%, var(--bg-elev) 45%);
  border-color: var(--line-gold);
}

.adv-card--accent .adv-card__bg-num {
  color: rgba(166, 124, 46, 0.12);
}

.adv-card__wide-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.adv-card__wide-text {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  min-width: min(100%, 280px);
}

.adv-card__icon--light {
  flex-shrink: 0;
  margin-bottom: 0;
  color: var(--green-deep);
  background: #fff;
}

.adv-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.adv-card__link:hover {
  border-color: var(--gold);
  background: var(--gold-light);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.adv-card__link svg {
  transition: transform var(--transition);
}

.adv-card__link:hover svg {
  transform: translateX(3px);
}

/* Лента этапов */
.advantages-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 1.5rem 1rem 0;
}

.advantages-flow__track {
  position: absolute;
  top: 2.15rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-soft), var(--gold-mid), var(--green-soft));
  border-radius: 2px;
}

.advantages-flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.advantages-flow__dot {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px var(--gold-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.advantages-flow__step:hover .advantages-flow__dot {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px var(--gold-light);
}

.advantages-flow__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.advantages-flow__step:last-child .advantages-flow__label {
  color: var(--green-deep);
}

/* ——— Catalog ——— */
.catalog-v2 {
  padding-bottom: var(--section-y);
}

.catalog-v2__wrap {
  max-width: var(--container);
}

.catalog-v2__head .section-title {
  font-weight: 700;
}

.catalog-jump {
  top: calc(var(--header-h) + 0.5rem);
  box-shadow: var(--shadow-md);
}

.cat-group {
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  transition: box-shadow var(--transition);
}

.cat-group:hover {
  box-shadow: var(--shadow-md);
}

.cat-group__visual {
  border-radius: var(--radius-md);
}

.cat-group__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 41, 35, 0.35) 100%);
  pointer-events: none;
}

.cat-group__visual-tag {
  top: auto;
  bottom: 1rem;
  left: 1rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.cat-group__title {
  font-weight: 700;
}

.cat-item:hover,
.cat-item:focus-visible {
  border-color: var(--green-mid);
}

.cat-item__label {
  font-size: 0.9375rem;
}

.cat-item__hint {
  font-size: 0.8125rem;
}

.catalog-v2__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  background: linear-gradient(135deg, var(--green-soft) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.catalog-v2__cta-text {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--heading);
  max-width: 28rem;
}

/* ——— Gallery & contacts ——— */
.project-showcase {
  padding-block: var(--section-y);
}

.showcase-shell {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(130px, 16vw, 200px);
  gap: clamp(0.55rem, 1.2vw, 0.85rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.gallery-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--green-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, border-color 0.35s ease;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 41, 35, 0.55) 100%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.gallery-card__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  pointer-events: none;
}

.gallery-card__tag {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-mid);
}

.gallery-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(201, 160, 74, 0.15);
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card--a {
  grid-column: 1 / span 7;
  grid-row: span 2;
}

.gallery-card--b {
  grid-column: 8 / span 5;
}

.gallery-card--c {
  grid-column: 8 / span 5;
}

.gallery-card--d {
  grid-column: 1 / span 4;
}

.gallery-card--e {
  grid-column: 5 / span 4;
}

.gallery-card--f {
  grid-column: 9 / span 4;
}

.gallery-card--g {
  grid-column: 1 / span 6;
}

.gallery-card--h {
  grid-column: 7 / span 6;
}

.showcase-contacts {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h, 4.25rem) + 1rem);
}

.showcase-contacts__head {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.team-cards--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  max-width: 920px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(160px, 42vw, 220px);
  }

  .gallery-card--a,
  .gallery-card--b,
  .gallery-card--c,
  .gallery-card--d,
  .gallery-card--e,
  .gallery-card--f,
  .gallery-card--g,
  .gallery-card--h {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-card--a {
    grid-column: 1 / -1;
    grid-row: span 1;
    min-height: clamp(200px, 50vw, 280px);
  }

  .team-cards--grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }
}

.person-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.person-card:hover {
  border-color: var(--line-gold);
  box-shadow: var(--shadow-md);
}

.person-name {
  font-family: var(--font-serif);
  font-weight: 600;
}

/* ——— Footer ——— */
.site-footer--pro {
  position: relative;
  padding: 0;
  background: linear-gradient(180deg, #0c221c 0%, var(--green-deep) 42%, #0a1d18 100%);
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(201, 160, 74, 0.22);
  overflow: clip;
}

.site-footer--pro .footer-bg {
  opacity: 0.2;
  background:
    radial-gradient(ellipse 70% 55% at 15% 100%, rgba(166, 124, 46, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 0%, rgba(255, 255, 255, 0.04), transparent 50%);
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(42rem, 80vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(201, 160, 74, 0.65), transparent);
  pointer-events: none;
}

.footer-inner--pro {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  text-align: left;
  padding: clamp(2.75rem, 5vw, 3.75rem) clamp(1.25rem, 4vw, 2.5rem) clamp(1.75rem, 3vw, 2.25rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.footer-col--brand {
  padding-right: clamp(0.5rem, 2vw, 1.5rem);
}

.footer-brand {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition), transform var(--transition);
}

.footer-brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.footer-logo {
  display: block;
  width: auto;
  height: clamp(2.5rem, 7vw, 3.35rem);
  max-width: 11rem;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.25));
}

.footer-tagline {
  margin: 1rem 0 0;
  max-width: 22rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.52);
}

.footer-col__title {
  margin: 0 0 1rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-mid);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-nav a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1em;
  width: 0;
  height: 1px;
  background: var(--gold-mid);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.footer-nav a:hover::before,
.footer-nav a:focus-visible::before {
  width: 100%;
}

.footer-col--cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1.1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.footer-contact__name {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-phone {
  display: block;
  margin-bottom: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-phone:hover,
.footer-phone:focus-visible {
  color: var(--gold-mid);
}

.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-wa i {
  font-size: 1rem;
  color: #5bdc7a;
}

.footer-wa:hover,
.footer-wa:focus-visible {
  color: #fff;
}

.footer-cta {
  width: 100%;
  max-width: 14rem;
  justify-content: center;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-values li {
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 160, 74, 0.18);
  border-radius: 999px;
}

.site-footer--pro .footer-copy {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.38);
}

/* ——— Typography polish ——— */
.section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-index {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.75rem;
}

.gold-shine {
  animation-duration: 12s;
}

.grain {
  opacity: 0.025;
}

/* ——— Responsive ——— */
@media (min-width: 1100px) {
  .hero-v3__layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  }

  .hero-v3__house {
    width: 135%;
    max-height: min(68vh, 720px);
  }

  .hero-v3__nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 28rem;
  }
}

@media (max-width: 1024px) {
  .advantages-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .adv-card--lead {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .adv-card:nth-child(2),
  .adv-card:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .adv-card--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .hero-v3 {
    min-height: auto;
  }

  .hero-v3__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-v3__layout {
    align-items: center;
  }

  .hero-v3__copy {
    padding-left: 1rem;
  }

  .hero-v3__showcase {
    order: -1;
    min-height: clamp(340px, 65vw, 480px);
    max-width: none;
    width: 100%;
    margin-right: 0;
  }

  .hero-v3__house {
    width: 118%;
    min-height: 0;
    max-height: min(68vw, 440px);
  }

  .hero-v3__dock {
    margin-top: 0;
  }

  .hero-v3__float--years {
    right: 2%;
    top: 8%;
  }

  .hero-v3__float--fire {
    left: 2%;
    bottom: 16%;
  }

  .hero-v3__dock-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-v3__dock-item {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.75rem;
  }

  .hero-v3__dock-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }

  .hero-v3__dock-cta {
    margin-left: 0;
    text-align: center;
    padding-top: 0.5rem;
  }

  .hero-v3__scroll {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
    width: 100%;
  }

  .footer-logo {
    object-position: center;
    margin-inline: auto;
  }

  .footer-tagline {
    margin-inline: auto;
    text-align: center;
  }

  .footer-col--cta {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-cta {
    max-width: 16rem;
  }

  .footer-bar {
    flex-direction: column;
    text-align: center;
  }

  .footer-values {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .advantages-bento {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-col--brand,
  .footer-col--cta {
    grid-column: auto;
  }

  .footer-nav {
    align-items: flex-start;
  }

  .footer-col--cta {
    align-items: flex-start;
    text-align: left;
  }

  .footer-tagline {
    margin-inline: 0;
    text-align: left;
  }

  .footer-brand {
    justify-content: flex-start;
  }

  .footer-logo {
    object-position: left center;
    margin-inline: 0;
  }

  .adv-card--lead,
  .adv-card--wide,
  .adv-card:nth-child(2),
  .adv-card:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }

  .adv-card__wide-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .adv-card__link {
    justify-content: center;
    width: 100%;
  }

  .advantages-flow {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding-top: 1rem;
  }

  .advantages-flow__track {
    display: none;
  }

  .hero-v3__cta {
    flex-direction: column;
  }

  .hero-v3__cta .btn {
    width: 100%;
  }

  .hero-v3__nav {
    max-width: none;
  }

  .catalog-jump {
    border-radius: var(--radius-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-v3__blob,
  .hero-v3__label-dot,
  .hero-v3__scroll-line,
  .hero-v3__float {
    animation: none;
  }

  .nav-dropdown.is-open .nav-dropdown__list li,
  .nav-dropdown:hover .nav-dropdown__list li,
  .nav-dropdown:focus-within .nav-dropdown__list li {
    animation: none;
  }

  .nav-dropdown__item:hover,
  .nav-dropdown__item:focus-visible {
    transform: none;
  }

  .adv-card:hover,
  .cat-item:hover,
  .btn-gold:hover,
  .btn-outline:hover,
  .btn-ghost-v3:hover,
  .hero-v3__showcase:hover .hero-v3__house {
    transform: none;
  }
}

/* ——— Site-wide polish (premium sections) ——— */
.section-head {
  margin-bottom: 0.25rem;
}

.advantages-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 600px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold), transparent);
  z-index: 1;
}

.catalog-v2 {
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%);
}

.cat-group {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

.btn-gold {
  background: linear-gradient(135deg, #d4ab52 0%, var(--gold) 50%, var(--gold-dim) 100%);
}
