/* ============================================================
   MOTOCENTRUM — stylesheet (Automec-inspired layout)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #222;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

:root {
  --accent:   #2563eb;
  --accent-h: #1d4ed8;
  --dark:     #0d1117;
  --dark2:    #14213d;
  --light:    #f0f4fb;
  --border:   #e2e8f0;
  --text-muted: #64748b;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  padding: 8px 0;
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Lang switcher (in topbar) */
.lang-switcher { display: flex; gap: 2px; }

.lang-btn {
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: rgba(255,255,255,0.45);
  transition: all 0.2s;
}

.lang-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.lang-btn:hover:not(.active) { color: #fff; border-color: rgba(255,255,255,0.25); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.logo i { color: var(--accent); margin-right: 6px; }

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #374151;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.navbar-phone {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-phone i { color: var(--accent); }

.btn-outline {
  padding: 10px 22px;
  border: 2px solid var(--dark);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--dark);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 88vh;
  background:
    linear-gradient(100deg, rgba(8,14,35,0.82) 45%, rgba(8,14,35,0.45) 100%),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1920&q=80')
    center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}

/* --- Hero left --- */
.hero-left { flex: 1; color: #fff; }

.hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.label-line {
  flex: 1;
  max-width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.hero-left h1 {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-left > p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-radius: 2px;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); }

.btn-play-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.btn-play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.btn-play-wrap:hover .btn-play { border-color: var(--accent); background: var(--accent); }

/* --- Hero right: stats card --- */
.hero-stats {
  background: var(--dark2);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 4px;
  width: 240px;
  flex-shrink: 0;
  overflow: hidden;
}

.stat-item {
  padding: 22px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-item:nth-child(odd) { background: var(--accent); }

.stat-num {
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-plus { font-size: 22px; }

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.3px;
}

.stat-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: rgba(255,255,255,0.2);
}

.stat-divider { display: none; }

/* ============================================================
   SECTION TAGS (label with lines, like Automec)
   ============================================================ */
.section-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  justify-content: center;
  margin-bottom: 12px;
}

.section-tag.light { color: rgba(255,255,255,0.6); }
.section-tag.light .tag-line { background: rgba(255,255,255,0.3); }

.tag-line {
  width: 36px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ============================================================
   SEARCH FORM SECTION
   ============================================================ */
.search-section {
  background: var(--light);
  padding: 72px 40px;
}

.search-header {
  text-align: center;
  margin-bottom: 36px;
}

.search-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
}

.form-card {
  background: #fff;
  border-radius: 6px;
  padding: 36px 36px 32px;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

/* Form layout */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row.four-col { grid-template-columns: repeat(4, 1fr); }
.form-row.three-col { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form-row.contact-row { grid-template-columns: 1fr 2fr; gap: 20px; align-items: start; margin-bottom: 0; }

.contact-fields { display: flex; flex-direction: column; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark2);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group select:not(.extras-select) {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%232563eb'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.extras-select { height: 106px !important; padding: 4px 0 !important; }
.extras-select option { padding: 5px 12px; }

/* Range sliders */
.range-wrap { padding-top: 4px; }

.range-container {
  position: relative;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  margin: 18px 0 6px;
}

.range-track {
  position: absolute;
  top: 0;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  pointer-events: none;
}

.range-container input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 4px;
  background: transparent;
  pointer-events: none;
  margin: 0; padding: 0;
}

.range-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  pointer-events: all;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(37,99,235,0.4);
}

.range-container input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  pointer-events: all;
  border: 2px solid #fff;
  box-shadow: none;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--accent); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message { font-size: 12px; font-weight: 600; min-height: 18px; }
.form-message.success { color: #059669; }
.form-message.error   { color: #dc2626; }

/* ============================================================
   SERVICES — cards with photo + badge
   ============================================================ */
.services {
  background: #fff;
  padding: 80px 40px;
}

.services-inner { max-width: 1100px; margin: 0 auto; text-align: center; }

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 48px;
  line-height: 1.2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: visible;
  transition: box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(37,99,235,0.12);
  transform: translateY(-5px);
}

/* Photo area with overlapping badge */
.service-img {
  position: relative;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}

.service-img img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.4s;
}

.service-card:hover .service-img img { transform: scale(1.04); }

.service-badge {
  position: absolute;
  bottom: -18px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.service-body { padding: 30px 24px 24px; }

.service-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-link {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--dark);
  border-bottom: 2px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.service-link:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   ABOUT — full-bleed image left + dark content right
   ============================================================ */
.about {
  display: flex;
  min-height: 520px;
}

.about-image-col {
  flex: 1;
  min-height: 460px;
  overflow: hidden;
}

.about-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content-col {
  flex: 0 0 48%;
  background: var(--dark2);
  padding: 72px 64px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content-col h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.about-content-col > p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-features { display: flex; flex-direction: column; gap: 20px; }

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feat-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--accent);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}

.about-feature h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--accent);
  padding: 48px 40px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stats-item {
  text-align: center;
  flex: 1;
}

.stats-num {
  display: block;
  font-size: 46px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.stats-num span { font-size: 30px; }

.stats-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.footer-logo i { color: var(--accent); margin-right: 6px; }

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a::before {
  content: '→';
  font-size: 11px;
  color: var(--accent);
}

.footer-col ul a:hover { color: #fff; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-contact-item i { color: var(--accent); margin-top: 2px; min-width: 14px; }
.footer-contact-item a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links { display: flex; gap: 20px; }

.footer-bottom-links a {
  color: rgba(255,255,255,0.25);
  font-size: 12px;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-left h1 { font-size: 42px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about { flex-direction: column; }
  .about-image-col { min-height: 300px; }
  .about-content-col { flex: none; padding: 48px 36px; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 40px; }
  .hero-stats { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
  .stat-item:nth-child(odd) { background: var(--accent); }
  .form-row.four-col { grid-template-columns: 1fr 1fr; }
  .form-row.contact-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar-left { gap: 12px; font-size: 11px; }
  .navbar-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .navbar-cta .navbar-phone { display: none; }
  .hero { min-height: auto; padding: 0; }
  .hero-inner { padding: 60px 24px; }
  .hero-left h1 { font-size: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .services { padding: 60px 24px; }
  .services-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .search-section { padding: 52px 20px; }
  .form-card { padding: 24px 18px; }
  .form-row, .form-row.four-col, .form-row.three-col { grid-template-columns: 1fr; }
  .stats-inner { gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; padding: 40px 24px 24px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
.hero-left h1 { font-size: 26px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .about-content-col { padding: 36px 24px; }
}
