/* ===== Design tokens and global reset ===== */
:root {
  --content-max: 1240px;
  --page-gutter: clamp(28px, 4vw, 64px);
  --header-height: 72px;
  --scroll-offset: 100px;
  --section-space: clamp(104px, 9vw, 144px);
  --green: #087f68;
  --green-bright: #079475;
  --green-dark: #056351;
  --green-deep: #073d34;
  --green-ink: #0d4b40;
  --green-soft: #e8f5f0;
  --green-wash: #f2f8f5;
  --sage: #eef4f1;
  --canvas: #fbfcfa;
  --surface: #ffffff;
  --ink: #11251f;
  --ink-soft: #2f443d;
  --muted: #64736e;
  --muted-light: #82908b;
  --line: #d7e3de;
  --line-soft: #e8efec;
  --shadow-soft: 0 18px 50px rgba(6, 61, 52, 0.08);
  --shadow-card: 0 20px 45px rgba(17, 37, 31, 0.065);
  --shadow-button: 0 11px 24px rgba(5, 99, 81, 0.2);
  --radius-small: 10px;
  --radius-control: 15px;
  --radius-card: 22px;
  --radius-panel: 28px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-heavy: cubic-bezier(0.32, 0.72, 0, 1);
  --font-body: "IBM Plex Sans KR", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --font-display: Manrope, "IBM Plex Sans KR", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
  scroll-snap-type: none;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.025em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-menu-open,
body.is-dialog-open {
  overflow: hidden;
}

main > section {
  position: relative;
  min-height: 0;
  scroll-margin-top: 0;
  scroll-snap-align: none;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid rgba(7, 148, 117, 0.35);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 50;
  padding: 11px 16px;
  border-radius: var(--radius-control);
  background: var(--green-deep);
  color: #fff;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 260ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-container,
.hero__inner {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.section-container--wide {
  width: min(1360px, calc(100% - (var(--page-gutter) * 2)));
}

.section {
  padding-block: var(--section-space);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto clamp(46px, 5vw, 64px);
  text-align: center;
}

.section-heading > p,
.faq__heading > p {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 17px);
}

.section-title {
  color: var(--ink);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
}

.section-title--small {
  font-size: clamp(19px, 1.5vw, 23px);
  letter-spacing: -0.035em;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===== Shared buttons ===== */
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 7px 8px 7px 21px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 260ms var(--ease), background-color 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease), transform 260ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button__icon {
  display: inline-grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  transition: transform 340ms var(--ease), background-color 260ms var(--ease);
}

.button:hover .button__icon {
  transform: translateX(2px);
}

.button__icon img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.button__icon--soft {
  background: var(--green-soft);
}

.button--primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-button);
}

.button--primary:hover {
  background: var(--green-dark);
  box-shadow: 0 15px 30px rgba(5, 99, 81, 0.25);
}

.button--secondary,
.button--tertiary {
  border: 1px solid rgba(7, 63, 52, 0.16);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}

.button--secondary:hover,
.button--tertiary:hover {
  border-color: rgba(8, 127, 104, 0.42);
  background: #fff;
}

.button--full {
  width: 100%;
}

.button--compact {
  min-height: 48px;
  padding-left: 20px;
}

/* ===== Header and navigation ===== */
.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  z-index: 30;
  width: 100%;
  pointer-events: none;
}

.site-header__shell {
  --header-inner-inset: max(20px, calc((min(1480px, calc(100vw - 64px)) - var(--content-max)) / 2));
  display: grid;
  width: min(1480px, calc(100% - 64px));
  min-height: var(--header-height);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-inline: auto;
  padding: 10px var(--header-inner-inset);
  border: 1px solid rgba(7, 63, 52, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(7, 61, 52, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.brand {
  display: inline-grid;
  min-width: 48px;
  min-height: 48px;
  place-items: center;
  border-radius: 50%;
}

.brand__mark {
  display: inline-grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 2.2vw, 34px);
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  transition: color 240ms var(--ease);
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 280ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="location"] {
  color: var(--green-dark);
}

.desktop-nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.button--header {
  min-height: 44px;
  gap: 9px;
  padding: 5px 6px 5px 17px;
  font-size: 13.5px;
}

.button--header .button__icon {
  width: 32px;
  height: 32px;
}

.mobile-menu-button,
.mobile-nav {
  display: none;
}

/* ===== Hero ===== */
.hero {
  z-index: 2;
  min-height: 100svh;
  overflow: visible;
  background:
    radial-gradient(circle at 82% 18%, rgba(214, 235, 226, 0.68), transparent 28%),
    radial-gradient(circle at 7% 90%, rgba(230, 241, 236, 0.5), transparent 27%),
    var(--canvas);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(7, 61, 52, 0.026) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 61, 52, 0.026) 1px, transparent 1px);
  background-size: 68px 68px;
  content: "";
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 74%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(42px, 5vw, 82px);
  padding-top: clamp(112px, 13vh, 154px);
  padding-bottom: clamp(154px, 18vh, 204px);
}

.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 570px;
}

.hero__copy .eyebrow {
  margin-bottom: 18px;
}

.hero__title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(54px, 5.25vw, 78px);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.035em;
}

.hero__title span {
  display: block;
}

.hero__title strong {
  color: var(--green);
  font-weight: 800;
}

.hero__description {
  max-width: 520px;
  margin-top: 23px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 21px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.proof-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.proof-list__icon {
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
}

.proof-list__icon img {
  width: 11px;
  height: 11px;
}

.hero__media {
  position: relative;
  width: 100%;
  align-self: center;
  height: clamp(470px, 63vh, 660px);
  margin-right: 0;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
}

.hero__media::before,
.hero__media::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.hero__media::before {
  background: linear-gradient(180deg, var(--canvas) 0%, rgba(251, 252, 250, 0.72) 5%, rgba(251, 252, 250, 0) 18%, rgba(251, 252, 250, 0) 78%, var(--canvas) 100%);
}

.hero__media::after {
  background: linear-gradient(90deg, var(--canvas) 0%, rgba(251, 252, 250, 0.78) 8%, rgba(251, 252, 250, 0.22) 20%, rgba(251, 252, 250, 0) 34%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 47%;
  transform: scale(1.025);
}

/* ===== Diagnosis, metrics, and partner institutions ===== */
.hero-transition {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  min-height: 0;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
  margin-inline: auto;
  padding: 0 0 clamp(42px, 4vw, 54px);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  text-align: center;
  transform: none;
}

.hero-transition::before,
.hero-transition::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(8, 127, 104, 0.14);
  content: "";
}

.hero-transition::before {
  display: none;
}

.hero-transition::after {
  bottom: 0;
}

.hero-transition__question {
  padding-right: 0;
}

.hero-transition h2 {
  max-width: 680px;
  margin-inline: auto;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-transition h2 span {
  display: block;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 600;
}

.hero-transition h2 strong {
  display: block;
  margin-top: 7px;
  color: var(--green-deep);
  font-size: clamp(31px, 2.7vw, 42px);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.hero-transition__description {
  position: relative;
  max-width: 540px;
  margin-inline: auto;
  padding-left: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  text-align: center;
}

.hero-transition__description::before {
  display: none;
}

.proof-section {
  z-index: 1;
  padding: clamp(96px, 8vw, 124px) 0 clamp(92px, 8vw, 120px);
  background:
    radial-gradient(circle at 50% 100%, rgba(223, 239, 232, 0.72), transparent 45%),
    var(--green-wash);
}

.clients .section-title {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.01em;
  text-align: center;
}

.clients {
  margin-top: clamp(54px, 5vw, 70px);
}

.clients .section-container {
  padding-top: clamp(28px, 3vw, 36px);
  border-top: 1px solid rgba(8, 127, 104, 0.13);
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 10px;
  outline-offset: 6px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee 28s linear infinite;
}

.logo-marquee:hover .logo-marquee__track,
.logo-marquee:focus .logo-marquee__track {
  animation-play-state: paused;
}

.logo-marquee__sequence {
  display: flex;
  min-width: max-content;
  align-items: center;
  gap: clamp(54px, 5vw, 86px);
  padding-right: clamp(54px, 5vw, 86px);
}

.logo-marquee img {
  width: auto;
  height: clamp(23px, 1.8vw, 30px);
  max-width: 202px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.58;
  transition: filter 320ms var(--ease), opacity 320ms var(--ease), transform 320ms var(--ease);
}

.logo-marquee img:hover {
  filter: grayscale(0);
  opacity: 0.86;
  transform: translateY(-2px);
}

@keyframes logo-marquee {
  to {
    transform: translateX(-50%);
  }
}

.metrics {
  margin-top: clamp(38px, 4vw, 52px);
}

.metrics__bridge {
  margin-bottom: 22px;
  color: var(--green-dark);
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
}

.metrics-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(200px, auto);
  gap: 14px;
}

.metric {
  position: relative;
  display: flex;
  min-height: 200px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 32px 28px;
  border: 1px solid rgba(8, 127, 104, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.metric--featured {
  min-height: 200px;
  grid-row: auto;
  padding: 32px 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(190, 231, 216, 0.48), transparent 32%),
    #fff;
  box-shadow: 0 16px 38px rgba(7, 61, 52, 0.055);
}

.metric__value {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(40px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.065em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.metric--featured .metric__value {
  min-height: 56px;
  font-size: clamp(40px, 3.2vw, 46px);
}

.metric h3 {
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.metric p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

/* ===== Concern selector ===== */
.concerns {
  background: var(--surface);
}

.concerns::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  height: 1px;
  background: var(--line-soft);
  content: "";
  transform: translateX(-50%);
}

.concerns-panel {
  position: relative;
  width: min(1020px, 100%);
  margin-inline: auto;
}

.concerns-panel .section-heading {
  margin-bottom: 38px;
}

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

.concern-grid button {
  min-height: 54px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: color 240ms var(--ease), background-color 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease), transform 240ms var(--ease);
}

.concern-grid button:hover {
  border-color: rgba(8, 127, 104, 0.42);
  transform: translateY(-2px);
}

.concern-grid button.is-selected {
  border-color: rgba(8, 127, 104, 0.56);
  background: var(--green-soft);
  color: var(--green-dark);
  box-shadow: inset 0 0 0 1px rgba(8, 127, 104, 0.06), 0 10px 24px rgba(7, 61, 52, 0.07);
}

.concern-status {
  min-height: 24px;
  margin-top: 18px;
  color: var(--muted-light);
  font-size: 13px;
  text-align: center;
}

/* ===== Case studies ===== */
.cases {
  background: #f7faf8;
}

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

.case-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(7, 63, 52, 0.09);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease), border-color 360ms var(--ease);
}

.case-card:hover,
.case-card.is-prioritized {
  border-color: rgba(8, 127, 104, 0.3);
  box-shadow: 0 26px 58px rgba(7, 61, 52, 0.11);
  transform: translateY(-5px);
}

.case-card__media {
  position: relative;
  height: 198px;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--sage);
}

.case-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 61, 52, 0) 62%, rgba(7, 61, 52, 0.12));
  content: "";
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.case-card:hover .case-card__media img {
  transform: scale(1.035);
}

.case-card__media--cafe img {
  object-position: 50% 40%;
}

.case-card__media--manufacturing img {
  object-position: 50% 35%;
}

.case-card__media--restaurant img {
  object-position: 50% 38%;
}

.case-card__body {
  display: flex;
  min-height: 308px;
  flex: 1;
  flex-direction: column;
  padding: 25px 25px 20px;
}

.case-card__meta {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.case-card h3 {
  min-height: 55px;
  color: var(--ink);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.45;
}

.case-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
  padding-block: 18px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.case-flow div {
  position: relative;
  min-width: 0;
  padding-inline: 6px;
  text-align: center;
}

.case-flow div:not(:last-child)::after {
  position: absolute;
  top: 4px;
  right: -4px;
  bottom: 4px;
  width: 1px;
  background: var(--line-soft);
  content: "";
}

.case-flow dt {
  margin-bottom: 5px;
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 700;
}

.case-flow dd {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  transition: transform 260ms var(--ease);
}

.text-link:hover span {
  transform: translateX(3px);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ===== Consulting process ===== */
.process {
  overflow: hidden;
  background: var(--surface);
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.process-list::before {
  position: absolute;
  top: 71px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(8, 127, 104, 0.48) 0 4px, transparent 4px 10px);
  content: "";
}

.process-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 15px;
  text-align: center;
}

.process-card__number {
  display: inline-grid;
  min-width: 42px;
  min-height: 28px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process-card__icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(8, 127, 104, 0.18);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 15px 38px rgba(7, 61, 52, 0.08);
}

.process-card__icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.process-card h3 {
  color: var(--green-dark);
  font-size: 17px;
  font-weight: 700;
}

.process-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ===== Services and pricing ===== */
.services {
  background:
    radial-gradient(circle at 10% 20%, rgba(207, 233, 222, 0.62), transparent 28%),
    var(--green-wash);
}

.service-list {
  display: grid;
  grid-template-columns: 1.08fr 0.96fr 0.96fr;
  align-items: stretch;
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 36px 30px 28px;
  border: 1px solid rgba(7, 63, 52, 0.09);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(7, 61, 52, 0.055);
  transition: transform 340ms var(--ease), border-color 340ms var(--ease), box-shadow 340ms var(--ease);
}

.service-card:hover {
  border-color: rgba(8, 127, 104, 0.25);
  box-shadow: 0 24px 54px rgba(7, 61, 52, 0.1);
  transform: translateY(-4px);
}

.service-card.is-featured {
  padding-top: 56px;
  border-color: rgba(8, 127, 104, 0.42);
  background: #fff;
  box-shadow: 0 25px 58px rgba(7, 61, 52, 0.12);
}

.service-card__badge {
  position: absolute;
  top: 15px;
  left: 50%;
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateX(-50%);
}

.service-card header {
  text-align: center;
}

.service-card h3 {
  min-height: 27px;
  color: var(--ink);
  font-size: 20px;
}

.service-card header strong {
  display: block;
  min-height: 54px;
  margin-top: 13px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.06em;
}

.service-card header strong small {
  margin-left: 3px;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: -0.03em;
}

.service-card .service-card__price-text {
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.service-card header p {
  min-height: 48px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.service-card__body {
  flex: 1;
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.check-list {
  display: grid;
  gap: 13px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 13.5px;
}

.check-list img {
  width: 17px;
  height: 17px;
  margin-top: 3px;
}

.service-card > .button {
  width: auto;
  min-width: 164px;
  align-self: center;
  margin-top: 28px;
}

.service-note {
  margin-top: 19px;
  color: var(--muted-light);
  font-size: 12px;
  text-align: center;
}

/* ===== FAQ ===== */
.faq {
  background: var(--surface);
}

.faq__layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: clamp(60px, 8vw, 120px);
}

.faq__heading {
  position: sticky;
  top: 120px;
}

.faq__heading .section-title,
.faq__heading > p {
  text-align: left;
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  font-size: 16px;
  letter-spacing: -0.03em;
}

.faq-item button {
  display: grid;
  width: 100%;
  min-height: 72px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 12px 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.faq-item button > span:first-child {
  padding-right: 12px;
}

.faq-item__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  transition: transform 320ms var(--ease), background-color 320ms var(--ease);
}

.faq-item__icon img {
  width: 15px;
  height: 15px;
}

.faq-item button[aria-expanded="true"] .faq-item__icon {
  background: #d9eee6;
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 60px 25px 4px;
}

.faq-item__answer p {
  max-width: 700px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ===== Final CTA and footer ===== */
.contact {
  padding: clamp(88px, 8vw, 124px) 0 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 5%, rgba(25, 132, 106, 0.42), transparent 32%),
    var(--green-deep);
  color: #fff;
}

.contact::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(#000, transparent 84%);
  pointer-events: none;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 56px;
  padding: clamp(34px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-panel);
  background: #eff8f4;
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(2, 31, 26, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.contact-card h2 {
  font-size: clamp(27px, 2.7vw, 40px);
}

.contact-card > div:first-child p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.contact-card__action {
  padding-left: clamp(28px, 4vw, 52px);
  border-left: 1px solid rgba(7, 63, 52, 0.13);
}

.button--contact {
  width: auto;
  min-width: 180px;
}

.contact-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 15px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.contact-proof li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-proof img {
  width: 14px;
  height: 14px;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 1.4fr;
  gap: 32px clamp(30px, 4vw, 56px);
  padding: 58px 4px 0;
}

.site-footer__intro .brand__mark--footer {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-deep);
}

.site-footer__intro > p {
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.8;
}

.site-footer__column h3 {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.site-footer__column p,
.site-footer__column a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  line-height: 1.8;
}

.site-footer__column a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-block: -8px;
  transition: color 220ms var(--ease);
}

.site-footer__column a:hover {
  color: #fff;
}

.site-footer__bottom {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.site-footer__bottom nav {
  display: flex;
  gap: 22px;
}

.site-footer__bottom a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* ===== Consultation dialog and mobile shortcut ===== */
.mobile-consult-fab {
  display: none;
}

.consult-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 63, 52, 0.13);
  border-radius: var(--radius-panel);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 35px 100px rgba(2, 31, 26, 0.3);
}

.consult-dialog::backdrop {
  background: rgba(4, 28, 24, 0.62);
  backdrop-filter: blur(7px);
}

.consult-dialog__panel {
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.consult-dialog__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.consult-dialog__header .eyebrow {
  margin-bottom: 7px;
}

.consult-dialog__header h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.consult-dialog__close {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-soft);
  cursor: pointer;
}

.consult-dialog__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--green-dark);
}

.consult-dialog__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.consult-dialog__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.consult-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 28px 34px 34px;
}

.form-field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.form-field:nth-of-type(3),
.topic-field,
.consent-field,
.consult-form > .form-field__error,
.consult-form > .button,
.consult-form__status {
  grid-column: 1 / -1;
}

.form-field label,
.topic-field legend {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.topic-field legend span {
  margin-left: 6px;
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: #fbfdfc;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease);
}

.form-field input {
  min-height: 50px;
  padding: 0 15px;
}

.form-field textarea {
  min-height: 116px;
  padding: 13px 15px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--green);
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(8, 127, 104, 0.11);
}

.form-field [aria-invalid="true"],
.topic-field[aria-invalid="true"] .topic-grid {
  border-color: #b44a3f;
}

.form-field__error {
  min-height: 18px;
  color: #a64036;
  font-size: 11.5px;
}

.topic-field {
  min-width: 0;
  padding: 0;
  border: 0;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
}

.topic-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.topic-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.topic-option span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfc;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: color 220ms var(--ease), background-color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}

.topic-option input:checked + span {
  border-color: rgba(8, 127, 104, 0.48);
  background: var(--green-soft);
  color: var(--green-dark);
}

.topic-option input:focus-visible + span {
  outline: 3px solid rgba(7, 148, 117, 0.35);
  outline-offset: 3px;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.consent-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--green);
}

.consult-form__status {
  min-height: 22px;
  color: var(--green-dark);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
  transition-delay: calc(var(--reveal-order, 0) * 70ms);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.js .hero__copy[data-reveal] {
  transform: translateY(20px);
}

.js .hero__copy[data-reveal].is-revealed {
  transform: translateY(0);
}

.no-js .mobile-nav[hidden] {
  display: flex !important;
}

/* ===== Responsive adjustments ===== */
@media (min-width: 1600px) {
  :root {
    --page-gutter: 72px;
  }

  .hero__inner {
    gap: 90px;
  }

  .hero__media {
    height: min(650px, 64vh);
  }
}

@media (max-width: 1199px) {
  :root {
    --content-max: 1080px;
    --page-gutter: 32px;
    --section-space: clamp(88px, 9vw, 112px);
  }

  .hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    padding-bottom: 62px;
  }

  .hero__title {
    font-size: clamp(48px, 5.4vw, 62px);
  }

  .hero__media {
    width: 100%;
    height: min(58vh, 540px);
    margin-right: 0;
  }

  .hero-transition {
    width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
    margin-inline: auto;
  }

  .proof-section {
    padding-top: var(--section-space);
  }

  .site-footer {
    grid-template-columns: 1.1fr repeat(2, 1fr);
  }

  .site-footer__column:last-of-type {
    grid-column: 2 / -1;
  }
}

@media (max-width: 1023px) {
  .case-card__body {
    padding-inline: 21px;
  }

  .service-card {
    padding-inline: 23px;
  }

  .contact-card {
    grid-template-columns: 1fr 0.9fr;
    gap: 34px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 60px;
    --scroll-offset: 64px;
  }

  .site-header {
    top: 0;
  }

  .site-header__shell {
    width: 100%;
    min-height: var(--header-height);
    grid-template-columns: auto 1fr auto;
    padding: 7px var(--page-gutter);
    border: 0;
    border-bottom: 1px solid rgba(7, 63, 52, 0.08);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 24px rgba(7, 61, 52, 0.055);
  }

  .desktop-nav,
  .desktop-consult {
    display: none;
  }

  .brand {
    grid-column: 1;
    justify-self: start;
  }

  .mobile-menu-button {
    position: relative;
    display: grid;
    width: 46px;
    height: 46px;
    grid-column: 3;
    place-items: center;
    justify-self: end;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .mobile-menu-button span {
    position: absolute;
    left: 13px;
    width: 20px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--green-deep);
    transition: transform 320ms var(--ease-heavy), opacity 220ms var(--ease), top 320ms var(--ease-heavy);
  }

  .mobile-menu-button span:nth-child(1) {
    top: 16px;
  }

  .mobile-menu-button span:nth-child(2) {
    top: 22px;
  }

  .mobile-menu-button span:nth-child(3) {
    top: 28px;
  }

  .mobile-menu-button[aria-expanded="true"] span:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
  }

  .mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .mobile-menu-button[aria-expanded="true"] span:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 29;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 3px;
    padding: 28px var(--page-gutter) 64px;
    background: #fff;
    pointer-events: auto;
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a {
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink);
    font-size: clamp(23px, 4vw, 30px);
    font-weight: 700;
    letter-spacing: -0.045em;
  }

  .mobile-nav a::after {
    color: var(--green);
    content: "↗";
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
  }

  .mobile-nav a[aria-current="location"] {
    color: var(--green);
  }

  .hero__inner {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 104px;
    padding-bottom: 0;
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero__title {
    font-size: clamp(48px, 8vw, 64px);
  }

  .hero__description {
    max-width: 590px;
  }

  .hero__media {
    width: min(760px, 100%);
    height: clamp(355px, 46vw, 430px);
    flex: 0 0 auto;
    align-self: center;
    margin-top: auto;
    border-radius: 0;
  }

  .hero__media img {
    object-position: 54% 44%;
  }

  .hero-transition {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 0 42px;
  }

  .hero-transition__description {
    padding-left: 0;
  }

  .logo-marquee__sequence {
    gap: 52px;
    padding-right: 52px;
  }

  .case-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(70vw, 600px);
    grid-template-columns: none;
    gap: 18px;
    margin-inline: calc(var(--page-gutter) * -1);
    padding: 8px var(--page-gutter) 22px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-padding-inline: var(--page-gutter);
    scroll-snap-type: none;
  }

  .case-list::-webkit-scrollbar {
    display: none;
  }

  .case-card {
    scroll-snap-align: none;
  }

  .case-card__media {
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 30px;
  }

  .process-list::before {
    display: none;
  }

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

  .faq__layout {
    grid-template-columns: minmax(200px, 0.7fr) minmax(0, 1.3fr);
    gap: 50px;
  }

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

  .contact-card__action {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid rgba(7, 63, 52, 0.13);
    border-left: 0;
  }

  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__intro {
    grid-column: 1 / -1;
  }

  .site-footer__column:last-of-type {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  :root {
    --page-gutter: 24px;
    --section-space: clamp(68px, 18vw, 84px);
  }

  body {
    font-size: 15px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading > p,
  .faq__heading > p {
    margin-top: 11px;
    font-size: 14px;
  }

  .section-title {
    font-size: clamp(27px, 7.6vw, 34px);
  }

  .section-title--small {
    font-size: 18px;
  }

  .site-header__shell {
    padding-inline: var(--page-gutter);
  }

  .hero {
    min-height: 0;
  }

  .brand__mark {
    width: 29px;
    height: 29px;
    border-radius: 8px;
    font-size: 10px;
  }

  .hero__inner {
    width: calc(100% - (var(--page-gutter) * 2));
    min-height: 0;
    padding-top: 104px;
  }

  .hero__copy .eyebrow {
    margin-bottom: 11px;
    font-size: 11px;
  }

  .hero__copy {
    margin-inline: auto;
    text-align: center;
  }

  .hero__title {
    font-size: clamp(38px, 10.8vw, 48px);
    line-height: 1.01;
  }

  .hero__description {
    max-width: 390px;
    margin-top: 14px;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero__actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 19px;
  }

  .hero__actions .button {
    min-height: 47px;
    gap: 8px;
    padding: 6px 6px 6px 15px;
    font-size: 13px;
  }

  .hero__actions .button__icon {
    width: 33px;
    height: 33px;
  }

  .proof-list {
    justify-content: center;
    gap: 8px 12px;
    margin-top: 14px;
    font-size: 10.5px;
  }

  .proof-list li {
    gap: 5px;
  }

  .proof-list__icon {
    width: 17px;
    height: 17px;
  }

  .hero__media {
    width: auto;
    height: clamp(260px, 70vw, 310px);
    align-self: stretch;
    margin-top: 24px;
    margin-right: calc(var(--page-gutter) * -1);
    margin-left: calc(var(--page-gutter) * -1);
    border-radius: 0;
  }

  .hero__media::before {
    background: linear-gradient(180deg, var(--canvas) 0%, rgba(251, 252, 250, 0) 17%, rgba(251, 252, 250, 0) 100%);
  }

  .hero__media::after {
    background: linear-gradient(90deg, var(--canvas) 0%, rgba(251, 252, 250, 0.45) 8%, rgba(251, 252, 250, 0) 24%, rgba(251, 252, 250, 0) 100%);
  }

  .hero__media img {
    object-position: 57% 45%;
    transform: none;
  }

  .hero-transition {
    width: calc(100% - (var(--page-gutter) * 2));
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-inline: auto;
    padding: 0 0 36px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    text-align: center;
  }

  .hero-transition h2 {
    max-width: 390px;
    margin-inline: auto;
  }

  .hero-transition h2 span {
    font-size: 14px;
  }

  .hero-transition h2 strong {
    margin-top: 6px;
    font-size: clamp(26px, 7.2vw, 31px);
  }

  .hero-transition__description {
    max-width: 390px;
    margin-inline: auto;
    padding: 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-transition__description::before {
    display: none;
  }

  .proof-section {
    padding-block: 72px 80px;
  }

  .clients {
    margin-top: 50px;
  }

  .clients .section-container {
    padding-top: 26px;
  }

  .clients .section-title {
    margin-bottom: 14px;
  }

  .logo-marquee {
    margin-inline: 0;
    padding-block: 10px;
    contain: layout paint;
  }

  .logo-marquee__sequence {
    gap: 40px;
    padding-right: 40px;
  }

  .logo-marquee img {
    height: 24px;
    max-width: 150px;
  }

  .metrics {
    margin-top: 36px;
  }

  .metrics-panel {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 8px;
    padding: 0;
    overflow: visible;
    overscroll-behavior: auto;
    scrollbar-width: auto;
  }

  .metric {
    min-width: 0;
    min-height: 132px;
    align-items: center;
    gap: 0;
    padding: 14px 8px;
    border-radius: 14px;
    text-align: center;
  }

  .metric--featured {
    min-height: 132px;
    grid-column: auto;
    grid-row: auto;
    padding: 14px 8px;
  }

  .metric__value {
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 6.7vw, 28px);
    line-height: 1.06;
    text-align: center;
    white-space: normal;
  }

  .metric--featured .metric__value {
    min-height: 58px;
    font-size: clamp(24px, 6.7vw, 28px);
  }

  .metric__value.metric__value--long {
    font-size: clamp(21px, 5.8vw, 24px);
  }

  .metric h3 {
    margin-top: 10px;
    font-size: clamp(11.5px, 3vw, 12px);
    line-height: 1.35;
  }

  .metric p {
    display: none;
  }

  .concerns::before {
    width: calc(100% - (var(--page-gutter) * 2));
  }

  .concerns-panel .section-heading {
    margin-bottom: 27px;
  }

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

  .concern-grid button {
    min-height: 48px;
    padding: 9px 11px;
    font-size: 12px;
    line-height: 1.35;
  }

  .concern-status {
    margin-top: 13px;
    font-size: 11px;
  }

  .case-list,
  .service-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 350px);
    grid-template-columns: none;
    gap: 14px;
    margin-inline: calc(var(--page-gutter) * -1);
    padding: 7px var(--page-gutter) 22px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-padding-inline: var(--page-gutter);
    scroll-snap-type: none;
  }

  .case-list::-webkit-scrollbar,
  .service-list::-webkit-scrollbar {
    display: none;
  }

  .case-card,
  .service-card {
    scroll-snap-align: none;
  }

  .case-card {
    min-height: 500px;
  }

  .case-card__media {
    height: 178px;
  }

  .case-card__body {
    min-height: 320px;
    padding: 21px 20px 17px;
  }

  .case-card h3 {
    min-height: 52px;
    font-size: 17px;
  }

  .case-flow {
    margin-top: 17px;
    padding-block: 15px;
  }

  .case-flow dd {
    font-size: 10.5px;
  }

  .section-action {
    margin-top: 23px;
  }

  .process-list {
    gap: 30px 14px;
  }

  .process-card {
    padding-inline: 4px;
  }

  .process-card__number {
    margin-inline: auto;
    margin-bottom: 10px;
  }

  .process-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
  }

  .process-card__icon img {
    width: 27px;
    height: 27px;
  }

  .process-card h3 {
    font-size: 15px;
  }

  .process-card p {
    margin-top: 7px;
    font-size: 11.5px;
    line-height: 1.55;
  }

  .service-card {
    min-height: 480px;
    padding: 34px 22px 22px;
  }

  .service-card.is-featured {
    padding-top: 56px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card header strong {
    margin-top: 10px;
    font-size: 35px;
  }

  .service-card header p {
    min-height: 42px;
    font-size: 13px;
  }

  .service-card__body {
    margin-top: 19px;
    padding-top: 18px;
  }

  .check-list {
    gap: 11px;
  }

  .check-list li {
    font-size: 12.5px;
  }

  .service-note {
    padding-inline: 8px;
    font-size: 10.5px;
    line-height: 1.6;
  }

  .faq__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq__heading {
    position: static;
    text-align: center;
  }

  .faq__heading .section-title,
  .faq__heading > p {
    text-align: center;
  }

  .faq-item button {
    min-height: 64px;
    gap: 12px;
    font-size: 13.5px;
  }

  .faq-item__icon {
    width: 31px;
    height: 31px;
  }

  .faq-item__answer {
    padding: 0 44px 21px 0;
  }

  .faq-item__answer p {
    font-size: 13px;
  }

  .contact {
    padding: 64px 0 24px;
  }

  .contact-card {
    gap: 24px;
    padding: 28px 23px;
    border-radius: 22px;
  }

  .contact-card h2 {
    font-size: 26px;
  }

  .contact-card > div:first-child p {
    font-size: 13px;
  }

  .contact-card__action {
    padding-top: 22px;
    text-align: center;
  }

  .button--contact {
    width: auto;
    justify-self: center;
  }

  .contact-proof {
    justify-content: center;
    gap: 8px 12px;
    font-size: 10px;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
    padding-top: 44px;
  }

  .site-footer__intro {
    grid-column: 1 / -1;
    padding-bottom: 4px;
  }

  .site-footer__column:last-of-type {
    grid-column: 1 / -1;
  }

  .site-footer__column h3 {
    margin-bottom: 11px;
  }

  .site-footer__column p,
  .site-footer__column a {
    font-size: 11px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding-top: 18px;
  }

  .site-footer__bottom nav {
    gap: 18px;
  }

  .mobile-consult-fab {
    position: fixed;
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 24;
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    box-shadow: 0 16px 35px rgba(5, 99, 81, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(0.9);
    transition: opacity 320ms var(--ease), transform 420ms var(--ease), background-color 240ms var(--ease);
  }

  .mobile-consult-fab.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .consult-dialog {
    width: calc(100% - 20px);
    max-height: calc(100svh - 20px);
    border-radius: 22px;
  }

  .consult-dialog__panel {
    max-height: calc(100svh - 20px);
  }

  .consult-dialog__header {
    padding: 22px 20px 17px;
  }

  .consult-dialog__header h2 {
    font-size: 23px;
  }

  .consult-form {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px;
  }

  .form-field:nth-of-type(3),
  .topic-field,
  .consent-field,
  .consult-form > .form-field__error,
  .consult-form > .button,
  .consult-form__status {
    grid-column: auto;
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px;
    padding: 5px;
  }

  .topic-option span {
    min-height: 46px;
    padding-inline: 7px;
    font-size: 11px;
  }
}

@media (max-width: 374px) {
  :root {
    --page-gutter: 18px;
  }

  .hero__inner {
    width: calc(100% - (var(--page-gutter) * 2));
    padding-top: 101px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__description {
    font-size: 13px;
  }

  .hero__actions .button {
    padding-left: 12px;
    font-size: 12px;
  }

  .proof-list {
    gap: 6px 9px;
    font-size: 9.5px;
  }

  .hero__media {
    width: auto;
    height: 254px;
    margin-right: calc(var(--page-gutter) * -1);
    margin-left: calc(var(--page-gutter) * -1);
  }

  .hero-transition {
    width: calc(100% - (var(--page-gutter) * 2));
  }

  .metric {
    min-height: 132px;
    padding: 14px 6px;
  }

  .metric--featured {
    min-height: 132px;
    padding: 14px 6px;
  }

  .metric__value,
  .metric--featured .metric__value {
    font-size: 24px;
  }

  .case-list,
  .service-list {
    grid-auto-columns: min(86vw, 330px);
    margin-inline: calc(var(--page-gutter) * -1);
    padding-inline: var(--page-gutter);
    scroll-padding-inline: var(--page-gutter);
  }

  .concern-grid button {
    padding-inline: 7px;
    font-size: 11px;
  }
}

@media (max-width: 767px) and (min-height: 820px) {
  .hero__media {
    height: clamp(310px, 38svh, 336px);
  }
}

@media (min-width: 768px) and (max-width: 1100px) and (orientation: portrait) {
  .hero {
    min-height: auto;
  }

  .hero__inner {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 120px;
    padding-bottom: 0;
  }

  .hero__copy {
    width: min(680px, 100%);
    max-width: none;
  }

  .hero__media {
    width: 100%;
    height: clamp(420px, 54vw, 560px);
    flex: 0 0 auto;
    align-self: stretch;
    margin: 48px 0 0;
    border-radius: 0;
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  .hero__inner {
    padding-top: 104px;
    padding-bottom: 132px;
  }

  .hero__title {
    font-size: clamp(47px, 4.8vw, 62px);
  }

  .hero__description {
    margin-top: 17px;
    font-size: 15px;
  }

  .hero__actions {
    margin-top: 22px;
  }

  .proof-list {
    margin-top: 15px;
  }

  .hero__media {
    height: min(500px, 65vh);
  }

  .hero-transition {
    min-height: 0;
    padding: 0 0 36px;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .logo-marquee__track {
    animation: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
