:root {
  --red: #dc2626;
  --black: #0b0f19;
  --gray: #6b7280;
  --border: #e5e7eb;
  --soft: #f9fafb;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #fff;
  color: var(--black);
}

.container {
  width: 70%;
  max-width: 1280px;
  margin: 5%;
  padding: 90px 10%;
}

.section-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 70px;
}

.section-head h1 {
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-head h1 span {
  color: var(--red);
}

.section-head p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray);
}

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

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 28px 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.06);
  transition: 0.28s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.22), transparent 60%);
  opacity: 0;
  transition: 0.28s;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(220, 38, 38, 0.4);
  box-shadow: 0 45px 160px rgba(0, 0, 0, 0.12);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 14px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
  margin: 0;
}

.cta-wrapper {
  width: 70%;
  margin: 80px auto;
}

.cta {
  padding: 64px 60px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.12), rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 0, 0, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: -80px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.12), transparent 65%);
  z-index: 0;
}

.cta h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.cta h2 span {
  color: var(--red);
}

.cta p {
  position: relative;
  z-index: 2;
  font-size: 18px;
  color: #333;
  max-width: 920px;
  margin: 0 auto 24px;
  line-height: 1.85;
}

.cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #ff0000, #b80000);
  color: white;
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.35);
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
}

.cta-btn.secondary {
  background: white;
  border: 1px solid #ddd;
  color: #111;
}

.cta-btn.secondary:hover {
  background: #f5f5f5;
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .cta-wrapper {
    width: 92%;
    margin: 60px auto;
  }
  .cta {
    padding: 40px 22px;
  }
  .cta h2 {
    font-size: 22px;
  }
  .cta p {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .container,
  .cta {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.chiptuning {
  margin-top: 90px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 35px 140px rgba(0, 0, 0, 0.1);
}

.chiptuning-head {
  padding: 36px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.3), rgba(0, 0, 0, 0.02));
  border-bottom: 1px solid rgba(220, 38, 38, 0.35);
}

.chiptuning-head h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
}

.chiptuning-head p {
  margin-top: 12px;
  font-size: 16px;
  color: #1f2937;
}

.chiptuning-frame iframe {
  width: 100%;
  height: 650px;
  border: 0;
}
