/* NAX Property Services — junk removal, Newtown & Oxford, CT */

:root {
  --navy: #0b1f3a;
  --navy-deep: #061224;
  --navy-mid: #122e52;
  --orange: #e8541f;
  --orange-dk: #c84416;
  --orange-hover: #d44818;
  --cream: #f6f1e8;
  --cream-dim: #ded6c6;
  --white: #fffcf7;
  --ink: #16202c;
  --ink-soft: #3a4450;
  --muted: #5a6470;
  --rule: #d6cec0;
  --focus: #e8541f;
  --error: #8b2e2e;
  --header-h: 4.5rem;
  --max: 72rem;
  --font-sans: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --shadow: 0 12px 36px rgba(6, 18, 36, 0.08);
  --radius: 12px;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-900.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--orange-dk);
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 1000;
  background: var(--orange);
  color: var(--navy-deep);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 0 0 6px 6px;
}

.skip-link:focus {
  top: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.placeholder {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--orange);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: inherit;
}

.logo img {
  height: 2.7rem;
  width: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle:hover {
  background: color-mix(in srgb, var(--navy) 6%, transparent);
}

.nav-toggle .icon-menu,
.nav-toggle .icon-close {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
}

.nav a:hover {
  color: var(--orange-dk);
}

.nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  padding: 0.75rem 1.25rem 1.25rem;
  gap: 0.25rem;
  box-shadow: var(--shadow);
}

.nav.is-open a {
  padding: 0.7rem 0.25rem;
}

.nav.is-open .btn {
  margin-top: 0.5rem;
  text-align: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  color: inherit;
  transform: translateY(-1px);
}

.btn-orange {
  background: var(--orange);
  color: var(--navy-deep);
  border-color: var(--orange);
}

.btn-orange:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: color-mix(in srgb, var(--cream) 45%, transparent);
}

.btn-ghost:hover {
  border-color: var(--cream);
  color: var(--cream);
  background: color-mix(in srgb, var(--cream) 8%, transparent);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
  padding: 3.25rem 0 3.5rem;
  border-bottom: 8px solid var(--orange);
}

.hero-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 85% -10%, var(--navy-mid), transparent 60%),
    radial-gradient(ellipse 40% 50% at 0% 100%, var(--navy), transparent 60%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.pill {
  display: inline-block;
  margin: 0 0 1.15rem;
  padding: 0.35rem 0.85rem;
  background: var(--orange);
  color: var(--navy-deep);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: clamp(2.55rem, 9vw, 5.1rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--cream);
}

.hero h1 .accent {
  color: var(--orange);
}

.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--cream-dim);
}

.hero-art {
  display: none;
  justify-content: center;
}

.hero-truck {
  width: min(100%, 26rem);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

/* ---------- Sections ---------- */

.section {
  padding: 4rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dk);
}

h2 {
  margin: 0;
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-wrap: balance;
}

.lede,
.quote-intro {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* ---------- Services ---------- */

.services {
  background: var(--cream);
}

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
}

.service-card svg {
  width: 3rem;
  height: 3rem;
  color: var(--orange);
  margin-bottom: 0.85rem;
  flex-shrink: 0;
}

.service-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Pricing ---------- */

.pricing {
  background: var(--white);
  border-block: 1px solid var(--rule);
}

.volume-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.volume-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1rem 0.7rem 1.05rem;
  text-align: center;
}

.bin {
  width: 3.75rem;
  margin: 0 auto 0.65rem;
}

.bin-lip {
  display: block;
  height: 0.38rem;
  margin: 0 -0.22rem;
  background: var(--navy);
  border-radius: 3px;
}

.bin-body {
  display: block;
  height: 5.4rem;
  margin-top: -1px;
  border: 3px solid var(--navy);
  border-radius: 0 0 6px 6px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.bin-fill {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: var(--fill, 50%);
  background: var(--orange);
  border-radius: 0 0 3px 3px;
}

.volume-card .price {
  margin: 0;
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: var(--navy);
}

.volume-card h3 {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.volume-card .hint {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.price-panels {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.panel {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.1rem;
}

.pricing .panel {
  background: var(--cream);
}

.panel h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.panel .bar,
.section-label .bar {
  display: inline-block;
  width: 0.45rem;
  height: 1.1em;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.bar-navy {
  background: var(--navy) !important;
}

.panel-note {
  margin: 0.4rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.rate-list {
  margin: 0;
}

.rate-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-top: 1px solid var(--rule);
}

.rate-list dt {
  margin: 0;
  font-weight: 500;
  color: var(--ink);
}

.rate-list dd {
  margin: 0;
  font-weight: 700;
  color: var(--orange-dk);
  white-space: nowrap;
}

.price-foot {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Take / can't take ---------- */

.take {
  background: var(--cream);
}

.take-grid {
  display: grid;
  gap: 0.9rem;
}

.panel-take,
.panel-cant {
  background: var(--white);
}

.bullet-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.4rem;
  color: var(--ink);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
}

.bullet-navy li::before {
  background: var(--navy);
}

/* ---------- Areas ---------- */

.areas {
  background: var(--navy-deep);
  color: var(--cream);
}

.areas h2 {
  color: var(--cream);
}

.areas .lede {
  color: var(--cream-dim);
}

.areas .eyebrow {
  color: var(--orange);
}

.town-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.town-grid li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: color-mix(in srgb, var(--navy-mid) 70%, var(--navy-deep));
  border: 1px solid color-mix(in srgb, var(--cream) 10%, transparent);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-weight: 600;
  color: var(--cream);
}

.town-grid li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ---------- How it works ---------- */

.process {
  background: var(--cream);
}

.process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  counter-reset: none;
}

.step {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.4rem;
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.step-num {
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--orange);
  line-height: 1;
}

.step-top svg {
  width: 1.85rem;
  height: 1.85rem;
  color: var(--navy);
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Quote form ---------- */

.quote {
  background: var(--white);
  border-top: 1px solid var(--rule);
}

.quote-layout {
  display: grid;
  gap: 2rem;
}

.quote-contact {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.quote-contact a {
  color: var(--navy);
  font-weight: 600;
}

.form-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 1.25rem 1.1rem 1.35rem;
  box-shadow: var(--shadow);
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem 1rem;
}

.field label,
.consent {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

.req {
  color: var(--orange-dk);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
}

.field textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}

.field input[type="file"] {
  padding: 0.55rem 0.5rem;
  background: var(--white);
}

.field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.consent input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: var(--orange);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}

.form-actions .btn {
  border: 0;
  min-height: 2.9rem;
  padding-inline: 1.4rem;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

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

.site-footer {
  background: var(--navy-deep);
  color: var(--cream-dim);
  padding: 2.5rem 0 1.75rem;
  border-top: 6px solid var(--orange);
}

.footer-top {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--cream) 14%, transparent);
}

.logo-light img {
  height: 3rem;
  width: auto;
}

.footer-tag {
  margin: 0.9rem 0 0;
  max-width: 22rem;
}

.footer-label {
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.contact-list a {
  color: var(--cream);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--orange);
}

.copyright {
  margin: 1.15rem 0 0;
  font-size: 0.88rem;
}

/* ---------- Thanks page ---------- */

.thanks {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 3rem 1rem 4rem;
  background: var(--cream);
}

.thanks-card {
  width: min(100%, 32rem);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.thanks-card svg {
  width: 3rem;
  height: 3rem;
  color: var(--orange);
  margin: 0 auto 1rem;
}

.thanks-card h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--navy);
}

.thanks-card p {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
}

.thanks-card .btn {
  margin-inline: auto;
}

/* ---------- Responsive ---------- */

@media (min-width: 560px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .volume-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .town-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 800px) {
  .hero {
    padding: 4.5rem 0 4.75rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .hero-art {
    display: flex;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .volume-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.85rem;
  }

  .bin {
    width: 3.25rem;
  }

  .volume-card {
    padding: 1.15rem 0.5rem 1.2rem;
  }

  .volume-card .price {
    font-size: 1.85rem;
  }

  .price-panels,
  .take-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }

  .town-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .quote-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }

  .form-card {
    padding: 1.6rem 1.5rem 1.7rem;
  }

  .lead-form {
    grid-template-columns: 1fr 1fr;
  }

  .field-full,
  .consent,
  .form-actions {
    grid-column: 1 / -1;
  }

  .footer-top {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .section {
    padding: 5rem 0;
  }

  .logo img {
    height: 3rem;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
  }

  .nav .btn {
    margin-left: 0.35rem;
    padding: 0.55rem 1.05rem;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
