:root,
[data-theme="light"] {
  --bg: #F6F5F1;
  --bg-muted: #ECEAE3;
  --surface: #FFFFFF;
  --surface-hover: #FAF9F6;
  --header-bg: rgba(246, 245, 241, 0.84);
  --header-bg-scrolled: rgba(246, 245, 241, 0.96);
  --ink: #161614;
  --ink-muted: #5C5B55;
  --border: rgba(22, 22, 20, 0.09);
  --border-strong: rgba(22, 22, 20, 0.18);
  --accent: #EA580C;
  --accent-hover: #C2410C;
  --accent-soft: rgba(234, 88, 12, 0.09);
  --accent-glow: rgba(234, 88, 12, 0.24);
  --ok: #15803D;
  --ok-bg: #DCFCE7;
  --closed: #B91C1C;
  --closed-bg: #FEE2E2;
  --hero-glow: rgba(234, 88, 12, 0.09);
  --shadow-sm: 0 1px 2px rgba(22, 22, 20, 0.04), 0 4px 12px -2px rgba(22, 22, 20, 0.05);
  --shadow-md: 0 4px 8px -2px rgba(22, 22, 20, 0.05), 0 16px 32px -8px rgba(22, 22, 20, 0.09);
  --shadow-lg: 0 12px 24px -6px rgba(22, 22, 20, 0.08), 0 28px 48px -12px rgba(22, 22, 20, 0.13);
  --btn-invert-bg: #161614;
  --btn-invert-text: #FFFFFF;
}

[data-theme="dark"] {
  --bg: #121211;
  --bg-muted: #1A1A18;
  --surface: #1E1E1B;
  --surface-hover: #252521;
  --header-bg: rgba(18, 18, 17, 0.84);
  --header-bg-scrolled: rgba(18, 18, 17, 0.96);
  --ink: #F4F3EE;
  --ink-muted: #9E9C94;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --accent: #F96B21;
  --accent-hover: #EA580C;
  --accent-soft: rgba(249, 107, 33, 0.14);
  --accent-glow: rgba(249, 107, 33, 0.28);
  --ok: #4ADE80;
  --ok-bg: rgba(74, 222, 128, 0.13);
  --closed: #F87171;
  --closed-bg: rgba(248, 113, 113, 0.13);
  --hero-glow: rgba(249, 107, 33, 0.12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25), 0 4px 14px -2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 6px 16px -4px rgba(0, 0, 0, 0.4), 0 18px 36px -8px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 14px 32px -6px rgba(0, 0, 0, 0.55);
  --btn-invert-bg: #F4F3EE;
  --btn-invert-text: #121211;
}

:root {
  --font-sans: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-6: 48px;
  --s-8: 64px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  padding-bottom: 84px;
  overflow-x: hidden;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-2);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--s-3);
  }
}

/* Scroll Progress Bar */
.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  transition: width 0.08s linear;
  pointer-events: none;
}

/* Burger Button & Navigation Drawer */
.burger-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.burger-btn:hover {
  border-color: var(--border-strong);
  transform: scale(1.05);
}

.burger-line {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}

.burger-btn.is-open .burger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger-btn.is-open .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger-btn.is-open .burger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 44;
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.nav-backdrop.is-open {
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  top: 76px;
  right: 16px;
  width: min(340px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

.nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.nav-drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.nav-drawer-list li {
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.nav-drawer.is-open .nav-drawer-list li {
  opacity: 1;
  transform: translateX(0);
}

.nav-drawer.is-open .nav-drawer-list li:nth-child(1) { transition-delay: 0.05s; }
.nav-drawer.is-open .nav-drawer-list li:nth-child(2) { transition-delay: 0.1s; }
.nav-drawer.is-open .nav-drawer-list li:nth-child(3) { transition-delay: 0.15s; }
.nav-drawer.is-open .nav-drawer-list li:nth-child(4) { transition-delay: 0.2s; }
.nav-drawer.is-open .nav-drawer-list li:nth-child(5) { transition-delay: 0.25s; }

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.nav-link::after {
  content: '→';
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-muted);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-link:hover {
  background: var(--accent-soft);
  color: var(--accent);
  padding-left: 18px;
}

.nav-link:hover::after {
  transform: translateX(4px);
  color: var(--accent);
}

.nav-drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.theme-toggle.is-spinning svg {
  animation: themeSpin 0.4s var(--ease);
}

@keyframes themeSpin {
  0% { transform: rotate(-90deg) scale(0.6); opacity: 0.4; }
  100% { transform: rotate(0deg) scale(1); opacity: 1; }
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.topbar.is-scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: var(--shadow-sm);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  transition: transform 0.28s var(--ease);
}

.brand:hover .brand-icon {
  transform: rotate(30deg);
}

.brand-wordmark {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .brand-wordmark {
    font-size: 18px;
  }
}

.brand-num {
  color: var(--accent);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .topbar-actions {
    gap: 10px;
  }
}

.status-pill {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-muted);
  color: var(--ink);
}

@media (min-width: 640px) {
  .status-pill {
    display: inline-flex;
  }
}

.status-pill.is-open {
  background: var(--ok-bg);
  color: var(--ok);
}

.status-pill.is-closed {
  background: var(--closed-bg);
  color: var(--closed);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  position: relative;
}

.status-pill.is-open .status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  animation: pulseRing 2s var(--ease) infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.7); opacity: 0.55; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Theme Toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  transform: scale(1.06);
}

.theme-toggle:active {
  transform: scale(0.94);
}

[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.lang-btn {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: all 0.2s var(--ease);
}

.lang-btn.is-active {
  background: var(--btn-invert-bg);
  color: var(--btn-invert-text);
}

.header-wa {
  display: none;
}

@media (min-width: 768px) {
  .header-wa {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  min-height: 36px;
  padding: 7px 16px;
  font-size: 13px;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: #FFFFFF;
  border: 1px solid var(--accent);
  box-shadow: 0 6px 20px -4px var(--accent-glow);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease);
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 140%;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -4px var(--accent-glow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--btn-invert-bg);
  border-color: var(--btn-invert-bg);
  color: var(--btn-invert-text);
  transform: translateY(-2px);
}

/* Seamless Hero */
.hero {
  position: relative;
  padding: 44px 0 48px;
  background: radial-gradient(700px circle at 85% 20%, var(--hero-glow), transparent 65%);
}

@media (min-width: 768px) {
  .hero {
    padding: 68px 0 72px;
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
  }
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  animation: heroFadeUp 0.55s var(--ease) both;
}

h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  animation: heroFadeUp 0.55s var(--ease) 0.07s both;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 48ch;
  margin-bottom: 28px;
  animation: heroFadeUp 0.55s var(--ease) 0.14s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  animation: heroFadeUp 0.55s var(--ease) 0.21s both;
}

.hero-phone-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-muted);
  animation: heroFadeUp 0.55s var(--ease) 0.28s both;
}

.hero-phone-line a {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
  transition: color 0.15s ease;
}

.hero-phone-line a:hover {
  color: var(--accent);
}

/* 2x2 Bento Quick-Info Grid */
.hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: heroFadeUp 0.6s var(--ease) both;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.bento-card:nth-child(1) { animation-delay: 0.14s; }
.bento-card:nth-child(2) { animation-delay: 0.22s; }
.bento-card:nth-child(3) { animation-delay: 0.30s; }
.bento-card:nth-child(4) { animation-delay: 0.38s; }

.bento-card:hover .bento-icon {
  transform: scale(1.1) rotate(-4deg);
}

.bento-icon {
  transition: transform 0.28s var(--ease);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.bento-accent {
  border-color: rgba(234, 88, 12, 0.25);
  background: linear-gradient(145deg, var(--surface), var(--accent-soft));
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.bento-value {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.bento-label {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.4;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections */
.section {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 76px 0;
  }
}

.section-muted {
  background: var(--bg-muted);
  border-radius: 28px;
  margin: 0 8px;
}

@media (min-width: 768px) {
  .section-muted {
    border-radius: 36px;
    margin: 0 20px;
  }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--s-4);
}

@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--s-4);
  }
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section-note {
  font-size: 15px;
  color: var(--ink-muted);
  max-width: 50ch;
}

/* Catalog Controls */
.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
}

@media (min-width: 900px) {
  .catalog-controls {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.chip.is-active {
  background: var(--btn-invert-bg);
  color: var(--btn-invert-text);
  border-color: var(--btn-invert-bg);
}

.search-wrap {
  position: relative;
  width: 100%;
}

@media (min-width: 900px) {
  .search-wrap {
    width: 300px;
  }
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--ink-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px 10px 42px;
  font-family: var(--font-sans);
  font-size: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Catalog Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 480px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
  animation: cardIn 0.35s var(--ease) both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(234, 88, 12, 0.35);
}

.tool-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  margin-bottom: 12px;
}

.tool-id {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.tool-cat {
  color: var(--ink-muted);
}

.tool-thumb {
  height: 100px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 14px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.tool-card:hover .tool-thumb {
  background: var(--accent-soft);
  color: var(--accent);
}

.tool-thumb svg {
  width: 42px;
  height: 42px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.28s var(--ease);
}

.tool-card:hover .tool-thumb svg {
  transform: scale(1.1);
}

.tool-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}

.tool-spec {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.tool-bottom {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tool-price {
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.tool-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-muted);
}

.tool-btn {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  background: var(--btn-invert-bg);
  color: var(--btn-invert-text);
  border-radius: var(--radius-pill);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.tool-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
  transform: scale(1.04);
}

.catalog-empty,
.noscript-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.catalog-empty p {
  color: var(--ink-muted);
  margin-bottom: var(--s-2);
}

/* Conditions */
.conditions-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .conditions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cond-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), box-shadow 0.25s var(--ease);
}

.reveal.is-visible .cond-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible .cond-item:nth-child(1) { transition-delay: 0.05s; }
.reveal.is-visible .cond-item:nth-child(2) { transition-delay: 0.12s; }
.reveal.is-visible .cond-item:nth-child(3) { transition-delay: 0.19s; }
.reveal.is-visible .cond-item:nth-child(4) { transition-delay: 0.26s; }

.reveal.is-visible .cond-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  transition-delay: 0s;
}

.cond-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.cond-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cond-item p {
  font-size: 15px;
  color: var(--ink-muted);
}

/* Repair & Sales */
.services-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .services-pair {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.service-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(234, 88, 12, 0.3);
}

.tag-code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
}

.service-box h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.service-box p {
  font-size: 15px;
  color: var(--ink-muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.service-link:hover {
  color: var(--accent);
  gap: 10px;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.review-summary,
.review-feedback {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.review-summary:hover,
.review-feedback:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-score-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.review-score {
  font-size: clamp(44px, 5vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.review-stars {
  display: flex;
  gap: 3px;
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.review-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.review-desc {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.review-feedback h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: -6px;
}

.star-picker {
  display: inline-flex;
  gap: 6px;
}

.star-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 22px;
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  transition: transform 0.18s var(--ease), color 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.star-btn:hover,
.star-btn.is-active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(234, 88, 12, 0.35);
  transform: translateY(-2px) scale(1.06);
}

.star-result {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  animation: cardIn 0.3s var(--ease) both;
}

.star-result[hidden] {
  display: none;
}

.star-result p {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

/* Location & Contact */
.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .location-card {
    grid-template-columns: 1.2fr 1fr;
    padding: 40px;
    align-items: center;
  }
}

.loc-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.loc-row {
  display: flex;
  gap: var(--s-2);
  font-size: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.loc-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.loc-row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  text-transform: uppercase;
  min-width: 94px;
  padding-top: 3px;
}

.location-contact {
  background: var(--bg);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.primary-phone-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.primary-phone {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 20px;
  transition: color 0.15s ease;
}

.primary-phone:hover {
  color: var(--accent);
}

.loc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Seamless Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--s-6) 0;
  margin-top: var(--s-4);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

@media (min-width: 768px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  font-weight: 800;
  font-size: 17px;
  margin-bottom: var(--s-1);
}

.footer-copy {
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 38ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-family: var(--font-mono);
  font-size: 13px;
}

.footer-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.footer-links a {
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Mobile Sticky Bar */
.mobile-bar {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 50;
}

@media (min-width: 768px) {
  .mobile-bar {
    display: none;
  }
}

.mobile-bar .btn {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--btn-invert-bg);
  color: var(--btn-invert-text);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 60;
}

@media (min-width: 768px) {
  .toast {
    bottom: var(--s-3);
  }
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .cond-item {
    opacity: 1;
    transform: none;
  }
}
