:root {
  --bg: #ffffff;
  --bg-alt: #f3f5f8;
  --accent: #e8600a;
  --accent-hover: #cc5509;
  --dark: #111827;
  --navy: #1e3a5f;
  --text: #374151;
  --muted: #6b7280;
  --border: #e0e4ea;
  --radius: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  padding: 6px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: rgba(255,255,255,0.65); }
.top-bar a:hover { color: #fff; }
.top-bar-left { display: flex; gap: 20px; }

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: -0.02em;
}
.logo-text {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.logo-text span { color: var(--accent); }
.logo-sub {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: -1px;
}

/* Main nav */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text);
  padding: 6px 12px;
  border-radius: var(--radius);
  display: block;
  transition: all .15s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--accent);
  color: #fff;
}

/* Header right */
.header-right { text-align: right; }
.header-phone {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
}
.header-hours {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 1px;
}

/* Hero */
.hero {
  background: var(--bg-alt);
  border-bottom: 2px solid var(--border);
  padding: 80px 0;
}
.hero-inner {
  max-width: 600px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.65;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--accent); color: #fff; }
.btn-orange:hover { background: var(--accent-hover); color: #fff; }
.btn-outline-white {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}
.btn-outline-white:hover { border-color: var(--accent); color: var(--accent); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #162d4a; color: #fff; }

/* Stats bar */
.stats-bar {
  border-bottom: 2px solid var(--border);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 30px 20px;
  text-align: center;
  border-right: 2px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-item .value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-item .label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 2px solid var(--border); border-bottom: 2px solid var(--border); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text h2 {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}
.about-text p {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.about-image {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  min-height: 340px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* USP Grid */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.usp-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s;
}
.usp-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(232,96,10,0.1);
}
.usp-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(232,96,10,0.08);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-size: 1.3rem;
}
.usp-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.usp-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color .2s;
}
.product-card:hover { border-color: var(--accent); }
.product-image {
  height: 210px;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  color: var(--muted);
  border-bottom: 2px solid var(--border);
}
.product-body { padding: 22px; }
.product-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.product-body .price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 10px;
}
.product-body p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Price block */
.price-block {
  background: var(--bg);
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.price-block .amount {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--accent);
}
.price-block .note { color: var(--muted); margin-top: 8px; font-size: 0.9rem; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step-card { text-align: center; padding: 22px 16px; }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}
.step-card h4 { font-weight: 800; margin-bottom: 5px; color: var(--dark); font-size: 0.93rem; }
.step-card p { font-size: 0.82rem; color: var(--muted); }

/* CTA */
.cta-section {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta-section h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 10px; }
.cta-section p { color: rgba(255,255,255,0.7); }

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 48px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; margin-top: 8px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.87rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
}

/* Page title */
.page-title {
  padding: 44px 0;
  background: var(--bg-alt);
  border-bottom: 2px solid var(--border);
}
.page-title h1 { font-size: 1.8rem; font-weight: 900; color: var(--dark); }
.breadcrumbs { margin-top: 6px; font-size: 0.82rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* Content */
.content h2 { font-size: 1.4rem; font-weight: 900; margin: 26px 0 10px; color: var(--dark); }
.content p { margin-bottom: 12px; color: var(--text); }
.content ul { margin: 12px 0 12px 18px; color: var(--text); }
.content li { margin-bottom: 8px; }

/* About page */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-image-page {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  min-height: 300px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 2px solid var(--border);
}
.stats-grid-page { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card-page { text-align: center; padding: 24px 16px; background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-card-page .value { font-size: 1.9rem; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 5px; }
.stat-card-page .label { font-size: 0.82rem; color: var(--muted); }
.timeline { display: grid; gap: 12px; }
.timeline-item { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 18px; background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); }
.timeline-year { font-weight: 900; color: var(--accent); font-size: 1.05rem; }
.timeline-content h4 { font-weight: 800; margin-bottom: 3px; color: var(--dark); }
.timeline-content p { font-size: 0.86rem; color: var(--muted); }
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.principle-card { padding: 20px; background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.principle-card h4 { font-weight: 800; margin-bottom: 5px; color: var(--dark); }
.principle-card p { font-size: 0.87rem; color: var(--muted); }

/* Contacts */
.contacts-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; }
.contact-card { padding: 20px; margin-bottom: 12px; background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 5px; }
.contact-card .value { font-size: 1rem; font-weight: 800; color: var(--dark); }
.contact-form .field {
  width: 100%; padding: 12px 14px; border: 2px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: 0.92rem; margin-bottom: 12px; background: var(--bg); color: var(--text);
}
.contact-form .field:focus { outline: none; border-color: var(--accent); }
.contact-form textarea.field { min-height: 110px; resize: vertical; }
.map-embed { width: 100%; height: 360px; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.product-gallery {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  min-height: 340px;
  display: grid;
  place-items: center;
  color: var(--muted);
  overflow: hidden;
}
.product-meta .price-tag { font-size: 2.1rem; font-weight: 900; color: var(--accent); margin-bottom: 14px; }
.product-meta p { color: var(--text); margin-bottom: 12px; }
.specs-table { width: 100%; border-collapse: collapse; margin-top: 18px; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; display: block; }
.specs-table th, .specs-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.specs-table th { background: var(--bg-alt); font-weight: 800; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.specs-table td { color: var(--text); font-size: 0.92rem; }
.specs-table tr:last-child td { border-bottom: none; }

/* Parts */
.parts-toolbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.parts-toolbar button { padding: 8px 16px; border: 2px solid var(--border); background: var(--bg); border-radius: var(--radius); font-family: inherit; font-size: 0.83rem; cursor: pointer; color: var(--text); font-weight: 600; transition: all .15s; }
.parts-toolbar button:hover { border-color: var(--accent); color: var(--accent); }
.parts-toolbar button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.parts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.part-card { background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: border-color .2s; }
.part-card:hover { border-color: var(--accent); }
.part-image { height: 160px; background: var(--bg-alt); display: grid; place-items: center; color: var(--muted); border-bottom: 2px solid var(--border); }
.part-body { padding: 16px; }
.part-body .article { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 3px; }
.part-body h4 { font-size: 0.92rem; font-weight: 800; margin-bottom: 3px; color: var(--dark); }
.part-body p { font-size: 0.83rem; color: var(--muted); margin-bottom: 10px; }
.part-body .price { font-size: 1rem; font-weight: 900; color: var(--accent); }

/* Admin */
.admin-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--navy); color: #fff; padding: 24px; }
.admin-sidebar .logo-text { color: #fff; }
.admin-nav { list-style: none; margin-top: 24px; }
.admin-nav li { margin-bottom: 4px; }
.admin-nav a { display: block; padding: 10px 12px; border-radius: var(--radius); color: rgba(255,255,255,0.75); font-weight: 700; font-size: 0.85rem; transition: all .15s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.1); color: #fff; }
.admin-main { padding: 28px; background: var(--bg-alt); }
.admin-card { background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.admin-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 14px; color: var(--dark); }
.admin-field { margin-bottom: 12px; }
.admin-field label { display: block; font-weight: 700; font-size: 0.7rem; margin-bottom: 5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.admin-field input, .admin-field textarea, .admin-field select { width: 100%; padding: 10px 12px; border: 2px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 0.9rem; background: var(--bg); color: var(--text); }
.admin-field input:focus, .admin-field textarea:focus, .admin-field select:focus { outline: none; border-color: var(--accent); }
.admin-field textarea { min-height: 70px; resize: vertical; }

/* Mobile */
@media (max-width: 1024px) {
  .hero-inner { max-width: 100%; }
  .about-grid, .about-story, .product-detail, .contacts-grid, .cta-section { grid-template-columns: 1fr; }
  .usp-grid, .stats-grid, .stats-grid-page, .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}
@media (max-width: 640px) {
  .top-bar { display: none; }
  .main-nav { display: none; }
  .header-right { display: none; }
  .usp-grid, .stats-grid, .stats-grid-page, .principles-grid, .steps-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 36px 24px; grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  .price-block { padding: 28px 20px; }
  .price-block .amount { font-size: 2.2rem; }
  .header-left { gap: 10px; }
}