:root {
  --navy: #304176;
  --navy-dark: #222f57;
  --green: #94bd55;
  --green-dark: #55792a;
  --orange: #d7773d;
  --orange-dark: #b3541c;
  --red: #9e3135;
  --ink: #1f2733;
  --muted: #55606e;
  --line: #dfe4ec;
  --band: #f3f6fa;
  --radius: 10px;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}

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

a {
  color: var(--navy);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--navy);
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.band {
  background: var(--band);
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy);
  color: #fff;
  border-bottom: 4px solid var(--green);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.15;
}

.brand img {
  width: 96px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-call,
.btn-primary {
  background: var(--orange-dark);
  color: #fff;
}

.btn-call:hover,
.btn-primary:hover {
  background: #8f4113;
}

.btn-ghost {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.ribbon {
  display: inline-block;
  background: var(--orange-dark);
  color: #fff;
  font-weight: 700;
  font-style: italic;
  font-size: 0.9rem;
  padding: 0.25rem 1.5rem 0.25rem 0.75rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 1rem) 100%, 0 100%);
  margin-bottom: 1rem;
}

.since {
  color: var(--green-dark);
  font-weight: 800;
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgb(34 47 87 / 0.25);
}

/* Lists */

ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

.checks,
.ticks,
.plain {
  list-style: none;
  padding: 0;
}

.checks li,
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.45rem;
}

.checks li {
  font-weight: 700;
  font-style: italic;
}

.checks li::before,
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--green-dark)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 100% no-repeat;
}

.plain li {
  margin-bottom: 0.45rem;
}

/* Steam */

.two-col {
  display: grid;
  gap: 1.5rem 3rem;
}

.eco {
  background: #fff;
  border-left: 6px solid var(--green);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-style: italic;
}

.eco-big {
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--navy);
}

.eco p:last-child {
  margin-bottom: 0;
}

/* Cleaning / sanitizing / disinfecting */

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46rem;
}

.cards {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.card {
  border: 1px solid var(--line);
  border-top: 6px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fff;
}

.card img {
  height: 72px;
  width: auto;
  margin-bottom: 1rem;
}

.card p {
  margin: 0;
}

.card-sanitize {
  border-top-color: var(--green);
}

.card-sanitize h3 {
  color: var(--green-dark);
}

.card-disinfect {
  border-top-color: var(--orange);
}

.card-disinfect h3 {
  color: var(--orange-dark);
}

.note {
  color: var(--navy);
  font-weight: 600;
  max-width: 52rem;
  margin: 0;
}

/* Gallery */

.group {
  margin-top: 2rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--line);
}

.gallery,
.pairs {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

figure {
  margin: 0;
}

.gallery img,
.pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--line);
}

figcaption {
  font-size: 0.95rem;
  color: var(--muted);
  padding-top: 0.4rem;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.pair > div {
  position: relative;
}

.pair figcaption {
  grid-column: 1 / -1;
}

.tag {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  background: rgb(31 39 51 / 0.85);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.tag-after {
  background: var(--green-dark);
}

/* Unlock */

.unlock {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.unlock img {
  width: 88px;
  flex: none;
}

.unlock h2 {
  color: var(--red);
}

.unlock p {
  margin: 0;
  font-size: 1.15rem;
}

/* Chinese section */

.zh h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

/* Footer */

.site-footer {
  background: var(--navy-dark);
  color: #d9deea;
  text-align: center;
  padding: 2.5rem 0 5.5rem;
}

.site-footer a {
  color: #fff;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

.site-footer .foot-call {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

/* Phone-only sticky call button */

.sticky-call {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 0.75rem;
  z-index: 15;
  background: var(--orange-dark);
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.3);
}

@media (max-width: 759px) {
  /* The sticky call button covers this on phones. */
  .btn-call {
    display: none;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .gallery figcaption {
    font-size: 0.85rem;
  }
}

@media (min-width: 560px) {
  .pairs {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .site-footer {
    padding-bottom: 2.5rem;
  }

  .hero-grid,
  .two-col {
    grid-template-columns: 1fr 1fr;
  }

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

  .brand {
    font-size: 1.25rem;
  }

  .brand img {
    width: 120px;
  }
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.site-footer .foot-call a,
a[href^="tel:"] {
  white-space: nowrap;
}
