/* UrgentTrade — Stylesheet
   Design goals: conversion, psychological trust, industry-standard credibility
   Mobile-first. Emergency services: speed + reliability over decoration.
--------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   Design tokens
--------------------------------------------------------------------------- */

:root {
  --brand:        #d63c2f;
  --brand-dark:   #b32b1f;
  --brand-glow:   rgba(214, 60, 47, 0.35);
  --navy:         #0f172a;
  --navy-mid:     #1e293b;
  --text:         #111827;
  --text-muted:   #6b7280;
  --border:       #e5e7eb;
  --bg-alt:       #f9fafb;
  --green:        #16a34a;
  --green-bg:     #f0fdf4;
  --green-border: #86efac;
  --max-w:        1100px;
  --radius:       8px;
  --radius-lg:    12px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow:       0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
}

/* ---------------------------------------------------------------------------
   Reset & base
--------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.has-sticky-bar { padding-bottom: 72px; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }

/* ---------------------------------------------------------------------------
   Header
--------------------------------------------------------------------------- */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-bolt {
  color: var(--brand);
  font-style: normal;
  font-size: 1.1em;
  line-height: 1;
}

.site-nav { margin-left: auto; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.85rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.35rem;
  cursor: pointer;
  margin-left: auto;
  color: rgba(255,255,255,0.85);
  padding: 0.25rem;
  line-height: 1;
}

/* ---------------------------------------------------------------------------
   Site hero (full-width, outside site-main)
--------------------------------------------------------------------------- */

/* Money page hero — dark gradient, high urgency */
.site-hero--money {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  padding: 2.5rem 1.25rem 3rem;
}

.site-hero--money .hero-inner,
.site-hero--hub .hero-inner,
.site-hero--home .hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-hero--money h1 {
  color: #fff;
  font-size: clamp(1.85rem, 4.5vw, 2.9rem);
  font-weight: 800;
  margin: 0.85rem 0 1.5rem;
  max-width: 820px;
}

/* Hub page hero — lighter, branded */
.site-hero--hub {
  background: var(--bg-alt);
  border-bottom: 3px solid var(--brand);
  padding: 2rem 1.25rem 1.75rem;
}

.site-hero--hub h1 {
  color: var(--navy);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-top: 0.75rem;
}

/* Homepage hero */
.site-hero--home {
  background: linear-gradient(140deg, var(--navy) 0%, #1a2744 100%);
  color: #fff;
  padding: 3.5rem 1.25rem 3rem;
  text-align: center;
}

.site-hero--home h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2rem;
}

/* ---------------------------------------------------------------------------
   Breadcrumb
--------------------------------------------------------------------------- */

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand); text-decoration: none; }

.breadcrumb--light { color: rgba(255,255,255,0.5); }
.breadcrumb--light a { color: rgba(255,255,255,0.5); }
.breadcrumb--light a:hover { color: rgba(255,255,255,0.9); }
.breadcrumb--light span { color: rgba(255,255,255,0.85); }

/* ---------------------------------------------------------------------------
   CTA block
--------------------------------------------------------------------------- */

.cta-block {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--brand);
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1rem 2.25rem;
  border-radius: var(--radius);
  text-decoration: none !important;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 18px var(--brand-glow);
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
  white-space: nowrap;
}

.cta-btn:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 24px var(--brand-glow);
  transform: translateY(-1px);
  text-decoration: none !important;
}

.cta-phone {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.cta-block--pending .cta-pending {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  font-style: italic;
}

.bottom-cta .cta-phone { color: #fff; }

/* ---------------------------------------------------------------------------
   Trust strip
--------------------------------------------------------------------------- */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.25rem 0 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   Main content area
--------------------------------------------------------------------------- */

.site-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* ---------------------------------------------------------------------------
   Content sections
--------------------------------------------------------------------------- */

.page-intro,
.why-us,
.process-steps,
.faqs,
.bottom-cta,
.service-grid,
.location-grid,
.services-preview,
.homepage-services {
  margin-bottom: 3rem;
}

.page-intro {
  font-size: 1.03rem;
  color: #374151;
  line-height: 1.78;
}

.page-intro p + p { margin-top: 1em; }

.why-us h2,
.process-steps h2,
.faqs h2,
.service-grid h2,
.location-grid h2,
.services-preview h2,
.homepage-services h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

/* ---------------------------------------------------------------------------
   Why Us — feature cards
--------------------------------------------------------------------------- */

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.feature-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.feature-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.feature-item p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------------------------------------------------------------------------
   Process steps
--------------------------------------------------------------------------- */

.step-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 1rem;
}

.step-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  margin-bottom: 0.65rem;
}

.step-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.step-item p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------------------------------------------------------------------------
   FAQs
--------------------------------------------------------------------------- */

.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-list dt {
  background: var(--bg-alt);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.faq-list dd {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

.faq-list dd:last-child { border-bottom: none; }

/* ---------------------------------------------------------------------------
   Bottom CTA
--------------------------------------------------------------------------- */

.bottom-cta {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: #fff;
  text-align: center;
}

.bottom-cta h2 {
  color: #fff;
  font-size: 1.55rem;
  margin-bottom: 1.25rem;
}

.bottom-cta .cta-block { justify-content: center; }

/* ---------------------------------------------------------------------------
   Card list (services / cities)
--------------------------------------------------------------------------- */

.card-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 0.75rem;
}

.card a {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.91rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.card a:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}

.card-phone {
  display: block;
  font-size: 0.82rem;
  color: var(--brand);
  margin-top: 0.3rem;
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   Error page
--------------------------------------------------------------------------- */

.error-page {
  text-align: center;
  padding: 5rem 1rem;
}

.error-page h1 { font-size: 2rem; color: var(--navy); margin-bottom: 1rem; }
.error-page p { color: var(--text-muted); margin-bottom: 2rem; }

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */

.site-footer { background: var(--navy); }

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.footer-links { margin-top: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 0.85rem; }
.footer-links a:hover { color: rgba(255,255,255,0.85); }

.footer-copy {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

/* ---------------------------------------------------------------------------
   Sticky mobile CTA bar
--------------------------------------------------------------------------- */

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--brand);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}

.mobile-cta-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.05rem 1.5rem;
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none !important;
}

/* ---------------------------------------------------------------------------
   Mobile nav
--------------------------------------------------------------------------- */

@media (max-width: 640px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--navy-mid);
    border-bottom: 2px solid var(--brand);
    padding: 0.75rem 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }

  .site-nav.is-open { display: block; }
  .nav-links { flex-direction: column; gap: 0.25rem; }
  .nav-links a { padding: 0.6rem 0.75rem; }

  .site-hero--money { padding: 1.75rem 1.25rem 2.25rem; }

  .mobile-cta-bar { display: block; }
  .cta-btn { width: 100%; justify-content: center; }
  .bottom-cta .cta-btn { width: 100%; justify-content: center; }
  .bottom-cta { padding: 2rem 1.25rem; }
  .step-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .step-list { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}
