/* =========================================================
   КСК — landing page
   ========================================================= */

:root {
  --green-900: #082a20;
  --green-800: #0d3b2e;
  --green-700: #006b4e;
  --green-600: #0f7a5a;
  --gold: #d9a441;
  --gold-light: #e6be6a;
  --cream: #f6f1e7;
  --cream-2: #efe6d6;
  --paper: #fffdf8;
  --ink: #16211c;
  --muted: #5b6660;
  --line: rgba(13, 59, 46, .14);
  --line-light: rgba(246, 241, 231, .2);
  --container: 1240px;
  --header-h: 104px;
  --sans: "Segoe UI", "Inter", Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  transform: translateY(-180%);
  background: var(--green-800);
  color: var(--cream);
  padding: 12px 18px;
  font-size: 13px;
}
.skip-link:focus { transform: none; }

/* ---------- typography ---------- */

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(46px, 6.3vw, 94px);
  color: var(--cream);
}

h2 {
  font-size: clamp(34px, 4.2vw, 60px);
  color: var(--green-900);
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: #34453d;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--green-700);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 28px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head h2 { max-width: 720px; }
.section-head__text {
  max-width: 390px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 10px); }

/* ---------- buttons / links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 15px 26px;
  border: 1px solid transparent;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--gold { background: var(--gold); color: #1c1a14; }
.btn--gold:hover { background: var(--gold-light); }

.btn--ghost { border-color: rgba(246, 241, 231, .36); color: var(--cream); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--green { background: var(--green-700); color: var(--cream); }
.btn--green:hover { background: var(--green-800); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-700);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: color .3s, gap .3s;
}
.link-arrow:hover { color: var(--green-900); gap: 14px; }

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-size: inherit;
  text-align: left;
}
.link-button:hover { color: var(--gold); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(246, 241, 231, .96);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.is-scrolled {
  background: rgba(246, 241, 231, .98);
  border-color: var(--line);
  box-shadow: 0 12px 34px rgba(8, 42, 32, .08);
  backdrop-filter: blur(12px);
}

.header-top {
  background: var(--green-800);
  color: rgba(246, 241, 231, .76);
  font-size: 10.5px;
  letter-spacing: .04em;
}
.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 34px;
}
.header-top__place {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}
.header-top__place svg { color: var(--gold); flex: 0 0 14px; }
.header-top__contacts {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
}
.header-top__contacts a { transition: color .2s; }
.header-top__contacts a:hover { color: var(--gold); }
.header-top__contacts span { color: rgba(246, 241, 231, .5); }

.header-main__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 70px;
}
.logo { flex: 0 0 auto; display: flex; align-items: center; }
.logo img { width: 152px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 28px);
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 8px 0;
  color: #2b3b33;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--green-700); }

.header-cta {
  margin-left: 4px;
  min-height: 42px;
  padding: 11px 18px;
  font-size: 9px;
  letter-spacing: .12em;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--green-900);
  transition: transform .3s, opacity .3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: calc(100svh - var(--header-h));
  background: var(--green-800);
  overflow: hidden;
}

.hero__text {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: clamp(48px, 6vw, 86px) 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(217, 164, 65, .15), transparent 42%),
    radial-gradient(circle at 10% 100%, rgba(0, 107, 78, .55), transparent 46%),
    var(--green-800);
}
.hero__text::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(246, 241, 231, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 231, .05) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-left: max(24px, calc((100vw - var(--container)) / 2));
  padding-right: clamp(24px, 4vw, 64px);
}
.hero__copy { max-width: 660px; }

.hero h1 { margin-bottom: 26px; }
.hero h1 em {
  color: var(--gold);
  font-style: italic;
  white-space: nowrap;
}

.hero__lead {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(246, 241, 231, .76);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 590px;
  margin-top: clamp(38px, 5vw, 62px);
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
}
.fact { display: flex; flex-direction: column; gap: 2px; }
.fact__num {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1;
  letter-spacing: -.02em;
}
.fact__label {
  color: rgba(246, 241, 231, .54);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero__media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--green-900);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  animation: heroZoom 1.8s var(--ease) both;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--green-800) 0%, rgba(13, 59, 46, 0) 30%),
    linear-gradient(0deg, rgba(8, 42, 32, .78) 0%, transparent 46%),
    linear-gradient(180deg, rgba(8, 42, 32, .28), transparent 25%);
}
.hero__badge {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  padding: 10px 14px;
  background: rgba(246, 241, 231, .94);
  color: var(--green-900);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero__caption {
  position: absolute;
  bottom: 30px;
  left: 32px;
  z-index: 2;
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid var(--gold);
  color: rgba(246, 241, 231, .66);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero__caption span {
  display: block;
  margin-bottom: 3px;
  color: var(--cream);
  font-size: 11.5px;
  font-weight: 600;
}
.hero__scroll {
  position: absolute;
  right: 32px;
  bottom: 30px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(246, 241, 231, .32);
}
.hero__scroll span {
  width: 1px;
  height: 18px;
  background: var(--gold);
  animation: scrollLine 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(.35); opacity: .5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- reveal ---------- */

.js [data-reveal].is-pending {
  opacity: 0;
  transform: translateY(26px);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .8s ease, transform .8s var(--ease);
}
.js [data-reveal-delay="1"].is-visible { transition-delay: .1s; }
.js [data-reveal-delay="2"].is-visible { transition-delay: .2s; }

/* ---------- about ---------- */

.about {
  padding: clamp(72px, 9vw, 124px) 0;
  background: var(--paper);
}
.about__grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
}
.about__media { position: relative; }
.about__media::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid rgba(217, 164, 65, .6);
  pointer-events: none;
}
.about__media img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.about__badge {
  position: absolute;
  right: -26px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 190px;
  padding: 20px 22px;
  background: var(--green-800);
  color: var(--cream);
}
.about__badge strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}
.about__badge span {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, .64);
}
.about__body h2 { margin-bottom: 26px; }
.about__body .lead { margin-bottom: 18px; }
.about__body > p:not(.lead):not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 26px;
  margin: 32px 0;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #2c3b34;
  font-size: 13.5px;
  line-height: 1.45;
}
.feature svg { color: var(--green-700); flex: 0 0 18px; margin-top: 2px; }

/* ---------- brands ---------- */

.brands {
  padding: clamp(72px, 9vw, 124px) 0;
  background: var(--cream);
}
.brands h2 { max-width: 640px; }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(8, 42, 32, .09);
}
.brand-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-2);
}
.brand-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.brand-card:hover .brand-card__media img { transform: scale(1.045); }
.brand-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  background: rgba(246, 241, 231, .93);
  color: var(--green-800);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.brand-card__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 26px 28px;
}
.brand-card__index {
  position: absolute;
  top: 26px;
  right: 26px;
  color: rgba(13, 59, 46, .35);
  font-family: var(--serif);
  font-size: 13px;
}
.brand-card__logo {
  width: auto;
  height: 44px;
  margin-bottom: 16px;
  align-self: flex-start;
  object-fit: contain;
}
.brand-card__logo--wide { height: 38px; }
.brand-card h3 {
  margin-bottom: 10px;
  font-size: 27px;
  letter-spacing: 0;
}
.brand-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.6;
}
.brand-card .link-arrow { margin-top: auto; }

/* ---------- vitaluce ---------- */

.vitaluce {
  padding: clamp(72px, 9vw, 124px) 0;
  background: var(--paper);
}
.vitaluce__head {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: clamp(36px, 6vw, 86px);
  align-items: end;
  margin-bottom: 44px;
}
.vitaluce__head h2 { max-width: 560px; }
.vitaluce__head .lead { margin-bottom: 14px; }
.vitaluce__head p:not(.lead):not(.eyebrow) {
  color: var(--muted);
  font-size: 14.5px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.chips li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  color: var(--green-800);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.slider {
  position: relative;
  border: 1px solid var(--line);
  background: var(--cream);
}
.slider__viewport { overflow: hidden; }
.slider__track {
  display: flex;
  transition: transform .75s var(--ease);
}
.collection-slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  padding: 30px 38px 0;
}
.collection-slide__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(190px, 27vw, 360px);
}
.collection-slide__image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.collection-slide figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.collection-slide__index { color: var(--green-700); white-space: nowrap; }

.slider__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 38px 22px;
}
.slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.slider__dot {
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(13, 59, 46, .18);
  transition: background .3s, width .3s;
}
.slider__dot.is-active { width: 42px; background: var(--green-700); }
.slider__controls { display: flex; gap: 8px; }

.round-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--green-800);
  transition: background .3s, color .3s, border-color .3s;
}
.round-btn:hover { background: var(--green-700); border-color: var(--green-700); color: var(--cream); }
.round-btn:disabled { opacity: .35; cursor: default; }
.round-btn--light { border-color: rgba(246, 241, 231, .3); color: var(--cream); }
.round-btn--light:hover { background: var(--gold); border-color: var(--gold); color: var(--green-900); }

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.section-cta p { margin: 0; color: var(--muted); font-size: 13.5px; }
.section-cta--light { border-top-color: var(--line-light); }
.section-cta--light p { color: rgba(246, 241, 231, .62); }

/* ---------- sveton ---------- */

.sveton {
  position: relative;
  padding: clamp(72px, 9vw, 124px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 0%, rgba(217, 164, 65, .13), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(0, 107, 78, .55), transparent 45%),
    var(--green-800);
  color: var(--cream);
}
.sveton::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(246, 241, 231, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 231, .06) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.sveton .container { position: relative; z-index: 1; }
.sveton .eyebrow { color: var(--gold); }
.sveton h2 { color: var(--cream); }
.sveton__head {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: clamp(36px, 6vw, 86px);
  align-items: end;
  margin-bottom: 34px;
}
.sveton__head .lead { color: rgba(246, 241, 231, .82); margin-bottom: 14px; }
.sveton__head p:not(.lead) {
  color: rgba(246, 241, 231, .58);
  font-size: 14.5px;
}

.sveton__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 64px;
  margin-bottom: 46px;
  padding: 26px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.stat { display: flex; flex-direction: column; gap: 3px; }
.stat strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 400;
  line-height: 1.1;
}
.stat span {
  color: rgba(246, 241, 231, .52);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.carousel { position: relative; }
.carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__track {
  display: flex;
  gap: 18px;
  padding-bottom: 4px;
}
.product-card {
  display: flex;
  flex: 0 0 calc((100% - 36px) / 3);
  flex-direction: column;
  min-height: 380px;
  padding: 20px 22px 24px;
  background: var(--cream);
  color: var(--ink);
  scroll-snap-align: start;
}
.product-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  margin-bottom: 16px;
  background: radial-gradient(circle at 50% 55%, #fffdf8, var(--cream));
}
.product-card__img img {
  max-width: 88%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.product-card__cat {
  margin-bottom: 8px;
  color: var(--green-700);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.product-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}
.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.55;
}

.carousel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}
.carousel__dots { display: flex; align-items: center; gap: 7px; }
.carousel__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 241, 231, .28);
  transition: background .3s, transform .3s;
}
.carousel__dot.is-active { background: var(--gold); transform: scale(1.35); }
.carousel__controls { display: flex; gap: 8px; }

/* ---------- kskep ---------- */

.kskep {
  padding: clamp(72px, 9vw, 124px) 0;
  background: var(--cream);
}
.kskep__grid {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.kskep__media { position: relative; }
.kskep__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.kskep__badge {
  position: absolute;
  right: -24px;
  bottom: -24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 270px;
  padding: 20px 24px;
  background: var(--gold);
  color: var(--green-900);
}
.kskep__badge strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.1;
}
.kskep__badge span {
  font-size: 9.5px;
  line-height: 1.45;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .8;
}
.kskep__body h2 { margin-bottom: 24px; }
.kskep__body .lead { margin-bottom: 14px; }
.kskep__body > p:not(.lead):not(.eyebrow) {
  color: var(--muted);
  font-size: 14.5px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 26px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.service {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.service__num {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.4;
  flex: 0 0 auto;
}
.service h3 {
  margin-bottom: 3px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.service p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.kskep__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

/* ---------- projects ---------- */

.projects {
  padding: clamp(72px, 9vw, 124px) 0;
  background: var(--paper);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 246px;
  gap: 14px;
}
.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--green-900);
  cursor: zoom-in;
}
.gallery__item--big {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .4s;
}
.gallery__item:hover img { transform: scale(1.045); filter: brightness(.85); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 42px 18px 16px;
  background: linear-gradient(0deg, rgba(8, 42, 32, .88), transparent);
  color: var(--cream);
  pointer-events: none;
}
.gallery__item figcaption span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.gallery__item figcaption small {
  color: rgba(246, 241, 231, .58);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: right;
}
.gallery__item::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(246, 241, 231, .4);
  color: var(--cream);
  font-size: 18px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s, transform .3s;
}
.gallery__item:hover::after,
.gallery__item:focus-visible::after { opacity: 1; transform: none; }

/* ---------- contacts ---------- */

.contacts {
  position: relative;
  padding: clamp(72px, 9vw, 124px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 10%, rgba(217, 164, 65, .12), transparent 36%),
    var(--green-800);
  color: var(--cream);
}
.contacts::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 30%, rgba(0, 107, 78, .3));
}
.contacts .container { position: relative; z-index: 1; }
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 44px);
  align-items: start;
}
.contacts .eyebrow { color: var(--gold); }
.contacts h2 { color: var(--cream); margin-bottom: 24px; }
.contacts__info { max-width: 1000px; }
.contacts__lead {
  max-width: 520px;
  color: rgba(246, 241, 231, .64);
  font-size: 15px;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 56px;
  max-width: 1000px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.contact-item__icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(246, 241, 231, .22);
  color: var(--gold);
}
.contact-item dt {
  margin-bottom: 2px;
  color: rgba(246, 241, 231, .44);
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.contact-item dd {
  margin: 0;
  color: rgba(246, 241, 231, .9);
  font-size: 14px;
  line-height: 1.55;
}
.contact-item dd a { transition: color .2s; }
.contact-item dd a:hover { color: var(--gold); }
.contact-item__small {
  color: rgba(246, 241, 231, .45);
  font-size: 11px;
}

.form-card {
  padding: clamp(26px, 3.6vw, 42px);
  background: var(--cream);
  color: var(--ink);
}
.form-card h3 {
  margin-bottom: 8px;
  font-size: clamp(26px, 2.6vw, 34px);
}
.form-card__note {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 12.5px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--green-700);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.field input,
.field textarea {
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid rgba(13, 59, 46, .26);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  transition: border-color .25s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(22, 33, 28, .34); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-700);
}
.field textarea { resize: vertical; min-height: 92px; }
.field--error input,
.field--error textarea { border-color: #b33a2b; }
.field__error {
  display: none;
  margin-top: 5px;
  color: #b33a2b;
  font-size: 11px;
}
.field--error .field__error { display: block; }
.field__error--consent { margin: -6px 0 12px 26px; }
.field__error--consent.is-visible { display: block; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  cursor: pointer;
}
.checkbox input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--green-700);
}
.checkbox .link-button { color: var(--green-700); text-decoration-color: var(--gold); }

.form-card__submit { width: 100%; }
.form-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: var(--green-700);
  font-size: 12px;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 66px 0 28px;
  background: var(--green-900);
  color: rgba(246, 241, 231, .58);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .7fr .7fr 1fr;
  gap: clamp(32px, 5vw, 70px);
}
.footer-brand img { width: 176px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 310px; font-size: 12.5px; line-height: 1.65; }

.footer-col h3 {
  margin-bottom: 16px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer-col a,
.footer-col p,
.footer-col span {
  display: block;
  margin-bottom: 9px;
  color: rgba(246, 241, 231, .58);
  font-size: 12.5px;
  line-height: 1.6;
}
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contacts p { margin-bottom: 12px; }

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 241, 231, .12);
  font-size: 10.5px;
  letter-spacing: .03em;
}
.footer-bottom p { margin: 0; }
.footer-bottom > div { display: flex; align-items: center; gap: 22px; }
.footer-bottom .link-button { color: rgba(246, 241, 231, .58); }
.footer-bottom .link-button:hover { color: var(--gold); }
.footer-note { color: rgba(246, 241, 231, .28); }

/* ---------- back to top ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(246, 241, 231, .25);
  background: var(--green-800);
  color: var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-700); }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 76px;
  background: rgba(5, 19, 14, .95);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure {
  max-width: 1180px;
  max-height: 100%;
  margin: 0;
  text-align: center;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100svh - 170px);
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.lightbox__figure figcaption {
  margin-top: 14px;
  color: var(--cream);
  font-size: 13px;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(246, 241, 231, .26);
  background: transparent;
  color: var(--cream);
}
.lightbox__close:hover { background: rgba(246, 241, 231, .1); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(246, 241, 231, .26);
  background: transparent;
  color: var(--cream);
  transform: translateY(-50%);
}
.lightbox__nav:hover { background: rgba(246, 241, 231, .1); color: var(--gold); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  color: rgba(246, 241, 231, .5);
  font-size: 10px;
  letter-spacing: .12em;
  transform: translateX(-50%);
}

/* ---------- privacy dialog ---------- */

.privacy-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100svh - 48px);
  padding: 0;
  border: 0;
  background: var(--cream);
  color: var(--ink);
}
.privacy-dialog::backdrop {
  background: rgba(5, 19, 14, .72);
  backdrop-filter: blur(4px);
}
.privacy-dialog__inner {
  position: relative;
  padding: clamp(28px, 5vw, 48px);
}
.privacy-dialog__inner h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 40px);
}
.privacy-dialog__inner p {
  color: var(--muted);
  font-size: 14px;
}
.privacy-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--green-800);
}

/* ---------- 404 ---------- */

body.error-page {
  min-height: 100svh;
  padding-top: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(217, 164, 65, .14), transparent 38%),
    var(--green-800);
  color: var(--cream);
  text-align: center;
}
.error-page__inner {
  max-width: 560px;
  padding: 48px 24px;
}
.error-page__inner img { width: 190px; height: auto; margin: 0 auto 34px; }
.error-page__inner .eyebrow {
  justify-content: center;
  color: var(--gold);
  margin-bottom: 14px;
}
.error-page__inner .eyebrow::before { display: none; }
.error-page__inner h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 7vw, 72px);
}
.error-page__inner p:not(.eyebrow) {
  max-width: 420px;
  margin: 0 auto 28px;
  color: rgba(246, 241, 231, .64);
  font-size: 14px;
}

/* =========================================================
   responsive
   ========================================================= */

@media (max-width: 1180px) {
  .header-main__inner { gap: 24px; }
  .nav { gap: 16px; }
  .nav a { font-size: 9.5px; }
  .header-cta { padding-inline: 14px; }
}

@media (max-width: 1080px) {
  .header-top__contacts span { display: none; }
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(380px, 100%);
    height: calc(100svh - var(--header-h));
    margin: 0;
    padding: 24px 28px 40px;
    overflow-y: auto;
    border-left: 1px solid var(--line);
    background: var(--cream);
    box-shadow: -20px 0 50px rgba(8, 42, 32, .12);
    transform: translateX(102%);
    transition: transform .4s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--green-700); }
  .header-cta { display: none; }
  .burger { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { min-height: auto; padding: 64px 0 56px; }
  .hero__media { min-height: 0; height: clamp(340px, 56svh, 600px); }
  .hero__inner { padding-left: 0; padding-right: 0; }

  .about__grid,
  .vitaluce__head,
  .sveton__head,
  .kskep__grid,
  .contacts__grid { grid-template-columns: 1fr; }
  .about__grid { gap: 56px; }
  .about__media { max-width: 580px; }
  .vitaluce__head,
  .sveton__head { gap: 26px; }
  .kskep__media { max-width: 640px; }
  .kskep__badge { right: 16px; }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-contacts { grid-column: span 3; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header-top { display: none; }
  .header-main__inner { min-height: 64px; }
  .logo img { width: 132px; }

  .container { width: min(100% - 40px, var(--container)); }
  .section-head { display: block; }
  .section-head__text { margin-top: 18px; max-width: 520px; }

  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-card:last-child { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
  .brand-card:last-child .brand-card__media { aspect-ratio: auto; height: 100%; }
  .brand-card:last-child .brand-card__body { justify-content: center; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .gallery__item--big { grid-column: span 2; grid-row: span 1; }

  .product-card { flex-basis: calc((100% - 18px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contacts { grid-column: auto; }
  .footer-brand { grid-column: span 2; }
  .footer-brand p { max-width: 420px; }
  .footer-bottom { display: block; }
  .footer-bottom > div { margin-top: 12px; flex-wrap: wrap; gap: 12px 20px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 32px); }

  .hero__text { min-height: 0; padding: 48px 0 44px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 54px); }
  .hero h1 em { white-space: normal; }
  .hero__lead { font-size: 14.5px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__facts { gap: 12px; margin-top: 34px; padding-top: 20px; }
  .fact__num { font-size: 30px; }
  .fact__label { font-size: 8.5px; }
  .hero__media { min-height: 0; height: clamp(320px, 48svh, 440px); }
  .hero__badge { top: 16px; right: 16px; }
  .hero__caption { bottom: 18px; left: 18px; }
  .hero__scroll { display: none; }

  .about__media::before { inset: -10px 10px 10px -10px; }
  .about__badge { right: 12px; bottom: 16px; width: 160px; padding: 16px 18px; }
  .about__badge strong { font-size: 30px; }
  .features { grid-template-columns: 1fr; gap: 11px; }

  .brands { padding-top: 64px; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card:last-child { grid-column: auto; display: flex; }
  .brand-card:last-child .brand-card__media { aspect-ratio: 1 / 1; height: auto; }

  .vitaluce__head { margin-bottom: 28px; }
  .collection-slide { padding: 18px 18px 0; }
  .collection-slide__image { height: 180px; }
  .collection-slide figcaption { font-size: 8px; letter-spacing: .08em; }
  .slider__bar { padding: 14px 18px 18px; }
  .section-cta { display: block; }
  .section-cta .btn { width: 100%; margin-top: 16px; }

  .sveton__stats { gap: 20px 32px; }
  .stat { flex: 1 1 40%; }
  .product-card { flex-basis: 86%; min-height: 350px; }
  .product-card__img { height: 170px; }

  .kskep__badge { position: static; max-width: none; margin-top: 14px; }
  .service-grid { grid-template-columns: 1fr; }
  .kskep__actions .btn { width: 100%; }

  .gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery__item--big { grid-column: auto; }
  .gallery__item figcaption { padding: 34px 14px 13px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contacts__grid { gap: 38px; }
  .contact-list { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-brand { grid-column: span 2; }
  .footer-contacts { grid-column: span 2; }
  .footer-bottom > div { display: block; }
  .footer-note { display: block; margin-top: 8px; }

  .lightbox { padding: 58px 14px 52px; }
  .lightbox__nav { top: auto; bottom: 14px; transform: none; }
  .lightbox__nav--prev { left: 14px; }
  .lightbox__nav--next { right: 14px; }
  .lightbox__count { bottom: 28px; }
  .lightbox__figure img { max-height: calc(100svh - 190px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
