/* 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; }
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
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,
.nav a.active { 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-1600.webp") 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); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 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-1600.webp") 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;
}

.service-path-grid {
  align-items: stretch;
}
.service-path-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.service-path-card h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 2.4vw, 32px);
}
.service-path-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.compact-list {
  gap: 8px;
  margin-top: 0;
}
.compact-list li {
  padding: 10px 12px;
}

.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-1600.webp") 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;
}
.company-note,
.contact-address {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.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: 0;
  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-1600.webp") 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("home-official/desktop-gaming-asus-tuf-gt302-official.jpg") center / cover no-repeat;
}
.desktop-thumb.office {
  background:
    linear-gradient(180deg, rgba(42, 34, 27, .04), rgba(42, 34, 27, .32)),
    url("home-official/desktop-office-asus-prime-ap201-official.jpg") center / cover no-repeat;
}
.desktop-thumb.creator {
  background:
    linear-gradient(180deg, rgba(10, 14, 23, .06), rgba(10, 14, 23, .36)),
    url("home-official/desktop-creator-asus-proart-pa602-official.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: 44px;
  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-1600.webp") 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;
  contain: paint;
}
.appearance-hero-track {
  display: flex;
  width: max-content;
  height: 100%;
  min-height: inherit;
  animation: appearanceHeroMoveRight 42s linear infinite;
  transform: translateX(-50%);
  will-change: transform;
  max-width: none;
}
.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-gallery-more {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  font-weight: 800;
}
.appearance-gallery-more.complete {
  justify-content: center;
  color: rgba(255,255,255,.62);
}
.appearance-gallery-more .btn {
  min-height: 40px;
  padding: 0 14px;
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.1);
  color: #fff;
  box-shadow: none;
}
.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);
}
.home-breadcrumb {
  margin: 0 0 8px;
}
.content-meta,
.content-sources {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.content-meta {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.content-sources {
  margin: 8px 0 0;
}
.content-sources a,
.content-meta a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.service-content-meta {
  margin: 16px 2px 0;
  padding: 0;
  border: 0;
}
.homepage-faq {
  padding-inline: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.contact-card.policy-card {
  background: #166534;
}
.site-legal-footer {
  width: 100%;
  padding: 22px clamp(28px, 4vw, 72px);
  background: #101828;
  color: rgba(255,255,255,.78);
}
.site-legal-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 1616px);
  margin: 0 auto;
}
.site-legal-footer p {
  margin: 0;
  line-height: 1.6;
}
.site-legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.site-legal-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-weight: 800;
}
.site-legal-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.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,
.transaction-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,
.transaction-panel h2,
.related-services h2,
.local-cta-band h2 {
  margin: 0 0 12px;
  font-size: 28px;
}
.service-detail-panel p,
.faq-panel p,
.transaction-panel p,
.local-cta-band p {
  color: var(--muted);
  line-height: 1.7;
}
.ai-search-page .service-detail-grid > * {
  min-width: 0;
}
.ai-search-page .service-detail-panel,
.ai-search-page .service-list li,
.ai-search-page .service-list a {
  overflow-wrap: anywhere;
}
.transaction-panel .section-head {
  margin-bottom: 18px;
}
.decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.decision-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.decision-grid strong {
  color: var(--accent-dark);
  font-size: 17px;
}
.decision-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.55;
}
.contract-summary-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(139,115,85,.18);
  border-radius: 8px;
  background: #fffaf4;
}
.contract-summary-cta p {
  margin: 0;
  max-width: 760px;
}
.contract-summary-cta .btn {
  flex: 0 0 auto;
}
.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;
}
.service-local-intent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.service-local-intent h2 {
  margin: 6px 0 12px;
  font-size: 28px;
}
.service-local-intent p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.service-local-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-local-tags li {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf4;
  color: var(--text);
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.service-nap-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16,24,40,.96), rgba(80,61,40,.9)),
    #101828;
  box-shadow: 0 18px 42px rgba(44,34,24,.16);
}
.service-nap-band .eyebrow {
  color: #f6d58d;
}
.service-nap-band h2 {
  margin: 6px 0 10px;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.2;
}
.service-nap-band p {
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
}
.service-nap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.service-nap-grid > a,
.service-nap-grid > span {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
}
.service-nap-grid strong {
  color: #fff;
  font-size: 14px;
}
.service-nap-grid > a span,
.service-nap-grid > span span {
  color: rgba(255,255,255,.76);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.service-nap-grid > a:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-1px);
}

/* Article pages */
.article-page main {
  max-width: 1480px;
}
.article-index-hero .service-hero-card,
.article-hero .service-hero-card {
  align-self: stretch;
}
.article-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.knowledge-section {
  padding-top: 28px;
}
.knowledge-section .section-head p {
  max-width: 760px;
}
.article-card-grid.compact .article-card {
  min-height: 190px;
  padding: 18px;
}
.article-card-grid.compact .article-card h3 {
  font-size: 21px;
}
.article-card {
  display: grid;
  gap: 10px;
  min-height: 228px;
  padding: 22px;
  border: 1px solid rgba(139,115,85,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.article-card span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}
.article-card h2,
.article-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}
.article-card a {
  color: var(--text);
}
.article-card a:hover {
  color: var(--accent-dark);
}
.article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.article-meta {
  align-self: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.article-publish-meta {
  margin-top: 14px !important;
}
.article-lead-media {
  width: 100%;
  margin: 28px 0 0;
}
.article-lead-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}
.article-lead-media figcaption {
  margin: 8px 4px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: start;
}
.article-prose {
  min-width: 0;
}
.article-prose h2 {
  margin-top: 34px;
}
.article-prose h2:first-child {
  margin-top: 0;
}
.article-prose h3 {
  margin: 24px 0 8px;
  font-size: 22px;
}
.article-prose p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}
.article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.article-prose table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}
.article-prose th,
.article-prose td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}
.article-prose th {
  color: var(--accent-dark);
  background: #fffaf4;
  font-size: 14px;
}
.article-prose tr:last-child td {
  border-bottom: 0;
}
.article-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}
.article-related-links {
  grid-template-columns: 1fr;
}

.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-source-note {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.2fr) minmax(240px, 1.6fr);
  gap: 10px;
  align-items: center;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #ead8bf;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.estimate-source-note div {
  display: grid;
  gap: 2px;
}
.estimate-source-note span {
  font-weight: 800;
}
.estimate-source-note strong {
  color: var(--accent-dark);
  font-size: 14px;
}
.estimate-source-note p {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}
.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 {
  width: 100%;
  max-width: 100%;
  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 th,
.estimate-table td {
  min-width: 0;
  overflow-wrap: anywhere;
}
.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%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #d8cbbd;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qty-select { max-width: 92px; }
.selected-product-detail {
  margin-top: 8px;
  padding: 8px 10px;
  border-left: 3px solid #d9b276;
  background: #fff8ed;
  color: #665343;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.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;
}
.member-shell {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(360px, 1.28fr);
  gap: 18px;
  align-items: start;
}
.member-page main {
  max-width: 1320px;
}
.member-tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
}
.member-tabs a {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(139,115,85,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: var(--accent-dark);
  font-weight: 900;
}
.member-tabs a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
.member-tab-panel {
  scroll-margin-top: 112px;
}
.member-dashboard-card {
  display: grid;
  gap: 16px;
}
.member-auth-card[hidden],
.member-dashboard-card[hidden] {
  display: none;
}
.member-auth-card,
.member-dashboard-card {
  padding: 20px;
  border: 1px solid rgba(139,115,85,.16);
  border-radius: 8px;
  background: rgba(255,253,249,.9);
  box-shadow: var(--shadow);
}
.member-card-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.member-card-head span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.member-card-head h3 {
  margin: 0;
  color: var(--accent-dark);
  font-size: 24px;
}
.member-card-head p,
.member-card-head #memberStatusText {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}
.member-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.member-sub-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}
.member-sub-form[hidden] {
  display: none;
}
.member-register-entry {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(139, 115, 85, .14);
}
.member-register-toggle {
  width: 100%;
  min-height: 46px;
}
.member-register-form {
  scroll-margin-top: 90px;
}
.member-register-toggle[hidden],
#memberRegisterForm[hidden] {
  display: none;
}
.member-totp-login-step {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) auto;
  gap: 10px;
}
.member-totp-login-step[hidden] {
  display: none;
}
.member-form input,
.member-form select,
.member-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8cbbd;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
}
.member-form textarea {
  min-height: 104px;
  resize: vertical;
}
.member-form input:focus,
.member-form select:focus,
.member-form textarea:focus {
  outline: 3px solid rgba(180, 137, 85, .2);
  border-color: var(--gold);
}
.member-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d8cbbd;
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
}
.member-checkbox input {
  width: auto;
  min-height: 0;
}
.member-profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.member-profile-grid button {
  min-height: 46px;
}
.member-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.member-actions .tool-btn {
  min-height: 44px;
}
.member-actions .tool-btn.danger {
  border-color: rgba(181, 75, 58, .28);
  background: #fff2ee;
  color: #8c2f23;
}
.member-actions.compact {
  margin-top: 4px;
}
.member-checkout-address {
  display: grid;
  grid-template-columns: minmax(120px, .28fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.member-checkout-address label {
  color: var(--accent-dark);
  font-weight: 900;
}
.member-checkout-address select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d8cbbd;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
}
.member-checkout-address select:focus {
  outline: 3px solid rgba(180, 137, 85, .2);
  border-color: var(--gold);
}
.member-checkout-coupon {
  display: grid;
  grid-template-columns: minmax(120px, .28fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.member-checkout-wallet {
  display: grid;
  grid-template-columns: minmax(120px, .28fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.member-checkout-coupon label,
.member-checkout-wallet label {
  color: var(--accent-dark);
  font-weight: 900;
}
.member-coupon-control {
  display: grid;
  grid-template-columns: minmax(150px, .75fr) minmax(120px, .45fr) auto;
  gap: 8px;
  align-items: center;
}
.member-wallet-control {
  display: grid;
  grid-template-columns: minmax(150px, .35fr) auto minmax(180px, 1fr);
  gap: 8px;
  align-items: center;
}
.member-coupon-control select,
.member-coupon-control input,
.member-wallet-control input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d8cbbd;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
}
.member-coupon-control select:focus,
.member-coupon-control input:focus,
.member-wallet-control input:focus {
  outline: 3px solid rgba(180, 137, 85, .2);
  border-color: var(--gold);
}
.member-wallet-control span {
  color: var(--muted);
  font-weight: 850;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.action-stack.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.member-orders {
  margin-top: 18px;
}
.member-security {
  padding-top: 2px;
}
.member-totp-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d7e1eb;
  border-radius: 8px;
  background: #fffdf8;
}
.member-totp-panel h4 {
  margin: 0;
  color: var(--accent-dark);
}
.member-totp-panel strong {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.member-recovery-box {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #d7e1eb;
  border-radius: 8px;
  background: #f8fbff;
}
.member-recovery-box[hidden] {
  display: none;
}
.member-recovery-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 750;
}
.member-recovery-code-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.member-recovery-code-list code {
  display: block;
  padding: 8px 10px;
  border: 1px solid #d7e1eb;
  border-radius: 8px;
  background: #fff;
  color: var(--accent-dark);
  font: 900 14px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}
.member-privacy {
  padding-top: 2px;
}
.member-privacy textarea {
  min-height: 86px;
  resize: vertical;
}
.member-security-events {
  margin-top: 14px;
}
.member-security-events h4 {
  margin: 0 0 10px;
  color: var(--accent-dark);
}
.member-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.member-section-head h3 {
  margin: 0;
}
.member-orders h3 {
  margin: 0 0 10px;
  color: var(--accent-dark);
}
.member-order-list {
  display: grid;
  gap: 10px;
}
.member-order-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #ead8bf;
  border-radius: 8px;
  background: #fffaf2;
}
.member-order-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.member-order-card strong {
  color: var(--accent-dark);
  overflow-wrap: anywhere;
}
.member-order-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 700;
}
.member-session-card {
  background: #fffdf8;
}
.member-session-revoke-form[hidden] {
  display: none;
}
.member-security-event-card {
  background: #fffdf8;
}
.member-saved-quote-card {
  background: #fffdf8;
}
.member-favorite-card {
  background: #fffdf8;
  border-color: #d9e2c2;
}
.member-coupon-card {
  background: #fffdf8;
  border-color: #d7e4d8;
}
.member-wallet-card {
  background: #fffdf8;
  border-color: #d7e1eb;
}
.member-privacy-card {
  background: #fffdf8;
  border-color: #ddd6ea;
}
.member-notification-card {
  background: #fffdf8;
  border-color: #d2dfeb;
}
.member-notification-card.is-unread {
  border-left: 4px solid #2f6fb0;
}
.member-notification-card.is-read {
  opacity: .86;
}
.member-notification-metadata {
  font-size: 13px;
}
.member-address-card {
  background: #fffdf8;
}
.member-session-card .member-actions {
  margin-top: 2px;
}
.member-order-details {
  border-top: 1px solid #ead8bf;
  padding-top: 8px;
}
.member-order-details summary {
  cursor: pointer;
  color: var(--accent-dark);
  font-weight: 900;
}
.member-order-details ul {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
  color: var(--text);
  font-weight: 750;
  line-height: 1.5;
}
.member-order-extra {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}
.member-order-timeline {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #ead8bf;
  border-radius: 8px;
  background: #fffdf8;
}
.member-order-timeline > strong {
  font-size: 14px;
}
.member-order-timeline ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.member-order-timeline li {
  display: grid;
  gap: 3px;
  padding-left: 12px;
  border-left: 3px solid #d8cbbd;
}
.member-order-timeline li.ok {
  border-left-color: #3aa67a;
}
.member-order-timeline li.warn {
  border-left-color: #d79a1e;
}
.member-order-timeline li.danger {
  border-left-color: #b54b3a;
}
.member-order-timeline span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.member-order-timeline time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.member-order-payment-hint {
  padding: 9px 10px;
  border-radius: 8px;
  background: #f6eadb;
}
.member-transfer-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border: 1px solid #ead8bf;
  border-radius: 8px;
  background: #fffdf8;
}
.member-transfer-title {
  grid-column: 1 / -1;
}
.member-transfer-form p {
  grid-column: 1 / -1;
  font-size: 13px;
}
.member-transfer-form label {
  display: grid;
  gap: 5px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}
.member-transfer-form label.wide {
  grid-column: span 2;
}
.member-transfer-form input,
.member-transfer-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d8cbbd;
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
  color: var(--text);
  font: inherit;
}
.member-transfer-form textarea {
  min-height: 42px;
  resize: vertical;
}
.member-transfer-form input:focus,
.member-transfer-form textarea:focus {
  outline: 3px solid rgba(180, 137, 85, .2);
  border-color: var(--gold);
}
.member-transfer-form .tool-btn {
  min-height: 42px;
}
.member-cancel-form {
  border-color: #e6c7bd;
  background: #fff7f4;
}
.member-cancel-form[hidden] {
  display: none;
}
.member-order-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.member-order-meta span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f0e1cf;
  color: #5f4936;
  font-size: 12px;
  font-weight: 900;
}
.member-order-meta span.ok {
  background: #def7ec;
  color: #166348;
}
.member-order-meta span.warn {
  background: #fff0c2;
  color: #7a4d00;
}
.member-order-meta span.danger {
  background: #ffe0e0;
  color: #8a3030;
}
.contact-grid { grid-template-columns: repeat(4, 1fr); }
.contact-card { padding: 18px; border-radius: 8px; text-align: center; }
.facebook-card {
  background: linear-gradient(135deg, #1877f2, #0f5bbd);
  color: #fff;
}
.review-card {
  background: linear-gradient(135deg, #f4b400, #fbbc04);
  color: #fff;
}
.review-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.floating-contact-group {
  position: fixed;
  right: 26px;
  top: auto;
  bottom: 18px;
  width: auto;
  transform: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(54px, 1fr));
  gap: 7px;
  z-index: 72;
}
body.ai-chat-open .floating-contact-group,
body:has(.ai-chat-panel:not([hidden])) .floating-contact-group {
  opacity: 0;
  pointer-events: none;
}
.floating-btn {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  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.fb { background: linear-gradient(135deg, #1877f2, #0f5bbd); }
.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: translateY(-2px); filter: saturate(1.08); }

.ai-chat-widget {
  position: fixed;
  right: 26px;
  bottom: 68px;
  z-index: 74;
  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;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 7px;
  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: center;
  gap: 0;
  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: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #1f5eff;
  font-size: 12px;
  line-height: 1;
  overflow: hidden;
  box-shadow: inset 0 -4px 0 rgba(12, 23, 42, .08);
}
.ai-toggle-hamster {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.ai-face {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}
.ai-toggle-text {
  display: none;
  gap: 3px;
  padding-right: 10px;
  text-align: left;
}
.ai-toggle-text strong {
  font-size: 15px;
  line-height: 1.1;
}
.ai-toggle-text small {
  color: rgba(255,255,255,.86);
  font-size: 11px;
  line-height: 1.1;
}
.ai-chat-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(260px, 1fr) auto auto;
  width: min(94vw, 560px);
  height: min(700px, calc(100vh - 200px));
  min-height: 540px;
  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 {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}
.ai-chat-close::before,
.ai-chat-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
}
.ai-chat-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.ai-chat-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.ai-chat-close:hover {
  background: rgba(255,255,255,.18);
}
.ai-chat-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 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) {
  body.ai-chat-open .floating-contact-group,
  body:has(.ai-chat-panel:not([hidden])) .floating-contact-group {
    opacity: 0;
    pointer-events: none;
  }

  .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, .grid.three, .about-grid, .contact-grid, .trust-strip, .ai-plan-grid, .service-link-grid, .related-link-grid, .case-card-grid, .article-card-grid, .decision-grid { grid-template-columns: 1fr 1fr; }
  .service-local-intent,
  .service-nap-band,
  .service-nap-grid {
    grid-template-columns: 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,
  .article-layout,
  .onsite-service-band,
  .ai-agent-flow,
  .case-content-grid {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .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 {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 14px 10px;
  }
  .logo {
    font-size: 20px;
  }
  .nav-cta {
    padding: 10px 14px;
    font-size: 14px;
    white-space: nowrap;
  }
  .nav {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: clip;
    flex-wrap: wrap;
    padding: 2px 0 0;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .nav a {
    flex: 0 1 auto;
    white-space: nowrap;
    font-size: 14px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
  }
  .grid.four, .grid.three, .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, .article-card-grid, .decision-grid { grid-template-columns: 1fr; }
  .contract-summary-cta {
    align-items: stretch;
    flex-direction: column;
  }
  .contract-summary-cta .btn {
    width: 100%;
  }
  .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: 0;
  }
  .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,
  .transaction-panel,
  .related-services,
  .service-local-intent,
  .local-cta-band,
  .case-panel {
    padding: 18px;
  }
  .article-card {
    min-height: 0;
    padding: 18px;
  }
  .article-card h2,
  .article-card h3 {
    font-size: 21px;
  }
  .article-prose p {
    font-size: 16px;
  }
  .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-part-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .appearance-part-tabs::-webkit-scrollbar {
    height: 0;
  }
  .appearance-part-tab {
    flex: 0 0 auto;
    min-height: 42px;
    min-width: 94px;
    padding: 0 14px;
    text-align: center;
    scroll-snap-align: start;
  }
  .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-gallery-more {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }
  .appearance-gallery-more .btn {
    width: 100%;
    justify-content: center;
  }
  .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-1600.webp") 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-source-note {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }
  .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; }
  .member-shell,
  .member-profile-grid,
  .member-sub-form,
  .member-checkout-address,
  .member-checkout-coupon,
  .member-checkout-wallet,
  .member-totp-login-step,
  .member-transfer-form {
    grid-template-columns: 1fr;
  }
  .member-coupon-control,
  .member-wallet-control,
  .member-recovery-code-list {
    grid-template-columns: 1fr;
  }
  .member-auth-card,
  .member-dashboard-card {
    padding: 14px;
    border-radius: 12px;
  }
  .member-actions,
  .member-actions .tool-btn,
  .member-form .btn {
    width: 100%;
  }
  .member-section-head {
    align-items: stretch;
    flex-direction: column;
  }
  .member-order-card header {
    align-items: flex-start;
    flex-direction: column;
  }
  .member-transfer-form label.wide {
    grid-column: auto;
  }
  .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;
  }
  body.ai-chat-open .floating-contact-group,
  body:has(.ai-chat-panel:not([hidden])) .floating-contact-group {
    left: 12px;
    right: 82px;
    opacity: 0;
    pointer-events: none;
  }
  .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: 12px;
    right: 12px;
    bottom: 12px;
    justify-items: end;
  }
  .ai-chat-toggle {
    justify-self: end;
    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 {
    justify-self: stretch;
    width: auto;
    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;
}

.turnstile-inline-widget[data-interactive="true"] {
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: auto;
  height: auto;
  max-width: calc(100vw - 2rem);
  overflow: visible;
  z-index: 100000;
  background: #fff;
  color: #111;
  padding: .75rem;
  border-radius: .5rem;
  box-shadow: 0 4px 24px #0004;
}

.turnstile-inline-widget[data-interactive="true"]::before {
  content: "請完成網站安全驗證後繼續";
  display: block;
  margin-bottom: .5rem;
  font-size: .875rem;
}

/* 2026-07 design refresh: yuge3c.com operational storefront */
:root {
  --bg: #f4f7fa;
  --panel: #ffffff;
  --paper: #ffffff;
  --accent: #0b5fff;
  --accent-dark: #0048c6;
  --text: #15202b;
  --muted: #5c6875;
  --line: #d8e0e8;
  --gold: #8a5a00;
  --success: #14804a;
  --danger: #b42318;
  --shadow: 0 12px 30px rgba(20, 38, 58, .09);
  --font-brand: "Yuge Licensed Display", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  --font-ui: "Yuge Licensed UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
}

html {
  background: var(--bg);
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg);
}

body::before,
body::after {
  display: none;
}

:where(button, input, select, textarea) {
  font: inherit;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(11, 95, 255, .28);
  outline-offset: 2px;
}

.site-header {
  min-height: 68px;
  gap: 14px;
  padding: 8px clamp(16px, 3vw, 40px);
  background: rgba(255, 255, 255, .97);
  border-color: rgba(21, 32, 43, .1);
  box-shadow: 0 6px 20px rgba(20, 38, 58, .07);
}

.logo {
  font-family: var(--font-brand);
  font-size: 22px;
  letter-spacing: 0;
  color: #0c3157;
  white-space: nowrap;
}

.nav {
  align-items: center;
  gap: 4px;
  color: var(--muted);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  color: var(--accent-dark);
  background: #edf5fd;
}

.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-cta,
.btn,
.tool-btn,
.contact-card,
.floating-btn {
  min-height: 44px;
  border-radius: 6px;
  letter-spacing: 0;
}

.nav-cta,
.btn.primary,
.tool-btn,
.contact-card {
  background: var(--accent);
  box-shadow: 0 6px 14px rgba(11, 95, 255, .16);
}

.nav-cta:hover,
.btn.primary:hover,
.tool-btn:hover,
.contact-card:hover {
  background: var(--accent-dark);
}

.btn.pay {
  background: var(--success);
}

.btn.review {
  background: #d99a17;
  color: #17202a;
}

main {
  max-width: 1560px;
  padding: 20px clamp(20px, 4vw, 64px) 80px;
}

.section {
  margin-top: 42px;
  scroll-margin-top: 84px;
}

.section-head {
  max-width: 900px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin-bottom: 8px;
  font-family: var(--font-brand);
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-head p {
  line-height: 1.7;
}

.hero {
  min-height: min(600px, calc(100svh - 152px));
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .5fr);
  gap: 28px;
  align-items: end;
  margin-top: 0;
  padding: clamp(34px, 5vw, 64px);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 20, 33, .92) 0%, rgba(8, 20, 33, .68) 48%, rgba(8, 20, 33, .12) 100%),
    linear-gradient(180deg, rgba(8, 20, 33, .06), rgba(8, 20, 33, .72)),
    url("hero-gaming-pc-1600.webp") center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(20, 38, 58, .16);
}

.hero-copy h1 {
  margin: 14px 0 10px;
  font-family: var(--font-brand);
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy .hero-slogan {
  padding: 7px 11px;
  font-size: 24px;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 38ch;
  font-size: 18px;
  line-height: 1.65;
}

.badge {
  border-radius: 6px;
}

.hero-card {
  border-radius: 8px;
}

.hero-card div {
  border-radius: 6px;
}

.card,
.estimate-shell,
.service-path-card,
.product-card,
.article-card,
.ai-plan-card,
.brand-panel {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.estimate-entry-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(0, 760px) minmax(300px, 500px) minmax(24px, 1fr);
  gap: 36px;
  align-items: center;
  padding: 48px 0;
  overflow: hidden;
  border-block: 1px solid #233d57;
  background: #10283f;
  color: #fff;
}

.estimate-entry-section .section-head {
  grid-column: 2;
  margin: 0;
}

.estimate-entry-section .section-head h2,
.estimate-entry-section .section-head p {
  color: #fff;
}

.estimate-entry-section .section-head p {
  color: #d7e3ef;
}

.estimate-entry-section .eyebrow {
  color: #ffffff;
}

.estimate-entry-actions,
.estimate-entry-facts {
  display: grid;
  gap: 12px;
}

.estimate-entry-actions {
  justify-items: start;
  margin-top: 20px;
}

.estimate-entry-facts {
  grid-column: 3;
  grid-template-columns: 1fr;
}

.estimate-entry-fact {
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
}

.estimate-entry-fact strong,
.estimate-entry-fact span {
  display: block;
}

.estimate-entry-fact strong {
  font-size: 16px;
}

.estimate-entry-fact span {
  margin-top: 4px;
  color: #c8d8e7;
  font-size: 13px;
  line-height: 1.5;
}

.quote-page main {
  max-width: 1480px;
  padding-top: 28px;
}

.quote-page .estimate-section {
  margin-top: 0;
}

.quote-page .section-head h1 {
  margin: 0 0 8px;
  font-family: var(--font-brand);
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: 0;
}

.quote-page .estimate-shell {
  padding: 24px;
}

.estimate-search,
.estimate-source-note {
  border-color: var(--line);
  background: #f7fafc;
}

.estimate-search label,
.estimate-source-note strong,
.category-cell {
  color: var(--accent-dark);
}

.estimate-search input,
.prod-select,
.qty-select,
.shipping-control input,
.service-control select,
.payment-plan-control select {
  min-height: 44px;
  border-color: #b8c4d0;
  border-radius: 6px;
}

.estimate-table thead th {
  background: #173a5e;
}

.estimate-table tbody tr:nth-child(odd) {
  background: #f7fafc;
}

.selected-product-detail {
  border-color: var(--accent);
  background: #edf5fd;
  color: #28445f;
}

.tool-btn.secondary {
  background: #516272;
}

.tool-btn.secondary:hover {
  background: #344454;
}

.floating-contact-group {
  right: 20px;
  bottom: 16px;
}

.floating-btn {
  min-height: 44px;
}

.quote-page .floating-contact-group {
  width: 86px;
  grid-template-columns: 1fr;
}

.quote-page .floating-btn:not(.line) {
  display: none;
}

.ai-chat-widget {
  right: 20px;
  bottom: 72px;
}

.ai-chat-toggle {
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(11, 95, 255, .28);
}

.ai-chat-toggle:hover {
  box-shadow: 0 18px 34px rgba(11, 95, 255, .34);
}

.ai-chat-panel {
  border-color: #bfd0df;
  border-radius: 8px;
}

.ai-chat-head {
  background: #10283f;
}

.ai-chat-quick button,
.ai-chat-form button,
.ai-chat-close,
.ai-attach-btn {
  min-height: 44px;
}

@media (max-width: 1180px) {
  .site-header.has-mobile-nav {
    grid-template-columns: minmax(0, 1fr) auto auto;
    display: grid;
  }

  .has-mobile-nav .mobile-nav-toggle {
    display: block;
    order: 2;
  }

  .has-mobile-nav .nav-cta {
    order: 3;
  }

  .has-mobile-nav .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    order: 4;
    display: none;
    max-height: calc(100svh - 72px);
    overflow-y: auto;
    padding: 10px 16px 16px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 14px 28px rgba(20, 38, 58, .12);
  }

  .has-mobile-nav .nav[data-open="true"] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .has-mobile-nav .nav a {
    justify-content: center;
    padding-inline: 10px;
  }

  .estimate-entry-section {
    grid-template-columns: minmax(24px, 1fr) minmax(0, 900px) minmax(24px, 1fr);
    gap: 24px;
    padding: 40px 0;
  }

  .estimate-entry-section .section-head,
  .estimate-entry-facts {
    grid-column: 2;
  }

  .estimate-entry-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .floating-contact-group,
  .quote-page .floating-contact-group {
    left: 16px;
    right: auto;
    width: 96px;
    grid-template-columns: 1fr;
  }

  .floating-btn:not(.line) {
    display: none;
  }
}

@media (max-width: 780px) {
  .site-legal-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-legal-footer nav {
    width: 100%;
  }

  html {
    scroll-padding-top: 72px;
  }

  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .site-header.has-mobile-nav {
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) 44px auto;
    gap: 8px;
    padding: 8px 12px;
  }

  .logo {
    font-size: 19px;
  }

  .nav-cta {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }

  .has-mobile-nav .nav {
    width: auto;
    padding: 10px 12px 14px;
  }

  .has-mobile-nav .nav[data-open="true"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .has-mobile-nav .nav a {
    min-height: 44px;
    padding: 0 8px;
    background: #f4f7fa;
    white-space: normal;
    text-align: center;
  }

  main {
    padding: 12px 12px 56px;
  }

  .section {
    margin-top: 32px;
    scroll-margin-top: 72px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .hero {
    min-height: min(500px, calc(100svh - 112px));
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background:
      linear-gradient(180deg, rgba(8, 20, 33, .12) 0%, rgba(8, 20, 33, .72) 50%, rgba(8, 20, 33, .94) 100%),
      url("hero-gaming-pc-1600.webp") 58% center / cover no-repeat;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-copy .hero-slogan {
    font-size: 19px;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-card {
    display: none;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 16px;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    padding-inline: 10px;
    text-align: center;
  }

  .estimate-entry-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 18px;
  }

  .estimate-entry-section .section-head,
  .estimate-entry-facts {
    grid-column: auto;
  }

  .estimate-entry-facts {
    grid-template-columns: 1fr;
  }

  .quote-page main {
    padding-top: 18px;
  }

  .quote-page .section-head h1 {
    font-size: 34px;
  }

  .quote-page .estimate-shell {
    padding: 12px;
    border-radius: 8px;
  }

  .estimate-table tbody tr {
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(20, 38, 58, .07);
  }

  .floating-contact-group {
    left: 12px;
    right: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 112px;
    grid-template-columns: 1fr;
  }

  .floating-btn:not(.line) {
    display: none;
  }

  .floating-btn.line {
    min-height: 48px;
  }

  .ai-chat-widget {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .ai-chat-panel {
    height: min(620px, calc(100svh - 92px));
    min-height: 360px;
  }

  .ai-chat-quick button {
    min-height: 44px;
  }
}

/* Member center workspace */
.member-page {
  background: #f4f7fa;
}

.member-page main {
  max-width: 1480px;
}

.member-page .member-section {
  margin-top: 24px;
}

.member-page .member-section > .section-head {
  max-width: none;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dce4eb;
}

.member-page .member-section > .section-head h2 {
  color: #102a43;
  font-size: clamp(28px, 3vw, 38px);
}

.member-workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.member-shell {
  display: block;
  min-width: 0;
}

.member-tabs {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 8px;
  overflow: visible;
  border: 1px solid #dce4eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 50, 68, .06);
}

.member-tabs a {
  min-height: 44px;
  justify-content: flex-start;
  padding: 10px 12px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #526579;
  font-weight: 800;
}

.member-tabs a:hover {
  transform: none;
  background: #edf5fd;
  color: #0b5fff;
}

.member-tabs a.is-active,
.member-tabs a[aria-selected="true"] {
  border-left-color: #0b5fff;
  background: #eaf3ff;
  color: #063f9e;
}

.member-section.is-guest .member-workspace {
  display: block;
}

.member-section.is-guest .member-tabs {
  display: none;
}

.member-section.is-authenticated .member-tabs a[data-member-tab="auth"] {
  display: none;
}

.member-auth-card {
  width: min(100%, 620px);
  margin: 0 auto;
}

.member-dashboard-card {
  display: grid;
  gap: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.member-dashboard-card > .member-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 20px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid #dce4eb;
  border-radius: 8px;
  background: #fff;
}

.member-dashboard-card > .member-card-head > span {
  grid-column: 1 / -1;
}

.member-dashboard-card > .member-card-head h3 {
  font-size: 22px;
}

.member-dashboard-card > .member-card-head p {
  align-self: center;
  text-align: right;
}

.member-tab-panel {
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 1px solid #dce4eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 50, 68, .05);
}

.member-tab-panel[hidden] {
  display: none !important;
}

.member-overview-panel {
  display: grid;
  gap: 22px;
}

.member-overview-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e4eaf0;
}

.member-overview-intro h3,
.member-overview-latest h3 {
  margin: 3px 0 5px;
  color: #102a43;
  font-size: 20px;
}

.member-overview-intro p {
  margin: 0;
  color: #617387;
  line-height: 1.6;
  font-weight: 700;
}

.member-overview-kicker {
  color: #8b641c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.member-overview-status {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.member-overview-status span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid #cdd9e5;
  border-radius: 999px;
  background: #f7f9fb;
  color: #526579;
  font-size: 12px;
  font-weight: 900;
}

.member-overview-status span.ok {
  border-color: #b9dfcf;
  background: #e9f8f2;
  color: #166348;
}

.member-overview-status span.warn {
  border-color: #ecd58e;
  background: #fff7d9;
  color: #76520b;
}

.member-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.member-summary-stat {
  display: grid;
  min-height: 126px;
  align-content: start;
  gap: 5px;
  padding: 16px;
  border: 1px solid #dce4eb;
  border-radius: 8px;
  background: #f8fafc;
}

.member-summary-stat > span {
  color: #526579;
  font-size: 13px;
  font-weight: 850;
}

.member-summary-stat strong {
  color: #102a43;
  font-size: 29px;
  line-height: 1.15;
}

.member-summary-stat small {
  color: #718296;
  line-height: 1.45;
  font-weight: 700;
}

.member-overview-latest {
  padding-top: 2px;
}

.member-overview-latest .member-section-head {
  align-items: end;
  padding-bottom: 12px;
  border-bottom: 1px solid #e4eaf0;
}

.member-overview-latest-body {
  min-height: 88px;
  padding-top: 14px;
}

.member-overview-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
}

.member-overview-order strong {
  color: #102a43;
}

.member-overview-order .member-order-meta {
  grid-column: 1 / -1;
}

.member-overview-order p {
  grid-column: 1 / -1;
  margin: 0;
  color: #617387;
  line-height: 1.5;
  font-weight: 700;
}

.member-overview-empty {
  display: grid;
  gap: 8px;
  justify-items: start;
  color: #617387;
  font-weight: 750;
}

.member-overview-empty p {
  margin: 0;
}

.member-overview-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #e4eaf0;
}

.member-overview-actions .tool-btn {
  width: auto;
  text-decoration: none;
}

.member-order-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 240px) auto;
  gap: 12px;
  align-items: end;
  margin: 4px 0 18px;
  padding: 14px;
  border: 1px solid #dce4eb;
  border-radius: 8px;
  background: #f7f9fb;
}

.member-order-toolbar label {
  display: grid;
  gap: 6px;
  color: #31475d;
  font-size: 12px;
  font-weight: 900;
}

.member-order-toolbar input,
.member-order-toolbar select {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #cbd7e2;
  border-radius: 6px;
  background: #fff;
  color: #172b3f;
  font: inherit;
}

.member-order-toolbar p {
  min-width: 100px;
  margin: 0;
  padding-bottom: 11px;
  color: #617387;
  text-align: right;
  font-size: 13px;
  font-weight: 850;
}

.member-orders {
  margin-top: 0;
}

.member-order-list {
  gap: 12px;
}

.member-order-card {
  gap: 11px;
  padding: 17px;
  border: 1px solid #dce4eb;
  border-left: 4px solid #8292a3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(31, 50, 68, .04);
}

.member-order-card[data-order-state="active"],
.member-order-card[data-order-state="payment"] {
  border-left-color: #d79a1e;
}

.member-order-card[data-order-state="shipping"] {
  border-left-color: #0b5fff;
}

.member-order-card[data-order-state="completed"] {
  border-left-color: #27956f;
}

.member-order-card[data-order-state="cancelled"] {
  border-left-color: #b54b3a;
}

.member-order-card header {
  padding-bottom: 9px;
  border-bottom: 1px solid #e4eaf0;
}

.member-order-id {
  color: #102a43;
  font-size: 15px;
}

.member-order-total {
  color: #063f9e;
  font-size: 20px;
}

.member-order-card > p {
  color: #617387;
}

.member-order-details {
  border-top: 0;
  padding-top: 0;
}

.member-order-details summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  width: fit-content;
  color: #0b5fff;
}

.member-order-timeline {
  padding: 14px;
  border-color: #dce4eb;
  background: #f8fafc;
}

.member-order-timeline ol {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
}

.member-order-timeline li,
.member-order-timeline li.ok,
.member-order-timeline li.warn,
.member-order-timeline li.danger {
  padding: 9px 0 0;
  border-left: 0;
  border-top: 3px solid #cbd7e2;
}

.member-order-timeline li.ok {
  border-top-color: #3aa67a;
}

.member-order-timeline li.warn {
  border-top-color: #d79a1e;
}

.member-order-timeline li.danger {
  border-top-color: #b54b3a;
}

.member-order-timeline span {
  display: grid;
  gap: 3px;
}

.member-order-timeline time {
  white-space: normal;
}

.member-order-payment-hint {
  border-left: 3px solid #d79a1e;
  background: #fff8e8;
}

@media (max-width: 1080px) {
  .member-workspace {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
  }

  .member-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-order-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(170px, .55fr);
  }

  .member-order-toolbar p {
    grid-column: 1 / -1;
    padding: 0;
    text-align: left;
  }
}

@media (max-width: 860px) {
  .member-workspace {
    grid-template-columns: 1fr;
  }

  .member-tabs {
    top: 72px;
    z-index: 8;
    display: flex;
    gap: 6px;
    padding: 7px;
    overflow-x: auto;
  }

  .member-tabs a {
    flex: 0 0 auto;
    justify-content: center;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }

  .member-tabs a.is-active,
  .member-tabs a[aria-selected="true"] {
    border-left-color: transparent;
    border-bottom-color: #0b5fff;
  }

  .member-dashboard-card > .member-card-head {
    grid-template-columns: 1fr;
  }

  .member-dashboard-card > .member-card-head p {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .member-page .member-section {
    margin-top: 18px;
  }

  .member-page .member-section > .section-head h2 {
    font-size: 28px;
  }

  .member-dashboard-card,
  .member-dashboard-card[hidden] {
    padding: 0;
    border-radius: 0;
  }

  .member-dashboard-card > .member-card-head,
  .member-tab-panel {
    padding: 16px;
  }

  .member-overview-intro,
  .member-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .member-overview-latest .member-section-head {
    align-items: stretch;
    text-align: left;
  }

  .member-overview-status {
    justify-content: flex-start;
  }

  .member-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .member-summary-stat {
    min-height: 118px;
    padding: 13px;
  }

  .member-summary-stat strong {
    font-size: 24px;
  }

  .member-overview-order {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .member-overview-order .member-order-meta,
  .member-overview-order p {
    grid-column: 1 / -1;
  }

  .member-overview-order strong {
    overflow-wrap: anywhere;
  }

  .member-overview-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-overview-actions .tool-btn {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
  }

  .member-order-toolbar {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .member-order-toolbar p {
    grid-column: auto;
  }

  .member-order-card {
    padding: 14px;
  }

  .member-order-card header {
    align-items: flex-start;
    flex-direction: row;
  }

  .member-order-timeline ol {
    grid-template-columns: 1fr;
  }

  .member-order-timeline li,
  .member-order-timeline li.ok,
  .member-order-timeline li.warn,
  .member-order-timeline li.danger {
    padding: 0 0 0 11px;
    border-top: 0;
    border-left: 3px solid #cbd7e2;
  }

  .member-order-timeline li.ok {
    border-left-color: #3aa67a;
  }

  .member-order-timeline li.warn {
    border-left-color: #d79a1e;
  }

  .member-order-timeline li.danger {
    border-left-color: #b54b3a;
  }

  .member-order-card .member-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-order-card .member-actions .tool-btn {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
  }
}

/* AI chat UX workspace: resizable desktop, fullscreen mobile, and accessible controls. */
.ai-chat-widget {
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  gap: 12px;
}
.ai-chat-widget .ai-chat-panel {
  width: min(var(--ai-chat-preferred-width, 850px), calc(100vw - 32px));
  height: min(var(--ai-chat-preferred-height, 85dvh), calc(var(--ai-chat-viewport-height, 100dvh) - 32px));
  min-width: min(420px, calc(100vw - 32px));
  min-height: min(520px, calc(var(--ai-chat-viewport-height, 100dvh) - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(var(--ai-chat-viewport-height, 100dvh) - 32px);
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  resize: both;
  overflow: hidden;
}
.ai-chat-panel.is-maximized {
  position: fixed;
  inset: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  z-index: 100;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  resize: none;
}
.ai-chat-tools { gap: 6px; }
.ai-chat-tool {
  min-width: 44px;
  min-height: 36px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.ai-chat-tool:hover { background: rgba(255,255,255,.18); }
.ai-chat-tool:focus-visible { outline: 3px solid rgba(255,255,255,.56); outline-offset: 2px; }
.ai-chat-quick[hidden] { display: none !important; }
.ai-chat-messages {
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.ai-msg, .ai-msg * { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.ai-chat-form { align-items: end; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.ai-chat-form textarea,
.ai-chat-form textarea:focus {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  max-height: 180px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid #d8e3f0;
  border-radius: 8px;
  background: #f9fafb;
  color: #1f2937;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  resize: none;
  overflow-y: hidden;
}
.ai-chat-form textarea:focus { border-color: rgba(31,94,255,.5); background: #fff; outline: none; }
.ai-chat-form textarea::placeholder { color: #8b95a5; }
.ai-chat-toggle { flex: 0 0 auto; }
body.ai-chat-open { overflow: hidden; }
@media (min-width: 768px) and (max-width: 1279px) {
  .ai-chat-panel { width: min(720px, calc(100vw - 32px)); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .ai-chat-widget { right: 16px; bottom: 16px; }
  .ai-chat-widget .ai-chat-panel { width: 90vw; max-width: 90vw; height: min(85dvh, calc(var(--ai-chat-viewport-height, 100dvh) - 32px)); }
  .ai-chat-widget .ai-chat-panel.is-maximized { width: auto !important; max-width: none; }
}
@media (max-width: 767px) {
  .ai-chat-widget { position: fixed; inset: 0; z-index: 1000; display: block; pointer-events: none; }
  .ai-chat-widget .ai-chat-panel,
  .ai-chat-widget .ai-chat-panel.is-maximized {
    position: fixed;
    inset: 0;
    width: 100vw !important;
    height: var(--ai-chat-viewport-height, 100dvh) !important;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: 0;
    resize: none;
  }
  .ai-chat-widget .ai-chat-toggle { position: fixed; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); pointer-events: auto; }
  body.ai-chat-open .ai-chat-toggle { display: none; }
  .ai-chat-panel[hidden] { display: none !important; }
  .ai-chat-head { min-height: calc(64px + env(safe-area-inset-top)); padding-top: calc(12px + env(safe-area-inset-top)); }
  .ai-chat-maximize { display: none; }
  .ai-chat-tools { gap: 4px; }
  .ai-chat-tool { min-width: 40px; min-height: 36px; padding-inline: 7px; font-size: 11px; }
  .ai-chat-quick { max-height: 40vh; overflow-y: auto; }
  .ai-chat-messages { padding-bottom: 12px; }
  .ai-chat-form { grid-template-columns: 44px minmax(0, 1fr) 44px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}

/* Homepage AI toggle spacing: keep the floating contact row fully clickable. */
@media (min-width: 768px) {
  .ai-chat-widget {
    bottom: 76px;
  }
}


/* Hide decorative resize lines while retaining drag targets and keyboard focus. */
.ai-chat-resize-handle { opacity: 0; }
.ai-chat-resize-handle::after { content: none; }
.ai-chat-resize-handle:focus-visible {
  opacity: .18;
  outline: 2px solid rgba(31, 94, 255, .8);
  outline-offset: -2px;
  background: transparent;
}

.ai-chat-panel:not(.is-maximized){resize:none;}
