:root {
  --ink: #101a3f;
  --muted: #5f6d83;
  --teal: #38b9b3;
  --teal-dark: #1c8c96;
  --blue: #153e88;
  --line: #e7edf2;
  --soft: #f6fafb;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(16, 26, 63, 0.1);
  --anchor-offset: 108px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-top {
  position: absolute;
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 190px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  color: #223053;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal-dark);
  border-color: var(--teal);
}

main {
  overflow: hidden;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.76fr);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
  padding: 72px 0 86px;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 1% 4% 7%;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(56, 185, 179, 0.12), rgba(21, 62, 136, 0.08)),
    var(--soft);
}

.hero-visual img {
  position: relative;
  width: min(320px, 78%);
  filter: drop-shadow(0 22px 26px rgba(16, 26, 63, 0.13));
}

.intro,
.services,
.approach,
.contact {
  padding: clamp(74px, 11vw, 128px) max(20px, calc((100vw - 1180px) / 2));
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro > p,
.approach-panel p,
.contact p,
.service-card p,
.metrics span {
  color: var(--muted);
  font-size: 1.03rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

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

.service-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.88fr);
  gap: clamp(34px, 7vw, 94px);
  align-items: start;
  color: var(--white);
  background: var(--ink);
}

.approach .section-label {
  color: #78d7d2;
}

.approach-panel p {
  max-width: 650px;
  margin-top: 24px;
  color: #c7d2e1;
}

.metrics {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
}

.metrics div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.07);
}

.metrics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.metrics span {
  color: #c7d2e1;
}

.contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  background: var(--white);
}

.contact h2 {
  max-width: 800px;
}

.contact-note {
  flex: 0 0 auto;
  margin: 0;
  padding: 13px 18px;
  color: var(--teal-dark);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
  font-size: clamp(1rem, 2vw, 1.16rem);
  font-weight: 700;
}

.footer {
  min-height: 118px;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer img {
  width: 44px;
}

.footer span {
  color: var(--ink);
  font-weight: 700;
}

.footer p {
  margin: 0;
}

@media (max-width: 860px) {
  :root {
    --anchor-offset: 196px;
  }

  .nav {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: 172px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    font-size: 0.72rem;
  }

  .hero,
  .intro,
  .approach {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 270px;
    order: -1;
  }

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

  .service-card {
    min-height: auto;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav,
  .hero {
    width: min(100% - 28px, 1180px);
  }

  .nav-links {
    padding-bottom: 4px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.3rem);
  }

  .button {
    width: 100%;
  }

  .intro,
  .services,
  .approach,
  .contact {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}
