@font-face {
  font-family: "Roboto";
  src:
    url("/assets/font/Roboto-Light.woff2") format("woff2"),
    url("/assets/font/Roboto-Light.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("/assets/font/Roboto-LightItalic.woff2") format("woff2"),
    url("/assets/font/Roboto-LightItalic.woff") format("woff");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("/assets/font/Roboto-Regular.woff2") format("woff2"),
    url("/assets/font/Roboto-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("/assets/font/Roboto-Medium.woff2") format("woff2"),
    url("/assets/font/Roboto-Medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --color-paper: #f7f4ee;
  --color-surface: #ffffff;
  --color-ink: #121212;
  --color-muted: #6f6962;
  --color-line: #ded8ce;
  --color-brand: #d72828;
  --font-sans: "Roboto", Arial, sans-serif;
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(12px);
}

.brand {
  width: 168px;
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-brand);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: 64px;
  align-items: center;
  width: var(--container);
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 58px 0 78px;
}

.hero__media {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero__media img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: right center;
}

.hero__content {
  display: grid;
  gap: 24px;
  max-width: 720px;
}

.eyebrow {
  margin: 0;
  color: var(--color-brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  max-width: 720px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.04;
}

h2 {
  margin-bottom: 0;
  max-width: 540px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.02;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.lead {
  max-width: 680px;
  margin-bottom: 0;
  color: #252525;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  background: var(--color-brand);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: #b91e1e;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 86px 0;
  border-top: 1px solid var(--color-line);
  scroll-margin-top: 32px;
}

.section__heading {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 44px;
}

.section--split {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1fr);
  gap: 64px;
}

.content-list {
  display: grid;
  gap: 34px;
}

.content-list p {
  margin-bottom: 0;
  color: #2d2d2d;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.62;
}

.text-block {
  display: grid;
  gap: 10px;
}

.text-block h3,
.text-block p {
  margin-bottom: 0;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  min-height: 64px;
  padding: 16px 18px;
  border-left: 3px solid var(--color-brand);
  background: rgba(255, 255, 255, 0.58);
  font-weight: 700;
}

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

.service-grid article,
.step-grid article,
.team-list article {
  min-width: 0;
  padding-top: 22px;
  border-top: 3px solid var(--color-brand);
}

.service-grid h3,
.step-grid h3,
.team-list h3 {
  margin-bottom: 12px;
}

.service-grid p,
.step-grid p,
.team-list p,
.contact__intro p {
  margin-bottom: 0;
  color: #343434;
}

.step-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--color-brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.partner-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--color-line);
  color: #343434;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.stats div {
  border-top: 3px solid var(--color-brand);
  padding-top: 18px;
}

.stats strong {
  display: block;
  color: var(--color-brand);
  font-size: clamp(2.2rem, 4vw, 3.45rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.stats span {
  display: block;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 64px;
}

.contact__intro {
  display: grid;
  gap: 24px;
  align-content: start;
}

.offices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.offices article {
  min-width: 0;
  padding-top: 22px;
  border-top: 3px solid var(--color-brand);
}

address {
  margin-bottom: 16px;
  color: #343434;
  font-style: normal;
}

.offices a {
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration-color: var(--color-brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin-bottom: 0;
}

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

  .site-nav {
    justify-content: flex-start;
  }

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

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

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

  .hero__content {
    order: 2;
  }

  .hero__media {
    order: 1;
  }

  .hero__media img {
    max-height: 220px;
    object-position: left center;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1120px);
  }

  body {
    font-size: 16px;
  }

  .brand {
    width: 142px;
  }

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

  .hero {
    padding-bottom: 58px;
  }

  .hero__media img {
    max-height: 150px;
  }

  .section {
    padding: 58px 0;
  }

  .stats,
  .offices,
  .service-grid,
  .step-grid,
  .team-list,
  .value-list {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
