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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
}

#app {
  max-width: 100%;
  margin: 0 auto;
}

.header {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.header-logo {
  height: 60px;
  width: auto;
}

.header-title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
}

@media (max-width: 600px) {
  .header-logo {
    height: 40px;
  }

  .header-title {
    font-size: 20px;
  }
}

.hero {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}

.hero h1 {
  font-size: 46px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero h1 strong {
  font-weight: 700;
}

.hero-text {
  font-size: 24px;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-text strong {
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #dc3545;
  color: white;
}

.btn-primary:hover {
  background-color: #c82333;
}

.btn-secondary {
  background-color: transparent;
  color: #dc3545;
  border: 2px solid #dc3545;
}

.btn-secondary:hover {
  background-color: #dc3545;
  color: white;
}

.brands {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.brands h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.region-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.region-tab {
  padding: 8px 20px;
  background-color: transparent;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.region-tab.active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.region-tab:hover {
  border-color: #000;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.brand-item:hover .brand-logo {
  transform: scale(1.1);
}

.brand-item span {
  font-size: 12px;
  text-align: center;
}

.cars {
  padding: 40px 20px;
  background-color: #f9f9f9;
  max-width: 1400px;
  margin: 0 auto;
}

.cars-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.cars-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-key {
  font-size: 24px;
}

.cars-title h2 {
  font-size: 20px;
  font-weight: 600;
}

.btn-small {
  padding: 10px 24px;
  background-color: transparent;
  border: 2px solid #dc3545;
  color: #dc3545;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.btn-small:hover {
  background-color: #dc3545;
  color: white;
}

.car-carousel {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

@media (max-width: 1320px) {
  .car-carousel {
    max-width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  .car-carousel {
    max-width: 360px;
    padding: 0;
  }
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.carousel-btn {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background-color: #f5f5f5;
}

.car-grid {
  display: flex;
  gap: 20px;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.car-grid-wrapper {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.car-card {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  flex-shrink: 0;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  /*height: 550px;*/
}

.car-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.car-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.car-card h3 {
  font-size: 18px;
  font-weight: 600;
  padding: 15px 15px 10px;
  min-height: 60px;
}

.car-specs {
  padding: 0 15px;
  font-size: 13px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row span:first-child {
  color: #666;
}

.spec-row span:last-child {
  font-weight: 500;
}

.car-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-top: 1px solid #f0f0f0;
}

.price {
  font-size: 20px;
  font-weight: 700;
}
.badprice {
  font-size: 14px;
  font-weight: 400;
  color: gray
}

.btn-buy {
  padding: 10px 24px;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-buy:hover {
  background-color: #333;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #000;
}

.cta {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}

.cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.form-placeholder {
  width: 100%;
  max-width: 600px;
  /*height: 300px;*/
  margin: 0 auto;
  background-color: #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: #666;
    padding: 20px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background-color: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #999;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  color: #333;
}

.modal h2 {
  font-size: 22px;
  font-weight: 600;
  /*margin-bottom: 30px;
  padding-right: 40px;*/
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 18px;
  font-weight: 600;
}

.form-group input {
  padding: 15px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  background-color: #f9f9f9;
}

.form-group input:focus {
  outline: none;
  border-color: #333;
  background-color: white;
}

.form-group input::placeholder {
  color: #ccc;
}

.btn-submit {
  padding: 18px;
  background-color: #666;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #555;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 10px;
}

.form-consent input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
}

.form-consent label {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}

.form-consent a {
  color: #dc3545;
  text-decoration: underline;
}

.modal-callback {
  max-width: 900px;
  padding: 0;
  overflow: hidden;
}

.modal-callback-content {
  display: flex;
}

.modal-callback-image {
  flex: 1;
  min-height: 500px;
}

.modal-callback-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-callback-form {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.callback-header {
  margin-bottom: 30px;
}

.callback-header p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.phone-link {
  color: #000;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #000;
}

.phone-link:hover {
  color: #dc3545;
  border-bottom-color: #dc3545;
}

.callback-or {
  font-size: 14px;
  font-weight: 600;
  margin-top: 20px;
}

.callback-disclaimer {
  font-size: 11px;
  color: #666;
  margin-top: 15px;
  line-height: 1.4;
}

.modal-brand-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-right: 40px;
}

.modal-brand-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.modal-brand-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 768px) {
  .modal-callback-content {
    flex-direction: column;
  }

  .modal-callback-image {
    min-height: 250px;
  }

  .modal-callback {
    width: 95%;
    max-width: none;
  }
}
