:root {
  --navy: #0a1f44;
  --ink: #102033;
  --blue: #2a5eb2;
  --blue-soft: #eaf1fb;
  --gold: #c5a059;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --muted: #5c6675;
  --line: #d9dee8;
  --line-strong: #b8c1d1;
  --shadow: 0 16px 40px rgba(10, 31, 68, 0.10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

p, li, summary, .eyebrow, .button, .service-card a {
  overflow-wrap: break-word;
}

.no-break {
  white-space: nowrap;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
}

.brand img {
  width: 174px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.active { color: var(--blue); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.language-switch a:hover,
.language-switch a.active {
  color: var(--blue);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  font-size: 1.35rem;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--navy); }
.button.secondary { color: var(--blue); border-color: var(--blue); background: transparent; }
.button.gold { color: var(--navy); background: var(--gold); }
.button.light { color: var(--navy); background: #fff; }

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 86px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  max-width: 940px;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(2.15rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 3vw, 3rem); }
h3 { font-size: 1.25rem; }

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 700px;
  margin: 24px 0 0;
}

.hero .lead {
  max-width: 680px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-media {
  position: relative;
  width: min(100%, 420px);
  min-height: 500px;
  margin-left: auto;
}

.hero-media img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center center;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  background: #fff;
}

.metric-panel {
  position: absolute;
  left: -20px;
  bottom: -16px;
  width: min(320px, calc(100% - 20px));
  min-height: 150px;
  padding: 22px 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.metric-panel strong {
  display: block;
  font-size: 2.35rem;
  line-height: 1;
  color: var(--gold);
}

.metric-panel span {
  display: block;
  margin-top: 8px;
  color: #d7e4f8;
  font-size: 0.92rem;
  line-height: 1.5;
}

.trust-bar {
  background: #eef2f8;
  border-bottom: 1px solid var(--line);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
}

.trust-list span {
  padding: 18px 10px;
  text-align: center;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.55);
}

.section {
  padding: 88px 0;
}

.section.alt { background: var(--surface); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .lead, .section.dark p { color: #d7e4f8; }

.section.compact {
  padding: 56px 0;
}

.network-section {
  background: var(--surface);
  padding: 72px 0;
}

.network-section .lead {
  max-width: 760px;
  margin-top: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 40px;
}

.section-head p {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
}

.card h3 { margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); }

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 4px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.service-card a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: center;
}

.portrait {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.portrait img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.stat {
  min-width: 160px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: #fff;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.contact-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 32px;
  border-radius: 4px;
}

.contact-box a:not(.button) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
}

.faq-question {
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.35;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

.page-hero {
  padding: 70px 0 42px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  margin: 20px 0 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 1.12rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.legal-layout > * {
  min-width: 0;
}

.toc {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: 22px;
  width: 100%;
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.92rem;
}

.legal-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px;
  width: 100%;
  min-width: 0;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 36px 0 12px;
}

.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.site-footer {
  background: var(--navy);
  color: #d7e4f8;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin: 0 0 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  font-size: 0.86rem;
  color: #b7c6dc;
}

@media (max-width: 1100px) and (min-width: 961px) {
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .menu-button { display: inline-grid; place-items: center; }
  .nav-actions .button { display: none; }

  .hero-grid,
  .profile-grid,
  .split,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero h1 {
    max-width: 820px;
    font-size: clamp(2rem, 5.6vw, 3rem);
  }

  .hero-media { width: 100%; min-height: auto; margin-left: 0; }
  .hero-media img { height: 420px; object-position: center center; }
  .metric-panel { position: static; width: 100%; margin-top: 14px; }

  .trust-list,
  .grid.four,
  .grid.three,
  .grid.two,
  .faq,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head { display: block; }
  .toc { position: static; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand img { width: 138px; }
  .hero, .section { padding: 58px 0; }
  h1,
  .hero h1 { font-size: clamp(1.72rem, 7.2vw, 1.95rem); }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.12rem; }
  .eyebrow { letter-spacing: 0.05em; }
  .page-hero { padding-top: 48px; }
  .hero-media img { height: 340px; }
  .legal-content { padding: 24px; }
  .button { width: 100%; }
  .nav { min-height: 68px; }
  .nav-links { top: 68px; }
}
