:root {
  --green-950: #042c25;
  --green-900: #063b32;
  --green-800: #075246;
  --green-700: #0b6d5e;
  --aqua-500: #27c7b7;
  --aqua-200: #bdeee8;
  --mint-100: #eefaf4;
  --cream: #f6f2e8;
  --paper: #ffffff;
  --graphite: #17201e;
  --muted: #66736f;
  --line: rgba(8, 62, 53, 0.14);
  --shadow: 0 24px 80px rgba(4, 44, 37, 0.16);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--graphite);
  background: #fbfcf8;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

input[type="file"] {
  width: 100%;
  padding: 14px;
  border: 1px dashed rgba(7, 82, 70, 0.26);
  border-radius: var(--radius);
  background: #fff;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 44px rgba(4, 44, 37, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 188px;
  font-weight: 800;
}

.brand__mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(4, 44, 37, 0.18);
}

.site-header.is-scrolled .brand__mark,
.site-header.is-open .brand__mark,
.brand--footer .brand__mark {
  border-color: rgba(7, 82, 70, 0.14);
}

.brand__mark img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.brand__name,
.brand__caption {
  display: block;
}

.brand__name {
  font-size: 1rem;
  line-height: 1.05;
}

.brand__caption {
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.74;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  font-size: 0.92rem;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.nav-toggle span:first-child {
  transform: translate(-50%, -50%) translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translate(-50%, -50%) translateY(4px);
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding-inline: 18px;
}

.button--icon {
  gap: 10px;
}

.button--primary {
  color: #03231d;
  background: linear-gradient(135deg, #bff4de, #29d5c1);
  box-shadow: 0 16px 34px rgba(39, 199, 183, 0.28);
}

.button--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.section--cream .button--secondary,
.contacts .button--secondary,
.plants .button--secondary {
  color: var(--green-950);
  border-color: rgba(7, 82, 70, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.button--glass {
  color: inherit;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.button--icon svg,
.icon-button svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header.is-scrolled .button--glass,
.site-header.is-open .button--glass,
.admin-page .button--glass {
  border-color: rgba(7, 82, 70, 0.16);
  background: rgba(7, 82, 70, 0.06);
}

.button--whatsapp {
  color: #fff;
  background: #128c7e;
  box-shadow: 0 16px 34px rgba(18, 140, 126, 0.24);
}

.button--max {
  color: #fff;
  background: #2ea88e;
  box-shadow: 0 16px 34px rgba(46, 168, 142, 0.24);
}

.button--telegram {
  color: #fff;
  background: #229ed9;
  box-shadow: 0 16px 34px rgba(34, 158, 217, 0.24);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero__media,
.hero__media img,
.hero__overlay {
  position: absolute;
  inset: 0;
}

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

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(3, 31, 27, 0.86) 0%, rgba(3, 31, 27, 0.62) 42%, rgba(3, 31, 27, 0.18) 100%),
    linear-gradient(0deg, rgba(3, 31, 27, 0.9) 0%, rgba(3, 31, 27, 0) 44%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-height) + 56px) 0 46px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--aqua-500);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.page-head h1 {
  margin: 0;
  max-width: 930px;
  font-size: clamp(2.45rem, 6vw, 4.95rem);
  line-height: 0.98;
}

.hero__lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 940px;
  margin-top: 30px;
}

.hero__features span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  font-weight: 700;
}

.section {
  padding: clamp(74px, 9vw, 126px) 0;
}

.section--light {
  background: linear-gradient(180deg, #fbfcf8 0%, var(--mint-100) 100%);
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  color: #fff;
  background:
    radial-gradient(circle at 15% 5%, rgba(39, 199, 183, 0.18), transparent 31%),
    linear-gradient(135deg, #042c25 0%, #0a3d34 56%, #061d1a 100%);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.section-copy h2,
.section-head h2,
.reviews__top h2,
.contacts h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.section-copy p,
.section-head p,
.contacts p,
.page-head p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-card picture,
.about-card img {
  width: 100%;
  height: 100%;
}

.about-card img {
  min-height: 520px;
  object-fit: cover;
}

.about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 44, 37, 0.6), rgba(4, 44, 37, 0));
}

.about-card__panel {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 4px;
  padding: 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 44, 37, 0.68);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head--wide {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: end;
}

.benefits-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.benefit-card {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(4, 44, 37, 0.07);
}

.benefit-card__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--green-950);
  background: linear-gradient(135deg, #e7fff7, #83e5d8);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(39, 199, 183, 0.2);
}

.benefit-card__icon svg,
.icon-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-card h3,
.review-card strong {
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(7, 82, 70, 0.13);
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(4, 44, 37, 0.08);
}

.product-card picture {
  display: block;
  aspect-ratio: 1.2 / 1;
  overflow: hidden;
  background: #dcebe6;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.product-card h3 {
  font-size: 1rem;
  line-height: 1.25;
}

.product-card em {
  color: var(--green-700);
  font-size: 0.9rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.product-card__action {
  width: 100%;
  margin-top: auto;
  min-height: 42px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gallery-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-card picture,
.gallery-card img {
  width: 100%;
  height: 100%;
}

.gallery-card picture {
  position: absolute;
  inset: 0;
}

.gallery-card img {
  object-fit: cover;
}

.gallery-card__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  color: #fff;
  background: rgba(4, 44, 37, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.gallery-card__caption p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.order {
  background:
    linear-gradient(90deg, rgba(238, 250, 244, 0.98), rgba(255, 255, 255, 0.85)),
    url("../plants_1.webp") center / cover;
}

.order__wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
}

.step-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(7, 82, 70, 0.14);
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  box-shadow: 0 16px 46px rgba(4, 44, 37, 0.08);
}

.step-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green-800);
  border-radius: 50%;
  font-weight: 800;
}

.step-card h3 {
  margin: 0 0 4px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.reviews__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section--dark .eyebrow {
  color: var(--aqua-200);
}

.rating {
  padding: 20px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.rating strong {
  display: inline-block;
  font-size: 3.2rem;
  line-height: 0.9;
}

.rating span,
.review-card p {
  color: rgba(255, 255, 255, 0.75);
}

.reviews__actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.reviews__actions .button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.empty-state {
  padding: 22px;
  color: var(--muted);
  border: 1px dashed rgba(7, 82, 70, 0.18);
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
}

.review-card {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.review-card blockquote {
  margin: 0;
}

.review-card__stars {
  color: #ffe180;
}

.is-hidden-review {
  display: none;
}

.is-hidden-review.review-visible {
  display: flex;
}

.contacts {
  background: linear-gradient(180deg, #fbfcf8, #eefaf4);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 30px;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  font-style: normal;
}

.contact-list a,
.contact-list div {
  display: grid;
  gap: 3px;
  padding: 18px;
  border: 1px solid rgba(7, 82, 70, 0.12);
  background: var(--mint-100);
  border-radius: var(--radius);
}

.contact-list span,
.field-label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.contact-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
}

.contacts .contact-actions .button {
  min-height: 54px;
  padding-inline: 20px;
  color: var(--green-950);
  border-color: rgba(7, 82, 70, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(220, 247, 239, 0.96));
  box-shadow: 0 10px 24px rgba(7, 82, 70, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: none;
}

.contacts .contact-actions .button:hover,
.contacts .contact-actions .button:focus-visible {
  border-color: rgba(7, 82, 70, 0.22);
  background: linear-gradient(180deg, #ffffff, #d4f7eb);
  box-shadow: 0 16px 32px rgba(7, 82, 70, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.contact-actions__price {
  font-weight: 800;
}

.footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #031f1b;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.brand--footer,
.footer-nav {
  color: #fff;
}

.footer p {
  margin: 14px 0 0;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  max-width: 520px;
  font-weight: 650;
}

.section-observe {
  opacity: 1;
  transform: translateY(24px);
  transition: transform 0.7s ease;
}

.section-observe.is-visible {
  transform: none;
}

.flash-stack {
  position: fixed;
  top: calc(var(--header-height) + 14px);
  right: 20px;
  z-index: 40;
  display: grid;
  gap: 10px;
}

.flash {
  position: relative;
  max-width: 360px;
  padding: 18px 16px 14px;
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    max-height 0.35s ease,
    margin 0.35s ease,
    padding 0.35s ease;
  overflow: hidden;
}

.flash__bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 3s linear;
  will-change: transform;
}

.flash__bar.is-animating {
  transform: scaleX(0);
}

.flash.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.flash.is-hiding .flash__bar {
  transform: scaleX(0);
}

.flash__text {
  display: block;
}

.flash--success {
  background: rgba(16, 104, 74, 0.92);
}

.flash--info {
  background: rgba(5, 75, 91, 0.92);
}

.is-hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 14px;
    font-size: 0.86rem;
  }

  .reviews-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand {
    min-width: auto;
  }

  .brand__caption {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 12px;
    color: var(--green-950);
    z-index: 30;
    background: #fff;
    border: 1px solid rgba(7, 82, 70, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(18px);
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

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

  .split,
  .section-head--wide,
  .order__wrap,
  .contact-card,
  .reviews__top {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 620px) {
  .header-contact-link {
    display: none;
  }

  .hero h1,
  .page-head h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .hero__buttons,
  .contact-actions,
  .form-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero__features,
  .product-grid,
  .reviews-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .footer__inner {
    display: grid;
  }

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