:root {
  --bg: #0a0c0f;
  --surface: #0f1318;
  --border: #1a2030;
  --text: #e8edf2;
  --text-muted: #8a9bb0;
  --navy: #0b3d5c;
  --navy-dark: #061825;
  --sky: #5caee6;
  --sky-hover: #7cc0f0;
  --on-sky: #12202c;
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;
  --paper: #f7f5ef;
  --paper-line: #c9d6e0;
  --paper-margin: #e2897e;
}

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

html, body { overflow-x: hidden; width: 100%; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 40% at 50% 15%, rgba(92, 174, 230, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 30% at 30% 50%, rgba(92, 174, 230, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 30% at 70% 70%, rgba(92, 174, 230, 0.04) 0%, transparent 70%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}

a { color: var(--sky); text-decoration: none; }

.btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--sky);
  color: var(--on-sky);
  border: none;
  box-shadow: 0 4px 20px rgba(92, 174, 230, 0.3), 0 0 40px rgba(92, 174, 230, 0.15);
}
.btn-primary:hover {
  background: var(--sky-hover);
  box-shadow: 0 6px 25px rgba(92, 174, 230, 0.4), 0 0 50px rgba(92, 174, 230, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--sky);
  border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--sky); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(92, 174, 230, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(92, 174, 230, 0.03);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand span { color: var(--sky); font-weight: 600; font-size: 0.9rem; display: block; }
.brand-logo { height: 70px; width: auto; display: block; }
.header-phone {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--sky);
  font-size: 1rem;
  white-space: nowrap;
}

/* Hero: a dark band so the logo's neon artwork sits on the deep background
   it was designed for, with no card/box around it. The page drops back to
   the light corporate palette right below. */
.hero {
  padding: 3.5rem 1.25rem 3rem;
  text-align: center;
  background: radial-gradient(ellipse 120% 80% at 50% 30%, rgba(92, 174, 230, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at top, #0c0e12, var(--bg) 80%);
}
.hero-inner { max-width: 900px; margin: 0 auto; }
.hero-logo {
  width: 100%;
  height: auto;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}
@media (max-width: 680px) {
  .hero-logo { max-width: 340px; }
}
.hero-sub {
  font-size: 1.2rem;
  color: #c3d4e3;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}
.review-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(180deg, #ffd54a, #f5c518);
  color: #1a1402;
  text-decoration: none;
  padding: 1.3rem 2.5rem;
  border-radius: 999px;
  margin: 0 auto 1.75rem;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 10px 32px rgba(245, 197, 24, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.review-cta:hover { box-shadow: 0 10px 40px rgba(245, 197, 24, 0.45); }
.review-cta:active { transform: scale(0.98); }
.review-stars { font-size: 1.4rem; letter-spacing: 0.15em; line-height: 1; }
.review-cta-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
@media (max-width: 680px) {
  .review-cta { padding: 1.1rem 1.75rem; }
  .review-cta-text { font-size: 1.15rem; }
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.hero-trust {
  color: #a8bed2;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Sections */
section {
  padding: 3.5rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  overflow: visible;
  position: relative;
}
section h2 {
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}

/* Gallery */
.gallery-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}
.gallery-track img {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(80vw, 320px);
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 560px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}
.why-item h3 {
  font-size: 1rem;
  color: var(--sky);
  margin-bottom: 0.4rem;
}
.why-item p { color: var(--text-muted); font-size: 0.92rem; }

/* Area */
.area { text-align: center; }
.area .section-sub { font-size: 1.05rem; color: var(--text); margin-bottom: 0; font-weight: 600; }

/* Quote form */
.quote { max-width: 640px; }
.quote-form {
  background: var(--surface);
  border: 1px solid rgba(92, 174, 230, 0.1);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: 0 8px 40px rgba(10, 80, 150, 0.2), 0 0 80px rgba(92, 174, 230, 0.08);
}
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}
.form-row input, .form-row textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--sky);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status { font-size: 0.9rem; min-height: 1.2em; }
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem 7rem;
  text-align: center;
  background: var(--surface);
}
.footer-inner { max-width: 700px; margin: 0 auto; }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--sky);
}
.site-footer p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.5rem; }
.footer-fine { font-size: 0.78rem; opacity: 0.8; }

/* Sticky mobile call bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--sky);
  color: var(--on-sky);
  text-align: center;
  padding: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.3);
}

@media (max-width: 680px) {
  .mobile-call-bar { display: block; }
  .site-footer { padding-bottom: 7rem; }
  section { padding: 2.5rem 1.25rem; }
  section h2 { font-size: 1.5rem; }
}

/* Focus states (never suppress keyboard navigation) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

/* Bigger tap target on the header phone link without changing its visual size */
.header-phone { padding: 0.5rem 0.25rem; margin: -0.5rem -0.25rem; }

/* Hover micro-interactions */
.gallery-track img {
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-track img:hover { transform: scale(1.03); }

/* Scroll reveals: everything is visible by default (no-JS / reduced-motion safe).
   Only when script.js confirms IntersectionObserver support does the page opt
   these elements into a hidden-then-reveal transition. */
.js-reveal-ready .why-item,
.js-reveal-ready .gallery-track img,
.js-reveal-ready .hero-logo,
.js-reveal-ready .hero-sub,
.js-reveal-ready .hero-ctas,
.js-reveal-ready .hero-trust {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal-ready .why-item.is-visible,
.js-reveal-ready .gallery-track img.is-visible,
.js-reveal-ready .hero-logo.is-visible,
.js-reveal-ready .hero-sub.is-visible,
.js-reveal-ready .hero-ctas.is-visible,
.js-reveal-ready .hero-trust.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal-ready .why-item,
  .js-reveal-ready .gallery-track img,
  .js-reveal-ready .hero-logo,
  .js-reveal-ready .hero-sub,
  .js-reveal-ready .hero-ctas,
  .js-reveal-ready .hero-trust {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gallery-track img:hover { transform: none; }
  * { scroll-behavior: auto !important; }
  .section-trigger svg { animation: none; }
}

/* "What We Haul" heading doubles as the notepad trigger */
.section-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
}
.section-trigger h2 { margin-bottom: 0; transition: color 0.2s ease; }
.section-trigger svg {
  width: 20px;
  height: 20px;
  padding: 10px;
  box-sizing: content-box;
  color: #fff;
  background: radial-gradient(circle, var(--sky) 60%, rgba(92, 174, 230, 0.4) 80%, transparent 100%);
  border-radius: 999px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.section-trigger:hover h2 { color: var(--sky); }
.section-trigger:hover svg { transform: translateX(3px) scale(1.08); }
.section-trigger:active { transform: scale(0.99); }
.section-trigger:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; }

@keyframes trigger-pulse {
  0% { box-shadow: 0 0 15px 5px rgba(92, 174, 230, 0.4); }
  50% { box-shadow: 0 0 25px 12px rgba(92, 174, 230, 0.2); }
  100% { box-shadow: 0 0 15px 5px rgba(92, 174, 230, 0.4); }
}

.section-trigger-hint {
  text-align: center;
  color: var(--sky);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.notepad-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 1.25rem 3rem;
  overflow-y: auto;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.notepad-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.notepad {
  position: relative;
  width: min(620px, 100%);
  background: var(--paper);
  color: #2a2a28;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.08);
  transform: translateY(-140%) rotate(-7deg);
  transition: transform 550ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.notepad-backdrop.open .notepad {
  transform: translateY(0) rotate(-1.5deg);
}

.notepad-header {
  background: #ffd43d;
  background-image: linear-gradient(180deg, #ffdd57, #ffd43d);
  padding: 1.4rem 2rem 1.2rem 3.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.notepad-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: rgba(0,0,0,0.5);
  cursor: pointer;
  padding: 0.1rem 0.4rem;
  flex-shrink: 0;
}
.notepad-close:hover { color: rgba(0,0,0,0.8); }

.notepad-header h2 {
  font-family: var(--font-hand);
  font-size: 2.6rem;
  text-transform: none;
  letter-spacing: 0;
  color: #2a2008;
  transform: rotate(-1deg);
  line-height: 1;
}

.notepad-body {
  position: relative;
  padding: 1.75rem 2rem 2rem 3.25rem;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 38px,
    var(--paper-line) 39px,
    transparent 40px
  );
  background-position: 0 0.4rem;
}
.notepad-body::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2.1rem;
  width: 2px;
  background: var(--paper-margin);
  opacity: 0.6;
}

.notepad-group { margin-bottom: 1.4rem; }
.notepad-group h3 {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  text-transform: none;
  letter-spacing: 0;
  color: #0b3d5c;
  margin-bottom: 0.4rem;
}
.notepad-group ul {
  list-style: none;
}
.notepad-group li {
  font-size: 0.98rem;
  padding: 0.1rem 0 0.1rem 1.4rem;
  position: relative;
  color: #2a2a28;
}
.notepad-group li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2f8f5c;
  font-weight: 700;
}

.notepad-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed #b9c3cc;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: #0b3d5c;
}

@media (prefers-reduced-motion: reduce) {
  .notepad { transition: opacity 300ms ease; transform: rotate(-1.5deg); opacity: 0; }
  .notepad-backdrop.open .notepad { opacity: 1; transform: rotate(-1.5deg); }
}

@media (max-width: 640px) {
  .notepad-header { padding: 1.4rem 1.5rem 1.2rem 1.75rem; }
  .notepad-body { padding: 1.5rem 1.5rem 1.75rem 1.75rem; }
  .notepad-body::before { left: 0.9rem; }
  .notepad-header h2 { font-size: 2.1rem; }
}
