/* ===== Stack Haus Movers — Global Styles ===== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1a2744;
  --navy-dark:  #111b30;
  --navy-light: #243352;
  --red:        #c0392b;
  --red-dark:   #a5311f;
  --red-light:  #e74c3c;
  --gold:       #d4a843;
  --cream:      #faf8f5;
  --white:      #ffffff;
  --gray-100:   #f5f5f5;
  --gray-200:   #e8e8e8;
  --gray-400:   #999;
  --gray-600:   #666;
  --gray-800:   #333;
  --font-main:  'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-head:  'Poppins', 'Segoe UI', system-ui, sans-serif;
  --max-width:  1200px;
  --radius:     8px;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 30px rgba(0,0,0,.12);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p  { margin-bottom: 1rem; }

.section-label {
  text-transform: uppercase;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: .5rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle {
  color: var(--gray-600);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary   { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { background: var(--white); color: var(--navy); }
.btn-secondary:hover { background: var(--gray-100); }
.btn-outline   { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  transition: box-shadow var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 0;
}
.logo { display: flex; align-items: center; gap: .75rem; }
.logo img { height: 80px; width: auto; }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--navy); line-height: 1.15; }
.logo-text span { display: block; font-size: .7rem; font-weight: 600; color: var(--gray-600); letter-spacing: 1.5px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--gray-800);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--red); }

.header-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.header-phone svg { width: 18px; height: 18px; fill: var(--red); }

.header-cta { display: flex; align-items: center; gap: 1.5rem; }

/* Mobile-only nav items (hidden on desktop) */
.mobile-nav-only { display: none !important; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span {
  display: block; width: 26px; height: 3px;
  background: var(--navy); border-radius: 2px;
  transition: var(--transition);
  margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('images/shirley-fisher-q6vYYDUjRkk-unsplash.jpg') center/cover;
  opacity: .15;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}
.hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.hero-content h1 strong { color: var(--gold); }
.hero-content p { color: rgba(255,255,255,.8); font-size: 1.15rem; margin-bottom: 2rem; max-width: 520px; }
.hero-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
}
.hero-badge svg { width: 20px; height: 20px; fill: var(--gold); flex-shrink: 0; }

/* ---------- Quote Card (Hero) ---------- */
.quote-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.quote-card h3 { text-align: center; margin-bottom: .25rem; font-size: 1.3rem; }
.quote-card .subtitle { text-align: center; color: var(--gray-600); font-size: .9rem; margin-bottom: 1.5rem; }

/* ---------- Quote Form ---------- */
.quote-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: .95rem;
  color: var(--gray-800);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Step indicator */
.step-indicators {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.step-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  transition: background var(--transition);
}
.step-dot.active { background: var(--red); }
.step-dot.completed { background: var(--navy); }

.form-step { display: none; }
.form-step.active { display: flex; flex-direction: column; gap: 1rem; }

.form-nav { display: flex; gap: .75rem; margin-top: .5rem; }
.form-nav .btn { flex: 1; }
.btn-back { background: var(--gray-200); color: var(--gray-800); }
.btn-back:hover { background: var(--gray-400); color: var(--white); }

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success.show { display: block; }
.form-success svg { width: 60px; height: 60px; fill: #27ae60; margin: 0 auto 1rem; }
.form-success h3 { color: #27ae60; margin-bottom: .5rem; }

/* ---------- Sections ---------- */
section { padding: 5rem 0; }
.bg-cream { background: var(--cream); }
.bg-navy  { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,.8); }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 2rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: .85rem;
  color: var(--gray-600);
  margin-top: .25rem;
  font-weight: 500;
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gray-200);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 28px; height: 28px; fill: var(--red); }
.service-card h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.service-card p { color: var(--gray-600); font-size: .95rem; margin-bottom: 1rem; }
.service-link {
  font-weight: 600;
  color: var(--red);
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--transition);
}
.service-link:hover { gap: .6rem; }

/* ---------- Mascot Logo ---------- */
.mascot-section { padding: 3rem 0; background: var(--white); }
.mascot-logo {
  max-width: 340px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.1));
}
@media (max-width: 768px) {
  .mascot-logo { max-width: 260px; }
  .mascot-section { padding: 2rem 0; }
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.why-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-image img { width: 100%; height: 400px; object-fit: cover; }
.why-points { display: flex; flex-direction: column; gap: 1.5rem; }
.why-point { display: flex; gap: 1rem; }
.why-point-icon {
  width: 48px; height: 48px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-point-icon svg { width: 24px; height: 24px; fill: var(--red); }
.why-point h4 { font-size: 1.05rem; margin-bottom: .25rem; }
.why-point p { color: var(--gray-600); font-size: .9rem; margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: .75rem; }
.testimonial-text { font-style: italic; color: var(--gray-600); font-size: .95rem; margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial-author { font-weight: 700; font-size: .9rem; color: var(--navy); }
.testimonial-location { font-size: .8rem; color: var(--gray-400); }

/* ---------- Founder / About ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: center;
}
.founder-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.founder-photo img { width: 100%; height: 420px; object-fit: cover; object-position: top; }
.founder-content .section-label { text-align: left; }
.founder-content h2 { margin-bottom: 1rem; }
.founder-content p { color: var(--gray-600); }
.founder-name { font-weight: 700; color: var(--navy); font-size: 1.1rem; margin-top: 1.5rem; }
.founder-title { color: var(--gray-400); font-size: .9rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Locations Grid ---------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.location-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.location-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.location-pin {
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.location-pin svg { width: 22px; height: 22px; fill: var(--red); }
.location-card h4 { font-size: 1rem; margin-bottom: .15rem; }
.location-card p { font-size: .85rem; color: var(--gray-600); margin-bottom: 0; }

/* Location regions */
.location-region { margin-bottom: 3rem; }
.location-region h3 { margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--gray-200); }

/* ---------- Services Detail (services.html) ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-detail-image img { width: 100%; height: 320px; object-fit: cover; }
.service-detail-content h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.service-detail-content p { color: var(--gray-600); margin-bottom: 1rem; }
.service-detail-content ul { margin-bottom: 1.5rem; }
.service-detail-content li {
  padding: .4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-600);
  font-size: .95rem;
}
.service-detail-content li::before {
  content: '';
  position: absolute;
  left: 0; top: .75rem;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 9rem 0 3.5rem;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: .5rem; }
.page-header p { color: rgba(255,255,255,.75); font-size: 1.1rem; }

/* ---------- Inline Quote Form (full-page) ---------- */
.quote-section { padding: 5rem 0; }
.quote-section .quote-card { max-width: 560px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: .9rem; margin-top: 1rem; color: rgba(255,255,255,.6); }
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  padding: .3rem 0;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .75rem;
  font-size: .9rem;
}
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--red); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}
.footer-legal { display: flex; gap: 1.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .quote-card { max-width: 480px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo img { height: 300px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    gap: 1rem;
    z-index: 999;
  }
  .nav-links.open .mobile-nav-only { display: flex !important; }
  .header-phone { display: none; }
  .header-cta .btn { display: none; }
  .hero { padding: 7rem 0 3rem; }
  .hero-content h1 { font-size: 1.75rem; }
  .hero-badges { gap: 1rem; }
  .hero-badge { font-size: .82rem; }
  .quote-card { padding: 1.5rem; }
  .quote-card h3 { font-size: 1.15rem; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image img { height: 260px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 1.5rem; gap: 1.5rem; }
  .stat-number { font-size: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { text-align: center; justify-content: center; }
  .locations-grid { grid-template-columns: 1fr; }
  .location-card { padding: 1.25rem; }
  .founder-photo img { height: 280px; }
  .service-detail-image img { height: 220px; }
  .page-header { padding: 7rem 0 2.5rem; }
  .page-header h1 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
  section { padding: 3.5rem 0; }
  .logo img { height: 52px; }
  .logo-text { font-size: 1.05rem; }
}

/* Mobile-first sticky call button */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--red);
  padding: .75rem 1rem;
  text-align: center;
}
.mobile-call-bar a {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.mobile-call-bar svg { width: 22px; height: 22px; fill: var(--white); }
@media (max-width: 768px) {
  .mobile-call-bar { display: block; }
  .site-footer { padding-bottom: 4rem; }
}
