@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/raleway/v37/1Ptug8zYS_SKggPNyCAIT4ttDfCmxA.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@import url("https://fonts.googleapis.com/css2?family=Lora:wght@500;600;700&family=Raleway:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #365495;
  --ink-soft: #4c6bb3;
  --muted: #656d7a;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --soft-2: #eef3f4;
  --line: #dde4e8;
  --teal: #0c8f91;
  --teal-dark: #075f62;
  --brand-blue: #166ba1;
  --wine: #8e2d3a;
  --gold: #b58b3b;
  --night: #132644;
  --shadow: 0 18px 45px rgba(19, 38, 68, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 18px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: #166ba1;
  font-family: "Raleway", Arial, sans-serif;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: 58px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 26px;
}

h4 {
  font-size: 21px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--teal-dark);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(221, 228, 232, 0.78);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-title {
  color: var(--brand-blue);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.brand-subtitle {
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link,
.nav-drop-button {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 0;
  border-radius: var(--radius);
  color: var(--brand-blue);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active,
.nav-drop-button:hover,
.nav-drop-button.active {
  color: var(--brand-blue);
  background: var(--soft-2);
}

.nav-dropdown {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 298px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 700;
}

.nav-menu a:hover {
  color: var(--brand-blue);
  background: var(--soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  width: 20px;
  height: 2px;
  display: block;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
}

body.menu-open .menu-toggle span {
  opacity: 0;
}

body.menu-open .menu-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--paper);
  background: #166ba1;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(22, 107, 161, 0.22);
}

.btn .icon {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
}

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

.btn-light:hover {
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.18);
}

.btn-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.btn-outline:hover {
  background: var(--soft);
  box-shadow: none;
}

.hero .btn-outline,
.page-hero .btn-outline {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.04);
}

.hero .btn-outline:hover,
.page-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: calc(82svh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--night);
}

.hero::before,
.page-hero::before,
.contact-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  opacity: 0.72;
}

.hero::before {
  opacity: 0.9;
}

.hero::after,
.page-hero::after,
.contact-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(19, 38, 68, 0.62);
}

.hero::after {
  background: rgba(19, 38, 68, 0.46);
}

.hero .container,
.page-hero .container,
.contact-visual .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  padding: 86px 0 92px;
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  color: var(--paper);
}

.hero p,
.page-hero p {
  max-width: 670px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.hero-meta span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.section {
  padding: 92px 0;
}

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

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

.section-header {
  max-width: 830px;
  margin-bottom: 38px;
}

.section-header.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.centered .section-kicker::after {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.centered .section-kicker::before {
  display: none;
}

.section-header p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.section-dark h2,
.section-dark h3,
.section-dark .section-kicker {
  color: var(--paper);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.76);
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 54px;
  align-items: center;
}

.about-copy .lead {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.quote {
  margin: 30px 0;
  padding: 24px 0 24px 24px;
  border-left: 4px solid var(--gold);
  color: var(--ink-soft);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.55;
}

.portrait-wrap {
  position: relative;
  max-width: 360px;
  margin-left: auto;
}

.portrait-panel {
  display: none;
}

.portrait-img {
  position: relative;
  width: 100%;
  min-height: 470px;
  display: flex;
  align-items: end;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--soft-2);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.contact-chip {
  position: relative;
  margin-top: 16px;
  width: 100%;
  padding: 20px;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--wine);
  box-shadow: var(--shadow);
}

.contact-chip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
}

.contact-chip a {
  display: block;
  font-weight: 800;
}

.pill-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.pill-item {
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.pill-item h3 {
  margin-bottom: 9px;
  font-size: 20px;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(12, 143, 145, 0.42);
  box-shadow: var(--shadow);
}

.service-card-media {
  aspect-ratio: 16 / 10;
  background: var(--soft-2);
  overflow: hidden;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

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

.service-card p {
  color: var(--muted);
}

.service-card .text-link {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 900;
}

.text-link .icon {
  font-size: 20px;
  line-height: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.step {
  min-height: 230px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
}

.step-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 900;
}

.step h3 {
  margin-bottom: 12px;
  color: var(--paper);
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.cta-band {
  padding: 64px 0;
  color: var(--paper);
  background: #6197b9;
}

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

.cta-inner h2 {
  color: var(--paper);
}

.cta-inner p {
  max-width: 660px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--night);
}

.page-hero-content {
  max-width: 820px;
  padding: 72px 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--paper);
}

.services-intro {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 42px;
  align-items: start;
}

.services-intro .section-header {
  margin: 0;
}

.intro-panel {
  padding: 28px;
  border-left: 4px solid var(--wine);
  background: var(--soft);
  border-radius: var(--radius);
}

.intro-panel p:last-child {
  margin-bottom: 0;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 46px;
  align-items: start;
}

.service-article {
  min-width: 0;
}

.service-image {
  margin-bottom: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.service-article h2 {
  margin: 34px 0 16px;
  font-size: 34px;
}

.service-article h2:first-child {
  margin-top: 0;
}

.service-article p {
  color: var(--ink-soft);
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.info-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.info-box h3 {
  margin-bottom: 9px;
  font-size: 22px;
}

.info-box p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.side-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.side-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.side-box.dark {
  color: var(--paper);
  background: var(--night);
  border-color: transparent;
}

.side-box h3 {
  margin-bottom: 15px;
  font-size: 23px;
}

.side-box.dark h3 {
  color: var(--paper);
}

.side-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-links a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink-soft);
  background: var(--soft);
  font-weight: 800;
}

.side-links a:hover,
.side-links a.active {
  color: var(--paper);
  background: #166ba1;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.contact-list a,
.contact-list span {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: start;
}

.contact-visual {
  position: relative;
  min-height: 640px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night);
}

.contact-visual .container {
  width: 100%;
  padding: 36px;
}

.contact-visual h2 {
  max-width: 360px;
  color: var(--paper);
}

.contact-visual p {
  max-width: 420px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
}

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

.contact-detail {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.contact-detail strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
}

.form-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-panel h2 {
  margin-bottom: 12px;
}

.form-panel > p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(12, 143, 145, 0.18);
  border-color: var(--teal);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.office-map {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(0.18);
}

.site-footer {
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 34px;
  padding: 58px 0;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  color: #166ba1;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 22px;
}

.footer-brand span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-main h3 {
  margin-bottom: 14px;
  color: #166ba1;
  font-size: 21px;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a:hover {
  color: #166ba1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1080px) {
  .main-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    height: calc(100svh - 82px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 34px;
    background: var(--paper);
    overflow: auto;
  }

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

  .nav-link,
  .nav-drop-button {
    height: auto;
    justify-content: flex-start;
    padding: 15px 12px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-drop-button {
    width: 100%;
  }

  .nav-menu {
    position: static;
    width: 100%;
    padding: 8px 0 6px 10px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .split,
  .services-intro,
  .service-layout,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .service-grid,
  .pill-list,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 41px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 23px;
  }

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

  .header-inner {
    min-height: 74px;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand-subtitle {
    display: none;
  }

  .main-nav {
    top: 74px;
    height: calc(100svh - 74px);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 70px 0 78px;
  }

  .hero p,
  .page-hero p {
    font-size: 18px;
  }

  .section {
    padding: 68px 0;
  }

  .service-grid,
  .pill-list,
  .steps,
  .info-grid,
  .footer-main,
  .form-row {
    grid-template-columns: 1fr;
  }

  .portrait-wrap {
    min-height: auto;
  }

  .portrait-panel {
    display: none;
  }

  .portrait-img {
    width: 100%;
    min-height: 420px;
  }

  .contact-chip {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

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

  .contact-visual {
    min-height: 520px;
  }

  .form-panel {
    padding: 24px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .brand-title {
    font-size: 18px;
  }

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

  .service-article h2 {
    font-size: 28px;
  }
}
