/* ==========================================================
   ROOT
========================================================== */

:root {
  --gold: #c79a38;
  --gold-light: #e3bd67;
  --gold-dark: #9f741f;

  --cream: #f7f1e6;
  --cream-light: #fffaf2;
  --cream-deep: #eadcc6;

  --dark: #2a2117;
  --dark-soft: #5d4a35;

  --green: #173c32;
  --green-light: #245347;
  --green-deep: #102e27;

  --white: #ffffff;

  --line: rgba(42, 33, 23, 0.12);
  --gold-line: rgba(199, 154, 56, 0.34);

  --shadow:
    0 24px 70px rgba(42, 33, 23, 0.13);

  --shadow-soft:
    0 14px 40px rgba(42, 33, 23, 0.08);

  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;

  --container: 1240px;
  --header-height: 90px;
}


/* ==========================================================
   RESET
========================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  min-width: 320px;

  font-family:
    "Inter",
    Arial,
    sans-serif;

  color: var(--dark);

  background:
    linear-gradient(
      180deg,
      var(--cream-light),
      var(--cream)
    );

  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;

  max-width: 100%;
}

a {
  color: inherit;

  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}


/* ==========================================================
   GENERAL
========================================================== */

.container {
  width:
    min(
      var(--container),
      calc(100% - 32px)
    );

  margin-inline: auto;
}


.section {
  position: relative;

  padding:
    clamp(78px, 9vw, 125px)
    0;
}


.section-heading {
  max-width: 800px;

  margin-bottom: 46px;
}


.section-label {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  margin:
    0
    0
    18px;

  font-size: 11px;

  font-weight: 900;

  letter-spacing: 0.22em;

  text-transform: uppercase;

  color: var(--gold-dark);
}


.section-label::before {
  content: "";

  width: 42px;

  height: 1px;

  background: var(--gold);
}


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


.section-title {
  margin: 0;

  font-family:
    "Playfair Display",
    Georgia,
    serif;

  font-size:
    clamp(
      34px,
      5vw,
      64px
    );

  line-height: 0.98;

  letter-spacing: -0.04em;
}


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


.section-text {
  max-width: 760px;

  margin:
    22px
    0
    0;

  font-size: 16px;

  line-height: 1.8;

  color: var(--dark-soft);
}


.section-text--light {
  color:
    rgba(
      255,
      255,
      255,
      0.72
    );
}


/* ==========================================================
   BUTTONS
========================================================== */

.btn {
  position: relative;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 58px;

  padding:
    0
    26px;

  border: 0;

  border-radius: 999px;

  overflow: hidden;

  font-weight: 800;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


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


.btn--primary {
  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--gold),
      var(--gold-dark)
    );

  box-shadow:
    0
    16px
    34px
    rgba(
      159,
      116,
      31,
      0.26
    );
}


.btn--glass {
  color: var(--dark);

  background:
    rgba(
      255,
      250,
      242,
      0.72
    );

  border:
    1px
    solid
    rgba(
      42,
      33,
      23,
      0.12
    );

  backdrop-filter:
    blur(14px);
}


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


/* ==========================================================
   PRELOADER
========================================================== */

.preloader {
  position: fixed;

  inset: 0;

  z-index: 9999;

  display: grid;

  place-items: center;

  background:
    radial-gradient(
      circle at 50% 42%,
      #fffaf2 0%,
      #f7f1e6 52%,
      #e9dcc7 100%
    );

  transition:
    opacity 0.65s ease,
    visibility 0.65s ease;
}


.preloader.hidden {
  opacity: 0;

  visibility: hidden;

  pointer-events: none;
}


.preloader__content {
  display: flex;

  flex-direction: column;

  align-items: center;
}


.preloader__beer {
  width: 110px;

  animation:
    beerBounce
    0.8s
    cubic-bezier(
      0.45,
      0,
      0.55,
      1
    )
    infinite
    alternate;
}


.preloader__beer svg {
  width: 100%;

  overflow: visible;
}


.preloader__glass,
.preloader__handle {
  fill:
    rgba(
      255,
      255,
      255,
      0.34
    );

  stroke: var(--dark);

  stroke-width: 5;

  stroke-linecap: round;

  stroke-linejoin: round;
}


.preloader__liquid {
  fill:
    url(#beerGradient);
}


.preloader__foam {
  fill: var(--cream-light);

  stroke: var(--dark);

  stroke-width: 4;
}


.preloader__bubble {
  fill:
    rgba(
      255,
      255,
      255,
      0.68
    );
}


.preloader__text {
  margin:
    24px
    0
    0;

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}


.preloader__line {
  width: 170px;

  height: 2px;

  margin-top: 20px;

  overflow: hidden;

  border-radius: 999px;

  background:
    rgba(
      42,
      33,
      23,
      0.12
    );
}


.preloader__line span {
  display: block;

  width: 50%;

  height: 100%;

  background: var(--gold);

  animation:
    loadingLine
    1.15s
    ease-in-out
    infinite;
}


@keyframes beerBounce {

  from {
    transform:
      translateY(0)
      rotate(-2deg);
  }

  to {
    transform:
      translateY(-22px)
      rotate(2deg);
  }

}


@keyframes loadingLine {

  0% {
    transform:
      translateX(-110%);
  }

  100% {
    transform:
      translateX(210%);
  }

}


/* ==========================================================
   HEADER
========================================================== */

.header {
  position: fixed;

  inset:
    0
    0
    auto;

  z-index: 1000;

  background:
    rgba(
      255,
      250,
      242,
      0.8
    );

  border-bottom:
    1px
    solid
    rgba(
      42,
      33,
      23,
      0.07
    );

  backdrop-filter:
    blur(18px);

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}


.header.scrolled {
  background:
    rgba(
      255,
      250,
      242,
      0.95
    );

  box-shadow:
    0
    10px
    35px
    rgba(
      42,
      33,
      23,
      0.08
    );
}


.header__row {
  min-height:
    var(--header-height);

  display: flex;

  align-items: center;

  justify-content:
    space-between;

  gap: 24px;
}


/* Единый визуальный логотип */

.brand {
  display:
    inline-flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  gap: 0;

  flex-shrink: 0;
}


.brand__logo {
  width: 74px;

  height: 61px;

  object-fit: contain;

  margin-bottom: -8px;
}


.brand__name {
  position: relative;

  z-index: 2;

  font-family:
    "Inter",
    sans-serif;

  font-size: 12px;

  font-weight: 900;

  line-height: 1;

  letter-spacing: 0.16em;

  color: var(--dark);
}


.nav {
  display: flex;

  align-items: center;

  gap: 24px;
}


.nav a {
  position: relative;

  padding: 8px 0;

  font-size: 14px;

  font-weight: 800;

  color:
    rgba(
      42,
      33,
      23,
      0.76
    );
}


.nav a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: 0;

  width: 100%;

  height: 2px;

  background: var(--gold);

  transform:
    scaleX(0);

  transform-origin: left;

  transition:
    transform 0.25s ease;
}


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


.burger {
  display: none;

  width: 50px;

  height: 50px;

  padding: 0;

  border:
    1px
    solid
    var(--line);

  border-radius: 50%;

  background:
    rgba(
      255,
      250,
      242,
      0.84
    );

  align-items: center;

  justify-content: center;

  flex-direction: column;

  gap: 5px;
}


.burger span {
  width: 20px;

  height: 2px;

  background: var(--dark);

  border-radius: 999px;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}


.burger.active span:nth-child(1) {
  transform:
    translateY(7px)
    rotate(45deg);
}


.burger.active span:nth-child(2) {
  opacity: 0;
}


.burger.active span:nth-child(3) {
  transform:
    translateY(-7px)
    rotate(-45deg);
}


/* ==========================================================
   HERO
========================================================== */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;

  align-items: center;

  padding:
    calc(
      var(--header-height)
      +
      40px
    )
    0
    60px;

  overflow: hidden;
}


.hero__background {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(
        255,
        250,
        242,
        0.97
      )
      0%,

      rgba(
        255,
        250,
        242,
        0.79
      )
      36%,

      rgba(
        247,
        241,
        230,
        0.22
      )
      70%,

      rgba(
        23,
        60,
        50,
        0.26
      )
      100%
    ),

    url("../images/mountain.jpg")
    center
    /
    cover
    no-repeat;

  transform:
    scale(1.03);
}


.hero__glow {
  position: absolute;

  right: 5%;

  top: 20%;

  width: 550px;

  height: 550px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(
        227,
        189,
        103,
        0.42
      ),
      transparent
      67%
    );
}


.hero__content {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    1fr;

  gap: 38px;

  align-items: center;
}


.hero__text {
  max-width: 720px;
}


.hero__eyebrow {
  margin:
    0
    0
    18px;

  font-size: 11px;

  font-weight: 900;

  letter-spacing: 0.22em;

  text-transform: uppercase;

  color: var(--gold-dark);
}


.hero__title {
  margin: 0;

  font-family:
    "Playfair Display",
    Georgia,
    serif;

  font-size:
    clamp(
      56px,
      16vw,
      118px
    );

  line-height: 0.86;

  letter-spacing: -0.06em;
}


.hero__title span {
  display: block;

  color: var(--gold-dark);
}


.hero__description {
  max-width: 650px;

  margin:
    28px
    0
    0;

  font-size:
    clamp(
      16px,
      4vw,
      20px
    );

  line-height: 1.75;

  color: var(--dark-soft);
}


.hero__actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 32px;
}


.hero__facts {
  display: grid;

  grid-template-columns:
    1fr;

  gap: 12px;

  margin-top: 34px;
}


.hero-fact {
  padding: 18px;

  border:
    1px
    solid
    rgba(
      42,
      33,
      23,
      0.1
    );

  border-radius: 20px;

  background:
    rgba(
      255,
      250,
      242,
      0.72
    );

  backdrop-filter:
    blur(14px);

  box-shadow:
    var(--shadow-soft);
}


.hero-fact span {
  display: block;

  margin-bottom: 6px;

  font-size: 10px;

  font-weight: 900;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  color: var(--gold-dark);
}


.hero-fact strong {
  font-size: 16px;
}


.hero__product {
  position: relative;

  min-height: 430px;

  display: grid;

  place-items: center;
}


.hero__aura {
  position: absolute;

  width:
    min(
      88vw,
      530px
    );

  aspect-ratio: 1;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(
        255,
        255,
        255,
        0.92
      ),

      rgba(
        227,
        189,
        103,
        0.38
      )
      40%,

      transparent
      70%
    );
}


.hero__product-image {
  position: relative;

  z-index: 2;

  width:
    min(
      78vw,
      450px
    );

  max-height: 650px;

  object-fit: contain;

  filter:
    drop-shadow(
      0
      40px
      34px
      rgba(
        42,
        33,
        23,
        0.24
      )
    );

  animation:
    heroFloat
    6s
    ease-in-out
    infinite;
}


@keyframes heroFloat {

  0%,
  100% {
    transform:
      translateY(0)
      rotate(-1deg);
  }

  50% {
    transform:
      translateY(-16px)
      rotate(1deg);
  }

}


.hero-note {
  position: absolute;

  z-index: 3;

  padding:
    13px
    17px;

  border:
    1px
    solid
    rgba(
      199,
      154,
      56,
      0.28
    );

  border-radius: 999px;

  background:
    rgba(
      255,
      250,
      242,
      0.86
    );

  backdrop-filter:
    blur(12px);

  box-shadow:
    var(--shadow-soft);

  font-size: 11px;

  font-weight: 900;

  letter-spacing: 0.13em;

  text-transform: uppercase;

  color: var(--gold-dark);
}


.hero-note--top {
  top: 12%;

  right: 0;
}


.hero-note--bottom {
  left: 0;

  bottom: 16%;
}


/* ==========================================================
   ABOUT — ТЁМНО-ЗЕЛЁНАЯ СЕКЦИЯ
========================================================== */

.about {
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(
        199,
        154,
        56,
        0.14
      ),
      transparent
      32%
    ),

    linear-gradient(
      135deg,
      var(--green),
      var(--green-deep)
    );

  overflow: hidden;
}


.about__grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 38px;

  align-items: center;
}


.about__image {
  position: relative;

  min-height: 430px;

  overflow: hidden;

  border-radius:
    var(--radius-xl);

  box-shadow:
    0
    32px
    80px
    rgba(
      0,
      0,
      0,
      0.24
    );
}


.about__image img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}


.about__image::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(
        16,
        46,
        39,
        0.48
      )
    );
}


.about__badge {
  position: absolute;

  z-index: 2;

  left: 22px;

  bottom: 22px;

  width: 145px;

  aspect-ratio: 1;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  border-radius: 50%;

  background:
    rgba(
      255,
      250,
      242,
      0.92
    );

  box-shadow:
    var(--shadow-soft);
}


.about__badge strong {
  font-family:
    "Playfair Display",
    serif;

  font-size: 32px;

  color: var(--gold-dark);
}


.about__badge span {
  max-width: 100px;

  margin-top: 5px;

  font-size: 10px;

  font-weight: 800;

  line-height: 1.4;

  text-transform: uppercase;
}


.about__stats {
  display: grid;

  grid-template-columns: 1fr;

  gap: 14px;

  margin-top: 34px;
}


.about-stat {
  padding: 24px;

  border:
    1px
    solid
    rgba(
      255,
      255,
      255,
      0.12
    );

  border-radius:
    var(--radius-md);

  background:
    rgba(
      255,
      255,
      255,
      0.07
    );

  backdrop-filter:
    blur(12px);
}


.about-stat strong {
  display: block;

  margin-bottom: 7px;

  font-family:
    "Playfair Display",
    serif;

  font-size: 40px;

  color: var(--gold-light);
}


.about-stat span {
  color:
    rgba(
      255,
      255,
      255,
      0.68
    );
}


/* ==========================================================
   ADVANTAGES
========================================================== */

.advantages__grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 16px;
}


.advantage-card {
  padding: 28px;

  min-height: 270px;

  border:
    1px
    solid
    var(--line);

  border-radius:
    var(--radius-lg);

  background:
    rgba(
      255,
      250,
      242,
      0.88
    );

  box-shadow:
    var(--shadow-soft);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}


.advantage-card:hover {
  transform:
    translateY(-8px);

  box-shadow:
    var(--shadow);
}


.advantage-card__icon {
  width: 66px;

  height: 66px;

  display: grid;

  place-items: center;

  margin-bottom: 28px;

  border-radius: 20px;

  background:
    rgba(
      199,
      154,
      56,
      0.13
    );
}


.advantage-card__icon svg {
  width: 32px;

  fill: none;

  stroke: var(--gold-dark);

  stroke-width: 1.8;

  stroke-linecap: round;

  stroke-linejoin: round;
}


.advantage-card h3 {
  margin:
    0
    0
    13px;

  font-size: 24px;
}


.advantage-card p {
  margin: 0;

  line-height: 1.75;

  color: var(--dark-soft);
}


/* ==========================================================
   PHILOSOPHY
========================================================== */

.philosophy__grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 42px;

  align-items: center;
}


.principles {
  margin-top: 36px;
}


.principle {
  display: grid;

  grid-template-columns:
    auto
    1fr;

  gap: 18px;

  padding:
    20px
    0;

  border-top:
    1px
    solid
    var(--line);
}


.principle:last-child {
  border-bottom:
    1px
    solid
    var(--line);
}


.principle__number {
  width: 54px;

  height: 54px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--gold),
      var(--gold-dark)
    );

  color: var(--white);

  font-weight: 900;
}


.principle h3 {
  margin:
    0
    0
    7px;

  font-size: 22px;
}


.principle p {
  margin: 0;

  line-height: 1.7;

  color: var(--dark-soft);
}


.philosophy__image {
  min-height: 520px;

  overflow: hidden;

  border-radius:
    var(--radius-xl);

  box-shadow:
    var(--shadow);
}


.philosophy__image img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}


/* ==========================================================
   PRODUCTION
========================================================== */

.production {
  background:
    linear-gradient(
      180deg,
      rgba(
        234,
        220,
        198,
        0.22
      ),
      transparent
    );
}


.production__steps {
  display: grid;

  grid-template-columns: 1fr;

  gap: 16px;
}


.production-step {
  padding: 28px;

  border:
    1px
    solid
    var(--line);

  border-radius:
    var(--radius-lg);

  background:
    rgba(
      255,
      250,
      242,
      0.9
    );

  box-shadow:
    var(--shadow-soft);

  transition:
    transform 0.35s ease;
}


.production-step:hover {
  transform:
    translateY(-7px);
}


.production-step > span {
  display: inline-grid;

  place-items: center;

  width: 52px;

  height: 52px;

  margin-bottom: 22px;

  border-radius: 50%;

  background:
    rgba(
      199,
      154,
      56,
      0.14
    );

  color: var(--gold-dark);

  font-weight: 900;
}


.production-step h3 {
  margin:
    0
    0
    11px;

  font-size: 24px;
}


.production-step p {
  margin: 0;

  line-height: 1.72;

  color: var(--dark-soft);
}


/* ==========================================================
   PRODUCTS
========================================================== */

.products {
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(
        199,
        154,
        56,
        0.1
      ),
      transparent
      30%
    );
}


.products__grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 22px;
}


.product-card {
  overflow: hidden;

  border:
    1px
    solid
    var(--line);

  border-radius:
    var(--radius-xl);

  background:
    rgba(
      255,
      250,
      242,
      0.9
    );

  box-shadow:
    var(--shadow-soft);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}


.product-card:hover {
  transform:
    translateY(-8px);

  box-shadow:
    var(--shadow);
}


.product-card__image {
  height: 420px;

  overflow: hidden;

  background:
    var(--cream-deep);
}


/*
  Фотография продукта показывается целиком:
  object-fit: contain не даёт кадрировать товар.
*/

.product-card__image img {
  width: 100%;

  height: 100%;

  object-fit: contain;
}


.image-placeholder {
  width: 100%;

  height: 100%;

  display: grid;

  place-items: center;

  background:
    linear-gradient(
      135deg,
      var(--green),
      var(--green-deep)
    );
}


.image-placeholder span {
  padding:
    12px
    18px;

  border:
    1px
    solid
    rgba(
      255,
      255,
      255,
      0.18
    );

  border-radius: 999px;

  color:
    rgba(
      255,
      255,
      255,
      0.7
    );

  font-size: 11px;

  font-weight: 900;

  letter-spacing: 0.17em;
}


.product-card__content {
  padding: 28px;
}


.product-card__type {
  display: inline-block;

  margin-bottom: 14px;

  color: var(--gold-dark);

  font-size: 10px;

  font-weight: 900;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}


.product-card h3 {
  margin:
    0
    0
    14px;

  font-family:
    "Playfair Display",
    serif;

  font-size:
    clamp(
      30px,
      4vw,
      38px
    );

  line-height: 1;
}


.product-card p {
  margin: 0;

  line-height: 1.75;

  color: var(--dark-soft);
}


.product-card__specs {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(
        0,
        1fr
      )
    );

  gap: 8px;

  margin-top: 24px;

  padding-top: 20px;

  border-top:
    1px
    solid
    var(--line);
}


.product-card__specs span {
  min-width: 0;
}


.product-card__specs small {
  display: block;

  margin-bottom: 5px;

  font-size: 10px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.08em;

  color:
    rgba(
      42,
      33,
      23,
      0.48
    );
}


.product-card__specs strong {
  display: block;

  overflow: hidden;

  font-size: 13px;

  white-space: nowrap;

  text-overflow: ellipsis;
}


/* ==========================================================
   ATMOSPHERE
========================================================== */

.atmosphere__grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 42px;

  align-items: center;
}


.atmosphere__gallery {
  display: grid;

  grid-template-columns: 1fr;

  gap: 16px;
}


.atmosphere-photo {
  min-height: 280px;

  overflow: hidden;

  border-radius:
    var(--radius-lg);

  box-shadow:
    var(--shadow-soft);
}


.atmosphere-photo img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}


.atmosphere-photo--product {
  display: grid;

  place-items: center;

  padding: 24px;

  background:
    linear-gradient(
      135deg,
      var(--cream-deep),
      var(--cream-light)
    );
}


.atmosphere-photo--product img {
  object-fit: contain;
}


/* ==========================================================
   CTA
========================================================== */

.cta__box {
  display: grid;

  grid-template-columns: 1fr;

  gap: 28px;

  align-items: center;

  padding:
    clamp(
      32px,
      6vw,
      64px
    );

  border-radius:
    var(--radius-xl);

  background:
    radial-gradient(
      circle at 85% 30%,
      rgba(
        199,
        154,
        56,
        0.18
      ),
      transparent
      30%
    ),

    linear-gradient(
      135deg,
      var(--green),
      var(--green-deep)
    );

  box-shadow:
    var(--shadow);
}


/* ==========================================================
   CONTACTS
========================================================== */

.contacts__grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 38px;

  align-items: start;
}


.contacts__list {
  display: grid;

  gap: 14px;

  margin-top: 30px;
}


.contact-item {
  padding: 22px;

  border:
    1px
    solid
    var(--line);

  border-radius:
    var(--radius-md);

  background:
    rgba(
      255,
      250,
      242,
      0.9
    );

  box-shadow:
    var(--shadow-soft);
}


.contact-item span {
  display: block;

  margin-bottom: 7px;

  color:
    rgba(
      42,
      33,
      23,
      0.48
    );

  font-size: 11px;

  font-weight: 900;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


.contact-item a,
.contact-item p {
  margin: 0;

  font-size: 17px;

  font-weight: 800;
}

.company-details {
  margin-top: 18px;

  padding: 24px;

  border:
    1px
    solid
    var(--line);

  border-radius:
    var(--radius-md);

  background:
    rgba(
      255,
      250,
      242,
      0.86
    );

  box-shadow:
    var(--shadow-soft);
}


.company-details h3 {
  margin-bottom: 18px;

  font-size: 18px;

  font-weight: 900;
}


.company-details dl {
  display: grid;

  gap: 12px;
}


.company-details dl div {
  display: grid;

  gap: 4px;
}


.company-details dt {
  color:
    rgba(
      42,
      33,
      23,
      0.5
    );

  font-size: 11px;

  font-weight: 900;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.company-details dd {
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
  margin-left: 0;
}


/* ==========================================================
   FORM
========================================================== */

.contact-form {
  padding:
    clamp(
      22px,
      4vw,
      34px
    );

  border:
    1px
    solid
    var(--line);

  border-radius:
    var(--radius-xl);

  background:
    rgba(
      255,
      250,
      242,
      0.94
    );

  box-shadow:
    var(--shadow);
}


.form-field {
  margin-bottom: 16px;
}


.form-field label {
  display: block;

  margin-bottom: 8px;

  font-size: 13px;

  font-weight: 800;
}


.form-field input,
.form-field textarea {
  width: 100%;

  padding:
    16px
    17px;

  border:
    1px
    solid
    rgba(
      42,
      33,
      23,
      0.14
    );

  border-radius: 17px;

  outline: 0;

  color: var(--dark);

  background:
    rgba(
      255,
      255,
      255,
      0.82
    );

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}


.form-field textarea {
  min-height: 140px;

  resize: vertical;
}


.form-field input:focus,
.form-field textarea:focus {
  border-color:
    var(--gold);

  box-shadow:
    0
    0
    0
    4px
    rgba(
      199,
      154,
      56,
      0.11
    );
}


.form-field.error input,
.form-field.error textarea {
  border-color: #a94732;
}


.form-field small {
  display: block;

  min-height: 16px;

  margin-top: 6px;

  color: #a94732;

  font-size: 11px;
}


/* ==========================================================
   FOOTER
========================================================== */

.footer {
  padding:
    36px
    0;

  background:
    var(--dark);

  color:
    rgba(
      255,
      255,
      255,
      0.64
    );
}


.footer__row {
  display: grid;

  grid-template-columns: 1fr;

  gap: 18px;

  align-items: center;

  text-align: center;
}


.footer__brand {
  display: inline-flex;

  flex-direction: column;

  align-items: center;

  justify-self: center;

  gap: 0;
}


.footer__brand img {
  width: 68px;

  height: 58px;

  object-fit: contain;

  margin-bottom: -7px;
}


.footer__brand span {
  color: var(--white);

  font-size: 11px;

  font-weight: 900;

  letter-spacing: 0.15em;
}


/* ==========================================================
   TOAST
========================================================== */

.toast {
  position: fixed;

  left: 50%;

  bottom: 24px;

  z-index: 3000;

  width:
    min(
      420px,
      calc(100% - 32px)
    );

  padding:
    16px
    18px;

  border-radius: 17px;

  color: var(--white);

  background:
    rgba(
      42,
      33,
      23,
      0.96
    );

  box-shadow:
    var(--shadow);

  opacity: 0;

  visibility: hidden;

  transform:
    translate(
      -50%,
      100px
    );

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}


.toast.visible {
  opacity: 1;

  visibility: visible;

  transform:
    translate(
      -50%,
      0
    );
}


/* ==========================================================
   REVEAL
========================================================== */

.reveal {
  opacity: 0;

  transform:
    translateY(30px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}


.reveal.visible {
  opacity: 1;

  transform:
    translateY(0);
}

/* ==========================================================
   LANGUAGE SWITCHER
========================================================== */

.language {
  position: relative;

  flex:
    0
    0
    auto;

  margin-left: 14px;
}


.language__current {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 9px;

  min-height: 42px;

  padding:
    0
    14px;

  border:
    1px
    solid
    rgba(
      42,
      33,
      23,
      0.14
    );

  border-radius: 999px;

  background:
    rgba(
      255,
      250,
      242,
      0.88
    );

  color: var(--dark);

  font: inherit;

  font-size: 13px;

  font-weight: 800;

  cursor: pointer;

  white-space: nowrap;

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}


.language__current:hover {
  border-color:
    rgba(
      199,
      154,
      56,
      0.55
    );

  background: var(--cream-light);
}


.language__flag {
  display: inline-flex;

  flex:
    0
    0
    auto;

  width: 24px;

  height: 17px;

  overflow: hidden;

  border-radius: 3px;

  box-shadow:
    0
    0
    0
    1px
    rgba(
      42,
      33,
      23,
      0.1
    ),

    0
    2px
    5px
    rgba(
      42,
      33,
      23,
      0.08
    );
}


.language__flag svg {
  display: block;

  width: 100%;

  height: 100%;
}


.language__arrow {
  width: 15px;

  height: 15px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;

  stroke-linecap: round;

  stroke-linejoin: round;

  transition:
    transform 0.25s ease;
}


.language.open .language__arrow {
  transform:
    rotate(180deg);
}


.language__dropdown {
  position: absolute;

  top:
    calc(
      100%
      +
      10px
    );

  right: 0;

  left: auto;

  z-index: 100;

  display: grid;

  gap: 3px;

  min-width: 178px;

  padding: 7px;

  border:
    1px
    solid
    rgba(
      42,
      33,
      23,
      0.12
    );

  border-radius: 15px;

  background:
    rgba(
      255,
      250,
      242,
      0.98
    );

  box-shadow:
    0
    18px
    45px
    rgba(
      42,
      33,
      23,
      0.15
    );

  opacity: 0;

  visibility: hidden;

  transform:
    translateY(-7px);

  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}


.language.open .language__dropdown {
  opacity: 1;

  visibility: visible;

  transform:
    translateY(0);
}


.language__dropdown a {
  display: flex;

  align-items: center;

  gap: 10px;

  width: 100%;

  min-height: 42px;

  padding:
    8px
    10px;

  border-radius: 10px;

  font-size: 13px;

  font-weight: 800;

  white-space: nowrap;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}


.language__dropdown a:hover {
  background:
    rgba(
      199,
      154,
      56,
      0.13
    );

  color: var(--gold-dark);
}


.language__dropdown a::after {
  display: none;
}


/* ==========================================================
   LANGUAGE SWITCHER — MOBILE
========================================================== */

@media (max-width: 979px) {

  .language {
    order: -1;

    width: 100%;

    margin-left: 0;

    margin-bottom: 8px;
  }


  .language__current {
    width: 100%;

    min-height: 48px;

    justify-content: flex-start;

    padding:
      0
      14px;

    border-radius: 13px;
  }


  .language__current .language__arrow {
    margin-left: auto;
  }


  .language__dropdown {
    position: static;

    display: none;

    width: 100%;

    min-width: 0;

    margin-top: 7px;

    opacity: 1;

    visibility: visible;

    transform: none;

    box-shadow: none;

    background:
      rgba(
        199,
        154,
        56,
        0.08
      );
  }


  .language.open .language__dropdown {
    display: grid;
  }

}



/* ==========================================================
   480PX
========================================================== */

@media (min-width: 480px) {

  .container {
    width:
      min(
        var(--container),
        calc(100% - 44px)
      );
  }


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


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

}


/* ==========================================================
   700PX
========================================================== */

@media (min-width: 700px) {

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


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


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


  .atmosphere__gallery {
    grid-template-columns:
      1.25fr
      0.75fr;
  }


  .footer__row {
    grid-template-columns:
      1fr
      auto
      1fr;

    text-align: left;
  }


  .footer__row p:last-child {
    text-align: right;
  }

}


/* ==========================================================
   980PX
========================================================== */

@media (min-width: 980px) {

  .hero__content {
    grid-template-columns:
      1.05fr
      0.95fr;

    gap: 52px;
  }


  .hero__product {
    min-height: 650px;
  }


  .about__grid {
    grid-template-columns:
      0.95fr
      1.05fr;

    gap: 60px;
  }


  .about__image {
    min-height: 650px;
  }


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


  .philosophy__grid {
    grid-template-columns:
      0.95fr
      1.05fr;

    gap: 60px;
  }


  .philosophy__image {
    min-height: 680px;
  }


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


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


  .atmosphere__grid {
    grid-template-columns:
      0.9fr
      1.1fr;

    gap: 60px;
  }


  .cta__box {
    grid-template-columns:
      1fr
      auto;
  }


  .contacts__grid {
    grid-template-columns:
      0.9fr
      1.1fr;

    gap: 60px;
  }

}


/* ==========================================================
   MOBILE NAV
========================================================== */

@media (max-width: 979px) {

  .burger {
    display: flex;
  }


  .nav {
    position: fixed;

    top:
      calc(
        var(--header-height)
        +
        10px
      );

    left: 16px;

    right: 16px;

    display: grid;

    gap: 4px;

    padding: 18px;

    border:
      1px
      solid
      var(--line);

    border-radius: 24px;

    background:
      rgba(
        255,
        250,
        242,
        0.98
      );

    box-shadow:
      var(--shadow);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
      translateY(-14px);

    transition:
      opacity 0.28s ease,
      visibility 0.28s ease,
      transform 0.28s ease;
  }


  .nav.open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
      translateY(0);
  }


  .nav a {
    padding:
      14px
      12px;

    border-radius: 13px;

    font-size: 16px;
  }


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

}


/* ==========================================================
   380PX
========================================================== */

@media (max-width: 380px) {

  :root {
    --header-height: 82px;
  }


  .container {
    width:
      calc(
        100%
        -
        24px
      );
  }


  .brand__logo {
    width: 64px;

    height: 54px;
  }


  .brand__name {
    font-size: 10px;

    letter-spacing: 0.12em;
  }


  .hero__title {
    font-size:
      clamp(
        49px,
        17vw,
        62px
      );
  }


  .hero-note {
    display: none;
  }


  .product-card__specs {
    gap: 5px;
  }


  .product-card__specs small {
    font-size: 9px;
  }


  .product-card__specs strong {
    font-size: 11px;
  }

}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@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;
  }

}
