:root {
  --brand: #f7931e;
  --brand-hover: #ffaa3d;
  --brand-dark: #a85c0e;
  --ink: #f5f7fa;
  --muted: #b8c0cc;
  --quiet: #7e8794;
  --bg: #0d0f12;
  --bg-soft: #15181d;
  --surface: #1d2229;
  --surface-2: #262c35;
  --line: #343b46;
  --success: #32d583;
  --info: #60a5fa;
  --warning: #facc15;
  --danger: #f97066;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.page-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.top-strip {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #090b0d;
  color: var(--muted);
  font-size: .86rem;
}

.top-strip .page-shell {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-strip a {
  color: var(--brand-hover);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 15, 18, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.main-nav {
  padding: 14px 0;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, .2);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .16), transparent 46%),
    var(--brand);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.brand-monogram {
  color: #101214;
  font-weight: 950;
  font-size: .82rem;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: .78rem;
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--ink);
}

.nav-link.active {
  color: var(--brand-hover) !important;
  background: rgba(247, 147, 30, .12);
  border-radius: var(--radius);
}

.btn {
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
}

.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #101214;
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: #101214;
}

.btn-soft {
  background: rgba(247, 147, 30, .12);
  border-color: rgba(247, 147, 30, .36);
  color: var(--brand-hover);
}

.btn-soft:hover,
.btn-soft:focus {
  background: rgba(247, 147, 30, .2);
  border-color: rgba(247, 147, 30, .55);
  color: #ffd29b;
}

.btn-ghost {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}

.nav-cta {
  color: var(--ink);
  border-color: rgba(255, 255, 255, .28);
}

.hero-section {
  min-height: calc(100vh - 104px);
  display: flex;
  align-items: center;
  padding: 72px 0 42px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(247, 147, 30, .22), transparent 28%),
    linear-gradient(130deg, rgba(255, 255, 255, .06), transparent 35%),
    linear-gradient(180deg, #111419 0%, #0d0f12 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(360px, .72fr);
  align-items: start;
  gap: 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-hover);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
  line-height: .96;
  font-weight: 900;
  margin-bottom: 24px;
}

.hero-lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
  max-width: 720px;
}

.trust-row div {
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .045);
  border-radius: var(--radius);
  padding: 16px;
}

.trust-row strong {
  display: block;
  font-size: 1.35rem;
}

.trust-row span {
  color: var(--muted);
  font-size: .9rem;
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding-top: 58px;
}

.brand-card,
.quick-card,
.mini-dashboard,
.erp-window,
.contact-card,
.area-card {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(29, 34, 41, .86);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.brand-card {
  padding: 18px;
}

.brand-card img {
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  padding: 12px;
}

.quick-card {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.quick-card div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.quick-card .opening-status {
  color: var(--ink);
  font-weight: 850;
}

.opening-detail {
  color: var(--muted);
  margin-top: -6px;
}

.quick-card strong {
  font-size: 1.2rem;
}

.quick-card a {
  color: var(--brand-hover);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(50, 213, 131, .12);
}

.status-dot.warning {
  background: var(--warning);
  box-shadow: 0 0 0 6px rgba(250, 204, 21, .12);
}

.status-dot.closed {
  background: var(--danger);
  box-shadow: 0 0 0 6px rgba(249, 112, 102, .12);
}

.mini-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.mini-dashboard div {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.mini-dashboard div:last-child {
  border-right: 0;
}

.mini-dashboard span {
  color: var(--quiet);
  font-size: .8rem;
}

.mini-dashboard strong {
  display: block;
  margin-top: 4px;
  font-size: .96rem;
}

.section {
  padding: 92px 0;
}

.page-hero {
  padding: 64px 0 54px;
  background:
    radial-gradient(circle at 78% 8%, rgba(247, 147, 30, .2), transparent 28%),
    linear-gradient(180deg, #111419 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 4.4vw, 4.35rem);
  line-height: 1.02;
  margin-bottom: 18px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.band {
  background: var(--bg-soft);
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading h2,
.pro-grid h2,
.contact-grid h2 {
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
  font-weight: 900;
  margin-bottom: 18px;
}

.section-heading p,
.pro-grid p,
.contact-grid p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.compact {
  margin-bottom: 0;
}

.service-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.shop-preview article,
.news-grid article {
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.service-card span,
.news-grid span {
  color: var(--brand-hover);
  font-weight: 900;
}

.service-card h3,
.shop-preview h3,
.news-grid h3 {
  margin: 22px 0 12px;
  font-size: 1.35rem;
  font-weight: 900;
}

.service-card p,
.shop-preview p {
  color: var(--muted);
  line-height: 1.65;
}

.split-layout,
.app-preview,
.pro-grid,
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 42px;
  align-items: center;
}

.shop-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shop-preview article {
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)),
    var(--surface);
}

.product-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  color: #101214;
  background: var(--brand);
  font-weight: 900;
  font-size: .78rem;
}

.product-badge.alt {
  color: var(--ink);
  background: rgba(96, 165, 250, .22);
}

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

.timeline div {
  position: relative;
  min-height: 180px;
  padding: 22px;
  border-radius: var(--radius);
  background: #111419;
  border: 1px solid rgba(255, 255, 255, .1);
}

.timeline div::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--brand);
  margin-bottom: 24px;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

.erp-window {
  padding: 0;
  overflow: hidden;
}

.window-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: #111419;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--danger);
}

.window-bar span:nth-child(2) {
  background: var(--warning);
}

.window-bar span:nth-child(3) {
  background: var(--success);
}

.window-bar strong {
  margin-left: auto;
  color: var(--muted);
  font-size: .9rem;
}

.repair-status {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 26px;
}

.repair-status span {
  display: block;
  color: var(--quiet);
  font-weight: 800;
}

.repair-status strong {
  display: block;
  margin-top: 4px;
  font-size: 1.45rem;
}

.message-line {
  margin: 0 26px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
}

.progress-track {
  height: 12px;
  margin: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 55%;
  height: 100%;
  background: var(--brand);
}

.area-card,
.contact-card {
  padding: 28px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list div,
.catalog-grid article,
.lookup-card,
.contact-form {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  color: var(--muted);
  margin-top: 6px;
}

.shop-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.shop-toolbar input,
.lookup-card input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: #111419;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

.shop-toolbar input:focus,
.lookup-card input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(247, 147, 30, .7);
  box-shadow: 0 0 0 4px rgba(247, 147, 30, .12);
}

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

.catalog-grid article {
  min-height: 220px;
}

.catalog-grid h3 {
  margin: 22px 0 12px;
  font-weight: 900;
}

.catalog-grid p {
  color: var(--muted);
}

.lookup-card {
  display: grid;
  gap: 12px;
}

.lookup-card label,
.contact-form label {
  color: var(--muted);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.area-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

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

.news-grid article {
  min-height: 170px;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(247, 147, 30, .16), transparent 38%),
    var(--bg-soft);
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.contact-line {
  display: block;
  color: var(--brand-hover);
  font-weight: 900;
  font-size: 1.35rem;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.contact-card p {
  margin: 20px 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 26px 0;
}

.site-footer .page-shell {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.product-page {
  min-height: calc(100vh - 104px);
  padding: 46px 0 64px;
  background: #202327;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .85fr);
  gap: 54px;
  align-items: start;
}

.breadcrumb-line {
  color: var(--muted);
  margin-bottom: 34px;
}

.product-gallery {
  position: sticky;
  top: 126px;
}

.pc-visual {
  min-height: 510px;
  display: grid;
  place-items: center;
}

.pc-case {
  width: min(360px, 78vw);
  height: 440px;
  position: relative;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .14), transparent 20%),
    linear-gradient(135deg, #3a332e 0 16%, #15181d 16% 100%);
  border: 8px solid #3c2d22;
  box-shadow: -72px 22px 80px rgba(0, 0, 0, .38), inset 0 0 0 18px rgba(255, 255, 255, .04);
  transform: perspective(900px) rotateY(-12deg);
}

.pc-case::before {
  content: "";
  position: absolute;
  inset: 58px 42px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .18) 0 2px, transparent 2px 18px),
    rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .12);
}

.pc-case::after {
  content: "";
  position: absolute;
  left: -120px;
  top: 92px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  border: 18px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 0 0 12px rgba(0, 0, 0, .32);
}

.pc-case span {
  position: absolute;
  left: -128px;
  top: 110px;
  width: 166px;
  height: 18px;
  background: rgba(255, 255, 255, .28);
  transform: rotate(90deg);
}

.pc-case span:nth-child(2) {
  transform: rotate(30deg);
}

.pc-case span:nth-child(3) {
  transform: rotate(150deg);
}

.thumb-row {
  display: flex;
  gap: 10px;
}

.thumb-row button {
  width: 66px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(247, 147, 30, .22), transparent 45%),
    var(--surface-2);
}

.product-config {
  padding-top: 42px;
}

.product-config h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: .96;
  font-weight: 950;
  margin-bottom: 14px;
}

.product-intro {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 600px;
}

.product-price {
  display: block;
  font-size: 1.7rem;
  margin: 22px 0 26px;
}

.option-group {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 22px 0;
}

.option-group h2 {
  font-size: 1.2rem;
  font-weight: 950;
  margin-bottom: 10px;
}

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

.choice {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
  min-height: 42px;
  padding: 0 16px;
  font-weight: 850;
}

.choice.active {
  color: #101214;
  background: #dedede;
}

.product-actions {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 22px;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 10px;
}

.product-actions .btn-soft {
  grid-column: 1 / -1;
}

.qty-control {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-control button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 950;
}

.qty-control span {
  text-align: center;
  font-weight: 950;
}

.product-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-details article,
.builder-step {
  border: 1px solid rgba(255, 255, 255, .1);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
}

.product-details h2,
.builder-step legend {
  font-size: 1.3rem;
  font-weight: 950;
}

.product-details p {
  color: var(--muted);
  line-height: 1.65;
}

.pc-builder-form {
  display: grid;
  gap: 16px;
}

.builder-step {
  margin: 0;
}

.builder-step legend {
  float: none;
  width: auto;
  color: var(--ink);
  margin-bottom: 16px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.field-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
}

.field-grid input,
.field-grid select,
.field-grid textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: #111419;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.builder-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 1060px) {
  .hero-grid,
  .split-layout,
  .app-preview,
  .pro-grid,
  .contact-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding-top: 0;
  }

  .product-gallery {
    position: static;
  }

  .service-grid,
  .catalog-grid,
  .timeline,
  .product-details,
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-strip .page-shell {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 4px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 46px;
  }

  .page-hero {
    padding: 46px 0 40px;
  }

  h1 {
    font-size: 3rem;
  }

  .page-hero h1 {
    font-size: 2.45rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-row,
  .service-grid,
  .shop-preview,
  .catalog-grid,
  .timeline,
  .news-grid,
  .mini-dashboard,
  .product-details,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .pc-visual {
    min-height: 360px;
  }

  .pc-case {
    height: 320px;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .builder-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-toolbar {
    flex-direction: column;
  }

  .mini-dashboard div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .mini-dashboard div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 64px 0;
  }

  .repair-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer .page-shell {
    flex-direction: column;
  }
}
