:root {
  --bg: #111111;
  --bg-soft: #171717;
  --bg-card: #212120;
  --ink: #1b1b1b;
  --muted: #6b6b6b;
  --paper: #f6f4ef;
  --white: #ffffff;
  --line: #e6e2d8;
  --teal: #2398ab;
  --teal-dark: #156e7c;
  --gold: #e2c156;
  --bronze: #b19240;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --radius: 18px;
  --header: 78px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

button, input, textarea {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: #111;
  color: #fff;
  border-bottom: 1px solid rgba(226, 193, 86, 0.2);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.nav a:hover { color: var(--gold); }

.header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.phone {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: #fff;
  border-radius: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  transition: .2s ease;
}

.btn--teal {
  background: var(--teal);
  color: #fff;
}

.btn--teal:hover { background: var(--teal-dark); }

.btn--gold {
  background: var(--gold);
  color: #1b1b1b;
}

.btn--gold:hover { filter: brightness(1.05); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
}

.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--dark {
  background: #171717;
  color: #fff;
}

/* Hero */
.hero {
  min-height: calc(100vh - var(--header));
  background:
    linear-gradient(90deg, rgba(17,17,17,.78) 0%, rgba(17,17,17,.35) 55%, rgba(17,17,17,.2) 100%),
    url("../images/hero-wood.jpg") center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero__kicker {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 84px);
  line-height: .95;
  margin: 0 0 18px;
  font-weight: 700;
  max-width: 12ch;
}

.hero p {
  max-width: 42ch;
  color: rgba(255,255,255,.82);
  margin: 0 0 28px;
}

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

/* Sections */
.section { padding: 88px 0; }
.section--dark { background: var(--bg); color: #fff; }
.section--paper { background: var(--paper); }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 36px;
}

.section h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.lead { color: var(--muted); max-width: 56ch; }

/* Catalog */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform .5s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72));
}

.card:hover img { transform: scale(1.06); }

.card__body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.card span { color: rgba(255,255,255,.75); font-size: 14px; }

.card--wide { grid-column: span 2; min-height: 320px; }

/* Slider */
.slider {
  position: relative;
}

.slider__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slider__track::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 min(72%, 720px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd;
}

.slide img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.slider__nav {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #e8e8e8;
  cursor: pointer;
}

/* Stats */
.stats {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(17,17,17,.72), rgba(17,17,17,.82)),
    url("../images/stats-kitchen.png") center / cover no-repeat;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.stat {
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  color: var(--gold);
}

.stat span { color: rgba(255,255,255,.8); }

.facts {
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(226,193,86,.3);
  border-radius: 22px;
  padding: 28px;
}

.facts h3 { margin: 0 0 18px; text-align: center; }

.facts-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

/* Process */
.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.step b {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111;
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.step h3 { margin: 0 0 6px; }

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

/* Credit */
.credit {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17,17,17,.82), rgba(17,17,17,.55)),
    url("../images/credit-bg.png") center / cover no-repeat;
}

.credit__box {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 24px;
  align-items: center;
}

.credit img { max-width: 240px; border-radius: 12px; }

/* Contacts */
.contacts {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.form, .info-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; gap: 12px; margin-bottom: 12px; }

input, textarea {
  width: 100%;
  border: 1px solid #c9c9c9;
  border-radius: 8px;
  padding: 14px 14px;
  background: #fff;
}

textarea { min-height: 110px; resize: vertical; }

.note { font-size: 12px; color: var(--muted); }

.map {
  margin-top: 16px;
  border: 0;
  width: 100%;
  height: 240px;
  border-radius: 14px;
}

/* Page hero */
.page-hero {
  padding: 72px 0 40px;
  background: #111;
  color: #fff;
}

.crumbs {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  margin-bottom: 14px;
}

.crumbs a:hover { color: var(--gold); }

.page-hero p { max-width: 60ch; color: rgba(255,255,255,.75); }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery img,
.cover {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cover { height: 460px; }

/* Footer */
.footer {
  background: #111;
  color: rgba(255,255,255,.78);
  padding: 36px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.footer a:hover { color: var(--gold); }

.footer small { color: rgba(255,255,255,.45); }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 20px;
}

.modal.is-open { display: grid; }

.modal__box {
  width: min(480px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  position: relative;
}

.modal .form {
  box-shadow: none;
  padding: 0;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.float-wa svg { width: 30px; height: 30px; fill: currentColor; }

@media (max-width: 1200px) {
  .nav { gap: 14px; font-size: 13px; }
  .header__cta { gap: 10px; }
}

@media (max-width: 1080px) {
  .nav, .header__cta .phone { display: none; }
  .burger { display: grid; place-items: center; }
  .header.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #111;
    padding: 20px;
    align-items: flex-start;
  }
  .grid, .stats-grid, .credit__box, .contacts, .footer__grid, .gallery {
    grid-template-columns: 1fr;
  }
  .card--wide { grid-column: auto; }
  .slide { flex-basis: 88%; }
  .slide img, .cover, .gallery img { height: 260px; }
  .facts-row { grid-template-columns: 1fr; }
}
