/* ============================================================
   Grime Reaper — Trash Bin Cleaning | Poway, CA
   White + Blue theme inspired by treyswashandshine
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: #0f172a;
  line-height: 1.6;
}

/* ---- Design Tokens ---- */
:root {
  --blue:        #0284c7;
  --blue-dark:   #0369a1;
  --blue-bright: #0ea5e9;
  --blue-light:  #e0f2fe;
  --blue-xlight: #f0f9ff;
  --text:        #0f172a;
  --text-mid:    #334155;
  --text-muted:  #64748b;
  --border:      #e2e8f0;
  --shadow-blue: rgba(2, 132, 199, 0.18);
  --radius:      16px;
  --ease:        0.25s ease;
}

/* ============================================================
   NAV
   ============================================================ */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
}

.nav-logo {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--ease);
}

.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  padding: 0.55rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 4px 14px var(--shadow-blue);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.38);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(155deg, #0369a1 0%, #0ea5e9 45%, #7dd3fc 72%, #f0f9ff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 0;
  position: relative;
  overflow: hidden;
}

/* Soft radial highlight */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 25%, rgba(255,255,255,0.18), transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-bottom: 4rem;
}

.hero-logo {
  height: 180px;
  width: auto;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.22));
}

.hero-tagline {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.hero-location {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  margin-bottom: 2.25rem;
}

.btn-primary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue-dark);
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

/* Wave divider at bottom of hero */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3rem;
  position: relative;
}

/* Decorative lines flanking the title */
.section-title::before,
.section-title::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue));
  vertical-align: middle;
  margin: 0 1rem;
  border-radius: 2px;
}

.section-title::after {
  background: linear-gradient(90deg, var(--blue), transparent);
}

.section-title.left-title {
  text-align: left;
}

.section-title.left-title::before { display: none; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-row {
  padding: 90px 0;
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--blue-xlight);
  border: 1px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--ease), box-shadow var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px var(--shadow-blue);
}

.service-icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.service-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  position: relative;
}

/* Animated underline on hover */
.service-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.service-card:hover h3::after { width: 60%; }

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 90px 0;
  background: var(--blue-xlight);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--ease), box-shadow var(--ease);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px var(--shadow-blue);
}

.step-number {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px var(--shadow-blue);
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   MID ROW — PRICING + CONTACT
   ============================================================ */
.mid-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 2rem;
  align-items: start;
}

/* ---- Pricing ---- */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: transform var(--ease), box-shadow var(--ease);
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px var(--shadow-blue);
}

.price-card.featured {
  border-color: var(--blue);
  border-width: 2px;
  background: var(--blue-xlight);
}

.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.price-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
  text-align: left;
}

.price-card ul li {
  font-size: 0.82rem;
  color: var(--text-mid);
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
}

.price-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.btn-card {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff !important;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px var(--shadow-blue);
}

.btn-card:hover {
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.42);
  transform: translateY(-2px);
}

/* ---- Contact Card ---- */
.contact-card {
  background: linear-gradient(155deg, #0369a1, #0ea5e9);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  color: #fff;
  position: sticky;
  top: 88px;
  box-shadow: 0 14px 44px rgba(2, 132, 199, 0.3);
}

.contact-card h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.contact-card p {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.btn-contact-primary {
  display: block;
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue-dark);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  margin-bottom: 0.8rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform var(--ease), box-shadow var(--ease);
}

.btn-contact-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-contact-outline {
  display: block;
  text-align: center;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--ease), border-color var(--ease);
}

.btn-contact-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section {
  padding: 90px 0;
  background: var(--blue-xlight);
  overflow: hidden;
}

.reviews-section .section-inner { margin-bottom: 3rem; }

.reviews-track-wrap {
  overflow: hidden;
  padding: 0.5rem 0;
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollReviews 28s linear infinite;
}

.reviews-track:hover { animation-play-state: paused; }

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  width: 320px;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 0.75rem;
}

.review-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}

.reviewer {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

@keyframes scrollReviews {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 24px;
  border-top: 3px solid var(--blue);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-area h4,
.footer-contact h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.footer-area p {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-contact a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  transition: color var(--ease);
}

.footer-contact a:hover { color: var(--blue-bright); }

.footer-copy {
  text-align: center;
  font-size: 0.78rem;
  color: #475569;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.5rem;
  margin: 0 2rem;
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-text-btn {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  padding: 0.9rem 2.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  z-index: 200;
  white-space: nowrap;
  animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(2, 132, 199, 0.5); }
  50%       { box-shadow: 0 4px 36px rgba(2, 132, 199, 0.85); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .mid-row {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .contact-card { position: static; }
  .pricing-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .hero-tagline { font-size: 2.2rem; }
  .hero-logo { height: 130px; }
  .section-title { font-size: 1.6rem; }
  .pricing-cards { grid-template-columns: 1fr; }
  .sticky-text-btn { display: block; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-title::before,
  .section-title::after { display: none; }
  .hero-tagline { font-size: 1.9rem; }
}
