/* EOT Computer — v1 site styles. Mobile-first, no build step. */
:root {
  --navy: #1B2A4A;
  --navy-deep: #121C33;
  --green: #7AC943;
  --green-soft: #e8f6d8;
  --bar: #5B6FB5;
  --blue: #1F5A96;
  --grey: #5a6372;
  --text: #2b3340;
  --light: #f3f5fa;
  --line: #dfe3ec;
  --white: #fff;
  --shadow: 0 8px 24px rgba(27, 42, 74, 0.08);
  --radius: 14px;
  --header-h: 68px;
  --max: 1120px;
  --font: Inter, "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: Poppins, Inter, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }

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

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  background: var(--green);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 200;
  font-weight: 600;
}
.skip:focus { top: 12px; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-link img {
  height: 46px;
  width: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav a:hover { background: var(--light); color: var(--navy); }

.btn.header-cta { display: none; }

.menu-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

.nav-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 8px 0 16px;
}
.nav-panel.open { display: block; }
.nav-panel a {
  display: block;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--light);
}
.nav-panel .wrap { display: flex; flex-direction: column; }
.nav-panel .btn { margin-top: 14px; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 13px 20px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-whatsapp {
  background: #1f8a3b;
  color: #fff;
  border-color: #1f8a3b;
}
.btn-whatsapp:hover { background: #187432; color: #fff; }
.btn-primary {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
}
.btn-primary:hover { background: #6bb836; color: var(--navy); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover { background: #152238; color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 55%, #24365c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 2.6rem 0 3.2rem;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: var(--bar);
}
.hero::after {
  content: "";
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 5px;
  background: var(--green);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.6rem;
  justify-items: start;
}
.hero-logo {
  background: #fff;
  border-radius: 16px;
  padding: 14px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.hero-logo img {
  height: auto;
  width: min(280px, 72vw);
}
.hero .kicker {
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9d2e6;
  font-weight: 500;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.45rem, 5vw, 2.15rem);
  line-height: 1.25;
  color: #fff;
  max-width: 18ch;
  text-wrap: balance;
}
.keywords {
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}
.hero .lead {
  color: #d5dced;
  max-width: 38rem;
  font-size: 1.02rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Sections */
section { padding: 3.4rem 0; }
section.alt { background: var(--light); }
.sec-head {
  margin-bottom: 1.6rem;
}
.sec-head h2 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
  margin-bottom: 0.45rem;
}
.sec-head h2::before {
  content: "";
  width: 5px;
  height: 1.15em;
  background: var(--green);
  border-radius: 2px;
  flex-shrink: 0;
}
.sec-head p { color: var(--grey); max-width: 46rem; }

/* About */
.about-grid {
  display: grid;
  gap: 1.4rem;
}
.about-copy p { margin-bottom: 1rem; }
.snapshot {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 4px 4px 0;
  overflow: hidden;
}
.snapshot h3 {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--navy);
  padding: 14px 18px 6px;
}
.snapshot dl { display: grid; }
.snapshot div {
  display: grid;
  grid-template-columns: 8.2rem 1fr;
  gap: 8px;
  padding: 9px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.snapshot dt { color: var(--grey); }
.snapshot dd { color: var(--navy); font-weight: 500; margin: 0; }

.mv-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}
.mv {
  background: var(--light);
  border-left: 5px solid var(--bar);
  border-radius: 0 14px 14px 0;
  padding: 1.15rem 1.25rem;
}
section.alt .mv { background: var(--white); }
.mv h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.mv .zh {
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 0.7rem;
}

/* Services */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.svc {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.15rem;
}
.svc h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.svc p { color: var(--grey); font-size: 0.92rem; line-height: 1.5; }

.devices {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  color: var(--grey);
  background: var(--white);
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
}
.devices strong { color: var(--navy); font-weight: 600; }

/* Process */
.steps {
  list-style: none;
  display: grid;
  gap: 0;
  position: relative;
}
.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
  padding: 0 0 1.25rem;
}
.step:last-child { padding-bottom: 0; }
.step .n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.step:last-child .n { background: var(--green); color: var(--navy); }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--bar);
  z-index: 1;
}
.step .l {
  padding-top: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
}

/* Why */
.why-grid {
  display: grid;
  gap: 12px;
}
.why {
  background: var(--white);
  border-radius: 12px;
  padding: 1.05rem 1.15rem 1.15rem;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(27,42,74,0.02);
}
section:not(.alt) .why { background: var(--light); border-color: transparent; }
.why h3 {
  font-family: var(--display);
  font-size: 1.02rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.3;
}
.why h3::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.why p { color: var(--grey); font-size: 0.92rem; }

.caps {
  display: grid;
  gap: 10px;
  margin-top: 1.4rem;
}
.cap {
  border: 1px dashed #cfd6e6;
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  background: var(--white);
}
.cap strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}
.cap p { color: var(--grey); font-size: 0.9rem; margin: 0; }

/* Contact */
.contact-grid {
  display: grid;
  gap: 1.3rem;
}
.contact-card {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 1.4rem 1.3rem 1.5rem;
}
.contact-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.35rem;
}
.contact-card .sub {
  color: #c9d2e6;
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}
.contact-list {
  display: grid;
  gap: 12px;
  margin-bottom: 1.2rem;
}
.contact-list div {
  display: grid;
  grid-template-columns: 7.4rem 1fr;
  gap: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-list dt {
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}
.contact-list dd { margin: 0; color: #fff; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: #fff; }

.map-wrap {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e6eaf2;
  min-height: 260px;
}
.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
  flex: 1 1 auto;
}
.map-link {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  padding: 8px 10px;
  background: var(--white);
  color: var(--blue);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem 1.2rem 1.4rem;
}
.form-card h3 {
  font-family: var(--display);
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}
.form-card > p {
  color: var(--grey);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.field { margin-bottom: 0.85rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.field .opt { font-weight: 400; color: var(--grey); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  border: 1px solid #c9d0dc;
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--bar);
  outline: 3px solid rgba(91, 111, 181, 0.25);
  outline-offset: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 0.7rem;
}

.closing {
  font-family: var(--display);
  font-weight: 500;
  color: var(--navy);
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.45;
  max-width: 36rem;
  margin: 0 auto 1.4rem;
  text-wrap: balance;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #c9d2e6;
  padding: 2rem 0 1.5rem;
  font-size: 0.88rem;
}
.site-footer .wrap {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}
.site-footer .logo-plate {
  background: #fff;
  border-radius: 12px;
  padding: 8px 16px;
  line-height: 0;
}
.site-footer img { height: 48px; width: auto; }
.site-footer .legal { color: #fff; font-weight: 500; }
.site-footer p { max-width: 36rem; }
.site-footer a { color: #c9d2e6; }

@media (min-width: 640px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .mv-grid { grid-template-columns: 1fr 1fr; }
  .caps { grid-template-columns: 1fr 1fr 1fr; }
  .hero-logo img { width: 320px; }
}

@media (min-width: 900px) {
  .menu-btn, .nav-panel { display: none !important; }
  .nav { display: flex; }
  .btn.header-cta { display: inline-flex; padding: 10px 16px; font-size: 0.88rem; }
  .logo-link img { height: 50px; }
  .about-grid { grid-template-columns: 1.25fr 0.95fr; align-items: start; gap: 2rem; }
  .svc-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.3rem;
    align-items: stretch;
  }
  .map-wrap { height: 100%; min-height: 320px; }
  .map-wrap iframe { height: auto; min-height: 280px; }
  .contact-card { display: flex; flex-direction: column; }
  section { padding: 4.2rem 0; }
  .hero { padding: 3.6rem 0 4.2rem; }
  .hero-logo img { width: 360px; }

  /* 4-up process on tablet+ ; 8-up later */
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem 0.6rem;
  }
  .step {
    display: block;
    text-align: center;
    padding: 0 6px;
  }
  .step .n { margin: 0 auto 10px; }
  .step .l { padding-top: 0; }
  .step:not(:last-child)::before { display: none; }
  .step:not(:nth-child(4n))::after {
    content: "";
    position: absolute;
    top: 20px;
    left: calc(50% + 22px);
    width: calc(100% - 44px);
    height: 3px;
    background: var(--bar);
    z-index: 1;
  }
}

@media (min-width: 1100px) {
  .why-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(8, 1fr); }
  .step:not(:nth-child(4n))::after { display: none; }
  .step:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    top: 20px;
    left: calc(50% + 22px);
    width: calc(100% - 44px);
    height: 3px;
    background: var(--bar);
    z-index: 1;
  }
  .svc-grid { gap: 14px; }
}

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

/* Nav current page */
.nav a[aria-current="page"],
.nav-panel a[aria-current="page"] {
  background: var(--light);
  color: var(--navy);
  font-weight: 600;
}

/* Index teaser for used PCs */
.used-teaser {
  background: var(--navy);
  color: #fff;
  padding: 2.6rem 0;
}
.used-teaser .wrap {
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}
.used-teaser h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}
.used-teaser h2::before {
  content: "";
  width: 5px;
  height: 1.15em;
  background: var(--green);
  border-radius: 2px;
  flex-shrink: 0;
}
.used-teaser p {
  color: #d5dced;
  max-width: 42rem;
  margin: 0;
}
.used-teaser .btn { margin-top: 0.4rem; }

/* Used PCs page */
.page-hero {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 55%, #24365c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 2.2rem 0 2.5rem;
}
.page-hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: var(--bar);
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 5px;
  background: var(--green);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .kicker {
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9d2e6;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.25;
  color: #fff;
  max-width: 22ch;
  margin-bottom: 0.6rem;
}
.page-hero .lead {
  color: #d5dced;
  max-width: 40rem;
  font-size: 1.02rem;
}

.sample-note {
  background: #fff8e6;
  border: 1px solid #f0d48a;
  border-radius: 12px;
  color: #5a4a1a;
  padding: 12px 14px;
  font-size: 0.92rem;
  margin-bottom: 1.3rem;
}

.used-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 1.3rem;
}
.filter-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-types button {
  appearance: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.filter-types button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.filter-sold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 500;
  cursor: pointer;
}
.filter-sold input {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
}
.used-count {
  color: var(--grey);
  font-size: 0.9rem;
  margin: -0.4rem 0 1rem;
}

.used-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.used-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(27,42,74,0.02);
}
.used-photo {
  position: relative;
  background: var(--light);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.used-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.used-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green);
  color: var(--navy);
}
.used-badge.is-reserved {
  background: var(--bar);
  color: #fff;
}
.used-badge.is-sold {
  background: #6b7280;
  color: #fff;
}
.used-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.used-type {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0;
}
.used-body h3 {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}
.used-specs {
  display: grid;
  gap: 2px 10px;
  font-size: 0.9rem;
  margin: 0.25rem 0 0.15rem;
}
.used-specs div {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 8px;
}
.used-specs dt { color: var(--grey); }
.used-specs dd { margin: 0; color: var(--text); }
.used-meta {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
}
.used-price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0.15rem 0 0;
}
.used-notes {
  font-size: 0.86rem;
  color: var(--grey);
  margin: 0;
}
.used-body .btn { margin-top: auto; width: 100%; }
.used-card.is-sold {
  filter: grayscale(1);
  opacity: 0.72;
}
.used-card.is-sold .used-price,
.used-sold-msg {
  color: var(--grey);
}
.used-sold-msg {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: auto;
  padding-top: 0.4rem;
}
.used-empty {
  color: var(--grey);
  padding: 1.5rem 0;
}

@media (min-width: 640px) {
  .used-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav a { padding: 8px 8px; font-size: 0.86rem; }
  .used-grid { grid-template-columns: 1fr 1fr 1fr; }
  .page-hero { padding: 2.8rem 0 3.2rem; }
}
@media (min-width: 1100px) {
  .nav a { padding: 8px 10px; font-size: 0.92rem; }
}
