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

:root {
  --primary: #2563eb;
  --secondary: #7c3aed;
  --accent: #f59e0b;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  line-height: 1.5;
  color: var(--dark);
  background: var(--light);
  font-size: 14px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header {
  background: var(--dark);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 50px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.hero-content {
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.hero p {
  font-size: 16px;
  margin-bottom: 24px;
  opacity: 0.95;
  line-height: 1.6;
  color: white;
}

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

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 35px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 700;
}

.page-hero p {
  font-size: 15px;
  opacity: 0.95;
  color: white;
}

section {
  padding: 40px 0;
}

h2 {
  font-size: 26px;
  margin-bottom: 18px;
  color: var(--dark);
  font-weight: 700;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark);
  font-weight: 600;
}

p {
  margin-bottom: 12px;
  color: var(--gray);
  line-height: 1.7;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 11px 26px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary {
  background: #fff;
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--light);
  color: var(--secondary);
}

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

.btn-secondary:hover {
  background: #fff;
  color: var(--primary);
}

.features-grid,
.services-grid,
.products-grid,
.contact-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-item,
.service-card,
.product-card,
.contact-item,
.testimonial-item {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.feature-item:hover,
.service-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 14px;
}

.price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin: 12px 0;
}

.about,
.services-preview,
.products-preview,
.location,
.warranty-section,
.newsletter,
.contact-info,
.contact-form-section,
.map-section,
.products-catalog,
.product-categories,
.why-buy,
.services-list,
.repair-process,
.warranty,
.testimonials {
  background: #fff;
  margin: 20px 0;
  padding: 40px 0;
}

.about:nth-child(even),
.services-preview:nth-child(even),
.products-preview:nth-child(even) {
  background: var(--light);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.services-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.services-list-items {
  list-style: none;
  margin: 20px 0;
}

.services-list-items li {
  padding: 10px 0 10px 24px;
  position: relative;
  color: var(--gray);
}

.services-list-items li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.services-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.products-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.product-highlight-item {
  background: var(--light);
  padding: 24px;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
}

.testimonial-item {
  border-left: 4px solid var(--accent);
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 14px;
  color: var(--dark);
}

.testimonial-item strong {
  color: var(--primary);
  font-size: 13px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  margin-top: 20px;
}

.location-info h3 {
  margin-top: 20px;
}

.location-info h3:first-child {
  margin-top: 0;
}

.map-container {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
  max-width: 600px;
  margin: 20px auto 0;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--dark);
  font-size: 13px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.checkbox-group input[type='checkbox'] {
  width: auto;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.category-item {
  background: var(--light);
  padding: 20px;
  border-radius: 10px;
  border-top: 3px solid var(--primary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.step {
  background: var(--light);
  padding: 24px;
  border-radius: 10px;
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 14px;
}

.newsletter {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  text-align: center;
}

.newsletter-content h2,
.newsletter-content p {
  color: #fff;
}

.newsletter-content .btn {
  background: #fff;
  color: var(--primary);
  margin-top: 10px;
}

.newsletter-content .btn:hover {
  background: var(--light);
}

.footer {
  background: var(--dark);
  color: #fff;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-section p,
.footer-section a {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.8;
}

.footer-section a {
  display: block;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--accent);
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: #fff;
  padding: 16px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: none;
}

.privacy-popup.show {
  display: block;
}

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

.privacy-content p {
  margin: 0;
  font-size: 13px;
  color: #fff;
}

.btn-accept {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.btn-accept:hover {
  background: #d97706;
}

.thankyou-page,
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 20px;
}

.thankyou-content,
.error-content {
  text-align: center;
  color: #fff;
  max-width: 600px;
}

.thankyou-content h1,
.error-content h1 {
  font-size: 36px;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 72px;
}

.error-content h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 12px;
}

.thankyou-content p,
.error-content p {
  font-size: 16px;
  margin-bottom: 24px;
  color: #fff;
  opacity: 0.95;
}

.thankyou-content .btn,
.error-content .btn {
  background: #fff;
  color: var(--primary);
}

.thankyou-content .btn:hover,
.error-content .btn:hover {
  background: var(--light);
}

.policy-page {
  background: #fff;
  padding: 40px 0;
}

.policy-page .container {
  max-width: 900px;
}

.policy-page h1 {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--dark);
}

.update-date {
  color: var(--gray);
  font-size: 13px;
  margin-bottom: 30px;
}

.policy-page h2 {
  margin-top: 30px;
  font-size: 20px;
}

.policy-page .btn {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .nav.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 35px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-image {
    order: -1;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 17px;
  }

  .features-grid,
  .services-grid,
  .products-grid,
  .contact-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .services-showcase {
    grid-template-columns: 1fr;
  }

  .services-image {
    order: -1;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .products-highlight {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .privacy-content {
    flex-direction: column;
    text-align: center;
  }

  .error-content h1 {
    font-size: 56px;
  }

  .thankyou-content h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .logo {
    font-size: 15px;
  }

  .hero {
    padding: 30px 0;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  section {
    padding: 30px 0;
  }

  .btn {
    padding: 9px 20px;
    font-size: 13px;
  }

  h2 {
    font-size: 20px;
  }

  .price {
    font-size: 24px;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 12px;
  }

  .logo {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .feature-item,
  .service-card,
  .product-card,
  .contact-item {
    padding: 18px;
  }

  .btn {
    padding: 8px 18px;
    font-size: 12px;
  }
}
