/* ============================================================
   HEEMANN PROPERTY SERVICES — Stylesheet
   ------------------------------------------------------------
   Design tokens live at the top. To restyle the whole site,
   change values here — nothing else needs to change.
   ============================================================ */

:root {
  /* ---- Color: matches the HPS logo + brand — black, white, Dodger Blue ---- */
  --ink:        #000000;   /* true black — matches logo background exactly */
  --navy:       #0B0B0B;   /* dark surface, one notch off pure black for layering */
  --spray:      #1E90FF;   /* Dodger Blue — the brand's own accent color */
  --spray-dark: #1577D1;
  --grime:      #8A8F94;   /* neutral grey — the "before/dirty" state */
  --grime-dark: #5C6165;
  --paper:      #FFFFFF;   /* clean surface background */
  --paper-dim:  #F1F2F4;
  --white:      #FFFFFF;
  --text:       #16181A;
  --text-dim:   #5B6167;
  --line:       rgba(0,0,0,0.12);

  /* ---- Type ---- */
  --f-display: 'Big Shoulders Display', sans-serif;
  --f-body:    'Work Sans', sans-serif;
  --f-mono:    'JetBrains Mono', monospace;

  /* ---- Layout ---- */
  --maxw: 1200px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; line-height: 1.55; color: var(--text-dim); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--spray-dark);
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid var(--spray);
  outline-offset: 2px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--spray); color: var(--white); }
.btn-primary:hover { background: var(--spray-dark); color: var(--white); }
.btn-outline { border-color: currentColor; color: var(--paper); }
.btn-outline:hover { background: var(--paper); color: var(--ink); }
.btn-dark { border-color: var(--ink); color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--paper); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 48px; width: auto; }
.brand-text { font-family: var(--f-display); font-size: 20px; letter-spacing: 0.02em; color: var(--white); }
.brand-text span { color: var(--spray); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(255,255,255,0.85); position: relative;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--spray); transition: width 0.2s ease;
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.phone-link { font-family: var(--f-mono); font-weight: 600; font-size: 14px; color: var(--white); }
.header-actions .btn-dark { border-color: var(--white); color: var(--white); }
.header-actions .btn-dark:hover { background: var(--white); color: var(--ink); }

.menu-toggle {
  display: none; background: none; border: none; padding: 8px;
  flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--white); display: block; }

/* ---------------- Hero: drag-to-clean signature ---------------- */
.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero-dirty {
  position: absolute; inset: 0;
  background-image: url('images/hero/loader-before.jpg');
  background-size: cover;
  background-position: center center;
  clip-path: inset(0 0 0 0);
}
.hero-clean {
  position: absolute; inset: 0;
  background-image: url('images/hero/loader-after.jpg');
  background-size: cover;
  background-position: center center;
}
.hero-reveal-wrap {
  position: absolute; inset: 0;
  clip-path: inset(0 50% 0 0); /* clean side revealed from the right, controlled by --reveal */
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.hero-slider-track {
  position: absolute; top: 0; bottom: 0; left: 0; right: 0;
  z-index: 5;
}
.hero-handle {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  left: 50%;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--spray); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  font-family: var(--f-mono); font-size: 18px;
  z-index: 6; pointer-events: none;
}
.hero-seam {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: var(--white);
  z-index: 6; pointer-events: none;
}

.hero-content {
  position: relative; z-index: 10;
  max-width: var(--maxw); margin: 0 auto; padding: 120px 24px 0;
  pointer-events: none;
}
.hero-content .eyebrow { pointer-events: auto; color: var(--spray); }
.hero-content h1 {
  font-size: clamp(56px, 10vw, 128px);
  color: var(--white);
  margin-top: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-sub {
  max-width: 480px; margin-top: 24px;
  pointer-events: auto;
}
.hero-sub p { color: var(--white); font-size: 17px; }
.hero-ctas { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; pointer-events: auto; }
.hero-drag-hint {
  margin-top: 18px; font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 8px; pointer-events: none;
}
.hero-checks {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 40px; pointer-events: auto;
}
.hero-checks span {
  font-family: var(--f-mono); font-size: 12.5px; color: rgba(255,255,255,0.9);
  display: flex; align-items: center; gap: 6px;
}
.hero-checks b { color: var(--spray); }

/* ---------------- Stat strip ---------------- */
.stat-strip {
  background: var(--ink); color: var(--paper);
  padding: 40px 0;
}
.stat-strip .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  text-align: center;
}
.stat-num { font-family: var(--f-display); font-size: clamp(34px, 5vw, 52px); color: var(--spray); }
.stat-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-dim); margin-top: 4px; }

/* ---------------- Section scaffolding ---------------- */
section { padding: 100px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 5vw, 54px); margin-top: 10px; }
.section-head p { margin-top: 16px; font-size: 16px; }
.on-dark { background: var(--navy); }
.on-dark h2, .on-dark h3, .on-dark h4 { color: var(--paper); }
.on-dark p { color: rgba(246,244,238,0.72); }
.on-dark .eyebrow { color: var(--spray); }

/* ---------------- Services grid ---------------- */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.service-card {
  background: var(--paper); padding: 32px 24px; position: relative;
  min-height: 260px; display: flex; flex-direction: column;
  transition: background 0.2s ease;
}
.service-card:hover { background: var(--white); }
.service-card .badge {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em;
  background: var(--spray); color: var(--white); padding: 3px 8px; border-radius: 2px;
  text-transform: uppercase;
}
.service-icon { width: 44px; height: 44px; color: var(--spray-dark); margin-bottom: 20px; }
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card p { font-size: 14px; flex: 1; }
.service-card .link { margin-top: 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--spray-dark); text-transform: uppercase; }
.services-note { text-align: center; margin-top: 40px; }
.services-note p { margin-bottom: 16px; }

/* ---------------- Junk removal split ---------------- */
.junk-section { background: var(--paper-dim); }
.junk-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.haul-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.haul-list li { font-size: 14.5px; color: var(--text); padding-left: 18px; position: relative; }
.haul-list li::before { content: '—'; position: absolute; left: 0; color: var(--spray-dark); }
.haul-note { margin-top: 20px; font-size: 13px; font-style: italic; }

.why-list { display: flex; flex-direction: column; gap: 24px; }
.why-item { display: flex; gap: 16px; }
.why-num { font-family: var(--f-mono); color: var(--spray-dark); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.why-item h4 { font-size: 17px; margin-bottom: 4px; }
.why-item p { font-size: 14px; }

/* ---------------- Steps (how it works) ---------------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 20px; }
.step .step-num { font-family: var(--f-display); font-size: 44px; color: var(--spray); }
.step h4 { margin-top: 8px; font-size: 16px; }
.step p { margin-top: 8px; font-size: 14px; }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.about-badge h4 { font-size: 15px; margin-bottom: 6px; }
.about-badge p { font-size: 13.5px; }
.about-visual {
  aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: var(--ink);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 12%;
}
.about-visual img { width: 100%; height: auto; object-fit: contain; }

/* ---------------- Gallery (before/after sliders) ---------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ba-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.ba-slider {
  position: relative; aspect-ratio: 16/10; overflow: hidden; cursor: ew-resize;
  background: var(--grime);
}
.ba-after { position: absolute; inset: 0; background: linear-gradient(135deg, var(--paper) 0%, #E4F0FF 100%); background-size: cover; background-position: center; }
.ba-before { position: absolute; inset: 0; background: linear-gradient(135deg, var(--grime) 0%, var(--grime-dark) 100%); background-size: cover; background-position: center; }
.ba-before-wrap { position: absolute; inset: 0; }
.ba-label { position: absolute; top: 12px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 2px; text-transform: uppercase; }
.ba-label.before { left: 12px; background: var(--ink); color: var(--paper); }
.ba-label.after { right: 12px; background: var(--spray); color: var(--white); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; width: 3px; background: var(--white);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}
.ba-handle::after {
  content: '⇔'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; background: var(--white); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.ba-meta { padding: 16px 20px; display: flex; justify-content: space-between; align-items: baseline; }
.ba-meta h4 { font-size: 15px; }
.ba-meta span { font-family: var(--f-mono); font-size: 11px; color: var(--text-dim); }
.gallery-cta { text-align: center; margin-top: 40px; }

/* ---------------- Testimonials ---------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.t-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; }
.t-stars { color: var(--spray-dark); font-family: var(--f-mono); font-size: 13px; margin-bottom: 14px; }
.t-quote { font-size: 14px; flex: 1; color: var(--text); }
.t-meta { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.t-meta .tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--spray-dark); }
.t-meta .name { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-top: 4px; }
.t-meta .loc { font-size: 12px; color: var(--text-dim); }
.rating-banner { text-align: center; margin-bottom: 40px; }
.rating-banner .big { font-family: var(--f-display); font-size: 48px; color: var(--spray-dark); }

/* ---------------- Booking ---------------- */
.booking-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.booking-steps { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.jobber-frame-wrap {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--white); min-height: 640px;
}
.jobber-frame-wrap iframe { width: 100%; height: 640px; border: none; display: block; }
.powered-by { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-top: 12px; text-align: center; }

/* ---------------- Service area ---------------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.area-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.area-list li { font-size: 15px; padding-left: 18px; position: relative; color: var(--text); }
.area-list li::before { content: '◆'; position: absolute; left: 0; color: var(--spray-dark); font-size: 8px; top: 6px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: none; }
.not-listed { margin-top: 24px; padding: 16px 20px; background: var(--paper-dim); border-radius: var(--radius); font-size: 14px; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.ci-item .eyebrow { display: block; margin-bottom: 4px; }
.ci-item a, .ci-item p { font-size: 16px; color: var(--paper); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-dim); margin-bottom: 8px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius);
  border: 1px solid rgba(246,244,238,0.25); background: rgba(246,244,238,0.06);
  color: var(--paper); font-family: var(--f-body); font-size: 14px;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form ::placeholder { color: rgba(246,244,238,0.4); }
.form-note { font-size: 12.5px; color: rgba(246,244,238,0.55); margin-top: 4px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { height: 32px; }
.footer-brand span { font-family: var(--f-display); font-size: 18px; color: var(--paper); }
.footer-desc { font-size: 13.5px; max-width: 320px; }
.footer-col h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--spray); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { font-size: 13.5px; color: rgba(246,244,238,0.75); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(246,244,238,0.15);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: rgba(246,244,238,0.55);
}

/* ---------------- Sticky mobile call bar ---------------- */
.mobile-call-bar { display: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .junk-grid, .about-grid, .booking-grid, .area-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .services-grid, .steps-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .haul-list, .area-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .hero-content { padding-top: 80px; }
  .mobile-call-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    background: var(--ink); padding: 12px 16px; gap: 10px;
  }
  .mobile-call-bar a { flex: 1; text-align: center; padding: 12px; border-radius: var(--radius); font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
  .mobile-call-bar .call { background: var(--spray); color: var(--white); }
  .mobile-call-bar .book { border: 1px solid var(--paper); color: var(--paper); }
  body { padding-bottom: 68px; }
}
