:root {
  --navy: #2c3e50;
  --charcoal: #333333;
  --light: #f7f7f7;
  --text: #5e5e5e;
  --heading: #1b1b1b;
  --muted: #d3d6da;
  --brand-muted: #a9a9a9;
  --white: #ffffff;
  --border: #d7dce1;
  --panel: #eef2f5;
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
code {
  background: rgba(44, 62, 80, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}
.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}
.topbar {
  width: 100%;
  z-index: 10;
  padding: 18px 24px;
}
.topbar--overlay {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(12, 19, 30, 0.82) 0%, rgba(12, 19, 30, 0.62) 58%, rgba(12, 19, 30, 0.14) 100%);
  backdrop-filter: blur(4px);
}
.topbar--solid {
  background: var(--charcoal);
}
.nav-wrap {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: #e6edf5;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.091em;
  font-family: 'Archivo Black', Arial, sans-serif;
  font-size: 22px;
}
.nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  color: #f0f5fa;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.86rem;
  font-weight: 600;
}
.nav a[aria-current="page"] { color: #ffffff; }
.nav a:hover { color: #ffffff; }
.hero {
  position: relative;
  background: var(--navy);
}
.hero__image {
  min-height: 74vh;
  background: url('assets/hero.jpg') center center / cover no-repeat;
}
.hero__panel {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 38px 24px 52px;
}
.hero__content {
  width: min(760px, 100%);
  margin: 0 auto;
}
.hero h1,
.page-header h1,
.message-box h1 {
  margin: 0;
  font-family: 'Archivo Black', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.023em;
  line-height: 1.15;
}
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 4.1rem); }
.hero p {
  margin: 18px auto 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 1.05rem;
}
.page-header {
  background: linear-gradient(180deg, #3b4f63 0%, #2c3e50 100%);
  color: var(--white);
}
.page-header__content {
  padding: 56px 0 64px;
}
.page-header__content h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}
.page-header__content p {
  margin: 16px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
.cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 26px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cta {
  margin-top: 24px;
  border: 1.3px solid currentColor;
  color: var(--white);
}
.cta::before,
.cta::after {
  content: "";
  display: inline-block;
  width: 18px;
  border-top: 1px solid currentColor;
}
.cta::before { margin-right: 8px; }
.cta::after { margin-left: 8px; }
.cta:hover {
  background: var(--white);
  color: #303030;
  border-color: var(--white);
}
.button-primary {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
}
.button-primary:hover {
  background: #1f2d3a;
  border-color: #1f2d3a;
}
.button-secondary {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.button-secondary:hover {
  background: var(--navy);
  color: var(--white);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.section {
  padding: 84px 0;
}
.section--alt {
  background: var(--light);
}
.section-title,
.services h2,
.prose h2 {
  color: #595959;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.services {
  padding: 88px 0 104px;
  background: var(--white);
}
.services h2 {
  margin: 0 0 44px;
  text-align: center;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 400;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.card { text-align: center; }
.card img {
  width: min(365px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
}
.card h3 {
  margin: 0 0 14px;
  color: var(--heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}
.card p {
  margin: 0 auto;
  max-width: 320px;
  line-height: 1.7;
  font-size: 1.05rem;
}
.split {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 34px;
  align-items: start;
}
.split--contact {
  grid-template-columns: 0.9fr 1.1fr;
}
.info-card,
.panel,
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px;
}
.info-card h3,
.panel h3 {
  margin-top: 0;
  color: var(--heading);
}
.feature-list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}
.prose {
  max-width: 920px;
}
.prose h2 {
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 600;
}
.prose p {
  line-height: 1.8;
  margin: 0 0 18px;
}
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0 18px;
}
.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--heading);
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  padding: 14px 14px;
  font: inherit;
  color: #222;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.muted-note {
  color: #6d7480;
  line-height: 1.7;
}
.message-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eef2f5 0%, #ffffff 100%);
  padding: 32px;
}
.message-box {
  width: min(720px, 100%);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 42px;
  text-align: center;
}
.message-box p {
  line-height: 1.7;
  margin: 18px 0 28px;
}
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 58px 0 52px;
}
.footer__inner { text-align: center; }
.footer__brand {
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.167em;
  font-size: 0.9rem;
  font-weight: 700;
}
.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}
.footer__links a {
  color: #d6dce2;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
}
.footer__copy {
  color: var(--brand-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.6;
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .cards,
  .split,
  .split--contact,
  .grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container,
  .nav-wrap {
    width: min(var(--max-width), calc(100% - 32px));
  }
  .topbar { padding: 16px; }
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .brand { font-size: 18px; }
  .nav { gap: 14px; }
  .hero__image { min-height: 52vh; }
  .hero__panel { padding: 32px 18px 44px; }
  .hero p,
  .card p,
  .page-header__content p,
  .prose p { font-size: 1rem; }
  .section,
  .services { padding: 70px 0 82px; }
  .message-box { padding: 28px; }
  .footer { padding: 48px 0 44px; }
}
