:root {
  --bg-main: #0f1115;
  --bg-dark: #1f2227;
  --bg-alt: #f3f4f6;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --accent: #f5c400;
  --accent-soft: #fdf3b0;
  --border-soft: #2f343c;
  --radius-lg: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #232633 0, #050509 60%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: rgba(5, 5, 9, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 196, 0, 0.2);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.site-logo {
  height: 60px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .site-logo {
    height: 32px;
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 20%, #fff8da, #f5c400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #1b1b1b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 16px;
  font-weight: 700;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.navbar {
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
  border-color: var(--accent);
}

.nav-links a.active {
  color: var(--accent);
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 22px;
  cursor: pointer;
}

.section {
  padding: 48px 0;
  flex: 1;
}

.section-alt {
  background: #090a0f;
  flex: 1;
}

.section-title {
  font-size: 24px;
  margin: 0 0 8px;
}

.section-subtitle {
  margin: 0 0 24px;
  color: var(--text-muted);
  max-width: 640px;
}

.hero {
  padding: 56px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-content h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease,
    background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #f5c400, #f9d94b);
  color: #222;
  box-shadow: 0 10px 25px rgba(245, 196, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(245, 196, 0, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: rgba(245, 196, 0, 0.08);
}

.card {
  background: #12141d;
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  border: 1px solid rgba(245, 196, 0, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

.card h3,
.card .product-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.card .product-title p {
  margin: 0;
  display: inline;
}

.card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.card ul,
.card ol {
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.card ul li,
.card ol li {
  margin-bottom: 4px;
  font-size: inherit;
  color: inherit;
}

.card-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tags li {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.12);
  color: #fef9c3;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.advantages-section {
  margin-top: 48px;
}

.list {
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #050509;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(245, 196, 0, 0.5);
}

.form-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-footer .recaptcha-container {
  flex-shrink: 0;
}

.form-footer .form-actions {
  margin-left: auto;
}

.form-actions {
  grid-column: 1 / -1;
}

.recaptcha-container {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: -4px;
}

.dealers-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.dealer-list {
  background: #11131c;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245, 196, 0, 0.12);
  padding: 10px;
  max-height: 380px;
  overflow-y: auto;
}

.dealer-item {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-bottom: 6px;
  transition: background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}

.dealer-item a {
  color: var(--text-muted);
  text-decoration: none;
}

.dealer-item:last-child {
  margin-bottom: 0;
}

.dealer-item:hover {
  background: rgba(245, 196, 0, 0.09);
  border-color: rgba(245, 196, 0, 0.4);
}

.dealer-item.active {
  background: rgba(245, 196, 0, 0.12);
  border-color: var(--accent);
}

.dealer-item-title {
  font-size: 14px;
  font-weight: 600;
}

.dealer-item-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.dealer-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

#dealerMap {
  width: 100%;
  height: 380px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 24px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
}

.contact-info li {
  margin-bottom: 6px;
}

.footer {
  border-top: 1px solid rgba(31, 41, 55, 0.8);
  background: #050509;
  padding: 20px 0 14px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.5);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item:hover {
  color: var(--accent);
}

.footer-contact-item svg {
  flex-shrink: 0;
}

.footer-address {
  max-width: 350px;
  line-height: 1.4;
}

.footer-address svg {
  align-self: flex-start;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.footer-note {
  text-align: right;
  padding-top: 0;
}

.footer-logo {
  height: 26px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 1;
}


@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col,
  .dealers-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    gap: 10px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 44px;
    background: #050509;
    border-radius: 12px;
    padding: 8px 10px;
    flex-direction: column;
    align-items: flex-start;
    min-width: 170px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
  }

  .nav-links.show {
    display: flex;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-note {
    text-align: center;
  }
}

.hero-slider-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 25px;
  margin-bottom: 20px;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1120px;
  min-height: 320px;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
  border: none;
  user-select: none;
  -webkit-user-select: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-content {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 320px;
  padding: 24px;
  gap: 32px;
}

.hero-slide-image {
  flex: 0 0 45%;
  max-width: 45%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-image img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 8px;
}

.hero-slide-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 24px;
}

.hero-slide-text h2,
.hero-slide-text .slider-title {
  font-size: clamp(0.95rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-slide-text .slider-title p {
  margin: 0;
  display: inline;
}

.hero-slide-text p,
.hero-slide-text .slider-description {
  font-size: clamp(0.7rem, 1.8vw, 0.95rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin-bottom: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-slide-text .slider-description p {
  margin-bottom: 4px;
}

.hero-slide-text .slider-description p:last-child {
  margin-bottom: 0;
}

.hero-slide-text .slider-description ul,
.hero-slide-text .slider-description ol {
  margin: 4px 0;
  padding-left: 16px;
  font-size: inherit;
}

.hero-slide-text .slider-description li {
  margin-bottom: 2px;
}

.hero-slide-text .slider-description a {
  color: var(--accent);
  text-decoration: underline;
}

.ql-size-small {
  font-size: 0.75em;
}

.ql-size-large {
  font-size: 1.5em;
}

.ql-size-huge {
  font-size: 2em;
}

.hero-slide-text .ql-size-small {
  font-size: 0.75em;
}

.hero-slide-text .ql-size-large {
  font-size: 1.5em;
}

.hero-slide-text .ql-size-huge {
  font-size: 2em;
}

.hero-slide-text .btn {
  align-self: flex-start;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-slider-controls {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.hero-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(245, 196, 0, 0.4);
  background: rgba(5, 5, 9, 0.8);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-dots {
  display: flex;
  gap: 6px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.6);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 900px) {
  .hero-slide-content {
    gap: 16px;
    padding: 16px;
  }

  .hero-slide-image {
    flex: 0 0 40%;
    max-width: 40%;
  }
}

@media (max-width: 600px) {
  .hero-slider-wrapper {
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .hero-arrow {
    width: 22px;
    height: 22px;
  }
}

.footer-address {
  max-width: 410px;
  line-height: 1.4;
}