:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --card: #101010;
  --card-2: #151515;
  --line: rgba(213, 167, 85, 0.22);
  --text: #f3efe8;
  --muted: #bbb1a3;
  --gold: #d5a755;
  --gold-2: #f0c877;
  --shadow: 0 24px 70px rgba(0,0,0,.45);
  --radius: 22px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at 72% 8%, rgba(213,167,85,.10), transparent 28%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

.section {
  padding: 84px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,5,5,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-symbol {
  font-size: 34px;
  line-height: 1;
  color: var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.brand-crp {
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .95rem;
  color: #eee7dc;
}

.main-nav a {
  position: relative;
  opacity: .9;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-2);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 650;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #b98634);
  color: #17110a;
  box-shadow: 0 14px 35px rgba(213,167,85,.18);
}

.btn-secondary,
.btn-outline {
  border-color: rgba(213,167,85,.72);
  color: var(--gold-2);
  background: rgba(213,167,85,.04);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(213,167,85,.35);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  margin: 5px auto;
}

.hero {
  padding-top: 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 62px;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .75rem;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.25rem);
  max-width: 760px;
}

h1 span {
  color: var(--gold-2);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.25rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.45rem;
}

.hero-text {
  color: var(--muted);
  max-width: 610px;
  font-size: 1.12rem;
  margin: 26px 0 18px;
}

.professional-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--gold-2);
  font-size: .95rem;
  margin-bottom: 30px;
}

.separator {
  color: rgba(213,167,85,.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-photo-wrap {
  display: flex;
  justify-content: center;
}

.photo-card {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 4/5;
  border-radius: 34px;
  overflow: hidden;
  background: #0e0e0e;
  border: 1px solid rgba(213,167,85,.25);
  box-shadow: var(--shadow);
}

.photo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(5,5,5,.36));
  z-index: 1;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-grid {
  display: grid;
  grid-template-columns: 160px 1fr .95fr;
  gap: 44px;
  align-items: center;
}

.symbol-card {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5.3rem;
  background: radial-gradient(circle, rgba(213,167,85,.13), rgba(213,167,85,.02));
}

.about p,
.contact-info p {
  color: var(--muted);
}

.formation-box {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}

.formation-box h3 {
  color: var(--gold-2);
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.formation-box ul {
  list-style: none;
}

.formation-box li {
  color: #ded6ca;
  margin-bottom: 9px;
  padding-left: 18px;
  position: relative;
}

.formation-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 42px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 250px;
  padding: 34px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  border: 1px solid rgba(255,255,255,.08);
  text-align: center;
  box-shadow: 0 20px 55px rgba(0,0,0,.18);
}

.card-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 18px;
  border: 1px solid rgba(213,167,85,.26);
  color: var(--gold);
  font-size: 2rem;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: .98rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.02);
}

.expertise-grid div {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #e7ded2;
}

.expertise-grid div:nth-child(4n) {
  border-right: 0;
}

.expertise-grid div:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.expertise-grid span {
  color: var(--gold);
  font-size: 1.45rem;
  flex: 0 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 52px;
  align-items: start;
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-links a {
  display: block;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
  color: var(--gold-2);
}

.contact-links small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #e8dfd4;
  font-size: .9rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(0,0,0,.32);
  color: var(--text);
  border-radius: 12px;
  padding: 14px 14px;
  outline: none;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(213,167,85,.72);
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(213,167,85,.25);
  background: #030303;
}

.footer-inner {
  text-align: center;
  color: #d6cbbb;
}

.footer-note {
  margin-top: 8px;
  color: #8e8579;
  font-size: .9rem;
}

@media (max-width: 980px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: rgba(10,10,10,.98);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 8px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-photo-wrap {
    justify-content: flex-start;
  }

  .cards-grid,
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-grid div:nth-child(2n) {
    border-right: 0;
  }

  .expertise-grid div:nth-child(4n) {
    border-right: 0;
  }

  .expertise-grid div:nth-last-child(-n + 4) {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .expertise-grid div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand span:last-child {
    max-width: 245px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .section {
    padding: 64px 0;
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .cards-grid,
  .expertise-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .expertise-grid div,
  .expertise-grid div:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .expertise-grid div:last-child {
    border-bottom: 0;
  }
}
