:root {
  --navy: #0b2f5b;
  --navy-dark: #071f3c;
  --navy-muted: #173f70;
  --red: #c92836;
  --red-dark: #a91f2c;
  --ink: #172033;
  --muted: #5f6b7a;
  --line: #dfe6ee;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --soft-blue: #eef3f8;
  --shadow: 0 18px 42px rgba(8, 35, 66, 0.12);
  --radius: 8px;
  --max-width: 1160px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

[data-lang] {
  display: none;
}

html[data-language="en"] [data-lang="en"],
html[data-language="zh"] [data-lang="zh"] {
  display: inline;
}

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

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

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -90px;
  z-index: 30;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--navy);
  border-radius: var(--radius);
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-shell {
  min-height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 900;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  font-weight: 900;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  color: var(--red);
  font-size: 0.92rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: var(--navy-dark);
  font-size: 0.91rem;
  font-weight: 800;
}

.nav-links a {
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lang-button {
  min-width: 72px;
  min-height: 36px;
  padding: 7px 10px;
  color: var(--navy);
  background: var(--paper);
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.lang-button.is-active {
  color: var(--paper);
  background: var(--navy);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-bars {
  position: relative;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-bars::before {
  top: -7px;
}

.menu-bars::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-bars {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bars::before {
  transform: translateY(7px) rotate(90deg);
}

.menu-toggle[aria-expanded="true"] .menu-bars::after {
  opacity: 0;
}

.hero {
  background: linear-gradient(180deg, #f7f9fc, #ffffff);
}

.hero-shell {
  width: min(var(--max-width), calc(100% - 44px));
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
  padding: 56px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 44px;
}

.hero-copy-block {
  padding: 34px 0;
}

.eyebrow,
.section-kicker {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--navy-dark);
  font-size: clamp(2.7rem, 6.4vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-tagline {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(1.2rem, 2.4vw, 1.62rem);
  font-weight: 900;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--soft-blue);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: var(--red);
}

.hero-photo img {
  width: 100%;
  height: min(72vh, 680px);
  object-fit: cover;
  object-position: right center;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: var(--navy);
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(8, 35, 66, 0.16);
}

.button-primary {
  color: var(--paper);
  background: var(--red);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-red:hover,
.button-red:focus-visible {
  background: var(--red-dark);
}

.button-secondary,
.button-red-outline {
  color: var(--navy);
  border-color: var(--navy);
}

.button-red-outline {
  border-color: var(--red);
}

.button-light {
  color: var(--navy);
  background: var(--paper);
}

.button-red {
  color: var(--paper);
  background: var(--red);
}

.button-outline-light {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.78);
  background: transparent;
}

.trust-bar {
  width: min(var(--max-width), calc(100% - 44px));
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-item {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(8, 35, 66, 0.05);
}

.trust-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  font-size: 0.78rem;
}

.section {
  width: min(var(--max-width), calc(100% - 44px));
  margin: 0 auto;
  padding: 76px 0;
}

.muted-section {
  width: 100%;
  max-width: none;
  padding-left: max(22px, calc((100% - var(--max-width)) / 2));
  padding-right: max(22px, calc((100% - var(--max-width)) / 2));
  background: var(--soft);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 48px;
  align-items: center;
}

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

.section-heading h2,
.section-copy h2,
.safety-plan h2,
.why-content h2,
.contact-heading h2,
.campaign-cta h2 {
  margin-bottom: 16px;
  color: var(--navy-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.body-copy p,
.section-heading p,
.priority-card p,
.why-content p,
.campaign-cta p {
  color: var(--muted);
}

.body-copy p:last-child,
.section-heading p:last-child,
.priority-card p:last-child,
.campaign-cta p:last-child {
  margin-bottom: 0;
}

.about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft-blue);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

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

.priority-card,
.news-card,
.certificate-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.priority-card:hover,
.news-card:hover,
.certificate-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 47, 91, 0.25);
  box-shadow: 0 16px 34px rgba(8, 35, 66, 0.09);
}

.priority-card {
  padding: 24px;
}

.priority-card:nth-child(5) {
  grid-column: 1 / -1;
}

.priority-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.priority-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  font-weight: 900;
}

.priority-label {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.priority-card h3 {
  margin-bottom: 12px;
  color: var(--navy-dark);
  font-size: 1.35rem;
  line-height: 1.22;
}

.priority-card h4 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 0.96rem;
}

.priority-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.priority-card li + li {
  margin-top: 6px;
}

.safety-plan,
.why-section,
.campaign-cta {
  padding: 76px max(22px, calc((100% - var(--max-width)) / 2));
  color: var(--paper);
  background: var(--navy-dark);
}

.safety-content,
.why-content,
.cta-content {
  max-width: 900px;
}

.safety-plan h2,
.safety-plan p,
.safety-plan .section-kicker,
.why-section h2,
.why-section p,
.why-section .section-kicker,
.campaign-cta h2,
.campaign-cta p {
  color: var(--paper);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.safety-grid div {
  min-height: 118px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  font-weight: 900;
}

.mid-cta {
  background: var(--navy);
}

.final-cta {
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
}

.anchor-offset {
  position: absolute;
  top: -80px;
}

.awards-section .section-heading {
  margin-bottom: 26px;
}

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

.certificate-card {
  margin: 0;
  padding: 14px;
}

.certificate-card img {
  width: 100%;
  height: 370px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.certificate-card figcaption {
  padding: 14px 4px 4px;
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}

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

.news-card {
  min-height: 150px;
  padding: 24px;
  border-top: 5px solid var(--red);
}

.news-date {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card h3 {
  color: var(--navy-dark);
  font-size: 1.18rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #cbd4df;
  border-radius: var(--radius);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 47, 91, 0.14);
}

.full-field {
  grid-column: 1 / -1;
}

.site-footer {
  padding: 42px max(22px, calc((100% - var(--max-width)) / 2)) 26px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--navy-dark);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-main h2 {
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 1.35rem;
}

.footer-main p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 900;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--paper);
}

.authorization {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--red);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(8, 35, 66, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 10px;
    font-size: 0.86rem;
  }

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

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    max-height: calc(100vh - var(--header-height));
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 22px 24px;
    overflow: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(8, 35, 66, 0.12);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .language-switch {
    width: 100%;
  }

  .lang-button {
    flex: 1;
  }

  .hero-shell {
    min-height: auto;
    padding-top: 28px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-photo {
    order: 1;
  }

  .hero-copy-block {
    order: 2;
    padding: 8px 0 44px;
  }

  .hero-photo img {
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 9;
    object-position: right center;
  }

  .trust-bar,
  .priority-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .section,
  .muted-section,
  .safety-plan,
  .why-section,
  .campaign-cta {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .news-grid,
  .certificate-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    padding: 0 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    font-size: 0.94rem;
  }

  .hero-shell,
  .section,
  .trust-bar {
    width: min(100% - 32px, var(--max-width));
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.55rem);
  }

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

  .button {
    width: 100%;
  }

  .trust-item {
    min-height: 78px;
  }

  .safety-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .certificate-card img {
    height: 300px;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
