:root {
  --ink: #131211;
  --ink-2: #1b1a18;
  --paper: #ece8e1;
  --paper-2: #e3ddd3;
  --gold: #b39a6d;
  --gold-text: #c3a877;
  --gold-deep: #74603a;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(19, 18, 17, .14);
  --muted-dark: rgba(236, 232, 225, .58);
  --muted-light: rgba(19, 18, 17, .62);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 5vw, 64px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 18px;
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.section--light .eyebrow, .principle .eyebrow { color: var(--gold-deep); }
.eyebrow--muted { color: var(--muted-dark); }
.eyebrow--dark { color: var(--ink) !important; }
.h2 {
  font: 400 clamp(32px, 4.2vw, 52px)/1.12 var(--serif);
  letter-spacing: -.005em;
  margin-bottom: clamp(32px, 5vw, 56px);
  text-wrap: balance;
}
.h2--spaced { margin-top: clamp(64px, 9vw, 112px); }
.num { font: 500 12px/1 var(--sans); letter-spacing: .08em; color: var(--gold-text); }
.section--light .num { color: var(--gold-deep); }
.rule { display: block; width: 56px; height: 1px; background: var(--gold); margin: 28px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--gold); color: var(--ink);
  border: 0; border-radius: 0;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: #c6ad80; }
.btn:active { transform: scale(.98); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 11px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow {
  font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--paper); padding: 8px 0;
  border-bottom: 1px solid var(--line-dark); transition: border-color .25s;
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { border-color: var(--gold); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px; padding: 0 var(--pad);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(19, 18, 17, .92); backdrop-filter: blur(10px); border-color: var(--line-dark); }
.nav__logo { font: 500 24px/1 var(--serif); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--muted-dark); transition: color .2s;
}
.nav__links a:hover { color: var(--paper); }
.nav__right { display: flex; align-items: center; gap: 16px; }
.lang {
  background: none; border: 1px solid var(--line-dark); color: var(--paper);
  height: 40px; min-width: 44px; padding: 0 10px; cursor: pointer;
  font: 600 11px/1 var(--sans); letter-spacing: .12em;
}
.lang:hover { border-color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--paper); transition: transform .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100svh; }
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--pad) 64px;
}
.hero__title { font: 400 clamp(72px, 10vw, 148px)/.92 var(--serif); letter-spacing: -.01em; margin-top: 12px; }
.hero__lead { max-width: 380px; font-size: 17px; color: rgba(236, 232, 225, .82); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero__since { margin: 64px 0 0; }
.hero__media { position: relative; overflow: hidden; background: #6b6b6b; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroIn 1.6s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 144px) 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section--dark { background: var(--ink); }
.section--border { border-top: 1px solid var(--line-dark); }
.section--gold { background: var(--gold); color: var(--ink); }

/* about */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.about__text p { max-width: 520px; color: var(--muted-light); }
.about__media { margin: 0; aspect-ratio: 4 / 4.6; overflow: hidden; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line-light); max-width: 520px; }
.facts dt { font: 400 44px/1 var(--serif); }
.facts dd { margin: 8px 0 0; font-size: 13px; color: var(--muted-light); }

/* count */
.count__row { display: flex; align-items: center; gap: clamp(24px, 5vw, 64px); margin: clamp(40px, 7vw, 96px) 0; }
.count__num { font: 400 clamp(110px, 17vw, 220px)/.8 var(--serif); }
.count__text { font: 400 clamp(26px, 3.4vw, 42px)/1.2 var(--serif); max-width: 640px; margin: 0; }
.count__list { margin: 0; font-size: 13px; letter-spacing: .04em; }

/* services */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.services li {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line-light);
  transition: padding .35s var(--ease);
}
.services li:hover { padding-left: 12px; }
.services h3 { font: 500 clamp(22px, 2.2vw, 28px)/1.2 var(--serif); }
.services p { margin: 0; color: var(--muted-light); }

/* projects */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.card { margin: 0; }
.card__img { overflow: hidden; aspect-ratio: 1048 / 944; background: var(--ink-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card figcaption { padding-top: 18px; display: grid; gap: 6px; }
.card b { font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.card span { font-size: 14px; color: var(--muted-dark); }

/* guarantees */
.guarantees { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.guarantees > div { border-top: 1px solid var(--line-dark); padding-top: 24px; }
.guarantees h3 { font: 500 26px/1.2 var(--serif); margin: 18px 0 12px; }
.guarantees p { font-size: 14px; color: var(--muted-dark); margin: 0; }

/* principle */
.principle { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--paper); color: var(--ink); min-height: 640px; }
.principle__media { position: relative; min-height: 420px; overflow: hidden; }
.principle__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.principle__text { align-self: center; padding: 80px var(--pad); max-width: 600px; }
.principle__text p { color: var(--muted-light); max-width: 440px; }
.principle .h2 { margin-bottom: 0; }

/* brands */
.brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 28px; }
.brands li {
  font: 400 clamp(22px, 2.4vw, 30px)/1.2 var(--serif);
  padding: 26px 0; border-top: 1px solid var(--line-dark);
  transition: color .25s;
}
.brands li:hover { color: var(--gold-text); }
.brands .brands__tag { font: 500 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); display: flex; align-items: center; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.contact__lead { color: var(--muted-light); max-width: 420px; margin-top: -24px; margin-bottom: 40px; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; }
.contacts > div { border-top: 1px solid var(--line-light); padding: 16px 0 20px; }
.contacts dt { font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 6px; }
.contacts dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.contacts a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.contacts a:hover { border-color: var(--gold-deep); }

.form { background: var(--ink); color: var(--paper); padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--paper);
  border: 0; border-bottom: 1px solid var(--line-dark); border-radius: 0;
  padding: 10px 0; font: 400 16px/1.5 var(--sans);
  transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer;
}
.field select option { background: var(--ink); color: var(--paper); }
.field textarea { resize: vertical; min-height: 96px; }
.field ::placeholder { color: rgba(236, 232, 225, .5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field__err { display: none; font-size: 12px; color: #e39a86; }
.field.is-invalid input { border-color: #e39a86; }
.field.is-invalid .field__err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted-dark); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); flex: none; }
.check.is-invalid { color: #e39a86; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 0; min-height: 1.6em; font-size: 14px; }
.form__status.ok { color: var(--gold-text); }
.form__status.err { color: #e39a86; }

/* footer */
.footer { border-top: 1px solid var(--line-dark); padding: 32px 0; font-size: 13px; color: var(--muted-dark); }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer .nav__logo { color: var(--paper); font-size: 22px; }

/* whatsapp fab */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease);
}
.fab:hover { transform: translateY(-2px); }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .guarantees { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
}
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--pad) 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease);
  }
  .nav__links a { padding: 16px 0; font-size: 13px; border-bottom: 1px solid var(--line-dark); }
  .nav.menu-open { background: var(--ink); }
  .nav.menu-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .burger { display: block; }
  .nav__right .btn--small { display: none; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding-top: 136px; padding-bottom: 56px; }
  .hero__since { margin-top: 48px; }
  .hero__media { height: 56vh; min-height: 320px; }

  .about, .contact, .principle { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 3; }
  .principle__media { min-height: 0; aspect-ratio: 4 / 3.4; }
  .principle__text { padding: 64px var(--pad); }

  .grid3 { grid-template-columns: 1fr 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .services li { grid-template-columns: 48px 1fr; }
  .services li p { grid-column: 2; }
}
@media (max-width: 560px) {
  .grid3 { grid-template-columns: 1fr; gap: 32px; }
  .guarantees { grid-template-columns: 1fr; }
  .count__row { flex-direction: column; align-items: flex-start; }
  .facts dt { font-size: 36px; }
  .contacts { grid-template-columns: 1fr; }
  .services li { gap: 6px 16px; padding: 22px 0; }
  .nav__logo { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
