/* Auto Revive – shared landing + utilities */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #f7f9fc;
  color: #1e293b;
  line-height: 1.6;
}

header.hero {
  background-image: linear-gradient(
      rgb(17 24 39 / 0.75),
      rgb(17 24 39 / 0.55)
    ),
    url("/car.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 80px 20px;
}

header.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

header.hero .tagline {
  font-size: 1.15rem;
  max-width: 36rem;
  margin: 0 auto 28px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: #f59e0b;
  color: #111;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  border: none;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

section {
  padding: 72px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 8px;
  color: #0f172a;
}

.section-title p {
  margin: 0;
  color: #64748b;
}

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

.card {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgb(15 23 42 / 0.06);
  border: 1px solid rgb(226 232 240 / 0.8);
  text-align: center;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  color: #0f172a;
}

.highlight {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #e2e8f0;
  text-align: center;
  padding: 80px 20px;
}

.highlight h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 12px;
  color: #fff;
}

.highlight p {
  margin: 0 0 24px;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

footer.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  text-align: center;
  padding: 32px 20px;
  font-size: 0.875rem;
}

footer.site-footer p {
  margin: 4px 0;
}

.contact-form-wrap {
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 128px;
}

.contact-form button[type="submit"] {
  width: 100%;
}

#formStatus {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.9375rem;
}

#formStatus[data-kind="pending"] {
  color: #b45309;
}

#formStatus[data-kind="ok"] {
  color: #15803d;
}

#formStatus[data-kind="err"] {
  color: #b91c1c;
}
