@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  color-scheme: light;
  --bg: #f7f7f7;
  --bg-2: #ffffff;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --line: rgba(31, 41, 51, 0.12);
  --text: #1f2933;
  --muted: #55616d;
  --muted-2: #6f7c86;
  --accent: #7e9339;
  --accent-2: #6f7c86;
  --accent-3: #4f6f2d;
  --shadow: 0 22px 60px rgba(31, 41, 51, 0.08);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1240px;
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(126, 147, 57, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(126, 147, 57, 0.05), transparent 26%),
    linear-gradient(180deg, #f7f7f7 0%, #f4f4f4 52%, #f7f7f7 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

button {
  border: 0;
  background: none;
  color: inherit;
}

.page-shell {
  position: relative;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.03;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 4px 4px;
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(247, 247, 247, 0.88);
  border-bottom-color: rgba(31, 41, 51, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.site-header__inner,
.section,
.site-footer__inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__logo {
  width: 170px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.34));
}

.site-header__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  color: var(--muted);
}

.meta-link {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.meta-sep {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(126, 147, 57, 0.7);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.meta-link:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid rgba(31, 41, 51, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 245, 0.9));
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.08);
  align-items: center;
  justify-content: center;
}

.nav-toggle__icon {
  width: 22px;
  height: 22px;
  stroke: var(--text);
  stroke-width: 1.8;
  stroke-linecap: round;
  fill: none;
}

.section {
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 34px;
  padding-top: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(126, 147, 57, 0.18);
  border-radius: 999px;
  background: rgba(126, 147, 57, 0.08);
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero h1,
.section-heading h2,
.story h2,
.process .section-heading h2 {
  margin: 18px 0 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  max-width: 12ch;
}

.hero__lead,
.section-heading p,
.story p,
.contact-card p,
.order-panel__card p,
.process-card p,
.service-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero__lead {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 1.06rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #1f2933;
  background: linear-gradient(135deg, var(--accent) 0%, #93aa46 100%);
  box-shadow: 0 18px 40px rgba(126, 147, 57, 0.24);
}

.btn--ghost {
  border: 1px solid rgba(31, 41, 51, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

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

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__chips span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__visual {
  position: relative;
  min-height: 660px;
  border-radius: 42px;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(126, 147, 57, 0.06), rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 41, 51, 0.08);
}

.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(247, 247, 247, 0.08), rgba(247, 247, 247, 0.2)),
    linear-gradient(135deg, rgba(126, 147, 57, 0.12), transparent 40%);
  z-index: 1;
}

.hero-carousel__frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 700ms ease,
    transform 900ms ease;
}

.hero-carousel__frame.is-active {
  opacity: 1;
  transform: scale(1);
}

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

.hero-card {
  position: absolute;
  z-index: 3;
  width: min(280px, calc(100% - 32px));
  padding: 18px 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(31, 41, 51, 0.08);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.hero-card--top {
  top: 24px;
  left: 24px;
}

.hero-card--bottom {
  right: 24px;
  bottom: 40px;
}

.hero-card__label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.stat-card,
.service-card,
.process-card,
.contact-card,
.order-panel__card,
.story__points .point {
  border: 1px solid rgba(31, 41, 51, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 22px;
}

.stat-card span {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  color: var(--accent);
}

.stat-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section--split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 28px;
}

.section-heading h2,
.story h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 12ch;
}

.section-heading p {
  max-width: 62ch;
  margin-top: 16px;
}

.section-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: none;
  border-radius: 30px;
  border: 1px solid rgba(31, 41, 51, 0.08);
  box-shadow: var(--shadow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.service-card {
  padding: 22px;
}

.service-card img {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}

.service-card h3,
.process-card h3,
.contact-card h3,
.order-panel__card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
}

.story {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.story__copy p {
  margin: 18px 0 0;
  max-width: 62ch;
}

.story__points {
  display: grid;
  gap: 14px;
}

.story__points .point {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.story__points span,
.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(132, 216, 255, 0.13);
  color: var(--accent);
  font-weight: 800;
}

.story__points p {
  margin: 0;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.filter-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(31, 41, 51, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: rgba(126, 147, 57, 0.3);
  background: rgba(126, 147, 57, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.gallery-item {
  position: relative;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  border: 1px solid rgba(31, 41, 51, 0.08);
  background: rgba(255, 255, 255, 0.9);
  aspect-ratio: 1.08;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 220ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(31, 41, 51, 0.72) 100%);
}

.gallery-item span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.gallery-item.is-hidden {
  display: none;
}

.process-grid,
.contacts-grid,
.order-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.process-card,
.contact-card,
.order-panel__card {
  padding: 22px;
}

.process-card h3 {
  margin-top: 12px;
}

.order-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.order-form {
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(31, 41, 51, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-row > label:last-child {
  grid-column: 1 / -1;
}

.order-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(31, 41, 51, 0.1);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: rgba(126, 147, 57, 0.38);
  box-shadow: 0 0 0 4px rgba(126, 147, 57, 0.08);
  background: #ffffff;
}

.order-form textarea {
  resize: vertical;
  min-height: 146px;
}

.form-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--accent-3);
  font-weight: 700;
}

.order-panel {
  display: grid;
  gap: 14px;
}

.order-panel__card--accent {
  border-color: rgba(126, 147, 57, 0.18);
  background: linear-gradient(180deg, rgba(126, 147, 57, 0.08), rgba(255, 255, 255, 0.92));
}

.order-panel__card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-card--cta {
  display: flex;
  flex-direction: column;
}

.contact-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.site-footer {
  padding: 20px 0 34px;
}

.site-footer__inner {
  padding-top: 24px;
  border-top: 1px solid rgba(31, 41, 51, 0.08);
  color: var(--muted-2);
  font-size: 0.92rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(247, 247, 247, 0.76);
  backdrop-filter: blur(18px);
}

.modal__dialog {
  position: relative;
  width: min(92vw, 980px);
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(31, 41, 51, 0.08);
  background: var(--panel-strong);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.modal__dialog img {
  width: 100%;
  height: min(76vh, 720px);
  object-fit: cover;
}

.modal__dialog figcaption {
  padding: 16px 20px 20px;
  color: var(--muted);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.6rem;
  line-height: 1;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(31, 41, 51, 0.08);
  background: #ffffff;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero,
  .section--split,
  .story,
  .order-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 540px;
  }

  .services-grid,
  .gallery-grid,
  .process-grid,
  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-header__meta {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 0 0;
    margin-left: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero__visual {
    min-height: 400px;
  }

  .stats,
  .services-grid,
  .gallery-grid,
  .process-grid,
  .contacts-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-card {
    width: min(260px, calc(100% - 28px));
  }
}

@media (max-width: 560px) {
  .site-header__inner,
  .section,
  .site-footer__inner {
    width: min(var(--max), calc(100% - 22px));
  }

  .section {
    padding: 58px 0;
  }

  .brand__logo {
    width: 144px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .hero__lead,
  .section-heading p,
  .story p {
    font-size: 0.98rem;
  }

  .hero__visual {
    min-height: 328px;
  }

  .hero-card--top,
  .hero-card--bottom {
    left: 16px;
    right: 16px;
    width: auto;
  }

  .hero-card--bottom {
    bottom: 16px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
