/* Smooth-scrolls the mobile "Get a Quote" anchor to #quote-form. This file is
   only linked from the homepage, so this stays homepage-scoped in effect. */
html { scroll-behavior: smooth; }

/* ==========================================================================
   Homepage hero — Module 03
   Implements the Module 02 Design System (Concept C, "Local & Loaded") tokens,
   scoped to .pct-hero only. Homepage-only file; not linked from any other
   page, and does not modify /component-library.css used site-wide.
   ========================================================================== */

.pct-hero {
  --h-primary: #111827;
  --h-primary-dark: #0A0E14;
  --h-primary-light: #1F2937;
  --h-accent: #F5C518;
  --h-accent-dark: #D9A800;
  --h-secondary: #6B7684;
  --h-ink-on-dark: #F9FAFB;
  --h-ink-on-dark-soft: #CBD2D9;
  --h-line-dark: #2B3440;
  --h-font-head: "Oswald", "Barlow Condensed", "Arial Narrow", sans-serif;
  --h-font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --h-sp-3: 0.75rem;
  --h-sp-4: 1rem;
  --h-sp-5: 1.5rem;
  --h-sp-6: 2rem;
  --h-sp-7: 3rem;
  --h-radius-md: 8px;
  --h-radius-lg: 12px;
  --h-shadow-md: 0 8px 20px rgba(10, 14, 20, 0.18);

  position: relative;
  color: var(--h-ink-on-dark);
  background: linear-gradient(135deg, var(--h-primary) 0%, var(--h-primary-dark) 100%);
  background-image:
    linear-gradient(135deg, rgba(10, 14, 20, 0.86), rgba(10, 14, 20, 0.93)),
    url("/wp-content/uploads/2022/08/townsville-superior-concrete.jpg");
  background-size: cover;
  background-position: center;
}

.pct-hero__container {
  max-width: 1180px;
  margin-inline: auto;
  padding: var(--h-sp-6) var(--h-sp-4);
  display: grid;
  gap: var(--h-sp-6);
}

/* ---- Content column ---- */
.pct-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--h-sp-3);
  font-family: var(--h-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--h-accent);
  margin: 0 0 var(--h-sp-3);
}
.pct-hero__eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--h-accent);
  flex-shrink: 0;
}

.pct-hero__title {
  font-family: var(--h-font-head);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1.12;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin: 0 0 var(--h-sp-4);
  color: var(--h-ink-on-dark);
}

.pct-hero__lede {
  font-family: var(--h-font-body);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--h-ink-on-dark-soft);
  margin: 0 0 var(--h-sp-5);
  max-width: 46ch;
}

.pct-hero__actions {
  display: flex;
  gap: var(--h-sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--h-sp-5);
}

.pct-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--h-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.25rem;
  border-radius: var(--h-radius-md);
  border: 2px solid transparent;
  text-decoration: none;
  min-height: 44px;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.pct-hero__btn:hover { transform: translateY(-2px); }
.pct-hero__btn:focus-visible { outline: 3px solid var(--h-accent-dark); outline-offset: 2px; }

.pct-hero__btn--primary {
  background: var(--h-accent);
  border-color: var(--h-accent);
  color: var(--h-primary-dark);
  box-shadow: var(--h-shadow-md);
}
.pct-hero__btn--primary:hover { background: var(--h-accent-dark); border-color: var(--h-accent-dark); }

.pct-hero__btn--outline {
  background: transparent;
  border-color: var(--h-accent);
  color: var(--h-ink-on-dark);
}
.pct-hero__btn--outline:hover { background: rgba(245, 197, 24, 0.12); }

.pct-hero__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--h-sp-3);
  margin: 0;
  padding: 0;
}
.pct-hero__chips li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--h-font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--h-ink-on-dark-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--h-line-dark);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  white-space: nowrap;
}
.pct-hero__chips li::before {
  content: "✓";
  color: var(--h-accent);
  font-weight: 700;
}

/* ---- Form column ---- */
.pct-hero__form-card {
  background: var(--h-primary-light);
  border: 1px solid var(--h-line-dark);
  border-radius: var(--h-radius-lg);
  padding: var(--h-sp-5);
  box-shadow: var(--h-shadow-md);
  scroll-margin-top: 88px; /* keeps the sticky site header from covering the card on jump */
}
.pct-hero__form-eyebrow {
  font-family: var(--h-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--h-accent);
  margin: 0 0 0.4rem;
}
.pct-hero__form-heading {
  font-family: var(--h-font-head);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.375rem;
  color: var(--h-ink-on-dark);
  margin: 0 0 var(--h-sp-4);
}

/* Visual placeholder only — no real form/embed available yet (see Module 03 notes).
   min-height matches the footprint a 5-field quote form will occupy, so dropping
   the real embed in later causes no layout shift. */
.contact-form-wrapper {
  min-height: 360px;
}
.contact-form-wrapper iframe {
  width: 100%;
  display: block;
}

.pct-hero__form-placeholder {
  min-height: 360px;
  border: 2px dashed var(--h-line-dark);
  border-radius: var(--h-radius-md);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--h-sp-3);
  padding: var(--h-sp-5);
}
.pct-hero__form-placeholder p {
  margin: 0;
  font-family: var(--h-font-body);
  font-size: 0.9375rem;
  color: var(--h-ink-on-dark-soft);
  max-width: 32ch;
}
.pct-hero__form-placeholder strong {
  color: var(--h-ink-on-dark);
  font-size: 1rem;
}
.pct-hero__form-placeholder a {
  color: var(--h-accent);
  font-weight: 600;
  text-decoration: underline;
}

/* ---- Layout: mobile-first single column, two-column from tablet (768px) up ---- */
@media (min-width: 768px) {
  .pct-hero__container {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding-block: var(--h-sp-7);
  }
  .pct-hero__actions { flex-wrap: nowrap; }
}

@media (min-width: 1024px) {
  .pct-hero__container { gap: var(--h-sp-7); }
}
