/* =========================
   Global reset
========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f5f5f5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 88%);
  margin: 0 auto;
}

/* =========================
   Header
========================= */

.site-header {
  background: #111827;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.nav-wrapper {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #facc15;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: #facc15;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.9rem;
  cursor: pointer;
}

/* =========================
   Buttons
========================= */

.btn {
  display: inline-block;
  background: #facc15;
  color: #111827;
  padding: 13px 22px;
  text-decoration: none;
  font-weight: 800;
  border-radius: 8px;
  border: 2px solid #facc15;
  transition: 0.2s ease;
}

.btn:hover {
  background: #eab308;
  border-color: #eab308;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #111827;
  border-color: #fff;
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================
   Hero sections
========================= */

.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.82)),
    url("../images/scaffold-hero.svg") center / cover no-repeat;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  color: #facc15;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.eyebrow.dark {
  color: #ca8a04;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero p {
  max-width: 720px;
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #e5e7eb;
}

.page-hero {
  color: #fff;
  text-align: center;
  padding: 90px 0;
  background:
    linear-gradient(rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.86)),
    url("../images/scaffold-hero.svg") center / cover no-repeat;
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: #e5e7eb;
  font-size: 1.08rem;
}

/* =========================
   Sections and cards
========================= */

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  color: #111827;
  margin-bottom: 10px;
}

.section-title p {
  color: #555;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: #111827;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.card p {
  color: #555;
}

/* =========================
   Split section
========================= */

.split-section {
  background: #fff;
  padding: 70px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.image-panel img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.split-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  margin-bottom: 18px;
  color: #111827;
}

.split-content p {
  color: #555;
  margin-bottom: 16px;
}

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

.tick-list li {
  margin-bottom: 10px;
  font-weight: 700;
}

.tick-list li::before {
  content: "✓";
  color: #ca8a04;
  font-weight: 900;
  margin-right: 8px;
}

/* =========================
   CTA
========================= */

.cta {
  background: #111827;
  color: #fff;
  text-align: center;
  padding: 70px 0;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}

.cta p {
  color: #d1d5db;
  margin-bottom: 25px;
}

/* =========================
   Services page
========================= */

.service-list {
  display: grid;
  gap: 22px;
}

.service-item {
  background: #fff;
  border-left: 6px solid #facc15;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}

.service-item h2 {
  color: #111827;
  margin-bottom: 10px;
}

.service-item p {
  color: #555;
}

/* =========================
   Contact page
========================= */

.contact-section {
  background: #f9fafb;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.contact-box,
.quote-form {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}

.contact-box h2,
.quote-form h2 {
  margin-bottom: 18px;
  color: #111827;
}

.contact-box p {
  margin-bottom: 12px;
  color: #444;
}

.notice-box {
  margin-top: 25px;
  background: #fffbeb;
  border-left: 5px solid #facc15;
  padding: 18px;
  border-radius: 8px;
}

.notice-box h3 {
  margin-bottom: 8px;
}

.quote-form label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
  color: #333;
}

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

.quote-form textarea {
  min-height: 145px;
  resize: vertical;
}

.quote-form button {
  background: #facc15;
  color: #111827;
  padding: 13px 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.quote-form button:hover {
  background: #eab308;
}

.form-alert {
  padding: 13px 15px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-weight: 700;
}

.form-alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.form-alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.hidden-field {
  display: none;
}

/* =========================
   Footer
========================= */

.site-footer {
  background: #030712;
  color: #d1d5db;
  padding: 45px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #facc15;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 18px;
  text-align: center;
}

/* =========================
   Responsive
========================= */

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-wrapper {
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0 6px;
  }

  .site-nav.active {
    display: flex;
  }

  .site-nav a {
    display: block;
    padding: 10px 0;
  }

  .hero {
    min-height: 560px;
  }

  .cards,
  .split-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(92%, 1120px);
  }

  .hero,
  .section,
  .split-section,
  .cta,
  .page-hero {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .hero {
    min-height: 520px;
  }

  .button-row,
  .btn {
    width: 100%;
  }

  .btn {
    text-align: center;
  }

  .card,
  .contact-box,
  .quote-form,
  .service-item {
    padding: 22px;
  }
}
