:root {
  --ink: #1c2430;
  --muted: #667085;
  --line: #e6eaf0;
  --bg: #f5f7fa;
  --panel: #ffffff;
  --green: #16a34a;
  --green-deep: #12833c;
  --blue: #2563eb;
  --danger: #dc2626;
  --warn: #d97706;
  --font: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.note {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  background: #111827;
  color: #cbd5e1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.brand-mark {
  height: 34px;
  width: auto;
  max-width: min(220px, 46vw);
  object-fit: contain;
  display: block;
}
.top {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}
@media (min-width: 760px) {
  .brand-mark { height: 40px; max-width: 260px; }
}
.top nav {
  display: none;
  gap: 1.2rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.top nav a:hover { color: var(--ink); }
.top-actions { display: flex; gap: 0.5rem; align-items: center; }
.linkish { font-weight: 650; color: var(--muted); font-size: 0.9rem; }
.social-top { display: flex; gap: 0.35rem; align-items: center; }
.social-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--ink);
}
.social-btn.ig:hover { border-color: #e1306c; color: #e1306c; background: #fff5f8; }
.social-btn.x:hover { border-color: #111; color: #111; background: #f3f4f6; }
@media (max-width: 720px) {
  .social-top { display: none; }
}
.detail-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.75rem; }
.comment-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem; }
.comment-list time { color: var(--muted); font-size: 0.8rem; margin-left: 0.4rem; }
.body-text { white-space: pre-wrap; margin: 1rem 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn.lg { padding: 0.75rem 1.15rem; }
.btn.block { width: 100%; margin-top: 0.75rem; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline.light {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

.hero {
  background:
    radial-gradient(700px 280px at 85% 10%, rgba(22, 163, 74, 0.14), transparent 60%),
    linear-gradient(180deg, #ffffff, #f3f6f9);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.2rem clamp(1rem, 3vw, 2rem) 2.4rem;
  text-align: center;
}
.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--green-deep);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.lead {
  margin: 0.7rem auto 1.3rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.search-hero {
  display: flex;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.4rem;
  box-shadow: 0 10px 30px rgba(28, 36, 48, 0.06);
}
.search-hero input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.stats {
  max-width: 1480px;
  margin: -1rem auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.stats div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.15rem;
}
.stats b { font-size: 1.35rem; font-weight: 800; }
.stats span { color: var(--muted); font-size: 0.82rem; font-weight: 600; }

.wrap {
  max-width: 1480px;
  margin: 0 auto;
  padding: 1.6rem clamp(1rem, 3vw, 2rem) 2.5rem;
}
.block { margin-top: 1.4rem; }
.block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.block-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.block-head a {
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.9rem;
}


.slider-nav { display: flex; gap: 0.4rem; }
.slider-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.slider-btn:hover { background: #eaf8ef; border-color: #86efac; }

.slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.25rem;
  padding: 0.25rem;
}
.slider::-webkit-scrollbar { display: none; }
.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 32vw);
  gap: 1rem;
}
.slide-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.slide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(28,36,48,0.1);
}
.slide-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top;
  background: #111;
}
.slide-body { padding: 1rem 1.05rem 1.15rem; display: grid; gap: 0.35rem; }
.slide-body h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; font-weight: 800; }
.slide-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.slide-body small { color: #98a2b3; font-size: 0.8rem; font-weight: 650; }

.tag {
  display: inline-block;
  width: fit-content;
  background: #eaf8ef;
  color: var(--green-deep);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
}

.split {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}
.grow { min-width: 0; }

.mini-tabs {
  display: flex;
  gap: 0.25rem;
  background: #eef2f6;
  padding: 0.2rem;
  border-radius: 999px;
}
.mini-tabs button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.mini-tabs button.on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.complaint-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.complaint-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.complaint-list li.flash-back {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.complaint-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(28, 36, 48, 0.09);
}
.complaint-list a {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.05rem;
  padding: 1.35rem 1.45rem;
}
.thumb img {
  width: 180px;
  height: 200px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  background: #111;
}
.body .row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.45rem;
}
.brand-pill {
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}
.state {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.state.open { background: #fee2e2; color: var(--danger); }
.state.warn { background: #ffedd5; color: var(--warn); }
.state.progress { background: #e0f2fe; color: #0369a1; }
.body time { color: #98a2b3; font-size: 0.84rem; margin-left: auto; }
.body strong {
  display: block;
  font-size: 1.32rem;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  letter-spacing: -0.015em;
}
.body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.8rem;
  color: #667085;
  font-size: 0.86rem;
  font-weight: 700;
}

.side { display: grid; gap: 0.75rem; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem;
}
.panel h3 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 800;
}
.panel ol, .panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.panel li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #eef2f6;
  font-weight: 650;
  font-size: 0.9rem;
}
.panel em {
  font-style: normal;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 800;
}
.panel.tip {
  background: linear-gradient(180deg, #f0fdf4, #ffffff);
  border-color: #bbf7d0;
}
.steps { counter-reset: step; }
.steps li {
  border: 0 !important;
  justify-content: flex-start;
  gap: 0.55rem;
  font-weight: 600;
  color: #334155;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex: 0 0 auto;
}
.cats b { color: var(--blue); }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem clamp(1rem, 3vw, 2rem);
  background: #111827;
  color: #cbd5e1;
}
.foot strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.foot p { margin: 0; font-size: 0.88rem; }

@media (min-width: 760px) {
  .top nav { display: flex; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .slider-track { grid-auto-columns: minmax(290px, 28vw); }
}

@media (min-width: 980px) {
  .split { grid-template-columns: minmax(0, 1.55fr) 280px; align-items: start; }
  .side { position: sticky; top: 5rem; }
  .slider-track { grid-auto-columns: minmax(300px, 22vw); }
  .slide-card img { height: 210px; }
  .complaint-list a { grid-template-columns: 210px 1fr; gap: 1.4rem; padding: 1.5rem 1.55rem; }
  .thumb img { width: 210px; height: 230px; }
  .body strong { font-size: 1.4rem; }
  .body p { font-size: 1.12rem; }
}

@media (max-width: 560px) {
  .complaint-list a {
    grid-template-columns: 1fr;
  }
  .thumb img {
    width: 100%;
    height: 200px;
  }
}

/* ===== local app extras ===== */
#app { min-height: 70vh; }
.hidden { display: none !important; }
.detail-wrap { max-width: 980px; margin: 0 auto; padding: 1.4rem clamp(1rem,3vw,2rem) 2.5rem; }
.detail-card {
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:1.4rem;
}
.detail-card h1 { margin:0.4rem 0 0.7rem; font-size:clamp(1.4rem,3vw,2rem); line-height:1.25; }
.detail-meta { display:flex; flex-wrap:wrap; gap:0.5rem; align-items:center; color:var(--muted); font-size:0.9rem; }
.detail-body { margin:1rem 0; font-size:1.05rem; line-height:1.65; color:#334155; white-space:pre-wrap; }
.detail-gallery {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:0.7rem; margin:1rem 0;
}
.detail-gallery button {
  border:1px solid var(--line); border-radius:10px; overflow:hidden; padding:0; height:180px; background:#111; cursor:zoom-in;
}
.detail-gallery img { width:100%; height:100%; object-fit:cover; object-position:top; }
.comment-box { margin-top:1.2rem; }
.comment-box textarea, .form-card input, .form-card textarea, .form-card select {
  width:100%; border:1px solid var(--line); border-radius:10px; padding:0.75rem 0.9rem; font:inherit;
}
.comment-list { display:grid; gap:0.6rem; margin:0.8rem 0 1rem; }
.comment-item { background:#f8fafc; border-radius:10px; padding:0.8rem 0.9rem; }
.comment-item strong { display:block; color:var(--green-deep); font-size:0.85rem; margin-bottom:0.2rem; }
.form-card {
  max-width:720px; margin:0 auto; background:#fff; border:1px solid var(--line); border-radius:16px; padding:1.4rem;
}
.form-card label { display:block; font-weight:700; margin:0.85rem 0 0.35rem; }
.form-actions { display:flex; gap:0.6rem; margin-top:1.1rem; flex-wrap:wrap; }
.toast {
  position:fixed; bottom:1.2rem; right:1.2rem; background:#111827; color:#fff; padding:0.8rem 1rem;
  border-radius:10px; z-index:60; box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.empty { padding:2rem; text-align:center; color:var(--muted); background:#fff; border:1px dashed var(--line); border-radius:12px; }
.support-count { font-weight:800; color:var(--green-deep); }

a.slide-card { color: inherit; text-decoration: none; }
.lightbox {
  position: fixed; inset: 0; background: rgba(10,14,22,.86);
  display: grid; place-items: center; padding: 1.5rem; z-index: 50;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(920px, 100%); max-height: 88vh; border-radius: 10px;
  object-fit: contain; background: #111;
}
.lb-close {
  position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.15);
  color: #fff; font-size: 1.5rem; cursor: pointer;
}
.actions button {
  border: 1px solid var(--line); background: #f7f9fc; border-radius: 999px;
  padding: 0.45rem 0.85rem; font-weight: 700; cursor: pointer;
}
.linkish { background: none; border: 0; cursor: pointer; font: inherit; font-weight: 650; color: var(--muted); }

/* lightbox gallery nav */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.92);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 3.5rem 3.2rem 2.5rem;
  touch-action: pan-y;
}
.lightbox[hidden] { display: none !important; }
.lb-stage {
  width: min(960px, 100%);
  height: min(82vh, 900px);
  display: grid;
  place-items: center;
}
.lightbox img#lightbox-img {
  max-width: 100%;
  max-height: min(82vh, 900px);
  border-radius: 12px;
  object-fit: contain;
  background: #0b0f16;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  user-select: none;
  -webkit-user-drag: none;
}
.lb-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lb-prev { left: 0.7rem; }
.lb-next { right: 0.7rem; }
.lb-nav:hover, .lb-close:hover { background: rgba(255,255,255,.28); }
.lb-meta {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  color: #e5e7eb;
  font-weight: 700;
  font-size: 0.9rem;
  background: rgba(0,0,0,.35);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
@media (max-width: 700px) {
  .lightbox { padding: 3.2rem 0.6rem 2.2rem; }
  .lb-nav { width: 40px; height: 40px; font-size: 1.6rem; }
}

.hero-brand {
  display: flex;
  justify-content: center;
  margin: 0.2rem 0 0.85rem;
}
.hero-brand img {
  height: clamp(42px, 8vw, 64px);
  width: auto;
  max-width: min(420px, 88vw);
  object-fit: contain;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  align-items: center;
  margin: 1.1rem 0 0.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 750;
  font-size: 0.9rem;
  color: var(--ink);
}
.page-btn.on {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.page-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
}
.page-btn:hover:not(.on):not(.disabled) {
  background: #eaf8ef;
  border-color: #86efac;
}
.pager-top {
  margin: 0 0 0.85rem;
  padding: 0 0 0.85rem;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}
.lead-strong {
  max-width: 42rem;
  font-size: 1.08rem;
  color: #1f2937;
  font-weight: 650;
  line-height: 1.55;
}
.lead-soft {
  margin-top: 0.45rem;
  margin-bottom: 1.15rem;
  font-size: 0.98rem;
}
