/* Base */
:root {
  --bg: #f9f3ea;
  --panel: #fffdf9;
  --paper: #ffffff;
  --accent: #8b7355;
  --accent-dark: #6c5841;
  --text: #3f3127;
  --muted: #7a6a5f;
  --line: #e7dfd3;
  --gold: #d07a00;
  --shadow: 0 16px 40px rgba(96, 72, 45, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 252, 248, 0.54), rgba(255, 252, 248, 0.58)),
    url("hamsters/hamster-bg-collage.webp"),
    url("capybara-bg.svg"),
    #fbf5ed;
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, max(1720px, 100vw) auto, 180px 180px;
  background-position: center, center top, top left;
  background-attachment: fixed, fixed, scroll;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 96px;
  bottom: 0;
  width: min(23vw, 360px);
  z-index: -1;
  pointer-events: none;
  background-image: url("hamsters/hamster-bg-collage.webp");
  background-repeat: no-repeat;
  background-size: 1180px auto;
  opacity: 0.42;
  filter: saturate(1.08);
}

body::before {
  left: 0;
  background-position: 0 8%;
}

body::after {
  right: 0;
  background-position: 100% 12%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  backdrop-filter: blur(10px);
  background: rgba(255, 252, 247, 0.96);
  border-bottom: 1px solid rgba(139,115,85,.12);
  box-shadow: 0 8px 26px rgba(96, 72, 45, .08);
}
.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .04em;
}
.nav { display: flex; gap: 18px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav-cta, .btn, .tool-btn, .contact-card, .floating-btn {
  transition: .2s ease;
}
.nav-cta, .btn.primary, .btn.pay, .btn.review, .tool-btn, .contact-card, .floating-btn {
  background: var(--accent);
  color: white;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(139,115,85,.18);
}
.nav-cta:hover, .btn.primary:hover, .btn.pay:hover, .btn.review:hover, .tool-btn:hover, .contact-card:hover, .floating-btn:hover { transform: translateY(-2px); background: var(--accent-dark); }
.btn.ghost { border: 1px solid var(--line); background: rgba(255,255,255,.7); color: var(--text); }
.btn.ghost:hover { background: white; }
.btn.pay {
  background: #0f766e;
  border: 0;
  min-height: 46px;
}
.btn.review {
  background: #f4b400;
  color: #2f2418;
}
.btn.pay:disabled {
  cursor: not-allowed;
  opacity: .62;
  transform: none;
  background: #8a9a96;
}

main { max-width: 1760px; margin: 0 auto; padding: 30px clamp(28px, 4vw, 72px) 80px; }
.section { margin-top: 28px; scroll-margin-top: 96px; }
.section-head { margin-bottom: 18px; }
.section-head h2 { margin: 0 0 8px; font-size: 32px; }
.section-head p { margin: 0; color: var(--muted); }

.hero {
  position: relative;
  min-height: min(680px, calc(100vh - 118px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .58fr);
  gap: 24px;
  align-items: end;
  margin-top: 18px;
  overflow: hidden;
  padding: clamp(32px, 6vw, 74px);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(10, 14, 23, .9) 0%, rgba(10, 14, 23, .68) 43%, rgba(10, 14, 23, .14) 100%),
    linear-gradient(180deg, rgba(10, 14, 23, .2), rgba(10, 14, 23, .82)),
    url("hero-gaming-pc.jpg") center / cover no-repeat;
  box-shadow: 0 22px 58px rgba(44, 34, 24, .18);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(10, 14, 23, .72));
  pointer-events: none;
}
.hero-copy, .hero-card {
  position: relative;
  z-index: 1;
}
.hero-copy, .hero-card, .card, .estimate-shell {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(139,115,85,.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-copy {
  max-width: 680px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
}
.hero-copy h1 {
  margin: 18px 0 12px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: .95;
  letter-spacing: 0;
}
.hero-copy .hero-slogan {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-left: 4px solid #ffffff;
  color: #fff;
  background: rgba(255,255,255,.1);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  backdrop-filter: blur(8px);
}
.hero-copy p {
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
  max-width: 35ch;
}
.badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.hero-actions { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.btn { padding: 12px 18px; border-radius: 999px; font-weight: 800; }
.hero .btn.primary {
  background: #fff;
  color: #111827;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.hero .btn.primary:hover {
  background: #eaf1ff;
  color: #111827;
}
.hero .btn.ghost {
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.hero .btn.ghost:hover {
  background: rgba(255,255,255,.16);
}
.hero-card {
  display: grid;
  gap: 10px;
  align-self: end;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
}
.hero-card div {
  display: grid;
  gap: 3px;
  padding: 13px;
  border-radius: 8px;
  background: rgba(255,255,255,.88);
}
.hero-card strong {
  color: #101828;
  font-size: 15px;
}
.hero-card span {
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
}

.grid { display: grid; gap: 18px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { padding: 22px; }
.card h3, .card h2 { margin-top: 0; }
.card.large { min-height: 180px; }
.about-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.trust-strip div {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 24px rgba(96, 72, 45, .08);
}
.trust-strip strong {
  color: var(--accent-dark);
  font-size: 16px;
}
.trust-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.onsite-service-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 24px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .94), rgba(80, 61, 40, .88)),
    url("hero-gaming-pc.jpg") center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(44, 34, 24, .16);
}
.onsite-service-band .eyebrow {
  color: #f6d58d;
}
.onsite-service-band h3 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 2.7vw, 34px);
}
.onsite-service-band p {
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}
.onsite-area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.onsite-area-list span {
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: 900;
}

.service-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.service-link-grid a {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 17px 18px;
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(96, 72, 45, .08);
}
.service-link-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(139,115,85,.36);
  box-shadow: 0 16px 34px rgba(96, 72, 45, .13);
}
.service-link-grid span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}
.service-link-grid strong {
  color: var(--text);
  line-height: 1.45;
}

.split-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.business-ai-section {
  padding: clamp(24px, 3vw, 42px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(245, 249, 255, .9)),
    #fff;
  border: 1px solid rgba(139,115,85,.14);
  box-shadow: var(--shadow);
}
.ai-service-card {
  background: rgba(255,255,255,.94);
}
.ai-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.ai-plan-card {
  display: grid;
  gap: 13px;
  padding: 22px;
  border: 1px solid rgba(139,115,85,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 34px rgba(96, 72, 45, .1);
}
.ai-plan-card.featured {
  border-color: rgba(31, 94, 255, .28);
  box-shadow: 0 18px 42px rgba(31, 94, 255, .14), 0 14px 34px rgba(96, 72, 45, .08);
}
.ai-plan-card span {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
}
.ai-plan-card strong {
  color: #101828;
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1;
}
.ai-plan-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.ai-plan-card ul {
  display: grid;
  gap: 8px;
  margin: 2px 0 4px;
  padding-left: 20px;
  color: #4b5563;
  line-height: 1.5;
}
.ai-plan-note {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.ai-agent-flow {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: 18px;
  margin-top: 22px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(31, 94, 255, .16);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238, 246, 255, .94));
}
.flow-copy h3 {
  margin: 6px 0 10px;
  font-size: clamp(26px, 3vw, 38px);
}
.flow-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.agent-flow-list {
  counter-reset: agent-step;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.agent-flow-list li {
  counter-increment: agent-step;
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  row-gap: 3px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: #fff;
}
.agent-flow-list li::before {
  content: counter(agent-step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
}
.agent-flow-list strong {
  color: var(--text);
}
.agent-flow-list span {
  color: var(--muted);
  line-height: 1.55;
}
.story-panel {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(22px, 4vw, 58px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(12, 18, 32, .94), rgba(64, 49, 39, .86)),
    url("hero-gaming-pc.jpg") center / cover no-repeat;
  box-shadow: 0 22px 58px rgba(44, 34, 24, .18);
}
.story-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.1;
}
.story-intro p,
.story-copy p {
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.85;
}
.story-copy {
  display: grid;
  gap: 14px;
}
.story-quote {
  padding: 16px 18px;
  border-left: 4px solid #f2c078;
  background: rgba(255,255,255,.08);
  font-weight: 800;
}
.company-list {
  display: grid;
  gap: 12px;
  margin: 0;
}
.company-list div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
}
.company-list dt {
  color: var(--muted);
  font-weight: 800;
}
.company-list dd {
  margin: 0;
  font-weight: 900;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.category-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}
.category-filter {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
}
.category-filter strong {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 18px;
}
.category-filter a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}
.category-filter a:hover {
  background: #f3eadf;
  color: var(--text);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  min-width: 0;
}
.product-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.product-thumb {
  min-height: 190px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 14, 23, .12), rgba(10, 14, 23, .5)),
    url("hero-gaming-pc.jpg") center / cover no-repeat;
  background-color: #211b18;
}
.desktop-thumb.gaming {
  background:
    linear-gradient(180deg, rgba(10, 14, 23, .05), rgba(10, 14, 23, .38)),
    url("buildcores/case-darkflash-official-dk353-black.webp") center / cover no-repeat;
}
.desktop-thumb.office {
  background:
    linear-gradient(180deg, rgba(42, 34, 27, .04), rgba(42, 34, 27, .32)),
    url("buildcores/case-montech-official-x3mesh-black.webp") center / cover no-repeat;
}
.desktop-thumb.creator {
  background:
    linear-gradient(180deg, rgba(10, 14, 23, .06), rgba(10, 14, 23, .36)),
    url("ig-cases/case-white-liquid-cooling.jpg") center / cover no-repeat;
}
.product-tag {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1e4d2;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}
.product-card h3 {
  margin: 0;
  font-size: 22px;
}
.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.product-card strong {
  color: var(--gold);
  font-size: 17px;
}
.product-ask {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #1f5eff;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.product-ask:hover {
  background: #1553e6;
}
.laptop-hero {
  min-height: 390px;
  display: grid;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10,14,23,.88), rgba(10,14,23,.54), rgba(10,14,23,.16)),
    url("laptop-workstation.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}
.laptop-hero > div {
  max-width: 540px;
}
.laptop-hero .eyebrow {
  color: rgba(255,255,255,.82);
}
.laptop-hero h2 {
  margin: 0 0 12px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1;
}
.laptop-hero p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.7;
}
.laptop-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.brand-panel {
  padding: 22px;
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.brand-panel span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}
.brand-panel h3 {
  margin: 8px 0;
  font-size: 24px;
}
.brand-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cases-section {
  padding: clamp(24px, 3vw, 42px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(250,242,230,.9)),
    #fff;
  border: 1px solid rgba(139,115,85,.14);
  box-shadow: var(--shadow);
}
.case-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.case-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 240px;
  padding: 22px;
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 34px rgba(96, 72, 45, .1);
  overflow: hidden;
}
.case-card.photo-card {
  padding: 0 0 18px;
}
.case-card.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #efe6da;
}
.case-card.photo-card span,
.case-card.photo-card h3,
.case-card.photo-card p,
.case-card.photo-card a,
.case-card.photo-card button {
  margin-left: 18px;
  margin-right: 18px;
}
.case-card.muted {
  background: #fffaf4;
}
.case-card span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1e4d2;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}
.case-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
}
.case-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.case-card a {
  margin-top: auto;
  color: #1f5eff;
  font-weight: 900;
}
.case-card button {
  margin-top: auto;
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  background: #1f5eff;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(31, 94, 255, .18);
}
.case-card button:hover {
  background: #174fd6;
}
.case-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.case-photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 16px;
}
.case-photo-grid.refined {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .9fr);
  grid-template-rows: repeat(3, 176px);
}
.case-photo-grid.refined .case-mini-card {
  min-height: 0;
}
.case-photo-card {
  position: relative;
  min-height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: #efe6da;
  border: 1px solid rgba(139,115,85,.16);
  box-shadow: 0 14px 34px rgba(96, 72, 45, .12);
}
.case-photo-card.tall {
  grid-row: span 2;
}
.case-photo-card.wide {
  grid-column: span 2;
}
.case-photo-card.featured {
  grid-row: 1 / span 3;
}
.case-photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.case-photo-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 54px 18px 16px;
  background: linear-gradient(180deg, rgba(19, 16, 12, 0), rgba(19, 16, 12, .78));
  color: #fff;
}
.case-photo-card span {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #3c2a16;
  font-size: 12px;
  font-weight: 900;
}
.case-photo-card h3 {
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.32);
}
.case-mini-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  min-height: 176px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(139,115,85,.16);
  box-shadow: 0 14px 34px rgba(96, 72, 45, .1);
}
.case-mini-card img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #efe6da;
}
.case-mini-card div {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}
.case-mini-card span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1e4d2;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}
.case-mini-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}
.case-article {
  display: grid;
  gap: 20px;
}
.case-hero {
  padding: clamp(26px, 4vw, 54px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10,14,23,.9), rgba(10,14,23,.62), rgba(10,14,23,.22)),
    url("hero-gaming-pc.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}
.case-hero .eyebrow {
  color: rgba(255,255,255,.82);
}
.case-hero h1 {
  max-width: 980px;
  margin: 10px 0 14px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.05;
}
.case-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.75;
}
.case-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
  gap: 18px;
  align-items: start;
}
.case-main {
  display: grid;
  gap: 18px;
}
.case-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}
.case-panel {
  padding: 24px;
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.case-panel h2 {
  margin: 0 0 12px;
  font-size: 28px;
}
.case-panel p {
  color: var(--muted);
  line-height: 1.7;
}
.case-spec-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.case-spec-list div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf4;
}
.case-spec-list strong {
  color: var(--accent-dark);
}
.case-spec-list span {
  color: var(--muted);
  line-height: 1.55;
}

.cases-gallery-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 22px;
  align-items: stretch;
  min-height: 560px;
}
.cases-gallery-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16,24,40,.96), rgba(73,56,41,.9)),
    #101828;
  color: #fff;
  box-shadow: var(--shadow);
}
.cases-gallery-copy .eyebrow {
  color: rgba(255,255,255,.76);
}
.cases-gallery-copy h1 {
  margin: 8px 0 14px;
  font-size: clamp(42px, 5vw, 78px);
  line-height: 1.04;
}
.cases-gallery-copy p {
  max-width: 46ch;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.75;
}
.cases-gallery-copy .btn.ghost {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.cases-gallery-feature {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #efe6da;
  box-shadow: 0 22px 58px rgba(44, 34, 24, .18);
}
.cases-gallery-feature img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.cases-gallery-feature figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: rgba(16,24,40,.74);
  color: #fff;
  backdrop-filter: blur(14px);
}
.cases-gallery-feature span {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 900;
}
.cases-gallery-feature strong {
  font-size: 22px;
  line-height: 1.25;
}
.cases-showcase {
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow);
}
.cases-portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(220px, .8fr));
  grid-auto-rows: 250px;
  gap: 16px;
}
.portfolio-case {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(139,115,85,.14);
  box-shadow: 0 14px 34px rgba(96, 72, 45, .1);
}
.portfolio-case.large {
  grid-row: span 2;
}
.portfolio-case a,
.portfolio-case > button.product-ask {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #111827;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: none;
}
.portfolio-case img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
}
.portfolio-case.large img {
  object-position: center top;
}
.portfolio-case a:hover img,
.portfolio-case > button.product-ask:hover img {
  transform: scale(1.035);
}
.portfolio-case div,
.portfolio-case > button.product-ask span,
.portfolio-case > button.product-ask strong {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
}
.portfolio-case div {
  bottom: 0;
  padding: 80px 22px 20px;
  background: linear-gradient(180deg, rgba(16,24,40,0), rgba(16,24,40,.84));
}
.portfolio-case > button.product-ask span {
  bottom: 64px;
  width: fit-content;
  margin-left: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #3c2a16;
  font-size: 12px;
  font-weight: 900;
}
.portfolio-case > button.product-ask strong {
  bottom: 18px;
  padding: 0 16px;
  color: #fff;
  font-size: 21px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0,0,0,.34);
}
.portfolio-case div span {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #3c2a16;
  font-size: 12px;
  font-weight: 900;
}
.portfolio-case h3 {
  margin: 9px 0 7px;
  color: #fff;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.12;
}
.portfolio-case p {
  max-width: 34ch;
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
}
.cases-process-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: 20px;
  align-items: center;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(247,238,225,.88)),
    #fff;
  box-shadow: var(--shadow);
}
.cases-process-band h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 44px);
}
.cases-process-band p {
  max-width: 78ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.case-process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.case-process-steps span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 14px;
  border: 1px solid rgba(139,115,85,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  color: var(--accent-dark);
  font-weight: 900;
  text-align: center;
}

/* Appearance preview */
.appearance-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  gap: 22px;
  align-items: stretch;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(12,18,32,.96), rgba(72,54,35,.9)),
    #101828;
  box-shadow: 0 22px 58px rgba(44,34,24,.18);
}
.appearance-hero-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 4vw, 58px);
  color: #fff;
}
.appearance-hero-copy .eyebrow {
  color: rgba(255,255,255,.72);
}
.appearance-hero-copy h1 {
  margin: 8px 0 14px;
  font-size: clamp(42px, 5vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}
.appearance-hero-copy p {
  max-width: 54ch;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.75;
}
.appearance-hero-copy .btn.ghost {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.appearance-hero-media {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
}
.appearance-hero-track {
  display: flex;
  width: max-content;
  height: 100%;
  min-height: inherit;
  animation: appearanceHeroMoveRight 42s linear infinite;
  transform: translateX(-50%);
  will-change: transform;
}
.appearance-hero-slide {
  display: block;
  flex: 0 0 clamp(320px, 34vw, 640px);
  min-height: inherit;
  border-left: 1px solid rgba(255,255,255,.12);
  background: #101828;
}
.appearance-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.appearance-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16,24,40,.32), transparent 22%, transparent 76%, rgba(16,24,40,.3)),
    linear-gradient(180deg, transparent 48%, rgba(16,24,40,.28));
}
.appearance-hero-media figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(16,24,40,.78);
  color: #fff;
  backdrop-filter: blur(10px);
}
.appearance-hero-media span {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 800;
}
.appearance-hero-media strong {
  font-size: 21px;
}
@keyframes appearanceHeroMoveRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.appearance-builder {
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(247,238,225,.88)),
    #fff;
  box-shadow: var(--shadow);
}
.appearance-layout {
  display: grid;
  grid-template-columns: minmax(360px, .44fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.appearance-controls {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}
.appearance-preset-panel,
.appearance-advanced-controls {
  border: 1px solid rgba(139,115,85,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 32px rgba(96,72,45,.08);
}
.appearance-preset-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
}
.appearance-preset-panel h3 {
  margin: 0;
  font-size: 24px;
}
.appearance-preset-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.appearance-preset-grid {
  display: grid;
  gap: 10px;
}
.appearance-preset-card {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(139,115,85,.16);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: .18s ease;
}
.appearance-preset-card:hover {
  border-color: rgba(139,115,85,.4);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(96,72,45,.1);
}
.appearance-preset-card[aria-pressed="true"] {
  border-color: rgba(139,115,85,.75);
  background: #101828;
  color: #fff;
  box-shadow: 0 14px 28px rgba(16,24,40,.18);
}
.appearance-preset-card img {
  display: block;
  width: 94px;
  height: 76px;
  object-fit: contain;
  border-radius: 8px;
  background: radial-gradient(circle at 50% 36%, rgba(255,255,255,.9), rgba(235,226,213,.9));
}
.appearance-preset-card span,
.appearance-preset-card strong {
  grid-column: 2;
}
.appearance-preset-card span {
  color: inherit;
  font-weight: 950;
  line-height: 1.25;
}
.appearance-preset-card strong {
  color: rgba(122,106,95,.92);
  font-size: 13px;
  line-height: 1.45;
}
.appearance-preset-card[aria-pressed="true"] strong {
  color: rgba(255,255,255,.7);
}
.appearance-advanced-controls {
  padding: 0;
}
.appearance-advanced-controls summary {
  padding: 14px 16px;
  color: var(--accent-dark);
  font-weight: 950;
  cursor: pointer;
}
.appearance-advanced-controls[open] summary {
  border-bottom: 1px solid rgba(139,115,85,.12);
}
.appearance-controls fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(139,115,85,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
}
.appearance-controls legend {
  padding: 0 6px;
  color: var(--accent-dark);
  font-weight: 900;
}
.appearance-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.appearance-options.two-col {
  grid-template-columns: repeat(2, 1fr);
}
.appearance-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: .18s ease;
}
.appearance-option:hover {
  border-color: rgba(139,115,85,.42);
  background: #fffaf4;
}
.appearance-option[aria-pressed="true"] {
  border-color: rgba(139,115,85,.7);
  background: #101828;
  color: #fff;
  box-shadow: 0 10px 22px rgba(16,24,40,.16);
}
.swatch {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(16,24,40,.18);
}
.swatch.black { background: #151922; }
.swatch.white { background: #f7f7f2; }
.swatch.warm { background: #c59a6b; }
.appearance-preview {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(16,24,40,.1);
  border-radius: 8px;
  background: #101828;
  color: #fff;
}
.appearance-preview-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(245,239,230,.96), rgba(204,194,181,.9)),
    #e8ded0;
}
.appearance-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: opacity .18s ease;
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,255,.96), rgba(222,211,196,.82) 66%),
    #eee3d4;
}
.appearance-preview-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(22px, 3vw, 42px) clamp(22px, 3vw, 42px) clamp(88px, 8vw, 118px);
}
.appearance-preview-copy > span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 900;
}
.appearance-preview-copy h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}
.appearance-preview-copy p {
  margin: 0;
  color: rgba(255,255,255,.74);
  line-height: 1.75;
}
.appearance-preview-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.appearance-preview-list li {
  padding: 11px 13px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  line-height: 1.55;
}
.appearance-preview-parts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.appearance-preview-part {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
}
.appearance-preview-part img {
  width: 58px;
  height: 46px;
  object-fit: contain;
  border-radius: 7px;
  background: rgba(255,255,255,.9);
}
.appearance-preview-part span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.appearance-preview-part small {
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 900;
}
.appearance-preview-part strong {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.appearance-summary-box {
  padding: 15px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.appearance-summary-box strong {
  display: block;
  margin-bottom: 6px;
}
.appearance-summary-box p {
  color: rgba(255,255,255,.8);
}
.appearance-actions {
  margin-top: 0;
}
.appearance-actions .btn.ghost {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.appearance-case-band {
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}
.appearance-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.appearance-case-card {
  overflow: hidden;
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: #fff;
}
.appearance-case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.appearance-case-card div {
  display: grid;
  gap: 9px;
  padding: 16px;
}
.appearance-case-card span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1e4d2;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}
.appearance-case-card h3 {
  margin: 0;
  font-size: 23px;
}
.appearance-case-card button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.appearance-case-card button:hover {
  background: var(--accent-dark);
}
.appearance-final-cta {
  margin-top: 28px;
}
.appearance-part-picker {
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16,24,40,.96), rgba(72,54,35,.9)),
    #101828;
  color: #fff;
  box-shadow: 0 22px 58px rgba(44,34,24,.18);
}
.appearance-part-picker .section-head p {
  color: rgba(255,255,255,.74);
}
.appearance-part-picker .eyebrow {
  color: rgba(255,255,255,.72);
}
.appearance-parts-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(280px, .42fr);
  gap: 16px;
  align-items: start;
}
.appearance-part-tabs {
  display: grid;
  gap: 10px;
}
.appearance-part-tab {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}
.appearance-part-tab:hover {
  background: rgba(255,255,255,.14);
}
.appearance-part-tab[aria-pressed="true"] {
  border-color: rgba(255,255,255,.42);
  background: #fff;
  color: #101828;
}
.appearance-part-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.appearance-part-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: .18s ease;
}
.appearance-part-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.12);
}
.appearance-part-card[aria-pressed="true"] {
  border-color: #f4b400;
  box-shadow: 0 0 0 3px rgba(244,180,0,.18);
}
.appearance-part-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: radial-gradient(circle at 50% 36%, rgba(255,255,255,.16), rgba(11,16,32,.94) 62%);
}
.appearance-part-copy {
  display: grid;
  gap: 8px;
  padding: 14px;
}
.appearance-part-copy small {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.74);
  font-size: 12px;
  font-weight: 900;
}
.appearance-part-copy strong {
  font-size: 19px;
  line-height: 1.25;
}
.appearance-part-copy em {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}
.appearance-selected-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.appearance-selected-panel > span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 900;
}
.appearance-selected-panel h3 {
  margin: 0;
  font-size: 24px;
}
.appearance-selected-panel p {
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}
.appearance-selected-list {
  display: grid;
  gap: 8px;
}
.appearance-selected-list div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
}
.appearance-selected-list span {
  color: rgba(255,255,255,.62);
  font-weight: 800;
}
.appearance-selected-list strong {
  color: #fff;
}
.appearance-selected-panel .btn.ghost {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  color: #fff;
}

/* Service landing pages */
.service-page main {
  padding-top: 22px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.breadcrumb a {
  color: var(--accent-dark);
}
.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .44fr);
  gap: 22px;
  align-items: stretch;
  padding: clamp(26px, 4vw, 54px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(247,238,225,.86)),
    #fff;
  border: 1px solid rgba(139,115,85,.14);
  box-shadow: var(--shadow);
}
.service-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}
.service-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.service-hero-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border-radius: 8px;
  background: #101828;
  color: #fff;
}
.service-hero-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}
.service-hero-card span {
  color: rgba(255,255,255,.74);
  line-height: 1.55;
}
.service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.service-badges span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(139,115,85,.16);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}
.service-detail-panel,
.faq-panel,
.related-services,
.local-cta-band {
  padding: 24px;
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.service-detail-panel h2,
.faq-panel h2,
.related-services h2,
.local-cta-band h2 {
  margin: 0 0 12px;
  font-size: 28px;
}
.service-detail-panel p,
.faq-panel p,
.local-cta-band p {
  color: var(--muted);
  line-height: 1.7;
}
.service-list {
  display: grid;
  gap: 11px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.service-list li {
  padding: 12px 14px;
  border-left: 4px solid var(--accent);
  background: #fffaf4;
  border-radius: 8px;
  color: var(--text);
  line-height: 1.55;
}
.step-list {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.step-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}
.step-list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list details {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}
.faq-list details p {
  margin: 10px 0 0;
}
.related-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.related-link-grid a {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent-dark);
  font-weight: 900;
  line-height: 1.45;
}
.related-link-grid a:hover {
  border-color: rgba(139,115,85,.38);
  background: #fffaf4;
}
.local-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(16,24,40,.96), rgba(72,54,35,.92)),
    #101828;
  color: #fff;
}
.local-cta-band p {
  margin: 0;
  color: rgba(255,255,255,.78);
}
.local-cta-band .hero-actions {
  flex: 0 0 auto;
  margin-top: 0;
}
.local-cta-band .btn.ghost {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.estimate-shell { padding: 22px; }
.estimate-search {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #ead8bf;
  border-radius: 8px;
  background: #fffaf2;
}
.estimate-search label {
  color: var(--accent-dark);
  font-weight: 900;
}
.estimate-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8cbbd;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
.estimate-search input:focus {
  outline: 3px solid rgba(180, 137, 85, .2);
  border-color: var(--gold);
}
.estimate-search p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}
.estimate-toolbar { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.tool-btn { padding: 10px 16px; }
.tool-btn.secondary { background: #b49c83; }
.tool-btn.secondary:hover { background: #8d7459; }
.table-wrap { overflow-x: auto; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); }
.estimate-table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 0; }
.estimate-table th:nth-child(1), .estimate-table td:nth-child(1) { width: 118px; }
.estimate-table th:nth-child(3), .estimate-table td:nth-child(3) { width: 74px; }
.estimate-table th:nth-child(4), .estimate-table td:nth-child(4) { width: 112px; }
.estimate-table thead th {
  background: var(--accent);
  color: #fff;
  text-align: left;
  padding: 14px 16px;
  font-size: 15px;
}
.estimate-table tbody td {
  border-bottom: 1px solid #f0e7db;
  padding: 12px 14px;
  vertical-align: middle;
}
.estimate-table tbody tr:nth-child(odd) { background: #fffdfa; }
.category-cell { font-weight: 800; color: var(--accent-dark); white-space: normal; }
.prod-select, .qty-select {
  width: 100%;
  min-width: 0;
  border: 1px solid #d8cbbd;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
}
.qty-select { max-width: 92px; }
.price-cell { text-align: right; color: var(--gold); font-weight: 900; font-size: 16px; white-space: nowrap; }
.shipping-control,
.service-control,
.payment-plan-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}
.shipping-control input,
.service-control select,
.payment-plan-control select {
  width: 76px;
  border: 1px solid #d8cbbd;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
  font-weight: 800;
}
.service-control select { width: 178px; }
.payment-plan-control select { width: 220px; }
.service-control select:disabled {
  background: #f3ede5;
  color: #9b8978;
}
.summary-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 18px;
}
.total-box {
  display: flex; align-items: baseline; gap: 14px; padding: 16px 18px; background: #fff4e4; border-radius: 8px;
}
.total-box span { color: var(--muted); font-weight: 700; }
.total-box strong { color: var(--gold); font-size: 30px; }
.summary-actions { display: flex; gap: 12px; }
.payment-fee-info {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #d8e3f0;
  border-radius: 8px;
  background: #f8fbff;
  color: #344054;
  font-weight: 800;
  line-height: 1.6;
}
.payment-box {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #d7c6ad;
  border-radius: 8px;
  background: #fff9ee;
  color: #4a392c;
  line-height: 1.6;
}
.payment-box.error {
  border-color: #d69a9a;
  background: #fff1f1;
  color: #763636;
}
.payment-box.success {
  border-color: #9bc9bf;
  background: #effaf7;
  color: #24564e;
}
.result-box {
  margin-top: 18px;
  padding: 18px;
  background: #f8f0e5;
  color: #4a392c;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  white-space: pre-wrap;
  line-height: 1.7;
}
.contact-grid { grid-template-columns: repeat(3, 1fr); }
.contact-card { padding: 18px; border-radius: 8px; text-align: center; }
.review-card {
  background: linear-gradient(135deg, #f4b400, #fbbc04);
  color: #2f2418;
}
.review-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.floating-contact-group {
  position: fixed;
  right: 18px;
  top: 50%;
  bottom: auto;
  width: 84px;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  z-index: 72;
}
.floating-btn {
  width: 100%;
  min-height: 42px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0;
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: 0 10px 22px rgba(28, 38, 54, .18);
}
.floating-btn.line { background: linear-gradient(135deg, #05c755, #02a948); }
.floating-btn.ig { background: linear-gradient(135deg, #f09433 0%, #dc2743 58%, #7b2cbf 100%); }
.floating-btn.form { background: linear-gradient(135deg, #2563eb, #0f766e); }
.floating-btn.google { background: linear-gradient(135deg, #fbbc04, #f4b400); color: #2f2418; }
.floating-btn:hover { transform: translateX(-3px); filter: saturate(1.08); }

.ai-chat-widget {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 70;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}
.ai-chat-toggle,
.ai-chat-panel {
  pointer-events: auto;
}
.ai-chat-toggle {
  position: relative;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  min-width: 228px;
  min-height: 64px;
  padding: 8px 18px 8px 10px;
  background:
    linear-gradient(135deg, rgba(42, 102, 240, .94), rgba(10, 132, 150, .96)),
    #1f5eff;
  color: #fff;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  box-shadow: 0 18px 38px rgba(31, 94, 255, .28), 0 4px 12px rgba(20, 31, 47, .16);
}
.ai-chat-toggle::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38f08f;
  box-shadow: 0 0 0 5px rgba(56, 240, 143, .18);
}
.ai-chat-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(31, 94, 255, .34), 0 8px 18px rgba(20, 31, 47, .2);
}
.ai-chat-toggle:focus-visible,
.ai-chat-close:focus-visible,
.ai-chat-quick button:focus-visible,
.ai-chat-form button:focus-visible,
.ai-chat-form input:focus-visible,
.ai-attach-btn:focus-within {
  outline: 3px solid rgba(42, 102, 240, .28);
  outline-offset: 3px;
}
.ai-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #1f5eff;
  font-size: 12px;
  line-height: 1;
  box-shadow: inset 0 -4px 0 rgba(12, 23, 42, .08);
}
.ai-face {
  display: grid;
  place-items: center;
  width: 32px;
  height: 26px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid rgba(31, 94, 255, .18);
  font-weight: 900;
}
.ai-toggle-text {
  display: grid;
  gap: 3px;
  padding-right: 10px;
  text-align: left;
}
.ai-toggle-text strong {
  font-size: 17px;
  line-height: 1.1;
}
.ai-toggle-text small {
  color: rgba(255,255,255,.86);
  font-size: 12px;
  line-height: 1.1;
}
.ai-chat-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(190px, 1fr) auto auto;
  width: min(94vw, 410px);
  height: min(650px, calc(100vh - 178px));
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(34, 64, 110, .14);
  border-radius: 8px;
  background: #fff;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
  box-shadow: 0 24px 70px rgba(22, 31, 44, .22), 0 6px 18px rgba(22, 31, 44, .12);
}
.ai-chat-panel[hidden] {
  display: none;
}
.ai-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 14px 14px 13px;
  background:
    linear-gradient(135deg, #101828 0%, #1f5eff 62%, #0f766e 100%);
  color: #fff;
}
.ai-head-avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #1f5eff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 -4px 0 rgba(12, 23, 42, .08);
}
.ai-head-copy {
  min-width: 0;
}
.ai-chat-head strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}
.ai-chat-head span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: rgba(255,255,255,.84);
  font-size: 12px;
  line-height: 1.2;
}
.ai-chat-head span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38f08f;
  box-shadow: 0 0 0 4px rgba(56, 240, 143, .16);
}
.ai-chat-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.ai-chat-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.ai-chat-close:hover {
  background: rgba(255,255,255,.18);
}
.ai-chat-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  background: #f6f8fb;
  border-bottom: 1px solid #e7edf5;
}
.ai-chat-quick button {
  min-height: 42px;
  border: 1px solid #d8e3f0;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  text-align: center;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(16, 24, 40, .04);
}
.ai-chat-quick button:hover {
  color: #1f5eff;
  border-color: rgba(31, 94, 255, .42);
  background: #f9fbff;
}
.ai-chat-quick button.handoff {
  grid-column: 1 / -1;
  color: #9f1239;
  border-color: rgba(225, 29, 72, .26);
  background: #fff7f8;
}
.ai-chat-quick button.handoff:hover {
  color: #be123c;
  border-color: rgba(225, 29, 72, .46);
  background: #fff1f3;
}
.ai-chat-quick button:disabled {
  cursor: wait;
  opacity: .55;
}
.ai-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 16px 18px;
  background:
    linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)),
    radial-gradient(circle at top right, rgba(31,94,255,.12), transparent 34%),
    #ffffff;
}
.ai-chat-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid #e7edf5;
  background: #f8fbff;
}
.ai-chat-upload[hidden] {
  display: none;
}
.ai-chat-upload div {
  min-width: 0;
}
.ai-chat-upload strong,
.ai-chat-upload span {
  display: block;
}
.ai-chat-upload strong {
  color: #1f2937;
  font-size: 13px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ai-chat-upload span {
  margin-top: 2px;
  color: #667085;
  font-size: 12px;
  line-height: 1.3;
}
.ai-chat-upload button {
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid #d8e3f0;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.ai-chat-upload button:hover {
  border-color: rgba(31, 94, 255, .42);
  color: #1f5eff;
}
.ai-msg {
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 8px;
  line-height: 1.72;
  white-space: pre-wrap;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 6px 16px rgba(16, 24, 40, .06);
}
.ai-msg.bot {
  align-self: flex-start;
  color: #1f2937;
  background: #f5f7fb;
  border: 1px solid #e4e9f1;
  border-top-left-radius: 2px;
}
.ai-msg.user {
  align-self: flex-end;
  max-width: 82%;
  color: #fff;
  background: linear-gradient(135deg, #1f5eff, #0f766e);
  border-top-right-radius: 2px;
}
.ai-handoff-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 10px;
  padding: 0 14px;
  border-radius: 8px;
  background: #06c755;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(6, 199, 85, .22);
}
.ai-handoff-link:hover {
  background: #05b64e;
  color: #fff;
}
.ai-chat-form {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 9px;
  padding: 12px;
  border-top: 1px solid #e7edf5;
  background: #fff;
}
.ai-chat-form input,
.ai-chat-form button,
.ai-attach-btn {
  min-height: 44px;
  border-radius: 8px;
  font: inherit;
}
.ai-chat-form input[type="text"] {
  min-width: 0;
  border: 1px solid #d8e3f0;
  padding: 0 13px;
  color: #1f2937;
  background: #f9fafb;
}
.ai-chat-form input[type="text"]::placeholder {
  color: #8b95a5;
}
.ai-chat-form input[type="text"]:focus {
  border-color: rgba(31, 94, 255, .5);
  background: #fff;
}
.ai-attach-btn {
  display: grid;
  place-items: center;
  border: 1px solid #d8e3f0;
  background: #f9fafb;
  color: #1f5eff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
.ai-attach-btn:hover {
  border-color: rgba(31, 94, 255, .5);
  background: #eef5ff;
}
.ai-chat-form button {
  border: 0;
  padding: 0;
  background: #1f5eff;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(31, 94, 255, .2);
}
.ai-chat-form button:hover {
  background: #1553e6;
}
.ai-chat-form button:disabled {
  cursor: not-allowed;
  opacity: .6;
}
.ai-chat-widget.human-handoff .ai-chat-panel {
  border-color: rgba(225, 29, 72, .32);
}
.ai-chat-widget.human-handoff .ai-chat-head {
  background: linear-gradient(135deg, #9f1239, #334155);
}
.ai-chat-widget.human-handoff .ai-chat-form input[type="text"] {
  color: #667085;
  background: #f2f4f7;
}
.ai-chat-widget.human-handoff .ai-attach-btn {
  pointer-events: none;
  opacity: .55;
}

@media (max-width: 1280px) {
  .category-layout {
    grid-template-columns: 1fr;
  }
  .category-filter {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }
  .category-filter strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1080px) {
  .hero, .grid.four, .about-grid, .contact-grid, .trust-strip, .ai-plan-grid, .service-link-grid, .related-link-grid, .case-card-grid { grid-template-columns: 1fr 1fr; }
  .case-photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }
  .case-photo-grid.refined {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .case-photo-card.featured {
    grid-column: span 2;
    grid-row: auto;
    min-height: 360px;
  }
  .case-mini-card {
    grid-template-columns: minmax(0, 1fr) 150px;
  }
  .case-photo-card.wide {
    grid-column: span 2;
  }
  .service-hero,
  .service-detail-grid,
  .onsite-service-band,
  .ai-agent-flow,
  .case-content-grid {
    grid-template-columns: 1fr;
  }
  .case-sidebar {
    position: static;
  }
  .cases-gallery-hero,
  .cases-process-band,
  .appearance-hero,
  .appearance-layout,
  .appearance-preview,
  .appearance-parts-layout {
    grid-template-columns: 1fr;
  }
  .appearance-controls {
    position: static;
  }
  .appearance-preview,
  .appearance-preview-media {
    min-height: 0;
  }
  .appearance-preview-media img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .appearance-preview-parts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .appearance-case-grid {
    grid-template-columns: 1fr 1fr;
  }
  .appearance-part-tabs {
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  }
  .appearance-part-tab {
    text-align: center;
  }
  .appearance-part-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cases-gallery-feature {
    min-height: 420px;
  }
  .cases-portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 240px;
  }
  .portfolio-case.large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .story-panel { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  body {
    padding-bottom: 96px;
  }
  .site-header { flex-wrap: wrap; justify-content: center; }
  .nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
  .grid.four, .about-grid, .contact-grid, .product-grid, .laptop-brand-grid, .trust-strip, .ai-plan-grid, .service-link-grid, .related-link-grid, .case-card-grid, .onsite-area-list { grid-template-columns: 1fr; }
  .case-actions {
    justify-content: stretch;
  }
  .case-actions .btn {
    width: 100%;
  }
  .case-photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .case-photo-grid.refined {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .case-photo-card,
  .case-photo-card.tall,
  .case-photo-card.wide,
  .case-photo-card.featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }
  .case-photo-card img {
    height: auto;
    object-fit: contain;
  }
  .case-mini-card {
    grid-template-columns: 1fr;
  }
  .case-mini-card img,
  .case-mini-card div {
    grid-column: auto;
    grid-row: auto;
  }
  .case-mini-card img {
    height: auto;
    aspect-ratio: auto;
  }
  .split-head {
    align-items: stretch;
    flex-direction: column;
  }
  .category-head {
    align-items: stretch;
    flex-direction: column;
  }
  .category-layout {
    grid-template-columns: 1fr;
  }
  .category-filter {
    position: static;
  }
  .product-thumb {
    min-height: 170px;
  }
  .laptop-hero {
    min-height: 520px;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(10,14,23,.28), rgba(10,14,23,.86)),
      url("laptop-workstation.jpg") center / cover no-repeat;
  }
  .service-hero {
    padding: 24px;
  }
  .service-hero h1 {
    font-size: 38px;
  }
  .service-detail-panel,
  .faq-panel,
  .related-services,
  .local-cta-band,
  .case-panel {
    padding: 18px;
  }
  .case-hero {
    padding: 24px;
  }
  .case-hero h1 {
    font-size: 38px;
  }
  .case-spec-list div {
    grid-template-columns: 1fr;
  }
  .cases-gallery-hero {
    min-height: 0;
  }
  .appearance-hero {
    min-height: 0;
  }
  .appearance-hero-copy {
    padding: 24px;
  }
  .appearance-hero-copy h1 {
    font-size: 40px;
  }
  .appearance-hero-media {
    min-height: 0;
  }
  .appearance-hero-track {
    min-height: 280px;
  }
  .appearance-hero-slide {
    flex-basis: min(86vw, 420px);
    min-height: 280px;
  }
  .appearance-hero-media figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px;
  }
  .appearance-builder,
  .appearance-case-band,
  .appearance-part-picker {
    padding: 18px;
  }
  .appearance-options,
  .appearance-options.two-col,
  .appearance-case-grid,
  .appearance-part-tabs,
  .appearance-part-gallery {
    grid-template-columns: 1fr;
  }
  .appearance-preset-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .appearance-preset-card img {
    width: 82px;
    height: 66px;
  }
  .appearance-preview-parts {
    grid-template-columns: 1fr;
  }
  .appearance-selected-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .appearance-option {
    justify-content: flex-start;
    min-height: 46px;
  }
  .appearance-preview-copy {
    padding: 20px;
  }
  .appearance-preview-copy h3 {
    font-size: 28px;
  }
  .appearance-actions {
    flex-direction: column;
  }
  .appearance-actions .btn {
    width: 100%;
  }
  .cases-gallery-copy {
    padding: 24px;
  }
  .cases-gallery-copy h1 {
    font-size: 40px;
  }
  .cases-gallery-feature {
    min-height: 0;
  }
  .cases-gallery-feature img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .cases-gallery-feature figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px;
  }
  .cases-portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .portfolio-case,
  .portfolio-case.large {
    grid-column: auto;
    grid-row: auto;
  }
  .portfolio-case a,
  .portfolio-case > button.product-ask {
    min-height: 0;
    background: #fff;
    color: var(--text);
  }
  .portfolio-case img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .portfolio-case.large img {
    object-position: center center;
  }
  .portfolio-case div {
    position: static;
    padding: 16px;
    background: #fff;
  }
  .portfolio-case > button.product-ask span,
  .portfolio-case > button.product-ask strong {
    position: static;
    display: block;
    margin: 0 16px 16px;
    padding: 0;
    background: transparent;
    color: var(--text);
    text-shadow: none;
  }
  .portfolio-case > button.product-ask span {
    display: inline-flex;
    margin: 14px 16px 8px;
    padding: 5px 9px;
    background: #f1e4d2;
    color: var(--accent-dark);
  }
  .portfolio-case div span {
    background: #f1e4d2;
    color: var(--accent-dark);
  }
  .portfolio-case h3 {
    color: var(--text);
    font-size: 26px;
    text-shadow: none;
  }
  .portfolio-case p {
    color: var(--muted);
  }
  .cases-process-band {
    padding: 20px;
  }
  .case-process-steps {
    grid-template-columns: 1fr;
  }
  .local-cta-band {
    align-items: stretch;
    flex-direction: column;
  }
  .local-cta-band .hero-actions {
    flex-direction: column;
  }
  .hero {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: 620px;
    padding: 28px 28px 176px;
    background:
      linear-gradient(180deg, rgba(10, 14, 23, .28) 0%, rgba(10, 14, 23, .78) 48%, rgba(10, 14, 23, .92) 100%),
      url("hero-gaming-pc.jpg") 58% center / cover no-repeat;
  }
  .hero-copy h1 { font-size: 58px; }
  .hero-copy p { max-width: 32ch; }
  .hero-card {
    grid-template-columns: 1fr 1fr;
    align-self: auto;
    padding: 10px;
    margin-bottom: 104px;
  }
  .hero-card div {
    padding: 10px;
  }
  .hero-card strong {
    font-size: 13px;
  }
  .hero-card span {
    font-size: 11px;
  }
  main { padding-inline: 14px; }
  .business-ai-section,
  .story-panel {
    padding: 22px;
  }
  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .estimate-shell { padding: 14px; border-radius: 16px; }
  .estimate-search {
    padding: 12px;
    border-radius: 12px;
  }
  .estimate-search input {
    font-size: 16px;
  }
  .estimate-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 10px;
  }
  .tool-btn,
  .service-control,
  .shipping-control,
  .payment-plan-control,
  .summary-actions,
  .summary-actions .btn {
    width: 100%;
  }
  .service-control,
  .shipping-control,
  .payment-plan-control {
    justify-content: space-between;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }
  .service-control select,
  .shipping-control input,
  .payment-plan-control select {
    width: 100%;
    min-height: 44px;
  }
  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .estimate-table,
  .estimate-table thead,
  .estimate-table tbody,
  .estimate-table tr,
  .estimate-table th,
  .estimate-table td {
    display: block;
    width: 100% !important;
  }
  .estimate-table {
    border-collapse: separate;
    border-spacing: 0 12px;
    table-layout: auto;
  }
  .estimate-table thead { display: none; }
  .estimate-table tbody tr {
    padding: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(96, 72, 45, 0.08);
  }
  .estimate-table tbody tr:nth-child(odd) { background: var(--paper); }
  .estimate-table tbody td {
    border-bottom: 0;
    padding: 0;
  }
  .estimate-table tbody td + td { margin-top: 10px; }
  .category-cell {
    font-size: 17px;
    line-height: 1.35;
  }
  .prod-select,
  .qty-select {
    min-height: 46px;
    font-size: 16px;
  }
  .qty-select { max-width: none; }
  .price-cell {
    text-align: left;
    font-size: 18px;
  }
  .estimate-table tbody td:nth-child(2)::before,
  .estimate-table tbody td:nth-child(3)::before,
  .estimate-table tbody td:nth-child(4)::before {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
  }
  .estimate-table tbody td:nth-child(2)::before { content: "庫存品項"; }
  .estimate-table tbody td:nth-child(3)::before { content: "數量"; }
  .estimate-table tbody td:nth-child(4)::before { content: "小計"; }
  .summary-row { align-items: stretch; }
  .total-box {
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
  }
  .total-box strong { font-size: 28px; }
  .floating-contact-group {
    left: 12px;
    right: 82px;
    top: auto;
    bottom: 12px;
    width: auto;
    transform: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .floating-btn {
    min-height: 42px;
    padding: 0 6px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(28, 38, 54, .22);
  }
  .floating-btn:hover {
    transform: none;
  }
  .ai-chat-widget {
    left: auto;
    right: 12px;
    bottom: 12px;
  }
  .ai-chat-toggle {
    min-width: 0;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 7px;
    justify-content: center;
  }
  .ai-toggle-icon {
    width: 40px;
    height: 40px;
  }
  .ai-chat-toggle::after {
    right: 8px;
    top: 8px;
  }
  .ai-toggle-text {
    display: none;
  }
  .ai-toggle-text strong {
    font-size: 16px;
  }
  .ai-toggle-text small {
    font-size: 11px;
  }
  .ai-chat-panel {
    width: calc(100vw - 24px);
    height: min(620px, calc(100vh - 112px));
    min-height: 420px;
  }
  .ai-chat-head {
    min-height: 64px;
    padding: 12px;
  }
  .ai-chat-quick {
    grid-template-columns: 1fr 1fr;
    padding: 10px;
  }
  .ai-chat-quick button {
    min-height: 40px;
    font-size: 12px;
    padding: 7px 8px;
  }
  .ai-msg {
    max-width: 92%;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .appearance-hero-track {
    animation-duration: 1ms;
    animation-iteration-count: 1;
  }
}

.turnstile-inline-widget {
  position: fixed;
  left: -9999px;
  bottom: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
