/* ==========================================================================
   Reuben's Hauling LLC — site styles
   Palette: navy #1F4E5F / amber #E8A33D / sand #F3EEE2 / paper #FBF8F1
   Type: Bitter (serif, headlines) + Work Sans (body, UI)
   ========================================================================== */

:root {
  --navy: #1F4E5F;
  --navy-deep: #163A47;
  --amber: #E8A33D;
  --amber-deep: #C6851F;
  --sand: #F3EEE2;
  --paper: #FBF8F1;
  --ink: #232323;
  --slate: #5E6E71;
  --slate-light: #8FA0A3;
  --line: #DAD2C0;

  --font-display: "Bitter", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, "Segoe UI", Roboto, sans-serif;

  --max-width: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.4em;
}

p { max-width: 62ch; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85em 1.6em;
  border-radius: 3px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--amber-deep); }
.btn-primary:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-ghost:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

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

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy-deep);
  color: var(--paper);
  border-bottom: 3px solid var(--amber);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--paper);
  white-space: nowrap;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-phone {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--amber); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  min-height: 560px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px 64px 0;
  margin-left: 28px;
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0 -100vw 0 -28px;
  background: var(--navy-deep);
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, calc(100% - 70px) 100%, 0 100%);
}
.hero-eyebrow {
  color: var(--amber);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  max-width: 14ch;
}
.hero-sub {
  font-size: 1.1rem;
  color: #D9E2E4;
  max-width: 42ch;
  margin-bottom: 1.6em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-photo {
  position: relative;
  min-height: 320px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    margin-left: 0;
    padding: 48px 24px;
  }
  .hero-copy::before {
    clip-path: none;
    inset: 0;
  }
  .hero-photo { min-height: 260px; order: -1; }
}

/* ---------- Services strip ---------- */
.services {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.services .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 30px;
  padding-bottom: 30px;
}
.service-item {
  flex: 1 1 200px;
  padding: 6px 24px;
  border-left: 1px solid var(--line);
  text-align: left;
}
.service-item:first-child { border-left: none; padding-left: 0; }
.service-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2em;
}
.service-item p {
  font-size: 0.92rem;
  color: var(--slate);
  margin: 0;
}
.services-note {
  text-align: center;
  padding-bottom: 22px;
  font-size: 0.92rem;
  color: var(--slate);
}
.services-note strong { color: var(--navy); }

/* ---------- Section scaffolding ---------- */
section { padding: 84px 0; }
.section-head {
  max-width: 56ch;
  margin-bottom: 44px;
}
.section-head .kicker {
  color: var(--amber-deep);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.section-head p {
  color: var(--slate);
  font-size: 1.05rem;
}

/* ---------- Calculator ---------- */
.calculator {
  background: var(--paper);
}
.calc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 1px 0 var(--line);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.calc-form {
  padding: 40px;
  border-right: 1px dashed var(--line);
}
.field {
  margin-bottom: 22px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.field input[type="number"],
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7em 0.8em;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
}
.field input[type="number"]:focus,
.field select:focus {
  border-color: var(--navy);
  outline: none;
}
.toggle-group {
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.toggle-group input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-group label {
  flex: 1;
  text-align: center;
  padding: 0.7em 0.6em;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  color: var(--slate);
  border-right: 1.5px solid var(--line);
}
.toggle-group label:last-child { border-right: none; }
.toggle-group input:checked + label {
  background: var(--navy);
  color: #fff;
}
.toggle-group input:focus-visible + label {
  outline: 3px solid var(--amber);
  outline-offset: -3px;
}

.calc-result {
  background: var(--navy-deep);
  color: var(--paper);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result .label {
  color: #B9CBCF;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.calc-result .price {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  color: var(--amber);
  margin-bottom: 10px;
  min-height: 1.2em;
}
.calc-result .price .placeholder {
  color: #7C8F93;
  font-size: 0.55em;
  font-family: var(--font-body);
  font-weight: 500;
}
.calc-result .fine-print {
  font-size: 0.85rem;
  color: #AEC1C4;
  margin: 0;
}

@media (max-width: 760px) {
  .calc-card { grid-template-columns: 1fr; }
  .calc-form { border-right: none; border-bottom: 1px dashed var(--line); }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--sand); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.testi {
  padding: 4px 32px;
  border-left: 1px solid var(--line);
}
.testi:first-child { border-left: none; padding-left: 0; }
.testi blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  margin: 0 0 16px;
  color: var(--navy-deep);
}
.testi cite {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--slate);
  display: block;
}

@media (max-width: 820px) {
  .testi-grid { grid-template-columns: 1fr; gap: 32px; }
  .testi { border-left: none; padding: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .testi:first-child { border-top: none; padding-top: 0; }
}

/* ---------- Photos ---------- */
.photos { background: var(--paper); }
.photo-band {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.photo-band img { width: 100%; max-height: 480px; object-fit: cover; }
.photo-caption {
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: none;
  font-size: 0.92rem;
  color: var(--slate);
}
.photo-more-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--slate-light);
}

/* ---------- FAQ ---------- */
.faq { background: var(--sand); }
.faq-list { max-width: 74ch; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 4px;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--amber-deep);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  margin: 0 4px 20px;
  color: var(--slate);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--navy-deep);
  color: var(--paper);
}
.contact .section-head p { color: #C6D6D9; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
}
.contact-info h3 {
  color: var(--amber);
  font-size: 1.1rem;
}
.contact-info p { color: #C6D6D9; font-size: 0.98rem; }
.contact-info a { text-decoration: none; font-weight: 600; color: var(--paper); }
.contact-info a:hover { color: var(--amber); }
.contact-info .service-area-list {
  margin: 0.4em 0 0;
  padding: 0;
  list-style: none;
  columns: 2;
  font-size: 0.95rem;
  color: #C6D6D9;
}

form.job-request .field label { color: var(--paper); }
form.job-request input,
form.job-request textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1.5px solid #3C5C67;
  border-radius: 3px;
  background: #1B4553;
  color: var(--paper);
}
form.job-request input::placeholder,
form.job-request textarea::placeholder { color: #7FA0A6; }
form.job-request input:focus,
form.job-request textarea:focus {
  border-color: var(--amber);
  outline: none;
}
form.job-request textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-status {
  font-size: 0.9rem;
  margin-top: 10px;
  min-height: 1.2em;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: #102D37;
  color: #9FB3B7;
  padding: 28px 0;
  font-size: 0.88rem;
}
footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
footer.site-footer a { text-decoration: none; color: #C6D6D9; }
footer.site-footer a:hover { color: var(--amber); }
