:root {
  --navy: #263D5C;
  --cool-grey: #4A5563;
  --mist-grey: #A4AAB2;
  --paper: #F7F8FA;
  --white: #FFFFFF;
  --line: #D9DDE2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: "Figtree", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 56px 24px 44px;
}

.hero {
  width: min(900px, 100%);
  text-align: center;
}

.brand {
  display: flex;
  justify-content: center;
  margin-bottom: 68px;
}

.brand img {
  display: block;
  width: min(430px, 76vw);
  height: auto;
  filter: brightness(0) saturate(100%) invert(22%) sepia(15%) saturate(1191%) hue-rotate(175deg) brightness(91%) contrast(91%);
}

.content {
  max-width: 780px;
  margin: 0 auto 54px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.4;
}

h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(2.05rem, 4.6vw, 3.35rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.intro {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.7;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 auto 54px;
  text-align: left;
}

.services article {
  padding: 28px 22px 30px;
}

.services article + article {
  border-left: 1px solid var(--line);
}

.services h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.services p {
  margin: 0;
  color: var(--navy);
  font-size: 0.86rem;
  line-height: 1.55;
}

.contact {
  max-width: 520px;
  margin: 0 auto;
  padding: 34px 38px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: left;
}

.contact h2 {
  margin: 0 0 26px;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.field { margin-bottom: 18px; }

label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  outline: none;
}

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

input:focus, textarea:focus {
  border-bottom-color: var(--navy);
}

button {
  width: 100%;
  margin-top: 26px;
  padding: 14px 20px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
}

button:hover {
  background: var(--white);
  color: var(--navy);
}

footer {
  margin-top: 34px;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .page { padding: 40px 18px 34px; }
  .brand { margin-bottom: 52px; }
  .brand img { width: min(380px, 88vw); }
  .content { margin-bottom: 42px; }
  .services {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 42px;
  }
  .services article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .services article:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  .page { padding: 32px 16px 30px; }
  .brand { margin-bottom: 44px; }
  .brand img { width: min(330px, 90vw); }
  h1 { font-size: clamp(1.85rem, 9vw, 2.4rem); }
  .intro { font-size: 0.94rem; }
  .services {
    grid-template-columns: 1fr;
  }
  .services article,
  .services article:nth-child(3),
  .services article:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .services article:first-child {
    border-top: 0;
  }
  .contact { padding: 28px 22px 30px; }
}