html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeLegibility;
}

.hero-media {
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.7) 45%, rgba(15, 23, 42, 0.25)),
    url("../img/hero-electrical.png");
  background-position: center;
  background-size: cover;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgb(245 158 11 / 0.28);
  background: rgb(245 158 11 / 0.08);
  padding: 0.35rem 0.75rem;
  color: #92400e;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-media .section-kicker,
.bg-slate-950 .section-kicker {
  color: #cffafe;
}

.form-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 700;
}

footer .form-label {
  color: #cbd5e1;
}

.form-input {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 0.78rem 0.9rem;
  color: #0f172a;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgb(245 158 11 / 0.18);
}

.form-input[aria-invalid="true"] {
  border-color: #e11d48;
}

.form-error {
  min-height: 1.25rem;
  margin-top: 0.35rem;
  color: #be123c;
  font-size: 0.8rem;
  font-weight: 600;
}

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #f59e0b;
  box-shadow: 0 18px 40px rgb(15 23 42 / 0.12);
}

.project-image {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.admin-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #f8fafc, #eef2f7);
}

@media (max-width: 767px) {
  .hero-media {
    background-image:
      linear-gradient(180deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.78)),
      url("../img/hero-electrical.png");
  }
}
