:root {
  --bg: #f7f8f7;
  --surface: #ffffff;
  --surface-muted: #eef3f1;
  --text: #17201c;
  --muted: #5d6a65;
  --border: #d9e1dd;
  --accent: #176b87;
  --accent-strong: #0f4f66;
  --accent-soft: #dcebed;
  --measure: 1120px;
  --shadow: 0 20px 55px rgba(23, 32, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(var(--measure), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 20px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border: 1px solid #bfd3cd;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 107, 135, 0.16), rgba(23, 107, 135, 0.04)),
    var(--surface);
  color: #134e63;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(23, 107, 135, 0.2);
  border-radius: 5px;
}

.profile-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.profile-panel strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small,
.profile-panel span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.site-nav a {
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-muted);
  color: var(--text);
}

.language-toggle {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-strong);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: #bac8c3;
  background: var(--surface-muted);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
  min-height: min(720px, calc(100vh - 104px));
  padding: 72px 0 88px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5.3vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: 0.015em;
}

.hero-intro {
  max-width: 660px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.15rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #bac8c3;
  background: var(--surface-muted);
}

.profile-panel {
  align-self: stretch;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(135deg, rgba(23, 107, 135, 0.08) 0 1px, transparent 1px 18px);
  box-shadow: var(--shadow);
}

.profile-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.profile-list div {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.profile-list dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-list dd {
  margin: 0;
  font-weight: 700;
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--border);
}

.section-split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 64px;
  align-items: center;
}

.section h2,
.contact-section h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-body {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-body p:last-child,
.contact-section p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

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

.service-card {
  min-height: 248px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.service-number {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 56px 0 12px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--text);
  color: #ffffff;
}

.contact-section .section-kicker,
.contact-section p {
  color: #c9d8d3;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: var(--accent-soft);
}

.site-footer {
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.site-footer p {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid rgba(23, 107, 135, 0.28);
  outline-offset: 3px;
}

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

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section-split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 36px;
    min-height: auto;
    padding: 56px 0 70px;
  }

  .profile-panel {
    min-height: 360px;
  }

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

  .contact-link {
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, var(--measure));
  }

  .site-nav {
    flex: 1;
    justify-content: space-between;
  }

  .site-nav a {
    padding-inline: 10px;
    font-size: 0.84rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-intro,
  .section-body {
    font-size: 1rem;
  }

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

  .section {
    padding: 56px 0;
  }

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

  .service-card {
    min-height: 210px;
  }

  .contact-section {
    margin-top: 44px;
    padding: 24px;
  }

  .contact-link {
    white-space: normal;
  }
}
