:root {
  --bg: #1e1c1c;
  --text: #f9f9f9;
  --gold: #917336;
  --gold-light: #a98d4f;
  --line: rgba(249, 249, 249, 0.35);
  --input-bg: rgba(249, 249, 249, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: var(--bg);
  background-image: linear-gradient(rgba(30, 28, 28, 0.5), rgba(30, 28, 28, 0.5)), url('assets/mesh.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
  font-family: 'PT Serif', Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; }
a:hover { opacity: 0.8; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

h1, h2, .heading { font-family: 'Marcellus', 'PT Serif', Georgia, serif; font-weight: 400; }

.logo-img { width: 180px; height: auto; display: block; margin: 0 auto; }

.site-nav { text-align: center; margin-top: 18px; font-size: 16px; }
.site-nav a { margin: 0 10px; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

.companies-nav {
  text-align: center;
  margin-top: 14px;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.companies-nav a { color: var(--gold-light); margin: 0 9px; white-space: nowrap; }
.companies-nav a:hover { color: var(--text); opacity: 1; }

/* ---------- Home: two columns ---------- */
.home-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 56px 28px 72px;
  align-items: start;
}
@media (max-width: 760px) {
  .home-wrap { grid-template-columns: 1fr; gap: 44px; padding-top: 40px; }
}

.home-left { text-align: center; }
.home-left .mission {
  text-align: justify;
  margin-top: 30px;
  font-size: 17px;
  line-height: 1.55;
}
.home-left hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 26px auto 0;
  width: 100%;
}
.home-left hr.short { width: 50%; margin-top: 16px; }
.home-left .address { margin-top: 26px; font-size: 17px; }
.home-left .phone { margin-top: 16px; font-size: 17px; }
.socials { margin-top: 22px; display: flex; gap: 20px; justify-content: center; }
.socials a { opacity: 0.85; }
.socials svg { width: 18px; height: 18px; fill: var(--text); vertical-align: middle; }

/* ---------- Inner pages ---------- */
.page-wrap { max-width: 760px; margin: 0 auto; padding: 48px 28px 72px; }
.page-header { text-align: center; }
.page-title {
  text-align: center;
  font-size: 34px;
  letter-spacing: -0.02em;
  margin-top: 62px;
}
.rule-center {
  border: 0;
  border-top: 1px solid var(--line);
  width: 160px;
  margin: 34px auto;
}
.section-heading {
  text-align: center;
  color: var(--gold-light);
  font-size: 22px;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.page-wrap p.body { text-align: justify; margin-bottom: 20px; }
.experts-list { text-align: center; list-style: none; margin: 4px 0 24px; }
.experts-list li, .experts-lead { text-align: center; margin-bottom: 2px; }
.closing { font-style: italic; text-align: justify; margin-top: 8px; }

/* ---------- Connect form ---------- */
.connect-title { text-align: center; font-size: 30px; margin: 0 0 26px; }
.inner-connect { margin-top: 64px; }
form.connect { max-width: 620px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.field { margin-bottom: 22px; }
.field > .label { font-size: 17px; margin-bottom: 6px; display: block; }
.group-label { font-size: 17px; margin-bottom: 6px; display: block; }
.req { font-size: 13px; opacity: 0.75; margin-left: 6px; }
.sub-label { font-size: 14px; opacity: 0.9; display: block; margin-bottom: 4px; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  background: var(--input-bg);
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  padding: 9px 8px;
}
textarea { min-height: 110px; resize: vertical; }
.checkbox-field { display: flex; align-items: center; gap: 9px; margin: -6px 0 22px; font-size: 15px; }
.checkbox-field input { width: 15px; height: 15px; accent-color: var(--gold); }
.submit-wrap { text-align: center; margin-top: 8px; }
button.submit {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--text);
  color: var(--text);
  font-family: 'PT Serif', Georgia, serif;
  font-size: 17px;
  padding: 4px 10px 6px;
  cursor: pointer;
}
button.submit:hover { color: var(--gold-light); border-color: var(--gold-light); }
.form-status { text-align: center; margin-top: 16px; font-size: 15px; min-height: 1.4em; }

footer.site-footer {
  text-align: center;
  padding: 10px 20px 36px;
  font-size: 12.5px;
  opacity: 0.55;
}

/* Spam trap field: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
