/* ==========================================================================
   Tingo Environmental Service Co. Limited — new site styles
   Brand palette sampled from the new logo
   ========================================================================== */

:root {
  --teal: #0e93a6;
  --teal-dark: #0a6e7c;
  --teal-darker: #084d58;
  --cyan: #33c1e0;
  --cyan-soft: #a9e4f0;
  --green: #92b840;
  --green-dark: #789a2f;
  --ink: #123a42;
  --body: #41575c;
  --muted: #6b838a;
  --bg: #ffffff;
  --bg-tint: #f2f9fa;
  --bg-tint-2: #e7f4f6;
  --line: #dcecef;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(8, 77, 88, 0.08);
  --shadow-lg: 0 20px 50px rgba(8, 77, 88, 0.14);
  --maxw: 1180px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "PingFang HK", "Microsoft JhengHei", "Noto Sans TC", "Apple LiGothic Medium", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--body);
  background: var(--bg);
}

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

a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 84px 0; }
.section--tint { background: var(--bg-tint); }
.section--tight { padding: 60px 0; }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 2.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-family: inherit;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 147, 166, 0.32);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(14, 147, 166, 0.42); }

.btn-outline { border-color: var(--teal); color: var(--teal-dark); background: transparent; }
.btn-outline:hover { background: var(--teal); color: #fff; }

.btn-light { background: #fff; color: var(--teal-dark); }
.btn-light:hover { color: var(--teal); }

.btn-ghost-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--teal); }

.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }

.brand-logo {
  flex: 0 0 auto;
  width: auto;
  height: 52px;
  object-fit: contain;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text strong { font-size: 1.02rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-text small { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.primary-nav { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.primary-nav ul { display: flex; align-items: center; gap: 2px; }
.primary-nav a {
  display: block;
  padding: 9px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  white-space: nowrap;
}
.primary-nav a:hover { background: var(--bg-tint-2); color: var(--teal); }
.primary-nav a.is-active { color: var(--teal-dark); background: var(--bg-tint-2); }
.nav-cta { margin-left: 4px; padding: 9px 15px; white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 110px 0 96px;
  background: linear-gradient(135deg, rgba(8, 77, 88, 0.92), rgba(14, 147, 166, 0.78)),
              url("../images/banner.jpg") center/cover no-repeat;
  overflow: hidden;
}
.hero--page { padding: 76px 0 68px; }
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 193, 224, 0.45), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1, .hero h2 { color: #fff; }
.hero p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; max-width: 620px; }

.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }

.hero-logo {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  padding: 22px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}

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

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.88rem;
  font-weight: 600;
}
.hero-badges span::before { content: "\2713"; color: var(--green); font-weight: 700; }

.page-hero-breadcrumb { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 6px; }
.page-hero-breadcrumb a { color: rgba(255, 255, 255, 0.9); }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bg-tint-2), #fff);
  border: 1px solid var(--line);
  color: var(--teal);
  margin-bottom: 18px;
}
.card-icon svg { width: 28px; height: 28px; }

/* benefit cards */
.benefit { text-align: center; }
.benefit .card-icon { margin: 0 auto 18px; }
.benefit ul { color: var(--muted); font-size: 0.95rem; }
.benefit ul li + li { margin-top: 6px; }

/* service cards */
.service-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.service-card .service-media {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-tint);
}
.service-card .service-media::before {
  content: "";
  display: block;
  padding-top: 75%;
}
.service-card .service-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-card .service-body { padding: 26px 28px 30px; }
.service-card h3 { color: var(--teal-dark); }
.service-card h4 { font-size: 1rem; color: var(--teal); margin: 20px 0 8px; }
.service-card p { font-size: 0.96rem; }

/* Service cards that link into the services page. */
a.service-card { color: var(--body); }
a.service-card:hover { color: var(--body); }
.service-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal-dark);
}
a.service-card:hover .service-link { color: var(--teal); }

/* Anchor targets: clear the sticky header and mark the card that was opened. */
.service-card[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.service-card[id]:target { border-color: var(--teal); box-shadow: var(--shadow-lg); }

/* service list (8 services) */
.service-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-list li:hover { transform: translateY(-3px); border-color: var(--cyan); }
.service-list .num {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}
.service-list .num.green { background: linear-gradient(135deg, var(--green), var(--green-dark)); }

/* clients */
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  min-height: 170px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.client-logo:hover { transform: translateY(-4px); }
.client-logo img { max-height: 100px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(15%); }

/* ---------- home page client marquee ---------- */
.clients-slider {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.clients-track {
  display: flex;
  width: max-content;
  animation: clients-scroll 85s linear infinite;
}
.clients-track .client-logo {
  flex: 0 0 auto;
  width: 260px;
  min-height: 180px;
  padding: 22px;
  margin-right: 22px;
}
.clients-track .client-logo img { max-height: 108px; }
.clients-slider:hover .clients-track,
.clients-slider:focus-within .clients-track { animation-play-state: paused; }
@keyframes clients-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (max-width: 620px) {
  .clients-track { animation-duration: 50s; }
  .clients-track .client-logo { width: 180px; min-height: 130px; padding: 16px; margin-right: 16px; }
  .clients-track .client-logo img { max-height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
  .clients-slider { overflow-x: auto; }
}

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.gallery img:hover { transform: scale(1.03); }

/* facebook embeds */
.fb-embeds { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; align-items: flex-start; }
.fb-embeds .fb-video {
  border: 0;
  overflow: hidden;
  width: 267px;
  max-width: 100%;
  height: 476px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}
.fb-embeds .fb-post {
  border: 0;
  overflow: hidden;
  width: 500px;
  max-width: 100%;
  height: 717px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; box-shadow: var(--shadow); }
.stat strong { display: block; font-size: 2rem; color: var(--teal); line-height: 1.1; }
.stat span { font-size: 0.9rem; color: var(--muted); }

/* ---------- split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split ul.check { margin-top: 12px; }
.split ul.check li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.split ul.check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-dark);
  font-weight: 700;
}

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal-darker), var(--teal));
  color: #fff;
  border-radius: var(--radius);
  padding: 54px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin: 0; }
.cta-band .hero-actions { margin-top: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: start; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tint-2);
  color: var(--teal);
}
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--ink); font-size: 0.92rem; }
.contact-list a, .contact-list span { color: var(--body); }
.contact-list a:hover { color: var(--teal); text-decoration: underline; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .req { color: #d9534f; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: #fbfefe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 147, 166, 0.12);
}
.field textarea { min-height: 150px; resize: vertical; }

.form-note { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-ok { display: block; background: #eaf6ea; color: #2f7d32; border: 1px solid #bfe3c0; }
.form-status.is-err { display: block; background: #fdecea; color: #b23b34; border: 1px solid #f3c2bd; }

.map-embed { border: 0; width: 100%; height: 420px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: var(--teal); }
.site-footer li { margin-bottom: 9px; font-size: 0.95rem; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand img { width: auto; height: 54px; object-fit: contain; }
.footer-brand strong { color: #fff; font-size: 1rem; }
.footer-brand small { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.72rem; }
.footer-bni { display: block; width: 90px; height: auto; margin-top: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- scroll top ---------- */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  box-shadow: var(--shadow-lg);
}
.scroll-top.is-visible { display: flex; }
.scroll-top svg { width: 20px; height: 20px; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow-lg);
}
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; }

/* ---------- utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 36px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* Collapse the navigation into a hamburger before the English labels can wrap. */
@media (max-width: 1120px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a { padding: 12px 14px; border-radius: var(--radius-sm); }
  .nav-cta { margin: 10px 0 0; }
  .lang-switch { margin: 10px 0 0; align-self: flex-start; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-logo { max-width: 240px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand-text small { display: none; }
  .wa-float span { display: none; }
  .wa-float { padding: 13px; }
}

/* ---------- language switcher (short form) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-tint-2);
}
.lang-switch a {
  display: block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  color: var(--teal-dark);
  white-space: nowrap;
}
.lang-switch a:hover { background: #fff; color: var(--teal); }
.lang-switch a.is-active {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: #fff;
}

/* ---------- Q&A page ---------- */
.qa-container { max-width: var(--maxw); }
.qa-group { margin-bottom: 96px; }
.qa-group:last-of-type { margin-bottom: 0; }
.qa-group-title {
  font-size: 1.15rem;
  color: var(--teal-dark);
  border-left: 4px solid var(--teal);
  padding-left: 14px;
  margin-bottom: 36px;
}
.qa-list { display: grid; gap: 12px; }
.qa-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.qa-item[open] { border-color: var(--cyan); }
.qa-item summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 26px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary:hover { color: var(--teal-dark); }
.qa-item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.qa-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}
.qa-question { flex: 1 1 auto; }
.qa-toggle {
  flex: 0 0 auto;
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 5px;
}
.qa-toggle::before,
.qa-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.qa-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa-item[open] .qa-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa-answer { padding: 0 26px 22px 86px; color: var(--body); }
.qa-answer p { margin: 0; }
.qa-item[open] .qa-answer {
  margin-top: 2px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.qa-tips {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
}
.qa-tips ul.check li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  color: var(--body);
}
.qa-tips ul.check li:last-child { margin-bottom: 0; }
.qa-tips ul.check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-dark);
  font-weight: 700;
}
.qa-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 620px) {
  .qa-group { margin-bottom: 72px; }
  .qa-group-title { margin-bottom: 28px; }
  .qa-list { gap: 10px; }
  .qa-answer { padding: 0 22px 22px; }
  .qa-item[open] .qa-answer { padding-top: 16px; }
}
