:root {
  --ink: #272724;
  --muted: #706f68;
  --paper: #fbfaf7;
  --line: #e8e5dc;
  --white: #fff;
  --green: #76a987;
  --green-soft: #dcecdf;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 7%, rgba(241, 203, 94, .14), transparent 22rem),
    radial-gradient(circle at 8% 48%, rgba(118, 169, 135, .10), transparent 24rem),
    var(--paper);
}

a { color: inherit; }

.page-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #e9a93a;
}

.brand-mark svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.header-caption { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.hero { padding: 92px 0 82px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow span { width: 24px; height: 2px; background: currentColor; }

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .99;
  letter-spacing: -.065em;
}

h1 em { color: var(--green); font-style: normal; font-weight: 500; }

.intro {
  max-width: 620px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 23px;
}

h2 { margin: 0; font-size: 19px; letter-spacing: -.03em; }
.service-count { color: #97958e; font-size: 13px; }

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

.service-card {
  --accent: #76a987;
  --soft: #e3f0e6;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 258px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(54, 53, 46, .035);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -52px;
  right: -48px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: var(--soft);
  transition: transform .35s ease;
}

.service-card:hover, .service-card:focus-visible {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 55%, white);
  box-shadow: 0 18px 45px rgba(54, 53, 46, .09);
  outline: none;
}

.service-card:hover::after { transform: scale(1.12); }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; }

.card-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  color: var(--accent);
  background: var(--soft);
}

.card-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(255,255,255,.66);
  font-size: 20px;
  transition: transform .25s ease, background .25s ease;
}

.service-card:hover .arrow { transform: translate(2px, -2px); background: #fff; }
.service-card h3 { margin: auto 0 7px; font-size: 20px; line-height: 1.2; letter-spacing: -.035em; }
.service-card p { margin: 0 0 17px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.service-card small { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .02em; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 72px;
  padding: 27px 0 34px;
  border-top: 1px solid var(--line);
  color: #8b8981;
  font-size: 12px;
}

footer p { margin: 0; }
footer a { text-underline-offset: 3px; }

@media (max-width: 800px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 72px 0 64px; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 30px, 1120px); }
  .site-header { height: 76px; }
  .header-caption { display: none; }
  .hero { padding: 58px 0 53px; }
  h1 { font-size: clamp(39px, 12.5vw, 60px); }
  .intro { margin-top: 26px; font-size: 15px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 225px; }
  footer { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
