:root {
  --gold: #f6b516;
  --ink: #222;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.topbar {
  background: var(--gold);
  color: #1a1a1a;
  position: relative;
}
.top-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 72px;
  font-weight: 600;
  line-height: 1.35;
  font-size: 16px;
}
.top-contacts a:hover { color: #fff; }
.lang {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lang a.on, .lang a:hover { color: #fff; }

.header { background: #111; position: sticky; top: 0; z-index: 20; }
.header-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 72px; width: auto; background: #111; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 32px; flex-wrap: wrap; }
.nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 0 6px;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.current { color: var(--gold); border-bottom-color: var(--gold); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
}
.nav-toggle span:before, .nav-toggle span:after { content: ""; position: absolute; left: 0; }
.nav-toggle span:before { top: -7px; }
.nav-toggle span:after { top: 7px; }

.hero { position: relative; background: #111; height: min(68vh, 640px); overflow: hidden; }
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.hero img.on { opacity: 1; }
.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 64px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
  z-index: 2;
}
.hero-btn.prev { left: 8px; }
.hero-btn.next { right: 8px; }
.hero-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 1;
  pointer-events: none;
}
.hero-btn { z-index: 2; }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 2;
}
.hero-dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
}
.hero-dots button.on { background: #fff; }

.section { padding: 78px 0; }
.section h1, .section h2.gold, .product h2 {
  text-align: center;
  color: var(--gold);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.25;
  margin: 0 0 36px;
}
.section h2 { font-size: 36px; line-height: 1.3; margin: 0 0 20px; }
.lead { max-width: none; }
.lead p { margin: 0 0 18px; }
.welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.welcome img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center center;
}
.welcome p, .welcome .list {
  font-size: 18px;
  line-height: 1.5;
}
.list { margin: 0 0 18px; }
.list div { padding: 1px 0; }

.contact-band {
  background: #000;
  color: #d0d0d0;
  text-align: center;
  padding: 56px 0 48px;
}
.contact-band h2 {
  color: var(--gold);
  font-weight: 400;
  font-size: 33px;
  line-height: 1.4;
  margin: 0 0 40px;
}
.contact-band h3 {
  color: #fff;
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 14px;
}
.contact-band .addr { margin: 0 0 22px; color: #c4c4c4; }
.contact-band .reach { margin: 0 0 28px; line-height: 1.7; }
.contact-band .reach span { color: #cfcfcf; }
.contact-band a { color: var(--gold); }
.line-toggle, .drop-form button[type="submit"], .dir-btn {
  display: inline-block;
  background: var(--gold);
  color: #000;
  border: 0;
  border-radius: 0;
  padding: 16px 28px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.line-toggle:hover, .drop-form button[type="submit"]:hover, .dir-btn:hover { background: #ffc53d; }
.line-toggle[hidden], .drop-form[hidden] { display: none; }
.drop-form {
  max-width: 640px;
  margin: 8px auto 0;
  text-align: left;
}
.line-close {
  display: block;
  width: 100%;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e2e2e2;
  font: inherit;
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
}
.drop-form label:not(.attach-btn) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.attach-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 6px 0 0;
}
.attach-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.attach-btn svg { width: 16px; height: 16px; fill: currentColor; }
.drop-form input[type="file"] { display: none; }
.attach-count, .attach-names { color: #9a9a9a; font-size: 14px; }
.attach-names { min-height: 20px; margin: 6px 0 0; }
.form-actions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 22px;
}
.form-actions button[type="submit"] { grid-column: 2; }
.line-cancel {
  grid-column: 3;
  justify-self: start;
  margin-left: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}
.drop-form input, .drop-form textarea {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: #161616;
  color: #bfbfbf;
  font: inherit;
  font-size: 14px;
}
.drop-form textarea { min-height: 140px; resize: vertical; }
.drop-form input::placeholder, .drop-form textarea::placeholder { color: #8d8d8d; }
.map-wrap { position: relative; height: 420px; background: #ececec; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-wrap .dir-btn { position: absolute; top: 22px; left: 22px; z-index: 2; text-decoration: none; }
.dir-btn:hover { color: #000; }

.page-banner { height: 300px; overflow: hidden; background: #111; }
.page-banner img { width: 100%; height: 300px; object-fit: cover; object-position: center; }
.contact-page {
  background: #161616;
  color: #f7f7f7;
  text-align: center;
  padding: 56px 0;
}
.contact-page h1 {
  color: var(--gold);
  font-weight: 400;
  font-size: 39px;
  line-height: 1.4;
  margin: 0 0 40px;
  text-transform: uppercase;
}
.contact-page h2 {
  color: #f7f7f7;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 24px;
}
.contact-page .biz { margin-top: 56px; }
.contact-page .addr { margin: 0 0 24px; color: #a4a4a4; font-size: 16px; }
.contact-page .reach { margin: 0; color: #a4a4a4; font-size: 16px; line-height: 1.6; }
.contact-page .reach a { color: var(--gold); }
.page-form { max-width: 725px; margin: 0 auto; text-align: left; }
.page-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.page-form input, .page-form textarea {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #ababab;
  font: inherit;
  font-size: 14px;
}
.page-form textarea { min-height: 155px; resize: vertical; }
.page-form input::placeholder, .page-form textarea::placeholder { color: #bfbfbf; }
.page-form button[type="submit"] {
  display: block;
  width: fit-content;
  margin: 8px auto 0;
  background: var(--gold);
  color: #000;
  border: 0;
  border-radius: 0;
  padding: 16px 32px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.page-form button[type="submit"]:hover { background: #ffc53d; }
.office-split {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--gold);
}
.office-list {
  padding: 56px 48px 56px max(24px, calc((100cqw - 1080px) / 2));
}
.office-split .office h3 {
  margin: 0 0 8px;
  color: #000;
  font-size: 22px;
  font-weight: 400;
}
.office-split .office p {
  margin: 0 0 40px;
  color: #302b25;
  font-size: 16px;
  line-height: 1.5;
}
.office-split .office:last-child p { margin-bottom: 0; }
.office-split img {
  width: 100%;
  height: 0;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

.contact-grid, .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-grid h3, .office h3 { margin: 22px 0 6px; font-size: 20px; }
.contact-grid p, .office p { margin: 0 0 14px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 4px; }
input, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ccc;
  padding: 12px 0;
  font: inherit;
  margin-bottom: 18px;
  background: transparent;
}
textarea { min-height: 120px; resize: vertical; }
button[type="submit"], .btn {
  display: inline-block;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 28px;
  padding: 12px 32px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
button[type="submit"]:hover, .btn:hover { background: #333; }

.partners { background: #111; padding: 64px 0 72px; }
.partners h2 { color: #fff; text-align: center; margin: 0 0 28px; font-weight: 500; }
.partners img { width: min(860px, 100%); margin: 0 auto; }

.product { margin-bottom: 88px; }
.spec {
  width: 100%;
  margin: 0 0 40px;
  border-collapse: collapse;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.spec td, .spec th {
  padding: 16px 12px;
  border-bottom: 1px solid #ececec;
  text-align: left;
  font-weight: 500;
  vertical-align: top;
}
.spec td:first-child, .spec th:first-child { width: 28%; color: #222; }
.spec td:not(:first-child), .spec th:not(:first-child) { color: #e2a30b; font-weight: 500; }
.table-wrap { overflow-x: auto; }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.gallery img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  background: #f3f3f3;
}
.gallery.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.gallery.cols-3 img { height: 260px; }
.stack { display: grid; gap: 18px; margin-bottom: 36px; }
.stack img { width: 100%; height: auto; }
.portrait {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  object-position: center top;
  background: #f6f6f6;
}
.offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 48px;
  margin-top: 56px;
}
.footer {
  background: #111;
  color: #ddd;
  text-align: center;
  padding: 26px 16px;
  font-size: 14px;
}
.footer p { margin: 0; }

@media (max-width: 900px) {
  .lang { position: static; transform: none; justify-content: center; padding: 0 0 10px; }
  .top-contacts { padding: 10px 16px 4px; }
  .nav-toggle { display: grid; place-items: center; }
  .header-inner { position: relative; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #111;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 22px 18px;
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .hero { height: 280px; }
  .contact-grid, .split, .offices, .gallery, .gallery.cols-3, .welcome { grid-template-columns: 1fr; }
  .welcome img { height: auto; }
  .map-wrap, .map-wrap iframe { height: 300px; }
  .gallery img { height: 240px; }
  .page-banner, .page-banner img { height: 180px; }
  .office-split { grid-template-columns: 1fr; }
  .office-list { padding: 40px 24px; }
  .office-split img { min-height: 0; height: 360px; }
  .section h1, .section h2.gold, .product h2 { font-size: 30px; }
  .section { padding: 48px 0; }
}
