:root {
  --green-900: #0a2e22;
  --green-800: #0d3d2e;
  --green-700: #1b4332;
  --green-600: #2d6a4f;
  --green-500: #40916c;
  --green-400: #52b788;
  --green-100: #d8f3dc;
  --cream: #f7f9f8;
  --white: #ffffff;
  --text: #1a2420;
  --text-muted: #5c6b64;
  --border: #e2ebe6;
  --shadow: 0 4px 24px rgba(13, 61, 46, 0.08);
  --shadow-lg: 0 12px 48px rgba(13, 61, 46, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --font: "Manrope", system-ui, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
}

.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-800);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

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

@media (min-width: 1024px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem 2rem;
  }

  .nav-main {
    justify-content: center;
    justify-self: center;
  }

  .header-right {
    justify-self: end;
    flex-shrink: 0;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--green-400);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: color var(--transition);
}

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

.site-footer .logo {
  color: var(--green-400);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.logo-orbit {
  transform-origin: 24px 24px;
  animation: logo-orbit-spin 14s linear infinite;
}

.logo-rays {
  transform-origin: 24px 24px;
  animation: logo-orbit-spin 22s linear infinite reverse;
}

.logo-drop {
  transform-origin: 24px 22px;
  animation: logo-drop-pulse 4s ease-in-out infinite;
}

.logo-pool {
  transform-origin: 24px 33.5px;
  animation: logo-pool-breathe 2.4s ease-in-out infinite;
}

.logo-drip {
  animation: logo-drip-fall 1.7s ease-in infinite;
}

.logo:hover .logo-svg .logo-drop {
  animation-duration: 3s;
}

@keyframes logo-orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes logo-drop-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes logo-pool-breathe {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.28;
  }
  50% {
    transform: scaleX(1.12);
    opacity: 0.42;
  }
}

@keyframes logo-drip-fall {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(8px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-orbit,
  .logo-rays,
  .logo-drop,
  .logo-pool,
  .logo-drip {
    animation: none;
  }
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-main a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.nav-main a:hover,
.nav-main a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color var(--transition);
}

.header-phone:hover {
  color: var(--green-400);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

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

.btn-primary:hover {
  background: var(--green-400);
  box-shadow: 0 4px 20px rgba(64, 145, 108, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline-dark {
  color: var(--green-800);
  border-color: var(--green-600);
}

.btn-outline-dark:hover {
  background: var(--green-100);
}

.btn-dark {
  background: var(--green-800);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--green-700);
}

/* Search in header */
.header-search {
  position: relative;
}

.header-search input {
  width: 180px;
  padding: 0.5rem 2rem 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  transition: width var(--transition), background var(--transition);
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.header-search input:focus {
  outline: none;
  width: 220px;
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--green-400);
}

.header-search svg {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-900);
}

.hero--home {
  display: block;
  min-height: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 46, 34, 0.92) 0%, rgba(13, 61, 46, 0.75) 45%, rgba(27, 67, 50, 0.55) 100%),
    url("https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=1600&q=80") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Home page */
.hero--home {
  padding-bottom: 3rem;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.hero-main {
  min-width: 0;
  max-width: 34rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-400);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero--home .hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.6;
  max-width: 32rem;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}

.hero-phone:hover {
  color: var(--green-400);
}

.hero-card {
  justify-self: end;
  width: 100%;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-card-item {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.hero-card-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-400);
  margin-bottom: 0.25rem;
}

.hero-card-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition);
}

.hero-scroll:hover {
  color: var(--green-400);
}

.hero-scroll svg {
  animation: hero-bounce 2s ease-in-out infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.home-features {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  margin-top: 0;
  position: relative;
  z-index: 3;
}

.home-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem clamp(1rem, 2.5vw, 2rem);
}

.home-feature {
  text-align: left;
  padding: 0.75rem;
  min-width: 0;
}

.home-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-700);
  margin-bottom: 0.75rem;
}

.home-feature-icon svg {
  width: 26px;
  height: 26px;
}

.home-feature h3 {
  font-size: 0.95rem;
  color: var(--green-800);
  margin-bottom: 0.4rem;
}

.home-feature p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.section-head {
  margin-bottom: 2rem;
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-600);
  margin-bottom: 0.5rem;
}

.section-label--light {
  color: var(--green-400);
}

.section-title--flush {
  margin-bottom: 0;
}

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

.section-desc {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 42rem;
}

.section-desc--catalog {
  margin-top: 0.5rem;
}

.section-head--center .section-desc {
  margin-inline: auto;
}

.catalog-preview {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 12%);
  padding-top: 4rem;
}

.catalog-preview-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.catalog-preview-panel .category-tabs {
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.home-about {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 50%, var(--green-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.home-about::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 40%, rgba(82, 183, 136, 0.15), transparent 65%);
  pointer-events: none;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.home-about-visual {
  position: relative;
  margin: 0;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.home-about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-about-visual:hover .home-about-photo {
  transform: scale(1.04);
}

.home-about-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 46, 34, 0.15) 0%,
    rgba(10, 46, 34, 0.05) 40%,
    rgba(10, 46, 34, 0.55) 100%
  );
  pointer-events: none;
}

.home-about-float {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  margin: 0;
  padding: 0.75rem 1rem;
  background: rgba(10, 46, 34, 0.82);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  border: 1px solid rgba(82, 183, 136, 0.25);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--green-400);
  z-index: 1;
}

.home-about-lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.5rem;
}

.home-about-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-about-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.home-about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
}

.home-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-about-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.home-about-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.home-partners {
  background: var(--cream);
}

.partners-grid--home {
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-card--home {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.partner-card--home:hover {
  border-color: var(--green-400);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.partner-card-logo {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.partner-card-logo--dark {
  background: #1a2e28;
  border-color: #2d4a42;
}

.partner-card-logo img {
  max-height: 40px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.partner-card-logo--dark img {
  max-height: 44px;
}

.home-partners .partner-card--home h3 {
  color: var(--green-800);
  font-size: 1.05rem;
  margin: 0;
  text-transform: none;
  letter-spacing: 0.02em;
}

.home-partners .partner-card-fullname {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-600);
  line-height: 1.35;
}

.home-partners .partner-card-desc {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}

.home-form {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.home-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.home-form-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 2rem;
  max-width: 28rem;
}

.home-form-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-form-contacts li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  color: var(--green-800);
}

.home-form-contacts svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--green-600);
}

.home-form-contacts a {
  color: var(--green-800);
  transition: color var(--transition);
}

.home-form-contacts a:hover {
  color: var(--green-500);
}

.home-form-panel {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.page-home .section {
  padding: 5rem 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--white);
}

.section-dark {
  background: var(--green-800);
  color: var(--white);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
}

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

.section-title.center {
  text-align: center;
}

.section-title.right {
  text-align: right;
}

/* About block on home */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--green-700), var(--green-900));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(82, 183, 136, 0.25), transparent 60%);
}

.about-visual svg {
  width: 80%;
  max-height: 220px;
  color: var(--green-400);
  opacity: 0.9;
  position: relative;
}

.about-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

/* Catalog preview (home) — base styles at .catalog-preview block above */

.catalog-preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0;
}

.catalog-preview-head .section-title {
  margin-bottom: 0;
}

.catalog-preview-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-600);
  transition: color var(--transition);
}

.catalog-preview-link:hover {
  color: var(--green-800);
}

.catalog-preview-more {
  text-align: center;
  margin-top: 2.5rem;
}

.catalog-filters-row--compact {
  margin-bottom: 1rem;
}

/* Catalog page */
.page-catalog .catalog-toolbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0 1.5rem;
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  box-shadow: 0 4px 20px rgba(13, 61, 46, 0.06);
}

.category-tabs--catalog {
  justify-content: flex-start;
  margin-bottom: 1rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.category-tabs--catalog .category-tab {
  flex-shrink: 0;
}

.catalog-filters-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.catalog-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.catalog-search--wide {
  flex: 1;
  min-width: min(100%, 220px);
}

.btn-reset-filters {
  flex-shrink: 0;
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
}

.catalog-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  background: var(--green-100);
  border: 1px solid rgba(64, 145, 108, 0.25);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-800);
  cursor: pointer;
  transition: background var(--transition);
}

.filter-chip:hover {
  background: #c5ecd0;
}

.filter-chip-x {
  opacity: 0.7;
  font-size: 1.1rem;
  line-height: 1;
}

.catalog-results {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.catalog-results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.catalog-results-count {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.catalog-sort-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.catalog-sort-label .sort-select {
  min-width: 200px;
}

.catalog-loading {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  grid-column: 1 / -1;
}

.product-card--skeleton {
  pointer-events: none;
  padding: 1.5rem;
}

.skeleton-img,
.skeleton-line {
  background: linear-gradient(
    90deg,
    var(--border) 25%,
    #eef4f0 50%,
    var(--border) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shine 1.2s ease-in-out infinite;
  border-radius: 8px;
}

.skeleton-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.skeleton-line {
  height: 14px;
  margin-bottom: 0.5rem;
}

.skeleton-line.short {
  width: 60%;
}

@keyframes skeleton-shine {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.product-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 6px;
  margin-bottom: 0.65rem;
}

.product-card-brand {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.product-card-body > p:not(.product-card-brand) {
  flex: 1;
}

.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0.75rem;
}

.product-meta-item {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--green-800);
}

.product-card-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-600);
  margin-top: auto;
  transition: color var(--transition);
}

.product-card:hover .product-card-cta {
  color: var(--green-500);
}

.product-card .product-card-img {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
  width: 100%;
  border-radius: 0;
  height: 180px;
}

.product-card .product-card-img img {
  border-radius: 0;
}

.catalog-empty,
.catalog-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
}

.catalog-empty-title,
.catalog-error strong {
  font-size: 1.25rem;
  color: var(--green-800);
  margin: 0 0 0.5rem;
}

.catalog-empty-text,
.catalog-error p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: 32rem;
  margin-inline: auto;
}

.catalog-error-hint {
  font-size: 0.85rem;
}

.catalog-error code {
  background: var(--cream);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85em;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: flex-end;
}

.category-tab {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.category-tab:hover,
.category-tab.active {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}

.filter-select,
.catalog-search input,
.sort-select {
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text);
  min-width: 160px;
}

.catalog-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.catalog-search input {
  width: 100%;
  padding-right: 2.5rem;
}

.catalog-search svg {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  color: var(--text-muted);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card a:not(.product-card-link) {
  display: block;
  padding: 1.5rem;
}

.product-card-img {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
}

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

.product-card h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: var(--green-800);
}

.product-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

/* Partners (dark sections only) */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.section-dark .partner-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: background var(--transition);
}

.section-dark .partner-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section-dark .partner-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--green-400);
}

.section-dark .partner-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* Form */
.form-section {
  background: var(--white);
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
}

.form-success {
  display: none;
  padding: 1rem;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  text-align: center;
}

.form-error {
  display: none;
  padding: 1rem;
  background: #fdecea;
  color: #8b2e2e;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.45;
}

.btn-submit.is-loading {
  opacity: 0.75;
  cursor: wait;
}

/* Footer */
.site-footer {
  background: var(--green-900);
  color: var(--white);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--green-400);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-contact-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--green-400);
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--white);
}

.footer-contact-item a:hover {
  color: var(--green-400);
}

.footer-map {
  width: 100%;
  height: 360px;
  border: none;
  display: block;
}

/* Page hero */
.page-hero {
  background: var(--green-800);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-hero--rich {
  text-align: left;
  padding: 2.5rem 0 3.5rem;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero--rich::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 50%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(82, 183, 136, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-hero-lead {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumbs a {
  color: var(--green-400);
  font-weight: 600;
  transition: color var(--transition);
}

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

.breadcrumbs span:last-child {
  color: rgba(255, 255, 255, 0.9);
}

/* About page */
.about-stats {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1rem;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-card-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-800);
  letter-spacing: 0.02em;
}

.stat-card-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.about-body {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.about-toc-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.about-toc a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-800);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), padding-left var(--transition);
}

.about-toc a:last-child {
  border-bottom: none;
}

.about-toc a:hover,
.about-toc a.is-active {
  color: var(--green-500);
  padding-left: 0.35rem;
}

.about-toc a.is-active {
  border-left: 3px solid var(--green-500);
  padding-left: 0.5rem;
  margin-left: -0.5rem;
}

.about-aside-cta {
  background: var(--green-100);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(64, 145, 108, 0.2);
}

.about-aside-cta p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-800);
  line-height: 1.4;
}

.about-article {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 2.5rem 3rem;
  max-width: 52rem;
}

.about-block {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

#form {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.about-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.about-block h2 {
  font-size: 1.35rem;
  color: var(--green-800);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--green-400);
  display: inline-block;
}

.about-block p {
  margin: 0 0 1.15rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 65ch;
}

.about-block p:last-child {
  margin-bottom: 0;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.about-tags li {
  padding: 0.45rem 1rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-700);
}

.about-cta-band {
  background: var(--green-800);
  color: var(--white);
  padding: 3rem 0;
}

.about-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.about-cta-inner h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.about-cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 28rem;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-cta-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.about-cta-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.about-content {
  max-width: 820px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: var(--text);
}

/* Product page */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  padding: 3rem 0 4rem;
  align-items: start;
}

.product-gallery-main {
  aspect-ratio: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.product-gallery-main img {
  max-height: 100%;
  object-fit: contain;
}

.product-info h1 {
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green-800);
  margin-bottom: 0.25rem;
}

.product-brand {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.product-weight label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.product-weight select {
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  min-width: 120px;
  margin-bottom: 1.5rem;
}

.product-desc {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.product-class {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.9rem;
}

.specs-table th,
.specs-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.specs-table th {
  font-weight: 600;
  color: var(--text-muted);
  width: 55%;
}

.specs-table tr:nth-child(even) td {
  background: var(--cream);
}

.related-section {
  padding: 3rem 0 5rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

/* Contacts page */
.contacts-quick {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  padding-bottom: 0.5rem;
}

.contacts-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quick-contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
  color: inherit;
}

a.quick-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(13, 61, 46, 0.12);
  border-color: var(--green-400);
}

.quick-contact-card--phone:hover .quick-contact-value {
  color: var(--green-600);
}

.quick-contact-card--static {
  cursor: default;
}

.quick-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.quick-contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--green-700);
}

.quick-contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.quick-contact-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1.35;
  transition: color var(--transition);
}

.quick-contact-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.quick-contact-hint--link {
  color: var(--green-600);
  font-weight: 600;
}

.quick-contact-hint--link:hover {
  color: var(--green-500);
}

.contacts-main {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contacts-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-panel,
.contact-form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-panel h2,
.contact-form-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--green-800);
}

.contact-panel-intro,
.contact-form-intro {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 40ch;
}

.contact-list--enhanced {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
}

.contact-list--enhanced li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-list--enhanced li:last-child {
  border-bottom: none;
}

.contact-list-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-list-icon svg {
  width: 22px;
  height: 22px;
  color: var(--green-700);
}

.contact-list-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-list-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-800);
  line-height: 1.4;
}

a.contact-list-value:hover {
  color: var(--green-500);
}

.contact-map-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-map-title {
  font-size: 1rem;
  padding: 1rem 1.25rem 0;
  margin: 0;
  color: var(--green-800);
}

.contact-map-iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
  margin-top: 0.75rem;
}

.contacts-form-col {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.contact-form--panel .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form--panel .form-group input,
.contact-form--panel .form-group textarea {
  background: var(--cream);
}

.contact-form--panel .form-group input:focus,
.contact-form--panel .form-group textarea:focus {
  background: var(--white);
}

.required {
  color: var(--green-600);
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-submit {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-footer--compact {
  padding-top: 2.5rem;
}

.site-footer--compact .footer-map {
  display: none;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--green-800);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
}

.contact-list svg {
  width: 22px;
  flex-shrink: 0;
  color: var(--green-600);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 22, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px);
  transition: transform var(--transition);
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-muted);
}

.modal h2 {
  font-size: 1.35rem;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.modal p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.modal-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-contacts a {
  color: var(--green-700);
  font-weight: 600;
}

.modal-contacts a:hover {
  color: var(--green-500);
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 50;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

/* Mobile nav */
@media (max-width: 900px) {
  .burger {
    display: flex;
  }

  .nav-main {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--green-800);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .nav-main.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-main a {
    width: 100%;
    padding: 1rem;
  }

  .header-search {
    display: none;
  }

  .about-grid,
  .product-layout,
  .contacts-grid,
  .contacts-layout,
  .about-layout,
  .about-stats-grid,
  .contacts-quick-grid,
  .footer-grid,
  .hero-layout,
  .home-features-grid,
  .home-about-grid,
  .home-form-grid {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    padding: calc(var(--header-h) + 1.5rem) 0 3rem;
  }

  .hero-card {
    justify-self: stretch;
    max-width: none;
    margin-top: 0.5rem;
  }

  .hero-scroll {
    display: none;
  }

  .home-features {
    margin-top: 0;
    padding: 2rem 0;
  }

  .home-feature {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1rem;
    align-items: start;
  }

  .home-feature-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .home-about-actions {
    flex-direction: column;
  }

  .home-about-actions .btn {
    width: 100%;
    text-align: center;
  }

  .about-aside,
  .contacts-form-col {
    position: static;
  }

  .about-article {
    padding: 1.75rem 1.5rem;
  }

  .about-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form--panel .form-row {
    grid-template-columns: 1fr;
  }

  .about-toc {
    display: none;
  }

  .section-title.right {
    text-align: left;
  }

  .category-tabs {
    justify-content: flex-start;
  }

  .page-catalog .catalog-toolbar {
    position: static;
  }

  .catalog-results-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-sort-label .sort-select {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .header-phone {
    font-size: 0.8rem;
  }

  .header-right .btn-outline {
    display: none;
  }

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

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

  .home-features-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid--home {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .home-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
