/* ═══════════════════════════════════════════
   Original Asphalt — Home Page
   Editorial / Asymmetric / Warm Architecture
   ═══════════════════════════════════════════ */

/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 100;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 12px rgba(255, 84, 84, 0.4);
}

/* ── Home Hero ── */
.hero--home {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  background: #1a1210;
  overflow: hidden;
}
/* No scroll-over effect on homepage */
.hero--home + * {
  border-radius: 0;
  box-shadow: none;
}
/* Swoosh decoration on home hero */
.hero--home::after {
  content: '';
  position: absolute;
  left: -60px;
  bottom: 10%;
  width: 400px;
  height: 520px;
  background: url('../images/swoosh.svg') no-repeat center/contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  transform: rotate(10deg);
}
@media (max-width: 768px) {
  .hero--home::after { width: 220px; height: 290px; left: -30px; bottom: 5%; }
}
/* Video + bg image container */
.hero--home .hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  animation: hero-media-reveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}
@keyframes hero-media-reveal {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
/* Background texture behind video */
.hero--home .hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}
.hero--home .hero-media img,
.hero--home .hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.2;
  z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 90%);
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 90%);
  animation: hero-img-zoom 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes hero-img-zoom {
  0% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
/* Warm radial overlay — brown center fading out */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 45%,
    rgba(42, 28, 18, 0.55) 0%,
    rgba(30, 18, 10, 0.7) 30%,
    rgba(22, 14, 8, 0.85) 55%,
    rgba(26, 18, 16, 0.95) 80%,
    #1a1210 100%
  );
}
.hero-dark-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to top, #1a1210, transparent 45%, rgba(26, 18, 16, 0.15));
}

/* Hero shell — centered */
.hero-shell {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
  width: 100%;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-shell { padding: 10rem 2.5rem 7rem; }
}

/* Hero content — centered */
.hero-content {
  max-width: 960px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 9vw, 6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 2rem;
  text-wrap: balance;
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
}
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
}
.hero-word-1 { animation: hero-word-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards; }
.hero-word-2 { animation: hero-word-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards; }
.hero-word-3 { animation: hero-word-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards; }
.hero-word-4 { animation: hero-word-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards; }

/* Flashy accent words — gradient fill, glow, and animated underline shimmer */
.hero-word-flash {
  position: relative;
  background: linear-gradient(120deg, #FF7575 0%, #FF5454 30%, #FF3A3A 55%, #FF8585 80%, #FF5454 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent); /* fallback for browsers without bg-clip */
  filter: drop-shadow(0 0 18px rgba(255, 84, 84, 0.45)) drop-shadow(0 2px 8px rgba(255, 84, 84, 0.25));
  animation: hero-word-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards,
             hero-flash-shimmer 6s ease-in-out infinite;
}
.hero-word-2.hero-word-flash { animation-delay: 0.45s, 1.6s; }
.hero-word-4.hero-word-flash { animation-delay: 0.95s, 2.1s; }

@keyframes hero-flash-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-lead {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.005em;
  max-width: 50ch;
  margin: 0 auto 1.75rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(16px);
  animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

@keyframes hero-fade-up {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-word-enter {
  0% { opacity: 0; transform: translateY(20px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Trust pills — centered */
.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 84, 84, 0.05);
  border: 1px solid rgba(255, 84, 84, 0.12);
  padding: 0.7rem 1.4rem;
  border-radius: 100px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.hero-trust-pill:hover {
  background: rgba(255, 84, 84, 0.1);
  border-color: rgba(255, 84, 84, 0.3);
}

/* Hero actions — centered */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
}

/* Stats grid — glass cards */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 640px;
  margin: 3rem auto 0;
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; gap: 0.75rem; }
}
.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.35);
}
.stat-icon {
  color: var(--accent);
  margin-bottom: 0.75rem;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 84, 84, 0.08);
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-suffix {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--accent-dark);
}
.stat-label {
  color: var(--text-faint);
  font-size: 1rem;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-faint);
  opacity: 0;
  animation: scroll-indicator-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.8s forwards, bounce-down 2.5s ease-in-out 2.4s infinite;
}
@keyframes scroll-indicator-in {
  to { opacity: 0.6; }
}
@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Trust Marquee ── */
.trust-marquee {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 16, 14, 0.6);
  padding: 1.5rem 0;
  overflow: hidden;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.marquee-item-icon { color: var(--accent); flex-shrink: 0; }
.marquee-label {
  color: var(--text-mid);
  font-size: 1rem;
  font-weight: 600;
}
.marquee-sublabel {
  color: var(--text-faint);
  font-size: 1.1rem;
}

/* ── About Section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
.about-text { max-width: 55ch; }
.about-text p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.about-link {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-link:hover { gap: 0.75rem; }

.about-image {
  position: relative;
  border-radius: 50% 30% 40% 20%;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50% 30% 40% 20%;
  position: relative;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-image:hover img {
  transform: scale(1.05);
}
.about-image::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50% 30% 40% 20%;
  background: linear-gradient(135deg, rgba(255, 84, 84, 0.2), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.about-image::after {
  content: none;
}
.about-image-frame { display: none; }

/* ── How We Work ── */
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .how-grid { grid-template-columns: 1fr 1fr; }
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
/* Timeline connector */
.how-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: 56px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(255, 84, 84, 0.3), rgba(255, 84, 84, 0.05));
  z-index: 0;
}
.how-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
}
.how-step-num {
  width: 56px;
  height: 56px;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5rem);
  flex-shrink: 0;
  opacity: 0.12;
  line-height: 1;
  transition: opacity 0.3s ease;
}
.how-step:hover .how-step-num {
  opacity: 0.25;
}
.how-step-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.how-step-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Gallery Preview — Bento Grid ── */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .gallery-preview-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 1.75rem;
  }
  .gallery-preview-grid > .gallery-item:first-child,
  .gallery-preview-grid > a:first-child,
  .gallery-preview-grid > .gallery-preview-item:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
}
/* Reset .gallery-item aspect-ratio inside the home preview grid so items
   actually fill their grid cell instead of overflowing into the next row */
.gallery-preview-grid .gallery-item {
  aspect-ratio: auto;
  height: 100%;
  width: 100%;
}
.gallery-preview-grid a,
.gallery-preview-grid .gallery-item,
.gallery-preview-grid .gallery-preview-item {
  border-radius: 16px;
  overflow: hidden;
  display: block;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.gallery-preview-grid a:hover,
.gallery-preview-grid .gallery-item:hover,
.gallery-preview-grid .gallery-preview-item:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 2;
}
.gallery-preview-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-preview-grid a:hover img,
.gallery-preview-grid .gallery-item:hover img,
.gallery-preview-grid .gallery-preview-item:hover img {
  transform: scale(1.06);
}

/* ── Testimonials Slider ── */
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.testimonials-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 0 0.25rem;
}
@media (min-width: 768px) {
  .testimonials-slide { grid-template-columns: repeat(2, 1fr); }
}
.testimonials-slide .testimonial-card {
  padding: 2.5rem 2.5rem 2.5rem 3rem;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
/* Large decorative quotation mark */
.testimonials-slide .testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  font-family: 'Poppins', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 84, 84, 0.1);
  pointer-events: none;
}
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}
.testimonials-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.testimonials-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 84, 84, 0.06);
}
.testimonials-dots { display: flex; gap: 0.6rem; }
.testimonials-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.testimonials-dot:hover {
  background: rgba(255, 84, 84, 0.3);
  transform: scale(1.15);
}
.testimonials-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

/* ── Final CTA — Warm Background ── */
.final-cta {
  text-align: center;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
  padding: 8rem 1.5rem;
}
@media (max-width: 767px) {
  .final-cta { padding: 4rem 1.5rem; }
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(255, 84, 84, 0.08) 0%, rgba(255, 84, 84, 0.03) 35%, transparent 65%);
  pointer-events: none;
  border-radius: 50%;
}
.final-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(255, 84, 84, 0.05) 0%, transparent 55%);
  pointer-events: none;
}
.final-cta .section-title {
  margin-bottom: 1rem;
  color: #0c0a09;
}
.final-cta .section-intro {
  margin: 0 auto 2.5rem;
  text-align: center;
  color: #0c0a09;
  font-weight: 500;
}
/* .final-cta-actions moved to styles.css so it works on all pages */
/* Ghost button on warm CTA — dark text + dark border so it reads on cream bg */
.final-cta .btn-ghost {
  border-color: #0c0a09;
  color: #0c0a09;
}
.final-cta .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Dark variant of the final CTA — used on the gallery page (and anywhere we
   want a high-contrast pitch block instead of the warm cream version). */
.final-cta--dark {
  background: #0c0a09 !important;
}
.final-cta--dark::before,
.final-cta--dark::after {
  background: radial-gradient(circle, rgba(255, 84, 84, 0.18) 0%, rgba(255, 84, 84, 0.06) 35%, transparent 65%) !important;
}
.final-cta--dark .section-title {
  color: #ffffff !important;
  margin-bottom: 1.5rem;
}
.final-cta--dark .section-intro {
  color: #F5F0EB !important;
  font-weight: 400;
  margin-bottom: 0;
}
.final-cta--dark .btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}
.final-cta--dark .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Dark trust cards section — overrides .section-warm cream styling
   so the cards stand out as dark contrast blocks on the cream bg. */
.trust-section-dark .trust-card {
  background: #1A1614 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #F5F0EB;
}
.trust-section-dark .trust-card:hover {
  background: #211D1A !important;
  border-color: rgba(255, 84, 84, 0.35) !important;
}
.trust-section-dark .trust-card-title {
  color: #ffffff !important;
}
.trust-section-dark .trust-card-desc {
  color: #E8E0D8 !important;
  font-weight: 400;
}
.trust-section-dark .trust-card-icon {
  background: rgba(255, 84, 84, 0.15) !important;
  border-color: rgba(255, 84, 84, 0.35) !important;
  color: #FF5454;
}
/* Decorative numeral becomes faint white instead of dark on dark */
.trust-section-dark .trust-card::before {
  color: rgba(255, 255, 255, 0.06) !important;
}
