/* ============================================================
   СЕРПАНТИН — event-агентство
   Дизайн-система: тёмный лесной зелёный + сливочный + шалфей
   ============================================================ */

:root {
  --forest-950: #103229;
  --forest-900: #184437;
  --forest-850: #1c4c3d;
  --forest-800: #23594a;
  --forest-700: #2a6655;
  --forest-600: #357a64;
  --sage-500: #8fb29c;
  --sage-400: #a7c3b1;
  --sage-300: #c3d8ca;
  --sage-200: #dbe9df;
  --cream-50: #f7f2e7;
  --cream-100: #f1eadb;
  --cream-200: #e5dcc9;
  --ink: #14211c;
  --muted: #6a7d72;
  --line-dark: rgba(247, 242, 231, 0.14);
  --line-dark-strong: rgba(247, 242, 231, 0.26);
  --line-light: rgba(20, 33, 28, 0.14);
  --line-light-strong: rgba(20, 33, 28, 0.26);
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1240px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 24px 70px rgba(16, 50, 41, 0.22);
  --shadow-deep: 0 40px 100px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--forest-900);
  color: var(--cream-50);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--sage-500);
  color: var(--forest-950);
}

:focus-visible {
  outline: 2px solid var(--sage-400);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--cream-50);
  color: var(--forest-900);
  font-size: 12px;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Типографика ---------- */

h1,
h2,
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

h1 em,
h2 em,
.display em {
  font-style: italic;
}

h2 {
  font-size: clamp(2.35rem, 4.7vw, 4.9rem);
}

h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage-500);
}

.section--cream .eyebrow {
  color: var(--forest-600);
}

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.6;
  color: rgba(247, 242, 231, 0.74);
}

.section--cream .lead {
  color: var(--muted);
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--cream {
  background: var(--cream-50);
  color: var(--forest-900);
}

.btn--cream:hover {
  background: #fffdf7;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(247, 242, 231, 0.34);
  color: var(--cream-50);
}

.btn--ghost:hover {
  border-color: var(--cream-50);
  background: rgba(247, 242, 231, 0.06);
}

.section--cream .btn--cream,
.form-card .btn--cream {
  background: var(--forest-900);
  color: var(--cream-50);
}

.section--cream .btn--cream:hover,
.form-card .btn--cream:hover {
  background: var(--forest-700);
}

.section--cream .btn--ghost,
.form-card .btn--ghost {
  border-color: var(--line-light-strong);
  color: var(--ink);
}

.btn--small {
  min-height: 44px;
  padding: 12px 20px;
  font-size: 11px;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  transition: gap 0.25s var(--ease), opacity 0.25s var(--ease);
}

.link-arrow:hover {
  gap: 16px;
  opacity: 0.75;
}

/* ---------- Верхняя информационная полоса ---------- */

.topbar {
  background: var(--forest-950);
  border-bottom: 1px solid rgba(247, 242, 231, 0.08);
  font-size: 16px;
  color: rgba(247, 242, 231, 0.68);
}

.topbar__inner {
  width: min(1860px, calc(100% - 48px));
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color 0.2s var(--ease);
}

.topbar a.topbar__item:hover {
  color: var(--cream-50);
}

.topbar__item svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.topbar__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sage-500);
  opacity: 0.5;
}

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(24, 68, 55, 0.96);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(16, 50, 41, 0.98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.header__inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: min-height 0.3s var(--ease);
}

.site-header.is-scrolled .header__inner {
  min-height: 88px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
}

.brand__logo {
  width: 280px;
  height: auto;
}

.brand__tag {
  padding-left: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-500);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav__link {
  position: relative;
  padding: 7px 0;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(247, 242, 231, 0.82);
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--sage-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--cream-50);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__dropdown {
  position: relative;
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav__toggle svg {
  width: 10px;
  height: 10px;
  transition: transform 0.25s var(--ease);
}

.nav__dropdown.is-open .nav__toggle svg,
.nav__dropdown:hover .nav__toggle svg {
  transform: rotate(180deg);
}

.nav__menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  right: auto;
  width: min(700px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 26px;
  padding: 26px;
  background: var(--forest-800);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-deep);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s var(--ease);
}

.nav__dropdown:hover .nav__menu,
.nav__dropdown.is-open .nav__menu,
.nav__dropdown:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav__menu a {
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.35;
  color: rgba(247, 242, 231, 0.8);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__menu a:hover {
  background: rgba(247, 242, 231, 0.06);
  color: var(--cream-50);
}

.nav__menu a span {
  display: block;
  margin-top: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  color: var(--cream-50);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.header-icon:hover {
  background: rgba(247, 242, 231, 0.08);
  border-color: rgba(247, 242, 231, 0.5);
}

.header-icon svg {
  width: 17px;
  height: 17px;
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  background: transparent;
}

.burger span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  background: var(--cream-50);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease),
    top 0.25s var(--ease);
}

.burger span:nth-child(1) {
  top: 16px;
}

.burger span:nth-child(2) {
  top: 21px;
}

.burger span:nth-child(3) {
  top: 26px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------- Мобильное меню ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding: 22px 20px calc(28px + env(safe-area-inset-bottom));
  background: var(--forest-900);
  color: var(--cream-50);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
}

.mobile-menu__top img {
  width: 220px;
}

.mobile-menu__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  background: transparent;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  margin: 26px 0 0;
}

.mobile-menu__nav > a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.4rem);
  line-height: 1.1;
}

.mobile-menu__label {
  margin: 24px 0 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-500);
}

.mobile-menu__services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 16px;
}

.mobile-menu__services a {
  padding: 8px 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(247, 242, 231, 0.68);
}

.mobile-menu__contact {
  margin-top: auto;
  padding-top: 30px;
}

.mobile-menu__contact a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 4px;
}

.mobile-menu__contact p {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(247, 242, 231, 0.5);
}

.mobile-menu .btn {
  margin-top: 18px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: min(860px, calc(100svh - 120px));
  padding: clamp(36px, 4.5vw, 56px) 0 clamp(62px, 7vw, 96px);
  overflow: hidden;
  background: var(--forest-900);
}

.hero__media,
.hero__overlay,
.hero__grain {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: 0;
}

.hero__overlay,
.hero__grain {
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  z-index: 0;
  background: var(--forest-950);
  transition: opacity 2s ease;
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) hue-rotate(-12deg) brightness(0.95) contrast(1.04);
}

.hero__overlay {
  background: linear-gradient(
      90deg,
      rgba(6, 25, 19, 0.94) 0%,
      rgba(6, 25, 19, 0.9) 42%,
      rgba(6, 25, 19, 0.55) 58%,
      rgba(6, 25, 19, 0.18) 78%,
      rgba(6, 25, 19, 0.12) 100%
    ),
    linear-gradient(0deg, rgba(6, 25, 19, 0.85) 0%, rgba(6, 25, 19, 0.25) 42%, rgba(6, 25, 19, 0) 66%);
}

.hero__grain {
  opacity: 0.05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.78fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: stretch;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 800px;
  min-height: 100%;
}

.hero__top {
  width: 100%;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.85rem, 6.35vw, 7rem);
  line-height: 0.9;
  text-shadow: 0 4px 34px rgba(6, 25, 19, 0.35);
}

.hero__title em {
  color: var(--sage-300);
}

.hero__lead {
  max-width: 600px;
  margin: clamp(30px, 6vh, 64px) 0 0;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: rgba(247, 242, 231, 0.86);
  text-shadow: 0 2px 20px rgba(6, 25, 19, 0.4);
}

.hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  margin-top: auto;
  padding-top: 32px;
}

.hero__bottom-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 24px;
  border-right: 1px solid var(--line-dark);
}

.hero__stat strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 500;
  line-height: 0.9;
  color: var(--cream-50);
}

.hero__stat span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.48);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: clamp(22px, 4.2vw, 58px);
  margin: clamp(36px, 5vw, 52px) 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.hero__stats div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero__stats dt {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 0.9;
  color: var(--cream-50);
}

.hero__stats dd {
  margin: 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.48);
}

.hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: end;
  gap: 26px;
  padding-bottom: 6px;
}

.hero__badge {
  width: 124px;
  height: 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(247, 242, 231, 0.28);
  border-radius: 50%;
  text-align: center;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-300);
  transform: rotate(8deg);
}

.hero__badge strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--cream-50);
}

.hero__card {
  width: min(292px, 100%);
  padding: 9px;
  border: 1px solid rgba(247, 242, 231, 0.2);
  background: rgba(247, 242, 231, 0.055);
  box-shadow: var(--shadow-deep);
  transform: rotate(-2deg);
  backdrop-filter: blur(5px);
}

.hero__card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__card figcaption {
  padding: 10px 3px 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.58);
}

@media (min-width: 1025px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(40px, 4.5vw, 64px);
    align-items: stretch;
  }

  .hero__title {
    font-size: clamp(3rem, 5.3vw, 5.7rem);
  }

  .hero__aside {
    gap: 22px;
  }

  .hero__card {
    width: 100%;
    max-width: 584px;
  }
}

/* ---------- Секции ---------- */

.section {
  position: relative;
  padding: clamp(70px, 9vw, 128px) 0;
}

.section--cream {
  background: var(--cream-50);
  color: var(--ink);
}

.section--dark {
  background: var(--forest-900);
  color: var(--cream-50);
}

.section--forest {
  background: var(--forest-850);
  color: var(--cream-50);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(30px, 5vw, 60px);
  margin-bottom: clamp(36px, 5vw, 62px);
}

.section__head h2 {
  max-width: 760px;
}

.section--dark .section__head h2 em,
.section--forest .section__head h2 em {
  color: var(--sage-300);
}

.section--cream .section__head h2 em {
  color: var(--forest-600);
}

.section__head-text {
  max-width: 380px;
  padding-bottom: 6px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.section--dark .section__head-text,
.section--forest .section__head-text {
  color: rgba(247, 242, 231, 0.6);
}

.section__head-link {
  flex-shrink: 0;
  padding-bottom: 8px;
}

/* ---------- О нас ---------- */

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 6.5vw, 96px);
  align-items: center;
}

.split__media {
  position: relative;
}

.split--about {
  grid-template-columns: minmax(0, 800px);
  justify-content: center;
}

.split--about .split__content {
  max-width: 800px;
}

.framed {
  position: relative;
  padding: 11px;
  background: #fffdf7;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-soft);
  transform: rotate(-1.4deg);
}

.framed img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.framed figcaption {
  padding: 10px 3px 1px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-sticker {
  position: absolute;
  right: -26px;
  bottom: -28px;
  max-width: 210px;
  padding: 22px 24px;
  background: var(--forest-900);
  color: var(--cream-50);
  box-shadow: var(--shadow-soft);
}

.stat-sticker strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.55rem;
  font-weight: 500;
  line-height: 0.9;
}

.stat-sticker span {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--sage-300);
}

.split__content h2 {
  margin-bottom: 22px;
}

.split__content > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.split__content > p.about-lead {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--forest-800);
}

.about-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--forest-800);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46em;
  width: 7px;
  height: 7px;
  border: 1px solid var(--sage-500);
  transform: rotate(45deg);
}

.about-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.about-years {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-years strong {
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 500;
  line-height: 0.9;
  color: var(--forest-800);
}

.about-years span {
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-foot .link-arrow {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ---------- Услуги ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(247, 242, 231, 0.018);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.services-grid .service-card {
  grid-column: span 4;
}

.services-grid .service-card--wide {
  grid-column: span 6;
}

.related-grid .service-card {
  grid-column: auto;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 178, 156, 0.55);
  background: rgba(247, 242, 231, 0.035);
}

.service-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--forest-800);
}

.service-card--wide .service-card__media {
  aspect-ratio: 16 / 9;
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 36, 29, 0.50), transparent 48%);
  pointer-events: none;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.92);
}

.service-card:hover .service-card__media img {
  transform: scale(1.045);
  filter: saturate(1);
}

.service-card__num {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid rgba(247, 242, 231, 0.22);
  border-radius: 999px;
  background: rgba(10, 36, 29, 0.55);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cream-50);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.service-card__body h3 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.service-card__body p {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(247, 242, 231, 0.56);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-300);
  transition: gap 0.25s var(--ease);
}

.service-card:hover .service-card__link {
  gap: 14px;
}

.service-card__link svg {
  width: 13px;
  height: 13px;
}

.services-note {
  margin-top: 30px;
  font-size: 13px;
  color: rgba(247, 242, 231, 0.55);
}

.services-note a {
  color: var(--sage-300);
  border-bottom: 1px solid currentColor;
}

/* ---------- Клиенты ---------- */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  padding: 22px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.logo-cell img {
  max-width: 168px;
  max-height: 96px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(0.82);
  opacity: 0.82;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.logo-cell:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.clients-note {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Процесс ---------- */

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.process::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-dark);
}

.process__item {
  position: relative;
  padding-right: 22px;
}

.process__num {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  background: var(--forest-900);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--sage-300);
}

.process__item h3 {
  margin: 0 0 7px;
  font-size: 1.38rem;
  line-height: 1.12;
}

.process__item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(247, 242, 231, 0.56);
}

.process-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
  padding: 12px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-300);
}

.process-note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage-400);
  box-shadow: 0 0 0 4px rgba(143, 178, 156, 0.12);
}

/* ---------- Галерея ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  grid-column: span 4;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--forest-800);
  cursor: zoom-in;
}

.gallery-item:nth-child(1) {
  grid-column: span 6;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(3) {
  grid-column: span 3;
  aspect-ratio: 3 / 4;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 36, 29, 0.62), transparent 48%);
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.9);
}

.gallery-item:hover img {
  transform: scale(1.045);
  filter: saturate(1);
}

.gallery-item span {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 13px;
  z-index: 2;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-50);
  text-align: left;
}

.gallery-item:focus-visible {
  outline-offset: 3px;
}

/* ---------- Лайтбокс ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(10, 36, 29, 0.96);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__figure {
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  text-align: center;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  background: rgba(247, 242, 231, 0.04);
  color: var(--cream-50);
  transition: background-color 0.2s var(--ease);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(247, 242, 231, 0.1);
}

.lightbox__close {
  top: 24px;
  right: 24px;
}

.lightbox__prev {
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
}

.lightbox__next {
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

.lightbox__close svg,
.lightbox__prev svg,
.lightbox__next svg {
  width: 16px;
  height: 16px;
}

/* ---------- Карусель фото ---------- */

.photo-carousel {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 92px) 0 0;
  background: var(--forest-950);
  border-bottom: 1px solid var(--line-dark);
}

.carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(28px, 4vw, 42px);
}

.carousel-head h2 {
  max-width: 720px;
}

.carousel-head h2 em {
  color: var(--sage-300);
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  outline: none;
}

.carousel:focus-visible {
  outline: 2px solid var(--sage-400);
  outline-offset: -4px;
}

.carousel__frame {
  position: relative;
}

.carousel__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  background: var(--forest-950);
}

.carousel__viewport.is-dragging {
  cursor: grabbing;
}

.carousel__track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.7s var(--ease);
}

.carousel__viewport.is-dragging .carousel__track {
  transition: none;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: radial-gradient(circle at center, var(--forest-700), var(--forest-950) 76%);
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel__zoom {
  position: absolute;
  top: 18px;
  right: clamp(16px, 3vw, 34px);
  bottom: auto;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(247, 242, 231, 0.38);
  border-radius: 50%;
  background: rgba(6, 25, 19, 0.5);
  color: var(--cream-50);
  backdrop-filter: blur(8px);
  opacity: 0.9;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.carousel__zoom:hover {
  background: var(--cream-50);
  color: var(--forest-900);
  opacity: 1;
  transform: scale(1.04);
}

.carousel__zoom svg {
  width: 16px;
  height: 16px;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(247, 242, 231, 0.34);
  border-radius: 50%;
  background: rgba(6, 25, 19, 0.46);
  color: var(--cream-50);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.carousel__arrow:hover {
  background: var(--cream-50);
  color: var(--forest-900);
  border-color: var(--cream-50);
}

.carousel__arrow--prev {
  left: clamp(12px, 2vw, 28px);
}

.carousel__arrow--next {
  right: clamp(12px, 2vw, 28px);
}

.carousel__arrow svg {
  width: 18px;
  height: 18px;
}

.carousel__ui {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 0 24px;
}

.carousel__counter {
  min-width: 78px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--cream-50);
}

.carousel__counter-sep {
  margin: 0 5px;
  opacity: 0.35;
}

.carousel__progress {
  position: relative;
  flex: 1;
  height: 1px;
  overflow: hidden;
  background: rgba(247, 242, 231, 0.18);
}

.carousel__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--sage-300);
  transition: width 0.5s var(--ease);
}

.carousel__hint {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.4);
  white-space: nowrap;
}

.carousel__toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid rgba(247, 242, 231, 0.26);
  border-radius: 50%;
  background: transparent;
  color: var(--cream-50);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.carousel__toggle:hover {
  background: rgba(247, 242, 231, 0.08);
  border-color: var(--line-dark-strong);
}

.carousel__toggle svg {
  width: 14px;
  height: 14px;
}

.carousel__toggle .icon-play {
  display: none;
}

.carousel__toggle.is-paused .icon-pause {
  display: none;
}

.carousel__toggle.is-paused .icon-play {
  display: block;
}

@media (max-width: 900px) {
  .photo-carousel {
    padding-top: 48px;
  }

  .carousel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 26px;
  }

  .carousel__arrow {
    width: 42px;
    height: 42px;
  }

  .carousel__arrow svg {
    width: 16px;
    height: 16px;
  }

  .carousel__ui {
    gap: 14px;
    padding: 14px 0 20px;
  }

  .carousel__counter {
    min-width: 62px;
    font-size: 1.25rem;
  }

  .carousel__hint {
    display: none;
  }
}

@media (max-width: 680px) {
  .carousel__viewport {
    aspect-ratio: 4 / 3;
  }

  .carousel__zoom {
    top: 12px;
    right: 12px;
    bottom: auto;
    width: 38px;
    height: 38px;
  }

  .carousel__arrow {
    width: 38px;
    height: 38px;
  }

  .carousel__arrow--prev {
    left: 8px;
  }

  .carousel__arrow--next {
    right: 8px;
  }

  .carousel__ui {
    gap: 10px;
    padding: 12px 0 18px;
  }

  .carousel__counter {
    min-width: 52px;
    font-size: 1.05rem;
  }

  .carousel__toggle {
    width: 32px;
    height: 32px;
  }
}

/* ---------- CTA / форма ---------- */

.section--cta {
  background-image: linear-gradient(
      105deg,
      rgba(16, 50, 41, 0.80) 0%,
      rgba(16, 50, 41, 0.70) 52%,
      rgba(24, 68, 55, 0.60) 100%
    ),
    url("../img/bg-green-1600.webp");
  background-size: cover;
  background-position: center;
  color: var(--cream-50);
}

.cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 92px);
  align-items: start;
}

.cta-content h2 {
  margin-bottom: 22px;
}

.cta-content h2 em {
  color: var(--sage-300);
}

.cta-content > p:not(.eyebrow) {
  max-width: 470px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(247, 242, 231, 0.66);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 30px;
  list-style: none;
}

.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: rgba(247, 242, 231, 0.8);
  transition: color 0.2s var(--ease);
}

.contact-list a:hover {
  color: var(--cream-50);
}

.contact-list svg {
  width: 16px;
  height: 16px;
  color: var(--sage-400);
  flex-shrink: 0;
}

.cta-note {
  max-width: 430px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 11px;
  line-height: 1.6;
  color: rgba(247, 242, 231, 0.46);
}

.form-card {
  padding: clamp(24px, 3.4vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--cream-50);
  color: var(--ink);
  box-shadow: var(--shadow-deep);
}

.form-card h3 {
  margin: 0 0 6px;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}

.form-card__intro {
  margin: 0 0 24px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label .req {
  color: var(--forest-600);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid var(--line-light-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236a7d72' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 22px;
}

.field textarea {
  min-height: 76px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(20, 33, 28, 0.34);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest-700);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #a55645;
}

.field__error {
  display: none;
  font-size: 10px;
  color: #8f4436;
}

.field.has-error .field__error {
  display: block;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 6px 0 16px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}

.checkbox input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--forest-700);
}

.checkbox a {
  color: var(--forest-700);
  border-bottom: 1px solid currentColor;
}

.form-note {
  margin-top: 11px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}

.form-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(141, 47, 36, 0.08);
  color: #7d2b20;
  font-size: 12px;
  line-height: 1.5;
}

.form-error[hidden] {
  display: none;
}

.form-card.is-sending button[type="submit"] {
  opacity: 0.6;
  pointer-events: none;
}

.checkbox .field__error {
  display: none;
}

.checkbox.has-error {
  color: #8f4436;
}

.checkbox.has-error .field__error {
  display: block;
}

body.lightbox-open {
  overflow: hidden;
}

section[id],
[id="brief"] {
  scroll-margin-top: 100px;
}

.form-success {
  display: none;
  padding: 18px 0 4px;
}

.form-success h4 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.1;
}

.form-success p {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.form-success .btn {
  margin-top: 2px;
}

.form-success__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

.form-success__actions .btn {
  margin-top: 0;
}

@media (max-width: 480px) {
  .form-success__actions {
    grid-template-columns: 1fr;
  }
}

/* ---------- Окно успешной отправки ---------- */

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.form-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.form-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 25, 19, 0.78);
  backdrop-filter: blur(10px);
}

.form-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--cream-50);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.form-modal.is-open .form-modal__dialog {
  transform: none;
}

.form-modal__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--forest-900);
}

.form-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-modal__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 25, 19, 0.02) 38%, rgba(6, 25, 19, 0.68));
  pointer-events: none;
}

.form-modal__badge {
  position: absolute;
  left: 50%;
  bottom: -28px;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-50);
  color: var(--forest-800);
  box-shadow: 0 12px 28px rgba(6, 25, 19, 0.22);
  transform: translateX(-50%);
}

.form-modal__badge svg {
  width: 26px;
  height: 26px;
}

.form-modal__body {
  padding: 48px 36px 34px;
  text-align: center;
}

.form-modal__body .eyebrow {
  justify-content: center;
  margin-bottom: 10px;
}

.form-modal__body h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--forest-900);
}

.form-modal__body p {
  max-width: 44ch;
  margin: 0 auto 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.form-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.form-modal__actions .btn {
  min-width: 150px;
}

.form-modal__actions .btn--cream {
  background: var(--forest-900);
  color: var(--cream-50);
}

.form-modal__actions .btn--cream:hover {
  background: var(--forest-700);
}

.form-modal__actions .btn--ghost {
  border-color: var(--line-light-strong);
  color: var(--ink);
}

.form-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 242, 231, 0.28);
  border-radius: 50%;
  background: rgba(6, 25, 19, 0.42);
  color: var(--cream-50);
  backdrop-filter: blur(8px);
  transition: background-color 0.2s var(--ease);
}

.form-modal__close:hover {
  background: rgba(6, 25, 19, 0.7);
}

.form-modal__close svg {
  width: 14px;
  height: 14px;
}

body.form-modal-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  .form-modal {
    padding: 14px;
  }

  .form-modal__body {
    padding: 44px 22px 26px;
  }

  .form-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form-modal__actions .btn {
    width: 100%;
  }
}

.form-card.is-sent .form-fields {
  display: none;
}

.form-card.is-sent .form-success {
  display: block;
}

/* ---------- Внутренняя hero ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6.5vw, 82px) 0 clamp(56px, 8vw, 104px);
  background: var(--forest-900);
  border-bottom: 1px solid var(--line-dark);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 70%;
  height: 180%;
  background: radial-gradient(
    circle at center,
    rgba(143, 178, 156, 0.11),
    transparent 62%
  );
  pointer-events: none;
}

.page-hero__mark {
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 520px;
  height: 520px;
  opacity: 0.06;
  pointer-events: none;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.42);
}

.breadcrumbs a {
  transition: color 0.2s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--cream-50);
}

.breadcrumbs span {
  opacity: 0.4;
}

.page-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.7rem, 5.2vw, 5.6rem);
  line-height: 0.94;
}

.page-hero h1 em {
  color: var(--sage-300);
}

.page-hero__lead {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.6;
  color: rgba(247, 242, 231, 0.72);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 30px;
}


.page-hero__media {
  position: relative;
}

.page-hero__frame {
  padding: 10px;
  border: 1px solid rgba(247, 242, 231, 0.2);
  background: rgba(247, 242, 231, 0.04);
  transform: rotate(1.2deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.page-hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-hero__frame figcaption {
  padding: 9px 2px 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.48);
}

/* ---------- Внутренние секции ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.intro-grid h2 {
  margin-bottom: 0;
}

.intro-copy p {
  margin: 0 0 15px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.intro-copy p:last-of-type {
  margin-bottom: 0;
}

.fact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
  list-style: none;
}

.fact-list li {
  padding: 8px 12px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-700);
}

.includes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.include {
  min-height: 154px;
  padding: 24px 22px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.include__num {
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--sage-500);
}

.include h3 {
  margin: 0 0 7px;
  font-size: 1.28rem;
  line-height: 1.12;
}

.include p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(247, 242, 231, 0.54);
}

.formats-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.formats-intro {
  position: sticky;
  top: 120px;
}

.formats-intro h2 {
  margin-bottom: 20px;
}

.formats-intro p:not(.eyebrow) {
  max-width: 390px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.formats-list {
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.format {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 21px 0;
  border-bottom: 1px solid var(--line-light);
}

.format__num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--forest-600);
}

.format h3 {
  margin: 0 0 3px;
  font-size: 1.55rem;
  line-height: 1.1;
}

.format p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(38px, 5vw, 64px);
}

.photo-strip figure {
  position: relative;
  overflow: hidden;
  background: var(--forest-800);
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.9s var(--ease);
}

.photo-strip figure:hover img {
  transform: scale(1.035);
}

.photo-strip figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 11px;
  z-index: 1;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-50);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.photo-strip figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 36, 29, 0.55), transparent 52%);
  pointer-events: none;
}

.mini-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mini-step {
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.mini-step span {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--sage-500);
}

.mini-step h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  line-height: 1.12;
}

.mini-step p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(247, 242, 231, 0.54);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ---------- Контакты ---------- */

.contacts-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--line-light);
  background: rgba(255, 253, 247, 0.45);
}

.contact-card__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--line-light-strong);
  border-radius: 50%;
  color: var(--forest-700);
}

.contact-card__icon svg {
  width: 15px;
  height: 15px;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.contact-card p,
.contact-card a {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.contact-card a:hover {
  color: var(--forest-700);
}

.contact-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
}

.contact-card__links a {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-700);
  border-bottom: 1px solid currentColor;
}

.map-card {
  position: relative;
  height: clamp(300px, 36vw, 430px);
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--cream-200);
}

.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) sepia(0.05);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 3px solid var(--cream-50);
  border-radius: 50% 50% 50% 0;
  background: var(--forest-700);
  box-shadow: 0 8px 18px rgba(16, 50, 41, 0.35);
  transform: translate(-50%, -100%) rotate(-45deg);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--cream-50);
}

.map-label {
  position: absolute;
  left: 50%;
  top: calc(50% + 13px);
  padding: 6px 10px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: var(--cream-50);
  color: var(--forest-800);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transform: translateX(-50%);
  box-shadow: 0 8px 20px rgba(16, 50, 41, 0.12);
}

.map-open {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--forest-900);
  color: var(--cream-50);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.2s var(--ease);
}

.map-open:hover {
  background: var(--forest-700);
}

.map-credit {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(247, 242, 231, 0.76);
  font-size: 8px;
  color: var(--muted);
}

.map-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}

/* ---------- Текстовая страница ---------- */

.text-page {
  padding: clamp(50px, 7vw, 90px) 0 clamp(70px, 9vw, 120px);
  background: var(--cream-50);
  color: var(--ink);
}

.text-page__inner {
  max-width: 840px;
}

.text-page h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.text-page h1 em {
  color: var(--forest-600);
}

.text-page .lead {
  margin-bottom: 36px;
}

.text-page h2 {
  margin: 38px 0 12px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.1;
}

.text-page p,
.text-page li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.text-page p {
  margin-bottom: 12px;
}

.text-page ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

.text-page li {
  margin-bottom: 6px;
}

.text-page a {
  color: var(--forest-700);
  border-bottom: 1px solid currentColor;
}

/* ---------- Подвал ---------- */

.footer {
  padding: clamp(58px, 8vw, 96px) 0 26px;
  background: var(--forest-950);
  color: var(--cream-50);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 0.85fr 1fr;
  gap: clamp(28px, 4.5vw, 64px);
}

.footer__brand img {
  width: 320px;
  margin-bottom: 20px;
}

.footer__brand p {
  max-width: 310px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(247, 242, 231, 0.54);
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.footer__socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.68);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.footer__socials a:hover {
  border-color: var(--line-dark-strong);
  color: var(--cream-50);
}

.footer__socials svg {
  width: 12px;
  height: 12px;
}

.footer__col h4 {
  margin: 0 0 16px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-500);
}

.footer__col a,
.footer__col p {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(247, 242, 231, 0.6);
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: var(--cream-50);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 10px;
  color: rgba(247, 242, 231, 0.38);
}

.footer__bottom a {
  transition: color 0.2s var(--ease);
}

.footer__bottom a:hover {
  color: var(--cream-50);
}

/* ---------- Кнопка «Наверх» ---------- */

.to-top {
  position: fixed;
  right: 24px;
  bottom: 26px;
  z-index: 95;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(247, 242, 231, 0.32);
  border-radius: 50%;
  background: var(--forest-800);
  color: var(--cream-50);
  box-shadow: 0 14px 34px rgba(6, 25, 19, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s var(--ease), background-color 0.2s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--forest-700);
  transform: translateY(-2px);
}

.to-top.is-visible.is-carousel-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.to-top svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .to-top {
    right: 14px;
    bottom: 78px;
    width: 46px;
    height: 46px;
  }

  .to-top svg {
    width: 16px;
    height: 16px;
  }
}

/* ---------- Мобильная панель ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: rgba(10, 36, 29, 0.98);
  border-top: 1px solid var(--line-dark);
  backdrop-filter: blur(14px);
}

.mobile-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-bar a:first-child {
  border: 1px solid var(--line-dark-strong);
  color: var(--cream-50);
}

.mobile-bar a:last-child {
  background: var(--cream-50);
  color: var(--forest-900);
}

.mobile-bar svg {
  width: 14px;
  height: 14px;
}

/* ---------- Анимации появления ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}

@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;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Адаптив
   ============================================================ */

@media (max-width: 1279px) {
  .topbar__dot,
  .topbar__left .topbar__dot + .topbar__item {
    display: none;
  }
}

@media (max-width: 1180px) {
  .nav {
    gap: 18px;
  }

  .header__phone {
    display: none;
  }

  .header__inner {
    gap: 20px;
  }

  .brand__logo {
    width: 225px;
  }

}

@media (max-width: 1024px) {
  .topbar__left {
    display: none;
  }

  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero__content {
    max-width: 760px;
    min-height: auto;
  }

  .hero__bottom {
    margin-top: 32px;
  }

  .hero__aside {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
  }

  .hero__badge {
    width: 102px;
    height: 102px;
    flex-shrink: 0;
  }

  .hero__card {
    width: 300px;
  }

  .split,
  .intro-grid,
  .formats-grid,
  .cta-grid,
  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .split__media {
    max-width: 560px;
  }

  .formats-intro {
    position: static;
  }

  .page-hero__media {
    max-width: 600px;
    order: 2;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid .service-card,
  .services-grid .service-card--wide {
    grid-column: span 1;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card--wide .service-card__media {
    aspect-ratio: 4 / 3;
  }

  .process {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 0;
  }

  .process::before {
    display: none;
  }

  .process__item {
    padding-right: 0;
  }

  .process__num {
    margin-bottom: 14px;
  }

  .includes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mini-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .mobile-bar {
    display: flex;
  }

  body {
    padding-bottom: 62px;
  }

  .topbar {
    display: none;
  }

  .header__inner {
    min-height: 68px;
  }

  .brand__logo {
    width: 200px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .hero__title {
    font-size: clamp(2.8rem, 8.6vw, 4.6rem);
  }

  .hero__stats {
    gap: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .section__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section__head-text {
    max-width: 560px;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-cell {
    min-height: 132px;
  }

  .logo-cell img {
    max-height: 84px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3) {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .gallery-item:first-child {
    grid-column: span 2;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    padding-top: 34px;
    padding-bottom: 64px;
  }

  .page-hero__media {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 36px);
  }

  .header__inner {
    gap: 12px;
  }

  .brand__logo {
    width: 180px;
  }

  .brand__tag {
    display: none;
  }

  .header__actions {
    gap: 8px;
  }

  .header__actions .btn {
    display: none;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 56px;
  }

  .hero__title {
    font-size: clamp(2.55rem, 11.5vw, 3.7rem);
    margin-bottom: 20px;
  }

  .hero__lead {
    font-size: 14px;
    margin-bottom: 26px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__bottom {
    gap: 14px;
    padding-top: 26px;
  }

  .hero__bottom-row {
    width: 100%;
    gap: 16px;
  }

  .hero__bottom > .btn {
    width: 100%;
  }

  .hero__stat {
    padding-right: 16px;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 32px;
    padding-top: 18px;
  }

  .hero__stats dt {
    font-size: 1.95rem;
  }

  .hero__stats dd {
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .hero__aside {
    display: none;
  }

  .split {
    gap: 38px;
  }

  .stat-sticker {
    position: static;
    max-width: none;
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
  }

  .stat-sticker strong {
    font-size: 2.1rem;
    margin: 0;
  }

  .stat-sticker span {
    margin: 0;
  }

  .about-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card--wide {
    grid-column: span 1;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-cell {
    min-height: 112px;
    padding: 16px;
  }

  .logo-cell img {
    max-width: 120px;
    max-height: 68px;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process__item {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      "num title"
      "num text";
    column-gap: 16px;
    row-gap: 4px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .process__num {
    grid-area: num;
    margin: 0;
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .process__item h3 {
    grid-area: title;
  }

  .process__item p {
    grid-area: text;
  }

  .process__item h3 {
    font-size: 1.25rem;
    margin-bottom: 3px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-item,
  .gallery-item:first-child {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .gallery-item span {
    opacity: 1;
  }

  .cta-grid {
    gap: 34px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 22px 18px;
  }

  .photo-strip {
    grid-template-columns: 1fr;
  }

  .photo-strip img {
    aspect-ratio: 4 / 3;
  }

  .includes-grid {
    grid-template-columns: 1fr;
  }

  .include {
    min-height: auto;
    padding: 20px 18px;
  }

  .include__num {
    margin-bottom: 12px;
  }

  .mini-process {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    grid-column: span 1;
  }

  .footer__brand img {
    width: 210px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

  .lightbox__prev {
    left: 12px;
  }

  .lightbox__next {
    right: 12px;
  }

  .lightbox__close {
    top: 14px;
    right: 14px;
  }

  .lightbox {
    padding: 16px;
  }
}

@media (max-width: 380px) {
  .hero__stats dd {
    font-size: 7px;
    letter-spacing: 0.1em;
  }

  .brand__logo {
    width: 155px;
  }

  .service-card__body {
    padding: 18px 18px 20px;
  }
}
