:root {
  --ink: #1f2f3f;
  --muted: #617487;
  --paper: #f7fbff;
  --panel: #ffffff;
  --line: #d8e6f1;
  --accent: #2f7fb8;
  --accent-dark: #165a87;
  --gold: #8aa9c5;
  --soft: #eaf5fc;
  --shadow: 0 22px 70px rgba(31, 74, 104, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 251, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, #2f7fb8, #70b7dc);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Arial, sans-serif;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--soft);
  color: var(--accent-dark);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 70px));
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(21, 76, 116, 0.72) 0%, rgba(33, 116, 166, 0.42) 48%, rgba(33, 116, 166, 0.08) 100%);
}

.hero picture {
  z-index: -2;
}

.hero-content {
  width: min(760px, 100%);
  padding: clamp(76px, 9vw, 128px) clamp(20px, 5vw, 72px);
  color: #fff;
  text-shadow: 0 2px 18px rgba(21, 76, 116, 0.28);
}

.hero-content h1,
.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 5.8vw, 5.25rem);
  line-height: 0.98;
  font-weight: 500;
}

.hero-content p,
.page-hero p {
  max-width: 660px;
  margin: 0 0 26px;
  font-family: Arial, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #dceefa;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.contact-panel .button.secondary {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(135deg, #eaf5fc 0%, #d9ecf8 100%);
  color: var(--ink);
}

.quick-contact a {
  min-height: 108px;
  padding: 24px clamp(18px, 4vw, 44px);
  border-right: 1px solid rgba(47, 127, 184, 0.18);
  font-family: Arial, sans-serif;
  text-decoration: none;
}

.quick-contact a:last-child {
  border-right: 0;
}

.quick-contact span,
.contact-list span,
.role {
  display: block;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 100px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  font-weight: 500;
}

.text-stack p,
.image-band p,
.professional-card p,
.service-grid p {
  margin: 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.section-heading {
  margin-bottom: 28px;
}

.service-grid,
.professional-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-grid article,
.professional-card,
.contact-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 34px rgba(47, 127, 184, 0.08);
}

.service-grid h3,
.professional-card h3,
.contact-panel h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.image-band.reverse {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
}

.image-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-band h2 {
  margin-bottom: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--accent-dark);
  font-family: Arial, sans-serif;
  font-weight: 700;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.page-hero {
  padding: clamp(74px, 10vw, 124px) clamp(20px, 6vw, 76px) clamp(38px, 7vw, 76px);
  background: var(--soft);
}

.page-hero h1 {
  max-width: 980px;
  color: #164766;
}

.page-hero p {
  color: var(--muted);
}

.professionals {
  padding-top: 44px;
}

.professional-grid {
  grid-template-columns: repeat(3, 1fr);
}

.professional-card {
  min-height: 250px;
}

.role {
  margin-bottom: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
}

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

.contact-list a {
  display: inline-block;
  margin-top: 5px;
  color: var(--accent-dark);
  font-family: Arial, sans-serif;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.compact {
  margin-top: 28px;
}

.map-panel iframe {
  width: 100%;
  min-height: 480px;
  height: 100%;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: #eaf5fc;
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--accent-dark);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav a {
    flex: 1;
    text-align: center;
  }

  .quick-contact,
  .split,
  .image-band,
  .image-band.reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .quick-contact a {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(47, 127, 184, 0.18);
  }

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

@media (max-width: 620px) {
  .brand {
    align-items: flex-start;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 690px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(21, 76, 116, 0.20) 0%, rgba(21, 76, 116, 0.74) 52%, rgba(21, 76, 116, 0.84) 100%);
  }

  .hero-content {
    padding: 180px 20px 44px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .professional-grid {
    grid-template-columns: 1fr;
  }

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

  .map-panel iframe {
    min-height: 360px;
  }
}
