:root {
  --navy: #0f2740;
  --navy-2: #16385c;
  --gold: #b08d3e;
  --gold-light: #d4b96a;
  --bg: #f7f8fa;
  --white: #ffffff;
  --text: #2b333d;
  --muted: #5c6773;
  --line: #e3e7ec;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(15, 39, 64, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 0;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }

.brand-mark {
  width: 44px; height: 44px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  color: var(--gold-light);
}

.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 21px; letter-spacing: 0.4px; }
.brand-sub { font-size: 12px; color: #9fb2c6; letter-spacing: 1px; text-transform: uppercase; }

.header-contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; }
.header-contacts a { color: #d6e2ee; text-decoration: none; }
.header-contacts a:hover { color: var(--gold-light); }

.nav {
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav-list { display: flex; flex-wrap: wrap; list-style: none; }
.nav-list a {
  display: block;
  padding: 13px 18px;
  color: #cdd9e6;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 3px solid transparent;
}
.nav-list a:hover, .nav-list a.active { color: #fff; border-bottom-color: var(--gold); }

.lang-switch { padding: 10px 0 10px 10px; }
.lang-switch a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 14px;
  border: 1px solid var(--gold);
  padding: 5px 12px;
  border-radius: 20px;
  transition: background 0.2s;
}
.lang-switch a:hover { background: var(--gold); color: var(--navy); }

.nav-toggle {
  display: none;
  background: none; border: none; color: #fff; font-size: 26px; cursor: pointer;
  padding: 8px 12px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 70%);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border: 2px solid rgba(176,141,62,0.35);
  border-radius: 50%;
}

.hero::before {
  content: "";
  position: absolute;
  right: 20px; top: 40px;
  width: 260px; height: 260px;
  border: 1px solid rgba(176,141,62,0.25);
  border-radius: 50%;
}

.hero .container { position: relative; z-index: 2; }

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 14px;
  max-width: 800px;
}

.hero h1 span { color: var(--gold-light); }

.hero p.lead { font-size: 19px; color: #c9d6e4; max-width: 720px; margin-bottom: 28px; }

.hero .badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero .badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 14px;
  color: #e6eef6;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border: 2px solid rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }

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

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-head .kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
}
.section-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  color: var(--navy);
  margin: 6px 0 12px;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }

.card .icon {
  font-size: 34px;
  margin-bottom: 14px;
  display: block;
}
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card ul { list-style: none; margin-top: 10px; }
.card ul li {
  padding: 4px 0 4px 20px;
  position: relative;
  color: var(--muted);
  font-size: 15px;
}
.card ul li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--gold);
}

/* ---------- About preview ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 16px;
}
.about-text p { color: var(--muted); margin-bottom: 14px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
}
.stat .num { font-size: 34px; font-weight: 700; color: var(--gold-light); }
.stat .lbl { font-size: 14px; color: #c9d6e4; margin-top: 4px; }

/* ---------- Timeline ---------- */
.timeline { max-width: 800px; margin: 0 auto; }
.tl-item {
  position: relative;
  padding: 0 0 30px 30px;
  border-left: 2px solid var(--gold);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -8px; top: 4px;
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--bg);
}
.tl-year { color: var(--gold); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.tl-item h3 { font-size: 19px; color: var(--navy); margin: 4px 0; }
.tl-item .org { font-size: 15px; color: var(--muted); }
.tl-item ul { margin-top: 10px; list-style: none; }
.tl-item ul li { padding: 3px 0 3px 18px; position: relative; color: var(--text); font-size: 15px; }
.tl-item ul li::before { content: "›"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- Steps ---------- */
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 19px;
}
.step h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 70%);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
.cta h2 { font-family: Georgia, "Times New Roman", serif; font-size: 30px; margin-bottom: 12px; }
.cta p { color: #c9d6e4; max-width: 640px; margin: 0 auto 26px; font-size: 17px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row .icon { font-size: 22px; }
.contact-row .lbl { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-row a { color: var(--navy); font-size: 18px; text-decoration: none; font-weight: 600; }
.contact-row a:hover { color: var(--gold); }
.contact-row p { color: var(--text); font-size: 17px; }

form .form-grid { display: grid; gap: 16px; }
form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
form input, form select, form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  color: var(--text);
}
form input:focus, form select:focus, form textarea:focus {
  outline: 2px solid var(--gold);
  border-color: transparent;
}
form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.form-note.form-success { color: #2e7d32; font-weight: 600; }
.form-note.form-error { color: #c62828; font-weight: 600; }

/* ---------- Table ---------- */
.tbl-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
thead th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 14px 18px;
  font-size: 15px;
}
tbody td {
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
tbody tr:nth-child(even) { background: #fbfcfd; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #9fb2c6;
  padding: 36px 0 24px;
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 24px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer a { color: #9fb2c6; text-decoration: none; display: block; margin-bottom: 6px; }
.footer a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 70%);
  color: #fff;
  padding: 48px 0;
}
.page-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: 34px; }
.page-hero p { color: #c9d6e4; margin-top: 8px; max-width: 720px; font-size: 17px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .header-contacts { display: none; }
  .nav { justify-content: space-between; }
  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    width: 100%;
    flex-direction: column;
  }
  .nav-list.open { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 27px; }
}
