:root {
  --navy: #12233f;
  --blue: #1d3b70;
  --cream: #f4f1ea;
  --white: #ffffff;
  --sand: #d8cfbe;
  --text: #1b1d20;
  --muted: #656b73;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.header {
  height: 112px;
  padding: 0 clamp(24px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  border-bottom: 1px solid rgba(18, 35, 63, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  height: 88px;
}

.brand img {
  height: 88px;
  width: 88px;
  object-fit: contain;
  border-radius: 50%;
}

.header-email {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 5px;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 56% 44%;
  align-items: center;
  padding: 64px clamp(24px, 7vw, 112px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(244, 241, 234, 1) 0%, rgba(244, 241, 234, 0.96) 65%, rgba(244, 241, 234, 0.72) 100%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(18, 35, 63, 0.025) 18px 19px);
}

.hero-content {
  max-width: 730px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 5.8vw, 6.2rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 span {
  color: var(--muted);
  font-style: italic;
}

.intro {
  max-width: 590px;
  margin-bottom: 34px;
  color: #4e535a;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
}

.button-secondary {
  color: var(--navy);
  border-color: rgba(18, 35, 63, 0.24);
  background: transparent;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo::before,
.hero-logo::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(29, 59, 112, 0.12);
  border-radius: 50%;
}

.hero-logo::after {
  width: 540px;
  height: 540px;
  border-style: dashed;
}

.logo-ring {
  width: clamp(300px, 34vw, 470px);
  height: clamp(300px, 34vw, 470px);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 70px rgba(18, 35, 63, 0.12);
}

.logo-ring img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  border-radius: 50%;
}

.services {
  padding: 100px clamp(24px, 7vw, 112px);
  background: var(--white);
}

.section-heading {
  margin-bottom: 48px;
}

h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #d9dde2;
}

.service-card {
  min-height: 260px;
  padding: 36px 40px 28px 0;
  border-right: 1px solid #d9dde2;
}

.service-card:not(:first-child) {
  padding-left: 40px;
}

.service-card:last-child {
  border-right: 0;
}

.service-number {
  display: block;
  margin-bottom: 54px;
  color: #9aa0a7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.service-card p {
  max-width: 320px;
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  padding: 88px clamp(24px, 7vw, 112px);
  color: var(--white);
  background: var(--navy);
}

.contact .eyebrow,
.contact h2 {
  color: var(--white);
}

.contact-copy p:last-child {
  max-width: 580px;
  color: #cbd1da;
  font-size: 1.08rem;
  line-height: 1.7;
}

.contact-details {
  padding-top: 12px;
}

.contact-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-label {
  color: #9ea8b8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

address,
.contact-row a {
  font-style: normal;
  line-height: 1.55;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.button-light {
  margin-top: 28px;
  color: var(--navy);
  background: var(--white);
}

footer {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 7vw, 112px);
  color: #707782;
  background: var(--white);
  font-size: 0.82rem;
}

footer p {
  margin: 0;
}

footer a {
  text-decoration: none;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.legal-page {
  min-height: 100vh;
  background: var(--white);
}

.legal-page .header {
  background: var(--white);
}

.legal-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}

.legal-main h1 {
  margin-bottom: 48px;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.legal-section {
  padding: 28px 0;
  border-top: 1px solid #d9dde2;
}

.legal-section h2 {
  margin-bottom: 14px;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.legal-section p,
.legal-section address {
  max-width: 720px;
  color: #4e535a;
  line-height: 1.75;
}

.legal-section address {
  font-style: normal;
}

.legal-section a {
  color: var(--blue);
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .header {
    height: 96px;
  }

  .brand,
  .brand img {
    height: 72px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .hero-logo {
    min-height: 420px;
  }

  .logo-ring {
    width: 330px;
    height: 330px;
  }

  .hero-logo::before {
    width: 350px;
    height: 350px;
  }

  .hero-logo::after {
    width: 390px;
    height: 390px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:not(:first-child) {
    min-height: 220px;
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid #d9dde2;
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .service-number {
    margin-bottom: 34px;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header {
    padding-inline: 20px;
  }

  .header-email {
    font-size: 0.72rem;
  }

  .hero {
    padding: 48px 20px 36px;
  }

  h1 {
    font-size: 3.15rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-logo {
    min-height: 350px;
  }

  .logo-ring {
    width: 280px;
    height: 280px;
  }

  .hero-logo::before {
    width: 300px;
    height: 300px;
  }

  .hero-logo::after {
    width: 330px;
    height: 330px;
  }

  .services,
  .contact {
    padding: 72px 20px;
  }

  .contact-row {
    grid-template-columns: 82px 1fr;
  }

  footer {
    padding-inline: 20px;
  }
}
