/* ============================================================
   Michaelson Moving Company — styles
   Bold & modern: deep navy base, amber accent, Oswald + Inter
   ============================================================ */

@font-face {
  font-family: 'Oswald';
  src: url('/fonts/oswald-latin.woff2') format('woff2');
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0e1420;          /* near-black navy */
  --ink-2: #16202f;        /* raised dark surface */
  --ink-3: #223046;        /* borders on dark */
  --paper: #f7f8fa;        /* page background */
  --surface: #ffffff;      /* cards */
  --line: #e4e8ee;         /* borders on light */
  --text: #1d2735;
  --text-muted: #5b6779;
  --text-inverse: #eef1f6;
  --text-inverse-muted: #9fabbe;
  --accent: #f59e0b;       /* amber */
  --accent-deep: #ea580c;  /* orange */
  --accent-ink: #241303;   /* text on accent */
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(14, 20, 32, .08);
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 72px;
}

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

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

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
}

section { scroll-margin-top: var(--header-h); }

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 600; margin-bottom: .5em; }
h3 { font-size: 1.15rem; font-weight: 600; }

.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  font-size: .85rem;
  color: var(--accent-deep);
  margin-bottom: .5rem;
}
.section-dark .eyebrow { color: var(--accent); }

.accent {
  background: linear-gradient(100deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--text-muted); }
.small { font-size: .85rem; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: .95rem;
  padding: .7rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-accent {
  background: linear-gradient(100deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 6px 18px rgba(234, 88, 12, .35);
}
.btn-accent:hover { box-shadow: 0 8px 24px rgba(234, 88, 12, .5); transform: translateY(-1px); }
.btn-accent:disabled { opacity: .45; box-shadow: none; cursor: not-allowed; transform: none; }

.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-ghost:hover { background: rgba(128, 140, 160, .12); }

.btn-lg { padding: .9rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 20, 32, .92);
  backdrop-filter: blur(10px);
  color: var(--text-inverse);
  border-bottom: 1px solid var(--ink-3);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}
.brand-mark { border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: .03em;
}
.brand-text span:last-child {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-inverse-muted);
}

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav > a {
  color: var(--text-inverse-muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  transition: color .15s;
}
.site-nav > a:hover { color: #fff; }
.site-nav > a.nav-cta { color: #fff; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
}
.header-phone:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-inverse);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(245, 158, 11, .14), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #131c2c 100%);
  color: var(--text-inverse);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.badge {
  display: inline-block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, .45);
  border-radius: 999px;
  padding: .35rem .9rem;
  margin-bottom: 1.1rem;
}

.hero-sub {
  color: var(--text-inverse-muted);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-top: 1rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}
.hero-ctas .btn-ghost { color: var(--text-inverse); }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .6rem;
  list-style: none;
  margin-top: 1.8rem;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-inverse);
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--ink-3);
  border-radius: 999px;
  padding: .38rem .85rem;
}

.stars { color: var(--accent); letter-spacing: .08em; }

.hero-media img {
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

/* ---------- Page hero (subpages) ---------- */

.page-hero .hero-copy { max-width: 44rem; padding-block: clamp(3rem, 7vw, 5rem); }

.storage-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2rem;
}
.storage-gallery figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.storage-gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .35s ease;
}
.storage-gallery figure:hover img { transform: scale(1.04); }
.storage-gallery figcaption {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  background: rgba(14, 20, 32, .82);
  color: #fff;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .78rem;
  padding: .35rem .7rem;
  border-radius: 6px;
}

.service-link {
  display: inline-block;
  margin-top: .7rem;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
}
.service-link:hover { text-decoration: underline; }

/* ---------- Trust strip ---------- */

.trust-strip {
  background: linear-gradient(100deg, var(--accent), var(--accent-deep));
  color: var(--accent-ink);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem 2rem;
  padding-block: 1rem;
  text-align: center;
  font-size: .92rem;
}

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

.section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }

.section-dark {
  background: linear-gradient(180deg, var(--ink) 0%, #131c2c 100%);
  color: var(--text-inverse);
}
.section-dark .muted { color: var(--text-inverse-muted); }

.section-tint { background: #eef1f6; }

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.card h3 { margin-bottom: .45rem; }
.card p { color: var(--text-muted); font-size: .95rem; }

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, .16), rgba(234, 88, 12, .16));
  color: var(--accent-deep);
  margin-bottom: 1rem;
}

.card-cta {
  background: var(--ink);
  border-color: var(--ink-3);
  color: var(--text-inverse);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .4rem;
}
.card-cta p { color: var(--text-inverse-muted); }
.card-cta .btn { margin-top: .6rem; }

/* ---------- Why us ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 2.4rem;
}

.why-item {
  border-top: 2px solid var(--ink-3);
  padding-top: 1.1rem;
}
.why-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  background: linear-gradient(100deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: .6rem;
}
.why-item h3 { font-size: 1rem; margin-bottom: .3rem; }
.why-item p { color: var(--text-inverse-muted); font-size: .88rem; }

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 2rem;
}
.gallery figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  transition: transform .35s ease;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  background: rgba(14, 20, 32, .82);
  color: #fff;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .78rem;
  padding: .35rem .7rem;
  border-radius: 6px;
}

/* ---------- Reviews ---------- */

.yelp-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  text-decoration: none;
  color: var(--text);
  font-size: .95rem;
  box-shadow: var(--shadow);
}
.yelp-badge:hover { border-color: var(--accent-deep); }

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

.review p {
  color: var(--text);
  font-size: 1rem;
}
.review footer {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: .88rem;
  color: var(--text-muted);
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--display);
  font-size: .8rem;
  letter-spacing: .05em;
}
.reviews-more { margin-top: 1.6rem; }
.reviews-more a { color: var(--accent-deep); font-weight: 600; text-decoration: none; }
.reviews-more a:hover { text-decoration: underline; }

/* ---------- Schedule ---------- */

.schedule-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.4rem;
  margin-top: 2rem;
  align-items: start;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1.05rem;
}
.cal-nav {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}
.cal-nav:hover:not(:disabled) { border-color: var(--accent-deep); color: var(--accent-deep); }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }

.cal-days, .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.cal-days span {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  padding-block: .3rem;
}
.cal-grid button, .cal-grid .cal-empty {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--body);
  font-size: .92rem;
  color: var(--text);
  cursor: pointer;
}
.cal-grid button:hover:not(:disabled) { border-color: var(--accent-deep); }
.cal-grid button:disabled {
  color: #c3cad4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.cal-grid button.selected {
  background: linear-gradient(100deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-weight: 700;
  border-color: transparent;
}
.cal-note { margin-top: 1rem; font-size: .85rem; color: var(--text-muted); }
.cal-note a { color: var(--accent-deep); }

.windows h3 { margin-bottom: .5rem; }
.window-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-block: 1rem 1.4rem;
}
.chip {
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-family: var(--body);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.chip:hover:not(:disabled) { border-color: var(--accent-deep); }
.chip:disabled { opacity: .45; cursor: not-allowed; }
.chip.selected {
  background: linear-gradient(100deg, var(--accent), var(--accent-deep));
  border-color: transparent;
  color: #fff;
}
.windows .small { margin-top: .8rem; }

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

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

.check-list {
  list-style: none;
  margin-top: 1.2rem;
  display: grid;
  gap: .55rem;
}
.check-list li {
  padding-left: 1.7rem;
  position: relative;
  color: var(--text-inverse-muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: linear-gradient(100deg, var(--accent), var(--accent-deep));
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.6-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z"/></svg>') center / contain no-repeat;
}

.quote-alt { margin-top: 1.8rem; font-size: .95rem; }
.quote-alt a { color: var(--accent); font-weight: 600; text-decoration: none; }
.quote-alt a:hover { text-decoration: underline; }

.quote-form { color: var(--text); }

.botcheck { display: none; }

.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field label {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: .35rem;
}
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: .98rem;
  color: var(--text);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .7rem .85rem;
  width: 100%;
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-deep);
}
.field input[readonly] { background: #eef1f6; }
.field textarea { resize: vertical; }

.form-status { margin-top: .9rem; font-weight: 600; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }

/* ---------- Payment ---------- */

.payment-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.steps {
  margin: 1.4rem 0 1.4rem 1.2rem;
  display: grid;
  gap: .7rem;
}
.qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}
.qr-card {
  text-align: center;
  justify-self: center;
  padding: 1.6rem 1.8rem;
  flex: 1 1 200px;
  max-width: 260px;
}
.qr-card figcaption a { color: var(--accent-deep); text-decoration: none; }
.qr-card figcaption a:hover { text-decoration: underline; }
.qr-card img {
  width: 150px;
  height: auto;
  image-rendering: pixelated;
  margin-inline: auto;
  margin-bottom: 1rem;
}
.qr-card figcaption { font-size: .9rem; color: var(--text-muted); }
.qr-card strong { color: var(--text); font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; }

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

.site-footer {
  background: var(--ink);
  color: var(--text-inverse-muted);
  padding-top: 3.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
}
.footer-brand p { margin-top: 1rem; font-size: .92rem; max-width: 26rem; }
.site-footer h3 {
  color: var(--text-inverse);
  font-size: .95rem;
  margin-bottom: .8rem;
}
.footer-nav { display: flex; flex-direction: column; gap: .45rem; }
.footer-nav a, .footer-contact a {
  color: var(--text-inverse-muted);
  text-decoration: none;
  font-size: .92rem;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact p { margin-bottom: .45rem; font-size: .92rem; }
.footer-qr { text-align: center; font-size: .78rem; }
.footer-qr img { border-radius: 8px; margin-bottom: .5rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  border-top: 1px solid var(--ink-3);
  padding-block: 1.3rem;
  font-size: .82rem;
}

/* ---------- Mobile sticky bar ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(14, 20, 32, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--ink-3);
  padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
  gap: .7rem;
}
.mobile-bar .btn { flex: 1; }
.mobile-bar .btn-ghost { color: var(--text-inverse); }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
  .card-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery, .storage-gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .quote-grid, .payment-grid, .schedule-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 480px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-3);
    padding: .6rem 20px 1.2rem;
    display: none;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav > a { padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--ink-2); }
  .site-nav > a.nav-cta { margin-top: .9rem; border-bottom: 0; }

  .card-grid, .reviews-grid, .why-grid, .storage-gallery { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .trust-grid { grid-template-columns: 1fr; text-align: left; padding-block: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; padding-bottom: 5.4rem; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }
}
