:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --panel: #ffffff;
  --ink: #102033;
  --muted: #667085;
  --line: #d9e3ee;
  --green: #12a66a;
  --blue: #1267f2;
  --red: #c7352b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--blue);
}

.shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 14px;
  font-weight: 750;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(16, 32, 51, 0.08);
}

.hero {
  display: grid;
  gap: 18px;
  padding: 34px;
  margin: 14px 0 22px;
}

.hero h1,
.page h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p,
.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.card {
  padding: 22px;
}

.card h2,
.card h3 {
  margin: 0 0 10px;
  line-height: 1.2;
}

.card p,
.card li {
  color: var(--muted);
}

.page {
  padding-bottom: 42px;
}

.page header {
  margin: 20px 0;
}

.page section {
  margin-bottom: 16px;
}

.updated {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.about-intro {
  max-width: 820px;
  padding: 24px 0 10px;
}

.about-intro h1 {
  max-width: 760px;
}

.about-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-hero-media {
  position: relative;
  margin: 26px 0 84px;
}

.about-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center 52%;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(16, 32, 51, 0.14);
}

.about-years {
  position: absolute;
  right: 28px;
  bottom: -44px;
  display: grid;
  grid-template-columns: auto 1fr;
  width: min(380px, calc(100% - 40px));
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(18, 166, 106, 0.25);
  border-radius: 14px;
  background: #edf9f4;
  box-shadow: 0 18px 38px rgba(16, 32, 51, 0.16);
}

.about-years-number {
  color: var(--green);
  font-size: 58px;
  font-weight: 950;
  line-height: 0.9;
}

.about-years strong,
.about-years small {
  display: block;
}

.about-years strong {
  font-size: 17px;
}

.about-years small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.about-business {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: start;
  margin: 0 0 70px;
}

.about-section-intro {
  position: sticky;
  top: 24px;
}

.about-section-intro h2,
.about-history h2,
.about-independent h2,
.about-contact h2 {
  margin: 0 0 14px;
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.12;
}

.about-section-intro > p:last-child,
.about-history header > p:last-child,
.about-independent > p,
.about-contact p {
  color: var(--muted);
}

.about-service-list {
  border-top: 1px solid var(--line);
}

.about-service-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.about-service-list article > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.about-service-list h3,
.about-history-track h3 {
  margin: 0 0 6px;
}

.about-service-list p,
.about-history-track p {
  margin: 0;
  color: var(--muted);
}

.about-history {
  margin: 0 0 64px;
}

.about-history > header {
  max-width: 760px;
  margin-bottom: 28px;
}

.about-history-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}

.about-history-track article {
  min-height: 260px;
  padding: 24px 20px 20px;
  border-right: 1px solid var(--line);
}

.about-history-track article:first-child {
  padding-left: 0;
}

.about-history-track article:last-child {
  border-right: 0;
  padding-right: 0;
}

.about-history-track span {
  display: block;
  margin-bottom: 30px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-independent {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 20px;
  padding: 30px;
  border-left: 5px solid var(--green);
  background: #edf9f4;
}

.about-independent h2,
.about-independent p {
  margin-bottom: 0;
}

.about-contact {
  max-width: 660px;
  padding: 34px 0 12px;
}

.danger {
  color: var(--red);
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding: 18px 0 30px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    padding: 24px;
  }

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

  .about-intro {
    padding-top: 8px;
  }

  .about-hero-media {
    margin-bottom: 58px;
  }

  .about-hero-media img {
    aspect-ratio: 4 / 3;
    object-position: 58% center;
  }

  .about-years {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -34px 12px 0 auto;
  }

  .about-business,
  .about-independent {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-section-intro {
    position: static;
  }

  .about-history-track {
    grid-template-columns: 1fr;
    border-top-width: 1px;
  }

  .about-history-track article,
  .about-history-track article:first-child,
  .about-history-track article:last-child {
    min-height: auto;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-history-track span {
    margin-bottom: 10px;
  }

  .about-independent {
    padding: 24px 22px;
  }
}
