:root {
  --brand: #043492;
  --brand-deep: #05163d;
  --ink: #101828;
  --muted: #5e6675;
  --line: #dce3ef;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --aqua: #13b8c7;
  --gold: #f0b33d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--soft);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  margin: 0;
  min-width: 320px;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 239, 0.8);
  display: flex;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 5vw, 72px);
  position: fixed;
  right: 0;
  top: 0;
  transition: box-shadow 180ms ease, background 180ms ease;
  z-index: 10;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
}

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

.site-nav {
  align-items: center;
  display: flex;
  gap: 30px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  color: #263347;
}

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

.nav-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 3px 0;
  width: 18px;
}

.hero {
  align-items: flex-end;
  background: var(--brand-deep);
  color: #ffffff;
  display: flex;
  min-height: 92vh;
  overflow: hidden;
  padding: 130px clamp(20px, 6vw, 88px) 48px;
  position: relative;
}

.hero-bg {
  background-image:
    linear-gradient(90deg, rgba(5, 22, 61, 0.95), rgba(5, 22, 61, 0.64), rgba(4, 52, 146, 0.34)),
    url("/official-assets/img/welfare-head-bg.png");
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
}

.hero::after {
  background:
    linear-gradient(180deg, rgba(19, 184, 199, 0), rgba(19, 184, 199, 0.22)),
    linear-gradient(90deg, var(--aqua), var(--gold));
  bottom: 0;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  right: 0;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--aqua);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(56px, 10vw, 124px);
  line-height: 0.95;
  margin: 0;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
  margin: 28px 0 0;
  max-width: 680px;
}

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

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

.button.primary {
  background: #ffffff;
  color: var(--brand);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: #ffffff;
}

.hero-metrics {
  bottom: 56px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(116px, 1fr));
  max-width: 480px;
  position: absolute;
  right: clamp(20px, 6vw, 88px);
  z-index: 1;
}

.hero-metrics div {
  border-left: 2px solid rgba(19, 184, 199, 0.9);
  padding-left: 14px;
}

.hero-metrics strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.76);
  display: block;
  font-size: 14px;
  margin-top: 8px;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 88px);
}

.section-head {
  max-width: 760px;
}

.section-head.compact {
  margin-bottom: 34px;
}

.section-head h2,
.membership-copy h2,
.contact-copy h2 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  margin: 0;
}

.section-head p:not(.eyebrow),
.membership-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin: 18px 0 0;
}

.service-band {
  background: #ffffff;
}

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

.service-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 260px;
  padding: 28px;
}

.service-card img {
  background: #ffffff;
  border-radius: 8px;
  height: 72px;
  object-fit: contain;
  padding: 12px;
  width: 72px;
}

.service-card h3,
.flow-item h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 28px 0 12px;
}

.service-card p,
.flow-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.flow-section {
  background: #eef4ff;
}

.flow-list {
  border-top: 1px solid #cbd7eb;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-item {
  border-right: 1px solid #cbd7eb;
  min-height: 280px;
  padding: 28px 22px 10px 0;
}

.flow-item:last-child {
  border-right: none;
}

.flow-item span {
  color: var(--brand);
  display: block;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.membership {
  align-items: center;
  background: var(--brand-deep);
  color: #ffffff;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.membership .eyebrow {
  color: var(--gold);
}

.membership-copy h2 {
  color: #ffffff;
}

.membership-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-list div {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 20px;
}

.benefit-list strong,
.benefit-list span {
  display: block;
}

.benefit-list strong {
  font-size: 20px;
}

.benefit-list span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-top: 8px;
}

.contact {
  align-items: center;
  background: #ffffff;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.phone-link {
  color: var(--brand);
  display: inline-flex;
  font-size: 34px;
  font-weight: 900;
  margin-top: 26px;
}

.qr-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.qr-panel img {
  aspect-ratio: 1;
  background: var(--brand);
  border-radius: 8px;
  object-fit: contain;
  padding: 18px;
  width: 100%;
}

.qr-panel strong,
.qr-panel span {
  display: block;
  text-align: center;
}

.qr-panel strong {
  font-size: 20px;
  margin-top: 18px;
}

.qr-panel span {
  color: var(--muted);
  margin-top: 8px;
}

.site-footer {
  align-items: center;
  background: #071126;
  color: rgba(255, 255, 255, 0.76);
  display: flex;
  justify-content: space-between;
  min-height: 96px;
  padding: 22px clamp(20px, 6vw, 88px);
}

.site-footer div {
  align-items: center;
  display: flex;
  gap: 16px;
}

.site-footer img {
  height: 38px;
  width: auto;
}

.site-footer a {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 960px) {
  .hero {
    min-height: 860px;
  }

  .hero-metrics {
    bottom: 42px;
    left: clamp(20px, 6vw, 88px);
    right: auto;
  }

  .service-grid,
  .flow-list,
  .membership,
  .contact {
    grid-template-columns: 1fr;
  }

  .flow-list {
    border-top: none;
    gap: 14px;
  }

  .flow-item {
    background: #ffffff;
    border: 1px solid #cbd7eb;
    border-radius: 8px;
    min-height: auto;
    padding: 24px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 66px;
    padding: 0 16px;
  }

  .brand img {
    height: 34px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .site-nav {
    align-items: stretch;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.12);
    display: none;
    flex-direction: column;
    gap: 0;
    min-width: 180px;
    padding: 8px;
    position: absolute;
    right: 16px;
    top: 76px;
  }

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

  .site-nav a {
    border-radius: 6px;
    padding: 12px 14px;
  }

  .hero {
    display: block;
    min-height: 780px;
    padding: 108px 20px 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    position: relative;
    inset: auto;
    margin-top: 40px;
    width: 100%;
  }

  .section {
    padding: 58px 20px;
  }

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

  .phone-link {
    font-size: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .site-footer div {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
