/* Superior Economy Moving — clean, professional layout inspired by modern moving-company landing pages */

:root {
  --bg: #fafbfc;
  --bg-alt: #f0f2f5;
  --surface: #ffffff;
  --text: #1a1f2e;
  --text-muted: #5c6578;
  --border: #e2e6ee;
  --accent: #c45c26;
  --accent-hover: #a84d1f;
  --accent-soft: rgba(196, 92, 38, 0.1);
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.top-bar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 0.8125rem;
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-block: 0.45rem;
}

.top-bar__msg {
  margin: 0;
}

.top-bar__link {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 500;
}

.top-bar__link:hover {
  color: #fff;
  text-decoration: underline;
}

.header__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo:hover {
  color: inherit;
}

.logo__img {
  width: auto;
  height: 56px;
  max-width: 64px;
  object-fit: contain;
  display: block;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo__tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 20px;
  margin-inline: auto;
  background: var(--navy);
  border-radius: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav__list a:hover {
  color: var(--accent);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn--secondary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn--secondary:hover {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn--light:hover {
  background: #f1f5f9;
  color: var(--navy);
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 92, 38, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(15, 23, 42, 0.06), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(250,251,252,0.92) 100%);
  z-index: 1;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.hero__grid {
  position: relative;
  z-index: 2;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.hero__content {
  max-width: 38rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__lead {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero__bullets {
  margin: 0 0 1.75rem;
  padding-left: 1.2rem;
  color: var(--text);
}

.hero__bullets li {
  margin-bottom: 0.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero__note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.hero__card-title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.steps__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding: 0.35rem 0.5rem;
  background: var(--accent-soft);
  border-radius: 6px;
}

.steps strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.steps span span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Trust strip */
.trust-strip {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: 1.75rem;
}

.trust-item {
  text-align: center;
  padding: 0.5rem;
}

.trust-item__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.trust-item__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.trust-item__label a {
  color: inherit;
  font-weight: 600;
}

.trust-item__label a:hover {
  color: var(--accent);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: linear-gradient(160deg, var(--navy) 0%, #1a2332 100%);
  color: #e2e8f0;
}

.section--dark a {
  color: #fdba74;
}

.section--dark a:hover {
  color: #fed7aa;
}

.section__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section__head--left {
  text-align: left;
  margin-left: 0;
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section__title--on-dark {
  color: #fff;
}

.section__sub {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.section--dark .section__sub {
  color: #94a3b8;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
}

.info-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.info-card:hover .info-card__img img {
  transform: scale(1.04);
}

.info-card__body {
  padding: 1.75rem;
}

.info-card__title {
  margin: 1.5rem 1.75rem 0.75rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.info-card p {
  margin: 0 1.75rem 1.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Gallery */
.gallery {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  background: var(--surface);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.75rem;
}

.gallery__item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__cta {
  text-align: center;
  margin-top: 2rem;
}

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

.service-grid li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.area-list {
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.area-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  color: var(--navy);
}

.area-list li:last-child {
  border-bottom: none;
}

.reputation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.reputation__text {
  max-width: 36rem;
}

.reputation__text p {
  margin: 0 0 1rem;
  color: #cbd5e1;
}

.reputation__emphasis {
  font-weight: 600;
  color: #f1f5f9 !important;
}

.resource-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.resource-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.resource-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.resource-card p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.resource-card__cta {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent);
}

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--accent) 0%, #9a4318 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
}

.cta-band__text {
  margin: 0;
  opacity: 0.95;
  max-width: 28rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.875rem;
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__brand {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: #f8fafc;
  font-size: 1rem;
}

.site-footer__fine {
  margin: 0;
  line-height: 1.55;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__links a {
  text-decoration: none;
}

.site-footer__bottom {
  padding-top: 1.25rem;
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.8125rem;
}

/* Article / inner pages */
.article-page {
  padding: 3rem 0 4rem;
}

.article-page h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 1.5rem;
}

.article-page h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--navy);
}

.article-page h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
}

.article-page p,
.article-page li {
  color: var(--text-muted);
}

.article-page ul {
  padding-left: 1.25rem;
}

/* Inner page hero (smaller than home hero) */
.page-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 3.75rem) 0 clamp(2rem, 4vw, 2.5rem);
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(196, 92, 38, 0.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.page-hero__title em {
  font-style: italic;
  color: var(--accent);
}

.page-hero__lead {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 42rem;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Breadcrumbs */
.crumbs {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
}

.crumbs li + li::before {
  content: "›";
  margin: 0 0.5rem;
  color: var(--text-muted);
}

.crumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--accent);
}

.crumbs [aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

/* Prose (long-form content blocks) */
.prose {
  max-width: 44rem;
  margin: 0 auto;
}

.prose > * + * {
  margin-top: 1rem;
}

.prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.prose p,
.prose li {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose strong {
  color: var(--navy);
}

.prose a {
  color: var(--accent);
}

.prose blockquote {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  font-style: normal;
}

.prose blockquote p {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.prose blockquote footer {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Two-column inner layout: prose + sticky aside */
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.page-grid > .prose {
  margin: 0;
  max-width: none;
}

.aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aside__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.aside__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--navy);
}

.aside__card p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.aside__card .btn {
  width: 100%;
}

.aside__card + .aside__card {
  margin-top: 0;
}

/* Feature row (icon + headline + copy) used on service pages */
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 0;
  list-style: none;
  padding: 0;
}

.feature-row li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.feature-row strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.feature-row span {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* FAQ (native <details> styling) */
.faq {
  margin: 1.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details > div {
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq details > div > p {
  margin: 0 0 0.65rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
}

.form__row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form__field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.form__field label .req {
  color: var(--accent);
}

.form__field .hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 400;
}

.form__field input,
.form__field select,
.form__field textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form__field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.form__note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Definition lists (used in packing guide, services) */
.def-list {
  margin: 1.5rem 0 0;
  padding: 0;
}

.def-list dt {
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.1rem;
}

.def-list dd {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Tables (disposal/donation lists) */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table thead th {
  background: var(--bg-alt);
  color: var(--navy);
  font-weight: 700;
  border-bottom: 2px solid var(--border);
}

.data-table td a {
  color: var(--accent);
  font-weight: 500;
}

/* Service / area card grid (4 columns at desktop, used on hubs) */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tile {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.tile:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.tile h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.tile p {
  margin: 0 0 0.85rem;
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tile__cta {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
}

/* Callout boxes (for the "California double drive time" highlights, etc.) */
.callout {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0 0;
  color: var(--text);
}

.callout strong {
  color: var(--navy);
}

.callout p {
  margin: 0;
}

/* Footer expanded (multi-column for inner pages) */
.site-footer__cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__col h4 {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.875rem;
}

.site-footer__col a {
  color: #94a3b8;
  text-decoration: none;
}

.site-footer__col a:hover {
  color: #fff;
}

/* Responsive overrides for new components */
@media (max-width: 960px) {
  .page-grid {
    grid-template-columns: 1fr;
  }

  .aside {
    position: static;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .tile-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__cols {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

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

  .split {
    grid-template-columns: 1fr;
  }

  .resource-cards {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    z-index: 200;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 1.25rem;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s, opacity 0.2s, visibility 0.2s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav__cta {
    flex-direction: column;
    margin-top: 1rem;
  }

  .nav__cta .btn {
    width: 100%;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   InstaQuote — /instaquote/ live calculator + /quote/submit receipt page
   ============================================================================ */

.iq__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.iq__form > * + * {
  margin-top: 1.5rem;
}

.iq__fieldset {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 0;
  box-shadow: var(--shadow);
  min-inline-size: 0; /* Firefox: prevent fieldset min-width: min-content */
}

/*
 * <legend> default rendering sits ON the fieldset's top border (notched in).
 * That doesn't combine with a rounded-corner card style — the legend renders
 * visually outside the card. Floating the legend at 100% width pulls it out of
 * that special positioning and renders it as a normal block inside the card.
 * legend + * then clears the float so the rest of the form flows below.
 */
.iq__fieldset > legend {
  float: left;
  width: 100%;
  padding: 0 0 0.85rem;
  margin: 0 0 1.25rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.iq__fieldset > legend + * {
  clear: left;
}

.iq__subheading {
  margin: 1.75rem 0 0.75rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
}

.iq__hint {
  margin: 0.25rem 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.iq__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

.iq__row--addr {
  grid-template-columns: 2fr 1fr 1fr;
}

.iq__row .form__field--full {
  grid-column: 1 / -1;
}

/* Inventory category accordion */
.iq__category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
}

.iq__category > summary {
  cursor: pointer;
  padding: 0.85rem 1.15rem;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.iq__category > summary::-webkit-details-marker {
  display: none;
}

.iq__category > summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.iq__category[open] > summary::after {
  content: "\2212";
}

.iq__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0.25rem 1.15rem 1.15rem;
  border-top: 1px solid var(--border);
}

.iq__items--boxes {
  grid-template-columns: 1fr 1fr;
}

.iq__item {
  display: grid;
  grid-template-columns: 1fr 4.5rem;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  cursor: pointer;
}

.iq__item:last-child,
.iq__items > .iq__item:nth-last-child(-n+2):nth-child(2n+1),
.iq__items > .iq__item:nth-last-child(-n+1):nth-child(2n) {
  border-bottom: none;
}

.iq__item-name {
  color: var(--text);
}

.iq__item-name em {
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.8125rem;
  margin-left: 0.25rem;
}

.iq__item input[type="number"] {
  width: 100%;
  padding: 0.45rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  text-align: right;
  background: var(--bg);
  -moz-appearance: textfield;
}

.iq__item input[type="number"]::-webkit-outer-spin-button,
.iq__item input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: auto;
  margin: 0;
}

.iq__item input[type="number"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--surface);
}

/* Live quote sidebar */
.iq__aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.iq__quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: var(--shadow-lg);
}

.iq__quote-label {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.iq__quote-price {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.1;
}

.iq__quote-help {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.iq__quote-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin: 0.75rem 0 0.75rem;
  padding: 0;
}

.iq__quote-stats > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border);
  padding: 0.35rem 0;
  font-size: 0.875rem;
}

.iq__quote-stats dt {
  color: var(--text-muted);
  margin: 0;
}

.iq__quote-stats dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}

.iq__quote-disclaimer {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.iq__quote-help-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}

.iq__quote-help-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--navy);
}

.iq__quote-help-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .iq__layout {
    grid-template-columns: 1fr;
  }
  .iq__aside {
    position: static;
    order: -1; /* show quote first on mobile so people see the price */
  }
}

@media (max-width: 640px) {
  .iq__row,
  .iq__row--addr {
    grid-template-columns: 1fr;
  }
  .iq__items {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   Print — applies sitewide (receipt page, service pages, anything printable)
   ============================================================================ */
@media print {
  .site-header,
  .site-footer,
  .nav,
  .nav-toggle,
  .nav__cta,
  .page-hero__actions {
    display: none !important;
  }
  body {
    background: white;
  }
  .article-page,
  .container {
    max-width: 100%;
    padding: 0;
  }
}
