:root {
  --bg: #f5f6ff;
  --surface: #ffffff;
  --surface-strong: #f3f4ff;
  --text: #2f3447;
  --muted: #69708f;
  --brand: #7a7edc;
  --brand-dark: #6166cf;
  --accent: #a7cfa0;
  --accent-soft: #eef7ec;
  --line: #dfe3fb;
  --shadow: 0 20px 50px rgba(99, 106, 179, 0.08);
  --radius: 24px;
}









/* EOF visual lock: final user-facing polish for buttons, cards, footer, and right service rail. */
.button,
.footer__button,
.footer__helper,
.sticky-help a,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button {
  border-radius: 999px;
  border: 1px solid rgba(190, 202, 247, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94)),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.9), transparent 46%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -10px 18px rgba(122, 141, 220, 0.05),
    0 12px 26px rgba(75, 91, 168, 0.12);
  color: #405081;
  font-weight: 760;
  line-height: 1.2;
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type {
  border-color: rgba(88, 112, 216, 0.92);
  color: #fff;
  background:
    linear-gradient(135deg, #8f7ee8 0%, #5f7ede 48%, #4d95d9 100%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.5), transparent 44%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -12px 22px rgba(31, 44, 116, 0.14),
    0 18px 39px rgba(75, 93, 185, 0.26);
}

.button:hover,
.footer__button:hover,
.footer__helper:hover,
.sticky-help a:hover,
.subnav a:hover,
.knowledge-filter a:hover,
.tool-link:hover,
.popular-searches button:hover,
.chat-actions button:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 146, 226, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 38px rgba(72, 89, 174, 0.17);
}

.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.related-card,
.related-links__card,
.side-card,
.guide-sidebar__card,
.article-card,
.download-card,
.news-card,
.faq-card,
.search-result-card,
.page-utility,
.service-desk,
.form-card,
.timeline-card,
.stat-card,
.impact-card,
.process-card {
  border: 1px solid rgba(203, 213, 247, 0.82);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.91) 54%, rgba(240, 246, 255, 0.95)),
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.98), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(238, 235, 255, 0.68), transparent 36%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 19px 48px rgba(72, 88, 158, 0.1);
}

.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 88px) 0 34px;
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at 12% 0%, rgba(210, 203, 255, 0.36), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(127, 172, 237, 0.32), transparent 36%),
    linear-gradient(142deg, #38406f 0%, #4b5799 44%, #587fc5 100%);
}

.footer::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
}

.footer__brand,
.footer__contact-card,
.footer__contact-card.footer__qr {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(154deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.24), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 22px 54px rgba(17, 27, 78, 0.18);
  backdrop-filter: blur(16px);
}

.footer__logo h2,
.footer__logo p,
.footer__contact-card h3,
.footer__note a {
  color: rgba(255, 255, 255, 0.96);
}

.footer__intro,
.footer__contact-card p,
.footer__contact-card li,
.footer__note {
  color: rgba(255, 255, 255, 0.74);
}

.footer__contact-card {
  overflow: hidden;
  border-radius: 28px;
}

.footer__contact-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.footer__contact-card h3::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd98d, #95d7ff);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.footer__contact-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__qr-box {
  width: 96px;
  height: 96px;
  padding: 9px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 14px 28px rgba(12, 24, 73, 0.18);
}

.floating-rail__buttons {
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(200, 209, 246, 0.92);
  border-radius: 28px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 255, 0.8)),
    radial-gradient(circle at 0% 0%, rgba(238, 234, 255, 0.86), transparent 52%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 20px 44px rgba(70, 83, 151, 0.18);
}

.floating-rail__button {
  width: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 7px 5px;
  border: 1px solid rgba(194, 204, 245, 0.9);
  border-radius: 22px;
  color: #4a5790;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 255, 0.94)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.95), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 22px rgba(75, 91, 166, 0.1);
}

.floating-rail__button:hover,
.floating-rail__button:focus-visible {
  transform: translateX(-3px);
  color: #fff;
  background: linear-gradient(135deg, #8878e4, #5f7fe0 56%, #4f9bd9);
}

.floating-rail__icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin: 0 auto 3px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #96a8ff, #7db8e9);
}

.floating-panel {
  width: min(330px, calc(100vw - 116px));
  padding: 22px;
  border: 1px solid rgba(199, 209, 246, 0.92);
  border-radius: 30px;
  color: #3b446f;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 255, 0.92)),
    radial-gradient(circle at 0% 0%, rgba(239, 235, 255, 0.92), transparent 45%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 26px 64px rgba(62, 77, 152, 0.2);
}

@media (min-width: 1181px) {
  .footer__layout {
    display: grid;
    grid-template-columns: minmax(350px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(40px, 5vw, 74px);
    align-items: center;
  }

  .footer__contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  .footer__contact-card,
  .footer__contact-card:nth-child(1),
  .footer__contact-card:nth-child(2),
  .footer__contact-card:nth-child(3),
  .footer__contact-card:nth-child(4),
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    min-height: 214px;
    padding: 20px;
  }

  .footer__contact-card:nth-child(5) {
    grid-column: span 2;
    min-height: 164px;
  }
}

.admin-card *,
.dashboard-card * {
  border-radius: min(8px, inherit);
}

.admin-card .stat-card,
.admin-card .page-card,
.admin-card .detail-card,
.dashboard-card .stat-card,
.dashboard-card .page-card,
.dashboard-card .detail-card,
.dashboard-card .progress-list,
.dashboard-card .heat-list {
  border-radius: 8px;
}

/* Hard lock for late mobile admin/dashboard rules. */
.admin-card,
.dashboard-card {
  border-radius: 8px !important;
}

/* Final button tone pass: soft mint actions, lighter customer-facing depth. */
:root {
  --action-mint: #b9e9c7;
  --action-mint-strong: #8bd9ab;
  --action-mint-deep: #257765;
  --action-mint-ink: #164f48;
  --action-mint-line: rgba(91, 180, 141, 0.45);
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.menu-toggle,
.subnav a,
.knowledge-filter a,
.inline-tabs a,
.tool-link,
.popular-searches button,
.chat-actions button,
.floating-rail__button,
.event-modal__close {
  border-color: rgba(151, 211, 185, 0.58);
  color: #23635a;
  text-shadow: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 247, 0.9)),
    radial-gradient(circle at 12% 0%, rgba(206, 242, 221, 0.42), transparent 46%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 5px 12px rgba(38, 83, 80, 0.055);
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type,
.booking-form .button,
.quick-form .button,
.site-search .button,
.page-utility__actions .button:not(.button--ghost):not(.button--secondary),
.cta-row .button:not(.button--ghost):not(.button--secondary),
.help-banner__actions .button:not(.button--ghost):not(.button--secondary),
.guide-sidebar__card .button:not(.button--ghost):not(.button--secondary),
.guide-section .button:not(.button--ghost):not(.button--secondary),
.related-links__card .button:not(.button--ghost):not(.button--secondary),
.side-card .button:not(.button--ghost):not(.button--secondary) {
  border-color: var(--action-mint-line);
  color: var(--action-mint-ink);
  text-shadow: none;
  background:
    linear-gradient(180deg, rgba(245, 255, 249, 0.98), rgba(187, 235, 204, 0.92)),
    radial-gradient(circle at 24% 0%, rgba(255, 255, 255, 0.78), transparent 44%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -8px 16px rgba(55, 142, 111, 0.055),
    0 8px 18px rgba(38, 83, 80, 0.075);
}

.button:not(.button--ghost):not(.button--secondary):hover,
.footer__button--primary:hover,
.sticky-help a:first-of-type:hover,
.booking-form .button:hover,
.quick-form .button:hover,
.site-search .button:hover,
.page-utility__actions .button:not(.button--ghost):not(.button--secondary):hover,
.cta-row .button:not(.button--ghost):not(.button--secondary):hover,
.help-banner__actions .button:not(.button--ghost):not(.button--secondary):hover,
.guide-sidebar__card .button:not(.button--ghost):not(.button--secondary):hover,
.guide-section .button:not(.button--ghost):not(.button--secondary):hover,
.related-links__card .button:not(.button--ghost):not(.button--secondary):hover,
.side-card .button:not(.button--ghost):not(.button--secondary):hover {
  color: #0f4f45;
  border-color: rgba(81, 176, 132, 0.6);
  background:
    linear-gradient(180deg, rgba(250, 255, 252, 1), rgba(164, 226, 190, 0.95)),
    radial-gradient(circle at 24% 0%, rgba(255, 255, 255, 0.86), transparent 44%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 22px rgba(38, 83, 80, 0.09);
}

.button--secondary,
.footer__button--secondary,
.button--ghost,
.footer__helper,
.header__actions .button--ghost {
  color: #2e6a62;
  border-color: rgba(166, 217, 194, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 249, 0.9));
}

/* Hard lock primary actions to the requested light-green finish. */
.button:not(.button--ghost):not(.button--secondary),
a.button:not(.button--ghost):not(.button--secondary),
button.button:not(.button--ghost):not(.button--secondary),
.hero__actions .button:not(.button--ghost):not(.button--secondary),
.header__actions .button:not(.button--ghost):not(.button--secondary),
.page-utility__actions .button:not(.button--ghost):not(.button--secondary),
.cta-row .button:not(.button--ghost):not(.button--secondary),
.help-banner__actions .button:not(.button--ghost):not(.button--secondary),
.guide-sidebar__card .button:not(.button--ghost):not(.button--secondary),
.guide-section .button:not(.button--ghost):not(.button--secondary),
.related-links__card .button:not(.button--ghost):not(.button--secondary),
.side-card .button:not(.button--ghost):not(.button--secondary),
.booking-form .button,
.quick-form .button,
.site-search .button,
.footer__button--primary,
.sticky-help a:first-of-type {
  border-color: rgba(91, 180, 141, 0.48) !important;
  color: #155249 !important;
  text-shadow: none !important;
  background:
    linear-gradient(180deg, rgba(250, 255, 252, 1), rgba(181, 235, 201, 0.94)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.9), transparent 44%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -8px 16px rgba(60, 145, 112, 0.05),
    0 8px 18px rgba(38, 83, 80, 0.075) !important;
}

.button:not(.button--ghost):not(.button--secondary):hover,
a.button:not(.button--ghost):not(.button--secondary):hover,
button.button:not(.button--ghost):not(.button--secondary):hover,
.hero__actions .button:not(.button--ghost):not(.button--secondary):hover,
.header__actions .button:not(.button--ghost):not(.button--secondary):hover,
.page-utility__actions .button:not(.button--ghost):not(.button--secondary):hover,
.cta-row .button:not(.button--ghost):not(.button--secondary):hover,
.help-banner__actions .button:not(.button--ghost):not(.button--secondary):hover,
.guide-sidebar__card .button:not(.button--ghost):not(.button--secondary):hover,
.guide-section .button:not(.button--ghost):not(.button--secondary):hover,
.related-links__card .button:not(.button--ghost):not(.button--secondary):hover,
.side-card .button:not(.button--ghost):not(.button--secondary):hover,
.booking-form .button:hover,
.quick-form .button:hover,
.site-search .button:hover,
.footer__button--primary:hover,
.sticky-help a:first-of-type:hover {
  border-color: rgba(72, 165, 122, 0.62) !important;
  color: #0d4b42 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(159, 226, 188, 0.96)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.92), transparent 44%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 22px rgba(38, 83, 80, 0.09) !important;
}

.button--secondary,
a.button--secondary,
button.button--secondary,
.footer__button--secondary {
  border-color: rgba(141, 206, 176, 0.54) !important;
  color: #24645b !important;
  text-shadow: none !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 250, 244, 0.94)),
    radial-gradient(circle at 16% 0%, rgba(197, 238, 215, 0.36), transparent 45%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 6px 14px rgba(38, 83, 80, 0.055) !important;
}

.button--secondary:hover,
a.button--secondary:hover,
button.button--secondary:hover,
.footer__button--secondary:hover {
  border-color: rgba(97, 181, 139, 0.62) !important;
  color: #164f48 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(225, 246, 235, 0.98)),
    radial-gradient(circle at 16% 0%, rgba(197, 238, 215, 0.44), transparent 45%) !important;
}

.menu-toggle,
.floating-rail__button,
.event-modal__close {
  border-radius: 8px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 6px 14px rgba(38, 83, 80, 0.06) !important;
}

@media (max-width: 1180px) {
  .footer__contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .footer__contacts {
    grid-template-columns: 1fr;
  }

  .footer__contact-card,
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
  }

  .floating-rail__button {
    width: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 18px;
  }
}

/* Final override at EOF: keep text inside buttons, cards, footer, and contact rail. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

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

.container,
.header__inner,
.hero__grid,
.section,
.two-column,
.page-grid,
.knowledge-layout,
.guide-layout,
.footer__layout,
.footer__contacts,
.cards-grid,
.article-grid,
.store-grid,
.feature-grid,
.service-grid {
  min-width: 0;
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.menu-toggle,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button,
.event-modal .button,
.floating-panel .button,
.booking-form .button,
.quick-form .button,
.site-search .button,
.page-utility__actions .button,
.cta-row .button,
.help-banner__actions .button,
.guide-sidebar__card .button,
.guide-section .button,
.related-links__card .button,
.side-card .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  overflow: hidden;
  text-align: center;
  line-height: 1.24;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
  text-wrap: balance;
}

.header__actions .button,
.nav a,
.footer__buttons .footer__button,
.sticky-help a {
  white-space: nowrap;
  overflow-wrap: normal;
  text-wrap: nowrap;
}

.nav {
  min-width: 0;
  overflow: hidden;
}

.nav a {
  max-width: 100%;
  min-width: 0;
  min-height: 38px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.brand,
.brand strong,
.brand small,
.header__actions,
.header__actions .button {
  min-width: 0;
}

.article-card,
.page-card,
.store-card,
.tool-sheet,
.guide-card,
.feature-card,
.service-card,
.support-card,
.story-card,
.hospital-card,
.knowledge-column,
.footer__brand,
.footer__contact-card,
.floating-panel {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.article-card *,
.page-card *,
.store-card *,
.tool-sheet *,
.guide-card *,
.feature-card *,
.service-card *,
.support-card *,
.story-card *,
.hospital-card *,
.knowledge-column *,
.footer__brand *,
.footer__contact-card *,
.floating-panel * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-card h3,
.page-card h3,
.store-card h3,
.tool-sheet h3,
.guide-card h3,
.feature-card h3,
.service-card h3,
.support-card h3,
.story-card h3,
.hospital-card h4,
.knowledge-column h4,
.footer__contact-card h3 {
  line-height: 1.32;
  text-wrap: balance;
}

.article-card__meta,
.article-card__footer,
.page-card__meta,
.store-card__meta,
.status-grid,
.footer__qr,
.footer__buttons,
.hero__actions,
.help-banner__actions,
.cta-row,
.page-utility__actions {
  min-width: 0;
  max-width: 100%;
}

.footer__qr {
  grid-template-columns: minmax(82px, 96px) minmax(0, 1fr);
}

.footer__qr-box {
  flex: 0 0 auto;
}

.floating-rail {
  max-width: calc(100vw - 24px);
}

.floating-rail__buttons,
.floating-rail__button {
  min-width: 0;
}

.floating-rail__button {
  overflow: hidden;
  text-align: center;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1320px) {
  .nav {
    overflow: visible;
  }

  .nav a {
    justify-content: flex-start;
    white-space: normal;
    text-overflow: clip;
    line-height: 1.22;
  }
}

@media (max-width: 760px) {
  .button,
  .footer__button,
  .footer__helper,
  .sticky-help a,
  .menu-toggle,
  .site-search .button,
  .booking-form .button,
  .quick-form .button,
  .page-utility__actions .button,
  .cta-row .button,
  .help-banner__actions .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-wrap: balance;
  }

  .header__actions .button {
    width: auto;
    white-space: nowrap;
  }

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

  .floating-panel {
    width: min(320px, calc(100vw - 88px));
  }
}

/* Final UI fixes: keep pill groups inside panels and move feature icons to the right. */
.subnav,
.knowledge-filter,
.article-filters,
.site-search,
.dashboard-toolbar {
  align-items: center;
  min-height: 0;
  height: auto;
  padding: 14px 16px;
  overflow: visible;
}

.subnav,
.knowledge-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subnav a,
.knowledge-filter a,
.inline-tabs a,
.popular-searches button,
.chat-actions button {
  flex: 0 0 auto;
  max-width: 100%;
  min-height: 42px;
  line-height: 1.18;
}

.feature-card {
  position: relative;
  padding: 28px 74px 28px 28px;
}

.feature-card::before {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 0;
  width: 46px;
  height: 46px;
  margin: 0;
  opacity: 0.96;
}

.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .subnav,
  .knowledge-filter {
    padding: 12px;
  }

  .subnav a,
  .knowledge-filter a {
    flex: 1 1 calc(50% - 8px);
    white-space: normal;
  }

  .feature-card {
    padding: 24px 70px 24px 22px;
  }

  .feature-card::before {
    top: 20px;
    right: 18px;
  }
}

/* Final visual refinement: lighter buttons and stable dark-footer cards. */
.button,
.footer__button,
.footer__helper,
.sticky-help a,
.menu-toggle,
.subnav a,
.knowledge-filter a,
.inline-tabs a,
.tool-link,
.popular-searches button,
.chat-actions button {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(177, 191, 244, 0.78);
  border-radius: 999px;
  color: #52639d;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  white-space: nowrap;
  overflow-wrap: normal;
  text-wrap: nowrap;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 6px 14px rgba(91, 107, 188, 0.08);
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type {
  color: #fff;
  border-color: rgba(125, 151, 230, 0.54);
  background:
    linear-gradient(135deg, #8ea1ee 0%, #6fa6e8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 18px rgba(87, 118, 210, 0.14);
}

.button--secondary,
.footer__button--secondary {
  color: #52639d;
  border-color: rgba(183, 197, 245, 0.84);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 14px rgba(91, 107, 188, 0.07);
}

.button--ghost,
.footer__helper,
.header__actions .button--ghost {
  color: #5b689b;
  border-color: rgba(196, 207, 247, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 255, 0.78));
}

.button:hover,
.footer__button:hover,
.footer__helper:hover,
.sticky-help a:hover,
.subnav a:hover,
.knowledge-filter a:hover,
.inline-tabs a:hover,
.tool-link:hover,
.popular-searches button:hover,
.chat-actions button:hover {
  color: #465993;
  border-color: rgba(150, 170, 236, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 255, 0.94));
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(82, 98, 178, 0.1);
}

.button:not(.button--ghost):not(.button--secondary):hover,
.footer__button--primary:hover,
.sticky-help a:first-of-type:hover {
  color: #fff;
  background:
    linear-gradient(135deg, #8498e8 0%, #64a1e2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 20px rgba(87, 118, 210, 0.16);
}

.button *,
.footer__button *,
.sticky-help a * {
  line-height: inherit;
}

.footer__contact-card,
.footer__contact-card.footer__qr {
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(154deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.16), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(18, 28, 80, 0.14);
}

.footer__contact-card:hover,
.footer__contact-card.footer__qr:hover {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(154deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.18), transparent 42%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 36px rgba(18, 28, 80, 0.16);
}

.footer__contact-card h3,
.footer__contact-card:hover h3,
.footer__contact-card.footer__qr:hover h3 {
  color: rgba(255, 255, 255, 0.96);
}

.footer__contact-card p,
.footer__contact-card li,
.footer__contact-card:hover p,
.footer__contact-card:hover li,
.footer__contact-card.footer__qr:hover p,
.footer__contact-card.footer__qr:hover li {
  color: rgba(255, 255, 255, 0.76);
}

.footer__socials a,
.footer__social-placeholder {
  color: #53639b;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 6px 14px rgba(18, 28, 80, 0.1);
}

@media (max-width: 760px) {
  .button,
  .footer__button,
  .footer__helper,
  .sticky-help a,
  .menu-toggle {
    white-space: normal;
    text-wrap: balance;
  }
}

/* Final override at EOF: keep text inside buttons, cards, footer, and contact rail. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

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

.container,
.header__inner,
.hero__grid,
.section,
.two-column,
.page-grid,
.knowledge-layout,
.guide-layout,
.footer__layout,
.footer__contacts,
.cards-grid,
.article-grid,
.store-grid,
.feature-grid,
.service-grid {
  min-width: 0;
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.menu-toggle,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button,
.event-modal .button,
.floating-panel .button,
.booking-form .button,
.quick-form .button,
.site-search .button,
.page-utility__actions .button,
.cta-row .button,
.help-banner__actions .button,
.guide-sidebar__card .button,
.guide-section .button,
.related-links__card .button,
.side-card .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  overflow: hidden;
  text-align: center;
  line-height: 1.24;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
  text-wrap: balance;
}

.header__actions .button,
.nav a,
.footer__buttons .footer__button,
.sticky-help a {
  white-space: nowrap;
  overflow-wrap: normal;
  text-wrap: nowrap;
}

.nav {
  min-width: 0;
  overflow: hidden;
}

.nav a {
  max-width: 100%;
  min-width: 0;
  min-height: 38px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.brand,
.brand strong,
.brand small,
.header__actions,
.header__actions .button {
  min-width: 0;
}

.article-card,
.page-card,
.store-card,
.tool-sheet,
.guide-card,
.feature-card,
.service-card,
.support-card,
.story-card,
.hospital-card,
.knowledge-column,
.footer__brand,
.footer__contact-card,
.floating-panel {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.article-card *,
.page-card *,
.store-card *,
.tool-sheet *,
.guide-card *,
.feature-card *,
.service-card *,
.support-card *,
.story-card *,
.hospital-card *,
.knowledge-column *,
.footer__brand *,
.footer__contact-card *,
.floating-panel * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-card h3,
.page-card h3,
.store-card h3,
.tool-sheet h3,
.guide-card h3,
.feature-card h3,
.service-card h3,
.support-card h3,
.story-card h3,
.hospital-card h4,
.knowledge-column h4,
.footer__contact-card h3 {
  line-height: 1.32;
  text-wrap: balance;
}

.article-card__meta,
.article-card__footer,
.page-card__meta,
.store-card__meta,
.status-grid,
.footer__qr,
.footer__buttons,
.hero__actions,
.help-banner__actions,
.cta-row,
.page-utility__actions {
  min-width: 0;
  max-width: 100%;
}

.footer__qr {
  grid-template-columns: minmax(82px, 96px) minmax(0, 1fr);
}

.footer__qr-box {
  flex: 0 0 auto;
}

.floating-rail {
  max-width: calc(100vw - 24px);
}

.floating-rail__buttons,
.floating-rail__button {
  min-width: 0;
}

.floating-rail__button {
  overflow: hidden;
  text-align: center;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1320px) {
  .nav {
    overflow: visible;
  }

  .nav a {
    justify-content: flex-start;
    white-space: normal;
    text-overflow: clip;
    line-height: 1.22;
  }
}

@media (max-width: 760px) {
  .button,
  .footer__button,
  .footer__helper,
  .sticky-help a,
  .menu-toggle,
  .site-search .button,
  .booking-form .button,
  .quick-form .button,
  .page-utility__actions .button,
  .cta-row .button,
  .help-banner__actions .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-wrap: balance;
  }

  .header__actions .button {
    width: auto;
    white-space: nowrap;
  }

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

  .floating-panel {
    width: min(320px, calc(100vw - 88px));
  }
}

/* Final override: line-wrap and overflow correction for the deliverable build. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

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

.container,
.header__inner,
.hero__grid,
.section,
.two-column,
.page-grid,
.knowledge-layout,
.guide-layout,
.footer__layout,
.footer__contacts,
.cards-grid,
.article-grid,
.store-grid,
.feature-grid,
.service-grid {
  min-width: 0;
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.menu-toggle,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button,
.event-modal .button,
.floating-panel .button,
.booking-form .button,
.quick-form .button,
.site-search .button,
.page-utility__actions .button,
.cta-row .button,
.help-banner__actions .button,
.guide-sidebar__card .button,
.guide-section .button,
.related-links__card .button,
.side-card .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  overflow: hidden;
  text-align: center;
  line-height: 1.24;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
  text-wrap: balance;
}

.header__actions .button,
.nav a,
.footer__buttons .footer__button,
.sticky-help a {
  white-space: nowrap;
  overflow-wrap: normal;
  text-wrap: nowrap;
}

.nav {
  min-width: 0;
  overflow: hidden;
}

.nav a {
  max-width: 100%;
  min-width: 0;
  min-height: 38px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.brand,
.brand strong,
.brand small,
.header__actions,
.header__actions .button {
  min-width: 0;
}

.article-card,
.page-card,
.store-card,
.tool-sheet,
.guide-card,
.feature-card,
.service-card,
.support-card,
.story-card,
.hospital-card,
.knowledge-column,
.footer__brand,
.footer__contact-card,
.floating-panel {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.article-card *,
.page-card *,
.store-card *,
.tool-sheet *,
.guide-card *,
.feature-card *,
.service-card *,
.support-card *,
.story-card *,
.hospital-card *,
.knowledge-column *,
.footer__brand *,
.footer__contact-card *,
.floating-panel * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-card h3,
.page-card h3,
.store-card h3,
.tool-sheet h3,
.guide-card h3,
.feature-card h3,
.service-card h3,
.support-card h3,
.story-card h3,
.hospital-card h4,
.knowledge-column h4,
.footer__contact-card h3 {
  line-height: 1.32;
  text-wrap: balance;
}

.article-card__meta,
.article-card__footer,
.page-card__meta,
.store-card__meta,
.status-grid,
.footer__qr,
.footer__buttons,
.hero__actions,
.help-banner__actions,
.cta-row,
.page-utility__actions {
  min-width: 0;
  max-width: 100%;
}

.footer__qr {
  grid-template-columns: minmax(82px, 96px) minmax(0, 1fr);
}

.footer__qr-box {
  flex: 0 0 auto;
}

.floating-rail {
  max-width: calc(100vw - 24px);
}

.floating-rail__buttons,
.floating-rail__button {
  min-width: 0;
}

.floating-rail__button {
  overflow: hidden;
  text-align: center;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1320px) {
  .nav {
    overflow: visible;
  }

  .nav a {
    justify-content: flex-start;
    white-space: normal;
    text-overflow: clip;
    line-height: 1.22;
  }
}

@media (max-width: 760px) {
  .button,
  .footer__button,
  .footer__helper,
  .sticky-help a,
  .menu-toggle,
  .site-search .button,
  .booking-form .button,
  .quick-form .button,
  .page-utility__actions .button,
  .cta-row .button,
  .help-banner__actions .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-wrap: balance;
  }

  .header__actions .button {
    width: auto;
    white-space: nowrap;
  }

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

  .floating-panel {
    width: min(320px, calc(100vw - 88px));
  }
}

/* Final overflow correction: prevent wrong line breaks and text escaping visual boxes. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

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

.container,
.header__inner,
.hero__grid,
.section,
.two-column,
.page-grid,
.knowledge-layout,
.guide-layout,
.footer__layout,
.footer__contacts,
.cards-grid,
.article-grid,
.store-grid,
.feature-grid,
.service-grid {
  min-width: 0;
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.menu-toggle,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button,
.event-modal .button,
.floating-panel .button,
.booking-form .button,
.quick-form .button,
.site-search .button,
.page-utility__actions .button,
.cta-row .button,
.help-banner__actions .button,
.guide-sidebar__card .button,
.guide-section .button,
.related-links__card .button,
.side-card .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  overflow: hidden;
  text-align: center;
  line-height: 1.24;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
  text-wrap: balance;
}

.header__actions .button,
.nav a,
.footer__buttons .footer__button,
.sticky-help a {
  white-space: nowrap;
  overflow-wrap: normal;
  text-wrap: nowrap;
}

.nav {
  min-width: 0;
  overflow: hidden;
}

.nav a {
  max-width: 100%;
  min-width: 0;
  min-height: 38px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.brand,
.brand strong,
.brand small,
.header__actions,
.header__actions .button {
  min-width: 0;
}

.article-card,
.page-card,
.store-card,
.tool-sheet,
.guide-card,
.feature-card,
.service-card,
.support-card,
.story-card,
.hospital-card,
.knowledge-column,
.footer__brand,
.footer__contact-card,
.floating-panel {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.article-card *,
.page-card *,
.store-card *,
.tool-sheet *,
.guide-card *,
.feature-card *,
.service-card *,
.support-card *,
.story-card *,
.hospital-card *,
.knowledge-column *,
.footer__brand *,
.footer__contact-card *,
.floating-panel * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-card h3,
.page-card h3,
.store-card h3,
.tool-sheet h3,
.guide-card h3,
.feature-card h3,
.service-card h3,
.support-card h3,
.story-card h3,
.hospital-card h4,
.knowledge-column h4,
.footer__contact-card h3 {
  line-height: 1.32;
  text-wrap: balance;
}

.article-card__meta,
.article-card__footer,
.page-card__meta,
.store-card__meta,
.status-grid,
.footer__qr,
.footer__buttons,
.hero__actions,
.help-banner__actions,
.cta-row,
.page-utility__actions {
  min-width: 0;
  max-width: 100%;
}

.footer__qr {
  grid-template-columns: minmax(82px, 96px) minmax(0, 1fr);
}

.footer__qr-box {
  flex: 0 0 auto;
}

.floating-rail {
  max-width: calc(100vw - 24px);
}

.floating-rail__buttons,
.floating-rail__button {
  min-width: 0;
}

.floating-rail__button {
  overflow: hidden;
  text-align: center;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1320px) {
  .nav {
    overflow: visible;
  }

  .nav a {
    justify-content: flex-start;
    white-space: normal;
    text-overflow: clip;
    line-height: 1.22;
  }
}

@media (max-width: 760px) {
  .button,
  .footer__button,
  .footer__helper,
  .sticky-help a,
  .menu-toggle,
  .site-search .button,
  .booking-form .button,
  .quick-form .button,
  .page-utility__actions .button,
  .cta-row .button,
  .help-banner__actions .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-wrap: balance;
  }

  .header__actions .button {
    width: auto;
    white-space: nowrap;
  }

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

  .floating-panel {
    width: min(320px, calc(100vw - 88px));
  }
}

/* Final content-fit pass: let dense cards grow instead of clipping copy. */
.article-card,
.page-card,
.store-card,
.feature-card,
.service-card,
.related-links__card {
  height: auto;
  min-height: 0;
}

.article-card,
.page-card {
  overflow: clip;
}

.article-card h3,
.article-card p,
.article-card__meta,
.page-card h3,
.page-card p,
.page-card__body {
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

@media (max-width: 760px) {
  .article-card,
  .page-card,
  .store-card,
  .feature-card,
  .service-card,
  .related-links__card {
    min-height: 0;
  }
}

/* Tech warmth polish: make the public-interest service platform feel more digital, refined, and trustworthy. */
:root {
  --tech-ink: #253064;
  --tech-muted: #66719b;
  --tech-blue: #5477e6;
  --tech-cyan: #58bfe8;
  --tech-lilac: #927cf0;
  --tech-warm: #ffc07a;
  --tech-panel: rgba(255, 255, 255, 0.74);
  --tech-line: rgba(169, 188, 246, 0.42);
  --tech-glow: 0 26px 90px rgba(75, 96, 190, 0.18);
  --tech-glow-soft: 0 18px 50px rgba(77, 97, 183, 0.12);
}

body {
  color: var(--tech-muted);
  background:
    radial-gradient(circle at 12% -8%, rgba(146, 124, 240, 0.2), transparent 34%),
    radial-gradient(circle at 92% 4%, rgba(88, 191, 232, 0.18), transparent 32%),
    radial-gradient(circle at 50% 38%, rgba(255, 192, 122, 0.1), transparent 35%),
    linear-gradient(180deg, #fbfcff 0%, #f3f6ff 42%, #f8fbff 100%);
}

body::before {
  opacity: 0.92;
  background:
    linear-gradient(90deg, rgba(84, 119, 230, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(84, 119, 230, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(84, 119, 230, 0.08) 1px, transparent 1.5px);
  background-size: 72px 72px, 72px 72px, 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 82%);
}

.header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 251, 255, 0.68)),
    radial-gradient(circle at 14% 0%, rgba(234, 230, 255, 0.82), transparent 46%),
    radial-gradient(circle at 82% 0%, rgba(222, 246, 255, 0.62), transparent 42%);
  border-bottom: 1px solid rgba(185, 199, 246, 0.62);
  box-shadow:
    0 18px 52px rgba(62, 77, 154, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(22px) saturate(1.16);
}

.brand__mark,
.footer__logo-mark {
  position: relative;
  overflow: hidden;
}

.brand__mark::after,
.footer__logo-mark::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.62), transparent 65%);
  transform: translateX(-70%) rotate(8deg);
  animation: techSheen 5.8s ease-in-out infinite;
}

.nav {
  border-color: rgba(185, 199, 246, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(246, 249, 255, 0.58)),
    radial-gradient(circle at 8% 0%, rgba(239, 235, 255, 0.82), transparent 48%),
    radial-gradient(circle at 100% 0%, rgba(222, 246, 255, 0.68), transparent 48%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(95, 126, 222, 0.08),
    0 14px 32px rgba(70, 86, 164, 0.1);
}

.nav a {
  position: relative;
  isolation: isolate;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tech-lilac), var(--tech-cyan));
  transition: left 180ms ease, right 180ms ease, opacity 180ms ease;
  opacity: 0;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  left: 16px;
  right: 16px;
  opacity: 0.9;
}

.hero__content,
.hero__panel,
.quick-form,
.service-desk,
.page-hero__panel,
.section-panel,
.page-utility,
.article-body,
.article-sidebar .side-card {
  border-color: rgba(181, 199, 248, 0.7);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(248, 251, 255, 0.68)),
    radial-gradient(circle at 0% 0%, rgba(239, 235, 255, 0.8), transparent 46%),
    radial-gradient(circle at 100% 100%, rgba(223, 246, 255, 0.64), transparent 40%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(95, 126, 222, 0.06),
    var(--tech-glow);
}

.hero__content::after,
.page-hero__panel::after,
.service-desk::after,
.page-utility::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent 38%),
    linear-gradient(315deg, rgba(88, 191, 232, 0.12), transparent 45%);
}

.hero__content h1,
.page-hero__panel h1,
.section-heading h2,
.story-content h2,
.section-panel h2,
.section-panel h3 {
  color: var(--tech-ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

.section-heading::before,
.story-content::before {
  height: 6px;
  background:
    linear-gradient(90deg, var(--tech-lilac), var(--tech-blue), var(--tech-cyan)),
    radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 60%);
  box-shadow:
    0 10px 26px rgba(84, 119, 230, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.42) inset;
}

.eyebrow,
.article-card__type,
.photo-card__tag,
.store-status,
.event-status,
.status,
.tag {
  border: 1px solid rgba(181, 199, 248, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 248, 255, 0.72)),
    radial-gradient(circle at 0% 0%, rgba(226, 246, 255, 0.78), transparent 48%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 22px rgba(72, 90, 170, 0.08);
}

.page-card,
.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.related-card,
.related-links__card,
.side-card,
.guide-sidebar__card,
.article-card,
.download-card,
.news-card,
.faq-card,
.search-result-card,
.process-card,
.timeline-card,
.tool-sheet,
.guide-tile,
.detail-card {
  border-color: rgba(181, 199, 248, 0.68);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.74)),
    radial-gradient(circle at 0% 0%, rgba(240, 236, 255, 0.7), transparent 44%),
    radial-gradient(circle at 100% 100%, rgba(225, 247, 255, 0.58), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 52px rgba(71, 88, 166, 0.11);
}

.page-card::before,
.feature-card::before,
.service-card::before,
.store-card::before,
.article-card::before,
.tool-sheet::before,
.guide-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 36%),
    linear-gradient(315deg, rgba(88, 191, 232, 0.1), transparent 42%);
}

.page-card:hover,
.feature-card:hover,
.service-card:hover,
.support-card:hover,
.story-card:hover,
.event-card:hover,
.knowledge-card:hover,
.store-card:hover,
.guide-card:hover,
.article-card:hover,
.download-card:hover,
.news-card:hover,
.tool-sheet:hover,
.guide-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(115, 145, 234, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 32px 88px rgba(65, 82, 165, 0.2),
    0 0 0 1px rgba(95, 126, 222, 0.05);
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button {
  border-color: rgba(176, 194, 248, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.88)),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.92), transparent 46%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -12px 20px rgba(84, 119, 230, 0.06),
    0 12px 28px rgba(72, 90, 170, 0.13);
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type {
  background:
    linear-gradient(135deg, #957ff0 0%, #5b7ee8 48%, #4fb9dd 100%),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.54), transparent 44%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -14px 24px rgba(28, 45, 128, 0.16),
    0 20px 42px rgba(75, 96, 190, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

.button:not(.button--ghost):not(.button--secondary):hover,
.footer__button--primary:hover,
.sticky-help a:first-of-type:hover {
  background:
    linear-gradient(135deg, #a18af5 0%, #6688ef 48%, #55c5e7 100%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.62), transparent 44%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 24px 54px rgba(75, 96, 190, 0.34);
}

.story-visual,
.section-visual,
.photo-card,
.story-gallery__card,
.page-card--media,
.gallery-card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 24px 72px rgba(66, 82, 158, 0.16);
}

.story-visual img,
.section-visual img,
.story-gallery__card img,
.page-card__media,
.gallery-card img,
.photo-card {
  transition: transform 420ms ease, filter 420ms ease;
}

.story-visual:hover img,
.section-visual:hover img,
.story-gallery__card:hover img,
.page-card--media:hover .page-card__media,
.gallery-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

input,
select,
textarea {
  border-color: rgba(176, 194, 248, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(75, 96, 190, 0.06);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(84, 119, 230, 0.82);
  box-shadow:
    0 0 0 4px rgba(84, 119, 230, 0.12),
    0 12px 28px rgba(75, 96, 190, 0.12);
}

.footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(146, 124, 240, 0.34), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(88, 191, 232, 0.28), transparent 38%),
    linear-gradient(142deg, #313968 0%, #46559a 48%, #4f85c7 100%);
}

.floating-rail .floating-rail__buttons {
  border-color: rgba(176, 194, 248, 0.82);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 255, 0.72)),
    radial-gradient(circle at 0% 0%, rgba(237, 233, 255, 0.86), transparent 52%),
    radial-gradient(circle at 100% 100%, rgba(222, 246, 255, 0.72), transparent 52%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 22px 52px rgba(65, 82, 165, 0.2);
}

.floating-rail .floating-rail__buttons .floating-rail__button,
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5),
.floating-rail .floating-rail__buttons .floating-rail__button--top {
  border-color: rgba(176, 194, 248, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.9)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.96), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 12px 26px rgba(75, 96, 190, 0.12);
}

.floating-panel {
  border-color: rgba(176, 194, 248, 0.88);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.86)),
    radial-gradient(circle at 0% 0%, rgba(239, 235, 255, 0.92), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(222, 246, 255, 0.72), transparent 45%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 30px 80px rgba(62, 77, 152, 0.22);
}

@keyframes techSheen {
  0%, 62%, 100% {
    transform: translateX(-75%) rotate(8deg);
  }
  76% {
    transform: translateX(72%) rotate(8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand__mark::after,
  .footer__logo-mark::after {
    animation: none;
  }

  .page-card,
  .feature-card,
  .service-card,
  .store-card,
  .article-card,
  .button {
    transition: none;
  }
}

@media (max-width: 760px) {
  body::before {
    background-size: 56px 56px, 56px 56px, 22px 22px;
  }

  .hero__content,
  .hero__panel,
  .quick-form,
  .service-desk,
  .page-hero__panel,
  .section-panel,
  .page-utility {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.94),
      0 16px 42px rgba(69, 84, 160, 0.12);
  }

  .page-card:hover,
  .feature-card:hover,
  .service-card:hover,
  .store-card:hover,
  .article-card:hover,
  .tool-sheet:hover {
    transform: none;
  }
}

/* Final overflow and line-wrap guard: keep text inside buttons, nav, cards, footer, and dense article blocks. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
}

body {
  overflow-x: clip;
}

.header,
.topbar,
.footer,
main,
section,
.container,
.header__inner,
.footer__layout,
.footer__contacts,
.article-layout,
.page-grid,
.guide-grid,
.tool-list,
.store-grid,
.knowledge-grid,
.cards-grid,
.article-grid {
  min-width: 0;
  max-width: 100%;
}

.nav {
  min-width: 0;
  overflow: hidden;
}

.nav a {
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  word-break: keep-all;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.menu-toggle,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button,
.page-utility__actions .button,
.guide-sidebar__card .button,
.guide-section .button,
.related-links__card .button,
.side-card .button,
.article-meta .button {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
  line-height: 1.22;
}

.header__actions .button,
.hero__actions .button,
.footer__buttons .footer__button {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.page-card,
.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.related-card,
.related-links__card,
.side-card,
.guide-sidebar__card,
.article-card,
.download-card,
.news-card,
.faq-card,
.search-result-card,
.process-card,
.timeline-card,
.tool-sheet,
.guide-tile,
.detail-card,
.footer__contact-card,
.section-panel,
.page-utility,
.service-desk,
.article-body,
.article-sidebar {
  min-width: 0;
  max-width: 100%;
}

.page-card *,
.feature-card *,
.service-card *,
.support-card *,
.story-card *,
.event-card *,
.knowledge-card *,
.store-card *,
.guide-card *,
.related-card *,
.related-links__card *,
.side-card *,
.guide-sidebar__card *,
.article-card *,
.download-card *,
.news-card *,
.faq-card *,
.search-result-card *,
.process-card *,
.timeline-card *,
.tool-sheet *,
.guide-tile *,
.detail-card *,
.footer__contact-card *,
.section-panel *,
.page-utility *,
.service-desk *,
.article-body *,
.article-sidebar * {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-card,
.page-card,
.store-card,
.tool-sheet,
.guide-card,
.footer__contact-card {
  height: auto;
  overflow: clip;
}

.article-card h3,
.article-card p,
.article-card__meta,
.article-card__type,
.page-card h3,
.page-card p,
.page-card__body,
.store-card h3,
.store-card p,
.tool-sheet h3,
.tool-sheet li,
.guide-card h3,
.guide-card p,
.footer__contact-card h3,
.footer__contact-card p,
.footer__contact-card li {
  white-space: normal;
  text-overflow: clip;
  overflow: visible;
}

.footer__qr {
  min-width: 0;
}

.footer__qr p {
  min-width: 0;
}

table,
pre,
code {
  max-width: 100%;
}

pre {
  overflow-x: auto;
  white-space: pre-wrap;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

@media (min-width: 1181px) {
  .nav a {
    flex: 0 1 auto;
  }
}

@media (max-width: 1320px) {
  .header__actions .button {
    white-space: normal;
  }
}

@media (max-width: 1180px) {
  .nav {
    overflow: visible;
  }

  .nav a {
    width: 100%;
    white-space: normal;
    text-overflow: clip;
    line-height: 1.2;
  }

  .header__actions {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .container,
  .header__inner,
  .topbar__inner,
  .footer__layout,
  .footer__contacts,
  .article-layout,
  .page-utility,
  .hero__actions,
  .page-utility__actions,
  .cta-row,
  .footer__buttons {
    min-width: 0;
    max-width: 100%;
  }

  .header__actions .button,
  .hero__actions .button,
  .footer__buttons .footer__button,
  .page-utility__actions .button,
  .cta-row .button {
    width: 100%;
    white-space: normal;
  }

  .footer__qr {
    grid-template-columns: minmax(72px, 82px) minmax(0, 1fr);
  }

  .photo-marquee,
  .photo-marquee__viewport {
    max-width: 100%;
    overflow: hidden;
  }
}

/* Mobile containment pass: prevent article/tool pages from creating horizontal scroll. */
.article-layout,
.article-body,
.article-sidebar,
.guide-note,
.guide-card,
.tool-list,
.tool-sheet,
.side-card,
.page-utility,
.footer,
.footer__layout,
.footer__contacts,
.footer__contact-card {
  min-width: 0;
}

.article-body,
.article-body *,
.guide-note,
.guide-card,
.tool-sheet,
.side-card,
.page-hero__panel,
.footer__contact-card,
.footer__contact-card * {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .article-layout,
  .page-utility,
  .footer__layout {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .article-body,
  .article-sidebar,
  .guide-note,
  .tool-sheet,
  .side-card,
  .page-hero__panel {
    max-width: 100%;
  }

  .guide-note {
    padding: 18px;
  }

  .footer__qr {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .footer__qr-box {
    width: 82px;
    height: 82px;
    border-radius: 18px;
  }
}

/* Final UI elevation: cohesive foundation, page rhythm, and premium institutional finish. */
:root {
  --ui-ink: #2f3867;
  --ui-body: #5d668e;
  --ui-line: rgba(196, 207, 247, 0.78);
  --ui-soft: rgba(248, 250, 255, 0.84);
  --ui-card: rgba(255, 255, 255, 0.92);
  --ui-blue: #5f7ede;
  --ui-lilac: #8f7ee8;
  --ui-sky: #70afe6;
  --ui-warm: #f7b66f;
  --ui-shadow: 0 24px 70px rgba(69, 84, 160, 0.12);
  --ui-shadow-hover: 0 30px 86px rgba(65, 82, 165, 0.18);
}

html {
  scroll-padding-top: 108px;
}

body {
  color: var(--ui-body);
  background:
    radial-gradient(circle at 8% 2%, rgba(229, 223, 255, 0.88), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(222, 242, 255, 0.86), transparent 30%),
    radial-gradient(circle at 62% 46%, rgba(255, 246, 231, 0.62), transparent 32%),
    linear-gradient(180deg, #fbfcff 0%, #f5f7ff 44%, #f8fbff 100%);
}

body::before {
  opacity: 0.72;
  background:
    linear-gradient(90deg, rgba(114, 132, 210, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(114, 132, 210, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
}

.container {
  width: min(1180px, calc(100% - 40px));
}

.topbar {
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(90deg, #48528e, #5a72c8 55%, #6aa9dc);
}

.topbar a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration-color: rgba(255, 255, 255, 0.34);
}

.header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 252, 255, 0.78)),
    radial-gradient(circle at 12% 0%, rgba(239, 235, 255, 0.8), transparent 44%);
  border-bottom: 1px solid rgba(205, 216, 248, 0.75);
  box-shadow: 0 18px 48px rgba(67, 83, 155, 0.1);
  backdrop-filter: blur(18px);
}

.header__inner {
  min-height: 78px;
}

.brand {
  border-radius: 22px;
  padding: 8px 10px 8px 8px;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 28px rgba(74, 88, 158, 0.1);
}

.brand__mark {
  background:
    linear-gradient(135deg, #7e89ee, #62a8df 62%, #f3ba76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 12px 28px rgba(77, 97, 181, 0.24);
}

.brand strong,
.section-heading h2,
.hero__content h1,
.page-hero__panel h1,
.story-content h2,
.section-panel h2,
.section-panel h3,
.page-card h3,
.feature-card h3,
.service-card h3,
.knowledge-card h3,
.store-card h3,
.article-card h3 {
  color: var(--ui-ink);
  letter-spacing: -0.025em;
}

.nav {
  border: 1px solid rgba(207, 216, 248, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 249, 255, 0.66)),
    radial-gradient(circle at 0% 0%, rgba(239, 235, 255, 0.74), transparent 54%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 30px rgba(75, 90, 165, 0.08);
}

.nav a {
  border-radius: 999px;
  color: #516094;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #8f7ee8, #5f7ede 58%, #5ba2d9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 10px 22px rgba(80, 97, 184, 0.2);
  transform: translateY(-1px);
}

.section {
  position: relative;
  padding-block: clamp(56px, 7vw, 92px);
}

.section--soft {
  overflow: hidden;
  border-block: 1px solid rgba(207, 216, 248, 0.34);
  background:
    radial-gradient(circle at 12% 0%, rgba(240, 237, 255, 0.8), transparent 36%),
    radial-gradient(circle at 90% 20%, rgba(227, 245, 255, 0.74), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(247, 250, 255, 0.66));
}

.section-heading {
  position: relative;
  margin-bottom: clamp(24px, 3.2vw, 42px);
}

.section-heading::before,
.story-content::before {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ui-lilac), var(--ui-blue), var(--ui-sky));
  box-shadow: 0 8px 20px rgba(94, 120, 218, 0.2);
}

.section-heading h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
}

.section-heading p,
.hero__summary,
.story-content p,
.section-panel p,
.page-card p,
.feature-card p,
.service-card p,
.knowledge-card p,
.store-card p,
.article-card p {
  color: #667099;
  line-height: 1.8;
}

.hero {
  min-height: auto;
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(54px, 7vw, 86px);
}

.hero::before {
  opacity: 0.9;
  background:
    radial-gradient(circle at 18% 18%, rgba(238, 235, 255, 0.92), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(226, 246, 255, 0.84), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(246, 249, 255, 0.34));
}

.hero__content {
  position: relative;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(207, 216, 248, 0.62);
  border-radius: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(250, 252, 255, 0.54)),
    radial-gradient(circle at 0% 0%, rgba(239, 235, 255, 0.72), transparent 48%);
  box-shadow: var(--ui-shadow);
  backdrop-filter: blur(14px);
}

.hero__content h1 {
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.04;
}

.eyebrow,
.page-hero__panel .eyebrow {
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(190, 202, 247, 0.84);
  border-radius: 999px;
  color: #5570c8;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero__panel,
.quick-form,
.service-desk,
.page-hero__panel,
.section-panel {
  border: 1px solid rgba(199, 210, 247, 0.8);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.84)),
    radial-gradient(circle at 0% 0%, rgba(239, 235, 255, 0.78), transparent 48%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    var(--ui-shadow);
  backdrop-filter: blur(14px);
}

.hero__stats article,
.results-stats article,
.impact-card,
.stat-card {
  border: 1px solid rgba(199, 210, 247, 0.76);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 255, 0.76)),
    radial-gradient(circle at 0% 0%, rgba(239, 235, 255, 0.62), transparent 46%);
  box-shadow: 0 16px 42px rgba(74, 90, 165, 0.1);
}

.hero__stats strong,
.results-stats strong {
  color: #516ce0;
}

.page-card,
.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.related-card,
.related-links__card,
.side-card,
.guide-sidebar__card,
.article-card,
.download-card,
.news-card,
.faq-card,
.search-result-card,
.process-card,
.timeline-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.page-card::after,
.feature-card::after,
.service-card::after,
.knowledge-card::after,
.store-card::after,
.article-card::after,
.download-card::after,
.news-card::after {
  content: "";
  position: absolute;
  inset: auto -28px -34px auto;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 126, 232, 0.12), transparent 68%);
  pointer-events: none;
}

.page-card:hover,
.feature-card:hover,
.service-card:hover,
.support-card:hover,
.story-card:hover,
.event-card:hover,
.knowledge-card:hover,
.store-card:hover,
.guide-card:hover,
.related-card:hover,
.related-links__card:hover,
.article-card:hover,
.download-card:hover,
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ui-shadow-hover);
}

.story-split,
.page-grid,
.store-grid,
.knowledge-grid,
.cards-grid,
.article-grid {
  gap: clamp(18px, 2.4vw, 32px);
}

.story-visual,
.section-visual,
.page-hero__panel {
  overflow: hidden;
  border-radius: clamp(28px, 4vw, 44px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 26px 72px rgba(69, 84, 160, 0.16);
}

.story-visual img,
.section-visual img,
.page-hero__panel img,
.story-gallery__card img,
.gallery-card img {
  filter: saturate(1.03) contrast(1.02);
}

.story-visual__badge,
.status,
.tag,
.article-tag,
.store-status,
.event-status,
.knowledge-filter a,
.subnav a {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 8px 20px rgba(77, 94, 170, 0.08);
}

input,
select,
textarea {
  border-color: rgba(196, 207, 247, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 20px rgba(74, 90, 165, 0.05);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(95, 126, 222, 0.82);
  box-shadow:
    0 0 0 4px rgba(95, 126, 222, 0.12),
    0 12px 26px rgba(74, 90, 165, 0.08);
  outline: none;
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button {
  min-height: 46px;
  padding-inline: 20px;
  letter-spacing: 0.005em;
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type {
  background:
    linear-gradient(135deg, #957ff0 0%, #627fe0 48%, #51a0dc 100%),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.52), transparent 44%);
}

.floating-rail .floating-rail__buttons .floating-rail__button,
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5),
.floating-rail .floating-rail__buttons .floating-rail__button--top {
  width: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 7px 5px;
  border: 1px solid rgba(194, 204, 245, 0.9);
  border-radius: 22px;
  color: #4a5790;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 255, 0.94)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.95), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 22px rgba(75, 91, 166, 0.1);
}

.floating-rail .floating-rail__buttons .floating-rail__button:hover,
.floating-rail .floating-rail__buttons .floating-rail__button:focus-visible {
  transform: translateX(-3px);
  color: #fff;
  border-color: rgba(113, 133, 219, 0.94);
  background: linear-gradient(135deg, #8878e4, #5f7fe0 56%, #4f9bd9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 16px 30px rgba(75, 91, 178, 0.24);
}

.floating-rail .floating-rail__buttons .floating-rail__button .floating-rail__icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin: 0 auto 3px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #96a8ff, #7db8e9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 32px, 960px);
  }

  .header__inner {
    min-height: 72px;
  }

  .hero__content,
  .hero__panel,
  .page-hero__panel {
    border-radius: 28px;
  }

  .section {
    padding-block: 54px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 560px);
  }

  .section {
    padding-block: 44px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero__content,
  .hero__panel,
  .quick-form,
  .service-desk,
  .page-hero__panel,
  .section-panel,
  .page-card,
  .feature-card,
  .service-card,
  .knowledge-card,
  .store-card,
  .article-card {
    border-radius: 22px;
  }

  .section-heading h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .hero__content h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .floating-rail .floating-rail__buttons .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5),
  .floating-rail .floating-rail__buttons .floating-rail__button--top {
    width: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 18px;
  }
}

/* Highest-specificity rail lock: override older per-item color rules. */
.floating-rail .floating-rail__buttons .floating-rail__button,
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5),
.floating-rail .floating-rail__buttons .floating-rail__button--top {
  width: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 7px 5px;
  border: 1px solid rgba(194, 204, 245, 0.9);
  border-radius: 22px;
  color: #4a5790;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 255, 0.94)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.95), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 22px rgba(75, 91, 166, 0.1);
}

.floating-rail .floating-rail__buttons .floating-rail__button:hover,
.floating-rail .floating-rail__buttons .floating-rail__button:focus-visible {
  transform: translateX(-3px);
  color: #fff;
  border-color: rgba(113, 133, 219, 0.94);
  background: linear-gradient(135deg, #8878e4, #5f7fe0 56%, #4f9bd9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 16px 30px rgba(75, 91, 178, 0.24);
}

.floating-rail .floating-rail__buttons .floating-rail__button .floating-rail__icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin: 0 auto 3px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #96a8ff, #7db8e9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(122, 126, 220, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(167, 207, 160, 0.12), transparent 30%),
    linear-gradient(180deg, #fbfbff 0%, #f5f6ff 100%);
}

main,
section,
article,
aside,
div,
nav,
header,
footer,
ul,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  min-width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li {
  overflow-wrap: anywhere;
}

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

img {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

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

.topbar {
  background: #eef0ff;
  color: #5f67a5;
  font-size: 14px;
}

.topbar__inner,
.header__inner,
.topbar__links,
.hero__actions,
.hero__stats,
.footer__grid,
.help-banner,
.help-banner__actions,
.sticky-help,
.sticky-help div,
.chat-actions,
.chat-form {
  display: flex;
  align-items: center;
}

.topbar__inner,
.header__inner,
.footer__grid,
.help-banner {
  justify-content: space-between;
}

.topbar__inner {
  min-height: 42px;
}

.topbar__links {
  gap: 18px;
  flex-wrap: wrap;
}

.topbar__links a {
  white-space: nowrap;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 226, 251, 0.74);
  box-shadow: 0 10px 28px rgba(103, 110, 185, 0.06);
}

.header__inner {
  min-height: 76px;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 270px;
  flex-shrink: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #97ca63);
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 14px;
  flex: 1;
  justify-content: center;
  font-size: 13px;
  flex-wrap: nowrap;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(248, 249, 255, 0.96), rgba(240, 242, 255, 0.92));
  border: 1px solid rgba(223, 227, 251, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(108, 115, 187, 0.06);
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #5c6486;
  white-space: nowrap;
  font-weight: 500;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.nav a:hover {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 8px 16px rgba(108, 115, 187, 0.08);
  transform: translateY(-1px);
}

.header__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid rgba(101, 108, 196, 0.26);
  background: linear-gradient(180deg, #989cf0 0%, #787ddc 56%, #6c71d4 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(68, 74, 150, 0.18);
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 12px 24px rgba(116, 119, 216, 0.2);
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
  z-index: -1;
}

.button:hover {
  background: linear-gradient(180deg, #8d92eb 0%, #7177da 56%, #646acf 100%);
  border-color: rgba(95, 102, 190, 0.32);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 18px 28px rgba(102, 107, 210, 0.22);
}

.button--secondary {
  border-color: rgba(145, 191, 96, 0.24);
  background: linear-gradient(180deg, #b9dc84 0%, #9ccc68 55%, #90c25e 100%);
  text-shadow: 0 1px 0 rgba(95, 136, 44, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 22px rgba(150, 202, 99, 0.16);
}

.button--ghost {
  border-color: rgba(205, 211, 243, 0.98);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 245, 255, 0.94));
  color: #4c567d;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(110, 118, 188, 0.08);
}

.button--ghost:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(241, 243, 255, 0.98));
  color: var(--brand-dark);
  border-color: rgba(197, 204, 241, 1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 14px 24px rgba(110, 118, 188, 0.1);
}

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

.button--small {
  min-height: 34px;
  padding: 6px 13px;
  font-size: 13px;
}

.section {
  padding: 70px 0;
}

.section--soft {
  background: rgba(255, 255, 255, 0.76);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.section-heading--left {
  text-align: left;
  margin-left: 0;
}

.section-heading h2,
.hero h1,
.help-banner h2,
.about-card h2 {
  margin: 14px 0 12px;
  line-height: 1.15;
}

.section-heading h2 {
  font-size: clamp(28px, 4.4vw, 40px);
}

.section-heading p,
.hero__summary,
.service-card p,
.store-card p,
.story-card p,
.event-card p,
.knowledge-list p,
.service-desk-panel p,
.about-card p,
.help-banner p,
.panel-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero {
  padding-top: 38px;
}

.hero__grid,
.knowledge-layout,
.about-layout,
.two-column {
  display: grid;
  gap: 28px;
}

.hero__grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
  gap: 22px;
}

.hero__content {
  display: grid;
  gap: 10px;
}

.hero__content h1 {
  font-size: clamp(34px, 6vw, 54px);
  max-width: 12ch;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.hero__summary {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.82;
}

.hero__actions {
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.hero__stats {
  gap: 12px;
  flex-wrap: wrap;
}

.hero__stats article,
.panel-card,
.feature-card,
.service-card,
.store-card,
.standard-card,
.story-card,
.event-card,
.photo-card,
.illustration-card,
.knowledge-list article,
.service-desk-panel,
.about-card,
.timeline article {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(99, 106, 179, 0.07);
}

.hero__stats article {
  min-width: 138px;
  padding: 16px 18px;
}

.hero__stats strong {
  display: block;
  font-size: 26px;
  color: var(--brand-dark);
}

.hero__stats span,
.subnav a,
.tool-link,
.tag,
.photo-card__tag,
.story-gallery__card span,
.page-hero__meta span,
.footer__button,
.footer__helper,
.sticky-help span,
.sticky-help a {
  white-space: normal;
}

.panel-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(245, 246, 255, 0.95), rgba(255, 255, 255, 0.95)),
    var(--surface);
  border-radius: 26px;
  border: 1px solid rgba(223, 227, 251, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 36px rgba(102, 109, 186, 0.1);
}

.panel-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.28;
}

.quick-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.quick-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #4e5a5d;
}

.quick-form input,
.quick-form select,
.chat-form input {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(220, 225, 249, 0.98);
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 255, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.quick-form input:focus,
.quick-form select:focus,
.chat-form input:focus {
  outline: none;
  border-color: rgba(141, 147, 232, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 0 0 4px rgba(122, 126, 220, 0.12);
}

.quick-form__feedback {
  min-height: 24px;
  margin: 2px 2px 0;
  color: #5f69b4;
  font-size: 13px;
  line-height: 1.6;
}

.quick-form__note {
  margin: -2px 2px 0;
  color: #7b82a4;
  font-size: 12px;
  line-height: 1.7;
}

.quick-form__feedback.is-error {
  color: #b45872;
}

.quick-form__feedback.is-success,
.form-feedback.is-success {
  color: #5864be;
}

.form-feedback {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(238, 240, 255, 0.72);
  line-height: 1.7;
}

.form-feedback:empty {
  display: none;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.feature-card,
.service-card,
.store-card,
.standard-card,
.story-card,
.event-card,
.photo-card,
.illustration-card,
.knowledge-list article,
.about-card,
.timeline article {
  padding: 20px 22px;
}

.feature-card h3,
.service-card h3,
.store-card h3,
.standard-card h3,
.story-card h3,
.event-card h3,
.photo-card h3,
.knowledge-list h3,
.service-desk-panel h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.story-split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 24px;
  align-items: center;
}

.story-split--reverse {
  grid-template-columns: 0.98fr 1.02fr;
}

.story-content {
  display: grid;
  gap: 14px;
}

.story-content h2 {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 38px);
  line-height: 1.24;
}

.story-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.story-visual {
  position: relative;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 245, 255, 0.96));
  box-shadow: 0 16px 34px rgba(99, 106, 179, 0.07);
}

.story-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
}

.story-visual__badge {
  position: absolute;
  top: 30px;
  left: 30px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(223, 227, 251, 0.9);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}

.story-visual h3 {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  margin: 0;
  color: #37405e;
  font-size: 24px;
  line-height: 1.28;
}

.results-stats {
  justify-content: center;
}

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

.story-gallery__card {
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 245, 255, 0.96));
  box-shadow: 0 16px 34px rgba(99, 106, 179, 0.07);
}

.story-gallery__card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 14px;
}

.story-gallery__card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
}

.story-gallery__card h3 {
  margin: 14px 0 0;
  font-size: 21px;
  line-height: 1.35;
}

.photo-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 24px;
}

.photo-marquee::before,
.photo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}

.photo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.photo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.photo-marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}

.photo-card {
  position: relative;
  width: 300px;
  min-height: 392px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 31, 36, 0.08) 0%, rgba(17, 31, 36, 0.74) 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 28%);
}

.photo-card > * {
  position: relative;
  z-index: 1;
}

.photo-card__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 30px;
  padding: 0 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 700;
}

.photo-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.photo-card--warm {
  background-color: #8693cf;
  background-image: url("../images/marquee-room.jpg");
}

.photo-card--calm {
  background-color: #84a3b7;
  background-image: url("../images/marquee-family.jpg");
}

.photo-card--hope {
  background-color: #9eb6a0;
  background-image: url("../images/marquee-children.jpg");
}

.photo-card--trust {
  background-color: #7f93cf;
  background-image: url("../images/marquee-service.jpg");
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

/* Final delivery polish: richer buttons, cards, footer contact matrix, and service desk rail. */
:root {
  --polish-ink: #2f365f;
  --polish-muted: #667099;
  --polish-blue: #5977d9;
  --polish-blue-deep: #3f5ec4;
  --polish-lilac: #8f7de8;
  --polish-lilac-soft: #f0edff;
  --polish-sky-soft: #eef6ff;
  --polish-cream: #fffaf2;
  --polish-line: rgba(196, 205, 244, 0.78);
  --polish-shadow: 0 20px 54px rgba(71, 86, 161, 0.13);
  --polish-shadow-strong: 0 24px 68px rgba(66, 79, 150, 0.2);
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.menu-toggle,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button {
  position: relative;
  isolation: isolate;
  min-width: max-content;
  border: 1px solid rgba(190, 200, 246, 0.88);
  border-radius: 999px;
  color: #37416f;
  font-weight: 760;
  letter-spacing: 0.01em;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.92)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.95), transparent 48%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -10px 18px rgba(130, 145, 219, 0.05),
    0 10px 22px rgba(84, 100, 178, 0.1);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button::before,
.footer__button::before,
.footer__helper::before,
.sticky-help a::before,
.subnav a::before,
.knowledge-filter a::before,
.tool-link::before,
.popular-searches button::before,
.chat-actions button::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08) 44%, rgba(151, 166, 234, 0.1));
  pointer-events: none;
}

.button:hover,
.footer__button:hover,
.footer__helper:hover,
.sticky-help a:hover,
.subnav a:hover,
.knowledge-filter a:hover,
.tool-link:hover,
.popular-searches button:hover,
.chat-actions button:hover {
  transform: translateY(-2px);
  border-color: rgba(130, 145, 224, 0.95);
  color: #28346d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 16px 34px rgba(80, 97, 178, 0.16);
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type {
  border-color: rgba(91, 113, 214, 0.88);
  color: #fff;
  background:
    linear-gradient(135deg, #8b7be6 0%, #5f7dde 48%, #4a91d6 100%),
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.5), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -12px 22px rgba(34, 46, 120, 0.14),
    0 18px 38px rgba(79, 97, 188, 0.26);
  text-shadow: 0 1px 8px rgba(38, 49, 120, 0.2);
}

.button:not(.button--ghost):not(.button--secondary):hover,
.footer__button--primary:hover,
.sticky-help a:first-of-type:hover {
  color: #fff;
  background:
    linear-gradient(135deg, #9584ee 0%, #6684e4 48%, #4b9ade 100%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.56), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 22px 46px rgba(74, 92, 181, 0.32);
}

.button--secondary,
.footer__button--secondary {
  border-color: rgba(131, 152, 224, 0.72);
  color: #4660b6;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(235, 243, 255, 0.95)),
    radial-gradient(circle at 0% 0%, rgba(238, 235, 255, 0.92), transparent 48%);
}

.button--ghost,
.footer__helper,
.header__actions .button--ghost {
  border-color: rgba(206, 214, 247, 0.92);
  color: #586397;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(248, 249, 255, 0.88)),
    radial-gradient(circle at 15% 0%, rgba(241, 237, 255, 0.96), transparent 44%);
}

.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.related-card,
.related-links__card,
.side-card,
.guide-sidebar__card,
.article-card,
.download-card,
.news-card,
.faq-card,
.search-result-card,
.page-utility,
.service-desk,
.form-card,
.timeline-card,
.stat-card,
.impact-card,
.process-card {
  border: 1px solid rgba(204, 213, 246, 0.78);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.9) 52%, rgba(241, 246, 255, 0.94)),
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.98), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(237, 234, 255, 0.65), transparent 36%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 46px rgba(72, 88, 158, 0.1);
}

.feature-card:hover,
.service-card:hover,
.support-card:hover,
.story-card:hover,
.event-card:hover,
.knowledge-card:hover,
.store-card:hover,
.guide-card:hover,
.related-card:hover,
.related-links__card:hover,
.download-card:hover,
.news-card:hover {
  border-color: rgba(151, 165, 232, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 58px rgba(69, 86, 164, 0.15);
}

.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 88px) 0 34px;
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at 12% 0%, rgba(210, 203, 255, 0.36), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(127, 172, 237, 0.32), transparent 36%),
    linear-gradient(142deg, #38406f 0%, #4b5799 44%, #587fc5 100%);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.74), transparent 82%);
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  pointer-events: none;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer__layout {
  align-items: center;
}

.footer__brand {
  position: relative;
  padding: clamp(28px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.22), transparent 44%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 28px 70px rgba(19, 27, 78, 0.22);
  backdrop-filter: blur(14px);
}

.footer__logo-mark {
  color: #fff;
  background:
    linear-gradient(135deg, #ffdf9e 0%, #f9ad69 42%, #8e82ef 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 18px 34px rgba(28, 36, 93, 0.24);
}

.footer__logo h2,
.footer__logo p,
.footer__intro,
.footer__contact-card h3,
.footer__contact-card p,
.footer__contact-card li,
.footer__note,
.footer__note a {
  color: inherit;
}

.footer__intro {
  color: rgba(255, 255, 255, 0.78);
}

.footer__socials a,
.footer__social-placeholder {
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.footer__buttons {
  gap: 12px;
}

.footer__button,
.footer__helper {
  min-height: 48px;
  padding: 12px 19px;
}

.footer__helper {
  width: fit-content;
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.footer__contacts {
  min-width: 0;
}

.footer__contact-card,
.footer__contact-card.footer__qr {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(154deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.24), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 22px 54px rgba(17, 27, 78, 0.18);
  backdrop-filter: blur(16px);
}

.footer__contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 34%);
  pointer-events: none;
}

.footer__contact-card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 150, 0.2), transparent 68%);
  pointer-events: none;
}

.footer__contact-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.footer__contact-card h3::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd98d, #95d7ff);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.footer__contact-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__contact-card li,
.footer__contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.footer__qr {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.footer__contact-card.footer__qr {
  display: flex;
}

.footer__contact-card.footer__qr .footer__qr-box {
  margin-bottom: 10px;
}

.footer__qr-box {
  width: 96px;
  height: 96px;
  padding: 9px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 14px 28px rgba(12, 24, 73, 0.18);
}

.footer__qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__note {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.68);
}

.footer__note a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration-color: rgba(255, 255, 255, 0.32);
}

.floating-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
}

.floating-rail__buttons {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(200, 209, 246, 0.92);
  border-radius: 28px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 255, 0.8)),
    radial-gradient(circle at 0% 0%, rgba(238, 234, 255, 0.86), transparent 52%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 20px 44px rgba(70, 83, 151, 0.18);
  backdrop-filter: blur(18px);
}

.floating-rail__button {
  position: relative;
  width: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 7px 5px;
  border: 1px solid rgba(194, 204, 245, 0.9);
  border-radius: 22px;
  color: #4a5790;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 255, 0.94)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.95), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 22px rgba(75, 91, 166, 0.1);
  cursor: pointer;
}

.floating-rail__button::before {
  content: none;
}

.floating-rail__button:hover,
.floating-rail__button:focus-visible {
  transform: translateX(-3px);
  border-color: rgba(113, 133, 219, 0.94);
  color: #fff;
  background: linear-gradient(135deg, #8878e4, #5f7fe0 56%, #4f9bd9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 16px 30px rgba(75, 91, 178, 0.24);
}

.floating-rail__icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin: 0 auto 3px;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 860;
  background: linear-gradient(135deg, #96a8ff, #7db8e9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.floating-rail__button:hover .floating-rail__icon,
.floating-rail__button:focus-visible .floating-rail__icon {
  background: rgba(255, 255, 255, 0.2);
}

.floating-rail__label {
  display: block;
  max-width: 100%;
  color: inherit;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.1;
  white-space: nowrap;
}

.floating-panel {
  width: min(330px, calc(100vw - 116px));
  padding: 22px;
  border: 1px solid rgba(199, 209, 246, 0.92);
  border-radius: 30px;
  color: #3b446f;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 255, 0.92)),
    radial-gradient(circle at 0% 0%, rgba(239, 235, 255, 0.92), transparent 45%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 26px 64px rgba(62, 77, 152, 0.2);
  backdrop-filter: blur(18px);
}

.floating-panel h3 {
  margin: 0 36px 10px 0;
  color: #303a73;
  font-size: 18px;
  line-height: 1.35;
}

.floating-panel p {
  margin: 0 0 8px;
  color: #667099;
  line-height: 1.7;
}

.floating-panel a {
  color: #4567c8;
  font-weight: 760;
}

.floating-panel__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(204, 213, 247, 0.92);
  border-radius: 50%;
  color: #566195;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
}

.floating-panel__qr {
  width: 160px;
  height: 160px;
  margin: 2px 0 12px;
  padding: 12px;
  border: 1px solid rgba(207, 216, 248, 0.92);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #f7f9ff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 16px 34px rgba(82, 96, 170, 0.12);
}

.floating-panel__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sticky-help {
  border-top: 1px solid rgba(209, 216, 247, 0.8);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 255, 0.94)),
    radial-gradient(circle at 10% 0%, rgba(241, 237, 255, 0.9), transparent 34%);
  box-shadow: 0 -16px 42px rgba(72, 88, 160, 0.12);
}

.sticky-help span {
  color: #414b78;
  font-weight: 720;
}

@media (min-width: 1181px) {
  .footer__layout {
    display: grid;
    grid-template-columns: minmax(350px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(40px, 5vw, 74px);
  }

  .footer__contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  .footer__contact-card,
  .footer__contact-card.footer__qr,
  .footer__contact-card:nth-child(1),
  .footer__contact-card:nth-child(2),
  .footer__contact-card:nth-child(3),
  .footer__contact-card:nth-child(4),
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    min-height: 214px;
    padding: 20px;
  }

  .footer__contact-card:nth-child(5) {
    grid-column: span 2;
    min-height: 164px;
  }
}

@media (max-width: 1180px) {
  .footer__layout {
    display: grid;
    gap: 24px;
  }

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

  .footer__contact-card,
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
    min-height: 0;
    padding: 18px;
  }
}

@media (max-width: 760px) {
  .button,
  .footer__button,
  .footer__helper,
  .sticky-help a,
  .subnav a,
  .knowledge-filter a,
  .tool-link,
  .popular-searches button,
  .chat-actions button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }

  .footer {
    padding-bottom: 112px;
  }

  .footer__brand {
    padding: 22px;
    border-radius: 26px;
  }

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

  .footer__qr {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .footer__qr-box {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }

  .floating-rail {
    right: 10px;
    top: auto;
    bottom: 84px;
    transform: none;
  }

  .floating-rail__buttons {
    gap: 7px;
    padding: 8px;
    border-radius: 23px;
  }

  .floating-rail__button {
    width: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 18px;
  }

  .floating-rail__icon {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .floating-rail__label {
    font-size: 10px;
  }

  .floating-panel {
    width: min(300px, calc(100vw - 88px));
    padding: 18px;
    border-radius: 24px;
  }

  .floating-panel__qr {
    width: 132px;
    height: 132px;
  }
}

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

.service-card ul,
.standard-card ul,
.footer ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #606986;
  line-height: 1.8;
}

.service-card--highlight {
  background: linear-gradient(180deg, rgba(116, 119, 216, 0.1), rgba(255, 255, 255, 0.95));
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef0ff;
  color: #5d61c7;
  font-size: 13px;
  font-weight: 700;
}

.tag--pending {
  background: #edf7df;
  color: #6c9f35;
}

.store-card--pending {
  background: linear-gradient(180deg, rgba(237, 247, 223, 0.72), rgba(255, 255, 255, 0.95));
}

.compliance-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  background: rgba(245, 246, 255, 0.9);
  color: #5f6587;
  line-height: 1.8;
  border-radius: 18px;
}

.two-column {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.illustration-card {
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(116, 119, 216, 0.14), rgba(150, 202, 99, 0.1)),
    var(--surface);
}

.event-card__label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}

.knowledge-layout {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.knowledge-list {
  display: grid;
  gap: 18px;
}

.knowledge-hub {
  display: grid;
  gap: 18px;
}

.knowledge-panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.knowledge-panel__header {
  margin-bottom: 18px;
}

.knowledge-panel__header h3,
.hospital-card h4,
.knowledge-column h4 {
  margin: 0 0 8px;
}

.knowledge-panel__header p,
.hospital-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hospital-grid,
.knowledge-columns {
  display: grid;
  gap: 16px;
}

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

.hospital-card {
  display: block;
  padding: 18px 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244, 245, 255, 0.9), rgba(255, 255, 255, 0.98));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hospital-card--pending {
  background: linear-gradient(180deg, rgba(239, 247, 236, 0.92), rgba(255, 255, 255, 0.98));
}

.hospital-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(99, 106, 179, 0.12);
}

.knowledge-columns {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.knowledge-columns--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.knowledge-column {
  min-height: 100%;
  padding: 8px 10px 8px 0;
}

.knowledge-column ul {
  margin: 0;
  padding-left: 18px;
  color: #556266;
  line-height: 1.9;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tool-link {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244, 245, 255, 0.88), rgba(255, 255, 255, 0.98));
  color: #586282;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(99, 106, 179, 0.1);
}

.page-card,
.info-card,
.tool-sheet,
.contact-panel,
.map-card,
.service-standard__card,
.related-links__card,
.section-panel,
.guide-section,
.guide-sidebar__card {
  border-radius: 20px;
}

.service-desk-panel {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(238, 240, 255, 0.92), rgba(255, 255, 255, 0.96)),
    var(--surface);
}

.chat-window {
  display: grid;
  gap: 12px;
  min-height: 250px;
  max-height: 320px;
  overflow: auto;
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(122, 126, 220, 0.14);
}

.chat-window__message {
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.65;
}

.chat-window__message--desk {
  background: #eef0ff;
}

.chat-window__message--user {
  margin-left: auto;
  background: #eef7ec;
}

.chat-actions {
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.chat-actions button {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 126, 220, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: #6269a2;
  cursor: pointer;
}

.chat-form {
  gap: 12px;
}

.help-banner {
  gap: 24px;
  padding: 30px 34px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(116, 119, 216, 0.13), rgba(150, 202, 99, 0.1)),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.timeline {
  display: grid;
  gap: 18px;
}

.footer {
  padding: 44px 0 72px;
  background: #eef0ff;
  color: #59608a;
}

.footer__grid {
  gap: 24px;
  align-items: start;
}

.footer__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.footer__brand {
  display: grid;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__logo h2,
.footer__logo p {
  margin: 0;
}

.footer__logo h2 {
  font-size: 30px;
  line-height: 1;
  color: #4b4f79;
}

.footer__logo p {
  margin-top: 4px;
  color: #6d72dc;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 18px;
}

.footer__logo-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7477d8, #96ca63);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.footer__intro {
  max-width: 360px;
  color: #6d7398;
  line-height: 1.75;
  margin: 0;
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__socials a,
.footer__social-placeholder {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(195, 201, 242, 0.98);
  color: #7277d8;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 255, 0.94));
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(108, 115, 187, 0.06);
}

.footer__social-placeholder {
  cursor: default;
}

.footer__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.footer__button,
.footer__helper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer__button--primary {
  border: 1px solid rgba(101, 108, 196, 0.26);
  background: linear-gradient(180deg, #8f92e8 0%, #7074d8 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 22px rgba(116, 119, 216, 0.18);
}

.footer__button--secondary {
  border: 1px solid rgba(145, 191, 96, 0.24);
  background: linear-gradient(180deg, #b3d87a 0%, #96c860 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 22px rgba(150, 202, 99, 0.16);
}

.footer__helper {
  width: fit-content;
  min-width: 260px;
  border: 1px solid rgba(214, 219, 245, 0.98);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 255, 0.95));
  color: #6d72dc;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 24px rgba(109, 114, 220, 0.1);
}

.footer__button:hover,
.footer__helper:hover {
  transform: translateY(-1px);
}

.footer__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 26px;
}

.footer__contact-card h3 {
  margin: 0 0 8px;
  color: #7477d8;
  font-size: 19px;
  line-height: 1.35;
}

.footer__contact-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #636a8a;
  line-height: 1.75;
  font-size: 15px;
  display: grid;
  gap: 6px;
}

.footer__qr {
  display: grid;
  gap: 8px;
}

.footer__qr-box {
  width: 114px;
  height: 114px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px dashed #a0a4ef;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 236, 255, 0.92));
  color: #7477d8;
  font-size: 14px;
  font-weight: 700;
}

.footer__qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.footer__contact-card a {
  color: var(--brand);
}

.footer__contact-card p {
  margin: 0;
  color: #636a8a;
  line-height: 1.7;
  font-size: 15px;
  max-width: 260px;
}

.floating-rail {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-rail__buttons {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.floating-rail__button {
  position: relative;
  width: 64px;
  min-height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: linear-gradient(180deg, #8c91ec 0%, #7076da 100%);
  color: #fff;
  display: grid;
  place-items: center;
  gap: 2px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 24px rgba(64, 73, 131, 0.16);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.floating-rail__button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
}

.floating-rail__button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 18px 30px rgba(64, 73, 131, 0.2);
  filter: saturate(1.03);
}

.floating-rail__button:nth-child(1) {
  background: #9ea6eb;
}

.floating-rail__button:nth-child(2) {
  background: #7a77db;
}

.floating-rail__button:nth-child(3) {
  background: #6f7fe5;
}

.floating-rail__button:nth-child(4) {
  background: #6d72dc;
}

.floating-rail__button:nth-child(5) {
  background: #7a77db;
}

.floating-rail__button--top {
  background: #a7cfa0;
}

.floating-rail__icon {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.floating-rail__label {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.01em;
}

.floating-panel {
  width: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: width 0.24s ease, opacity 0.24s ease;
}

.floating-rail.is-open .floating-panel {
  width: 290px;
  opacity: 1;
  pointer-events: auto;
}

.floating-panel__content {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 255, 0.96));
  border: 1px solid rgba(122, 119, 219, 0.16);
  box-shadow: 0 18px 34px rgba(82, 89, 148, 0.15);
  color: #545d7d;
}

.floating-panel__content h3 {
  margin: 0 0 10px;
  color: #666dcf;
  line-height: 1.34;
}

.floating-panel__content p {
  margin: 0 0 10px;
  line-height: 1.8;
}

.floating-panel__content a {
  color: #666dcf;
  font-weight: 700;
}

.floating-panel__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f0f1ff;
  color: #666dcf;
  font-size: 20px;
  cursor: pointer;
  z-index: 1;
}

.floating-panel__qr {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px dashed #8d92e8;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 236, 255, 0.92));
  color: #6d72dc;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.floating-panel__qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.footer h2,
.footer h3 {
  margin-top: 0;
}

.footer ul {
  color: #5f6587;
}

.footer__note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(109, 114, 220, 0.18);
  color: #7a82a7;
  line-height: 1.7;
  font-size: 13px;
}

.page-hero {
  padding: 34px 0 18px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--brand-dark);
}

.page-shell {
  display: grid;
  gap: 26px;
}

.page-hero__panel,
.guide-section,
.guide-sidebar__card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-hero__panel {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  background:
    linear-gradient(135deg, rgba(122, 126, 220, 0.12), rgba(167, 207, 160, 0.08)),
    var(--surface);
  border-radius: 28px;
  box-shadow: 0 20px 42px rgba(102, 108, 184, 0.08);
}

.page-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 245, 255, 0.92) 0%, rgba(244, 245, 255, 0.68) 42%, rgba(244, 245, 255, 0.2) 100%),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-hero__panel > * {
  position: relative;
  z-index: 1;
}

.page-hero__panel[data-hero="about"] {
  --hero-image: url("../images/story-origin.jpg");
}

.page-hero__panel[data-hero="community"] {
  --hero-image: url("../images/story-support.jpg");
}

.page-hero__panel[data-hero="contact"] {
  --hero-image: url("../images/marquee-service.jpg");
}

.page-hero__panel[data-hero="events"] {
  --hero-image: url("../images/gallery-activity.jpg");
}

.page-hero__panel[data-hero="knowledge"] {
  --hero-image: url("../images/story-support.jpg");
}

.page-hero__panel[data-hero="stores"] {
  --hero-image: url("../images/gallery-room.jpg");
}

.page-hero__panel[data-hero="tool"] {
  --hero-image: url("../images/marquee-service.jpg");
}

.page-hero__panel[data-hero="tiantan"] {
  --hero-image: url("../images/story-origin.jpg");
}

.page-hero__panel[data-hero="cancer"] {
  --hero-image: url("../images/story-support.jpg");
}

.page-hero__panel[data-hero="anzhen"] {
  --hero-image: url("../images/gallery-family.jpg");
}

.page-hero__panel[data-hero="fuwai"] {
  --hero-image: url("../images/marquee-service.jpg");
}

.page-hero__panel[data-hero="pku"] {
  --hero-image: url("../images/gallery-room.jpg");
}

.page-hero__panel[data-hero="children"] {
  --hero-image: url("../images/story-children.jpg");
}

.page-hero__panel h1 {
  margin: 10px 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  max-width: 18ch;
  line-height: 1.24;
  letter-spacing: 0.01em;
}

.page-hero__panel .eyebrow {
  margin-bottom: 0;
}

.hero__summary {
  max-width: 760px;
  margin: 0;
  color: #626b8b;
  line-height: 1.85;
}

.page-hero__english {
  margin-top: 14px;
  color: #97a0c9;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-hero__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(223, 227, 251, 0.9);
  color: #626b8b;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.guide-stack,
.guide-sidebar {
  display: grid;
  gap: 18px;
}

.guide-section,
.guide-sidebar__card {
  padding: 22px 24px;
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(97, 104, 177, 0.07);
}

.guide-section h2,
.guide-sidebar__card h3,
.guide-tile h3 {
  margin-top: 0;
  line-height: 1.38;
}

.guide-section p,
.guide-sidebar__card p,
.guide-tile p {
  color: var(--muted);
  line-height: 1.82;
}

.guide-section ul,
.guide-sidebar__card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #606986;
  line-height: 1.82;
}

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

.guide-tile {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.guide-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: rgba(238, 247, 236, 0.72);
  border-radius: 16px;
  color: #5f6d6c;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(170, 178, 228, 0.28);
}

.subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 255, 0.94));
  border: 1px solid rgba(221, 225, 249, 0.98);
  color: #636c8d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.subnav a:hover {
  color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 8px 16px rgba(108, 115, 187, 0.08);
}

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

.page-card,
.info-card,
.tool-sheet,
.contact-panel,
.map-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(98, 105, 179, 0.07);
  display: grid;
  gap: 12px;
  align-content: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-card:hover,
.info-card:hover,
.tool-sheet:hover,
.contact-panel:hover,
.map-card:hover,
.visual-card:hover,
.related-links__card:hover,
.service-standard__card:hover,
.timeline-grid article:hover,
.guide-section:hover,
.guide-sidebar__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(99, 106, 179, 0.12);
}

.page-card h3,
.info-card h3,
.tool-sheet h3,
.contact-panel h3,
.map-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.34;
}

.page-card p,
.info-card p,
.tool-sheet p,
.contact-panel p,
.map-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.page-card--media,
.contact-panel--media,
.map-card--media {
  overflow: hidden;
  padding: 0;
  gap: 0;
}

.page-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-card__body {
  display: grid;
  gap: 12px;
  padding: 20px 22px 22px;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 255, 0.98)),
    var(--surface);
}

.page-card__body h3,
.page-card__body p,
.page-card__body ul {
  margin: 0;
}

.page-card__body p {
  color: var(--muted);
  line-height: 1.8;
}

.page-card__body ul {
  padding-left: 18px;
  color: #606986;
  line-height: 1.82;
}

.page-card ul,
.info-card ul,
.tool-sheet ul,
.contact-panel ul,
.map-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #606986;
  line-height: 1.82;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cta-row .button {
  flex: 0 1 auto;
  min-width: 138px;
}

.store-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 28px;
  display: grid;
  gap: 14px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(122, 126, 220, 0.16), rgba(167, 207, 160, 0.1)),
    var(--surface);
  box-shadow: var(--shadow);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(245, 247, 255, 0.14) 0%, rgba(67, 74, 110, 0.76) 100%),
    var(--visual-image, none);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.visual-card > * {
  position: relative;
  z-index: 1;
}

.visual-card--tiantan {
  --visual-image: url("../images/story-origin.jpg");
}

.visual-card--cancer {
  --visual-image: url("../images/story-support.jpg");
}

.visual-card--anzhen {
  --visual-image: url("../images/gallery-family.jpg");
}

.visual-card--fuwai {
  --visual-image: url("../images/marquee-service.jpg");
}

.visual-card--pku {
  --visual-image: url("../images/gallery-room.jpg");
}

.visual-card--children {
  --visual-image: url("../images/story-children.jpg");
}

.visual-card h3 {
  margin-top: 0;
  margin-bottom: 2px;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(48, 54, 90, 0.3);
  line-height: 1.34;
}

.visual-card p,
.visual-card ul {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 12px rgba(48, 54, 90, 0.26);
}

.visual-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  line-height: 1.9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.service-standard {
  display: grid;
  gap: 24px;
}

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

.service-standard__card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(244, 245, 255, 0.9), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  align-content: start;
}

.service-standard__card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.32;
}

.service-standard__card ul {
  margin: 0;
  padding-left: 18px;
  color: #606986;
  line-height: 1.9;
  display: grid;
  gap: 8px;
}

.related-links {
  display: grid;
  gap: 14px;
}

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

.related-links__card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 14px 28px rgba(99, 106, 179, 0.06);
  display: grid;
  gap: 10px;
  align-content: start;
}

.related-links__card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.related-links__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.section--compact {
  padding-top: 38px;
}

.knowledge-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(223, 227, 251, 0.96);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.knowledge-filter a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f4f5ff);
  border: 1px solid rgba(223, 227, 251, 0.92);
  color: #5f67a5;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.knowledge-filter a:hover {
  transform: translateY(-1px);
  color: var(--brand-dark);
  box-shadow: 0 10px 20px rgba(99, 106, 179, 0.09);
}

.knowledge-index {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.knowledge-index__feature,
.knowledge-index__list a,
.page-utility {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 245, 255, 0.92)),
    radial-gradient(circle at top right, rgba(167, 207, 160, 0.16), transparent 34%);
  box-shadow: 0 18px 36px rgba(99, 106, 179, 0.07);
}

.knowledge-index__feature {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 24px;
  border-radius: 24px;
}

.knowledge-index__feature h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.34;
}

.knowledge-index__feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.knowledge-index__list {
  display: grid;
  gap: 10px;
}

.knowledge-index__list a {
  display: grid;
  gap: 6px;
  padding: 15px 18px;
  border-radius: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.knowledge-index__list a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(99, 106, 179, 0.1);
}

.knowledge-index__list strong {
  color: #353b66;
  font-size: 16px;
  line-height: 1.4;
}

.knowledge-index__list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section--utility {
  padding-top: 28px;
  padding-bottom: 28px;
}

.page-utility {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 26px;
}

.page-utility h2,
.page-utility p {
  margin: 0;
}

.page-utility h2 {
  margin-top: 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.34;
}

.page-utility p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.8;
}

.page-utility__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.article-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.article-filters label {
  display: grid;
  gap: 7px;
}

.article-filters span {
  color: #59619b;
  font-size: 13px;
  font-weight: 700;
}

.article-filters select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(205, 211, 245, 0.96);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8f9ff);
  color: var(--text);
  outline: none;
}

.article-list__summary {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.article-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 236px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 247, 255, 0.96)),
    radial-gradient(circle at top right, rgba(122, 126, 220, 0.12), transparent 36%);
  box-shadow: 0 16px 34px rgba(99, 106, 179, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(122, 126, 220, 0.38);
  box-shadow: 0 22px 42px rgba(99, 106, 179, 0.12);
}

.article-card[hidden] {
  display: none;
}

.article-card__type {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.article-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: auto;
  color: #79809f;
  font-size: 13px;
}

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

.resource-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 245, 255, 0.94)),
    radial-gradient(circle at top right, rgba(167, 207, 160, 0.16), transparent 40%);
  box-shadow: 0 18px 36px rgba(99, 106, 179, 0.08);
}

.resource-card span {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card h3,
.resource-card p {
  margin: 0;
}

.resource-card h3 {
  font-size: 24px;
}

.resource-card p {
  color: var(--muted);
  line-height: 1.82;
}

.resource-card a {
  width: fit-content;
  margin-top: 4px;
  padding: 9px 15px;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--brand-dark);
  font-weight: 800;
}

.disease-card span,
.disease-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.disease-card {
  gap: 12px;
}

.site-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.site-search input {
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(205, 211, 243, 0.98);
  border-radius: 999px;
  outline: none;
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.popular-searches::before {
  content: "热门搜索";
  color: #7a82a7;
  font-size: 13px;
  font-weight: 800;
}

.popular-searches button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(205, 211, 243, 0.96);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f5f6ff);
  color: #5f67a5;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.popular-searches button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(99, 106, 179, 0.1);
}

.search-result-card mark {
  padding: 0 3px;
  border-radius: 5px;
  background: rgba(167, 207, 160, 0.34);
  color: #464f9f;
}

.search-results,
.news-list,
.download-grid,
.event-list,
.store-locator {
  display: grid;
  gap: 16px;
}

.search-results,
.news-list,
.download-grid,
.event-list,
.store-locator {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.search-result-card,
.news-item,
.download-card,
.event-card,
.store-locator__card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 247, 255, 0.96));
  box-shadow: 0 16px 34px rgba(99, 106, 179, 0.07);
}

.search-result-card h3,
.news-item h3,
.download-card h3,
.event-card h3,
.store-locator__card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.search-result-card p,
.news-item p,
.download-card p,
.event-card p,
.store-locator__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.news-item span,
.download-card span,
.event-card span,
.store-locator__card span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.news-item time,
.event-card time {
  color: #5f67a5;
  font-weight: 800;
}

.news-item--top {
  border-color: rgba(122, 126, 220, 0.36);
  background: linear-gradient(135deg, #ffffff, #f1f3ff);
}

.news-item a,
.resource-card a {
  width: fit-content;
}

.news-item .button,
.download-card .button {
  margin-top: 4px;
}

.event-card > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.event-status {
  justify-self: start;
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.event-status--open {
  background: #eef7ec;
  color: #5c8f3e;
}

.event-status--soon {
  background: #eef0ff;
  color: #6268cf;
}

.event-status--limited {
  background: #fff4dd;
  color: #aa7435;
}

.event-status--closed {
  background: #f1f2f8;
  color: #7d839e;
}

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(44, 49, 84, 0.38);
  backdrop-filter: blur(8px);
}

.event-modal.is-open {
  display: flex;
}

.event-modal__panel {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(48, 54, 120, 0.22);
}

.event-modal__panel h2,
.event-modal__panel p {
  margin: 0;
}

.event-modal__panel p,
.event-modal__panel li {
  color: var(--muted);
  line-height: 1.8;
}

.event-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--brand-dark);
  cursor: pointer;
}

.store-locator__card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.process-steps,
.impact-grid,
.faq-list,
.booking-layout {
  display: grid;
  gap: 16px;
}

.process-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.impact-grid,
.faq-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.booking-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
}

.process-steps article,
.impact-grid article,
.faq-list article,
.faq-list details,
.booking-form {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 247, 255, 0.96));
  box-shadow: 0 16px 34px rgba(99, 106, 179, 0.07);
}

.process-steps span,
.impact-grid strong {
  color: var(--brand-dark);
  font-weight: 800;
}

.impact-grid strong {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.process-steps h3,
.faq-list h3,
.faq-list summary,
.process-steps p,
.faq-list p,
.impact-grid span {
  margin: 0;
}

.faq-list details {
  align-content: start;
}

.faq-list p {
  color: var(--muted);
  line-height: 1.82;
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #353b66;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--brand-dark);
  font-weight: 900;
}

.faq-list details[open] summary::after {
  content: "-";
}

.process-steps p,
.faq-list p,
.impact-grid span {
  color: var(--muted);
  line-height: 1.75;
}

.booking-form label {
  display: grid;
  gap: 7px;
  color: #59619b;
  font-weight: 700;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(205, 211, 243, 0.98);
  border-radius: 14px;
  outline: none;
  background: #fff;
}

.booking-form textarea {
  min-height: 120px;
  resize: vertical;
}

.booking-form fieldset {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(205, 211, 243, 0.98);
  border-radius: 18px;
  background: rgba(248, 249, 255, 0.74);
}

.booking-form legend {
  padding: 0 6px;
  color: #59619b;
  font-weight: 800;
}

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

.check-grid label {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(223, 227, 251, 0.88);
  color: #5f6788;
  font-weight: 700;
}

.check-grid input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--brand);
}

.form-feedback {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 700;
}

.form-feedback.is-error {
  color: #b85a5a;
}

.triage-output {
  position: sticky;
  top: 104px;
}

.triage-output__empty {
  padding: 18px;
  border-radius: 18px;
  background: rgba(238, 240, 255, 0.74);
  color: var(--muted);
  line-height: 1.8;
}

.triage-priority {
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  background: #eef7ec;
  color: #5c8f3e;
  font-size: 13px;
  font-weight: 900;
}

.triage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.triage-tags span {
  padding: 6px 11px;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.triage-summary {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(223, 227, 251, 0.96);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 255, 0.94));
}

.triage-summary h3 {
  margin: 0;
  font-size: 17px;
}

.triage-summary pre {
  margin: 0;
  white-space: pre-wrap;
  color: #5d6687;
  font-family: inherit;
  line-height: 1.8;
}

.triage-summary ul {
  margin: 0;
  padding-left: 18px;
  color: #5d6687;
  line-height: 1.8;
}

.dashboard-toolbar,
.metric-grid,
.dashboard-grid,
.admin-layout,
.publish-flow,
.status-grid {
  display: grid;
  gap: 16px;
}

.dashboard-toolbar {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.dashboard-toolbar label,
.admin-form label {
  display: grid;
  gap: 7px;
  color: #59619b;
  font-weight: 800;
}

.dashboard-toolbar select,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(205, 211, 243, 0.98);
  border-radius: 14px;
  background: #fff;
  outline: none;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-grid article,
.dashboard-card,
.admin-card,
.admin-sidebar {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 247, 255, 0.96));
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(99, 106, 179, 0.07);
}

.metric-grid article {
  padding: 22px;
}

.metric-grid span,
.dashboard-card__head span {
  color: #69708f;
  font-size: 13px;
  font-weight: 800;
}

.metric-grid strong {
  display: block;
  margin: 10px 0 6px;
  color: var(--brand-dark);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
}

.metric-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.dashboard-grid--wide {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.dashboard-card,
.admin-card {
  padding: 24px;
}

.dashboard-card__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}

.dashboard-card__head h2,
.admin-card h2,
.admin-card p {
  margin: 0;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 260px;
}

.bar-chart div {
  display: grid;
  gap: 8px;
  align-content: end;
  min-height: 220px;
}

.bar-chart div::before {
  content: "";
  display: block;
  height: var(--value);
  min-height: 28px;
  border-radius: 14px 14px 8px 8px;
  background: linear-gradient(180deg, #989cf0, #6f75d8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.bar-chart span,
.bar-chart b {
  text-align: center;
  color: #646c8d;
  font-size: 12px;
}

.progress-list {
  display: grid;
  gap: 10px;
}

.progress-list p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: #59619b;
  font-weight: 800;
}

.progress-list div {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef0ff;
}

.progress-list i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7a7edc, #a7cfa0);
}

.demand-table,
.content-table {
  overflow-x: auto;
}

.demand-table table,
.content-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.demand-table th,
.demand-table td,
.content-table th,
.content-table td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(223, 227, 251, 0.9);
  text-align: left;
  color: #5d6687;
  line-height: 1.6;
}

.demand-table th,
.content-table th {
  color: #4f5681;
  font-weight: 900;
  background: rgba(238, 240, 255, 0.62);
}

.content-table span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef7ec;
  color: #5c8f3e;
  font-size: 12px;
  font-weight: 900;
}

.store-heat-list,
.admin-form,
.review-list {
  display: grid;
  gap: 12px;
}

.store-heat-list article {
  padding: 15px;
  border: 1px solid rgba(223, 227, 251, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.store-heat-list strong {
  display: block;
  color: #3f456f;
}

.store-heat-list span {
  display: inline-flex;
  margin: 8px 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.store-heat-list p,
.admin-card p,
.review-list {
  color: var(--muted);
  line-height: 1.8;
}

.admin-layout {
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.admin-sidebar a {
  padding: 12px 14px;
  border-radius: 14px;
  color: #59619b;
  font-weight: 800;
}

.admin-sidebar a:hover {
  background: #eef0ff;
  color: var(--brand-dark);
}

.admin-main {
  display: grid;
  gap: 18px;
}

.admin-form textarea {
  min-height: 110px;
  resize: vertical;
}

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

.publish-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.publish-flow article {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(223, 227, 251, 0.9);
}

.publish-flow strong {
  color: #3f456f;
}

.status-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.status-grid span {
  padding: 10px 12px;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--brand-dark);
  text-align: center;
  font-weight: 900;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0 0;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(238, 240, 255, 0.9);
  color: #5f67a5;
  font-size: 13px;
  font-weight: 700;
}

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

.detail-card {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244, 245, 255, 0.9), rgba(255, 255, 255, 0.98));
  box-shadow: 0 14px 28px rgba(99, 106, 179, 0.06);
  display: grid;
  gap: 10px;
  align-content: start;
}

.detail-card h3,
.detail-card h4 {
  margin: 0;
  line-height: 1.34;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.detail-card ul {
  margin: 0;
  padding-left: 18px;
  color: #606986;
  line-height: 1.85;
  display: grid;
  gap: 8px;
}

.detail-card--soft {
  background: linear-gradient(180deg, rgba(238, 240, 255, 0.92), rgba(255, 255, 255, 0.98));
}

.detail-card--accent {
  background: linear-gradient(180deg, rgba(239, 247, 236, 0.9), rgba(255, 255, 255, 0.98));
}

.tool-list {
  display: grid;
  gap: 14px;
}

.tool-sheet {
  background: linear-gradient(180deg, rgba(244, 245, 255, 0.88), rgba(255, 255, 255, 0.98));
}

.section-body {
  display: grid;
  gap: 18px;
}

.section-panel {
  padding: 22px 24px;
  display: grid;
  gap: 12px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(98, 105, 179, 0.07);
}

.section-panel h2,
.section-panel h3 {
  margin: 0 0 10px;
  line-height: 1.34;
}

.section-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.section-panel ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #606986;
  line-height: 1.82;
}

.section-visual {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(87, 93, 136, 0.24));
  box-shadow: 0 16px 34px rgba(98, 105, 179, 0.07);
}

.section-visual img {
  display: block;
  width: 100%;
  min-height: 340px;
  height: 100%;
  object-fit: cover;
}

.section-visual__content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(223, 227, 251, 0.92);
  box-shadow: 0 14px 30px rgba(88, 94, 148, 0.12);
  backdrop-filter: blur(10px);
}

.section-visual__content h3,
.section-visual__content p {
  margin: 0;
}

.section-visual__content p {
  color: var(--muted);
  line-height: 1.76;
}

.section-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.section-aside {
  display: grid;
  gap: 14px;
}

.section-aside > * {
  min-width: 0;
}

.section-body > *,
.page-grid > *,
.contact-grid > *,
.detail-grid > *,
.news-list > *,
.download-grid > *,
.process-steps > *,
.faq-list > * {
  min-width: 0;
}

.inline-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.inline-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f7f8ff;
  border: 1px solid var(--line);
  color: #66709a;
  font-size: 13px;
  font-weight: 600;
}

.timeline-grid {
  display: grid;
  gap: 18px;
}

.timeline-grid article {
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sticky-help {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(122, 126, 220, 0.18);
  background: rgba(245, 246, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  z-index: 30;
}

.sticky-help span {
  flex: 1 1 260px;
}

.sticky-help div {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.sticky-help a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 245, 255, 0.95));
  border: 1px solid rgba(205, 211, 243, 0.98);
  color: var(--brand-dark);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(109, 114, 220, 0.08);
}

@media (min-width: 761px) {
  .sticky-help {
    display: none;
  }
}

@media (max-width: 1180px) {
  .nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(223, 227, 251, 0.98);
    box-shadow: 0 20px 38px rgba(95, 103, 177, 0.12);
  }

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

  .nav a {
    justify-content: flex-start;
    min-height: 40px;
    padding: 0 14px;
    background: linear-gradient(180deg, rgba(248, 249, 255, 0.98), rgba(242, 244, 255, 0.94));
    border: 1px solid rgba(223, 227, 251, 0.98);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(214, 220, 246, 0.98);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 247, 255, 0.96));
    color: #4e587d;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      0 8px 18px rgba(110, 118, 188, 0.08);
  }

  .header__actions {
    margin-left: auto;
    gap: 8px;
  }

  .header__actions .button {
    min-height: 44px;
    padding-inline: 18px;
  }

  .hero__actions {
    max-width: 500px;
  }

  .hero__actions .button {
    flex: 1 1 180px;
    min-width: 0;
  }

  .hero__grid,
  .two-column,
  .knowledge-layout,
  .guide-layout,
  .store-hero,
  .contact-grid,
  .footer__layout,
  .about-layout,
  .service-layout,
  .grid--4,
  .grid--3,
  .story-split,
  .story-split--reverse,
  .story-gallery {
    grid-template-columns: 1fr 1fr;
  }

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

  .knowledge-columns--compact,
  .tool-grid,
  .page-grid,
  .article-filters,
  .article-list,
  .resource-columns,
  .search-results,
  .news-list,
  .download-grid,
  .event-list,
  .store-locator,
  .process-steps,
  .impact-grid,
  .faq-list,
  .booking-layout,
  .service-standard__grid,
  .knowledge-index,
  .page-utility,
  .related-links__grid,
  .detail-grid,
  .dashboard-toolbar,
  .metric-grid,
  .dashboard-grid,
  .dashboard-grid--wide,
  .publish-flow,
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero__panel h1 {
    max-width: 16ch;
  }

  .photo-card {
    width: 300px;
    min-height: 390px;
  }

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

@media (max-width: 760px) {
  .floating-rail {
    display: none;
  }

  .topbar__inner,
  .topbar__links,
  .header__inner,
  .hero__actions,
  .hero__stats,
  .footer__grid,
  .help-banner,
  .help-banner__actions,
  .sticky-help,
  .sticky-help div,
  .chat-form {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar__inner,
  .header__inner {
    padding: 10px 0;
  }

  .brand {
    min-width: 0;
    width: 100%;
  }

  .brand strong,
  .brand small {
    white-space: normal;
  }

  .header__actions {
    width: 100%;
  }

  .button,
  .menu-toggle {
    width: 100%;
    min-width: 0;
  }

  .hero__grid,
  .two-column,
  .knowledge-layout,
  .guide-layout,
  .store-hero,
  .contact-grid,
  .footer__layout,
  .about-layout,
  .service-layout,
  .grid--4,
  .grid--3,
  .grid--2,
  .story-split,
  .story-split--reverse,
  .story-gallery {
    grid-template-columns: 1fr;
  }

  .hospital-grid,
  .knowledge-columns {
    grid-template-columns: 1fr;
  }

  .knowledge-columns--compact,
  .tool-grid,
  .page-grid,
  .article-filters,
  .article-list,
  .resource-columns,
  .search-results,
  .news-list,
  .download-grid,
  .event-list,
  .store-locator,
  .process-steps,
  .impact-grid,
  .faq-list,
  .booking-layout,
  .service-standard__grid,
  .knowledge-index,
  .page-utility,
  .related-links__grid,
  .detail-grid,
  .dashboard-toolbar,
  .metric-grid,
  .dashboard-grid,
  .dashboard-grid--wide,
  .admin-layout,
  .publish-flow,
  .status-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar,
  .triage-output {
    position: static;
  }

  .bar-chart {
    gap: 8px;
    min-height: 220px;
  }

  .bar-chart div {
    min-height: 180px;
  }

  .dashboard-card__head,
  .admin-actions {
    flex-direction: column;
  }

  .knowledge-filter {
    border-radius: 24px;
  }

  .knowledge-filter a,
  .page-utility__actions,
  .page-utility__actions .button {
    width: 100%;
  }

  .page-utility {
    padding: 18px;
  }

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

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

  .footer__helper {
    min-width: 0;
    width: 100%;
  }

  .photo-card {
    width: 278px;
    min-height: 360px;
  }

  .photo-marquee::before,
  .photo-marquee::after {
    width: 28px;
  }

  .story-visual {
    padding: 14px;
  }

  .story-visual__badge {
    top: 24px;
    left: 24px;
  }

  .story-visual h3 {
    left: 24px;
    right: 24px;
    bottom: 22px;
    font-size: 22px;
  }

  .section {
    padding: 68px 0;
  }

  .hero h1 {
    max-width: none;
  }

  .sticky-help {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

/* Final delivery polish: unified foundation, depth, and responsive rhythm. */
:root {
  --bg: #f6f7ff;
  --surface: #ffffff;
  --surface-strong: #f0f2ff;
  --text: #2d3350;
  --muted: #687096;
  --brand: #777cdd;
  --brand-dark: #545bc5;
  --brand-soft: #eef0ff;
  --accent: #9fc987;
  --accent-soft: #eef7ec;
  --line: rgba(208, 215, 246, 0.9);
  --shadow: 0 24px 64px rgba(79, 88, 160, 0.11);
  --shadow-soft: 0 14px 34px rgba(79, 88, 160, 0.08);
  --radius: 26px;
}

body {
  background:
    radial-gradient(circle at 8% -4%, rgba(119, 124, 221, 0.18), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(159, 201, 135, 0.16), transparent 28%),
    linear-gradient(180deg, #fcfcff 0%, #f6f7ff 42%, #f8f9ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(119, 124, 221, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 124, 221, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
}

.topbar {
  background: linear-gradient(90deg, rgba(238, 240, 255, 0.96), rgba(245, 248, 255, 0.96));
  border-bottom: 1px solid rgba(217, 223, 250, 0.72);
}

.header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px) saturate(1.25);
  box-shadow: 0 18px 44px rgba(74, 83, 154, 0.08);
}

.header__inner {
  min-height: 82px;
}

.brand__mark,
.footer__logo-mark {
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.55), transparent 24%),
    linear-gradient(135deg, #8b90ef 0%, #6c72d7 48%, #9fc987 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 12px 24px rgba(105, 111, 211, 0.2);
}

.nav {
  gap: 6px;
  padding: 7px;
  border-color: rgba(218, 223, 250, 0.98);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 12px 28px rgba(90, 99, 176, 0.08);
}

.nav a {
  min-height: 36px;
  padding: 0 11px;
  font-weight: 700;
  color: #5b638a;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  background: linear-gradient(180deg, #858aeb, #6870d5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 22px rgba(101, 108, 210, 0.18);
}

.button,
.footer__button,
.sticky-help a {
  min-width: max-content;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
  text-wrap: balance;
  border: 0;
  background:
    radial-gradient(circle at 26% 10%, rgba(255, 255, 255, 0.42), transparent 26%),
    linear-gradient(180deg, #9296ef 0%, #7379de 52%, #6269d2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 14px 28px rgba(95, 103, 205, 0.22),
    0 3px 8px rgba(64, 72, 152, 0.1);
}

.button:hover,
.footer__button:hover,
.sticky-help a:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 20px 34px rgba(95, 103, 205, 0.24),
    0 4px 10px rgba(64, 72, 152, 0.12);
}

.button--secondary,
.footer__button--secondary {
  color: #fff;
  background:
    radial-gradient(circle at 26% 10%, rgba(255, 255, 255, 0.36), transparent 26%),
    linear-gradient(180deg, #b8d889 0%, #99c76d 55%, #83b95d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 14px 28px rgba(142, 190, 96, 0.2);
}

.button--ghost,
.footer__button--secondary {
  border: 1px solid rgba(205, 211, 243, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 255, 0.96));
  color: #505a86;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 22px rgba(96, 105, 180, 0.08);
}

.button--ghost:hover,
.footer__button--secondary:hover {
  color: var(--brand-dark);
  background: #fff;
  border-color: rgba(184, 194, 240, 1);
}

.footer__button--primary {
  color: #fff;
}

.button--small {
  min-width: auto;
  padding-inline: 16px;
  white-space: nowrap;
}

.header__actions .button,
.hero__actions .button,
.help-banner__actions .button,
.cta-row .button,
.page-utility__actions .button,
.footer__buttons .footer__button {
  flex: 0 0 auto;
}

.header__actions .button {
  min-width: 88px;
}

.hero__actions .button,
.help-banner__actions .button,
.cta-row .button,
.page-utility__actions .button {
  min-width: 132px;
}

.footer__buttons .footer__button {
  min-width: 140px;
}

.button *,
.footer__button *,
.sticky-help a * {
  min-width: 0;
}

.event-modal .button,
.floating-panel .button,
.sticky-help a {
  min-width: 0;
}

.sticky-help div {
  min-width: 0;
}

/* Header safety: keep the full desktop nav from touching the right edge. */
.brand {
  min-width: 230px;
}

.brand__mark {
  flex: 0 0 46px;
}

.nav {
  flex: 0 1 auto;
  max-width: min(100%, 680px);
}

.nav a {
  padding-inline: 9px;
  font-size: 12.5px;
}

.header__actions {
  gap: 8px;
}

.header__actions .button {
  min-height: 42px;
  padding-inline: 15px;
  font-size: 13px;
}

@media (max-width: 1320px) {
  .nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    max-width: none;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(223, 227, 251, 0.98);
    box-shadow: 0 20px 38px rgba(95, 103, 177, 0.12);
  }

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

  .nav a {
    justify-content: flex-start;
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
    background: linear-gradient(180deg, rgba(248, 249, 255, 0.98), rgba(242, 244, 255, 0.94));
    border: 1px solid rgba(223, 227, 251, 0.98);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(214, 220, 246, 0.98);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 247, 255, 0.96));
    color: #4e587d;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      0 8px 18px rgba(110, 118, 188, 0.08);
  }
}
/* Absolute final visual lock: keep the last polish layer after all legacy overrides. */
.button,
.footer__button,
.footer__helper,
.sticky-help a,
.menu-toggle,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  min-height: 46px;
  padding: 11px 19px;
  border: 1px solid rgba(191, 202, 247, 0.92);
  border-radius: 999px;
  color: #3f4a7d;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94)),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.9), transparent 46%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -10px 18px rgba(122, 141, 220, 0.05),
    0 11px 24px rgba(75, 91, 168, 0.1);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button::before,
.footer__button::before,
.footer__helper::before,
.sticky-help a::before,
.subnav a::before,
.knowledge-filter a::before,
.tool-link::before,
.popular-searches button::before,
.chat-actions button::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.12) 44%, rgba(144, 160, 232, 0.12));
  pointer-events: none;
}

.button:hover,
.footer__button:hover,
.footer__helper:hover,
.sticky-help a:hover,
.subnav a:hover,
.knowledge-filter a:hover,
.tool-link:hover,
.popular-searches button:hover,
.chat-actions button:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 146, 226, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 17px 36px rgba(72, 89, 174, 0.16);
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type {
  border-color: rgba(88, 112, 216, 0.92);
  color: #fff;
  background:
    linear-gradient(135deg, #8f7ee8 0%, #5f7ede 48%, #4d95d9 100%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.5), transparent 44%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -12px 22px rgba(31, 44, 116, 0.14),
    0 18px 39px rgba(75, 93, 185, 0.26);
  text-shadow: 0 1px 8px rgba(34, 47, 120, 0.22);
}

.button:not(.button--ghost):not(.button--secondary):hover,
.footer__button--primary:hover,
.sticky-help a:first-of-type:hover {
  color: #fff;
  background:
    linear-gradient(135deg, #9a8af0 0%, #6987e5 48%, #4fa0df 100%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.56), transparent 44%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 22px 48px rgba(73, 91, 181, 0.32);
}

.button--secondary,
.footer__button--secondary,
.button--ghost,
.footer__helper,
.header__actions .button--ghost {
  color: #50609b;
  border-color: rgba(207, 216, 247, 0.94);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 255, 0.92)),
    radial-gradient(circle at 12% 0%, rgba(239, 235, 255, 0.9), transparent 48%);
}

.button--small,
.article-meta .button--small {
  min-height: 38px;
  padding: 8px 15px;
}

.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.related-card,
.related-links__card,
.side-card,
.guide-sidebar__card,
.article-card,
.download-card,
.news-card,
.faq-card,
.search-result-card,
.page-utility,
.service-desk,
.form-card,
.timeline-card,
.stat-card,
.impact-card,
.process-card {
  border: 1px solid rgba(203, 213, 247, 0.82);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.91) 54%, rgba(240, 246, 255, 0.95)),
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.98), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(238, 235, 255, 0.68), transparent 36%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 19px 48px rgba(72, 88, 158, 0.1);
}

.feature-card:hover,
.service-card:hover,
.support-card:hover,
.story-card:hover,
.event-card:hover,
.knowledge-card:hover,
.store-card:hover,
.guide-card:hover,
.related-card:hover,
.related-links__card:hover,
.download-card:hover,
.news-card:hover {
  border-color: rgba(151, 166, 232, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 25px 60px rgba(69, 86, 164, 0.15);
}

.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 88px) 0 34px;
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at 12% 0%, rgba(210, 203, 255, 0.36), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(127, 172, 237, 0.32), transparent 36%),
    linear-gradient(142deg, #38406f 0%, #4b5799 44%, #587fc5 100%);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.76), transparent 82%);
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  pointer-events: none;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer__brand {
  position: relative;
  padding: clamp(28px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.22), transparent 44%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 28px 70px rgba(19, 27, 78, 0.22);
  backdrop-filter: blur(14px);
}

.footer__logo-mark {
  color: #fff;
  background: linear-gradient(135deg, #ffdf9e 0%, #f9ad69 42%, #8e82ef 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 18px 34px rgba(28, 36, 93, 0.24);
}

.footer__logo h2,
.footer__logo p,
.footer__contact-card h3,
.footer__note a {
  color: rgba(255, 255, 255, 0.96);
}

.footer__intro,
.footer__contact-card p,
.footer__contact-card li,
.footer__note {
  color: rgba(255, 255, 255, 0.74);
}

.footer__socials a,
.footer__social-placeholder {
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.footer__button,
.footer__helper {
  min-height: 48px;
  padding: 12px 19px;
}

.footer__helper {
  width: fit-content;
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.footer__contact-card,
.footer__contact-card.footer__qr {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(154deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.24), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 22px 54px rgba(17, 27, 78, 0.18);
  backdrop-filter: blur(16px);
}

.footer__contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 34%);
  pointer-events: none;
}

.footer__contact-card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 150, 0.2), transparent 68%);
  pointer-events: none;
}

.footer__contact-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.footer__contact-card h3::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd98d, #95d7ff);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.footer__contact-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__contact-card li,
.footer__contact-card p {
  margin: 0;
  line-height: 1.65;
}

.footer__qr {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.footer__qr-box {
  width: 96px;
  height: 96px;
  padding: 9px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 14px 28px rgba(12, 24, 73, 0.18);
}

.footer__qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__note {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.floating-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
}

.floating-rail__buttons {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(200, 209, 246, 0.92);
  border-radius: 28px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 255, 0.8)),
    radial-gradient(circle at 0% 0%, rgba(238, 234, 255, 0.86), transparent 52%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 20px 44px rgba(70, 83, 151, 0.18);
  backdrop-filter: blur(18px);
}

.floating-rail__button {
  width: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 7px 5px;
  border: 1px solid rgba(194, 204, 245, 0.9);
  border-radius: 22px;
  color: #4a5790;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 255, 0.94)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.95), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 22px rgba(75, 91, 166, 0.1);
  cursor: pointer;
}

.floating-rail__button::before {
  content: none;
}

.floating-rail__button:hover,
.floating-rail__button:focus-visible {
  transform: translateX(-3px);
  border-color: rgba(113, 133, 219, 0.94);
  color: #fff;
  background: linear-gradient(135deg, #8878e4, #5f7fe0 56%, #4f9bd9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 16px 30px rgba(75, 91, 178, 0.24);
}

.floating-rail__icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin: 0 auto 3px;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 860;
  background: linear-gradient(135deg, #96a8ff, #7db8e9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.floating-rail__button:hover .floating-rail__icon,
.floating-rail__button:focus-visible .floating-rail__icon {
  background: rgba(255, 255, 255, 0.2);
}

.floating-rail__label {
  display: block;
  max-width: 100%;
  color: inherit;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.1;
  white-space: nowrap;
}

.floating-panel {
  width: min(330px, calc(100vw - 116px));
  padding: 22px;
  border: 1px solid rgba(199, 209, 246, 0.92);
  border-radius: 30px;
  color: #3b446f;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 255, 0.92)),
    radial-gradient(circle at 0% 0%, rgba(239, 235, 255, 0.92), transparent 45%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 26px 64px rgba(62, 77, 152, 0.2);
  backdrop-filter: blur(18px);
}

.floating-panel h3,
.floating-panel__content h3 {
  margin: 0 36px 10px 0;
  color: #303a73;
  font-size: 18px;
  line-height: 1.35;
}

.floating-panel p,
.floating-panel__content p {
  margin: 0 0 8px;
  color: #667099;
  line-height: 1.7;
}

.floating-panel a,
.floating-panel__content a {
  color: #4567c8;
  font-weight: 760;
}

.floating-panel__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(204, 213, 247, 0.92);
  border-radius: 50%;
  color: #566195;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
}

.floating-panel__qr {
  width: 160px;
  height: 160px;
  margin: 2px 0 12px;
  padding: 12px;
  border: 1px solid rgba(207, 216, 248, 0.92);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #f7f9ff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 16px 34px rgba(82, 96, 170, 0.12);
}

.floating-panel__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sticky-help {
  border-top: 1px solid rgba(209, 216, 247, 0.8);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 255, 0.94)),
    radial-gradient(circle at 10% 0%, rgba(241, 237, 255, 0.9), transparent 34%);
  box-shadow: 0 -16px 42px rgba(72, 88, 160, 0.12);
}

.sticky-help span {
  color: #414b78;
  font-weight: 720;
}

@media (min-width: 1181px) {
  .footer__layout {
    display: grid;
    grid-template-columns: minmax(350px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(40px, 5vw, 74px);
    align-items: center;
  }

  .footer__contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  .footer__contact-card,
  .footer__contact-card.footer__qr,
  .footer__contact-card:nth-child(1),
  .footer__contact-card:nth-child(2),
  .footer__contact-card:nth-child(3),
  .footer__contact-card:nth-child(4),
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    min-height: 214px;
    padding: 20px;
  }

  .footer__contact-card:nth-child(5) {
    grid-column: span 2;
    min-height: 164px;
  }
}

@media (max-width: 1180px) {
  .footer__layout {
    display: grid;
    gap: 24px;
  }

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

  .footer__contact-card,
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
    min-height: 0;
    padding: 18px;
  }
}

@media (max-width: 760px) {
  .button,
  .footer__button,
  .footer__helper,
  .sticky-help a,
  .subnav a,
  .knowledge-filter a,
  .tool-link,
  .popular-searches button,
  .chat-actions button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }

  .footer {
    padding-bottom: 112px;
  }

  .footer__brand {
    padding: 22px;
    border-radius: 26px;
  }

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

  .footer__qr {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .footer__qr-box {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }

  .floating-rail {
    right: 10px;
    top: auto;
    bottom: 84px;
    transform: none;
  }

  .floating-rail__buttons {
    gap: 7px;
    padding: 8px;
    border-radius: 23px;
  }

  .floating-rail__button {
    width: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 18px;
  }

  .floating-rail__icon {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .floating-rail__label {
    font-size: 10px;
  }

  .floating-panel {
    width: min(300px, calc(100vw - 88px));
    padding: 18px;
    border-radius: 24px;
  }

  .floating-panel__qr {
    width: 132px;
    height: 132px;
  }
}

/* True final visual lock: placed at the real file end so earlier delivery passes cannot override it. */
@media (min-width: 1181px) {
  .footer__layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(42px, 5vw, 72px);
    align-items: center;
  }

  .footer__contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  .footer__contact-card,
  .footer__contact-card:nth-child(1),
  .footer__contact-card:nth-child(2),
  .footer__contact-card:nth-child(3),
  .footer__contact-card:nth-child(4),
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    min-height: 216px;
  }

  .footer__contact-card:nth-child(5) {
    grid-column: span 2;
    min-height: 160px;
  }
}

.footer__brand {
  min-height: 360px;
  padding: 32px;
  border: 1px solid rgba(211, 217, 248, 0.92);
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.98), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 248, 255, 0.66));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 24px 58px rgba(90, 99, 176, 0.12);
  backdrop-filter: blur(16px);
}

.footer__contact-card {
  min-height: 216px;
  padding: 24px 22px;
  border: 1px solid rgba(210, 216, 248, 0.92);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 255, 0.94) 58%, rgba(241, 244, 255, 0.96)),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.9), transparent 30%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 42px rgba(90, 99, 176, 0.1);
  backdrop-filter: blur(16px);
}

.footer__contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(174, 183, 241, 0.96);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 255, 0.96) 55%, rgba(238, 242, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 24px 52px rgba(90, 99, 176, 0.14);
}

.footer__contact-card ul {
  display: grid;
  gap: 9px;
}

.footer__qr {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
}

.footer__qr-box {
  width: 98px;
  height: 98px;
  border-radius: 22px;
}

.floating-rail {
  right: 18px;
  gap: 12px;
}

.floating-rail__buttons {
  width: 68px;
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(213, 219, 248, 0.8);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(244, 246, 255, 0.58));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 42px rgba(87, 96, 183, 0.14);
  backdrop-filter: blur(16px);
}

.floating-rail__button {
  width: 50px;
  min-height: 50px;
  margin-inline: auto;
  border-radius: 17px;
  background:
    radial-gradient(circle at 30% 14%, rgba(255, 255, 255, 0.58), transparent 31%),
    linear-gradient(180deg, #a4abf2 0%, #7d86e3 58%, #6973d5 100%);
}

.floating-rail__button:hover {
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 1180px) {
  .footer__layout {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    min-height: auto;
  }

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

  .footer__contact-card,
  .footer__contact-card:nth-child(1),
  .footer__contact-card:nth-child(2),
  .footer__contact-card:nth-child(3),
  .footer__contact-card:nth-child(4),
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .footer__contacts {
    grid-template-columns: 1fr;
  }

  .footer__contact-card {
    min-height: auto;
  }

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

/* Final visual lock: footer/contact cards and floating contact rail. */
@media (min-width: 1181px) {
  .footer__layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(42px, 5vw, 72px);
    align-items: center;
  }

  .footer__contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  .footer__contact-card,
  .footer__contact-card:nth-child(1),
  .footer__contact-card:nth-child(2),
  .footer__contact-card:nth-child(3),
  .footer__contact-card:nth-child(4),
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    min-height: 216px;
  }

  .footer__contact-card:nth-child(5) {
    grid-column: span 2;
    min-height: 160px;
  }
}

.footer__brand {
  min-height: 360px;
  padding: 32px;
  border: 1px solid rgba(211, 217, 248, 0.92);
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.98), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 248, 255, 0.66));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 24px 58px rgba(90, 99, 176, 0.12);
  backdrop-filter: blur(16px);
}

.footer__contact-card {
  min-height: 216px;
  padding: 24px 22px;
  border: 1px solid rgba(210, 216, 248, 0.92);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 255, 0.94) 58%, rgba(241, 244, 255, 0.96)),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.9), transparent 30%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 42px rgba(90, 99, 176, 0.1);
  backdrop-filter: blur(16px);
}

.footer__contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(174, 183, 241, 0.96);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 255, 0.96) 55%, rgba(238, 242, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 24px 52px rgba(90, 99, 176, 0.14);
}

.footer__contact-card h3 {
  margin-bottom: 14px;
  color: #6670d8;
}

.footer__contact-card ul {
  display: grid;
  gap: 9px;
}

.footer__qr {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
}

.footer__qr-box {
  width: 98px;
  height: 98px;
  border-radius: 22px;
}

.floating-rail {
  right: 18px;
  gap: 12px;
}

.floating-rail__buttons {
  width: 68px;
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(213, 219, 248, 0.8);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(244, 246, 255, 0.58));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 42px rgba(87, 96, 183, 0.14);
  backdrop-filter: blur(16px);
}

.floating-rail__button {
  width: 50px;
  min-height: 50px;
  margin-inline: auto;
  border-radius: 17px;
  background:
    radial-gradient(circle at 30% 14%, rgba(255, 255, 255, 0.58), transparent 31%),
    linear-gradient(180deg, #a4abf2 0%, #7d86e3 58%, #6973d5 100%);
}

.floating-rail__button:hover {
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 1180px) {
  .footer__layout {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    min-height: auto;
  }

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

  .footer__contact-card,
  .footer__contact-card:nth-child(1),
  .footer__contact-card:nth-child(2),
  .footer__contact-card:nth-child(3),
  .footer__contact-card:nth-child(4),
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .footer__contacts {
    grid-template-columns: 1fr;
  }

  .footer__contact-card {
    min-height: auto;
  }

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

/* Absolute final footer/contact rail override. Keep this after all earlier delivery passes. */
@media (min-width: 1181px) {
  .footer__layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(42px, 5vw, 72px);
    align-items: center;
  }

  .footer__contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  .footer__contact-card,
  .footer__contact-card:nth-child(1),
  .footer__contact-card:nth-child(2),
  .footer__contact-card:nth-child(3),
  .footer__contact-card:nth-child(4),
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
    min-height: 216px;
  }

  .footer__contact-card:nth-child(1) {
    grid-row: span 2;
  }

  .footer__contact-card:nth-child(5) {
    grid-column: span 2;
    min-height: 160px;
  }
}

.footer__brand,
.footer__contact-card {
  backdrop-filter: blur(16px);
}

.footer__brand {
  min-height: 360px;
}

.footer__contact-card {
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.footer__contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(174, 183, 241, 0.96);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 255, 0.96) 55%, rgba(238, 242, 255, 0.98));
}

.footer__contact-card ul {
  display: grid;
  gap: 9px;
}

.footer__contact-card li,
.footer__contact-card p {
  font-size: 15px;
  line-height: 1.74;
}

.floating-rail__buttons {
  width: 68px;
}

.floating-rail__button {
  width: 50px;
  min-height: 50px;
  margin-inline: auto;
}

@media (max-width: 1180px) {
  .footer__layout {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    min-height: auto;
  }

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

  .footer__contact-card,
  .footer__contact-card:nth-child(1),
  .footer__contact-card:nth-child(2),
  .footer__contact-card:nth-child(3),
  .footer__contact-card:nth-child(4),
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .footer__contacts {
    grid-template-columns: 1fr;
  }

  .footer__contact-card {
    min-height: auto;
  }
}

/* Final visual upgrade: more refined charity-institution cards, buttons, footer and contact rail. */
.button,
.footer__button,
.sticky-help a,
.menu-toggle {
  border: 1px solid rgba(119, 126, 221, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 38%),
    linear-gradient(180deg, #9aa1f4 0%, #737be0 52%, #5f68cf 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(65, 72, 158, 0.2),
    0 14px 24px rgba(94, 104, 201, 0.18),
    0 4px 10px rgba(83, 91, 174, 0.1);
}

.button:hover,
.footer__button:hover,
.sticky-help a:hover,
.menu-toggle:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent 36%),
    linear-gradient(180deg, #a8adfa 0%, #7f86e7 52%, #6871d8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(65, 72, 158, 0.22),
    0 18px 30px rgba(94, 104, 201, 0.22),
    0 6px 14px rgba(83, 91, 174, 0.12);
}

.button--secondary,
.footer__button--secondary {
  border-color: rgba(136, 186, 105, 0.38);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent 38%),
    linear-gradient(180deg, #c1df96 0%, #9fcd71 54%, #86ba5e 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(91, 132, 58, 0.2),
    0 14px 24px rgba(135, 181, 92, 0.18);
}

.button--ghost,
.footer__helper,
.menu-toggle {
  border-color: rgba(208, 215, 247, 0.98);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(249, 250, 255, 0.88) 45%, rgba(238, 241, 255, 0.96) 100%);
  color: #505a86;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 12px 22px rgba(99, 108, 190, 0.11);
}

.button--ghost:hover,
.footer__helper:hover,
.menu-toggle:hover {
  color: var(--brand-dark);
  background:
    linear-gradient(135deg, #fff 0%, #f8f9ff 52%, #eef1ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 16px 28px rgba(99, 108, 190, 0.14);
}

.page-card,
.info-card,
.tool-sheet,
.contact-panel,
.map-card,
.service-standard__card,
.related-links__card,
.guide-section,
.guide-sidebar__card,
.knowledge-panel,
.article-card,
.download-card,
.news-item,
.resource-card,
.dashboard-card,
.admin-card,
.booking-form,
.faq-list details,
.process-steps article,
.store-locator__card,
.service-card,
.store-card,
.standard-card,
.story-card,
.event-card,
.panel-card,
.feature-card {
  border-color: rgba(210, 216, 248, 0.88);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 255, 0.94) 55%, rgba(241, 244, 255, 0.98)),
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.8), transparent 32%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 46px rgba(91, 101, 185, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9);
}

.page-card:hover,
.info-card:hover,
.tool-sheet:hover,
.contact-panel:hover,
.map-card:hover,
.service-standard__card:hover,
.related-links__card:hover,
.guide-section:hover,
.guide-sidebar__card:hover,
.knowledge-panel:hover,
.article-card:hover,
.download-card:hover,
.news-item:hover,
.resource-card:hover,
.store-locator__card:hover,
.service-card:hover,
.store-card:hover,
.standard-card:hover,
.story-card:hover,
.event-card:hover,
.panel-card:hover,
.feature-card:hover {
  border-color: rgba(173, 182, 239, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 24px 56px rgba(91, 101, 185, 0.12),
    0 8px 20px rgba(123, 130, 220, 0.08);
}

.footer {
  padding: 64px 0 32px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.96), transparent 24%),
    radial-gradient(circle at 88% 4%, rgba(167, 207, 160, 0.18), transparent 28%),
    linear-gradient(135deg, #eef1ff 0%, #e8ecff 48%, #f3f6ff 100%);
  border-top: 1px solid rgba(211, 217, 248, 0.92);
}

.footer::before {
  inset: auto -8% -48% 42%;
  opacity: 0.9;
}

.footer__layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.54fr);
  gap: 28px;
  align-items: stretch;
}

.footer__brand {
  align-content: center;
  padding: 30px;
  border: 1px solid rgba(211, 217, 248, 0.92);
  border-radius: 32px;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.98), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(246, 248, 255, 0.62));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 24px 58px rgba(90, 99, 176, 0.12);
}

.footer__logo-mark {
  border-radius: 16px;
  background:
    linear-gradient(135deg, #9fa8f5 0%, #737be0 50%, #8bbf75 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 12px 24px rgba(100, 108, 202, 0.2);
}

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

.footer__contact-card {
  position: relative;
  min-height: 168px;
  padding: 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(210, 216, 248, 0.92);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 249, 255, 0.92) 58%, rgba(241, 244, 255, 0.96)),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.9), transparent 30%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 42px rgba(90, 99, 176, 0.1);
}

.footer__contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #858deb, #a7cfa0);
}

.footer__contact-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(126, 134, 226, 0.07);
}

.footer__contact-card:nth-child(1) {
  grid-column: span 2;
}

.footer__contact-card:nth-child(2),
.footer__contact-card:nth-child(3),
.footer__contact-card:nth-child(4) {
  grid-column: span 2;
}

.footer__contact-card:nth-child(5) {
  grid-column: span 3;
  min-height: 150px;
}

.footer__contact-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  color: #6670d8;
  font-size: 20px;
}

.footer__contact-card h3::before {
  content: "";
  display: inline-grid;
  place-items: center;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #858deb, #a7cfa0);
  box-shadow: 0 0 0 5px rgba(126, 134, 226, 0.1);
  vertical-align: 1px;
}

.footer__contact-card ul,
.footer__contact-card p,
.footer__qr {
  position: relative;
  z-index: 1;
}

.footer__qr {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
}

.footer__qr-box {
  width: 98px;
  height: 98px;
  border: 1px solid rgba(196, 204, 244, 0.96);
  border-radius: 22px;
  background:
    linear-gradient(180deg, #fff, #f8f9ff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 12px 24px rgba(99, 108, 190, 0.1);
}

.footer__qr-box img {
  border-radius: 14px;
}

.footer__note {
  margin-top: 26px;
  padding: 18px 22px;
  border: 1px solid rgba(211, 217, 248, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.floating-rail {
  right: 18px;
  gap: 12px;
}

.floating-rail__buttons {
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(213, 219, 248, 0.8);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(244, 246, 255, 0.58));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 42px rgba(87, 96, 183, 0.14);
  backdrop-filter: blur(16px);
}

.floating-rail__button {
  width: 52px;
  min-height: 52px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    radial-gradient(circle at 30% 14%, rgba(255, 255, 255, 0.58), transparent 31%),
    linear-gradient(180deg, #a4abf2 0%, #7d86e3 58%, #6973d5 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 8px 16px rgba(95, 105, 202, 0.2);
}

.floating-rail__button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 12px 22px rgba(95, 105, 202, 0.25);
}

.floating-rail__icon {
  font-size: 17px;
  font-weight: 800;
}

.floating-rail__label {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.95;
}

.floating-panel {
  right: 80px;
}

.floating-panel__content {
  border: 1px solid rgba(211, 217, 248, 0.92);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 24px 58px rgba(86, 96, 178, 0.16);
}

@media (max-width: 980px) {
  .footer__layout {
    grid-template-columns: 1fr;
  }

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

  .footer__contact-card,
  .footer__contact-card:nth-child(1),
  .footer__contact-card:nth-child(2),
  .footer__contact-card:nth-child(3),
  .footer__contact-card:nth-child(4),
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .footer {
    padding-top: 42px;
  }

  .footer__brand {
    padding: 24px;
    border-radius: 26px;
  }

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

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

/* Footer redesign: remove hard white blocks and balance the contact grid. */
.footer {
  padding: clamp(56px, 7vw, 84px) 0 46px;
  background:
    radial-gradient(circle at 12% 18%, rgba(111, 119, 222, 0.2), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(159, 201, 135, 0.13), transparent 26%),
    linear-gradient(135deg, #eef1ff 0%, #e7eafb 48%, #f3f6ff 100%);
}

.footer__layout {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.45fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

.footer__brand {
  position: sticky;
  top: 110px;
  padding: 30px;
  border: 1px solid rgba(208, 215, 246, 0.84);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(239, 242, 255, 0.58)),
    radial-gradient(circle at 18% 8%, rgba(119, 124, 221, 0.12), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 28px 70px rgba(86, 94, 170, 0.1);
}

.footer__logo {
  align-items: flex-start;
}

.footer__logo h2 {
  font-size: 34px;
  letter-spacing: 0;
}

.footer__intro {
  max-width: 460px;
  font-size: 16px;
}

.footer__socials {
  gap: 9px;
}

.footer__socials a,
.footer__social-placeholder {
  min-height: 36px;
  padding-inline: 13px;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(10px);
}

.footer__contacts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.footer__contact-card {
  position: relative;
  min-height: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(208, 215, 246, 0.78);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(239, 242, 255, 0.58)),
    radial-gradient(circle at 92% 8%, rgba(119, 124, 221, 0.1), transparent 32%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 44px rgba(86, 94, 170, 0.08);
}

.footer__contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(119, 124, 221, 0.72), rgba(159, 201, 135, 0.62));
}

.footer__contact-card h3 {
  margin-bottom: 12px;
  color: #5f66d1;
  font-size: 20px;
}

.footer__contact-card p,
.footer__contact-card li {
  color: #5f668a;
}

.footer__qr {
  align-items: start;
}

.footer__qr-box {
  width: 104px;
  height: 104px;
  padding: 8px;
  border: 1px solid rgba(119, 124, 221, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 14px 30px rgba(86, 94, 170, 0.1);
}

.footer__qr-box img {
  border-radius: 15px;
}

.footer__note {
  margin-top: 34px;
  padding: 18px 22px 0;
  border-top-color: rgba(119, 124, 221, 0.16);
  text-align: center;
}

@media (max-width: 1180px) {
  .footer__layout {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    position: static;
  }

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

@media (max-width: 760px) {
  .footer__brand {
    padding: 24px;
    border-radius: 28px;
  }

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

  .footer__contact-card {
    padding: 20px;
  }
}

.section {
  padding: clamp(58px, 7vw, 86px) 0;
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 246, 255, 0.78));
  border-block: 1px solid rgba(223, 227, 251, 0.52);
}

.section-heading {
  margin-bottom: clamp(26px, 4vw, 42px);
}

.section-heading h2,
.story-content h2,
.page-hero__panel h1,
.hero__content h1 {
  color: #282f50;
  letter-spacing: 0;
}

.eyebrow {
  color: #5f66d1;
}

.eyebrow::before {
  width: 28px;
  background: linear-gradient(90deg, #7379de, rgba(159, 201, 135, 0.35));
}

.hero {
  position: relative;
  padding-top: clamp(44px, 6vw, 74px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 28px max(18px, calc((100vw - 1180px) / 2)) auto;
  height: min(520px, 58vw);
  border-radius: 42px;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 20%, rgba(159, 201, 135, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(238, 240, 255, 0.86), rgba(255, 255, 255, 0.44));
  border: 1px solid rgba(223, 227, 251, 0.72);
}

.hero__content {
  padding: clamp(10px, 2vw, 24px) 0;
}

.hero__content h1 {
  max-width: 13ch;
  font-size: clamp(38px, 6.4vw, 64px);
}

.hero__summary {
  color: #5f668a;
}

.panel-card,
.feature-card,
.service-card,
.store-card,
.standard-card,
.story-card,
.event-card,
.illustration-card,
.knowledge-list article,
.service-desk-panel,
.about-card,
.timeline article,
.page-card,
.info-card,
.contact-panel,
.map-card,
.service-standard__card,
.related-links__card,
.section-panel,
.guide-section,
.guide-sidebar__card,
.knowledge-panel,
.hospital-card,
.article-card,
.resource-card,
.search-result-card,
.news-item,
.download-card,
.store-locator__card,
.detail-card,
.metric-grid article,
.dashboard-card,
.admin-card,
.admin-sidebar,
.booking-form,
.faq-list details,
.process-steps article,
.impact-grid article {
  border-color: rgba(216, 222, 249, 0.94);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 255, 0.96));
  box-shadow: var(--shadow-soft);
}

.feature-card,
.page-card,
.hospital-card,
.article-card,
.download-card,
.news-item,
.event-card,
.store-locator__card,
.related-links__card,
.tool-link,
.resource-card,
.story-gallery__card {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.feature-card:hover,
.page-card:hover,
.hospital-card:hover,
.article-card:hover,
.download-card:hover,
.news-item:hover,
.event-card:hover,
.store-locator__card:hover,
.related-links__card:hover,
.tool-link:hover,
.resource-card:hover,
.story-gallery__card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 145, 232, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 26px 58px rgba(82, 91, 167, 0.13);
}

.section--soft {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(223, 227, 251, 0.32);
}

.page-card__body,
.section-panel,
.detail-card,
.news-item,
.download-card,
.event-card,
.store-locator__card,
.contact-panel,
.map-card,
.guide-section,
.guide-sidebar__card {
  position: relative;
}

.page-card__body::before,
.section-panel::before,
.detail-card::before,
.news-item::before,
.download-card::before,
.event-card::before,
.store-locator__card::before,
.contact-panel::before,
.map-card::before,
.guide-section::before,
.guide-sidebar__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(119, 124, 221, 0.14), rgba(255, 255, 255, 0.94));
  pointer-events: none;
}

.page-card__body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.988), rgba(246, 248, 255, 0.98)),
    radial-gradient(circle at top right, rgba(119, 124, 221, 0.06), transparent 34%);
}

.section-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.986), rgba(247, 248, 255, 0.972)),
    radial-gradient(circle at top right, rgba(159, 201, 135, 0.08), transparent 30%);
}

.section-visual {
  border-color: rgba(213, 219, 247, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 22px 42px rgba(89, 97, 175, 0.11);
}

.section-visual__content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 248, 255, 0.86));
  border-color: rgba(223, 227, 251, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 34px rgba(88, 94, 148, 0.14);
}

.news-item,
.download-card,
.event-card,
.store-locator__card {
  gap: 12px;
}

.news-item span,
.download-card span,
.event-card span,
.store-locator__card span {
  background: linear-gradient(180deg, #f2f4ff, #e9ecff);
  border: 1px solid rgba(214, 220, 248, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.button,
.footer__button,
.sticky-help a {
  min-height: 50px;
  padding: 11px 23px;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.48), transparent 26%),
    linear-gradient(180deg, #989cf2 0%, #7a80e1 50%, #676fd5 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -1px 0 rgba(74, 82, 168, 0.16),
    0 14px 28px rgba(95, 103, 205, 0.22),
    0 4px 10px rgba(64, 72, 152, 0.12);
}

.button:hover,
.footer__button:hover,
.sticky-help a:hover {
  background:
    radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.54), transparent 27%),
    linear-gradient(180deg, #9196ef 0%, #737adf 50%, #6169d0 100%);
}

.button--secondary {
  background:
    radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.4), transparent 26%),
    linear-gradient(180deg, #bddc90 0%, #a1cc73 54%, #87bb5e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(106, 146, 54, 0.14),
    0 14px 28px rgba(142, 190, 96, 0.2);
}

.button--ghost,
.footer__button--secondary {
  border: 1px solid rgba(205, 211, 243, 0.98);
  background:
    radial-gradient(circle at 28% 8%, rgba(255, 255, 255, 0.98), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 247, 255, 0.97));
  color: #4f5986;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(212, 217, 245, 0.56),
    0 10px 22px rgba(96, 105, 180, 0.08);
}

.button--small {
  min-height: 42px;
  padding-inline: 15px;
  border-radius: 16px;
}

.page-hero__panel {
  border-color: rgba(216, 222, 249, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 24px 56px rgba(89, 97, 175, 0.12);
}

.footer__contact-card {
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 16px 30px rgba(88, 96, 171, 0.08);
}

.footer__contact-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 20px 36px rgba(88, 96, 171, 0.12);
}

.floating-rail__button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 14%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(180deg, #8e94ee 0%, #7077db 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(68, 74, 150, 0.18),
    0 18px 34px rgba(72, 80, 158, 0.2);
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 168px;
}

.feature-card::before {
  content: "";
  width: 42px;
  height: 42px;
  display: block;
  margin-bottom: 16px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.55), transparent 32%),
    linear-gradient(135deg, rgba(119, 124, 221, 0.96), rgba(159, 201, 135, 0.88));
  box-shadow: 0 12px 24px rgba(101, 108, 210, 0.15);
}

.feature-card:nth-child(1)::before {
  content: "住";
}

.feature-card:nth-child(2)::before {
  content: "指";
}

.feature-card:nth-child(3)::before {
  content: "护";
}

.feature-card:nth-child(4)::before {
  content: "伴";
}

.feature-card::before {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.hero__stats article,
.results-stats article {
  background:
    radial-gradient(circle at 88% 18%, rgba(159, 201, 135, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 255, 0.94));
}

.hero__stats strong,
.impact-grid strong,
.metric-grid strong {
  background: linear-gradient(135deg, #5b61ce, #91bf60);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.story-visual,
.photo-marquee,
.story-gallery__card {
  box-shadow: var(--shadow);
}

.story-visual {
  overflow: hidden;
}

.story-visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  pointer-events: none;
  box-shadow: inset 0 -100px 100px rgba(29, 37, 70, 0.26);
}

.story-visual__badge,
.photo-card__tag,
.story-gallery__card span,
.tag,
.article-card__type,
.article-meta span,
.event-status,
.news-item span,
.download-card span,
.store-locator__card span,
.triage-tags span,
.status-grid span {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.page-hero {
  position: relative;
  padding: clamp(34px, 5vw, 58px) 0 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 42px;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 10%, rgba(119, 124, 221, 0.15), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(159, 201, 135, 0.14), transparent 24%);
}

.page-shell {
  display: grid;
  gap: 14px;
}

.breadcrumb {
  width: fit-content;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(223, 227, 251, 0.78);
  color: #687096;
  font-size: 13px;
}

.page-hero__panel {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 34px;
  border: 1px solid rgba(218, 223, 250, 0.96);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(243, 245, 255, 0.88)),
    radial-gradient(circle at 82% 22%, rgba(159, 201, 135, 0.24), transparent 32%);
  box-shadow: var(--shadow);
}

.page-hero__panel::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(119, 124, 221, 0.18), rgba(159, 201, 135, 0.08) 52%, transparent 68%);
}

.page-hero__panel > * {
  position: relative;
  z-index: 1;
}

.page-hero__panel h1 {
  max-width: 18ch;
  margin: 14px 0 12px;
  font-size: clamp(32px, 5.4vw, 52px);
  line-height: 1.16;
}

.page-hero__english {
  color: rgba(94, 102, 160, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.subnav,
.knowledge-filter,
.article-filters,
.site-search,
.dashboard-toolbar {
  border-color: rgba(216, 222, 249, 0.96);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
}

.subnav a,
.knowledge-filter a,
.inline-tabs a,
.popular-searches button,
.chat-actions button {
  border-color: rgba(216, 222, 249, 0.96);
  background: linear-gradient(180deg, #fff, #f6f7ff);
  box-shadow: 0 8px 18px rgba(90, 99, 176, 0.06);
}

.quick-form input,
.quick-form select,
.chat-form input,
.booking-form input,
.booking-form select,
.booking-form textarea,
.site-search input,
.article-filters select,
.dashboard-toolbar select,
.admin-form input,
.admin-form select,
.admin-form textarea {
  border-color: rgba(202, 210, 246, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 249, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 8px 18px rgba(96, 105, 180, 0.04);
}

.quick-form input:focus,
.quick-form select:focus,
.chat-form input:focus,
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus,
.site-search input:focus,
.article-filters select:focus,
.dashboard-toolbar select:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: rgba(119, 124, 221, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 0 0 4px rgba(119, 124, 221, 0.12),
    0 12px 24px rgba(96, 105, 180, 0.06);
}

.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(119, 124, 221, 0.18), transparent 32%),
    linear-gradient(180deg, #eef0ff, #e8ebfb);
  border-top: 1px solid rgba(208, 215, 246, 0.9);
}

.footer::before {
  content: "";
  position: absolute;
  inset: auto -10% -42% 38%;
  height: 260px;
  border-radius: 50%;
  background: rgba(159, 201, 135, 0.16);
}

.footer > .container {
  position: relative;
}

.footer__contact-card,
.footer__qr-box {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(208, 215, 246, 0.86);
}

.footer__contacts {
  align-items: stretch;
}

.footer__contact-card {
  min-height: 100%;
}

.floating-rail__button {
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 16px 32px rgba(72, 80, 158, 0.18);
}

.floating-panel__content {
  box-shadow: var(--shadow);
}

.event-modal__panel {
  border: 1px solid rgba(223, 227, 251, 0.96);
}

.demand-table table,
.content-table table {
  border-radius: 18px;
  overflow: hidden;
}

.demand-table tr:hover td,
.content-table tr:hover td {
  background: rgba(238, 240, 255, 0.48);
}

.bar-chart div::before {
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.4), transparent 28%),
    linear-gradient(180deg, #8f94ee, #6670d7);
}

.progress-list i {
  background: linear-gradient(90deg, #6971d8, #8d93ee 58%, #9fc987);
}

.admin-sidebar a {
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-sidebar a:hover {
  transform: translateX(2px);
}

@media (max-width: 1180px) {
  .header__inner {
    min-height: 76px;
  }

  .nav {
    gap: 8px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar__inner {
    gap: 8px;
  }

  .header__inner {
    gap: 10px;
  }

  .brand strong {
    font-size: 17px;
  }

  .hero::before {
    inset: 18px 12px auto;
    height: 620px;
    border-radius: 30px;
  }

  .hero__content h1,
  .page-hero__panel h1 {
    max-width: none;
    font-size: clamp(32px, 10vw, 44px);
  }

  .page-hero__panel {
    min-height: 0;
    padding: 26px 22px;
    border-radius: 28px;
  }

  .feature-card,
  .page-card,
  .section-panel,
  .panel-card,
  .dashboard-card,
  .admin-card {
    border-radius: 22px;
  }

  .story-visual h3 {
    font-size: 20px;
  }

  .footer {
    padding-bottom: 126px;
  }

  .footer__buttons,
  .admin-actions,
  .help-banner__actions,
  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .footer__buttons a,
  .admin-actions .button,
  .help-banner__actions .button,
  .cta-row .button {
    width: 100%;
    min-width: 0;
  }
}

/* Final delivery polish */
.header__inner {
  gap: 12px;
}

.brand {
  min-width: 220px;
}

.nav {
  flex: 1 1 auto;
  justify-content: center;
  max-width: 700px;
  gap: 5px;
  padding: 6px;
}

.nav a {
  min-height: 38px;
  padding: 0 10px;
  font-size: 12.5px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.header__actions {
  gap: 8px;
  flex-wrap: nowrap;
}

.header__actions .button {
  min-width: 94px;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.2;
}

.button,
.footer__button,
.sticky-help a {
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  text-wrap: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(74, 82, 168, 0.18),
    0 16px 30px rgba(95, 103, 205, 0.22),
    0 5px 12px rgba(64, 72, 152, 0.12);
}

.button:hover,
.footer__button:hover,
.sticky-help a:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(74, 82, 168, 0.2),
    0 22px 36px rgba(95, 103, 205, 0.24),
    0 7px 16px rgba(64, 72, 152, 0.13);
}

.button--small {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 16px;
  font-size: 13px;
}

.hero__actions,
.help-banner__actions,
.page-utility__actions {
  gap: 12px;
}

.hero__actions .button,
.help-banner__actions .button,
.cta-row .button,
.page-utility__actions .button {
  min-width: 144px;
}

.section-heading {
  margin-bottom: clamp(30px, 4vw, 46px);
}

.section-heading h2,
.story-content h2,
.page-hero__panel h1,
.hero__content h1,
.page-card h3,
.info-card h3,
.tool-sheet h3,
.contact-panel h3,
.map-card h3,
.service-standard__card h3,
.related-links__card h3,
.article-card h3 {
  letter-spacing: 0;
}

.section-heading h2 {
  margin-bottom: 14px;
  line-height: 1.18;
}

.page-hero__panel h1 {
  margin: 12px 0 12px;
  line-height: 1.24;
}

.page-card,
.info-card,
.tool-sheet,
.contact-panel,
.map-card,
.service-standard__card,
.related-links__card,
.guide-section,
.guide-sidebar__card,
.knowledge-panel,
.article-card,
.download-card,
.news-item,
.resource-card,
.dashboard-card,
.admin-card,
.booking-form,
.faq-list details,
.process-steps article,
.impact-grid article {
  gap: 14px;
}

.page-card,
.info-card,
.tool-sheet,
.contact-panel,
.map-card,
.service-standard__card,
.related-links__card {
  padding: 22px 24px;
}

.page-card h3,
.info-card h3,
.tool-sheet h3,
.contact-panel h3,
.map-card h3,
.service-standard__card h3,
.related-links__card h3,
.article-card h3 {
  margin: 0 0 4px;
  line-height: 1.32;
}

.page-card p,
.info-card p,
.tool-sheet p,
.contact-panel p,
.map-card p,
.related-links__card p,
.article-card p {
  line-height: 1.78;
}

.related-links {
  gap: 16px;
}

.related-links__grid {
  gap: 18px;
}

.related-links__card {
  min-height: 100%;
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 18px 36px rgba(93, 102, 178, 0.08);
}

.floating-rail {
  right: 20px;
  gap: 10px;
}

.floating-rail__buttons {
  gap: 10px;
}

.floating-rail__button {
  width: 58px;
  min-height: 58px;
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(68, 74, 150, 0.2),
    0 18px 34px rgba(72, 80, 158, 0.18);
}

.floating-rail__button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(68, 74, 150, 0.22),
    0 22px 38px rgba(72, 80, 158, 0.22);
}

.floating-rail__icon {
  font-size: 18px;
}

.floating-rail__label {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.floating-panel {
  right: 74px;
}

.floating-panel__content {
  padding: 24px 22px 20px;
}

.floating-panel__content h3 {
  margin: 0 0 10px;
  line-height: 1.25;
}

.floating-panel__content p {
  line-height: 1.72;
}

@media (max-width: 1480px) {
  .nav {
    max-width: 650px;
  }

  .nav a {
    padding-inline: 9px;
    font-size: 12px;
  }
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .nav {
    display: flex;
    position: static;
    max-width: 620px;
    flex-direction: row;
    gap: 4px;
    padding: 6px;
    border-radius: 999px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      0 10px 24px rgba(90, 99, 176, 0.08);
  }

  .nav a {
    min-height: 36px;
    justify-content: center;
    padding: 0 8px;
    font-size: 11.5px;
    background: transparent;
    border: 0;
  }

  .header__actions {
    flex-wrap: nowrap;
  }

  .header__actions .button {
    min-width: 84px;
    padding-inline: 12px;
    font-size: 12.5px;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 1320px) {
  .header__actions {
    flex-wrap: wrap;
  }

  .button,
  .footer__button,
  .sticky-help a {
    white-space: normal;
    text-wrap: balance;
  }
}

.hospital-card h4,
.knowledge-column h4,
.guide-section h2,
.guide-sidebar__card h3,
.related-links__card h3,
.article-card h3 {
  letter-spacing: 0;
}

.hospital-card h4,
.knowledge-column h4 {
  font-size: 19px;
  line-height: 1.4;
}

.guide-section h2,
.guide-sidebar__card h3 {
  line-height: 1.3;
}

.subnav a,
.tool-link,
.knowledge-filter a {
  min-height: 42px;
  line-height: 1.3;
}

.page-utility__actions {
  align-items: center;
}

.page-utility__actions .button,
.guide-sidebar__card .button,
.guide-section .button,
.related-links__card .button {
  width: auto;
  min-width: 0;
  max-width: 100%;
}

.guide-sidebar__card .button,
.guide-section .button,
.related-links__card .button {
  align-self: flex-start;
}

/* Delivery pass: interaction polish and touch-safe controls. */
.button,
.footer__button,
.sticky-help a,
.menu-toggle,
.subnav a,
.tool-link,
.knowledge-filter a,
.popular-searches button,
.chat-actions button {
  letter-spacing: 0;
}

.button:focus-visible,
.footer__button:focus-visible,
.nav a:focus-visible,
.menu-toggle:focus-visible,
.floating-rail__button:focus-visible,
.event-modal__close:focus-visible,
.popular-searches button:focus-visible,
.subnav a:focus-visible,
.tool-link:focus-visible,
.knowledge-filter a:focus-visible {
  outline: 3px solid rgba(119, 124, 221, 0.28);
  outline-offset: 3px;
}

.event-status,
.disease-tag,
.article-card__type,
.news-item span,
.download-card span,
.event-card span,
.store-locator__card span,
.tag,
.story-gallery__card span,
.status-grid span {
  letter-spacing: 0;
}

.site-search,
.article-filters,
.knowledge-filter,
.subnav {
  border-radius: 20px;
}

.site-search input,
.article-filters select,
.booking-form input,
.booking-form select,
.booking-form textarea,
.quick-form input,
.quick-form select {
  font-size: 15px;
}

.check-grid label,
.popular-searches button,
.article-filters select,
.site-search input {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.check-grid label:hover,
.popular-searches button:hover {
  border-color: rgba(139, 145, 232, 0.46);
  box-shadow: 0 10px 22px rgba(93, 102, 178, 0.08);
}

.booking-form .button,
.quick-form .button,
.site-search .button {
  min-width: 132px;
}

.event-modal__panel {
  border: 1px solid rgba(216, 222, 249, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 248, 255, 0.98));
}

.event-modal__panel h2 {
  padding-right: 40px;
  line-height: 1.3;
}

.event-modal__close {
  display: inline-grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

.floating-panel__close {
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

@media (max-width: 760px) {
  .site-search,
  .article-filters,
  .page-utility {
    grid-template-columns: 1fr;
  }

  .site-search .button,
  .booking-form .button,
  .quick-form .button,
  .page-utility__actions .button {
    width: 100%;
  }

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

  .floating-rail {
    right: 12px;
  }

  .floating-rail__button {
    width: 54px;
    min-height: 54px;
  }

  .floating-rail__label {
    font-size: 10px;
  }
}

/* Final button containment pass: keep every button-like control visually inside its pill/card. */
.button,
.footer__button,
.footer__helper,
.sticky-help a,
.menu-toggle,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button,
.event-modal__close,
.floating-rail__button {
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  text-align: center;
  vertical-align: middle;
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.menu-toggle {
  min-height: 48px;
  padding-block: 11px;
  overflow: hidden;
}

.button--small,
.article-meta .button--small {
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 999px;
  line-height: 1.2;
}

.subnav {
  align-items: center;
}

.subnav a,
.knowledge-filter a,
.popular-searches button,
.chat-actions button {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: 9px 16px;
  line-height: 1.22;
  white-space: nowrap;
  overflow: hidden;
}

.subnav a {
  min-height: 42px;
  padding: 10px 17px;
}

.tool-link {
  min-height: 58px;
  padding: 14px 18px;
  line-height: 1.28;
  overflow: hidden;
}

.floating-rail__button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7px 5px;
}

.floating-rail__icon,
.floating-rail__label {
  display: block;
  max-width: 100%;
  line-height: 1.1;
  text-align: center;
}

.page-utility__actions,
.cta-row,
.footer__buttons,
.hero__actions,
.help-banner__actions {
  align-items: center;
}

.page-utility__actions .button,
.cta-row .button,
.hero__actions .button,
.help-banner__actions .button,
.guide-sidebar__card .button,
.side-card .button {
  align-self: center;
}

@media (max-width: 760px) {
  .button,
  .footer__button,
  .footer__helper,
  .sticky-help a,
  .menu-toggle {
    min-height: 46px;
    padding-block: 10px;
  }

  .subnav a,
  .knowledge-filter a,
  .popular-searches button,
  .chat-actions button {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 1180px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    max-width: none;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(223, 227, 251, 0.98);
    box-shadow: 0 20px 38px rgba(95, 103, 177, 0.12);
  }

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

  .nav a {
    justify-content: flex-start;
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
    line-height: 1.2;
    background: linear-gradient(180deg, rgba(248, 249, 255, 0.98), rgba(242, 244, 255, 0.94));
    border: 1px solid rgba(223, 227, 251, 0.98);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(214, 220, 246, 0.98);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 247, 255, 0.96));
    color: #4e587d;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      0 8px 18px rgba(110, 118, 188, 0.08);
  }
}

/* True EOF visual lock: final visible polish after all legacy delivery passes. */
/* Final UI elevation lock: whole-site depth, rhythm, and institutional polish. */
:root {
  --ui-ink: #2f3867;
  --ui-body: #5d668e;
  --ui-blue: #5f7ede;
  --ui-lilac: #8f7ee8;
  --ui-sky: #70afe6;
  --ui-shadow: 0 24px 70px rgba(69, 84, 160, 0.12);
  --ui-shadow-hover: 0 30px 86px rgba(65, 82, 165, 0.18);
}

html {
  scroll-padding-top: 108px;
}

body {
  color: var(--ui-body);
  background:
    radial-gradient(circle at 8% 2%, rgba(229, 223, 255, 0.88), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(222, 242, 255, 0.86), transparent 30%),
    radial-gradient(circle at 62% 46%, rgba(255, 246, 231, 0.62), transparent 32%),
    linear-gradient(180deg, #fbfcff 0%, #f5f7ff 44%, #f8fbff 100%);
}

body::before {
  opacity: 0.72;
  background:
    linear-gradient(90deg, rgba(114, 132, 210, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(114, 132, 210, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
}

.container {
  width: min(1180px, calc(100% - 40px));
}

.topbar {
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(90deg, #48528e, #5a72c8 55%, #6aa9dc);
}

.topbar a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration-color: rgba(255, 255, 255, 0.34);
}

.header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 252, 255, 0.78)),
    radial-gradient(circle at 12% 0%, rgba(239, 235, 255, 0.8), transparent 44%);
  border-bottom: 1px solid rgba(205, 216, 248, 0.75);
  box-shadow: 0 18px 48px rgba(67, 83, 155, 0.1);
  backdrop-filter: blur(18px);
}

.header__inner {
  min-height: 78px;
}

.brand {
  border-radius: 22px;
  padding: 8px 10px 8px 8px;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 28px rgba(74, 88, 158, 0.1);
}

.brand__mark {
  background: linear-gradient(135deg, #7e89ee, #62a8df 62%, #f3ba76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 12px 28px rgba(77, 97, 181, 0.24);
}

.brand strong,
.section-heading h2,
.hero__content h1,
.page-hero__panel h1,
.story-content h2,
.section-panel h2,
.section-panel h3,
.page-card h3,
.feature-card h3,
.service-card h3,
.knowledge-card h3,
.store-card h3,
.article-card h3 {
  color: var(--ui-ink);
  letter-spacing: -0.025em;
}

.nav {
  border: 1px solid rgba(207, 216, 248, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 249, 255, 0.66)),
    radial-gradient(circle at 0% 0%, rgba(239, 235, 255, 0.74), transparent 54%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 30px rgba(75, 90, 165, 0.08);
}

.nav a {
  border-radius: 999px;
  color: #516094;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #8f7ee8, #5f7ede 58%, #5ba2d9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 10px 22px rgba(80, 97, 184, 0.2);
  transform: translateY(-1px);
}

.section {
  position: relative;
  padding-block: clamp(56px, 7vw, 92px);
}

.section--soft {
  overflow: hidden;
  border-block: 1px solid rgba(207, 216, 248, 0.34);
  background:
    radial-gradient(circle at 12% 0%, rgba(240, 237, 255, 0.8), transparent 36%),
    radial-gradient(circle at 90% 20%, rgba(227, 245, 255, 0.74), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(247, 250, 255, 0.66));
}

.section-heading {
  position: relative;
  margin-bottom: clamp(24px, 3.2vw, 42px);
}

.section-heading::before,
.story-content::before {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ui-lilac), var(--ui-blue), var(--ui-sky));
  box-shadow: 0 8px 20px rgba(94, 120, 218, 0.2);
}

.section-heading h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
}

.section-heading p,
.hero__summary,
.story-content p,
.section-panel p,
.page-card p,
.feature-card p,
.service-card p,
.knowledge-card p,
.store-card p,
.article-card p {
  color: #667099;
  line-height: 1.8;
}

.hero {
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(54px, 7vw, 86px);
}

.hero::before {
  opacity: 0.9;
  background:
    radial-gradient(circle at 18% 18%, rgba(238, 235, 255, 0.92), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(226, 246, 255, 0.84), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(246, 249, 255, 0.34));
}

.hero__content,
.hero__panel,
.quick-form,
.service-desk,
.page-hero__panel,
.section-panel {
  border: 1px solid rgba(199, 210, 247, 0.8);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.84)),
    radial-gradient(circle at 0% 0%, rgba(239, 235, 255, 0.78), transparent 48%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    var(--ui-shadow);
  backdrop-filter: blur(14px);
}

.hero__content {
  position: relative;
  padding: clamp(26px, 3vw, 40px);
  border-radius: clamp(28px, 4vw, 44px);
}

.hero__content h1 {
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.04;
}

.eyebrow,
.page-hero__panel .eyebrow {
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(190, 202, 247, 0.84);
  border-radius: 999px;
  color: #5570c8;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero__stats article,
.results-stats article,
.impact-card,
.stat-card {
  border: 1px solid rgba(199, 210, 247, 0.76);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 255, 0.76)),
    radial-gradient(circle at 0% 0%, rgba(239, 235, 255, 0.62), transparent 46%);
  box-shadow: 0 16px 42px rgba(74, 90, 165, 0.1);
}

.hero__stats strong,
.results-stats strong {
  color: #516ce0;
}

.page-card,
.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.related-card,
.related-links__card,
.side-card,
.guide-sidebar__card,
.article-card,
.download-card,
.news-card,
.faq-card,
.search-result-card,
.process-card,
.timeline-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.page-card::after,
.feature-card::after,
.service-card::after,
.knowledge-card::after,
.store-card::after,
.article-card::after,
.download-card::after,
.news-card::after {
  content: "";
  position: absolute;
  inset: auto -28px -34px auto;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 126, 232, 0.12), transparent 68%);
  pointer-events: none;
}

.page-card:hover,
.feature-card:hover,
.service-card:hover,
.support-card:hover,
.story-card:hover,
.event-card:hover,
.knowledge-card:hover,
.store-card:hover,
.guide-card:hover,
.related-card:hover,
.related-links__card:hover,
.article-card:hover,
.download-card:hover,
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ui-shadow-hover);
}

.story-split,
.page-grid,
.store-grid,
.knowledge-grid,
.cards-grid,
.article-grid {
  gap: clamp(18px, 2.4vw, 32px);
}

.story-visual,
.section-visual,
.page-hero__panel {
  overflow: hidden;
  border-radius: clamp(28px, 4vw, 44px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 26px 72px rgba(69, 84, 160, 0.16);
}

.story-visual img,
.section-visual img,
.page-hero__panel img,
.story-gallery__card img,
.gallery-card img {
  filter: saturate(1.03) contrast(1.02);
}

input,
select,
textarea {
  border-color: rgba(196, 207, 247, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 20px rgba(74, 90, 165, 0.05);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(95, 126, 222, 0.82);
  box-shadow:
    0 0 0 4px rgba(95, 126, 222, 0.12),
    0 12px 26px rgba(74, 90, 165, 0.08);
  outline: none;
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button {
  min-height: 46px;
  padding-inline: 20px;
  letter-spacing: 0.005em;
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type {
  background:
    linear-gradient(135deg, #957ff0 0%, #627fe0 48%, #51a0dc 100%),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.52), transparent 44%);
}

.floating-rail .floating-rail__buttons .floating-rail__button,
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5),
.floating-rail .floating-rail__buttons .floating-rail__button--top {
  width: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 7px 5px;
  border: 1px solid rgba(194, 204, 245, 0.9);
  border-radius: 22px;
  color: #4a5790;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 255, 0.94)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.95), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 22px rgba(75, 91, 166, 0.1);
}

.floating-rail .floating-rail__buttons .floating-rail__button:hover,
.floating-rail .floating-rail__buttons .floating-rail__button:focus-visible {
  transform: translateX(-3px);
  color: #fff;
  border-color: rgba(113, 133, 219, 0.94);
  background: linear-gradient(135deg, #8878e4, #5f7fe0 56%, #4f9bd9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 16px 30px rgba(75, 91, 178, 0.24);
}

.floating-rail .floating-rail__buttons .floating-rail__button .floating-rail__icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin: 0 auto 3px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #96a8ff, #7db8e9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 32px, 960px);
  }

  .header__inner {
    min-height: 72px;
  }

  .hero__content,
  .hero__panel,
  .page-hero__panel {
    border-radius: 28px;
  }

  .section {
    padding-block: 54px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 560px);
  }

  .section {
    padding-block: 44px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero__content,
  .hero__panel,
  .quick-form,
  .service-desk,
  .page-hero__panel,
  .section-panel,
  .page-card,
  .feature-card,
  .service-card,
  .knowledge-card,
  .store-card,
  .article-card {
    border-radius: 22px;
  }

  .section-heading h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .hero__content h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .floating-rail .floating-rail__buttons .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5),
  .floating-rail .floating-rail__buttons .floating-rail__button--top {
    width: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 18px;
  }
}
.button,
.footer__button,
.footer__helper,
.sticky-help a,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button {
  border-radius: 999px;
  border: 1px solid rgba(190, 202, 247, 0.92);
  color: #405081;
  font-weight: 760;
  line-height: 1.2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94)),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.9), transparent 46%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -10px 18px rgba(122, 141, 220, 0.05),
    0 12px 26px rgba(75, 91, 168, 0.12);
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type {
  border-color: rgba(88, 112, 216, 0.92);
  color: #fff;
  background:
    linear-gradient(135deg, #8f7ee8 0%, #5f7ede 48%, #4d95d9 100%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.5), transparent 44%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -12px 22px rgba(31, 44, 116, 0.14),
    0 18px 39px rgba(75, 93, 185, 0.26);
}

.button:hover,
.footer__button:hover,
.footer__helper:hover,
.sticky-help a:hover,
.subnav a:hover,
.knowledge-filter a:hover,
.tool-link:hover,
.popular-searches button:hover,
.chat-actions button:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 146, 226, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 38px rgba(72, 89, 174, 0.17);
}

.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.related-card,
.related-links__card,
.side-card,
.guide-sidebar__card,
.article-card,
.download-card,
.news-card,
.faq-card,
.search-result-card,
.page-utility,
.service-desk,
.form-card,
.timeline-card,
.stat-card,
.impact-card,
.process-card {
  border: 1px solid rgba(203, 213, 247, 0.82);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.91) 54%, rgba(240, 246, 255, 0.95)),
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.98), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(238, 235, 255, 0.68), transparent 36%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 19px 48px rgba(72, 88, 158, 0.1);
}

.footer {
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at 12% 0%, rgba(210, 203, 255, 0.36), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(127, 172, 237, 0.32), transparent 36%),
    linear-gradient(142deg, #38406f 0%, #4b5799 44%, #587fc5 100%);
}

.footer__brand,
.footer__contact-card,
.footer__contact-card.footer__qr {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(154deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.24), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 22px 54px rgba(17, 27, 78, 0.18);
  backdrop-filter: blur(16px);
}

.footer__logo h2,
.footer__logo p,
.footer__contact-card h3,
.footer__note a {
  color: rgba(255, 255, 255, 0.96);
}

.footer__intro,
.footer__contact-card p,
.footer__contact-card li,
.footer__note {
  color: rgba(255, 255, 255, 0.74);
}

.footer__contact-card {
  overflow: hidden;
  border-radius: 28px;
}

.footer__contact-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.footer__contact-card h3::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd98d, #95d7ff);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.footer__contact-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__qr-box {
  width: 96px;
  height: 96px;
  padding: 9px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 14px 28px rgba(12, 24, 73, 0.18);
}

.floating-rail__buttons {
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(200, 209, 246, 0.92);
  border-radius: 28px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 255, 0.8)),
    radial-gradient(circle at 0% 0%, rgba(238, 234, 255, 0.86), transparent 52%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 20px 44px rgba(70, 83, 151, 0.18);
}

.floating-rail__button {
  width: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 7px 5px;
  border: 1px solid rgba(194, 204, 245, 0.9);
  border-radius: 22px;
  color: #4a5790;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 255, 0.94)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.95), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 22px rgba(75, 91, 166, 0.1);
}

.floating-rail__button:hover,
.floating-rail__button:focus-visible {
  transform: translateX(-3px);
  color: #fff;
  background: linear-gradient(135deg, #8878e4, #5f7fe0 56%, #4f9bd9);
}

.floating-rail__icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin: 0 auto 3px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #96a8ff, #7db8e9);
}

.floating-panel {
  width: min(330px, calc(100vw - 116px));
  padding: 22px;
  border: 1px solid rgba(199, 209, 246, 0.92);
  border-radius: 30px;
  color: #3b446f;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 255, 0.92)),
    radial-gradient(circle at 0% 0%, rgba(239, 235, 255, 0.92), transparent 45%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 26px 64px rgba(62, 77, 152, 0.2);
}

@media (min-width: 1181px) {
  .footer__layout {
    display: grid;
    grid-template-columns: minmax(350px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(40px, 5vw, 74px);
    align-items: center;
  }

  .footer__contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  .footer__contact-card,
  .footer__contact-card:nth-child(1),
  .footer__contact-card:nth-child(2),
  .footer__contact-card:nth-child(3),
  .footer__contact-card:nth-child(4),
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    min-height: 214px;
    padding: 20px;
  }

  .footer__contact-card:nth-child(5) {
    grid-column: span 2;
    min-height: 164px;
  }
}

@media (max-width: 760px) {
  .footer__contacts {
    grid-template-columns: 1fr;
  }

  .footer__contact-card,
  .footer__contact-card:nth-child(5) {
    grid-column: auto;
  }

  .floating-rail__button {
    width: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 18px;
  }
}
/* Final override at EOF: keep text inside buttons, cards, footer, and contact rail. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

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

.container,
.header__inner,
.hero__grid,
.section,
.two-column,
.page-grid,
.knowledge-layout,
.guide-layout,
.footer__layout,
.footer__contacts,
.cards-grid,
.article-grid,
.store-grid,
.feature-grid,
.service-grid {
  min-width: 0;
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.menu-toggle,
.subnav a,
.knowledge-filter a,
.tool-link,
.popular-searches button,
.chat-actions button,
.event-modal .button,
.floating-panel .button,
.booking-form .button,
.quick-form .button,
.site-search .button,
.page-utility__actions .button,
.cta-row .button,
.help-banner__actions .button,
.guide-sidebar__card .button,
.guide-section .button,
.related-links__card .button,
.side-card .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  overflow: hidden;
  text-align: center;
  line-height: 1.24;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
  text-wrap: balance;
}

.header__actions .button,
.nav a,
.footer__buttons .footer__button,
.sticky-help a {
  white-space: nowrap;
  overflow-wrap: normal;
  text-wrap: nowrap;
}

.nav {
  min-width: 0;
  overflow: hidden;
}

.nav a {
  max-width: 100%;
  min-width: 0;
  min-height: 38px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.brand,
.brand strong,
.brand small,
.header__actions,
.header__actions .button {
  min-width: 0;
}

.article-card,
.page-card,
.store-card,
.tool-sheet,
.guide-card,
.feature-card,
.service-card,
.support-card,
.story-card,
.hospital-card,
.knowledge-column,
.footer__brand,
.footer__contact-card,
.floating-panel {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.article-card *,
.page-card *,
.store-card *,
.tool-sheet *,
.guide-card *,
.feature-card *,
.service-card *,
.support-card *,
.story-card *,
.hospital-card *,
.knowledge-column *,
.footer__brand *,
.footer__contact-card *,
.floating-panel * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-card h3,
.page-card h3,
.store-card h3,
.tool-sheet h3,
.guide-card h3,
.feature-card h3,
.service-card h3,
.support-card h3,
.story-card h3,
.hospital-card h4,
.knowledge-column h4,
.footer__contact-card h3 {
  line-height: 1.32;
  text-wrap: balance;
}

.article-card__meta,
.article-card__footer,
.page-card__meta,
.store-card__meta,
.status-grid,
.footer__qr,
.footer__buttons,
.hero__actions,
.help-banner__actions,
.cta-row,
.page-utility__actions {
  min-width: 0;
  max-width: 100%;
}

.footer__qr {
  grid-template-columns: minmax(82px, 96px) minmax(0, 1fr);
}

.footer__qr-box {
  flex: 0 0 auto;
}

.floating-rail {
  max-width: calc(100vw - 24px);
}

.floating-rail__buttons,
.floating-rail__button {
  min-width: 0;
}

.floating-rail__button {
  overflow: hidden;
  text-align: center;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1320px) {
  .nav {
    overflow: visible;
  }

  .nav a {
    justify-content: flex-start;
    white-space: normal;
    text-overflow: clip;
    line-height: 1.22;
  }
}

@media (max-width: 760px) {
  .button,
  .footer__button,
  .footer__helper,
  .sticky-help a,
  .menu-toggle,
  .site-search .button,
  .booking-form .button,
  .quick-form .button,
  .page-utility__actions .button,
  .cta-row .button,
  .help-banner__actions .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-wrap: balance;
  }

  .header__actions .button {
    width: auto;
    white-space: nowrap;
  }

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

  .floating-panel {
    width: min(320px, calc(100vw - 88px));
  }
}
/* Final UI fixes at EOF: keep pill groups inside panels and move feature icons to the right. */
.subnav,
.knowledge-filter,
.article-filters,
.site-search,
.dashboard-toolbar {
  align-items: center;
  min-height: 0;
  height: auto;
  padding: 14px 16px;
  overflow: visible;
}

.subnav,
.knowledge-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subnav a,
.knowledge-filter a,
.inline-tabs a,
.popular-searches button,
.chat-actions button {
  flex: 0 0 auto;
  max-width: 100%;
  min-height: 42px;
  line-height: 1.18;
}

.feature-card {
  position: relative;
  padding: 28px 74px 28px 28px;
}

.feature-card::before {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 0;
  width: 46px;
  height: 46px;
  margin: 0;
  opacity: 0.96;
}

.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .subnav,
  .knowledge-filter {
    padding: 12px;
  }

  .subnav a,
  .knowledge-filter a {
    flex: 1 1 calc(50% - 8px);
    white-space: normal;
  }

  .feature-card {
    padding: 24px 70px 24px 22px;
  }

  .feature-card::before {
    top: 20px;
    right: 18px;
  }
}
/* Final visual refinement at EOF: lighter buttons and stable dark-footer cards. */
.button,
.footer__button,
.footer__helper,
.sticky-help a,
.menu-toggle,
.subnav a,
.knowledge-filter a,
.inline-tabs a,
.tool-link,
.popular-searches button,
.chat-actions button {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(177, 191, 244, 0.78);
  border-radius: 999px;
  color: #52639d;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  white-space: nowrap;
  overflow-wrap: normal;
  text-wrap: nowrap;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 6px 14px rgba(91, 107, 188, 0.08);
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type {
  color: #fff;
  border-color: rgba(125, 151, 230, 0.54);
  background:
    linear-gradient(135deg, #8ea1ee 0%, #6fa6e8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 18px rgba(87, 118, 210, 0.14);
}

.button--secondary,
.footer__button--secondary {
  color: #52639d;
  border-color: rgba(183, 197, 245, 0.84);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 14px rgba(91, 107, 188, 0.07);
}

.button--ghost,
.footer__helper,
.header__actions .button--ghost {
  color: #5b689b;
  border-color: rgba(196, 207, 247, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 255, 0.78));
}

.button:hover,
.footer__button:hover,
.footer__helper:hover,
.sticky-help a:hover,
.subnav a:hover,
.knowledge-filter a:hover,
.inline-tabs a:hover,
.tool-link:hover,
.popular-searches button:hover,
.chat-actions button:hover {
  color: #465993;
  border-color: rgba(150, 170, 236, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 255, 0.94));
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(82, 98, 178, 0.1);
}

.button:not(.button--ghost):not(.button--secondary):hover,
.footer__button--primary:hover,
.sticky-help a:first-of-type:hover {
  color: #fff;
  background:
    linear-gradient(135deg, #8498e8 0%, #64a1e2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 20px rgba(87, 118, 210, 0.16);
}

.button *,
.footer__button *,
.sticky-help a * {
  line-height: inherit;
}

.footer__contact-card,
.footer__contact-card.footer__qr {
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(154deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.16), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(18, 28, 80, 0.14);
}

.footer__contact-card:hover,
.footer__contact-card.footer__qr:hover {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(154deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.18), transparent 42%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 36px rgba(18, 28, 80, 0.16);
}

.footer__contact-card h3,
.footer__contact-card:hover h3,
.footer__contact-card.footer__qr:hover h3 {
  color: rgba(255, 255, 255, 0.96);
}

.footer__contact-card p,
.footer__contact-card li,
.footer__contact-card:hover p,
.footer__contact-card:hover li,
.footer__contact-card.footer__qr:hover p,
.footer__contact-card.footer__qr:hover li {
  color: rgba(255, 255, 255, 0.76);
}

.footer__socials a,
.footer__social-placeholder {
  color: #53639b;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 6px 14px rgba(18, 28, 80, 0.1);
}

@media (max-width: 760px) {
  .button,
  .footer__button,
  .footer__helper,
  .sticky-help a,
  .menu-toggle {
    white-space: normal;
    text-wrap: balance;
  }
}
/* Final social icons: add recognizable channel marks to the footer pills. */
.footer__socials {
  align-items: center;
  gap: 10px;
}

.footer__socials a,
.footer__social-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 13px 7px 9px;
  color: #51619a;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(221, 226, 250, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 16px rgba(16, 27, 77, 0.1);
}

.footer__socials a::before,
.footer__social-placeholder::before {
  content: "";
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 5px 10px rgba(38, 55, 118, 0.16);
}

.footer__socials [aria-label*="服务台"]::before {
  content: "服";
  background: linear-gradient(135deg, #8ea1ee, #6aa7e9);
}

.footer__socials [aria-label*="微信"]::before {
  content: "微";
  background: linear-gradient(135deg, #2dc96f, #18a95a);
}

.footer__socials [aria-label*="小红书"]::before {
  content: "书";
  background: linear-gradient(135deg, #ff6b7a, #d9283d);
}

.footer__socials [aria-label*="抖音"]::before {
  content: "抖";
  background: linear-gradient(135deg, #222b55, #39d4e8 52%, #ff4d73);
}

.footer__socials a:hover,
.footer__social-placeholder:hover {
  color: #43558f;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(202, 211, 248, 0.92);
  transform: translateY(-1px);
}

/* Final redesign: Xiaohongshu contact card and right floating rail. */
.footer__contact-card:nth-child(5) {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 210px;
  padding: 26px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at 90% 12%, rgba(255, 96, 121, 0.28), transparent 34%),
    radial-gradient(circle at 12% 100%, rgba(255, 255, 255, 0.12), transparent 42%);
}

.footer__contact-card:nth-child(5)::after {
  content: "RED";
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.08);
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.footer__contact-card:nth-child(5) h3 {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  font-size: 18px;
}

.footer__contact-card:nth-child(5) h3::before {
  content: "书";
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, #ff7a88 0%, #df2d44 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 12px 24px rgba(161, 42, 70, 0.18);
}

.footer__contact-card:nth-child(5) ul {
  position: relative;
  z-index: 1;
  gap: 10px;
}

.footer__contact-card:nth-child(5) li {
  position: relative;
  padding: 10px 12px 10px 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  line-height: 1.55;
}

.footer__contact-card:nth-child(5) li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ffd1d8;
  box-shadow: 0 0 0 4px rgba(255, 209, 216, 0.12);
}

.floating-rail {
  right: 22px;
  z-index: 30;
}

.floating-rail__buttons {
  display: grid;
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(218, 225, 250, 0.92);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 249, 255, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 42px rgba(52, 69, 136, 0.16);
  backdrop-filter: blur(16px);
}

.floating-rail__button,
.floating-rail .floating-rail__buttons .floating-rail__button {
  width: 62px;
  min-width: 62px;
  min-height: 64px;
  padding: 8px 6px;
  border: 1px solid rgba(214, 222, 250, 0.95);
  border-radius: 22px;
  color: #53639b;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 16px rgba(57, 73, 143, 0.08);
}

.floating-rail__button:hover,
.floating-rail__button:focus-visible,
.floating-rail .floating-rail__buttons .floating-rail__button:hover,
.floating-rail .floating-rail__buttons .floating-rail__button:focus-visible {
  color: #45568e;
  transform: translateX(-3px);
  border-color: rgba(176, 190, 244, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(241, 245, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 12px 24px rgba(57, 73, 143, 0.13);
}

.floating-rail__icon,
.floating-rail .floating-rail__buttons .floating-rail__button .floating-rail__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 5px;
  border-radius: 13px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #90a3ee, #6fa8e8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 8px 14px rgba(77, 102, 190, 0.16);
}

.floating-rail__label {
  display: block;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.floating-rail__button:nth-child(1) .floating-rail__icon {
  background: linear-gradient(135deg, #8ea1ee, #67a8e9);
}

.floating-rail__button:nth-child(2) .floating-rail__icon {
  background: linear-gradient(135deg, #31cb75, #16a65a);
}

.floating-rail__button:nth-child(3) .floating-rail__icon {
  background: linear-gradient(135deg, #6db7ff, #6388ef);
}

.floating-rail__button:nth-child(4) .floating-rail__icon {
  background: linear-gradient(135deg, #ffad6d, #f07441);
}

.floating-rail__button:nth-child(5) .floating-rail__icon {
  background: linear-gradient(135deg, #ff7283, #dd2e45);
}

.floating-rail__button--top .floating-rail__icon {
  background: linear-gradient(135deg, #a7b2d8, #7f8fca);
}

@media (max-width: 760px) {
  .floating-rail {
    right: 12px;
  }

  .floating-rail__buttons {
    padding: 7px;
    gap: 7px;
  }

  .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button {
    width: 54px;
    min-width: 54px;
    min-height: 56px;
    border-radius: 19px;
  }

  .floating-rail__icon,
  .floating-rail .floating-rail__buttons .floating-rail__button .floating-rail__icon {
    width: 26px;
    height: 26px;
    border-radius: 11px;
    font-size: 13px;
  }

  .floating-rail__label {
    font-size: 11px;
  }
}

/* Final redesign: homepage service registration card. */
.hero__panel .panel-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(214, 223, 252, 0.92);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(219, 236, 255, 0.82), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(235, 231, 255, 0.8), transparent 38%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 26px 58px rgba(75, 91, 166, 0.16);
}

.hero__panel .panel-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -76px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 168, 238, 0.22), transparent 68%);
  pointer-events: none;
}

.hero__panel .quick-form__head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.hero__panel .quick-form__head span {
  width: fit-content;
  padding: 6px 11px;
  border: 1px solid rgba(189, 202, 246, 0.8);
  border-radius: 999px;
  color: #6675b2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(245, 248, 255, 0.82);
}

.hero__panel .quick-form__head strong {
  color: #46578e;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero__panel .quick-form__head p {
  max-width: 360px;
  margin: 0;
  color: #68749f;
  font-size: 15px;
  line-height: 1.75;
}

.hero__panel .quick-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero__panel .quick-form label {
  display: grid;
  gap: 8px;
  color: #53618f;
  font-size: 13px;
  font-weight: 800;
}

.hero__panel .quick-form input,
.hero__panel .quick-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 17px;
  border: 1px solid rgba(192, 204, 248, 0.9);
  border-radius: 18px;
  color: #2f3a62;
  font-size: 15px;
  font-weight: 600;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(84, 101, 183, 0.06);
}

.hero__panel .quick-form input::placeholder {
  color: #98a2c6;
  font-weight: 500;
}

.hero__panel .quick-form input:focus,
.hero__panel .quick-form select:focus {
  border-color: rgba(125, 151, 230, 0.86);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(129, 151, 232, 0.14),
    0 10px 20px rgba(84, 101, 183, 0.08);
}

.hero__panel .quick-form .button {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  background:
    linear-gradient(135deg, #8c9ff0 0%, #69a7e9 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 28px rgba(91, 124, 218, 0.2);
}

.hero__panel .quick-form .button:hover {
  color: #fff;
  background:
    linear-gradient(135deg, #8195e9 0%, #5f9fe3 100%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 16px 32px rgba(91, 124, 218, 0.24);
}

.hero__panel .quick-form__note {
  position: relative;
  margin: 2px 0 0;
  padding: 13px 14px 13px 38px;
  border: 1px solid rgba(218, 226, 252, 0.9);
  border-radius: 18px;
  color: #6f7aa5;
  font-size: 12.5px;
  line-height: 1.65;
  background: rgba(246, 249, 255, 0.82);
}

.hero__panel .quick-form__note::before {
  content: "i";
  position: absolute;
  left: 14px;
  top: 15px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  font-style: normal;
  background: linear-gradient(135deg, #9aa8ee, #76b1eb);
}

.hero__panel .quick-form__feedback {
  margin: 0;
}

@media (max-width: 760px) {
  .hero__panel .panel-card {
    padding: 22px;
    border-radius: 26px;
  }

  .hero__panel .quick-form input,
  .hero__panel .quick-form select,
  .hero__panel .quick-form .button {
    min-height: 48px;
  }
}

/* Figma all-pages polish: shared visual system for every public, tool, store, and dashboard page. */
:root {
  --ui-ink: #123333;
  --ui-muted: #526866;
  --ui-soft: #f6fbf8;
  --ui-surface: #ffffff;
  --ui-line: #d8e8e3;
  --ui-primary: #0f675f;
  --ui-primary-2: #2d8f83;
  --ui-accent: #f4a15d;
  --ui-accent-soft: #fff2e6;
  --ui-blue: #446fa6;
  --ui-radius: 8px;
  --ui-shadow: 0 16px 34px rgba(15, 76, 70, 0.08);
  --ui-shadow-soft: 0 10px 24px rgba(15, 76, 70, 0.06);
}

html {
  scroll-padding-top: 96px;
}

body {
  color: var(--ui-ink);
  background:
    linear-gradient(180deg, #f6fbf8 0%, #fbf8f3 48%, #f7fbf9 100%);
}

body::before {
  display: none;
}

.topbar {
  color: #eafff9;
  background: #123b39;
}

.topbar__inner {
  min-height: 38px;
}

.topbar__links a {
  color: rgba(255, 255, 255, 0.84);
}

.header {
  border-bottom: 0;
  background: rgba(246, 251, 248, 0.82);
  backdrop-filter: blur(18px);
}

.header__inner {
  min-height: 74px;
  border: 1px solid rgba(216, 232, 227, 0.92);
  border-radius: var(--ui-radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ui-shadow-soft);
}

.brand {
  min-width: 0;
}

.brand__mark,
.footer__logo-mark {
  border-radius: var(--ui-radius);
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
  box-shadow: 0 10px 20px rgba(15, 103, 95, 0.18);
}

.brand strong,
.footer__logo h2 {
  letter-spacing: 0;
}

.nav {
  gap: 4px;
}

.nav a {
  min-height: 38px;
  border-radius: 999px;
  color: var(--ui-muted);
  font-size: 14px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ui-primary);
  background: #e8f5f0;
}

.menu-toggle {
  display: none;
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.subnav a,
.knowledge-filter a,
.inline-tabs a,
.tool-link,
.popular-searches button,
.chat-actions button,
.event-modal .button,
.floating-panel .button,
.booking-form .button,
.quick-form .button,
.site-search .button,
.page-utility__actions .button,
.cta-row .button,
.help-banner__actions .button,
.guide-sidebar__card .button,
.guide-section .button,
.related-links__card .button,
.side-card .button {
  border-radius: var(--ui-radius);
  letter-spacing: 0;
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type,
.booking-form .button,
.quick-form .button {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
  box-shadow: 0 12px 24px rgba(15, 103, 95, 0.18);
}

.button:not(.button--ghost):not(.button--secondary):hover,
.footer__button--primary:hover,
.sticky-help a:first-of-type:hover,
.booking-form .button:hover,
.quick-form .button:hover {
  color: #fff;
  background: linear-gradient(135deg, #0b5a53, #247f75);
  transform: translateY(-1px);
}

.button--secondary,
.footer__button--secondary {
  color: #7b4f20;
  border-color: rgba(244, 161, 93, 0.45);
  background: var(--ui-accent-soft);
}

.button--ghost,
.footer__helper,
.header__actions .button--ghost {
  color: var(--ui-primary);
  border-color: rgba(15, 103, 95, 0.22);
  background: #edf7f3;
}

.hero {
  min-height: auto;
  padding: clamp(42px, 6vw, 76px) 0 clamp(52px, 6vw, 82px);
}

.hero::before {
  opacity: 0.28;
  filter: saturate(0.86) contrast(0.96);
}

.hero__grid {
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.hero__content,
.hero__panel .panel-card,
.page-hero__panel,
.section-panel,
.service-desk,
.page-utility,
.article-body,
.article-sidebar .side-card {
  border-radius: var(--ui-radius);
  border: 1px solid var(--ui-line);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--ui-shadow);
}

.hero__content {
  padding: clamp(30px, 4vw, 52px);
}

.hero__content h1,
.hero h1,
.page-hero__panel h1 {
  max-width: 920px;
  color: var(--ui-ink);
  letter-spacing: 0;
}

.hero__content h1,
.hero h1 {
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.06;
}

.hero__summary,
.page-hero__panel .hero__summary,
.section-heading p,
.story-content p,
.section-panel p,
.guide-section p,
.article-body p {
  color: var(--ui-muted);
}

.eyebrow,
.article-card__type,
.photo-card__tag,
.store-status,
.event-status,
.status,
.tag,
.page-hero__meta span,
.triage-tags span,
.store-heat-list span {
  border-radius: 999px;
  color: var(--ui-primary);
  background: #e8f5f0;
}

.page-hero {
  padding: clamp(34px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
}

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

.page-shell {
  display: grid;
  gap: 18px;
}

.breadcrumb {
  margin: 0;
  color: #6b817e;
  font-size: 14px;
}

.page-hero__panel {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: clamp(30px, 5vw, 56px);
}

.page-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 58%, rgba(255, 255, 255, 0.62) 100%),
    var(--page-hero-image, none);
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.page-hero__panel::after {
  display: none;
}

.page-hero__panel > * {
  position: relative;
  z-index: 1;
}

.page-hero__panel[data-hero="about"] { --page-hero-image: url("../images/story-origin.jpg"); }
.page-hero__panel[data-hero="community"] { --page-hero-image: url("../images/story-children.jpg"); }
.page-hero__panel[data-hero="contact"] { --page-hero-image: url("../images/marquee-service.jpg"); }
.page-hero__panel[data-hero="events"] { --page-hero-image: url("../images/gallery-activity.jpg"); }
.page-hero__panel[data-hero="knowledge"] { --page-hero-image: url("../images/story-support.jpg"); }
.page-hero__panel[data-hero="stores"] { --page-hero-image: url("../images/gallery-room.jpg"); }
.page-hero__panel[data-hero="tool"] { --page-hero-image: url("../images/marquee-family.jpg"); }
.page-hero__panel[data-hero="tiantan"] { --page-hero-image: url("../images/marquee-room.jpg"); }
.page-hero__panel[data-hero="cancer"] { --page-hero-image: url("../images/story-support.jpg"); }
.page-hero__panel[data-hero="anzhen"] { --page-hero-image: url("../images/gallery-family.jpg"); }
.page-hero__panel[data-hero="fuwai"] { --page-hero-image: url("../images/marquee-service.jpg"); }
.page-hero__panel[data-hero="pku"] { --page-hero-image: url("../images/story-origin.jpg"); }
.page-hero__panel[data-hero="children"] { --page-hero-image: url("../images/story-children.jpg"); }

.page-hero__panel h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.12;
}

.page-hero__english {
  color: rgba(15, 103, 95, 0.52);
  letter-spacing: 0.08em;
}

.subnav,
.knowledge-filter,
.article-filters,
.site-search,
.dashboard-toolbar {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--ui-shadow-soft);
}

.subnav,
.knowledge-filter {
  gap: 8px;
  padding: 8px;
}

.subnav a,
.knowledge-filter a,
.inline-tabs a,
.popular-searches button,
.chat-actions button {
  border-color: transparent;
  background: #edf7f3;
}

.section {
  padding: clamp(46px, 6vw, 84px) 0;
}

.section--compact {
  padding: clamp(28px, 4vw, 52px) 0;
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(236, 247, 242, 0.72), rgba(255, 248, 240, 0.58));
}

.section-heading {
  gap: 12px;
  margin-bottom: clamp(22px, 4vw, 36px);
}

.section-heading h2,
.story-content h2,
.section-panel h2,
.guide-section h2 {
  color: var(--ui-ink);
  letter-spacing: 0;
}

.grid,
.page-grid,
.cards-grid,
.article-grid,
.store-grid,
.feature-grid,
.service-grid,
.download-grid,
.metric-grid {
  gap: 18px;
}

.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.related-card,
.related-links__card,
.side-card,
.guide-sidebar__card,
.article-card,
.download-card,
.news-card,
.faq-card,
.search-result-card,
.page-utility,
.service-desk,
.form-card,
.timeline-card,
.stat-card,
.impact-card,
.process-card,
.page-card,
.tool-sheet,
.contact-panel,
.map-card,
.guide-section,
.dashboard-card,
.metric-grid article,
.booking-form,
.triage-output,
.knowledge-index__feature,
.knowledge-index__list a {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  background: var(--ui-surface);
  box-shadow: var(--ui-shadow-soft);
}

.feature-card::before,
.page-card::before,
.store-card::before,
.article-card::before,
.tool-sheet::before,
.guide-card::before,
.section-panel::before,
.contact-panel::before,
.map-card::before,
.guide-section::before {
  height: 3px;
  background: linear-gradient(90deg, var(--ui-primary), var(--ui-accent));
}

.feature-card:hover,
.page-card:hover,
.story-gallery__card:hover,
.store-card:hover,
.knowledge-card:hover,
.article-card:hover,
.download-card:hover,
.news-card:hover,
.tool-sheet:hover,
.guide-tile:hover,
.contact-panel:hover,
.map-card:hover,
.guide-section:hover,
.dashboard-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ui-shadow);
}

.page-card h3,
.feature-card h3,
.service-card h3,
.support-card h3,
.story-card h3,
.event-card h3,
.knowledge-card h3,
.store-card h3,
.guide-card h3,
.related-card h3,
.related-links__card h3,
.side-card h3,
.guide-sidebar__card h3,
.article-card h3,
.download-card h3,
.news-card h3,
.faq-card h3,
.search-result-card h3,
.tool-sheet h3,
.contact-panel h3,
.map-card h3 {
  color: var(--ui-ink);
  letter-spacing: 0;
}

.page-card p,
.feature-card p,
.service-card p,
.support-card p,
.story-card p,
.event-card p,
.knowledge-card p,
.store-card p,
.guide-card p,
.related-card p,
.related-links__card p,
.side-card p,
.guide-sidebar__card p,
.article-card p,
.download-card p,
.news-card p,
.faq-card p,
.search-result-card p,
.tool-sheet p,
.contact-panel p,
.map-card p {
  color: var(--ui-muted);
}

.photo-card,
.story-visual,
.section-visual,
.story-gallery__card,
.page-card--media,
.gallery-card {
  border-radius: var(--ui-radius);
}

.photo-card {
  min-height: 230px;
  box-shadow: var(--ui-shadow-soft);
}

.photo-card::after {
  background: linear-gradient(180deg, rgba(18, 51, 51, 0.08), rgba(18, 51, 51, 0.62));
}

.section-split,
.story-split,
.help-banner,
.knowledge-index,
.booking-layout,
.store-hero,
.contact-grid,
.dashboard-grid {
  gap: clamp(18px, 3vw, 28px);
}

.help-banner,
.story-split {
  border-radius: var(--ui-radius);
  border: 1px solid var(--ui-line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--ui-shadow-soft);
}

.article-filters,
.dashboard-toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  padding: 14px;
}

.article-filters label,
.dashboard-toolbar label,
.booking-form label {
  color: var(--ui-ink);
  font-weight: 700;
}

.article-filters select,
.dashboard-toolbar select,
.booking-form input,
.booking-form select,
.booking-form textarea,
.quick-form input,
.quick-form select,
.site-search input {
  min-height: 48px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  color: var(--ui-ink);
  background: #fbfdfc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.article-filters select:focus,
.dashboard-toolbar select:focus,
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus,
.quick-form input:focus,
.quick-form select:focus,
.site-search input:focus {
  border-color: rgba(15, 103, 95, 0.58);
  box-shadow: 0 0 0 4px rgba(15, 103, 95, 0.12);
}

.booking-form {
  padding: clamp(22px, 3vw, 34px);
}

.booking-form textarea {
  min-height: 128px;
}

.check-grid {
  gap: 10px;
}

.check-grid label {
  min-height: 44px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  background: #fbfdfc;
}

.check-grid label:hover {
  border-color: rgba(15, 103, 95, 0.42);
  background: #eef8f4;
}

.triage-priority {
  color: #7b4f20;
  background: var(--ui-accent-soft);
}

.article-list {
  gap: 14px;
}

.article-card,
.search-result-card {
  padding: 22px;
}

.article-card__meta,
.article-card__footer,
.page-card__meta,
.store-card__meta,
.status-grid,
.footer__qr,
.footer__buttons,
.hero__actions,
.help-banner__actions,
.cta-row,
.page-utility__actions {
  gap: 10px;
}

.download-card,
.tool-link {
  min-height: 100%;
}

.metric-grid article {
  padding: 22px;
}

.metric-grid strong {
  color: var(--ui-primary);
  letter-spacing: 0;
}

.dashboard-card {
  padding: 24px;
}

.dashboard-card__head {
  gap: 12px;
}

.bar-chart div {
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--ui-primary-2), var(--ui-primary));
}

.progress-list div,
.store-heat-list article {
  border-radius: var(--ui-radius);
}

.progress-list i {
  background: linear-gradient(90deg, var(--ui-primary), var(--ui-accent));
}

.demand-table {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  overflow: auto;
}

.demand-table table {
  min-width: 720px;
}

.demand-table th {
  color: var(--ui-ink);
  background: #edf7f3;
}

.footer {
  color: #dcefeb;
  background: #123b39;
}

.footer::before {
  display: none;
}

.footer__brand,
.footer__contact-card,
.footer__contact-card.footer__qr {
  border-color: rgba(226, 242, 238, 0.14);
  border-radius: var(--ui-radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.footer__intro,
.footer__contact-card p,
.footer__contact-card li,
.footer__note {
  color: rgba(236, 249, 246, 0.76);
}

.footer__contact-card h3,
.footer__note a {
  color: #ffffff;
}

.footer__qr-box {
  border-radius: var(--ui-radius);
}

.floating-rail {
  top: 150px;
  right: max(18px, calc((100vw - 1240px) / 2 - 92px));
}

.floating-rail__buttons {
  border-radius: var(--ui-radius);
  border: 1px solid var(--ui-line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ui-shadow);
}

.floating-rail__button,
.floating-rail .floating-rail__buttons .floating-rail__button,
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5),
.floating-rail .floating-rail__buttons .floating-rail__button--top {
  border-radius: 6px;
  color: var(--ui-ink);
  background: transparent;
}

.floating-rail__button:hover,
.floating-rail__button:focus-visible,
.floating-rail .floating-rail__buttons .floating-rail__button:hover,
.floating-rail .floating-rail__buttons .floating-rail__button:focus-visible {
  color: var(--ui-primary);
  background: #e8f5f0;
}

.floating-rail__icon,
.floating-rail .floating-rail__buttons .floating-rail__button .floating-rail__icon {
  border-radius: 6px;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
}

.floating-panel {
  border-radius: var(--ui-radius);
  border-color: var(--ui-line);
  box-shadow: var(--ui-shadow);
}

@media (max-width: 1180px) {
  .header__inner {
    align-items: center;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    border-radius: var(--ui-radius);
  }

  .hero__grid,
  .store-hero,
  .booking-layout,
  .dashboard-grid,
  .contact-grid,
  .section-split,
  .story-split {
    grid-template-columns: 1fr;
  }

  .article-filters,
  .dashboard-toolbar,
  .metric-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-rail {
    right: 12px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .topbar {
    display: none;
  }

  .header {
    padding: 8px 0;
  }

  .header__inner {
    min-height: 62px;
    padding: 8px 10px;
  }

  .brand small,
  .header__actions {
    display: none;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero__content,
  .hero__panel .panel-card,
  .page-hero__panel,
  .section-panel,
  .service-desk,
  .booking-form,
  .triage-output,
  .dashboard-card {
    padding: 22px;
    border-radius: var(--ui-radius);
  }

  .hero__content h1,
  .hero h1,
  .page-hero__panel h1 {
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.14;
  }

  .page-hero__panel {
    min-height: 0;
  }

  .page-hero__panel::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.84) 100%),
      var(--page-hero-image, none);
    background-size: cover;
    background-position: center;
  }

  .subnav,
  .knowledge-filter {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .subnav a,
  .knowledge-filter a {
    flex: 0 0 auto;
  }

  .article-filters,
  .dashboard-toolbar,
  .metric-grid,
  .download-grid,
  .article-list,
  .knowledge-index,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .button,
  .footer__button,
  .footer__helper,
  .sticky-help a,
  .site-search .button,
  .booking-form .button,
  .quick-form .button,
  .page-utility__actions .button,
  .cta-row .button,
  .help-banner__actions .button {
    width: 100%;
    min-width: 0;
  }

  .floating-rail {
    top: auto;
    right: 10px;
    bottom: 12px;
  }

  .floating-rail__buttons {
    flex-direction: row;
    max-width: calc(100vw - 20px);
    overflow-x: auto;
    padding: 6px;
  }

  .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5),
  .floating-rail .floating-rail__buttons .floating-rail__button--top {
    width: 48px;
    min-width: 48px;
    min-height: 50px;
  }

  .floating-panel {
    right: 10px;
    bottom: 78px;
    width: min(340px, calc(100vw - 20px));
  }
}

/* Figma-inspired UI refresh: calmer medical palette, clearer hierarchy, and tighter homepage rhythm. */
:root {
  --bg: #f6f8f4;
  --surface: #ffffff;
  --surface-strong: #edf6f2;
  --text: #17233a;
  --muted: #607086;
  --brand: #197c84;
  --brand-dark: #105f66;
  --accent: #f5a15d;
  --accent-soft: #fff3e7;
  --line: rgba(151, 173, 181, 0.24);
  --shadow: 0 22px 60px rgba(25, 74, 87, 0.11);
  --radius: 20px;
}

html {
  scroll-padding-top: 96px;
}

body {
  color: var(--text);
  background:
    linear-gradient(180deg, #f7fbf8 0%, #f2f7f4 48%, #f9faf5 100%);
}

.topbar {
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(90deg, #113f4a 0%, #197c84 58%, #e58e4e 100%);
}

.topbar__links a {
  color: rgba(255, 255, 255, 0.9);
}

.header {
  top: 0;
  z-index: 40;
  padding: 14px 0;
  background: rgba(247, 251, 248, 0.74);
  border-bottom: 1px solid rgba(17, 68, 76, 0.08);
  backdrop-filter: blur(18px);
}

.header__inner {
  min-height: 72px;
  padding: 10px 14px;
  border: 1px solid rgba(146, 171, 178, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(23, 68, 81, 0.09);
}

.brand {
  gap: 12px;
}

.brand__mark,
.footer__logo-mark {
  color: #fff;
  background: linear-gradient(135deg, #197c84 0%, #48a87c 58%, #f0a85f 100%);
  box-shadow: 0 12px 24px rgba(25, 124, 132, 0.2);
}

.brand strong {
  color: #17233a;
  letter-spacing: 0;
}

.brand small {
  color: #6c7887;
}

.nav {
  padding: 8px;
  border: 1px solid rgba(151, 173, 181, 0.18);
  border-radius: 999px;
  background: rgba(246, 249, 247, 0.88);
}

.nav a {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #3e5264;
  font-weight: 750;
}

.nav a:hover {
  color: #0f5f66;
  background: #fff;
  box-shadow: 0 8px 18px rgba(25, 124, 132, 0.09);
}

.menu-toggle {
  display: none;
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.subnav a,
.knowledge-filter a,
.inline-tabs a,
.tool-link,
.popular-searches button,
.chat-actions button {
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid rgba(25, 124, 132, 0.16);
  color: #22515b;
  background: linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
  box-shadow: 0 10px 24px rgba(28, 83, 93, 0.08);
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type {
  border-color: rgba(25, 124, 132, 0.1);
  color: #fff;
  background: linear-gradient(135deg, #197c84 0%, #2f9a87 62%, #efa45c 100%);
  box-shadow: 0 16px 30px rgba(25, 124, 132, 0.22);
}

.button--secondary,
.footer__button--secondary {
  color: #7a4a1f;
  border-color: rgba(229, 142, 78, 0.22);
  background: linear-gradient(180deg, #fffaf3 0%, #fff0df 100%);
}

.button--ghost,
.footer__helper,
.header__actions .button--ghost {
  color: #22515b;
  background: rgba(255, 255, 255, 0.72);
}

.button:hover,
.footer__button:hover,
.footer__helper:hover,
.sticky-help a:hover,
.subnav a:hover,
.knowledge-filter a:hover,
.inline-tabs a:hover,
.tool-link:hover,
.popular-searches button:hover,
.chat-actions button:hover {
  border-color: rgba(25, 124, 132, 0.24);
  color: #114c53;
  background: #fff;
  box-shadow: 0 14px 30px rgba(28, 83, 93, 0.12);
}

.button:not(.button--ghost):not(.button--secondary):hover,
.footer__button--primary:hover,
.sticky-help a:first-of-type:hover {
  color: #fff;
  background: linear-gradient(135deg, #146b73 0%, #258e7b 62%, #e58e4e 100%);
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  padding: clamp(42px, 5.6vw, 72px) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 251, 248, 0.98) 0%, rgba(246, 251, 248, 0.9) 52%, rgba(246, 251, 248, 0.58) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(238, 248, 242, 0.3)),
    url("../images/story-origin.jpg") right center / min(54vw, 760px) auto no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(25, 124, 132, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(25, 124, 132, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000, transparent 86%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero__content {
  padding: clamp(26px, 3.4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.83), rgba(255, 255, 255, 0.58));
  box-shadow: 0 28px 70px rgba(25, 74, 87, 0.12);
  backdrop-filter: blur(16px);
}

.hero__content h1,
.hero h1 {
  max-width: 760px;
  margin-top: 18px;
  color: #16243b;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__summary {
  max-width: 680px;
  margin-top: 18px;
  color: #52667b;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.85;
}

.eyebrow,
.hero__content .eyebrow,
.section-heading .eyebrow {
  width: fit-content;
  border-color: rgba(25, 124, 132, 0.18);
  color: #156b73;
  background: rgba(235, 248, 243, 0.86);
}

.page-hero__english {
  color: #c47a3e;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.hero__actions {
  gap: 12px;
}

.hero__stats {
  gap: 14px;
}

.hero__stats article {
  border: 1px solid rgba(25, 124, 132, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(25, 74, 87, 0.08);
}

.hero__stats strong {
  color: #116b73;
}

.hero__stats span {
  color: #657487;
}

.hero__panel .panel-card {
  border-radius: 28px;
  padding: 24px;
  border-color: rgba(25, 124, 132, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 248, 0.94));
  box-shadow: 0 30px 74px rgba(25, 74, 87, 0.14);
}

.hero__panel .quick-form__head {
  gap: 6px;
  margin-bottom: 16px;
}

.hero__panel .quick-form__head strong {
  font-size: clamp(24px, 2.6vw, 30px);
}

.hero__panel .quick-form__head p {
  font-size: 14px;
  line-height: 1.55;
}

.hero__panel .quick-form {
  gap: 10px;
}

.hero__panel .quick-form label {
  gap: 6px;
  font-size: 12.5px;
}

.hero__panel .quick-form__head span {
  color: #156b73;
  border-color: rgba(25, 124, 132, 0.18);
  background: #eef8f4;
}

.hero__panel .quick-form__head strong {
  color: #17233a;
  letter-spacing: 0;
}

.hero__panel .quick-form input,
.hero__panel .quick-form select {
  min-height: 44px;
  padding: 0 14px;
  border-color: rgba(25, 124, 132, 0.14);
  border-radius: 16px;
  background: #fbfdfb;
}

.hero__panel .quick-form input:focus,
.hero__panel .quick-form select:focus {
  border-color: rgba(25, 124, 132, 0.42);
  box-shadow: 0 0 0 4px rgba(25, 124, 132, 0.12);
}

.section {
  padding: clamp(64px, 7vw, 104px) 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(238, 248, 242, 0.64), rgba(255, 255, 255, 0.35));
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  color: #17233a;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading p {
  color: #607086;
  font-size: 17px;
  line-height: 1.8;
}

.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.related-card,
.related-links__card,
.side-card,
.guide-sidebar__card,
.article-card,
.download-card,
.news-card,
.faq-card,
.search-result-card,
.page-utility,
.service-desk,
.form-card,
.timeline-card,
.stat-card,
.impact-card,
.process-card,
.page-card {
  border-color: rgba(25, 124, 132, 0.12);
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbf8 100%);
  box-shadow: 0 18px 48px rgba(28, 83, 93, 0.08);
}

.feature-card:hover,
.page-card:hover,
.story-gallery__card:hover,
.store-card:hover,
.knowledge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 124, 132, 0.22);
  box-shadow: 0 28px 64px rgba(28, 83, 93, 0.13);
}

.feature-card::before {
  background: linear-gradient(135deg, #197c84 0%, #46a77a 100%);
  box-shadow: 0 12px 26px rgba(25, 124, 132, 0.16);
}

.photo-card {
  border-radius: 24px;
  border-color: rgba(25, 124, 132, 0.12);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(16, 48, 56, 0.14), rgba(16, 48, 56, 0.72)),
    url("../images/marquee-room.jpg") center / cover no-repeat;
  box-shadow: 0 20px 46px rgba(28, 83, 93, 0.14);
}

.photo-card--calm {
  background:
    linear-gradient(180deg, rgba(16, 48, 56, 0.12), rgba(16, 48, 56, 0.7)),
    url("../images/marquee-family.jpg") center / cover no-repeat;
}

.photo-card--hope {
  background:
    linear-gradient(180deg, rgba(16, 48, 56, 0.12), rgba(16, 48, 56, 0.68)),
    url("../images/marquee-children.jpg") center / cover no-repeat;
}

.photo-card--trust {
  background:
    linear-gradient(180deg, rgba(16, 48, 56, 0.12), rgba(16, 48, 56, 0.7)),
    url("../images/marquee-service.jpg") center / cover no-repeat;
}

.photo-card h3,
.photo-card p,
.photo-card__tag {
  color: #fff;
}

.photo-card__tag {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
}

.story-split,
.help-banner {
  border: 1px solid rgba(25, 124, 132, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 248, 0.92));
  box-shadow: 0 24px 60px rgba(28, 83, 93, 0.1);
}

.story-visual {
  border-radius: 26px;
  overflow: hidden;
}

.story-visual img,
.story-gallery__card img {
  filter: saturate(1.03) contrast(1.02);
}

.story-visual__badge {
  color: #fff;
  background: linear-gradient(135deg, #197c84, #46a77a);
}

.footer {
  background:
    linear-gradient(135deg, #123943 0%, #145f66 54%, #8c653e 100%);
}

.sticky-help {
  border-color: rgba(25, 124, 132, 0.16);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(28, 83, 93, 0.14);
  backdrop-filter: blur(16px);
}

.floating-rail {
  right: 18px;
  top: clamp(150px, 24vh, 190px);
  transform: none;
}

.floating-rail__buttons {
  border-color: rgba(25, 124, 132, 0.14);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(28, 83, 93, 0.16);
}

.floating-rail__button,
.floating-rail .floating-rail__buttons .floating-rail__button,
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
.floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5),
.floating-rail .floating-rail__buttons .floating-rail__button--top {
  width: 56px;
  min-width: 56px;
  min-height: 58px;
  color: #22515b;
  border-color: rgba(25, 124, 132, 0.12);
  border-radius: 18px;
  background: #fff;
}

.floating-rail__button:hover,
.floating-rail__button:focus-visible,
.floating-rail .floating-rail__buttons .floating-rail__button:hover,
.floating-rail .floating-rail__buttons .floating-rail__button:focus-visible {
  color: #123943;
  transform: translateX(-2px);
  border-color: rgba(25, 124, 132, 0.22);
}

.floating-rail__icon,
.floating-rail .floating-rail__buttons .floating-rail__button .floating-rail__icon,
.floating-rail__button:nth-child(1) .floating-rail__icon,
.floating-rail__button:nth-child(2) .floating-rail__icon,
.floating-rail__button:nth-child(3) .floating-rail__icon,
.floating-rail__button:nth-child(4) .floating-rail__icon,
.floating-rail__button:nth-child(5) .floating-rail__icon,
.floating-rail__button--top .floating-rail__icon {
  background: linear-gradient(135deg, #197c84 0%, #48a87c 100%);
}

@media (max-width: 1320px) {
  .nav {
    border-radius: 20px;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    position: absolute;
    left: 13px;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #22515b;
    box-shadow: 0 7px 0 #22515b;
  }

  .menu-toggle::before {
    top: 14px;
  }

  .menu-toggle::after {
    top: 28px;
    box-shadow: none;
  }

  .hero {
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(246, 251, 248, 0.96) 0%, rgba(246, 251, 248, 0.86) 100%),
      url("../images/story-origin.jpg") center top / cover no-repeat;
  }

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

  .hero__content,
  .hero__panel .panel-card {
    border-radius: 26px;
  }

  .hero__content h1,
  .hero h1 {
    font-size: clamp(34px, 9vw, 50px);
  }
}

@media (max-width: 760px) {
  .header {
    padding: 10px 0;
  }

  .header__inner {
    border-radius: 20px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero__content {
    padding: 24px;
  }

  .hero__actions,
  .help-banner__actions,
  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .floating-rail {
    right: 10px;
    top: 118px;
  }

  .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5),
  .floating-rail .floating-rail__buttons .floating-rail__button--top {
    width: 50px;
    min-width: 50px;
    min-height: 52px;
  }
}
/* Final redesign at EOF: homepage service registration card. */
.hero__panel .panel-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(214, 223, 252, 0.92);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(219, 236, 255, 0.82), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(235, 231, 255, 0.8), transparent 38%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 26px 58px rgba(75, 91, 166, 0.16);
}

.hero__panel .panel-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -76px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 168, 238, 0.22), transparent 68%);
  pointer-events: none;
}

.hero__panel .quick-form__head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.hero__panel .quick-form__head span {
  width: fit-content;
  padding: 6px 11px;
  border: 1px solid rgba(189, 202, 246, 0.8);
  border-radius: 999px;
  color: #6675b2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(245, 248, 255, 0.82);
}

.hero__panel .quick-form__head strong {
  color: #46578e;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero__panel .quick-form__head p {
  max-width: 360px;
  margin: 0;
  color: #68749f;
  font-size: 15px;
  line-height: 1.75;
}

.hero__panel .quick-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero__panel .quick-form label {
  display: grid;
  gap: 8px;
  color: #53618f;
  font-size: 13px;
  font-weight: 800;
}

.hero__panel .quick-form input,
.hero__panel .quick-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 17px;
  border: 1px solid rgba(192, 204, 248, 0.9);
  border-radius: 18px;
  color: #2f3a62;
  font-size: 15px;
  font-weight: 600;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(84, 101, 183, 0.06);
}

.hero__panel .quick-form input::placeholder {
  color: #98a2c6;
  font-weight: 500;
}

.hero__panel .quick-form input:focus,
.hero__panel .quick-form select:focus {
  border-color: rgba(125, 151, 230, 0.86);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(129, 151, 232, 0.14),
    0 10px 20px rgba(84, 101, 183, 0.08);
}

.hero__panel .quick-form .button {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  background:
    linear-gradient(135deg, #8c9ff0 0%, #69a7e9 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 28px rgba(91, 124, 218, 0.2);
}

.hero__panel .quick-form .button:hover {
  color: #fff;
  background:
    linear-gradient(135deg, #8195e9 0%, #5f9fe3 100%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 16px 32px rgba(91, 124, 218, 0.24);
}

.hero__panel .quick-form__note {
  margin-top: 0;
  padding: 10px 12px 10px 34px;
  font-size: 11.5px;
  line-height: 1.55;
}

.hero__panel .quick-form__note::before {
  left: 12px;
  top: 12px;
}

.hero__panel .quick-form .button {
  min-height: 46px;
  border-radius: 16px;
}

.hero__panel .quick-form__note {
  position: relative;
  margin: 2px 0 0;
  padding: 13px 14px 13px 38px;
  border: 1px solid rgba(218, 226, 252, 0.9);
  border-radius: 18px;
  color: #6f7aa5;
  font-size: 12.5px;
  line-height: 1.65;
  background: rgba(246, 249, 255, 0.82);
}

.hero__panel .quick-form__note::before {
  content: "i";
  position: absolute;
  left: 14px;
  top: 15px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  font-style: normal;
  background: linear-gradient(135deg, #9aa8ee, #76b1eb);
}

.hero__panel .quick-form__feedback {
  margin: 0;
}

@media (max-width: 760px) {
  .hero__panel .panel-card {
    padding: 22px;
    border-radius: 26px;
  }

  .hero__panel .quick-form input,
  .hero__panel .quick-form select,
  .hero__panel .quick-form .button {
    min-height: 48px;
  }
}

/* Final all-pages lock: keep the Figma polish layer after older homepage overrides. */
:root {
  --ui-ink: #123333;
  --ui-muted: #526866;
  --ui-line: #d8e8e3;
  --ui-primary: #0f675f;
  --ui-primary-2: #2d8f83;
  --ui-accent: #f4a15d;
  --ui-radius: 8px;
  --ui-shadow: 0 16px 34px rgba(15, 76, 70, 0.08);
  --ui-shadow-soft: 0 10px 24px rgba(15, 76, 70, 0.06);
}

.hero {
  min-height: auto;
  padding: clamp(34px, 4.8vw, 58px) 0 clamp(42px, 5vw, 68px);
}

.hero__grid {
  gap: clamp(22px, 3.2vw, 38px);
  align-items: start;
}

.hero__content,
.hero__panel .panel-card {
  border-radius: var(--ui-radius);
  border-color: var(--ui-line);
  box-shadow: var(--ui-shadow);
}

.hero__content {
  padding: clamp(28px, 3.8vw, 44px);
}

.hero__content h1,
.hero h1 {
  font-size: clamp(40px, 4.9vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero__summary {
  max-width: 760px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
}

.hero__actions {
  gap: 10px;
}

.hero__stats {
  gap: 12px;
}

.hero__stats article {
  border-radius: var(--ui-radius);
  background: rgba(255, 255, 255, 0.84);
}

.hero__panel .panel-card {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 250, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(232, 245, 240, 0.86), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(255, 242, 230, 0.76), transparent 38%);
}

.hero__panel .quick-form__head {
  gap: 6px;
  margin-bottom: 14px;
}

.hero__panel .quick-form__head span {
  border-color: rgba(15, 103, 95, 0.2);
  color: var(--ui-primary);
  background: #e8f5f0;
}

.hero__panel .quick-form__head strong {
  color: var(--ui-ink);
  font-size: clamp(22px, 2.2vw, 27px);
  letter-spacing: 0;
}

.hero__panel .quick-form__head p {
  max-width: none;
  font-size: 13px;
  line-height: 1.55;
}

.hero__panel .quick-form {
  gap: 10px;
}

.hero__panel .quick-form label {
  gap: 6px;
  color: var(--ui-ink);
  font-size: 12px;
}

.hero__panel .quick-form input,
.hero__panel .quick-form select {
  min-height: 42px;
  border-radius: var(--ui-radius);
  border-color: var(--ui-line);
  color: var(--ui-ink);
  font-size: 14px;
  background: #fbfdfc;
}

.hero__panel .quick-form .button {
  min-height: 42px;
  border-radius: var(--ui-radius);
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
  box-shadow: 0 12px 24px rgba(15, 103, 95, 0.16);
}

.hero__panel .quick-form .button:hover {
  background: linear-gradient(135deg, #0b5a53, #247f75);
}

.hero__panel .quick-form__note {
  padding: 9px 12px 9px 34px;
  border-radius: var(--ui-radius);
  color: var(--ui-muted);
  font-size: 11.5px;
  line-height: 1.48;
  background: #f4faf7;
}

.hero__panel .quick-form__note::before {
  top: 10px;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
}

.page-hero__panel,
.section-panel,
.service-desk,
.page-utility,
.article-body,
.article-sidebar .side-card,
.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.related-card,
.related-links__card,
.side-card,
.guide-sidebar__card,
.article-card,
.download-card,
.news-card,
.faq-card,
.search-result-card,
.form-card,
.timeline-card,
.stat-card,
.impact-card,
.process-card,
.page-card,
.tool-sheet,
.contact-panel,
.map-card,
.guide-section,
.dashboard-card,
.metric-grid article,
.booking-form,
.triage-output,
.knowledge-index__feature,
.knowledge-index__list a {
  border-radius: var(--ui-radius);
}

.page-hero__panel h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.floating-rail {
  top: 150px;
}

@media (max-width: 1180px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__content,
  .hero__panel .panel-card {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 20px;
  }

  .hero__content,
  .hero__panel .panel-card {
    padding: 18px;
  }

  .hero__content h1,
  .hero h1,
  .page-hero__panel h1 {
    font-size: clamp(30px, 9.3vw, 40px);
    line-height: 1.14;
  }

  .hero__summary {
    font-size: 15px;
    line-height: 1.65;
  }

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

  .hero__stats article {
    min-height: 72px;
    padding: 14px;
  }

  .hero__panel .quick-form__head {
    margin-bottom: 10px;
  }

  .hero__panel .quick-form__head strong {
    font-size: 22px;
  }

  .hero__panel .quick-form__head p,
  .hero__panel .quick-form__note {
    font-size: 11.5px;
    line-height: 1.45;
  }

  .hero__panel .quick-form {
    gap: 8px;
  }

  .hero__panel .quick-form input,
  .hero__panel .quick-form select,
  .hero__panel .quick-form .button {
    min-height: 42px;
  }

  .floating-rail {
    top: auto;
    bottom: 12px;
  }
}

/* Second-round Figma refinement: tighter task-first layouts. */
.hero {
  padding: 30px 0 46px;
}

.hero__grid {
  gap: 28px;
}

.hero__content {
  padding: 30px;
}

.hero__content h1,
.hero h1 {
  max-width: 780px;
  font-size: 54px;
  line-height: 1.07;
}

.hero__summary {
  max-width: 720px;
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.68;
}

.hero__actions {
  margin-top: 18px;
}

.hero__actions .button {
  min-height: 42px;
  padding: 10px 16px;
}

.hero__stats {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero__stats article {
  min-height: 74px;
  padding: 12px 14px;
  align-content: center;
}

.hero__stats strong {
  font-size: 28px;
  line-height: 1.05;
}

.hero__stats span {
  font-size: 12px;
  line-height: 1.35;
}

.hero__panel .panel-card {
  padding: 18px;
}

.hero__panel .quick-form__head {
  margin-bottom: 12px;
}

.hero__panel .quick-form__head span {
  width: fit-content;
  min-height: 24px;
  padding: 4px 9px;
  font-size: 11px;
}

.hero__panel .quick-form__head strong {
  font-size: 24px;
  line-height: 1.18;
}

.hero__panel .quick-form__head p {
  font-size: 12.5px;
}

.hero__panel .quick-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 10px;
}

.hero__panel .quick-form label {
  min-width: 0;
  font-size: 11.5px;
}

.hero__panel .quick-form input,
.hero__panel .quick-form select {
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  font-size: 13px;
}

.hero__panel .quick-form .button,
.hero__panel .quick-form__note,
.hero__panel .quick-form__feedback {
  grid-column: 1 / -1;
}

.hero__panel .quick-form .button {
  min-height: 40px;
  margin-top: 2px;
}

.hero__panel .quick-form__note {
  margin: 0;
  padding: 8px 10px 8px 30px;
}

.hero__panel .quick-form__note::before {
  left: 10px;
  width: 12px;
  height: 12px;
}

.page-hero {
  padding: 30px 0 34px;
}

.page-hero__panel {
  min-height: 300px;
  padding: 34px;
}

.page-hero__panel h1 {
  max-width: 850px;
  font-size: 46px;
  line-height: 1.1;
}

.page-hero__panel .hero__summary {
  max-width: 760px;
}

.section {
  padding: 46px 0;
}

.booking-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 22px;
}

.booking-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
}

.booking-form label {
  min-width: 0;
  gap: 7px;
  font-size: 13px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  min-width: 0;
  min-height: 42px;
  padding: 9px 12px;
  font-size: 14px;
}

.booking-form fieldset,
.booking-form > label:has(textarea),
.booking-form .button,
.booking-form .form-feedback {
  grid-column: 1 / -1;
}

.booking-form fieldset {
  padding: 14px;
}

.booking-form textarea {
  min-height: 106px;
}

.check-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.check-grid label {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 12.5px;
  line-height: 1.3;
}

.booking-form .button {
  width: min(320px, 100%);
  justify-self: start;
  min-height: 44px;
}

.triage-output {
  position: sticky;
  top: 112px;
  padding: 22px;
}

@media (min-width: 1181px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  }
}

@media (max-width: 1180px) {
  .hero {
    padding: 26px 0 40px;
  }

  .hero__content h1,
  .hero h1 {
    font-size: 44px;
  }

  .hero__panel .quick-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .triage-output {
    position: static;
  }
}

@media (max-width: 860px) {
  .booking-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

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

  .page-hero__panel h1 {
    font-size: 36px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 18px 0 32px;
  }

  .hero__content {
    padding: 18px;
  }

  .hero__content h1,
  .hero h1,
  .page-hero__panel h1 {
    font-size: 30px;
    line-height: 1.15;
  }

  .hero__summary {
    font-size: 15px;
    line-height: 1.58;
  }

  .hero__actions {
    gap: 8px;
  }

  .hero__actions .button {
    min-height: 40px;
    padding: 9px 12px;
  }

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

  .hero__stats article {
    min-height: 64px;
    padding: 10px 8px;
  }

  .hero__stats strong {
    font-size: 22px;
  }

  .hero__stats span {
    font-size: 11px;
  }

  .hero__panel .quick-form {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 20px 0 26px;
  }

  .page-hero__panel {
    min-height: 260px;
    padding: 22px;
  }

  .section {
    padding: 34px 0;
  }

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

@media (max-width: 760px) {
  .hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__actions .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .hero__stats article {
    display: grid;
    min-width: 0;
    min-height: 66px;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .hero__content {
    gap: 9px;
  }

  .hero__content h1,
  .hero h1 {
    font-size: 28px;
  }

  .hero__actions {
    margin-top: 14px;
  }

  .hero__stats {
    margin-top: 14px;
  }
}

@media (max-width: 360px) {
  .check-grid {
    grid-template-columns: 1fr;
  }
}

/* Story cards overflow lock: keep long Chinese copy inside the card. */
.story-split,
.story-split--reverse {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.story-split > *,
.story-content,
.story-visual,
.story-content .eyebrow,
.story-content h2,
.story-content p,
.story-content .cta-row,
.story-visual h3 {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.story-content {
  width: 100%;
  overflow: visible;
}

.story-content h2,
.story-content p,
.story-visual h3 {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.story-content h2 {
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.16;
}

.story-content p {
  line-height: 1.78;
}

@media (max-width: 1180px) {
  .container {
    max-width: calc(100vw - 28px);
  }

  .story-split,
  .story-split--reverse {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .story-content,
  .story-visual {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .story-split,
  .story-split--reverse {
    border-radius: 24px;
  }

  .story-content {
    padding: 0;
  }

  .story-content h2 {
    font-size: clamp(26px, 7.4vw, 34px);
    line-height: 1.18;
  }
}

/* Global UI refinement layer: calmer hierarchy, stronger cards, safer wrapping. */
:root {
  --polish-ink: #123637;
  --polish-muted: #54706e;
  --polish-soft: #f4faf7;
  --polish-surface: rgba(255, 255, 255, 0.94);
  --polish-line: rgba(190, 219, 213, 0.86);
  --polish-primary: #0f766d;
  --polish-primary-dark: #0b5f58;
  --polish-accent: #e9a35d;
  --polish-radius: 8px;
  --polish-shadow: 0 18px 40px rgba(23, 86, 80, 0.1);
  --polish-shadow-soft: 0 10px 24px rgba(23, 86, 80, 0.07);
}

html {
  background: #f4faf7;
}

body {
  color: var(--polish-ink);
  background:
    linear-gradient(180deg, rgba(244, 250, 247, 0.96), rgba(250, 253, 251, 1) 42%, rgba(246, 250, 248, 1));
}

body,
main,
section,
article,
aside,
div,
h1,
h2,
h3,
h4,
p,
li,
a,
span,
label,
button {
  min-width: 0;
}

h1,
h2,
h3,
h4,
p,
li,
a,
span,
label,
button,
summary {
  overflow-wrap: anywhere;
  word-break: normal;
}

.container {
  width: min(1180px, calc(100vw - 32px));
  max-width: min(1180px, calc(100vw - 32px));
}

.header {
  background: rgba(246, 251, 248, 0.82);
  border-bottom: 1px solid rgba(197, 222, 217, 0.74);
  backdrop-filter: blur(18px);
}

.header__inner {
  border: 1px solid rgba(197, 222, 217, 0.58);
  border-radius: var(--polish-radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(24, 86, 80, 0.06);
}

.nav a {
  border-radius: 7px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--polish-primary-dark);
  background: rgba(232, 245, 240, 0.92);
}

.button,
.footer__button,
.sticky-help a,
.menu-toggle {
  border-radius: var(--polish-radius);
  letter-spacing: 0;
  text-align: center;
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary {
  border-color: rgba(15, 118, 109, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(135deg, var(--polish-primary), #43a37d);
  box-shadow: 0 14px 28px rgba(15, 118, 109, 0.18);
}

.button--secondary,
.footer__button--secondary {
  border-color: rgba(233, 163, 93, 0.34);
  color: #7b4a20;
  background: linear-gradient(135deg, #fff7ef, #fbe5ce);
  box-shadow: 0 12px 22px rgba(174, 111, 54, 0.1);
}

.button--ghost,
.footer__helper,
.menu-toggle {
  border-color: var(--polish-line);
  color: var(--polish-primary-dark);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 20px rgba(23, 86, 80, 0.06);
}

.button:hover,
.footer__button:hover,
.sticky-help a:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
}

.section {
  padding: clamp(42px, 5.2vw, 70px) 0;
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(232, 245, 240, 0.58), rgba(249, 253, 251, 0.9));
}

.section-heading {
  max-width: 860px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.section-heading h2,
.section-panel h2,
.article-body h2,
.guide-section h2,
.page-utility h2 {
  color: var(--polish-ink);
  letter-spacing: 0;
  line-height: 1.16;
}

.section-heading p,
.section-panel p,
.article-body p,
.guide-section p,
.page-utility p,
.hero__summary {
  color: var(--polish-muted);
}

.eyebrow,
.page-hero__panel .eyebrow,
.section-heading .eyebrow,
.story-content .eyebrow {
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(15, 118, 109, 0.18);
  border-radius: 999px;
  color: var(--polish-primary-dark);
  background: rgba(232, 245, 240, 0.82);
  letter-spacing: 0;
}

.page-hero {
  padding: clamp(26px, 4vw, 48px) 0 clamp(30px, 4vw, 52px);
}

.page-hero__panel {
  min-height: clamp(260px, 32vw, 390px);
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--polish-line);
  border-radius: var(--polish-radius);
  box-shadow: var(--polish-shadow);
}

.page-hero__panel::after {
  background:
    linear-gradient(90deg, rgba(12, 64, 64, 0.82), rgba(12, 64, 64, 0.52) 54%, rgba(12, 64, 64, 0.28));
}

.page-hero__panel h1 {
  max-width: 900px;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.08;
}

.page-hero__english,
.hero__content .page-hero__english {
  color: rgba(15, 118, 109, 0.68);
  letter-spacing: 0.08em;
}

.page-hero__meta,
.article-meta,
.subnav,
.status-grid,
.article-card__meta,
.page-card__meta,
.store-card__meta {
  gap: 8px;
}

.page-hero__meta span,
.article-meta span,
.subnav a,
.status-grid span,
.article-card__meta span,
.page-card__meta span,
.store-card__meta span {
  border-radius: 7px;
  border-color: rgba(197, 222, 217, 0.82);
  background: rgba(255, 255, 255, 0.78);
}

.page-card,
.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.related-card,
.related-links__card,
.side-card,
.guide-sidebar__card,
.article-card,
.download-card,
.news-card,
.faq-card,
.search-result-card,
.form-card,
.timeline-card,
.stat-card,
.impact-card,
.process-card,
.tool-sheet,
.contact-panel,
.map-card,
.guide-section,
.dashboard-card,
.metric-grid article,
.section-panel,
.service-desk,
.page-utility,
.article-body,
.booking-form,
.triage-output,
.knowledge-index__feature,
.knowledge-index__list a,
.detail-card,
.admin-card,
.store-locator__card,
.visual-card {
  border: 1px solid var(--polish-line);
  border-radius: var(--polish-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 251, 0.94));
  box-shadow: var(--polish-shadow-soft);
}

.page-card--media,
.contact-panel--media,
.map-card--media,
.story-visual,
.section-visual,
.photo-card,
.gallery-card,
.story-gallery__card {
  overflow: hidden;
}

.page-card__media,
.section-visual img,
.story-visual img,
.story-gallery__card img {
  width: 100%;
  object-fit: cover;
}

.page-card:hover,
.feature-card:hover,
.service-card:hover,
.support-card:hover,
.story-card:hover,
.event-card:hover,
.knowledge-card:hover,
.store-card:hover,
.guide-card:hover,
.article-card:hover,
.download-card:hover,
.news-card:hover,
.tool-sheet:hover,
.contact-panel:hover,
.map-card:hover,
.guide-section:hover,
.dashboard-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 109, 0.24);
  box-shadow: var(--polish-shadow);
}

.page-card h3,
.feature-card h3,
.service-card h3,
.support-card h3,
.story-card h3,
.event-card h3,
.knowledge-card h3,
.store-card h3,
.guide-card h3,
.article-card h3,
.download-card h3,
.news-card h3,
.faq-card h3,
.tool-sheet h3,
.contact-panel h3,
.map-card h3,
.dashboard-card h3,
.guide-sidebar__card h3 {
  color: var(--polish-ink);
  letter-spacing: 0;
  line-height: 1.28;
}

.page-card p,
.feature-card p,
.service-card p,
.support-card p,
.story-card p,
.event-card p,
.knowledge-card p,
.store-card p,
.guide-card p,
.article-card p,
.download-card p,
.news-card p,
.faq-card p,
.tool-sheet p,
.contact-panel p,
.map-card p,
.dashboard-card p,
.guide-sidebar__card p {
  color: var(--polish-muted);
  line-height: 1.72;
}

.story-split,
.story-split--reverse,
.help-banner,
.section-split,
.store-hero,
.contact-grid,
.dashboard-grid,
.knowledge-index,
.booking-layout,
.guide-layout,
.article-layout,
.page-grid,
.tool-grid,
.download-grid,
.event-list,
.news-list,
.store-locator,
.process-steps,
.impact-grid,
.faq-list,
.metric-grid,
.status-grid,
.service-standard__grid,
.knowledge-columns,
.related-links__grid {
  gap: clamp(16px, 2.6vw, 28px);
}

.story-split,
.story-split--reverse,
.help-banner {
  padding: clamp(18px, 3vw, 32px);
  border-radius: var(--polish-radius);
}

.story-content {
  gap: 14px;
}

.story-content h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.story-content p {
  max-width: 76ch;
}

.cta-row,
.help-banner__actions,
.page-utility__actions,
.admin-actions,
.dashboard-card__head {
  gap: 10px;
}

.cta-row .button,
.help-banner__actions .button,
.page-utility__actions .button,
.guide-sidebar__card .button,
.guide-section .button,
.related-links__card .button,
.side-card .button {
  min-width: 0;
}

input,
select,
textarea,
.site-search input,
.booking-form input,
.booking-form select,
.booking-form textarea,
.quick-form input,
.quick-form select,
.article-filters select,
.dashboard-toolbar select {
  border-radius: var(--polish-radius);
  border-color: var(--polish-line);
  color: var(--polish-ink);
  background: rgba(255, 255, 255, 0.92);
}

input:focus,
select:focus,
textarea:focus,
.site-search input:focus,
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus,
.quick-form input:focus,
.quick-form select:focus {
  border-color: rgba(15, 118, 109, 0.58);
  box-shadow: 0 0 0 4px rgba(15, 118, 109, 0.12);
}

.check-grid label,
.faq-list details,
.detail-card,
.guide-tile,
.service-standard__card,
.timeline-grid article {
  border-radius: var(--polish-radius);
  border-color: var(--polish-line);
  background: rgba(255, 255, 255, 0.86);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

th,
td {
  border-bottom: 1px solid rgba(197, 222, 217, 0.7);
}

thead th {
  color: var(--polish-ink);
  background: rgba(232, 245, 240, 0.76);
}

.article-body,
.guide-section {
  font-size: 16px;
  line-height: 1.82;
}

.article-body h2,
.article-body h3,
.guide-section h2,
.guide-section h3 {
  scroll-margin-top: 96px;
}

.article-body blockquote,
.guide-note {
  border-left: 3px solid var(--polish-primary);
  border-radius: var(--polish-radius);
  background: rgba(232, 245, 240, 0.62);
}

.footer {
  background:
    linear-gradient(135deg, #123637 0%, #0f625c 52%, #7b5a34 100%);
}

.footer__contact-card,
.footer__qr-box {
  border-radius: var(--polish-radius);
}

@media (min-width: 1181px) {
  .page-grid,
  .tool-grid,
  .download-grid,
  .event-list,
  .news-list,
  .store-locator,
  .service-standard__grid,
  .knowledge-columns,
  .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-steps,
  .impact-grid,
  .faq-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 28px, 920px);
    max-width: min(100% - 28px, 920px);
  }

  .page-grid,
  .tool-grid,
  .download-grid,
  .event-list,
  .news-list,
  .store-locator,
  .process-steps,
  .impact-grid,
  .faq-list,
  .service-standard__grid,
  .knowledge-columns,
  .metric-grid,
  .dashboard-toolbar,
  .article-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-split,
  .story-split,
  .story-split--reverse,
  .help-banner,
  .store-hero,
  .contact-grid,
  .dashboard-grid,
  .knowledge-index,
  .booking-layout,
  .guide-layout,
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .header__inner {
    border-radius: var(--polish-radius);
  }

  .section {
    padding: 34px 0;
  }

  .page-hero__panel {
    min-height: 240px;
    padding: 22px;
  }

  .page-hero__panel h1,
  .section-heading h2,
  .story-content h2 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.15;
  }

  .page-grid,
  .tool-grid,
  .download-grid,
  .event-list,
  .news-list,
  .store-locator,
  .process-steps,
  .impact-grid,
  .faq-list,
  .service-standard__grid,
  .knowledge-columns,
  .metric-grid,
  .dashboard-toolbar,
  .article-filters,
  .check-grid,
  .related-links__grid,
  .status-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-card,
  .feature-card,
  .service-card,
  .support-card,
  .story-card,
  .event-card,
  .knowledge-card,
  .store-card,
  .guide-card,
  .article-card,
  .download-card,
  .news-card,
  .faq-card,
  .tool-sheet,
  .contact-panel,
  .map-card,
  .guide-section,
  .dashboard-card,
  .section-panel,
  .article-body,
  .booking-form,
  .triage-output,
  .story-split,
  .story-split--reverse,
  .help-banner {
    padding: 18px;
  }

  .page-card--media,
  .contact-panel--media,
  .map-card--media {
    padding: 0;
  }

  .page-card__body {
    padding: 18px;
  }

  .cta-row,
  .help-banner__actions,
  .page-utility__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .button,
  .footer__button {
    width: 100%;
    min-width: 0;
  }
}

/* Final global QA fixes: keep CTA groups and dense tables contained. */
.help-banner {
  overflow: hidden;
}

.help-banner__actions {
  min-width: 0;
}

.help-banner__actions .button {
  max-width: 100%;
  white-space: normal;
}

.dashboard-card,
.admin-card,
.section-panel,
.article-body,
.guide-section {
  overflow-x: auto;
}

.dashboard-card table,
.admin-card table,
.section-panel table,
.article-body table,
.guide-section table {
  min-width: min(680px, 100%);
}

@media (max-width: 1180px) {
  .help-banner {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-banner__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .help-banner__actions .button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .dashboard-card table,
  .admin-card table,
  .section-panel table,
  .article-body table,
  .guide-section table {
    min-width: 620px;
  }
}

.dashboard-card__head > span,
.status-grid span,
.content-table span {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .dashboard-card__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-card__head > span,
  .status-grid span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Final button material pass: lighter green, quieter shadow. */
:root {
  --button-mint-bg: #dff5ec;
  --button-mint-bg-2: #bfeadc;
  --button-mint-border: #78c7b3;
  --button-mint-text: #0d5e58;
  --button-mint-shadow: 0 8px 18px rgba(28, 112, 101, 0.1);
  --button-mint-shadow-hover: 0 10px 22px rgba(28, 112, 101, 0.14);
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type,
.booking-form .button,
.quick-form .button,
.site-search .button,
.page-utility__actions .button:not(.button--ghost):not(.button--secondary),
.cta-row .button:not(.button--ghost):not(.button--secondary),
.help-banner__actions .button:not(.button--ghost):not(.button--secondary),
.guide-sidebar__card .button:not(.button--ghost):not(.button--secondary),
.guide-section .button:not(.button--ghost):not(.button--secondary),
.related-links__card .button:not(.button--ghost):not(.button--secondary),
.side-card .button:not(.button--ghost):not(.button--secondary) {
  border: 1px solid rgba(120, 199, 179, 0.82);
  color: var(--button-mint-text);
  text-shadow: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18) 42%, transparent 44%),
    linear-gradient(180deg, var(--button-mint-bg) 0%, var(--button-mint-bg-2) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(13, 94, 88, 0.08),
    var(--button-mint-shadow);
}

.button:not(.button--ghost):not(.button--secondary)::before,
.footer__button--primary::before,
.sticky-help a:first-of-type::before {
  opacity: 0.16;
}

.button:not(.button--ghost):not(.button--secondary):hover,
.footer__button--primary:hover,
.sticky-help a:first-of-type:hover,
.booking-form .button:hover,
.quick-form .button:hover,
.site-search .button:hover,
.page-utility__actions .button:not(.button--ghost):not(.button--secondary):hover,
.cta-row .button:not(.button--ghost):not(.button--secondary):hover,
.help-banner__actions .button:not(.button--ghost):not(.button--secondary):hover,
.guide-sidebar__card .button:not(.button--ghost):not(.button--secondary):hover,
.guide-section .button:not(.button--ghost):not(.button--secondary):hover,
.related-links__card .button:not(.button--ghost):not(.button--secondary):hover,
.side-card .button:not(.button--ghost):not(.button--secondary):hover {
  color: #0a504b;
  border-color: rgba(84, 177, 156, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.24) 42%, transparent 44%),
    linear-gradient(180deg, #e9faf3 0%, #c9efe2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(13, 94, 88, 0.08),
    var(--button-mint-shadow-hover);
}

.button--secondary,
.footer__button--secondary {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 6px 14px rgba(174, 111, 54, 0.08);
}

.button--ghost,
.footer__helper,
.menu-toggle {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 6px 14px rgba(23, 86, 80, 0.05);
}

/* Premium customer-facing polish: immersive homepage and refined page surfaces. */
:root {
  --premium-ink: #0f3132;
  --premium-muted: #4c6866;
  --premium-glass: rgba(255, 255, 255, 0.78);
  --premium-line: rgba(168, 211, 202, 0.62);
  --premium-mint: #dff7ee;
  --premium-aqua: #bdeee2;
  --premium-warm: #f7d9b8;
  --premium-shadow: 0 18px 44px rgba(18, 78, 74, 0.11);
  --premium-shadow-soft: 0 10px 26px rgba(18, 78, 74, 0.075);
}

body {
  background:
    linear-gradient(180deg, rgba(236, 248, 243, 0.98) 0%, rgba(249, 253, 251, 1) 34%, rgba(245, 251, 248, 1) 100%);
}

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(34px, 5vw, 66px) 0 clamp(54px, 6vw, 88px);
  background:
    linear-gradient(90deg, rgba(240, 250, 246, 0.96) 0%, rgba(240, 250, 246, 0.78) 42%, rgba(240, 250, 246, 0.42) 100%),
    url("../images/marquee-service.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28) 52%, rgba(235, 248, 243, 0.86)),
    radial-gradient(circle at 22% 18%, rgba(204, 246, 230, 0.72), transparent 36%),
    radial-gradient(circle at 80% 18%, rgba(247, 217, 184, 0.44), transparent 34%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  height: 118px;
  background: linear-gradient(180deg, transparent, rgba(250, 253, 251, 0.96));
  pointer-events: none;
}

.hero__grid {
  position: relative;
  align-items: stretch;
}

.hero__content,
.hero__panel .panel-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(244, 252, 248, 0.7)),
    linear-gradient(135deg, rgba(223, 247, 238, 0.46), rgba(247, 217, 184, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    var(--premium-shadow);
  backdrop-filter: blur(18px);
}

.hero__content {
  position: relative;
  overflow: hidden;
}

.hero__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 84px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #77d9c3, #f4bf83);
}

.hero__content h1,
.hero h1 {
  max-width: 820px;
  color: var(--premium-ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.74);
}

.hero__summary {
  color: var(--premium-muted);
}

.hero__content .eyebrow,
.section-heading .eyebrow,
.page-hero__panel .eyebrow,
.story-content .eyebrow {
  border-color: rgba(104, 194, 176, 0.44);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(223, 247, 238, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero__actions {
  align-items: center;
}

.hero__stats article,
.metric-grid article,
.impact-grid article {
  border: 1px solid rgba(168, 211, 202, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(239, 250, 246, 0.76));
  box-shadow: var(--premium-shadow-soft);
}

.hero__stats strong,
.metric-grid strong,
.impact-grid strong {
  color: #0d5e58;
}

.hero__panel .panel-card {
  min-height: 100%;
}

.hero__panel .quick-form__head span {
  color: #0d5e58;
  border-color: rgba(104, 194, 176, 0.44);
  background: rgba(223, 247, 238, 0.78);
}

.hero__panel .quick-form input,
.hero__panel .quick-form select,
.booking-form input,
.booking-form select,
.booking-form textarea {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(168, 211, 202, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.photo-marquee {
  position: relative;
  margin-inline: calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
  padding: 4px 0 8px;
  overflow: hidden;
}

.photo-card {
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 42px rgba(18, 78, 74, 0.14);
}

.photo-card::after {
  background:
    linear-gradient(180deg, rgba(9, 35, 38, 0.04), rgba(9, 35, 38, 0.72)),
    linear-gradient(135deg, rgba(223, 247, 238, 0.16), rgba(247, 217, 184, 0.14));
}

.grid--4 .feature-card,
.page-card,
.store-card,
.knowledge-card,
.tool-sheet,
.guide-card,
.event-card,
.download-card,
.news-card,
.contact-panel,
.map-card,
.section-panel,
.article-body,
.guide-section,
.dashboard-card,
.admin-card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    var(--premium-shadow-soft);
}

.grid--4 .feature-card {
  position: relative;
  overflow: hidden;
}

.grid--4 .feature-card::after,
.page-card::after,
.tool-sheet::after,
.store-card::after,
.knowledge-card::after {
  content: "";
  position: absolute;
  inset: auto 16px 0 16px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, rgba(119, 217, 195, 0.78), rgba(244, 191, 131, 0.72));
  opacity: 0.68;
}

.grid--4 .feature-card h3,
.page-card h3,
.store-card h3,
.knowledge-card h3,
.tool-sheet h3 {
  color: var(--premium-ink);
}

.page-hero__panel {
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    var(--premium-shadow);
}

.page-hero__panel::after {
  background:
    linear-gradient(90deg, rgba(8, 44, 45, 0.76), rgba(8, 44, 45, 0.48) 54%, rgba(8, 44, 45, 0.22));
}

.story-split,
.story-split--reverse,
.help-banner,
.page-utility,
.service-desk {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(242, 251, 247, 0.82)),
    linear-gradient(135deg, rgba(223, 247, 238, 0.34), rgba(247, 217, 184, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    var(--premium-shadow-soft);
}

.story-visual,
.section-visual,
.page-card--media,
.contact-panel--media,
.map-card--media {
  box-shadow: var(--premium-shadow-soft);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(10, 45, 47, 1) 0%, rgba(15, 98, 92, 1) 56%, rgba(119, 80, 45, 1) 100%);
}

@media (min-width: 1181px) {
  .hero__content {
    padding: 42px;
  }

  .hero__panel .panel-card {
    padding: 28px;
  }
}

@media (max-width: 1180px) {
  .hero {
    background-position: center top;
  }

  .photo-marquee {
    margin-inline: -14px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 24px 0 38px;
  }

  .hero__content,
  .hero__panel .panel-card {
    backdrop-filter: blur(12px);
  }

  .hero__actions {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero__stats article {
    padding: 10px 7px;
  }
}

/* Mobile final polish: focused home hero, unobtrusive service rail, and stable dense tables. */
@media (max-width: 760px) {
  .hero {
    padding: 18px 0 28px;
    background-position: 58% top;
  }

  .hero__grid {
    gap: 14px;
  }

  .hero__content,
  .hero__panel .panel-card {
    border-color: rgba(255, 255, 255, 0.82);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.94),
      0 12px 28px rgba(18, 78, 74, 0.1);
  }

  .hero__content {
    padding: 18px;
    min-height: auto;
  }

  .hero__content .eyebrow {
    max-width: 100%;
    white-space: normal;
  }

  .hero__content h1,
  .hero h1 {
    font-size: clamp(27px, 8.1vw, 34px);
    line-height: 1.16;
  }

  .hero__summary {
    max-width: calc(100% - 32px);
  }

  .hero__actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero__actions .button {
    width: 100%;
    min-height: 42px;
  }

  .hero__stats {
    display: none;
  }

  .hero__panel .panel-card {
    padding: 16px;
    min-height: auto;
  }

  .hero__panel .quick-form__head {
    margin-bottom: 12px;
  }

  .hero__panel .quick-form__head strong {
    font-size: 22px;
  }

  .hero__panel .quick-form__head p,
  .hero__panel .quick-form__note {
    display: none;
  }

  .hero__panel .quick-form {
    gap: 10px;
  }

  .photo-marquee {
    margin-inline: 0;
    width: 100%;
  }

  .floating-rail {
    top: auto;
    right: 10px;
    bottom: 12px;
    transform: none;
    z-index: 35;
  }

  .floating-rail__buttons {
    gap: 6px;
    padding: 7px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 10px 24px rgba(18, 78, 74, 0.14);
    backdrop-filter: blur(14px);
  }

  .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5),
  .floating-rail .floating-rail__buttons .floating-rail__button--top {
    width: 42px;
    min-height: 42px;
    padding: 5px 4px;
    border-radius: 14px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.86),
      0 5px 12px rgba(13, 94, 88, 0.11);
  }

  .floating-rail__icon,
  .floating-rail .floating-rail__buttons .floating-rail__button .floating-rail__icon {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .floating-rail__label {
    font-size: 10px;
    line-height: 1.1;
  }

  .demand-table,
  .content-table,
  .dashboard-card:has(table),
  .admin-card:has(table),
  .section-panel:has(table) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .demand-table table,
  .content-table table,
  .dashboard-card table,
  .admin-card table,
  .section-panel table {
    min-width: 620px;
  }
}

@media (max-width: 420px) {
  body {
    padding-bottom: 92px;
  }

  .hero__summary {
    max-width: calc(100% - 42px);
  }

  .floating-rail {
    right: 8px;
    bottom: 8px;
  }

  .floating-rail__buttons {
    display: grid;
    grid-template-columns: repeat(3, 42px);
  }

  .floating-rail__button--top {
    display: none;
  }
}

/* Journey-inspired homepage section: adapt the reference site's "on the way" feeling to this service flow. */
.journey-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(250, 253, 251, 0.96), rgba(239, 250, 246, 0.92)),
    radial-gradient(circle at 18% 20%, rgba(183, 232, 239, 0.34), transparent 34%),
    radial-gradient(circle at 88% 68%, rgba(247, 217, 184, 0.34), transparent 32%);
}

.journey-stage {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(247, 252, 249, 0.62)),
    radial-gradient(ellipse at 52% 28%, rgba(255, 255, 255, 0.94) 0 34%, rgba(255, 255, 255, 0.22) 35% 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 20px 52px rgba(18, 78, 74, 0.1);
  overflow: hidden;
}

.journey-stage::before {
  content: "";
  position: absolute;
  inset: 8% 12% auto;
  z-index: -1;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(1px);
}

.journey-stage__intro {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.journey-stage__intro h2 {
  margin: 16px 0 16px;
  color: var(--premium-ink);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: 0;
}

.journey-stage__intro p {
  color: var(--premium-muted);
  font-size: 17px;
  line-height: 1.9;
}

.journey-stage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.journey-stage__visual {
  position: absolute;
  inset: 40px 28px auto auto;
  z-index: 1;
  width: min(58vw, 760px);
  height: 300px;
  pointer-events: none;
}

.journey-stage__visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.journey-stage__visual path {
  fill: none;
  stroke: rgba(14, 54, 55, 0.72);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 4 7;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.78));
}

.journey-orbit {
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.72;
}

.journey-orbit--one {
  left: 4%;
  top: 12%;
  width: 280px;
  height: 190px;
  background: rgba(149, 218, 225, 0.52);
}

.journey-orbit--two {
  right: 2%;
  bottom: 0;
  width: 260px;
  height: 180px;
  background: rgba(247, 198, 154, 0.48);
}

.journey-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(64px, 12vw, 138px);
}

.journey-steps article {
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(168, 211, 202, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(243, 251, 247, 0.74));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px rgba(18, 78, 74, 0.08);
}

.journey-steps article:nth-child(even) {
  transform: translateY(24px);
}

.journey-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #0b5853;
  font-size: 12px;
  font-weight: 800;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(203, 240, 229, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 8px 18px rgba(13, 94, 88, 0.1);
}

.journey-steps h3 {
  margin: 0 0 10px;
  color: var(--premium-ink);
  font-size: 20px;
}

.journey-steps p {
  margin: 0;
  color: var(--premium-muted);
  font-size: 14px;
  line-height: 1.72;
}

@media (max-width: 980px) {
  .journey-stage {
    min-height: auto;
  }

  .journey-stage__visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: 190px;
    margin: 18px 0 0;
  }

  .journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }

  .journey-steps article:nth-child(even) {
    transform: none;
  }
}

@media (max-width: 620px) {
  .journey-section {
    padding-top: 30px;
  }

  .journey-stage {
    padding: 20px;
  }

  .journey-stage__intro h2 {
    font-size: clamp(29px, 8.8vw, 38px);
    line-height: 1.16;
  }

  .journey-stage__intro p {
    font-size: 15px;
    line-height: 1.76;
  }

  .journey-stage__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .journey-stage__visual {
    height: 136px;
  }

  .journey-stage__visual path {
    stroke-width: 2.4;
  }

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

  .journey-steps article {
    min-height: auto;
    padding: 16px;
  }
}

/* HOPE-inspired color refinement: soft lavender foundation with fresh green accents. */
:root {
  --hope-lavender: #ececfa;
  --hope-lavender-2: #f5f4fc;
  --hope-purple: #8079dc;
  --hope-purple-deep: #6563c9;
  --hope-blue: #2f58c9;
  --hope-green: #9bd56a;
  --hope-green-deep: #62b956;
  --hope-ink: #24386e;
  --hope-muted: #586aa4;
  --hope-line: rgba(128, 121, 220, 0.22);
  --hope-shadow: 0 14px 34px rgba(92, 91, 177, 0.12);
}

body {
  color: var(--hope-ink);
  background:
    linear-gradient(180deg, #f7f7ff 0%, #fbfcff 38%, #f2f3fb 100%);
}

.topbar {
  background:
    linear-gradient(90deg, #706bd2 0%, #6f88df 48%, #9bd56a 100%);
}

.header__inner,
.page-card,
.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.download-card,
.news-card,
.faq-card,
.search-result-card,
.tool-sheet,
.contact-panel,
.section-panel,
.article-body,
.guide-section,
.booking-form,
.triage-output {
  border-color: var(--hope-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    var(--hope-shadow);
}

.brand__mark,
.footer__logo-mark {
  background:
    radial-gradient(circle at 78% 12%, #0aa969 0 20%, transparent 21%),
    linear-gradient(135deg, #7d6dcb 0 52%, #5c8fd8 100%);
}

.brand strong,
.section-heading h2,
.story-content h2,
.page-card h3,
.feature-card h3,
.journey-stage__intro h2,
.journey-steps h3 {
  color: var(--hope-ink);
}

.section-heading p,
.story-content p,
.hero__summary,
.page-card p,
.feature-card p,
.journey-stage__intro p,
.journey-steps p {
  color: var(--hope-muted);
}

.button:not(.button--ghost):not(.button--secondary),
.footer__button--primary,
.sticky-help a:first-of-type,
.booking-form .button,
.quick-form .button,
.site-search .button,
.page-utility__actions .button:not(.button--ghost):not(.button--secondary),
.cta-row .button:not(.button--ghost):not(.button--secondary),
.help-banner__actions .button:not(.button--ghost):not(.button--secondary),
.guide-sidebar__card .button:not(.button--ghost):not(.button--secondary),
.guide-section .button:not(.button--ghost):not(.button--secondary),
.related-links__card .button:not(.button--ghost):not(.button--secondary),
.side-card .button:not(.button--ghost):not(.button--secondary) {
  border-color: rgba(122, 118, 218, 0.66);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(135deg, var(--hope-purple) 0%, #7778dc 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 22px rgba(95, 93, 194, 0.2);
}

.button:not(.button--ghost):not(.button--secondary):hover,
.footer__button--primary:hover,
.sticky-help a:first-of-type:hover,
.booking-form .button:hover,
.quick-form .button:hover {
  color: #ffffff;
  border-color: rgba(103, 99, 203, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 42%),
    linear-gradient(135deg, #8982e6 0%, var(--hope-purple-deep) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 12px 26px rgba(95, 93, 194, 0.24);
}

.button--secondary,
.footer__button--secondary {
  border-color: rgba(141, 205, 92, 0.7);
  color: #285b32;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 48%),
    linear-gradient(135deg, #b7e783 0%, var(--hope-green) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 9px 18px rgba(98, 185, 86, 0.16);
}

.button--ghost,
.footer__helper {
  border-color: rgba(128, 121, 220, 0.2);
  color: var(--hope-blue);
  background: rgba(255, 255, 255, 0.86);
}

.hero {
  background:
    linear-gradient(90deg, rgba(247, 247, 255, 0.96) 0%, rgba(239, 240, 252, 0.78) 46%, rgba(236, 236, 250, 0.42) 100%),
    url("../images/marquee-service.jpg") center / cover no-repeat;
}

.hero::before,
.journey-section {
  background:
    radial-gradient(circle at 18% 16%, rgba(128, 121, 220, 0.24), transparent 34%),
    radial-gradient(circle at 78% 72%, rgba(155, 213, 106, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 244, 252, 0.88));
}

.hero__content,
.hero__panel .panel-card,
.journey-stage {
  border-color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 246, 253, 0.72)),
    linear-gradient(135deg, rgba(128, 121, 220, 0.08), rgba(155, 213, 106, 0.1));
}

.hero__content::before,
.grid--4 .feature-card::after,
.page-card::after,
.tool-sheet::after,
.store-card::after,
.knowledge-card::after {
  background: linear-gradient(90deg, var(--hope-purple), var(--hope-green));
}

.journey-stage__visual path {
  stroke: rgba(74, 68, 144, 0.72);
}

.journey-orbit--one {
  background: rgba(132, 129, 224, 0.42);
}

.journey-orbit--two {
  background: rgba(155, 213, 106, 0.42);
}

.journey-steps span {
  color: var(--hope-blue);
  background:
    radial-gradient(circle at 78% 16%, var(--hope-green) 0 20%, transparent 21%),
    linear-gradient(135deg, #ffffff, #ececfa);
}

.footer {
  margin-top: 0;
  padding: clamp(44px, 6vw, 72px) 0 28px;
  color: var(--hope-ink);
  border-top: 1px solid rgba(128, 121, 220, 0.12);
  background:
    linear-gradient(180deg, var(--hope-lavender) 0%, #e8e9f8 100%);
}

.footer::before,
.footer::after {
  display: none;
}

.footer__layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.78fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.footer__brand,
.footer__contact-card,
.footer__contact-card.footer__qr {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.footer__brand {
  padding: 0;
}

.footer__logo {
  align-items: center;
  gap: 14px;
}

.footer__logo-mark {
  width: 58px;
  height: 58px;
  color: #ffffff;
  box-shadow: none;
}

.footer__logo h2 {
  color: #3f3f46;
  font-size: 28px;
  letter-spacing: 0;
}

.footer__logo p,
.footer__intro,
.footer__contact-card p,
.footer__contact-card li,
.footer__note {
  color: var(--hope-muted);
}

.footer__intro {
  max-width: 320px;
  margin-top: 16px;
  line-height: 1.78;
}

.footer__socials {
  gap: 12px;
  margin-top: 22px;
}

.footer__socials a,
.footer__social-placeholder {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 999px;
  color: transparent;
  overflow: hidden;
  border: 1px solid rgba(128, 121, 220, 0.74);
  background: rgba(255, 255, 255, 0.44);
  box-shadow: none;
}

.footer__socials a::before,
.footer__social-placeholder::before {
  flex-basis: 28px;
  width: 28px;
  height: 28px;
  box-shadow: none;
}

.footer__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.footer__button {
  min-height: 42px;
  border-radius: 999px;
  justify-content: center;
}

.footer__helper {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
  min-height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.footer__contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 48px) clamp(44px, 7vw, 84px);
}

.footer__contact-card {
  padding: 0;
}

.footer__contact-card h3,
.footer__note a {
  margin-bottom: 12px;
  color: var(--hope-purple);
  font-size: 18px;
}

.footer__contact-card h3::before,
.footer__contact-card::before,
.footer__contact-card::after {
  display: none;
}

.footer__contact-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__contact-card li,
.footer__contact-card p {
  font-size: 15px;
  line-height: 1.65;
}

.footer__qr {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.footer__qr-box {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(128, 121, 220, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.footer__note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(30px, 5vw, 48px);
  padding-top: 20px;
  border-top: 1px solid rgba(128, 121, 220, 0.14);
}

.footer__note p {
  margin: 0;
}

@media (max-width: 980px) {
  .footer__layout {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    max-width: 420px;
  }
}

@media (max-width: 680px) {
  .footer {
    padding-bottom: 110px;
  }

  .footer__contacts,
  .footer__buttons {
    grid-template-columns: 1fr;
  }

  .footer__qr {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .footer__qr-box {
    width: 64px;
    height: 64px;
  }
}

/* Mobile table affordance: wide internal data stays contained and reads as a scrollable sheet. */
@media (max-width: 760px) {
  .demand-table,
  .content-table,
  .dashboard-card:has(table),
  .admin-card:has(table),
  .section-panel:has(table) {
    position: relative;
    border: 1px solid rgba(128, 121, 220, 0.16);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 246, 253, 0.78));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 10px 24px rgba(92, 91, 177, 0.08);
  }

  .demand-table::after,
  .content-table::after,
  .dashboard-card:has(table)::after,
  .admin-card:has(table)::after,
  .section-panel:has(table)::after {
    content: "";
    position: sticky;
    right: 0;
    display: block;
    float: right;
    width: 34px;
    height: 1px;
    margin-top: -1px;
    background: linear-gradient(90deg, transparent, rgba(236, 236, 250, 0.92));
    pointer-events: none;
  }

  .demand-table table,
  .content-table table,
  .dashboard-card table,
  .admin-card table,
  .section-panel table {
    border-radius: 8px;
  }
}

/* Text overflow hardening: keep compact controls and form panels inside their frames. */
.nav a,
.subnav a,
.button,
.footer__button,
.footer__helper,
.floating-rail__button {
  min-width: max-content;
}

.hero__panel,
.hero__panel .panel-card,
.quick-form,
.quick-form > *,
.booking-form,
.booking-form > *,
.footer__brand,
.footer__contact-card,
.journey-stage,
.journey-steps article,
.page-card,
.feature-card,
.store-card,
.knowledge-card,
.tool-sheet,
.contact-panel,
.section-panel,
.article-body,
.guide-section {
  min-width: 0;
}

.hero__panel .panel-card {
  max-width: 100%;
  overflow: hidden;
}

.hero__panel .quick-form input,
.hero__panel .quick-form select,
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-width: 0;
}

.story-gallery__card h3,
.photo-card h3,
.photo-card p,
.page-card h3,
.feature-card h3,
.store-card h3,
.knowledge-card h3,
.tool-sheet h3,
.footer__contact-card h3,
.footer__contact-card p,
.footer__contact-card li {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 760px) {
  .nav a,
  .subnav a,
  .button,
  .footer__button,
  .footer__helper {
    min-width: 0;
    white-space: normal;
    text-wrap: balance;
  }

  .floating-rail {
    left: 12px;
    right: 12px;
    bottom: 10px;
    top: auto !important;
    width: auto;
    transform: none;
  }

  .floating-rail__buttons {
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    gap: 6px;
    padding: 7px;
  }

  .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5),
  .floating-rail .floating-rail__buttons .floating-rail__button--top {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .floating-rail__label {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
  }
}

@media (max-width: 420px) {
  .floating-rail {
    left: 10px;
    right: 10px;
  }

  .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5) {
    min-height: 40px;
    padding: 5px 3px;
  }

  .floating-rail__icon,
  .floating-rail .floating-rail__buttons .floating-rail__button .floating-rail__icon {
    width: 22px;
    height: 22px;
  }

  .floating-rail__label {
    font-size: 9px;
  }
}

/* Absolute mobile rail width lock: prevent old flex rules from shrinking the toolbar. */
@media (max-width: 760px) {
  .floating-rail {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
  }

  .floating-rail__buttons {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    inline-size: 100% !important;
    min-inline-size: 0 !important;
  }

  .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5) {
    inline-size: auto;
    flex: 1 1 0;
  }
}

@media (max-width: 420px) {
  .floating-rail__buttons {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

/* Final mobile rail positioning: make the toolbar viewport-based instead of shrink-to-content. */
@media (max-width: 760px) {
  .floating-rail {
    position: static !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    max-width: none !important;
  }

  .floating-rail__buttons {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 10px !important;
    z-index: 80 !important;
    width: auto !important;
    inline-size: auto !important;
    max-width: none !important;
  }
}

@media (max-width: 420px) {
  .floating-rail__buttons {
    left: 10px !important;
    right: 10px !important;
  }
}

/* Long-task polish pass: tighter desktop navigation and full-width mobile dock targets. */
@media (min-width: 1025px) and (max-width: 1360px) {
  .header__inner {
    gap: 14px;
  }

  .nav {
    gap: 4px;
    min-width: 0;
    overflow: hidden;
  }

  .nav a {
    min-width: 0;
    padding: 10px 9px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .header__actions {
    gap: 8px;
  }

  .header__actions .button {
    min-width: 0;
    padding-inline: 13px;
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .floating-rail__buttons {
    align-items: stretch !important;
    justify-items: stretch !important;
  }

  .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button,
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(1),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(2),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(3),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(4),
  .floating-rail .floating-rail__buttons .floating-rail__button:nth-child(5) {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px;
    align-self: stretch;
    justify-self: stretch;
  }
}

/* Mobile first-screen polish: keep hero premium but reveal service content sooner. */
@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  .header {
    padding-top: 10px;
  }

  .header__inner {
    min-height: 104px;
    padding: 14px 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding: 14px 0 24px;
  }

  .hero__grid {
    gap: 10px;
  }

  .hero__content {
    padding: 16px;
  }

  .hero__content h1,
  .hero h1 {
    margin-block: 14px 12px;
    font-size: clamp(25px, 7.4vw, 31px);
    line-height: 1.12;
  }

  .hero__summary {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.58;
  }

  .hero__content .page-hero__english {
    display: none;
  }

  .hero__panel .panel-card {
    padding: 14px;
  }

  .hero__panel .quick-form__head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 10px;
  }

  .hero__panel .quick-form__head strong {
    font-size: 20px;
  }

  .hero__panel .quick-form {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero__panel .quick-form label {
    gap: 5px;
    font-size: 12px;
  }

  .hero__panel .quick-form input,
  .hero__panel .quick-form select,
  .hero__panel .quick-form .button {
    min-height: 40px;
  }

  .page-hero {
    padding: 14px 0 22px;
  }

  .page-hero__panel {
    min-height: 0;
    padding: 18px;
  }

  .page-hero__panel h1 {
    margin-block: 12px 10px;
    font-size: clamp(27px, 7.7vw, 34px);
    line-height: 1.12;
  }

  .page-hero__panel .hero__summary,
  .page-hero__panel p {
    font-size: 14px;
    line-height: 1.62;
  }

  .page-hero__panel .page-hero__english {
    display: none;
  }

  .page-hero__actions,
  .hero__actions,
  .cta-row,
  .page-utility__actions,
  .help-banner__actions {
    gap: 8px;
  }

  .section {
    padding: 30px 0;
  }
}

@media (max-width: 420px) {
  .hero__content h1,
  .hero h1,
  .page-hero__panel h1 {
    text-wrap: balance;
  }

  .page-hero__panel {
    padding: 16px;
  }
}

/* Mobile homepage conversion polish: make the first screen a fast service gateway. */
@media (max-width: 760px) {
  .hero.section {
    padding-top: 14px;
    padding-bottom: 22px;
  }

  .hero__content {
    gap: 8px;
  }

  .hero__actions {
    grid-template-columns: 1fr 1fr;
    margin: 14px 0 0;
  }

  .hero__actions .button {
    min-height: 40px;
    padding: 9px 10px;
  }

  .hero__actions .button:nth-child(n+3) {
    display: none;
  }

  .hero__panel {
    display: none;
  }

  .page-hero.section {
    padding-top: 12px;
    padding-bottom: 18px;
  }

  .page-hero__panel {
    padding: 16px !important;
  }

  .page-hero__panel .eyebrow {
    margin-bottom: 8px;
  }

  .page-hero__panel h1 {
    margin-block: 10px 8px;
  }

  .page-hero__panel .hero__summary,
  .page-hero__panel p {
    margin-top: 8px;
  }
}

/* Mobile dense hero metadata: keep useful links visible without pushing content below the fold. */
@media (max-width: 760px) {
  .page-hero__panel .article-meta,
  .page-hero__panel .page-hero__meta,
  .page-hero__panel .subnav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    max-width: 100%;
    margin-top: 10px;
    padding: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .page-hero__panel .article-meta::-webkit-scrollbar,
  .page-hero__panel .page-hero__meta::-webkit-scrollbar,
  .page-hero__panel .subnav::-webkit-scrollbar {
    display: none;
  }

  .page-hero__panel .article-meta > *,
  .page-hero__panel .page-hero__meta > *,
  .page-hero__panel .subnav > * {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .page-hero__panel .article-meta {
    font-size: 12px;
  }

  .page-hero__panel .page-hero__meta span,
  .page-hero__panel .article-meta span,
  .page-hero__panel .article-meta button,
  .page-hero__panel .subnav a {
    min-height: 34px;
    padding: 8px 11px;
    border-radius: 999px;
  }

  .page-hero__panel .article-meta .button,
  .page-hero__panel .article-meta button,
  .page-hero__panel .article-meta .button--small {
    width: auto;
    min-width: max-content;
    max-width: none;
    padding-inline: 12px;
  }

  .page-hero__panel .hero__summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .page-hero__panel h1 {
    font-size: clamp(25px, 7.2vw, 32px);
  }
}

/* Final resilience polish: protect future longer copy while keeping the refined compact layout. */
@media (max-width: 760px) {
  h1,
  h2,
  h3,
  .section-heading h2,
  .story-content h2,
  .page-card h3,
  .feature-card h3,
  .store-card h3,
  .knowledge-card h3,
  .tool-sheet h3,
  .guide-section h2,
  .article-body h2 {
    overflow-wrap: anywhere;
    word-break: normal;
    text-wrap: balance;
  }

  p,
  li,
  .section-heading p,
  .page-card p,
  .feature-card p,
  .footer__contact-card p,
  .footer__contact-card li {
    overflow-wrap: anywhere;
  }

  .article-meta,
  .page-hero__meta,
  .subnav,
  .knowledge-filter,
  .article-filters,
  .status-grid {
    overscroll-behavior-inline: contain;
  }

  .button,
  .footer__button,
  .footer__helper,
  .subnav a,
  .knowledge-filter a,
  .popular-searches button {
    touch-action: manipulation;
  }

  .footer__note {
    padding-bottom: 10px;
  }
}

/* Mobile edge polish final: keep metadata and compact controls inside their frames. */
@media (max-width: 760px) {
  .article-meta,
  .page-hero__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    max-width: 100%;
    overflow: visible !important;
    white-space: normal !important;
  }

  .article-meta > *,
  .page-hero__meta > * {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .article-meta span,
  .article-meta button,
  .page-hero__meta span {
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(128, 121, 220, 0.18);
  }

  .article-meta .button,
  .article-meta button {
    flex: 0 0 auto;
    width: auto;
    min-width: 76px;
    justify-content: center;
  }

  .footer__socials a,
  .footer__social-placeholder {
    font-size: 0;
    line-height: 0;
    text-indent: -999px;
  }

  .floating-rail__button {
    padding-inline: 4px !important;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}


/* Route polish true final: EOF overrides for premium feel and mobile safety. */
.hero__panel .panel-card,
.quick-form,
.booking-form,
.contact-panel,
.section-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 253, 255, 0.7)),
    radial-gradient(circle at 82% 16%, rgba(155, 213, 106, 0.13), transparent 30%),
    radial-gradient(circle at 18% 92%, rgba(122, 126, 220, 0.12), transparent 34%);
}

.hero__panel .panel-card {
  position: relative;
  overflow: hidden;
}

.hero__panel .panel-card::after {
  content: "";
  position: absolute;
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 4vw, 44px);
  width: min(180px, 26vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(155, 213, 106, 0.16), transparent 64%),
    radial-gradient(circle at 34% 30%, rgba(122, 126, 220, 0.12), transparent 48%);
  pointer-events: none;
}

.quick-form,
.booking-form,
.contact-panel {
  border-color: rgba(128, 121, 220, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 42px rgba(85, 91, 170, 0.1);
}

.page-hero:not(.hero) {
  padding-bottom: clamp(28px, 4.5vw, 58px);
}

.page-hero__panel {
  min-height: auto;
}

.filters,
.dashboard-filters,
.admin-toolbar,
.operations-filters {
  border-color: rgba(128, 121, 220, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 30px rgba(85, 91, 170, 0.08);
}

.stat-card,
.metric-card,
.dashboard-card,
.admin-card {
  border-color: rgba(128, 121, 220, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 250, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 34px rgba(85, 91, 170, 0.09);
}

@media (min-width: 761px) {
  .page-hero:not(.hero) + .section {
    padding-top: clamp(34px, 4vw, 54px);
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 92px;
  }

  .sticky-help {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: calc(100% - 28px) !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 18px auto 14px !important;
    padding: 14px 16px !important;
    display: grid !important;
    gap: 10px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 24px rgba(85, 91, 170, 0.08) !important;
  }

  .sticky-help span {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .sticky-help div {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sticky-help a {
    min-height: 40px;
    padding: 10px 12px;
  }

  .page-hero:not(.hero) {
    padding-bottom: 20px;
  }

  .page-hero:not(.hero) + .section {
    padding-top: 30px;
  }

  .hero__panel .panel-card::after {
    width: 120px;
    opacity: 0.66;
  }

  .filters,
  .dashboard-filters,
  .admin-toolbar,
  .operations-filters {
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
  }

  .download-card,
  .article-card {
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .download-card *,
  .article-card * {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .download-card::after,
  .article-card::after {
    right: 0 !important;
    width: min(88px, 24vw) !important;
  }
}

/* Media fallback polish: keep image cards graceful while assets are loading or unavailable. */
.photo-card,
.story-gallery__card,
.story-visual,
.section-visual,
.gallery-card,
.page-card--media,
.map-card--media {
  background-color: #edf7f7;
  background-image:
    linear-gradient(180deg, rgba(24, 53, 60, 0.04), rgba(24, 53, 60, 0.44)),
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(135deg, #dff5ec 0%, #dfe8ff 52%, #f7fbff 100%);
}

.map-card--media .page-card__media {
  min-height: 180px;
  object-fit: cover;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(135deg, #dff5ec 0%, #dfe8ff 54%, #f7fbff 100%);
}

.section-visual img,
.section-visual .page-card__media,
.page-card--media img,
.page-card--media .page-card__media,
.map-card--media img,
.gallery-card img,
.story-gallery__card img {
  display: block;
  width: 100%;
  min-height: 180px;
  object-fit: cover;
  color: transparent;
  font-size: 0;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(135deg, #dff5ec 0%, #dfe8ff 54%, #f7fbff 100%);
}

@media (max-width: 760px) {
  .section-visual img,
  .page-card--media img,
  .map-card--media img,
  .gallery-card img,
  .story-gallery__card img {
    opacity: 0;
  }
}

.photo-card::before {
  background:
    linear-gradient(180deg, rgba(15, 42, 48, 0.02) 0%, rgba(15, 42, 48, 0.58) 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 28%);
}

@media (max-width: 760px) {
  .photo-card,
  .story-gallery__card,
  .map-card--media .page-card__media,
  .section-visual img,
  .page-card--media img,
  .page-card--media .page-card__media {
    min-height: 228px;
  }
}

/* Mobile inner-page hero polish: keep summaries complete and entry pills usable. */
@media (max-width: 760px) {
  .page-hero__panel .hero__summary {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
  }

  .page-hero__panel .subnav {
    position: relative;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    max-width: 100%;
    padding: 4px 22px 4px 4px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 16px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) calc(100% - 32px), rgba(255, 255, 255, 0.92) 100%),
      rgba(255, 255, 255, 0.62);
    box-shadow: inset -18px 0 22px rgba(255, 255, 255, 0.86);
  }

  .page-hero__panel .subnav::-webkit-scrollbar {
    display: none;
  }

  .page-hero__panel .subnav a {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content;
    max-width: none;
    padding: 8px 14px !important;
    white-space: nowrap !important;
  }
}

/* Form choice polish: replace rough native checkboxes with calm selectable cards. */
.check-grid {
  border-color: rgba(128, 121, 220, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(247, 252, 250, 0.72));
}

.check-grid label {
  position: relative;
  min-height: 48px;
  padding: 12px 14px 12px 44px;
  border: 1px solid rgba(130, 201, 181, 0.36);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 252, 250, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.check-grid label::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 7px;
  border: 1px solid rgba(128, 121, 220, 0.42);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.check-grid label:has(input:checked) {
  border-color: rgba(108, 195, 146, 0.76);
  background:
    linear-gradient(180deg, rgba(239, 252, 244, 0.98), rgba(222, 246, 234, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px rgba(93, 172, 133, 0.12);
}

.check-grid label:has(input:checked)::before {
  border-color: rgba(74, 171, 122, 0.9);
  background:
    linear-gradient(135deg, #79d9a2, #55bd86);
}

.check-grid label:has(input:checked)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translateY(-58%) rotate(45deg);
}

.check-grid input[type="checkbox"],
.check-grid input[type="radio"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

@media (max-width: 760px) {
  .check-grid label {
    align-items: center;
    padding-block: 11px;
    font-size: 14px;
    line-height: 1.25;
  }
}

/* Footer QR polish: keep QR blocks refined even before image assets render. */
.footer__qr-box {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(128, 121, 220, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(128, 121, 220, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 250, 0.86));
  background-size: 10px 10px, 10px 10px, auto;
}

.footer__qr-box::before {
  content: "码";
  position: absolute;
  inset: 12px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: rgba(106, 101, 204, 0.28);
  font-size: 24px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.72);
}

.footer__qr-box img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0;
  color: transparent;
}

/* Search page polish: static fallback results should feel intentional. */
.popular-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.popular-searches button {
  min-height: 36px;
  padding: 8px 14px;
}

.search-results {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.search-result-card {
  position: relative;
  display: block;
  padding: 18px 18px 18px 22px;
  overflow: hidden;
}

.search-result-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8079dc, #9bd56a);
}

.search-result-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.32;
}

.search-result-card p {
  margin: 0;
  line-height: 1.72;
}

@media (max-width: 760px) {
  .popular-searches {
    gap: 8px;
    margin-top: 14px;
  }

  .popular-searches button {
    flex: 0 1 auto;
    min-width: 0;
    padding-inline: 12px;
    font-size: 13px;
  }

  .search-results {
    gap: 12px;
    margin-top: 18px;
  }

  .search-result-card {
    padding: 16px 16px 16px 20px;
  }
}

@media (max-width: 760px) {
  .popular-searches button,
  .popular-searches .button {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: 100%;
    min-height: 34px;
    padding: 8px 13px !important;
    border-radius: 999px;
  }
}

/* Store detail polish: keep store pages bright, reassuring, and easy to scan. */
.detail-card,
.detail-card--accent,
.detail-card--soft {
  color: var(--hope-ink);
  border-color: rgba(128, 121, 220, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 252, 250, 0.9)),
    radial-gradient(circle at 92% 10%, rgba(155, 213, 106, 0.12), transparent 32%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 34px rgba(85, 91, 170, 0.08);
}

.detail-card--accent {
  position: relative;
  overflow: hidden;
}

.detail-card--accent::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8079dc, #9bd56a);
}

.detail-card h3,
.detail-card h4,
.detail-card--accent h3,
.detail-card--accent h4 {
  color: var(--hope-ink);
  text-shadow: none;
}

.detail-card p,
.detail-card li,
.detail-card--accent p,
.detail-card--accent li {
  color: var(--hope-muted);
  text-shadow: none;
}

@media (max-width: 760px) {
  .detail-card,
  .detail-card--accent,
  .detail-card--soft {
    padding: 18px;
    border-radius: 18px;
  }

  .detail-card--accent {
    padding-left: 22px;
  }
}

/* Admin table polish: make horizontal data sheets obvious and touch-friendly on mobile. */
@media (max-width: 760px) {
  .content-table,
  .demand-table,
  .dashboard-card:has(table),
  .admin-card:has(table) {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    border: 1px solid rgba(128, 121, 220, 0.18);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 252, 250, 0.82));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.94),
      0 12px 24px rgba(85, 91, 170, 0.08);
  }

  .content-table::before,
  .demand-table::before {
    content: "横向滑动查看完整表格";
    position: sticky;
    left: 0;
    display: block;
    width: max-content;
    margin: 0 0 8px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--hope-muted);
    background: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 700;
  }

  .content-table table,
  .demand-table table {
    min-width: 620px;
  }

  .content-table th,
  .content-table td,
  .demand-table th,
  .demand-table td {
    white-space: nowrap;
  }
}

/* Interaction polish: consistent focus, press, and mobile safe-area behavior. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.button:focus-visible,
.footer__button:focus-visible,
.floating-rail__button:focus-visible,
.page-card:focus-visible,
.download-card:focus-visible,
.article-card:focus-visible,
.search-result-card:focus-visible,
.tool-link:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.96),
    0 0 0 6px rgba(128, 121, 220, 0.28),
    0 12px 28px rgba(85, 91, 170, 0.12);
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.subnav a,
.knowledge-filter a,
.popular-searches button,
.floating-rail__button,
.tool-link {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:active,
.footer__button:active,
.footer__helper:active,
.sticky-help a:active,
.subnav a:active,
.knowledge-filter a:active,
.popular-searches button:active,
.floating-rail__button:active,
.tool-link:active {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    inset 0 1px 2px rgba(36, 56, 110, 0.12),
    0 6px 16px rgba(85, 91, 170, 0.1);
}

input,
select,
textarea {
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: rgba(128, 121, 220, 0.55);
  background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .floating-rail {
    padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
  }

  .floating-rail__buttons {
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  }
}

/* Mobile header polish: keep the brand and menu control compact and premium. */
@media (max-width: 760px) {
  .header {
    top: 0;
  }

  .header__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px 12px !important;
    min-height: 0 !important;
    padding: 12px 16px !important;
  }

  .brand {
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 9px !important;
  }

  .brand__mark {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  .brand > span:last-child {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .brand strong,
  .brand small {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .brand strong {
    font-size: clamp(15px, 4.1vw, 17px) !important;
    line-height: 1.2 !important;
  }

  .brand small {
    margin-top: 2px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
  }

  .menu-toggle {
    position: relative !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    border: 1px solid rgba(166, 210, 190, 0.58) !important;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 250, 246, 0.9)),
      radial-gradient(circle at 70% 20%, rgba(176, 220, 146, 0.34), transparent 42%) !important;
    color: #245f5a !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 7px 16px rgba(28, 112, 103, 0.08) !important;
    overflow: hidden !important;
    text-indent: -999px !important;
  }

  .menu-toggle::before,
  .menu-toggle::after {
    content: "" !important;
    position: absolute !important;
    left: 12px !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #245f5a !important;
    box-shadow: 0 7px 0 #245f5a !important;
    transform: none !important;
  }

  .menu-toggle::before {
    top: 13px !important;
  }

  .menu-toggle::after {
    top: 27px !important;
    box-shadow: none !important;
  }

  .nav {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 2px 0 0 !important;
    padding: 8px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(190, 221, 211, 0.72) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 12px 28px rgba(41, 94, 92, 0.08) !important;
  }

  .nav:not(.is-open) {
    display: none !important;
  }

  .nav.is-open {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  .nav a {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    justify-content: flex-start !important;
    padding: 9px 12px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    background: linear-gradient(180deg, rgba(250, 253, 250, 0.98), rgba(241, 249, 246, 0.92)) !important;
    border: 1px solid rgba(213, 232, 226, 0.86) !important;
  }

  .header__actions {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 0 !important;
  }

  .header__actions .button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    line-height: 1.18 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 380px) {
  .header__inner {
    padding-inline: 12px !important;
  }

  .brand__mark {
    flex-basis: 34px !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }

  .brand strong {
    font-size: 14px !important;
  }

  .brand small {
    font-size: 10.5px !important;
  }

  .menu-toggle {
    flex-basis: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
}

/* Text containment polish: prevent long labels from pushing past refined frames. */
.button,
.footer__button,
.footer__helper,
.sticky-help a,
.nav a,
.subnav a,
.knowledge-filter a,
.inline-tabs a,
.popular-searches button,
.tool-link,
.tag,
.badge,
.pill,
.chip,
.eyebrow,
.article-meta span,
.article-meta a,
.page-hero__meta span,
.page-hero__meta a,
.service-card h3,
.page-card h3,
.article-card h3,
.download-card h3,
.store-card h3,
.detail-card h3,
.detail-card h4,
.search-result-card h3 {
  min-width: 0 !important;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.button,
.footer__button,
.footer__helper,
.sticky-help a,
.nav a,
.subnav a,
.knowledge-filter a,
.inline-tabs a,
.popular-searches button,
.tool-link,
.tag,
.badge,
.pill,
.chip,
.eyebrow {
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

.page-card,
.article-card,
.download-card,
.store-card,
.service-card,
.detail-card,
.search-result-card,
.stat-card,
.panel-card,
.contact-panel,
.section-panel,
.quick-form,
.booking-form {
  min-width: 0;
}

.page-card *,
.article-card *,
.download-card *,
.store-card *,
.service-card *,
.detail-card *,
.search-result-card *,
.stat-card *,
.panel-card *,
.contact-panel *,
.section-panel *,
.quick-form *,
.booking-form * {
  min-width: 0;
}

@media (max-width: 760px) {
  .tag,
  .badge,
  .pill,
  .chip,
  .eyebrow,
  .article-meta span,
  .article-meta a,
  .page-hero__meta span,
  .page-hero__meta a {
    max-width: 100%;
    line-height: 1.18;
  }

  .service-card h3,
  .page-card h3,
  .article-card h3,
  .download-card h3,
  .store-card h3,
  .detail-card h3,
  .detail-card h4,
  .search-result-card h3 {
    line-height: 1.32;
  }
}

/* Repeated chrome polish: topbar, CTA groups, and footer links stay tidy on every page. */
.topbar__inner,
.topbar__links,
.footer__socials,
.footer__buttons,
.footer__note,
.cta-row,
.page-utility__actions,
.hero__actions,
.page-hero__actions {
  min-width: 0;
}

.topbar__inner p,
.topbar__links a,
.footer__socials a,
.footer__social-placeholder,
.footer__note a,
.footer__note p,
.cta-row .button,
.page-utility__actions .button,
.hero__actions .button,
.page-hero__actions .button {
  min-width: 0 !important;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.footer__socials a,
.footer__social-placeholder {
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
}

@media (max-width: 760px) {
  .topbar__inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding-block: 8px !important;
  }

  .topbar__inner p {
    justify-self: center;
    margin: 0;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
  }

  .topbar__links {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100%;
  }

  .topbar__links a {
    flex: 0 1 auto;
    padding: 5px 9px;
    border-radius: 999px;
    line-height: 1.15;
    background: rgba(255, 255, 255, 0.5);
  }

  .hero__actions,
  .page-hero__actions,
  .cta-row,
  .page-utility__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    width: 100%;
  }

  .hero__actions .button,
  .page-hero__actions .button,
  .cta-row .button,
  .page-utility__actions .button {
    width: 100% !important;
    white-space: normal !important;
  }

  .footer__buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .footer__socials {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .footer__socials a,
  .footer__social-placeholder {
    width: 100% !important;
    min-height: 36px;
    padding-inline: 8px;
    line-height: 1.15;
  }

  .footer__note {
    display: grid;
    gap: 8px;
    text-align: center;
  }

  .footer__note p {
    margin-inline: auto;
  }
}

/* Page family polish: unify knowledge, tools, store, and admin cards. */
.guide-tile,
.guide-card,
.guide-sidebar__card,
.tool-sheet,
.side-card,
.related-links__card,
.service-standard__card,
.store-locator__card,
.dashboard-card,
.admin-card,
.info-card,
.resource-card,
.disease-card,
.visual-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-color: rgba(178, 214, 203, 0.68);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.88)),
    radial-gradient(circle at 92% 12%, rgba(176, 220, 146, 0.14), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(128, 121, 220, 0.08), transparent 30%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 30px rgba(41, 94, 92, 0.07);
}

.event-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-color: rgba(178, 214, 203, 0.68);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.88)),
    radial-gradient(circle at 92% 12%, rgba(233, 163, 93, 0.12), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(128, 121, 220, 0.08), transparent 30%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 30px rgba(41, 94, 92, 0.07);
}

.guide-tile::before,
.guide-card::before,
.guide-sidebar__card::before,
.tool-sheet::before,
.side-card::before,
.related-links__card::before,
.service-standard__card::before,
.store-locator__card::before,
.dashboard-card::before,
.admin-card::before,
.info-card::before,
.resource-card::before,
.disease-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(128, 121, 220, 0.76), rgba(155, 213, 106, 0.88));
  opacity: 0.78;
  pointer-events: none;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(233, 163, 93, 0.78), rgba(155, 213, 106, 0.88));
  opacity: 0.78;
  pointer-events: none;
}

.guide-tile > *,
.guide-card > *,
.guide-sidebar__card > *,
.tool-sheet > *,
.side-card > *,
.related-links__card > *,
.service-standard__card > *,
.store-locator__card > *,
.dashboard-card > *,
.admin-card > *,
.info-card > *,
.resource-card > *,
.disease-card > *,
.visual-card > *,
.event-card > * {
  position: relative;
  min-width: 0;
}

.guide-tile h3,
.guide-card h3,
.guide-sidebar__card h3,
.tool-sheet h3,
.side-card h3,
.related-links__card h3,
.service-standard__card h3,
.store-locator__card h3,
.dashboard-card h3,
.admin-card h3,
.info-card h3,
.resource-card h3,
.disease-card h3,
.visual-card h3,
.event-card h3 {
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.32;
}

.guide-tile p,
.guide-card p,
.guide-sidebar__card p,
.tool-sheet p,
.tool-sheet li,
.side-card p,
.side-card li,
.related-links__card p,
.service-standard__card p,
.store-locator__card p,
.store-locator__card li,
.dashboard-card p,
.dashboard-card li,
.admin-card p,
.admin-card li,
.info-card p,
.resource-card p,
.disease-card p,
.event-card p,
.event-card li {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.guide-note,
.article-list__summary,
.results-stats,
.form-feedback,
.quick-form__feedback,
.quick-form__note,
.triage-output__empty {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  border-color: rgba(178, 214, 203, 0.72);
  background: linear-gradient(145deg, rgba(250, 254, 252, 0.96), rgba(241, 249, 246, 0.9));
  box-shadow: 0 10px 24px rgba(41, 94, 92, 0.06);
}

.dashboard-card__head,
.dashboard-toolbar,
.admin-actions,
.article-filters,
.store-heat-list,
.event-status,
.photo-card__tag,
.story-visual__badge,
.event-status {
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .guide-grid,
  .guide-layout,
  .guide-sidebar,
  .tool-list,
  .detail-grid,
  .related-links__grid,
  .service-standard__grid,
  .dashboard-grid,
  .admin-layout,
  .contact-grid,
  .metric-grid,
  .timeline-grid,
  .impact-grid,
  .status-grid,
  .download-grid,
  .event-list,
  .store-locator {
    grid-template-columns: 1fr !important;
    min-width: 0 !important;
  }

  .guide-tile,
  .guide-card,
  .guide-sidebar__card,
  .tool-sheet,
  .side-card,
  .related-links__card,
  .service-standard__card,
  .store-locator__card,
  .dashboard-card,
  .admin-card,
  .info-card,
  .resource-card,
  .disease-card,
  .visual-card,
  .event-card {
    border-radius: 16px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 9px 22px rgba(41, 94, 92, 0.06);
  }

  .dashboard-card__head,
  .dashboard-toolbar,
  .admin-actions,
  .article-filters {
    display: flex;
    gap: 8px;
  }

  .dashboard-card__head > *,
  .dashboard-toolbar > *,
  .admin-actions > *,
  .article-filters > * {
    min-width: 0;
    max-width: 100%;
  }
}

/* Reading content polish: long article/tool copy stays elegant and readable. */
.article-body,
.guide-section,
.tool-sheet,
.detail-card,
.side-card,
.section-panel {
  color: var(--hope-ink);
}

.article-body p,
.article-body li,
.guide-section p,
.guide-section li,
.tool-sheet li,
.detail-card li,
.side-card li,
.section-panel li {
  overflow-wrap: anywhere;
  line-height: 1.82;
}

.article-body ul,
.guide-section ul,
.tool-sheet ul,
.detail-card ul,
.side-card ul,
.section-panel ul {
  padding-left: 1.15em;
}

.article-body li::marker,
.guide-section li::marker,
.tool-sheet li::marker,
.detail-card li::marker,
.side-card li::marker,
.section-panel li::marker {
  color: #78a85c;
}

.article-body h2,
.guide-section h2,
.section-panel h2 {
  overflow-wrap: anywhere;
  line-height: 1.24;
}

.article-body h3,
.guide-section h3,
.tool-sheet h3,
.detail-card h3,
.side-card h3 {
  overflow-wrap: anywhere;
  line-height: 1.32;
}

@media (max-width: 760px) {
  .article-body,
  .guide-section,
  .tool-sheet,
  .detail-card,
  .side-card,
  .section-panel {
    border-radius: 16px;
  }

  .article-body p,
  .article-body li,
  .guide-section p,
  .guide-section li,
  .tool-sheet li,
  .detail-card li,
  .side-card li,
  .section-panel li {
    font-size: 15px;
    line-height: 1.76;
  }

  .article-body ul,
  .guide-section ul,
  .tool-sheet ul,
  .detail-card ul,
  .side-card ul,
  .section-panel ul {
    padding-left: 1em;
  }
}

/* Homepage premium final: stronger first-screen presence with calm charity-tech polish. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(128, 121, 220, 0.16), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(155, 213, 106, 0.18), transparent 28%),
    linear-gradient(135deg, #f7fbfb 0%, #eef8f3 48%, #f8f7ff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(128, 121, 220, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 121, 220, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.56), transparent 78%);
}

.hero::after {
  width: min(520px, 52vw);
  aspect-ratio: 1;
  right: -12%;
  top: 12%;
  border-radius: 50%;
  border: 1px solid rgba(128, 121, 220, 0.16);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.66) 0 28%, transparent 29%),
    conic-gradient(from 160deg, rgba(128, 121, 220, 0.16), rgba(155, 213, 106, 0.24), rgba(233, 163, 93, 0.12), rgba(128, 121, 220, 0.16));
  filter: blur(0.2px);
  opacity: 0.72;
}

.hero__grid {
  position: relative;
}

.hero__content {
  backdrop-filter: blur(16px);
}

.hero__content h1 {
  text-wrap: balance;
}

.hero__stats {
  align-items: stretch;
}

.hero__stats article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(178, 214, 203, 0.7);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 251, 248, 0.76)),
    radial-gradient(circle at 86% 16%, rgba(155, 213, 106, 0.18), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 24px rgba(41, 94, 92, 0.06);
}

.hero__stats article::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px 12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(128, 121, 220, 0.7), rgba(155, 213, 106, 0.86));
  opacity: 0.72;
}

.hero__panel .panel-card {
  position: relative;
  border-color: rgba(178, 214, 203, 0.72);
}

.hero__panel .panel-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  pointer-events: none;
}

.photo-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 6px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(241, 249, 246, 0.66)),
    linear-gradient(90deg, rgba(128, 121, 220, 0.14), rgba(155, 213, 106, 0.18));
  box-shadow: 0 16px 38px rgba(41, 94, 92, 0.08);
}

.photo-marquee::before,
.photo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(96px, 18vw);
  pointer-events: none;
}

.photo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(247, 252, 249, 0.96), transparent);
}

.photo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(247, 252, 249, 0.96), transparent);
}

.photo-card {
  border-color: rgba(178, 214, 203, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px rgba(41, 94, 92, 0.08);
}

.photo-card__tag,
.story-visual__badge,
.event-status {
  border: 1px solid rgba(178, 214, 203, 0.74);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 249, 246, 0.82));
  color: #24645f;
  box-shadow: 0 6px 14px rgba(41, 94, 92, 0.06);
}

.journey-stage {
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(247, 252, 249, 0.82)),
    radial-gradient(circle at 18% 12%, rgba(128, 121, 220, 0.12), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(155, 213, 106, 0.16), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 44px rgba(41, 94, 92, 0.09);
}

.journey-stage__visual {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(241, 249, 246, 0.58)),
    radial-gradient(circle at 48% 50%, rgba(155, 213, 106, 0.16), transparent 42%);
  border: 1px solid rgba(178, 214, 203, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.journey-stage__visual path {
  filter: drop-shadow(0 8px 12px rgba(80, 112, 144, 0.14));
}

.journey-steps article {
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 249, 0.86)),
    radial-gradient(circle at 92% 8%, rgba(128, 121, 220, 0.1), transparent 32%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 24px rgba(41, 94, 92, 0.06);
}

.journey-steps span {
  border: 1px solid rgba(155, 213, 106, 0.62);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(235, 249, 229, 0.86)),
    radial-gradient(circle at 72% 24%, rgba(128, 121, 220, 0.16), transparent 38%);
  color: #24645f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(41, 94, 92, 0.08);
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(178, 214, 203, 0.7);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.88)),
    radial-gradient(circle at 92% 12%, rgba(155, 213, 106, 0.14), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 30px rgba(41, 94, 92, 0.07);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 16px 14px 16px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(128, 121, 220, 0.58), rgba(155, 213, 106, 0.78));
  opacity: 0.7;
}

@media (max-width: 760px) {
  .hero {
    background:
      radial-gradient(circle at 20% 12%, rgba(128, 121, 220, 0.13), transparent 28%),
      radial-gradient(circle at 88% 8%, rgba(155, 213, 106, 0.16), transparent 28%),
      linear-gradient(160deg, #f8fcfb 0%, #eef8f3 58%, #faf8ff 100%);
  }

  .hero::before {
    background-size: 38px 38px;
  }

  .hero::after {
    width: 340px;
    right: -180px;
    top: 90px;
    opacity: 0.42;
  }

  .hero__stats {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .photo-marquee {
    border-radius: 18px;
    padding: 4px;
  }

  .photo-marquee::before,
  .photo-marquee::after {
    width: 38px;
  }

  .journey-stage {
    border-radius: 20px;
  }

  .journey-stage__visual {
    border-radius: 18px;
  }

  .journey-steps article,
  .feature-card {
    border-radius: 16px;
  }
}

/* Remaining component polish: align variants and mid-frequency layouts. */
.button--ghost,
.button--secondary,
.button--wide,
.footer__button--primary,
.footer__button--secondary,
.page-card__body,
.article-card__meta,
.article-card__type,
.disease-tag,
.news-item,
.section-body,
.section-aside,
.section-visual__content,
.store-hero,
.guide-stack {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.button--ghost,
.footer__button--secondary {
  border-color: rgba(178, 214, 203, 0.78);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 249, 246, 0.84));
  color: #24645f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 7px 16px rgba(41, 94, 92, 0.06);
}

.button--secondary {
  border-color: rgba(233, 163, 93, 0.34);
  background:
    linear-gradient(145deg, rgba(255, 250, 244, 0.96), rgba(250, 232, 210, 0.86));
  color: #7a4f26;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(174, 111, 54, 0.08);
}

.footer__button--primary {
  border-color: rgba(118, 185, 116, 0.42);
  background:
    linear-gradient(145deg, rgba(228, 247, 218, 0.98), rgba(191, 228, 174, 0.92));
  color: #245f3e;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 9px 20px rgba(91, 154, 83, 0.11);
}

.footer__logo,
.footer__intro,
.section-heading--left,
.section-body,
.section-split,
.page-grid,
.news-list,
.store-hero {
  min-width: 0;
}

.footer__logo-mark {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 9px 20px rgba(41, 94, 92, 0.1);
}

.article-card__type,
.disease-tag,
.event-status--open,
.event-status--soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  border: 1px solid rgba(178, 214, 203, 0.74);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 249, 246, 0.82));
  color: #24645f;
  overflow-wrap: anywhere;
}

.article-card__meta {
  color: rgba(53, 75, 86, 0.74);
  line-height: 1.45;
}

.news-item,
.section-aside,
.section-visual__content,
.store-hero,
.guide-stack {
  border-color: rgba(178, 214, 203, 0.68);
}

@media (max-width: 760px) {
  .section-split,
  .story-split,
  .page-grid,
  .news-list,
  .store-hero {
    grid-template-columns: 1fr !important;
  }

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

  .footer__logo,
  .section-heading--left {
    text-align: center;
  }

  .article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .article-card__type,
  .disease-tag,
  .event-status--open,
  .event-status--soon {
    white-space: normal;
    line-height: 1.18;
  }
}

/* Section variant polish: keep recurring bands intentional instead of flat. */
.section--soft,
.section--utility,
.section--compact {
  position: relative;
  isolation: isolate;
}

.section--soft {
  background:
    radial-gradient(circle at 8% 12%, rgba(155, 213, 106, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(247, 252, 249, 0.92), rgba(250, 250, 255, 0.76));
}

.section--utility {
  background:
    linear-gradient(135deg, rgba(239, 249, 246, 0.94), rgba(250, 247, 255, 0.86)),
    radial-gradient(circle at 88% 18%, rgba(128, 121, 220, 0.08), transparent 30%);
}

.section--compact {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 252, 249, 0.78));
}

.photo-card--warm {
  background:
    linear-gradient(145deg, rgba(255, 250, 244, 0.96), rgba(248, 234, 218, 0.86)),
    radial-gradient(circle at 86% 14%, rgba(233, 163, 93, 0.16), transparent 34%);
}

.photo-card--calm {
  background:
    linear-gradient(145deg, rgba(246, 252, 252, 0.96), rgba(228, 244, 244, 0.86)),
    radial-gradient(circle at 86% 14%, rgba(77, 161, 168, 0.14), transparent 34%);
}

.photo-card--hope {
  background:
    linear-gradient(145deg, rgba(250, 254, 247, 0.96), rgba(234, 248, 224, 0.86)),
    radial-gradient(circle at 86% 14%, rgba(155, 213, 106, 0.18), transparent 34%);
}

.photo-card--trust {
  background:
    linear-gradient(145deg, rgba(250, 249, 255, 0.96), rgba(239, 238, 252, 0.86)),
    radial-gradient(circle at 86% 14%, rgba(128, 121, 220, 0.15), transparent 34%);
}

/* Workflow polish: forms, search, tables, feedback, and modal states. */
.booking-form,
.quick-form,
.site-search,
.article-filters,
.dashboard-toolbar,
.filters,
.dashboard-filters,
.operations-filters,
.event-modal__panel,
.triage-output,
.form-feedback,
.quick-form__feedback,
.triage-output__empty {
  min-width: 0;
}

.booking-form,
.triage-output,
.event-modal__panel {
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.9)),
    radial-gradient(circle at 90% 10%, rgba(155, 213, 106, 0.13), transparent 32%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 34px rgba(41, 94, 92, 0.07);
}

.booking-form label,
.quick-form label,
.dashboard-toolbar label,
.article-filters label {
  min-width: 0;
  color: #294f56;
  font-weight: 700;
  letter-spacing: 0;
}

input,
select,
textarea,
.site-search input,
.booking-form input,
.booking-form select,
.booking-form textarea,
.quick-form input,
.quick-form select,
.article-filters select,
.dashboard-toolbar select {
  width: 100%;
  min-width: 0;
  border-color: rgba(178, 214, 203, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 249, 0.92));
  color: #17393d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 16px rgba(41, 94, 92, 0.04);
}

textarea {
  resize: vertical;
  min-height: 128px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(54, 84, 91, 0.5);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(155, 213, 106, 0.76);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.site-search input:focus-visible,
.booking-form input:focus-visible,
.booking-form select:focus-visible,
.booking-form textarea:focus-visible,
.quick-form input:focus-visible,
.quick-form select:focus-visible {
  border-color: rgba(111, 174, 116, 0.82);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.96),
    0 0 0 6px rgba(155, 213, 106, 0.24),
    0 10px 24px rgba(41, 94, 92, 0.08);
}

.check-grid {
  min-width: 0;
  border-color: rgba(178, 214, 203, 0.72);
  background: rgba(250, 254, 252, 0.72);
}

.check-grid legend {
  color: #24645f;
  font-weight: 800;
}

.check-grid label {
  overflow-wrap: anywhere;
}

.form-feedback,
.quick-form__feedback,
.triage-output__empty {
  border-radius: 14px;
  color: #2d625c;
}

.triage-output h2,
.triage-output p,
.triage-output__empty {
  overflow-wrap: anywhere;
}

.site-search {
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.88));
  box-shadow: 0 12px 30px rgba(41, 94, 92, 0.06);
}

.popular-searches button {
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 249, 246, 0.86));
  color: #24645f;
}

.content-table,
.demand-table {
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(247, 252, 249, 0.86));
  box-shadow: 0 12px 30px rgba(41, 94, 92, 0.06);
}

.content-table table,
.demand-table table {
  min-width: 720px;
}

.content-table th,
.demand-table th {
  background: linear-gradient(180deg, rgba(232, 247, 239, 0.96), rgba(220, 240, 232, 0.9));
  color: #245f5a;
}

.content-table td,
.demand-table td {
  border-color: rgba(213, 232, 226, 0.78);
}

.event-modal {
  backdrop-filter: blur(8px);
}

.event-modal__close {
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 249, 246, 0.86));
  color: #24645f;
  box-shadow: 0 8px 18px rgba(41, 94, 92, 0.08);
}

.event-modal__panel h3,
.event-modal__panel p {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .booking-layout,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .booking-form,
  .triage-output,
  .site-search,
  .event-modal__panel {
    border-radius: 16px;
  }

  .booking-form {
    gap: 13px;
  }

  .booking-form label,
  .quick-form label {
    gap: 7px;
    font-size: 14px;
  }

  input,
  select,
  textarea {
    min-height: 44px;
    font-size: 15px;
  }

  textarea {
    min-height: 132px;
  }

  .check-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .site-search {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .content-table,
  .demand-table {
    border-radius: 16px;
  }

  .event-modal__panel {
    width: min(92vw, 520px);
    max-height: min(78vh, 680px);
    overflow: auto;
  }
}

/* Final workflow containment: labels and table cells never force overflow. */
label,
legend,
th,
td,
.booking-form label,
.quick-form label,
.dashboard-toolbar label,
.article-filters label,
.content-table th,
.content-table td,
.demand-table th,
.demand-table td {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  label,
  legend,
  th,
  td {
    line-height: 1.38;
  }

  .content-table th,
  .content-table td,
  .demand-table th,
  .demand-table td {
    max-width: 240px;
  }
}

/* Reading path polish: breadcrumbs, FAQ, timelines, utility bands, and floating entry points. */
.breadcrumb,
.faq-list,
.faq-list details,
.faq-list summary,
.process-steps,
.process-card,
.timeline-grid,
.timeline-card,
.impact-grid,
.impact-grid article,
.metric-card,
.status-grid,
.status-grid span,
.page-utility,
.service-desk,
.sticky-help,
.floating-rail,
.floating-rail__buttons,
.floating-rail__button,
.floating-panel {
  min-width: 0;
  max-width: 100%;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: rgba(50, 77, 86, 0.72);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.breadcrumb a {
  color: #24645f;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #6d67ca;
}

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

.faq-list details {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(178, 214, 203, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.88)),
    radial-gradient(circle at 92% 10%, rgba(155, 213, 106, 0.12), transparent 32%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 24px rgba(41, 94, 92, 0.06);
}

.faq-list details[open] {
  border-color: rgba(155, 213, 106, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 30px rgba(41, 94, 92, 0.08);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  color: #1d4f50;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  overflow-wrap: anywhere;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "";
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 11px;
  border: 1px solid rgba(155, 213, 106, 0.62);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 248, 225, 0.88));
  box-shadow: 0 7px 16px rgba(41, 94, 92, 0.07);
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  left: 29px;
  top: 50%;
  transform: translate(-50%, -52%);
  color: #24645f;
  font-weight: 900;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 18px 62px;
  color: rgba(39, 65, 72, 0.84);
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.process-card,
.timeline-card,
.impact-grid article,
.metric-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.88)),
    radial-gradient(circle at 90% 10%, rgba(128, 121, 220, 0.1), transparent 32%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 30px rgba(41, 94, 92, 0.07);
}

.process-card::before,
.timeline-card::before,
.impact-grid article::before,
.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(128, 121, 220, 0.7), rgba(155, 213, 106, 0.84));
  pointer-events: none;
}

.process-card > *,
.timeline-card > *,
.impact-grid article > *,
.metric-card > * {
  position: relative;
  min-width: 0;
}

.process-card h3,
.timeline-card h3,
.impact-grid article h3,
.metric-card h3 {
  overflow-wrap: anywhere;
  line-height: 1.32;
}

.process-card p,
.timeline-card p,
.impact-grid article p,
.metric-card p {
  overflow-wrap: anywhere;
  line-height: 1.72;
}

.status-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(178, 214, 203, 0.74);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 249, 246, 0.84));
  color: #24645f;
  box-shadow: 0 7px 16px rgba(41, 94, 92, 0.06);
  overflow-wrap: anywhere;
}

.page-utility,
.service-desk {
  position: relative;
  overflow: hidden;
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(247, 252, 249, 0.86)),
    radial-gradient(circle at 88% 16%, rgba(155, 213, 106, 0.14), transparent 32%),
    radial-gradient(circle at 8% 100%, rgba(128, 121, 220, 0.08), transparent 30%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 34px rgba(41, 94, 92, 0.08);
}

.page-utility > *,
.service-desk > * {
  position: relative;
  min-width: 0;
}

.page-utility h2,
.service-desk h2,
.page-utility p,
.service-desk p {
  overflow-wrap: anywhere;
}

.sticky-help {
  border-color: rgba(178, 214, 203, 0.7);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 249, 246, 0.86));
  box-shadow: 0 14px 34px rgba(41, 94, 92, 0.1);
}

.sticky-help span,
.sticky-help p,
.sticky-help a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.floating-rail__button {
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 249, 246, 0.86));
  color: #24645f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(41, 94, 92, 0.08);
}

.floating-rail__button:hover,
.floating-rail__button:focus-visible {
  border-color: rgba(155, 213, 106, 0.78);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 248, 225, 0.9));
}

.floating-panel {
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 249, 0.92));
  box-shadow: 0 18px 42px rgba(41, 94, 92, 0.14);
}

@media (max-width: 760px) {
  .breadcrumb {
    font-size: 13px;
    gap: 5px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-list details {
    border-radius: 16px;
  }

  .faq-list summary {
    padding: 15px 15px;
    gap: 10px;
    font-size: 15px;
  }

  .faq-list summary::before {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  .faq-list summary::after {
    left: 29px;
  }

  .faq-list details p {
    padding: 0 15px 16px 53px;
    font-size: 14.5px;
    line-height: 1.72;
  }

  .process-steps,
  .timeline-grid,
  .impact-grid,
  .status-grid {
    grid-template-columns: 1fr !important;
  }

  .process-card,
  .timeline-card,
  .impact-grid article,
  .metric-card,
  .page-utility,
  .service-desk {
    border-radius: 16px;
  }

  .sticky-help {
    left: 12px;
    right: 12px;
    width: auto;
  }

  .floating-rail__button {
    min-width: 0;
  }
}

/* Media asset polish: stable image ratios, refined QR blocks, and graceful media cards. */
img,
picture,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

.page-card--media,
.contact-panel--media,
.map-card--media,
.story-visual,
.section-visual,
.story-gallery__card,
.gallery-card,
.photo-card,
.visual-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 249, 0.86)),
    radial-gradient(circle at 88% 12%, rgba(155, 213, 106, 0.12), transparent 32%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 30px rgba(41, 94, 92, 0.07);
}

.page-card__media,
.page-card--media img,
.contact-panel--media img,
.map-card--media img,
.story-visual img,
.section-visual img,
.story-gallery__card img,
.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  object-fit: cover;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(241, 249, 246, 0.96), rgba(235, 241, 255, 0.82));
}

.story-visual img,
.section-visual img {
  aspect-ratio: 4 / 3;
}

.story-gallery__card img,
.gallery-card img {
  aspect-ratio: 3 / 2;
}

.page-card--media .page-card__body,
.section-visual__content,
.story-visual__badge,
.photo-card__tag {
  position: relative;
  min-width: 0;
  overflow-wrap: anywhere;
}

.section-visual__content {
  border: 1px solid rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 252, 249, 0.86));
  box-shadow: 0 10px 24px rgba(41, 94, 92, 0.07);
}

.section-visual__content h3,
.section-visual__content p,
.page-card--media h3,
.page-card--media p,
.page-card--media li {
  overflow-wrap: anywhere;
}

.photo-card {
  display: grid;
  align-content: end;
  min-height: 260px;
  padding: 22px;
}

.photo-card::after {
  opacity: 0.88;
}

.footer__qr,
.footer__qr-box {
  min-width: 0;
}

.footer__qr-box {
  display: grid;
  place-items: center;
  width: min(168px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(178, 214, 203, 0.74);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 249, 0.9)),
    radial-gradient(circle at 72% 18%, rgba(155, 213, 106, 0.12), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 24px rgba(41, 94, 92, 0.08);
}

.footer__qr-box img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 128px;
  max-height: 128px;
  object-fit: contain;
  border-radius: 8px;
}

.footer__qr p {
  max-width: 26em;
  margin-inline: auto;
  text-align: center;
  overflow-wrap: anywhere;
}

.map-card {
  min-width: 0;
}

.map-card--media .page-card__media {
  aspect-ratio: 16 / 9;
}

@media (max-width: 760px) {
  .page-card__media,
  .page-card--media img,
  .contact-panel--media img,
  .map-card--media img,
  .story-visual img,
  .section-visual img,
  .story-gallery__card img,
  .gallery-card img {
    min-height: 150px;
    border-radius: 14px;
  }

  .story-visual img,
  .section-visual img,
  .page-card__media {
    aspect-ratio: 4 / 3;
  }

  .photo-card {
    min-height: 220px;
    padding: 18px;
  }

  .footer__qr-box {
    width: min(150px, 72vw);
    padding: 12px;
    border-radius: 16px;
  }

  .footer__qr-box img {
    max-width: 118px;
    max-height: 118px;
  }

  .section-visual__content {
    border-radius: 14px;
  }
}

/* Dynamic UI polish: JS-generated chat, triage, floating-panel, and filtered states. */
.chat-window__message,
.chat-window__message--user,
.chat-window__message--desk,
.triage-priority,
.triage-tags,
.triage-tags span,
.triage-summary,
.triage-summary pre,
.floating-panel__content,
.floating-panel__close,
.floating-panel__qr,
.floating-panel__qr img,
[hidden] {
  min-width: 0;
  max-width: 100%;
}

.chat-window__message {
  width: fit-content;
  max-width: min(82%, 560px);
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid rgba(178, 214, 203, 0.72);
  line-height: 1.58;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 18px rgba(41, 94, 92, 0.06);
}

.chat-window__message--user {
  margin-left: auto;
  border-color: rgba(155, 213, 106, 0.72);
  background:
    linear-gradient(145deg, rgba(232, 248, 225, 0.96), rgba(211, 238, 198, 0.88));
  color: #245f3e;
}

.chat-window__message--desk {
  margin-right: auto;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.88));
  color: #244b52;
}

.triage-priority {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(155, 213, 106, 0.72);
  background:
    linear-gradient(145deg, rgba(232, 248, 225, 0.96), rgba(211, 238, 198, 0.86));
  color: #245f3e;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.triage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 12px;
}

.triage-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 249, 246, 0.84));
  color: #24645f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.triage-summary {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 249, 0.86));
  box-shadow: 0 9px 20px rgba(41, 94, 92, 0.05);
}

.triage-summary h3 {
  margin-top: 0;
  overflow-wrap: anywhere;
}

.triage-summary pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  line-height: 1.72;
  color: rgba(39, 65, 72, 0.84);
}

.triage-summary ul {
  margin-bottom: 0;
  padding-left: 1.1em;
}

.triage-summary li {
  overflow-wrap: anywhere;
  line-height: 1.7;
}

.floating-panel__content {
  display: grid;
  gap: 10px;
}

.floating-panel__content h3,
.floating-panel__content p,
.floating-panel__content a {
  overflow-wrap: anywhere;
}

.floating-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 249, 246, 0.86));
  color: #24645f;
  box-shadow: 0 7px 16px rgba(41, 94, 92, 0.07);
}

.floating-panel__qr {
  display: grid;
  place-items: center;
  width: min(160px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(178, 214, 203, 0.74);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 249, 0.9));
  box-shadow: 0 10px 24px rgba(41, 94, 92, 0.08);
}

.floating-panel__qr img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 124px;
  max-height: 124px;
  object-fit: contain;
}

[hidden] {
  display: none !important;
}

mark {
  border-radius: 5px;
  padding: 0 0.16em;
  background: rgba(225, 245, 196, 0.86);
  color: #245f3e;
}

@media (max-width: 760px) {
  .chat-window__message {
    max-width: 92%;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 14px;
  }

  .triage-tags {
    gap: 7px;
  }

  .triage-tags span {
    flex: 1 1 auto;
  }

  .triage-summary {
    padding: 12px;
    border-radius: 14px;
  }

  .floating-panel__qr {
    width: min(144px, 70vw);
    border-radius: 16px;
  }
}

/* Final feedback states: clear but gentle success and error messages. */
.form-feedback.is-success,
.quick-form__feedback.is-success {
  border-color: rgba(118, 185, 116, 0.58);
  background:
    linear-gradient(145deg, rgba(235, 249, 229, 0.96), rgba(213, 240, 205, 0.86));
  color: #245f3e;
  box-shadow: 0 9px 20px rgba(91, 154, 83, 0.08);
}

.form-feedback.is-error,
.quick-form__feedback.is-error {
  border-color: rgba(221, 132, 112, 0.46);
  background:
    linear-gradient(145deg, rgba(255, 247, 244, 0.96), rgba(250, 226, 218, 0.88));
  color: #8a3f2d;
  box-shadow: 0 9px 20px rgba(184, 86, 64, 0.08);
}

/* Low-frequency page polish: admin, news, downloads, knowledge index, and store visual variants. */
.admin-layout,
.admin-main,
.admin-sidebar,
.admin-form,
.admin-actions,
.review-list,
.progress-list,
.store-heat-list,
.knowledge-index__list,
.resource-columns,
.tool-grid,
.download-grid,
.news-list,
.news-item,
.news-item--top,
.dashboard-grid--wide,
.visual-card--tiantan,
.visual-card--cancer,
.visual-card--anzhen,
.visual-card--fuwai,
.visual-card--pku,
.visual-card--children {
  min-width: 0;
  max-width: 100%;
}

.admin-sidebar,
.admin-main,
.news-item,
.progress-list div,
.store-heat-list article,
.knowledge-index__list a,
.resource-columns > *,
.review-list,
.visual-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.88)),
    radial-gradient(circle at 90% 12%, rgba(155, 213, 106, 0.12), transparent 32%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 30px rgba(41, 94, 92, 0.07);
}

.news-item--top {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.88)),
    radial-gradient(circle at 92% 10%, rgba(128, 121, 220, 0.12), transparent 32%),
    radial-gradient(circle at 8% 100%, rgba(233, 163, 93, 0.1), transparent 28%);
}

.visual-card--tiantan {
  --visual-accent: rgba(128, 121, 220, 0.18);
}

.visual-card--cancer {
  --visual-accent: rgba(233, 163, 93, 0.18);
}

.visual-card--anzhen,
.visual-card--fuwai {
  --visual-accent: rgba(77, 161, 168, 0.16);
}

.visual-card--pku,
.visual-card--children {
  --visual-accent: rgba(155, 213, 106, 0.18);
}

.visual-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.88)),
    radial-gradient(circle at 88% 12%, var(--visual-accent, rgba(155, 213, 106, 0.14)), transparent 34%);
}

.admin-sidebar a,
.knowledge-index__list a,
.news-item a,
.resource-columns a,
.tool-grid a,
.download-grid a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-sidebar h3,
.admin-main h2,
.news-item h3,
.progress-list p,
.store-heat-list strong,
.store-heat-list p,
.knowledge-index__list strong,
.knowledge-index__list span,
.resource-columns h3,
.visual-card h3,
.visual-card p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.progress-list i {
  border: 1px solid rgba(155, 213, 106, 0.68);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 248, 225, 0.86));
  box-shadow: 0 7px 16px rgba(41, 94, 92, 0.06);
}

.store-heat-list span,
.news-item span,
.article-list__summary {
  border-color: rgba(178, 214, 203, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 249, 246, 0.84));
  color: #24645f;
}

.review-list {
  padding: 16px 18px;
}

.review-list li {
  overflow-wrap: anywhere;
  line-height: 1.7;
}

.download-grid,
.tool-grid,
.resource-columns,
.knowledge-index__list,
.news-list,
.progress-list,
.store-heat-list {
  gap: clamp(12px, 2vw, 18px);
}

@media (max-width: 760px) {
  .admin-layout,
  .dashboard-grid--wide,
  .download-grid,
  .tool-grid,
  .resource-columns,
  .news-list,
  .knowledge-index__list {
    grid-template-columns: 1fr !important;
  }

  .admin-sidebar,
  .admin-main,
  .news-item,
  .progress-list div,
  .store-heat-list article,
  .knowledge-index__list a,
  .resource-columns > *,
  .review-list,
  .visual-card {
    border-radius: 16px;
  }

  .admin-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .review-list {
    padding: 14px 16px;
  }
}

/* Final interaction polish: crisp focus, restrained motion, refined scrollbars. */
::selection {
  background: rgba(205, 236, 180, 0.82);
  color: #183f3d;
}

html {
  scrollbar-color: rgba(155, 213, 106, 0.62) rgba(241, 249, 246, 0.88);
  scrollbar-width: thin;
}

body::-webkit-scrollbar,
.event-modal__panel::-webkit-scrollbar,
.floating-panel::-webkit-scrollbar,
.content-table::-webkit-scrollbar,
.demand-table::-webkit-scrollbar,
.page-hero__panel .subnav::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-track,
.event-modal__panel::-webkit-scrollbar-track,
.floating-panel::-webkit-scrollbar-track,
.content-table::-webkit-scrollbar-track,
.demand-table::-webkit-scrollbar-track,
.page-hero__panel .subnav::-webkit-scrollbar-track {
  background: rgba(241, 249, 246, 0.86);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb,
.event-modal__panel::-webkit-scrollbar-thumb,
.floating-panel::-webkit-scrollbar-thumb,
.content-table::-webkit-scrollbar-thumb,
.demand-table::-webkit-scrollbar-thumb,
.page-hero__panel .subnav::-webkit-scrollbar-thumb {
  border: 2px solid rgba(241, 249, 246, 0.86);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(155, 213, 106, 0.72), rgba(128, 121, 220, 0.5));
}

a,
button,
summary,
input,
select,
textarea,
.button,
.footer__button,
.footer__helper,
.nav a,
.subnav a,
.knowledge-filter a,
.inline-tabs a,
.tool-link,
.popular-searches button,
.floating-rail__button,
.event-modal__close,
.check-grid label,
.page-card,
.article-card,
.download-card,
.related-links__card,
.search-result-card,
.news-item {
  -webkit-tap-highlight-color: rgba(155, 213, 106, 0.16);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.button:focus-visible,
.footer__button:focus-visible,
.footer__helper:focus-visible,
.nav a:focus-visible,
.subnav a:focus-visible,
.knowledge-filter a:focus-visible,
.inline-tabs a:focus-visible,
.tool-link:focus-visible,
.popular-searches button:focus-visible,
.floating-rail__button:focus-visible,
.event-modal__close:focus-visible,
.check-grid label:focus-within,
.page-card:focus-visible,
.article-card:focus-visible,
.download-card:focus-visible,
.related-links__card:focus-visible,
.search-result-card:focus-visible,
.news-item:focus-within {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.96),
    0 0 0 6px rgba(155, 213, 106, 0.28),
    0 12px 28px rgba(41, 94, 92, 0.12) !important;
}

.page-card:hover,
.article-card:hover,
.download-card:hover,
.related-links__card:hover,
.search-result-card:hover,
.news-item:hover,
.event-card:hover,
.store-card:hover,
.guide-card:hover,
.guide-tile:hover,
.tool-sheet:hover,
.store-locator__card:hover,
.dashboard-card:hover,
.admin-card:hover,
.feature-card:hover,
.service-card:hover,
.visual-card:hover {
  transform: translateY(-2px);
  border-color: rgba(155, 213, 106, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 16px 36px rgba(41, 94, 92, 0.1);
}

.button:active,
.footer__button:active,
.footer__helper:active,
.sticky-help a:active,
.nav a:active,
.subnav a:active,
.knowledge-filter a:active,
.inline-tabs a:active,
.tool-link:active,
.popular-searches button:active,
.floating-rail__button:active,
.event-modal__close:active {
  transform: translateY(1px) scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (hover: none) {
  .page-card:hover,
  .article-card:hover,
  .download-card:hover,
  .related-links__card:hover,
  .search-result-card:hover,
  .news-item:hover,
  .event-card:hover,
  .store-card:hover,
  .guide-card:hover,
  .guide-tile:hover,
  .tool-sheet:hover,
  .store-locator__card:hover,
  .dashboard-card:hover,
  .admin-card:hover,
  .feature-card:hover,
  .service-card:hover,
  .visual-card:hover {
    transform: none;
  }
}

/* Final containment QA: keep long copy, cards, and mobile data tables polished. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.article-card,
.download-card,
.page-card,
.store-card,
.guide-card,
.guide-tile,
.tool-sheet,
.search-result-card,
.news-item,
.event-card,
.dashboard-card,
.admin-card {
  width: 100%;
  max-width: 100%;
  contain: layout paint;
}

.article-card::after,
.download-card::after,
.page-card::after,
.store-card::after,
.news-card::after {
  display: none;
}

.article-card,
.article-card *,
.download-card,
.download-card *,
.search-result-card,
.search-result-card *,
.news-item,
.news-item *,
.event-card,
.event-card *,
.dashboard-card,
.dashboard-card *,
.admin-card,
.admin-card * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.article-card h3,
.download-card h3,
.download-card p,
.article-card p,
.search-result-card h3,
.search-result-card p,
.news-item h3,
.news-item p {
  max-width: 100%;
  white-space: normal;
  text-overflow: clip;
}

.demand-table,
.content-table {
  max-width: 100%;
  border-radius: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.demand-table table,
.content-table table {
  max-width: none;
}

.demand-table th,
.demand-table td,
.content-table th,
.content-table td {
  white-space: normal;
  overflow-wrap: anywhere;
  vertical-align: top;
}

.demand-table td:last-child,
.content-table td:last-child {
  min-width: 128px;
}

@media (max-width: 720px) {
  .demand-table,
  .content-table {
    margin-inline: -2px;
    padding-bottom: 6px;
  }

  .demand-table table,
  .content-table table {
    min-width: min(640px, calc(100vw - 28px));
  }

  .demand-table th,
  .demand-table td,
  .content-table th,
  .content-table td {
    padding: 11px 10px;
    line-height: 1.45;
  }
}

/* Final customer-grade surface pass: restrained cards, lighter depth, consistent edges. */
.page-card,
.feature-card,
.service-card,
.support-card,
.story-card,
.event-card,
.knowledge-card,
.store-card,
.guide-card,
.guide-tile,
.related-card,
.related-links__card,
.side-card,
.guide-sidebar__card,
.article-card,
.download-card,
.news-card,
.news-item,
.faq-card,
.search-result-card,
.process-card,
.timeline-card,
.tool-sheet,
.detail-card,
.panel-card,
.form-card,
.dashboard-card,
.admin-card,
.section-panel,
.page-utility,
.service-desk,
.article-body,
.article-sidebar,
.footer__contact-card,
.store-locator__card,
.visual-card {
  border-radius: 8px;
  border-color: rgba(171, 204, 190, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 20px rgba(38, 83, 80, 0.055);
}

.page-card:hover,
.feature-card:hover,
.service-card:hover,
.support-card:hover,
.story-card:hover,
.event-card:hover,
.knowledge-card:hover,
.store-card:hover,
.guide-card:hover,
.guide-tile:hover,
.related-card:hover,
.related-links__card:hover,
.article-card:hover,
.download-card:hover,
.news-card:hover,
.news-item:hover,
.faq-card:hover,
.search-result-card:hover,
.process-card:hover,
.timeline-card:hover,
.tool-sheet:hover,
.detail-card:hover,
.dashboard-card:hover,
.admin-card:hover,
.store-locator__card:hover,
.visual-card:hover {
  transform: translateY(-2px);
  border-color: rgba(136, 198, 169, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 26px rgba(38, 83, 80, 0.075);
}

.section-panel,
.detail-card,
.tool-sheet,
.guide-card,
.guide-tile,
.dashboard-card,
.admin-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 249, 0.88)),
    radial-gradient(circle at 96% 0%, rgba(181, 226, 204, 0.18), transparent 34%);
}

@media (max-width: 720px) {
  .page-card,
  .feature-card,
  .service-card,
  .support-card,
  .story-card,
  .event-card,
  .knowledge-card,
  .store-card,
  .guide-card,
  .guide-tile,
  .article-card,
  .download-card,
  .news-card,
  .news-item,
  .faq-card,
  .search-result-card,
  .process-card,
  .timeline-card,
  .tool-sheet,
  .detail-card,
  .panel-card,
  .form-card,
  .dashboard-card,
  .admin-card,
  .section-panel,
  .footer__contact-card {
    border-radius: 8px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.78),
      0 6px 16px rgba(38, 83, 80, 0.05);
  }
}

/* Deliverable button and micro-icon polish: final layer for all pages. */
:root {
  --deliver-mint-25: #fbfffc;
  --deliver-mint-50: #f3fbf6;
  --deliver-mint-100: #e4f6ea;
  --deliver-mint-200: #c9ecd7;
  --deliver-mint-300: #a9dfc0;
  --deliver-mint-500: #4fa879;
  --deliver-ink: #155249;
  --deliver-line: rgba(86, 165, 125, 0.42);
  --deliver-ring: rgba(67, 155, 111, 0.28);
  --deliver-shadow: 0 8px 18px rgba(37, 94, 78, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.button,
a.button,
button.button,
.hero-actions .button,
.cta-band .button,
.footer__button,
.booking-form .button,
.quick-form .button,
.site-search .button,
.search-form .button,
.event-modal .button,
.service-desk .button,
.form-actions .button,
[data-copy-triage] {
  min-height: 42px;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--deliver-line);
  background: linear-gradient(180deg, var(--deliver-mint-25) 0%, var(--deliver-mint-100) 52%, rgba(196, 235, 210, 0.96) 100%);
  color: var(--deliver-ink);
  box-shadow: var(--deliver-shadow);
  text-shadow: none;
  letter-spacing: 0;
  line-height: 1.18;
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.button:hover,
a.button:hover,
button.button:hover,
.footer__button:hover,
.booking-form .button:hover,
.quick-form .button:hover,
.site-search .button:hover,
.search-form .button:hover,
.service-desk .button:hover,
[data-copy-triage]:hover {
  border-color: rgba(67, 155, 111, 0.58);
  background: linear-gradient(180deg, #ffffff 0%, #eaf9ef 50%, #cfeeda 100%);
  color: #0f493f;
  box-shadow: 0 10px 22px rgba(37, 94, 78, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transform: translateY(-1px);
}

.button:active,
a.button:active,
button.button:active,
.footer__button:active,
.floating-rail__button:active,
.menu-toggle:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(37, 94, 78, 0.08), inset 0 1px 1px rgba(30, 99, 76, 0.12);
}

.button--secondary,
.footer__button--secondary,
.button.button--secondary,
a.button.button--secondary,
button.button.button--secondary {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%);
  border-color: rgba(107, 178, 139, 0.42);
  color: #1d6759;
  box-shadow: 0 6px 15px rgba(37, 94, 78, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.button--ghost,
.button.button--ghost,
a.button.button--ghost,
button.button.button--ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(114, 183, 146, 0.38);
  color: #22695a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.button--small,
.button.button--small {
  min-height: 34px;
  padding-block: 8px;
  border-radius: 8px;
}

.menu-toggle,
.floating-rail__button,
.floating-panel__close,
[data-share-page],
[data-search-term],
[data-question],
[data-event-join] {
  border-radius: 8px;
  border-color: rgba(105, 174, 136, 0.4);
  color: var(--deliver-ink);
  text-shadow: none;
  box-shadow: 0 5px 14px rgba(37, 94, 78, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.menu-toggle,
.floating-rail__button {
  background: linear-gradient(180deg, #ffffff 0%, #effaf3 100%);
}

.floating-rail__icon,
.brand__mark,
.footer__logo-mark,
.stat__icon,
.service-icon,
.feature-card__icon,
.guide-icon,
.tool-icon,
.contact-icon,
.store-icon,
.news-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #edf9f2 100%);
  border: 1px solid rgba(100, 173, 135, 0.34);
  color: #1b6657;
  box-shadow: 0 5px 12px rgba(37, 94, 78, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  text-shadow: none;
}

.floating-rail__icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.eyebrow,
.tag,
.status,
.store-status,
.event-status,
.article-card__type,
.photo-card__tag,
.knowledge-tag,
.news-tag,
.pill,
.badge {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(105, 174, 136, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(235, 248, 241, 0.82));
  color: #1c6758;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  text-shadow: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.button:focus-visible,
a.button:focus-visible,
button.button:focus-visible,
.menu-toggle:focus-visible,
.floating-rail__button:focus-visible,
.floating-panel__close:focus-visible,
[data-share-page]:focus-visible,
[data-search-term]:focus-visible,
[data-question]:focus-visible,
[data-event-join]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--deliver-ring);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .button,
  a.button,
  button.button,
  .footer__button,
  .booking-form .button,
  .quick-form .button,
  .site-search .button,
  .search-form .button,
  .service-desk .button {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    padding-inline: 14px;
  }

  .button--small,
  .button.button--small,
  [data-share-page],
  [data-search-term],
  [data-question],
  [data-event-join] {
    width: auto;
    min-height: 36px;
  }

  .floating-rail__button {
    box-shadow: 0 4px 12px rgba(37, 94, 78, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

/* Deliverable QA containment: mobile overlays, action radii, and visual-copy bounds. */
.button,
a.button,
button.button,
.footer__button,
[data-share-page],
[data-search-term],
[data-question],
[data-event-join],
.chat-actions button,
.page-utility__actions .button,
.guide-sidebar__card .button,
.related-links__card .button,
.side-card .button {
  border-radius: 8px !important;
}

.section-visual,
.story-visual,
.visual-card,
.map-card--media,
.contact-panel--media,
.page-card--media {
  max-width: 100%;
  overflow: hidden;
}

.section-visual__content,
.story-visual__badge,
.page-card--media .page-card__body {
  max-width: calc(100% - 24px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 8px;
}

.floating-panel {
  right: clamp(58px, 14vw, 76px);
  left: auto;
  max-width: calc(100vw - 88px);
  border-radius: 8px;
  overflow: hidden;
}

.floating-panel__close {
  position: relative;
  inset: auto;
  width: 34px;
  height: 34px;
  margin: 0 0 8px auto;
  flex: 0 0 34px;
}

@media (max-width: 720px) {
  .section-visual__content,
  .story-visual__badge,
  .page-card--media .page-card__body {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    margin-inline: 14px;
    padding-inline: 14px;
    border-radius: 8px;
  }

  .section-visual__content h3,
  .section-visual__content p,
  .story-visual__badge h3,
  .story-visual__badge p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .floating-panel {
    right: 56px;
    left: auto;
    width: calc(100vw - 76px);
    max-width: calc(100vw - 76px);
    padding: 14px;
    border-radius: 8px;
  }

  .floating-panel__close {
    margin-right: 0;
  }

  .photo-marquee {
    max-width: 100vw;
    overflow: hidden;
  }
}

/* Deliverable final action-radius lock for mobile header and utility actions. */
.header__actions .button,
.header__actions a.button,
.header__actions button.button,
.site-header .button,
.site-header a.button,
.site-header button.button,
.nav .button,
.nav a.button,
.page-hero__actions .button,
.page-utility__actions .button,
.hero-actions .button,
.hero__actions .button,
.cta-row .button,
.help-banner__actions .button {
  border-radius: 8px !important;
}

@media (max-width: 720px) {
  .header__actions .button,
  .header__actions a.button,
  .header__actions button.button,
  .site-header .button,
  .site-header a.button,
  .site-header button.button,
  .nav .button,
  .nav a.button {
    border-radius: 8px !important;
  }
}
