:root {
  --gold: #ffba00;
  --gold-hover: #dba617;
  --ink: #071323;
  --text: #626262;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --header: 92px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Lato, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 900; }
p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #f2f2f2;
}
.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo { display: flex; align-items: center; margin-right: auto; }
.logo img { height: 72px; width: auto; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.nav ul {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  color: #444;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  border-left: 1px solid #eee;
}
.nav li:last-child a { border-right: 1px solid #eee; }
.nav a[aria-current="page"],
.nav a:hover { color: var(--gold); }

.hero {
  min-height: 460px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(48, 32, 8, .88) 0%, rgba(48, 32, 8, .72) 46%, rgba(48, 32, 8, .25) 100%),
    url("/img/hero.jpg") center right / cover no-repeat;
  padding: 64px 20px 48px;
}
.hero h1 {
  margin: 0 auto 14px;
  max-width: 760px;
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
}
.hero p {
  margin: 0 auto;
  max-width: 640px;
  color: #fff;
  font-size: 15px;
  letter-spacing: .04em;
}
.hero .abendi { width: 92px; margin-top: 28px; }

.intro { padding: 72px 0 30px; }
.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.intro h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 48px);
}
.lead { color: var(--ink); font-weight: 700; font-size: 18px; }
.intro p { color: #b0b0b0; }
.sep { width: 62px; height: 8px; margin: 8px 0 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 2px;
}
.btn:hover { background: var(--gold-hover); color: #fff; }

.specialists { padding: 36px 0 80px; }
.specialists h2 { text-align: center; font-size: clamp(30px, 4vw, 42px); margin: 0 0 42px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 36px;
}
.card img { width: 54px; height: 54px; object-fit: contain; }
.card h3 {
  margin: 14px 0 8px;
  font-size: 16px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.card p { margin: 0; color: #b0b0b0; font-size: 15px; }

.page-hero {
  min-height: 180px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(7, 19, 35, .35), rgba(7, 19, 35, .55)),
    url("/img/page-bg.jpg") center / cover no-repeat;
  color: #fff;
  padding: 28px 0;
}
.page-hero h1 { color: #fff; margin: 0 0 8px; font-size: 28px; letter-spacing: .04em; }
.crumbs { color: #fff; font-size: 14px; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--gold); }

.section { padding: 64px 0; }
.narrow { width: min(860px, 100%); }
.center { text-align: center; }
.split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}
.portrait { width: 100%; border-radius: 2px; }
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 36px 0;
}
.value {
  background: #fafafa;
  border-top: 3px solid var(--gold);
  padding: 22px 20px;
}
.value h3 { margin: 0 0 10px; font-size: 16px; }
.value p { margin: 0; }

.prose h2 { font-size: 28px; margin: 0 0 12px; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.list { margin: 0 0 16px; padding-left: 18px; }
.list li { margin: 6px 0; }

.jobs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.job { text-align: center; }
.job img { width: 100%; max-height: 280px; object-fit: contain; background: #fafafa; }
.job h3 { margin: 16px 0 6px; font-size: 16px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.posts, .products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post, .product {
  border: 1px solid var(--line);
  background: #fff;
}
.post img, .product img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.post div, .product div { padding: 16px 16px 20px; }
.post h2, .product h2 { font-size: 16px; margin: 0 0 8px; }
.post time { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}
.address {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.address img { width: 72px; height: 72px; object-fit: contain; }
label { display: block; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
input, textarea {
  width: 100%;
  border: 1px solid #ddd;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  margin-bottom: 14px;
}
input:focus, textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.hp { position: absolute; left: -9999px; }
.form-note { min-height: 1.4em; font-weight: 700; }
.form-note.ok { color: #1b7a32; }
.form-note.err { color: #a12626; }

.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 28px 16px;
  font-size: 14px;
}
.footer p { margin: 0; }

.float-wa, .to-top {
  position: fixed;
  right: 18px;
  z-index: 25;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}
.float-wa { bottom: 22px; background: #25d366; color: #fff; }
.float-wa:hover { color: #fff; background: #1ebe5b; }
.to-top {
  bottom: 84px;
  border: 0;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}
.to-top.is-on { opacity: 1; pointer-events: auto; }
.page-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { height: auto; padding: 14px 20px; border: 0; border-top: 1px solid #f3f3f3; }
  .nav li:last-child a { border-right: 0; }
  .intro-grid, .split, .contact-grid, .jobs, .values, .cards, .posts, .products, .pair {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 380px; background-position: center; }
}

@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: page-out 0.28s ease both;
}
::view-transition-new(root) {
  animation: page-in 0.32s ease both;
}
@keyframes page-out {
  to { opacity: 0; transform: translateY(-8px); }
}
@keyframes page-in {
  from { opacity: 0; transform: translateY(12px); }
}
body.page-enter main {
  animation: page-in 0.32s ease both;
}
body.is-leaving main {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  body.page-enter main,
  body.is-leaving main {
    animation: none;
    transition: none;
  }
}
