/* ═══════════════════════════════════════════
   Paul's Asphalt Paving, Home Page
   Cinematic video hero, centered content over dark paving footage.
   ═══════════════════════════════════════════ */


/* ═══════════════════════════════════════════
   HOME HERO, Full-bleed video background.
   Content sits centered over a darkened paving video.
   Text is light over dark overlay; body below stays cream/light.
   ═══════════════════════════════════════════ */

.home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 7rem 1.25rem 5rem;
  isolation: isolate;
  background: #0D0E0D;
}
@media (min-width: 768px) {
  .home-hero { padding: 8rem 2rem 6rem; }
}

/* Full-bleed video */
.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  display: block;
  opacity: 0;
  animation: heroBgIn 1.6s var(--ease) 0.15s forwards;
}
@keyframes heroBgIn {
  to { opacity: 1; }
}
.home-hero-bg video,
.home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.45) contrast(1.08) saturate(1.05);
  animation: heroZoom 18s var(--ease) infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Gradient overlay over the video for text legibility */
.home-hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 14, 13, 0.55) 0%, rgba(13, 14, 13, 0.35) 45%, rgba(13, 14, 13, 0.75) 100%),
    radial-gradient(ellipse at center, transparent 25%, rgba(13, 14, 13, 0.55) 90%);
  pointer-events: none;
}

/* Orange dash accent in a corner */
.home-hero-stripe {
  position: absolute;
  top: -12%;
  right: -14%;
  width: 520px;
  height: 520px;
  background-image: repeating-linear-gradient(
    45deg,
    var(--accent) 0,
    var(--accent) 2px,
    transparent 2px,
    transparent 26px
  );
  opacity: 0.14;
  z-index: 2;
  pointer-events: none;
  border-radius: 50%;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}
@media (max-width: 768px) {
  .home-hero-stripe { display: none; }
}

.home-hero-shell {
  position: relative;
  z-index: 3;
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.home-hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-hero-content .section-kicker {
  justify-content: center;
  color: var(--accent);
}
.home-hero-content .section-kicker::before {
  background: var(--accent);
}

.home-hero-title {
  font-family: 'Bowlby One', 'Archivo Black', 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #FBF3E4;
  margin: 0 auto 1.5rem;
  max-width: 22ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.home-hero-title .line {
  display: block;
  overflow: hidden;
}
.home-hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) skewY(6deg);
  animation: wordIn 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.home-hero-title .line:nth-child(1) .word { animation-delay: 0.45s; }
.home-hero-title .line:nth-child(2) .word { animation-delay: 0.6s; }
.home-hero-title .line:nth-child(3) .word { animation-delay: 0.75s; }
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0) skewY(0); }
}
.home-hero-title em {
  font-style: normal;
  color: var(--accent);
  display: inline-block;
  position: relative;
}
.home-hero-title em::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0;
  height: 5px;
  background: var(--accent);
  border-radius: 0;
  transform-origin: left center;
  transform: scaleX(0);
  animation: heroLineIn 1s var(--ease) 1.4s forwards;
  opacity: 0.55;
}
@keyframes heroLineIn {
  to { transform: scaleX(1); }
}

.home-hero-lead {
  color: rgba(251, 243, 228, 0.92);
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.65;
  max-width: 58ch;
  margin: 0 auto 2rem;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 1s forwards;
  text-shadow: 0 1px 16px rgba(0,0,0,0.35);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0 auto 2.5rem;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 1.2s forwards;
}
/* Ghost button on the dark hero needs a light-on-dark treatment */
.home-hero-actions .btn-ghost {
  border-color: rgba(251, 243, 228, 0.35);
  color: #FBF3E4;
}
.home-hero-actions .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(247, 152, 37, 0.10);
}

/* Meta strip (badges) */
.home-hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  padding: 1.5rem 0 0;
  margin: 0 auto;
  max-width: 620px;
  border-top: 1px solid rgba(251, 243, 228, 0.18);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 1.4s forwards;
}
@media (min-width: 540px) { .home-hero-meta { grid-template-columns: repeat(3, 1fr); } }
.home-hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  text-align: center;
}
.home-hero-meta-num {
  font-family: 'Bowlby One', 'Archivo Black', 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--accent);
  line-height: 1;
}
.home-hero-meta-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: rgba(251, 243, 228, 0.75);
}

/* Right-side hero form panel, white card with red top rail */
.home-hero-panel {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(13, 14, 13, 0.10);
  padding: 1rem 1.4rem 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 1.5s forwards;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  box-shadow: 0 20px 50px rgba(13, 14, 13, 0.10), 0 4px 12px rgba(13, 14, 13, 0.05);
}
@media (min-width: 768px) {
  .home-hero-panel { padding: 1rem 1.75rem 1.6rem; }
}
.home-hero-panel::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: var(--accent);
}
.home-hero-panel-header {
  margin-bottom: 1.1rem;
}
.home-hero-panel-kicker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.6rem;
  background: rgba(232, 33, 41, 0.08);
  border: 1px solid rgba(232, 33, 41, 0.22);
}
.home-hero-panel h3 {
  font-family: 'Archivo Black', 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  line-height: 1.05;
}
.home-hero-panel p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Compact form styling inside the hero */
.home-hero-form .form-group { margin-bottom: 0.65rem; }
.home-hero-form .form-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.3rem;
  color: var(--text-muted);
}
.home-hero-form .form-input {
  padding: 0.75rem 0.9rem;
  background: var(--bg-page);
  border: 1px solid rgba(13, 14, 13, 0.12);
  color: var(--text);
  font-size: 16px;
}
.home-hero-form .form-input:focus {
  border-color: var(--accent);
  background: #FFFFFF;
  outline: none;
}
.home-hero-form textarea.form-input {
  min-height: 78px;
  line-height: 1.4;
}
.home-hero-form .form-row-2col { gap: 0.6rem; }
.home-hero-form .btn-primary {
  margin-top: 0.35rem;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}
.home-hero-form .cf-turnstile {
  margin: 0.25rem 0 0.5rem;
}
.home-hero-form-footnote {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.78rem;
  margin-top: 0.75rem;
}
.home-hero-form-footnote a {
  color: var(--accent);
  font-weight: 600;
}
.home-hero-form-footnote a:hover {
  color: var(--accent-bright);
}

/* Scroll indicator */
.home-hero-scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(251, 243, 228, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  z-index: 4;
  animation: fadeUp 0.9s var(--ease) 1.8s forwards;
}
.home-hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.home-hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--accent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% { top: -40%; }
  100% { top: 100%; }
}


/* ═══════════════════════════════════════════
   INTRO / ABOUT, split with asymmetric image
   ═══════════════════════════════════════════ */

/* .about-grid moved to css/pages.css (shared across home + service-areas pages) */
.about-text { max-width: 56ch; }
.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about-text p strong { color: var(--text); font-weight: 600; }

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(232, 33, 41, 0.4);
  transition: gap 0.3s var(--ease), border-color 0.3s ease;
}
.about-link:hover {
  gap: 0.85rem;
  border-color: var(--accent);
}

.about-image {
  position: relative;
  aspect-ratio: 4/5;
}
.about-image img,
.about-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
  transition: transform 0.8s var(--ease), filter 0.8s ease;
  position: relative;
  z-index: 1;
  display: block;
}
.about-image:hover img,
.about-image:hover video {
  transform: scale(1.03);
  filter: grayscale(0);
}
.about-image::before {
  content: '';
  position: absolute;
  top: -22px;
  left: -22px;
  bottom: 22px;
  right: 22px;
  border: 2px solid var(--accent);
  z-index: 0;
  pointer-events: none;
}
.about-image::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--accent) 0,
    var(--accent) 6px,
    transparent 6px,
    transparent 14px
  );
  z-index: 2;
  pointer-events: none;
}
.about-stats {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--bg-border);
  padding-top: 1.75rem;
}
.about-stat {
  padding-right: 1rem;
  border-right: 1px solid var(--bg-border);
}
.about-stat:last-child { border-right: none; }
.about-stat-num {
  font-family: 'Archivo Black', 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.about-stat-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
}


/* ═══════════════════════════════════════════
   CONTACT STRIP (info cards between sections)
   ═══════════════════════════════════════════ */

.contact-strip {
  background: #08080A;
  border-top: 1px solid rgba(232, 33, 41, 0.12);
  border-bottom: 1px solid rgba(232, 33, 41, 0.12);
  padding: 1.5rem 0;
}
.contact-strip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .contact-strip-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-strip-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  position: relative;
  transition: background 0.3s ease;
  border-bottom: 1px solid var(--bg-border);
}
.contact-strip-card:last-child { border-bottom: none; }
@media (min-width: 768px) {
  .contact-strip-card { border-bottom: none; border-right: 1px solid var(--bg-border); }
  .contact-strip-card:last-child { border-right: none; }
}
.contact-strip-card:hover {
  background: rgba(232, 33, 41, 0.025);
}
.contact-strip-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-glow);
  border: 1px solid rgba(232, 33, 41, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-strip-label {
  color: var(--text-faint);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.contact-strip-value {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}


/* ═══════════════════════════════════════════
   SERVICES SECTION HEADER, large displayed
   ═══════════════════════════════════════════ */

.section-header-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  align-items: end;
}
@media (min-width: 900px) {
  .section-header-split { grid-template-columns: 1.5fr 1fr; gap: 3rem; }
}


/* ═══════════════════════════════════════════
   HOW IT WORKS, numbered timeline
   ═══════════════════════════════════════════ */

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .how-grid { grid-template-columns: 1fr 1.2fr; }
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.how-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--bg-border);
  transition: background 0.3s ease;
}
.how-step:first-child { border-top: 1px solid var(--bg-border); }
.how-step:hover .how-step-num {
  color: var(--accent);
  background: rgba(232, 33, 41, 0.08);
  border-color: rgba(232, 33, 41, 0.4);
}
.how-step-num {
  width: 64px;
  height: 64px;
  border: 1.5px solid rgba(232, 33, 41, 0.22);
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo Black', 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}
.how-step-title {
  font-family: 'Archivo Black', 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.05;
}
.how-step-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 54ch;
}


/* ═══════════════════════════════════════════
   GALLERY PREVIEW (home), asymmetric
   ═══════════════════════════════════════════ */

.gallery-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .gallery-preview {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (min-width: 1024px) {
  .gallery-preview {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 180px;
    gap: 1rem;
  }
  .gallery-preview .gallery-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
  .gallery-preview .gallery-item:nth-child(2) { grid-column: span 3; grid-row: span 1; }
  .gallery-preview .gallery-item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
  .gallery-preview .gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
  .gallery-preview .gallery-item:nth-child(5) { grid-column: span 3; grid-row: span 1; }
  .gallery-preview .gallery-item:nth-child(6) { grid-column: span 3; grid-row: span 1; }
}
.gallery-preview .gallery-item { aspect-ratio: auto; }


/* ═══════════════════════════════════════════
   SERVICE AREAS PREVIEW (home)
   ═══════════════════════════════════════════ */

.areas-preview-footer {
  margin-top: 2.25rem;
  display: flex;
  justify-content: flex-start;
}


/* ═══════════════════════════════════════════
   MAP / COVERAGE CARD
   ═══════════════════════════════════════════ */

/* .coverage-card moved to css/pages.css (shared with service-areas pages) */
