:root {
  --green-900: #064f2d;
  --green-800: #066f3a;
  --green-700: #078e43;
  --green-600: #08a84f;
  --green-500: #12b960;
  --green-100: #e7f7ee;
  --green-50: #f3fbf6;
  --ink: #17211b;
  --text: #4e5a53;
  --muted: #77827c;
  --line: #e3e9e5;
  --surface: #ffffff;
  --soft: #f6f9f7;
  --container: 1180px;
  --shadow-sm: 0 10px 30px rgba(18, 72, 44, 0.08);
  --shadow-lg: 0 28px 70px rgba(7, 80, 42, 0.14);
  --radius-lg: 30px;
  --radius-md: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  color: #fff;
  background: var(--green-700);
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 78px;
  border-bottom: 1px solid rgba(224, 233, 227, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand > img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--green-50);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 21px;
  letter-spacing: 0.04em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  color: #3b4740;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 0;
  height: 3px;
  background: var(--green-600);
  border-radius: 3px;
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--green-700);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  width: 20px;
}

.site-nav .nav-contact {
  padding: 10px 18px;
  color: #fff;
  background: var(--green-600);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(8, 168, 79, 0.18);
}

.site-nav .nav-contact:hover {
  color: #fff;
  background: var(--green-700);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--green-50);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(244, 251, 247, 0.94), rgba(255, 255, 255, 0.98) 55%),
    #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(8, 168, 79, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 168, 79, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to right, #000, transparent 58%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  right: 2%;
  top: 8%;
  width: 360px;
  height: 360px;
  background: rgba(40, 193, 104, 0.12);
}

.hero-glow-two {
  left: -140px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  background: rgba(168, 228, 84, 0.11);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  gap: 64px;
  align-items: center;
  min-height: 690px;
  padding-block: 76px;
}

.eyebrow,
.section-kicker {
  color: var(--green-700);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: var(--green-100);
  border: 1px solid #d6f0e1;
  border-radius: 999px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(18, 185, 96, 0.12);
}

.hero h1 {
  margin: 26px 0 22px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.17;
  letter-spacing: -0.045em;
}

.hero h1 em {
  position: relative;
  color: var(--green-600);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  z-index: -1;
  width: 100%;
  height: 10px;
  background: rgba(140, 222, 88, 0.24);
  border-radius: 999px;
}

.hero-copy > p {
  max-width: 610px;
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--green-600);
  box-shadow: 0 12px 24px rgba(8, 168, 79, 0.2);
}

.button-primary:hover {
  background: var(--green-700);
  box-shadow: 0 15px 28px rgba(8, 168, 79, 0.26);
}

.button-secondary {
  color: var(--green-800);
  border-color: #cde8d8;
  background: rgba(255, 255, 255, 0.78);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-notes b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: var(--green-600);
  border-radius: 50%;
  font-size: 12px;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border: 12px solid rgba(255, 255, 255, 0.86);
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1deg);
}

.hero-image-wrap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 55, 30, 0.05), transparent 55%);
}

.visual-label {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 234, 223, 0.9);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(14, 77, 44, 0.12);
  backdrop-filter: blur(12px);
}

.visual-label-top {
  top: 22px;
  right: 20px;
  padding: 10px 15px;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 700;
}

.pulse {
  width: 9px;
  height: 9px;
  background: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(18, 185, 96, 0.12);
}

.visual-label-bottom {
  left: 24px;
  bottom: 22px;
  min-width: 210px;
  padding: 12px 16px;
}

.visual-label-bottom img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--green-50);
}

.visual-label-bottom span {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.visual-label-bottom strong {
  font-size: 14px;
}

.visual-label-bottom small {
  color: var(--muted);
  font-size: 11px;
}

.category-strip {
  border-block: 1px solid var(--line);
  background: #fff;
}

.category-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 82px;
  color: var(--text);
  font-weight: 600;
}

.category-inner i {
  width: 4px;
  height: 4px;
  background: #b8c5bd;
  border-radius: 50%;
}

.category-title {
  margin-right: 14px;
  color: var(--green-700);
  font-weight: 800;
}

.section {
  padding-block: 108px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section-heading h2,
.advantage-content h2,
.about h2,
.contact h2,
.process h2 {
  margin: 9px 0 0;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.section-heading > p {
  max-width: 470px;
  margin: 0 0 4px;
  color: var(--muted);
}

.section-heading.centered {
  display: block;
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading.centered > p {
  max-width: none;
  margin: 15px 0 0;
}

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

.service-card {
  position: relative;
  min-height: 320px;
  padding: 32px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 22px rgba(26, 66, 43, 0.04);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border 0.24s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: #c3e8d1;
  box-shadow: var(--shadow-sm);
}

.service-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -54px;
  width: 120px;
  height: 120px;
  background: var(--green-50);
  border-radius: 50%;
}

.icon-box {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid #dff2e6;
  border-radius: 16px;
}

.icon-box img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.price-icon {
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 700;
}

.card-index {
  position: absolute;
  top: 32px;
  right: 28px;
  color: #bcc7c0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card h3,
.role-card h3,
.advantage-list h3 {
  margin: 0;
  font-size: 22px;
}

.service-card p {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.card-link {
  position: relative;
  z-index: 1;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 700;
}

.card-link b {
  margin-left: 5px;
  transition: margin 0.2s ease;
}

.service-card:hover .card-link b {
  margin-left: 10px;
}

.price-note {
  margin: 18px 2px 0;
  color: #9aa39e;
  font-size: 12px;
  text-align: right;
}

.process {
  padding-block: 72px;
  background: var(--green-900);
}

.process-shell {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 76px;
  align-items: center;
  min-height: 540px;
  padding: 48px 56px;
  color: #fff;
  background:
    radial-gradient(circle at 5% 10%, rgba(72, 201, 123, 0.17), transparent 35%),
    radial-gradient(circle at 95% 90%, rgba(158, 225, 76, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.section-kicker.light {
  color: #8ee1ae;
}

.process-intro > p {
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.7);
}

.mini-program-tip {
  display: flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  padding: 11px 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.mini-program-tip img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.mini-program-tip span {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}

.mini-program-tip strong {
  font-size: 14px;
}

.mini-program-tip small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.process-list li:last-child {
  border-bottom: 0;
}

.process-list > li > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #b9f0cc;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 800;
}

.process-list h3 {
  margin: 0;
  font-size: 18px;
}

.process-list p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.roles {
  background: var(--soft);
}

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

.role-card {
  position: relative;
  min-height: 520px;
  padding: 34px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(30, 72, 47, 0.04);
}

.role-tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 12px;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.role-card > p {
  margin: 11px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.role-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-card li {
  position: relative;
  margin: 8px 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 13px;
}

.role-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: 50%;
}

.role-screen {
  position: absolute;
  right: 34px;
  bottom: -55px;
  left: 34px;
  height: 210px;
  padding: 19px;
  background: #f8fbf9;
  border: 1px solid #dfeae3;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 30px rgba(23, 91, 54, 0.07);
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.screen-header span {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
}

.screen-banner {
  height: 72px;
  margin: 14px 0;
  background: url("../images/home-banner.jpg") center / cover;
  border-radius: 14px;
}

.screen-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.screen-items i {
  height: 42px;
  background: #eef6f1;
  border-radius: 10px;
}

.route-card {
  position: absolute;
  right: 34px;
  bottom: 36px;
  left: 34px;
  height: 140px;
  overflow: hidden;
  background:
    linear-gradient(28deg, transparent 49%, rgba(8, 168, 79, 0.08) 50%, transparent 51%),
    linear-gradient(-18deg, transparent 49%, rgba(8, 168, 79, 0.06) 50%, transparent 51%),
    #f5faf7;
  border: 1px solid #dfede4;
  border-radius: 18px;
}

.route-card > i {
  position: absolute;
  left: 62px;
  top: 31px;
  width: 150px;
  height: 55px;
  border-top: 4px solid var(--green-500);
  border-right: 4px solid var(--green-500);
  border-radius: 0 28px 0 0;
  transform: rotate(8deg);
}

.route-dot {
  position: absolute;
  z-index: 2;
  width: 17px;
  height: 17px;
  background: #fff;
  border: 5px solid var(--green-500);
  border-radius: 50%;
}

.route-start {
  left: 44px;
  top: 42px;
}

.route-end {
  right: 78px;
  top: 82px;
}

.route-card > div {
  position: absolute;
  left: 18px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
}

.route-card small {
  color: var(--muted);
  font-size: 10px;
}

.admin-bars {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  height: 145px;
  padding: 22px 20px 16px;
  background:
    repeating-linear-gradient(to top, #e7eee9 0 1px, transparent 1px 34px),
    #f8fbf9;
  border: 1px solid #e2ece5;
  border-radius: 18px;
}

.admin-bars span {
  width: 22px;
  height: var(--height);
  background: linear-gradient(to top, var(--green-700), #37ca76);
  border-radius: 7px 7px 2px 2px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.advantage-image {
  position: relative;
  overflow: hidden;
  min-height: 545px;
  background: var(--green-50);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.advantage-image > img {
  width: 100%;
  height: 100%;
  min-height: 545px;
  object-fit: cover;
  object-position: 66% center;
}

.image-stamp {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  padding: 17px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.image-stamp b {
  color: var(--green-800);
}

.image-stamp span {
  color: var(--muted);
  font-size: 12px;
}

.advantage-content > h2 {
  max-width: 520px;
}

.advantage-list {
  margin-top: 36px;
}

.advantage-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.advantage-list article:last-child {
  border-bottom: 0;
}

.advantage-list article > b {
  color: var(--green-600);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.advantage-list h3 {
  font-size: 18px;
}

.advantage-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.about {
  background: var(--green-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 78px;
  align-items: center;
}

.about-copy p {
  margin: 22px 0 0;
  color: var(--text);
  line-height: 2;
}

.mission-card {
  position: relative;
  padding: 44px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(178, 238, 101, 0.24), transparent 28%),
    linear-gradient(140deg, var(--green-800), var(--green-600));
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(6, 111, 58, 0.2);
}

.mission-card::after {
  content: "♻";
  position: absolute;
  right: -24px;
  bottom: -70px;
  color: rgba(255, 255, 255, 0.08);
  font-size: 220px;
  line-height: 1;
}

.mission-card > span {
  color: #b8f1cd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.mission-card h3 {
  position: relative;
  z-index: 1;
  margin: 15px 0 34px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.42;
}

.mission-values {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mission-values div {
  display: flex;
  flex-direction: column;
  padding: 16px 13px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.mission-values b {
  font-size: 18px;
}

.mission-values small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.contact {
  padding-block: 84px;
  color: #fff;
  background: #082f1d;
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.contact-inner > div:first-child > p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.58);
}

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

.contact-cards > * {
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-cards > *:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.contact-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  color: #a7efbf;
  background: rgba(117, 222, 152, 0.12);
  border-radius: 10px;
}

.contact-cards small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.contact-cards strong {
  margin-top: 4px;
  font-size: 14px;
  white-space: nowrap;
}

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: #051f14;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  padding-block: 56px 48px;
}

.brand-footer {
  position: relative;
}

.footer-qr-thumb {
  cursor: zoom-in;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-qr-thumb:hover,
.footer-qr-thumb:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
  outline: none;
}

.footer-qr-preview {
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  z-index: 20;
  width: 190px;
  padding: 12px;
  color: #244438;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(12, 177, 89, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transform-origin: left bottom;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.footer-qr-preview::after {
  position: absolute;
  left: 18px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 1px solid rgba(12, 177, 89, 0.18);
  border-bottom: 1px solid rgba(12, 177, 89, 0.18);
  content: "";
  transform: rotate(45deg);
}

.footer-qr-preview img {
  display: block;
  width: 166px;
  height: 166px;
  object-fit: cover;
  border-radius: 10px;
}

.footer-qr-preview small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
}

.footer-qr-thumb:hover + .footer-qr-preview,
.footer-qr-thumb:focus-visible + .footer-qr-preview {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.brand-footer .brand-copy strong {
  color: #fff;
}

.brand-footer .brand-copy small {
  color: rgba(255, 255, 255, 0.4);
}

.footer-brand > p {
  max-width: 380px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links strong {
  margin-bottom: 5px;
  color: #fff;
  font-size: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #a5e8bc;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.record-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.record-links a:hover {
  color: #fff;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 44px;
  height: 44px;
  color: #fff;
  border: 0;
  background: var(--green-600);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(8, 110, 57, 0.25);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legal and disclosure pages */
.legal-hero {
  padding: 82px 0 52px;
  background: linear-gradient(135deg, var(--green-50), #fff);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.2;
}

.legal-hero p {
  margin: 0;
  color: var(--muted);
}

.legal-content {
  padding-block: 64px 100px;
}

.legal-shell {
  max-width: 880px;
  padding: 44px 52px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.legal-shell h2 {
  margin: 36px 0 12px;
  font-size: 20px;
}

.legal-shell h2:first-child {
  margin-top: 0;
}

.legal-shell p,
.legal-shell li {
  color: var(--text);
  font-size: 14px;
  line-height: 2;
}

.legal-shell ul {
  padding-left: 20px;
}

.disclosure-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.disclosure-grid > * {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.disclosure-grid dt {
  margin: 0;
  color: var(--muted);
  background: var(--soft);
  font-weight: 600;
}

.disclosure-grid dd {
  margin: 0;
  color: var(--ink);
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 22px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

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

  .service-card {
    min-height: 280px;
  }

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

  .role-card:last-child {
    grid-column: span 2;
    min-height: 390px;
  }

  .admin-bars {
    left: auto;
    width: 48%;
  }

  .contact-inner,
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 70px;
  }

  .brand > img {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 70px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 28px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(11, 63, 35, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 8px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-contact {
    margin-top: 14px;
    padding: 12px 16px;
    text-align: center;
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 62px 80px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow {
    margin-inline: auto;
  }

  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-notes {
    justify-content: center;
  }

  .hero-image-wrap {
    min-height: 390px;
    transform: none;
  }

  .category-inner {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding-block: 18px;
  }

  .category-title {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }

  .section {
    padding-block: 84px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 14px;
  }

  .process-shell,
  .advantages-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-shell {
    padding: 42px 34px;
  }

  .advantage-image,
  .advantage-image > img {
    min-height: 430px;
  }

  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-copy small {
    display: none;
  }

  .hero-grid {
    padding-block: 48px 66px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: 40px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-notes {
    gap: 12px;
  }

  .hero-image-wrap {
    min-height: 290px;
    border-width: 7px;
    border-radius: 24px;
  }

  .visual-label-top {
    top: 12px;
    right: 12px;
  }

  .visual-label-bottom {
    left: 12px;
    bottom: 12px;
    min-width: 195px;
  }

  .category-inner i {
    display: none;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading h2,
  .advantage-content h2,
  .about h2,
  .contact h2,
  .process h2 {
    font-size: 32px;
  }

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

  .service-card {
    min-height: 265px;
  }

  .role-card,
  .role-card:last-child {
    grid-column: auto;
    min-height: 500px;
    padding: 28px;
  }

  .role-screen,
  .route-card,
  .admin-bars {
    right: 28px;
    left: 28px;
    width: auto;
  }

  .process-shell {
    padding: 34px 24px;
    border-radius: 24px;
  }

  .process-list li {
    grid-template-columns: 48px 1fr;
  }

  .process-list > li > span {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .advantage-image,
  .advantage-image > img {
    min-height: 340px;
  }

  .mission-card {
    padding: 34px 26px;
  }

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

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

  .contact-cards > * {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 12px;
    align-items: center;
  }

  .contact-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }

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

  .legal-hero {
    padding-block: 58px 40px;
  }

  .legal-content {
    padding-block: 34px 70px;
  }

  .legal-shell {
    padding: 28px 22px;
    border-radius: 18px;
  }

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

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Legal and disclosure pages */
.legal-page,
.not-found {
  min-height: 100vh;
  background: #f4f8f5;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  background: #fff;
}

.legal-back:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.legal-main {
  padding: 132px 0 80px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(24, 74, 47, 0.06);
}

.legal-sidebar strong {
  padding: 8px 12px 14px;
  font-size: 18px;
}

.legal-sidebar a {
  padding: 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
}

.legal-sidebar a:hover,
.legal-sidebar a.is-active {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.legal-document {
  overflow: hidden;
  padding: 46px 56px 54px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(24, 74, 47, 0.07);
}

.legal-document > header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-document > header span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.legal-document h1 {
  margin: 10px 0 8px;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.04em;
}

.legal-document > header p,
.legal-document section p {
  color: var(--muted);
}

.legal-notice {
  margin: 28px 0 34px;
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  color: #315d46;
  background: var(--primary-soft);
  line-height: 1.8;
}

.legal-document section + section {
  margin-top: 34px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.legal-document h2 {
  margin: 0 0 16px;
  font-size: 23px;
}

.legal-document h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.legal-document section p {
  margin: 0;
  line-height: 1.95;
}

.legal-document a {
  color: var(--primary-dark);
  font-weight: 700;
}

.disclosure-list {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.disclosure-list > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}

.disclosure-list > div + div {
  border-top: 1px solid var(--border);
}

.disclosure-list dt,
.disclosure-list dd {
  margin: 0;
  padding: 16px 18px;
}

.disclosure-list dt {
  color: #496354;
  font-weight: 800;
  background: #f5faf7;
}

.disclosure-list dd {
  color: var(--text);
}

.legal-tip {
  margin-top: 14px !important;
  font-size: 14px;
}

.legal-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: #fff;
}

.legal-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.legal-footer a {
  color: var(--primary-dark);
  font-weight: 700;
}

.not-found {
  display: grid;
  place-items: center;
  padding: 32px;
}

.not-found main {
  width: min(560px, 100%);
  padding: 54px 36px;
  border: 1px solid var(--border);
  border-radius: 28px;
  text-align: center;
  background: #fff;
  box-shadow: 0 22px 60px rgba(24, 74, 47, 0.1);
}

.not-found img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.not-found main > span {
  display: block;
  margin-top: 14px;
  color: var(--primary);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.not-found h1 {
  margin: 2px 0 10px;
}

.not-found p {
  margin: 0 0 28px;
  color: var(--muted);
}

@media (max-width: 800px) {
  .legal-main {
    padding-top: 104px;
  }

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

  .legal-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 10px;
  }

  .legal-sidebar strong {
    display: none;
  }

  .legal-sidebar a {
    flex: 0 0 auto;
  }

  .legal-document {
    padding: 32px 24px 40px;
    border-radius: 18px;
  }

  .disclosure-list > div {
    grid-template-columns: 1fr;
  }

  .disclosure-list dt {
    padding-bottom: 4px;
    background: #fff;
  }

  .disclosure-list dd {
    padding-top: 4px;
  }
}

@media (max-width: 520px) {
  .legal-back {
    padding: 0 12px;
    font-size: 13px;
  }

  .legal-document {
    padding-inline: 20px;
  }

  .legal-footer .container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
}
