/* ═══════════════════════════════════════════
   Arkansas Paving Solutions — Home Page
   Industrial roadway aesthetic
   ═══════════════════════════════════════════ */


/* ═══════════════════════════════════════════
   HOME HERO — Split / Asymmetric
   ═══════════════════════════════════════════ */

.home-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #0A0A0C;
  padding-top: 5rem;
  isolation: isolate;
}

/* Background image layer — paving work with heavy treatment */
.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  animation: heroBgIn 1.6s var(--ease) 0.2s forwards;
}
@keyframes heroBgIn {
  to { opacity: 1; }
}
.home-hero-bg img,
.home-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(0.3) contrast(1.1) brightness(0.6);
  animation: heroZoom 12s var(--ease) infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Dark overlay with vignette */
.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.8) 0%, rgba(10,10,12,0.55) 40%, rgba(10,10,12,0.95) 100%),
    radial-gradient(ellipse at 30% 60%, transparent 0%, rgba(10,10,12,0.7) 80%);
  pointer-events: none;
}

/* Grainy overlay on hero specifically */
.home-hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: overlay;
}

/* Diagonal yellow stripe decoration */
.home-hero-stripe {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 420px;
  height: 1200px;
  background-image: repeating-linear-gradient(
    0deg,
    var(--accent) 0,
    var(--accent) 60px,
    transparent 60px,
    transparent 100px
  );
  transform: rotate(22deg);
  opacity: 0.14;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: stripeSlide 14s ease-in-out infinite alternate;
}
@keyframes stripeSlide {
  from { transform: rotate(22deg) translateY(0); }
  to { transform: rotate(22deg) translateY(-40px); }
}
@media (max-width: 768px) {
  .home-hero-stripe { width: 260px; height: 900px; opacity: 0.1; }
}

.home-hero-shell {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
}
@media (min-width: 768px) {
  .home-hero-shell { padding: 4rem 2rem 4rem; gap: 3rem; }
}
@media (min-width: 1100px) {
  .home-hero-shell {
    grid-template-columns: 1.5fr 1fr;
    padding: 4rem 3rem 5rem;
    align-items: end;
  }
}

.home-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 7.2vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.75rem;
  max-width: 14ch;
}
.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: -2%;
  height: 8px;
  background: var(--accent);
  border-radius: 0;
  transform-origin: left center;
  transform: scaleX(0);
  animation: heroLineIn 1s var(--ease) 1.4s forwards;
  opacity: 0.25;
}
@keyframes heroLineIn {
  to { transform: scaleX(1); }
}

.home-hero-lead {
  color: var(--text-mid);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.65;
  max-width: 50ch;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 1s forwards;
}
@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-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 1.2s forwards;
}

/* Meta strip (badges) */
.home-hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 0;
  padding: 1.25rem 0 0.25rem;
  border-top: 1px solid rgba(247, 194, 29, 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;
}
.home-hero-meta-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--accent);
  line-height: 1;
}
.home-hero-meta-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--text-muted);
}

/* Right-side info panel in hero */
.home-hero-panel {
  position: relative;
  background: rgba(18, 18, 22, 0.7);
  border: 1px solid rgba(247, 194, 29, 0.2);
  padding: 1.75rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 1.5s forwards;
}
.home-hero-panel::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: var(--accent);
}
.home-hero-panel h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}
.home-hero-panel p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.home-hero-panel-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #0C0C0E;
  border: 1px solid rgba(247, 194, 29, 0.25);
  color: var(--accent);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.home-hero-panel-phone:hover {
  background: var(--accent);
  color: #0C0C0E;
  border-color: var(--accent);
}

/* Scroll indicator */
.home-hero-scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-faint);
  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 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.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(247, 194, 29, 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 {
  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;
}
.about-image:hover img { 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: '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(247, 194, 29, 0.12);
  border-bottom: 1px solid rgba(247, 194, 29, 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(247, 194, 29, 0.025);
}
.contact-strip-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-glow);
  border: 1px solid rgba(247, 194, 29, 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(247, 194, 29, 0.08);
  border-color: rgba(247, 194, 29, 0.4);
}
.how-step-num {
  width: 64px;
  height: 64px;
  border: 1.5px solid rgba(247, 194, 29, 0.22);
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: '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: '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 {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  padding: 1.75rem;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}
.coverage-card-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(247, 194, 29, 0.25);
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}
.coverage-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  line-height: 1.05;
}
.coverage-card-desc {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}
