:root {
  --navy: #001e70;
  --navy-deep: #00144d;
  --navy-soft: #0a2d7a;
  --gold: #c4a24a;
  --gold-deep: #9a7a32;
  --gold-soft: #e6d39a;
  --paper: #f6f3ee;
  --paper-2: #eee8df;
  --white: #ffffff;
  --ink: #1c1d20;
  --ink-soft: #3a3d44;
  --muted: #5c6068;
  --line: #d7d1c7;
  --line-soft: #e7e2d8;
  --danger: #8a2c2c;
  --shadow: 0 10px 28px rgba(13, 27, 54, 0.06);
  --radius: 3px;
  --header: 110px;
  --wrap: 1220px;
  --gutter: 28px;
  --font: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-deep);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.lead {
  font-size: 1.125rem;
  max-width: 40rem;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line-soft);
}

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

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo img,
.logo svg {
  display: block;
  height: 90px;
  width: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

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

.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold);
}

.header-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.header-phones a {
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.header-phones a:hover {
  color: var(--gold-deep);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.lang-switch a,
.lang-switch span {
  color: var(--muted);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--navy);
}

.lang-switch [aria-current="true"] {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  background: var(--navy-soft);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--paper);
  color: var(--navy);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--paper);
  color: var(--navy);
}

.btn-line {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-line:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--gold-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) 1.08fr;
  min-height: calc(100vh - var(--header));
  background: var(--paper);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 40px 64px max(28px, calc((100vw - var(--wrap)) / 2));
}

.hero-copy h1 {
  max-width: 11ch;
}

.hero-copy .lead {
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 12px;
}

.hero-figure {
  position: relative;
  min-height: 520px;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 78%;
  position: absolute;
  inset: 0;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-paper {
  background: var(--paper);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 48px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.split-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-copy h2 {
  max-width: 16ch;
}

.figure {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.service-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  border-bottom: 1px solid var(--line);
}

.service-list a {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  text-decoration: none;
  color: inherit;
}

.service-list a:hover h3,
.service-list a:hover .service-more {
  color: var(--gold-deep);
}

.service-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  padding-top: 4px;
}

.service-list h3 {
  margin: 0 0 6px;
}

.service-list p {
  margin: 0;
  font-size: 15px;
}

.service-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  padding-top: 4px;
}

.sticky-photo {
  position: sticky;
  top: calc(var(--header) + 24px);
}

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.principles li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.process article {
  padding: 28px 24px 8px 0;
  border-right: 0;
  position: relative;
}

.process article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  right: 16px;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.process span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.process h3 {
  font-size: 1.15rem;
}

.process p {
  font-size: 15px;
  max-width: 28ch;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 88px 0;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 38rem;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.page-hero {
  padding: 72px 0 56px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
}

.page-hero h1 {
  max-width: 14ch;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 40px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: start;
}

.detail-aside {
  position: sticky;
  top: calc(var(--header) + 24px);
}

.scope {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope li {
  padding: 14px 0 14px 28px;
  border-top: 1px solid var(--line);
  position: relative;
  color: var(--ink-soft);
}

.scope li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.form {
  display: grid;
  gap: 18px;
  max-width: 40rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

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

.field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

.req {
  color: var(--gold-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  border-radius: var(--radius);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--navy);
}

.field [aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 1.2em;
  font-size: 13px;
  color: var(--danger);
}

.form-note,
.form-notice {
  font-size: 14px;
  color: var(--muted);
}

.form-notice {
  padding: 12px 14px;
  background: var(--paper);
  border-left: 2px solid var(--gold);
  color: var(--ink-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) 1.25fr;
  gap: 64px;
  align-items: start;
}

.contact-facts .contact-label {
  margin: 18px 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.contact-facts p {
  margin: 0 0 8px;
}

.contact-facts a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}

.site-footer .contact-facts a,
.site-footer .contact-facts p,
.site-footer .contact-label {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .contact-label {
  color: var(--gold-soft);
}

.site-footer .contact-facts a:hover {
  color: var(--gold-soft);
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-plate {
  display: inline-block;
  background: var(--white);
  padding: 8px 14px 8px 8px;
}

.logo-plate img,
.logo-plate svg {
  height: 88px;
  width: auto;
  display: block;
}

.site-footer h2 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

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

.site-footer a:hover {
  color: var(--gold-soft);
}

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

.footer-links li + li {
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 22px;
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
}

.credits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.credits-table th,
.credits-table td {
  text-align: left;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.credits-table th {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.slogan {
  color: var(--gold-soft);
}

.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.index-list li + li {
  border-top: 1px solid var(--line);
}

.index-list a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  text-decoration: none;
}

.index-list h3 {
  margin: 0 0 6px;
}

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

@media (max-width: 1100px) {
  :root {
    --header: 88px;
  }

  .logo img,
  .logo svg {
    height: 68px;
  }

  .header-phones {
    align-items: flex-start;
    padding: 8px 0 4px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 28px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a {
    min-height: 48px;
  }

  .header-cta {
    width: 100%;
  }

  .hero,
  .split,
  .split-reverse,
  .service-layout,
  .page-hero-grid,
  .detail-grid,
  .footer-grid,
  .contact-layout,
  .cta-inner,
  .form-row,
  .principles,
  .process {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-figure {
    min-height: 360px;
  }

  .hero-copy {
    padding: 48px 0;
  }

  .hero-copy,
  .page-hero .wrap,
  .cta-band .wrap {
    width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
  }

  .service-list a {
    grid-template-columns: 40px 1fr;
  }

  .service-more {
    grid-column: 2;
    padding-top: 8px;
  }

  .process article:not(:last-child)::after {
    display: none;
  }

  .process article {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
  }

  .cta-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-aside,
  .sticky-photo {
    position: static;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
    max-width: 12ch;
  }

  .hero-figure {
    min-height: 300px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body.nav-open {
  overflow: hidden;
}
