:root {
  --text: #272626;
  --muted: #555;
  --bg: #ffffff;
  --light: #f4f4f4;
  --dark: #1a1a1a;
  --gold: #c9a227;
  --gold-hover: #b8911f;
  --blue: #3b7fc4;
  --link: #1e73be;
  --header-h: 72px;
  --max: 1170px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --font: "Poppins", Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--link);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid #ececec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.logo img {
  width: 200px;
  height: 50px;
  object-fit: contain;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid #222;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #111;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1100;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(320px, 86vw);
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  z-index: 1200;
  padding: 28px 22px;
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.12);
}

body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open .nav-drawer {
  transform: translateX(0);
}

body.nav-open {
  overflow: hidden;
}

.nav-drawer ul {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
}

.nav-drawer a {
  display: block;
  padding: 12px 4px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
}

.nav-drawer a:hover,
.nav-drawer a[aria-current="page"] {
  color: var(--gold);
}

.site-main {
  flex: 1;
}

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 14px 28px;
  font-size: 13px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.lang-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  background: #2a2a2a;
  color: #fff;
  border-radius: 4px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.lang-widget img {
  width: 18px;
  height: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-gold {
  background: var(--gold);
  color: #111;
  padding: 14px 28px;
}

.btn-gold:hover {
  background: var(--gold-hover);
}

.btn-dark {
  background: #2b2b2b;
  color: #fff;
  padding: 14px 28px;
}

.btn-dark:hover {
  background: #111;
}

.btn-pill {
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* Home */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 46px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 48px 20px 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #fff url("../images/collage.png") center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.62);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(1.8rem, 4.2vw, 3.15rem);
  line-height: 1.2;
  font-weight: 700;
  color: #2a2a2a;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.regulator-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.regulator-logos img {
  width: 148px;
  height: auto;
  display: block;
}

/* Inner page titles */
.page-hero {
  padding: 72px 0 36px;
  background: #fff;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
}

.page-hero p {
  margin: 12px 0 0;
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
}

.page-hero.boxed {
  background: var(--light);
  padding: 56px 0 28px;
}

.page-hero.boxed .title-box {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 36px 28px;
}

/* Services */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px 0 72px;
}

.service-card {
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.service-card h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.service-card p {
  margin: 0 0 24px;
  flex: 1;
}

.service-card .btn-dark {
  align-self: flex-start;
  color: #fff;
}

.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 80px;
}

.process img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.process h2 {
  margin: 0 0 16px;
  font-size: 2rem;
}

.process ol {
  margin: 0 0 28px;
  padding-left: 1.2rem;
}

.process li + li {
  margin-top: 10px;
}

/* About */
.story {
  background: var(--light);
  padding: 64px 0;
}

.story h2 {
  margin: 0 0 18px;
  font-size: 2rem;
}

.story p {
  max-width: 820px;
}

.values {
  background: var(--dark);
  color: #fff;
  padding: 72px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.values h2 {
  margin: 0 0 18px;
  font-size: 2.1rem;
}

.values img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.traits {
  padding: 72px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.traits h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.leadership {
  background: var(--light);
  padding: 72px 0 88px;
}

.leadership h2 {
  margin: 0 0 32px;
  font-size: 2.1rem;
}

.leaders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 860px;
}

.leader {
  text-align: center;
}

.leader img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top;
  margin-bottom: 16px;
}

.leader h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}

.leader p {
  margin: 0;
  color: var(--muted);
}

/* Contact */
.contact-wrap {
  background: var(--light);
  padding-bottom: 40px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 8px 0 48px;
}

.contact-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 36px 24px;
  text-align: center;
  min-height: 210px;
}

.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.contact-card a {
  word-break: break-word;
}

.contact-form-section {
  background: var(--dark);
  color: #fff;
  padding: 72px 0 88px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-grid h2 {
  margin: 0 0 20px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
}

.social-link {
  display: inline-flex;
  width: 42px;
  height: 42px;
  background: #1877f2;
  color: #fff;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: #111;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn-gold {
  align-self: flex-start;
  color: #fff;
  padding: 14px 26px;
}

.form-success {
  display: none;
  background: #fff;
  color: var(--text);
  padding: 20px;
}

.contact-form.is-sent {
  display: none;
}

.form-success.is-visible {
  display: block;
}

@media (max-width: 900px) {
  .service-cards,
  .process,
  .values-grid,
  .traits,
  .leaders,
  .contact-cards,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .process img,
  .values img,
  .leader img {
    height: 280px;
  }

  .page-hero {
    padding-top: 48px;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0 16px;
  }

  .logo img {
    width: 160px;
  }

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