.callback-form {
  background: var(--bg);
  padding: 3rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 500px;
  margin: 3rem auto;
  position: relative;
  overflow: hidden;
}

.callback-form::before {
  content: '☎️';
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 6rem;
  opacity: 0.1;
}

.callback-form h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 2rem;
  position: relative;
  z-index: 1;
}

.callback-form form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: var(--text);
}

.callback-form form input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
}

.callback-form form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 5px rgba(0, 119, 204, 0.3);
}

.callback-form form {
  color: #dc3545;
  margin-bottom: 0.5rem;
}

.callback-form button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.callback-form button:hover {
  background: var(--accent-local, #28a745);
  transform: translateY(-2px);
}

.success-message {
  text-align: center;
  color: var(--accent-local, #28a745);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 1.5rem;
}

.cta-button-call {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff !important;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin: 0 auto;
  width: 60%;
  transition: background 0.2s;
}

.cta-button-call:hover {
  background: var(--primary-light);
}

/* 📱 Адаптив для планшетов */
@media (max-width: 768px) {
  .callback-form {
    padding: 2rem 1rem;
    margin: 2rem auto;
  }

  .callback-form h2 {
    font-size: 1.6rem;
  }

  .callback-form form input,
  .callback-form button {
    font-size: 0.95rem;
    padding: 0.65rem;
  }

  .cta-button-call {
    width: 80%;
    padding: 0.65rem;
    font-size: 0.95rem;
  }

  .callback-form::before {
    font-size: 4rem;
    top: -20px;
    right: -20px;
  }
}

/* 📱 Адаптив для телефонов */
@media (max-width: 480px) {
  .callback-form {
    padding: 1.5rem 0.75rem;
    margin: 1.5rem auto;
    border-radius: 12px;
  }

  .callback-form h2 {
    font-size: 1.4rem;
  }

  .callback-form form input,
  .callback-form button {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .success-message {
    font-size: 1rem;
  }

  .cta-button-call {
    width: 100%;
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  .callback-form::before {
    font-size: 3rem;
    top: -15px;
    right: -15px;
    opacity: 0.08;
  }
}

@media (max-width: 360px) {
  .callback-form::before {
    font-size: 2.5rem;
    top: -12px;
    right: -12px;
  }
}

@media (max-width: 480px) {
  .callback-form button,
  .cta-button-call {
    min-height: 44px;
  }
}
