/* =========================================================================
   S.K. Machinery Moving, Inc. — Site styles
   Design system: industrial / trustworthy. Navy + steel blue + safety amber.
   ========================================================================= */

:root {
  /* Brand palette — swap these to match your real brand colors */
  --navy:      #0e2a43;
  --navy-900:  #0a1f31;
  --steel:     #1c4a72;
  --steel-300: #6ea3cf;
  --amber:     #f5871f;   /* safety / accent */
  --amber-600: #d76f0c;

  /* Neutrals */
  --ink:       #16212b;
  --body:      #3b4a57;
  --muted:     #6b7a88;
  --line:      #e2e8ee;
  --surface:   #ffffff;
  --surface-2: #f4f7fa;
  --surface-3: #eaf0f6;

  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 10px 30px rgba(14, 42, 67, 0.10);
  --shadow-sm: 0 4px 14px rgba(14, 42, 67, 0.08);

  --maxw: 1160px;
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--amber-600); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); text-transform: uppercase; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 78px 0; }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--navy); color: #cfe0ee; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--amber-600);
  margin: 0 0 .6rem;
}
.section--dark .eyebrow { color: var(--amber); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--dark .lead { color: #a9c2d8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amber); color: #21160a; }
.btn--primary:hover { background: var(--amber-600); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--steel); color: #fff; }
.btn--lg { font-size: 1.2rem; padding: 16px 34px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 9px;
  background: linear-gradient(135deg, var(--steel), var(--navy));
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
}
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--ink); text-transform: uppercase; line-height: 1; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .62rem; letter-spacing: .18em; color: var(--muted); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav__links a:hover, .nav__links a.active { color: var(--amber-600); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { font-weight: 700; color: var(--navy); white-space: nowrap; }
.nav__phone span { color: var(--muted); font-weight: 600; font-size: .72rem; display: block; letter-spacing: .1em; text-transform: uppercase; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--ink);
  position: relative; transition: .2s; margin: 0 auto;
}
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10,31,49,.86), rgba(10,31,49,.92)),
    repeating-linear-gradient(45deg, #12324e 0 22px, #102c46 22px 44px);
  color: #eaf2f9;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1000px 400px at 80% -10%, rgba(245,135,31,.20), transparent 60%);
  pointer-events: none;
}
/* Hero with a background photo (dark overlay keeps white text readable) */
.hero--photo {
  background:
    linear-gradient(180deg, rgba(10,31,49,.80), rgba(10,31,49,.90)),
    url("assets/truck-night-skyline.jpg");
  background-size: cover;
  background-position: center;
}
.hero--photo::after { display: none; }
.hero__inner { position: relative; z-index: 1; padding: 96px 0 100px; max-width: 780px; }

/* Make photos fill the placeholder tiles cleanly wherever they're used */
.machine__img img, .project__img img, .post-card__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Reusable figure for inline photos (landing pages, blog, about) */
.photo-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.photo-figure img { width: 100%; height: auto; display: block; }
.photo-figure figcaption { font-size: .82rem; color: var(--muted); padding: 8px 12px; background: var(--surface); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero__lead { font-size: 1.25rem; color: #c8dbec; margin-bottom: 2rem; max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.4rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px 26px; font-weight: 600; color: #bcd3e7; }
.hero__badges li { list-style: none; display: flex; align-items: center; gap: 8px; }
.hero__badges { padding: 0; margin: 0; }
.tick { color: var(--amber); font-weight: 800; }

/* ---------- Trust strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
.stat__num { font-family: var(--font-head); font-size: 2.8rem; color: var(--navy); line-height: 1; }
.stat__label { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 16px;
  background: var(--surface-3); display: grid; place-items: center; color: var(--steel);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--body); margin: 0; }

/* Machine type cards with image placeholder */
.machine { padding: 0; overflow: hidden; }
.machine__img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--steel), var(--navy));
  color: #dceaf6; display: grid; place-items: center; text-align: center;
  position: relative; font-weight: 600;
}
.machine__img span { padding: 12px; font-size: .9rem; opacity: .9; }
.machine__body { padding: 20px 22px 24px; }
.machine__body h3 { margin-bottom: .35rem; }
.machine__body p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Placeholder note styling */
.ph {
  border: 1px dashed var(--steel-300);
  background: repeating-linear-gradient(-45deg, var(--surface-2) 0 10px, var(--surface-3) 10px 20px);
  color: var(--steel); display: grid; place-items: center; text-align: center;
  font-size: .85rem; font-weight: 600; padding: 14px;
}

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step { position: relative; padding-top: 8px; }
.step__num {
  counter-increment: step;
  font-family: var(--font-head); font-size: 2.6rem; color: var(--amber);
  line-height: 1;
}
.step__num::before { content: "0" counter(step); }
.step h3 { margin: 8px 0 6px; }
.step p { color: var(--body); margin: 0; font-size: .98rem; }

/* ---------- Project gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.project { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.project__img { aspect-ratio: 3/2; background: linear-gradient(135deg,#294a68,#12293f); color:#cfe0ee; display:grid; place-items:center; text-align:center; padding:12px; font-weight:600; font-size:.9rem; }
.project__body { padding: 16px 18px; }
.project__tag { font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color:var(--amber-600); font-weight:700; }
.project__body h3 { font-size:1.15rem; margin:.2rem 0 .3rem; }
.project__body p { margin:0; color:var(--muted); font-size:.92rem; }

/* ---------- Feature list ---------- */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.features li { display: flex; gap: 12px; align-items: flex-start; }
.features .tick { margin-top: 2px; font-size: 1.1rem; }
.features b { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--steel), var(--navy)); color: #fff; border-radius: 18px; padding: 48px; text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { color:#fff; }
.cta-band p { color:#cfe0ee; max-width: 560px; margin: 0 auto 1.6rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); list-style: none; display:flex; justify-content:space-between; gap:16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber-600); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--body); }

/* ---------- Quote form ---------- */
.quote-wrap { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: start; }
.form-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: .92rem; }
.field .req { color: var(--amber-600); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 13px; background: #fff; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(28,74,114,.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: .82rem; color: var(--muted); }
.dims { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.file-drop {
  border: 2px dashed var(--steel-300); border-radius: var(--radius-sm);
  padding: 20px; text-align: center; background: var(--surface-2); color: var(--muted);
  cursor: pointer;
}
.file-drop input { display: none; }
.file-drop b { color: var(--steel); }
.file-list { font-size: .85rem; color: var(--body); margin-top: 8px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-weight: 600; display: none; }
.form-status.ok { display:block; background:#e7f6ec; color:#1c7a3d; border:1px solid #bfe6cd; }
.form-status.err { display:block; background:#fdecec; color:#b1301f; border:1px solid #f3c9c4; }

.quote-side .card { margin-bottom: 20px; }
.contact-line { display:flex; gap:12px; align-items:flex-start; margin-bottom:14px; }
.contact-line svg { width:20px; height:20px; color: var(--steel); flex:none; margin-top:2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #a9c2d8; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; margin-bottom: 34px; }
.site-footer h4 { color:#fff; font-size:1.05rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom: 14px; }
.site-footer a { color:#a9c2d8; }
.site-footer a:hover { color:#fff; }
.footer-links { list-style:none; padding:0; margin:0; display:grid; gap:9px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding-top:18px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.85rem; color:#7f9bb4; }
.footer-brand p { color:#8fb0cb; font-size:.95rem; }

/* ---------- Landing pages (city/service) ---------- */
.breadcrumb { padding: 14px 0; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); }
.breadcrumb li::after { content: "›"; margin-left: 8px; color: var(--steel-300); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--steel); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 8px 0 0; list-style: none; }
.chips li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: .92rem; color: var(--ink); box-shadow: var(--shadow-sm);
}

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card__img { aspect-ratio: 16/9; background: linear-gradient(135deg,#294a68,#12293f); color:#cfe0ee; display:grid; place-items:center; text-align:center; padding:12px; font-weight:600; font-size:.9rem; }
.post-card__body { padding: 22px 24px 26px; display:flex; flex-direction:column; flex:1; }
.post-card__tag { font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color:var(--amber-600); font-weight:700; }
.post-card__body h3 { margin:.35rem 0 .5rem; font-size:1.35rem; }
.post-card__body p { color:var(--muted); font-size:.96rem; margin:0 0 16px; }
.post-card__more { margin-top:auto; font-weight:700; color:var(--steel); font-family:var(--font-head); text-transform:uppercase; letter-spacing:.03em; }

.article { max-width: 760px; margin: 0 auto; }
.article__meta { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.article h2 { font-size: 1.9rem; margin: 40px 0 14px; }
.article h3 { font-size: 1.3rem; margin: 28px 0 10px; }
.article p, .article li { font-size: 1.06rem; color: var(--body); }
.article ul, .article ol { padding-left: 22px; margin: 0 0 18px; display: grid; gap: 8px; }
.article .callout { background: var(--surface-2); border-left: 4px solid var(--amber); border-radius: 8px; padding: 18px 20px; margin: 24px 0; }
.article .callout p { margin: 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.hide { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--3, .grid--4, .steps, .gallery { grid-template-columns: repeat(2, 1fr); }
  .quote-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .site-header.open .nav__links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; background: #fff; padding: 18px 20px; gap: 14px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .grid--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .dims { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 34px 22px; }
  .section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .grid--3, .grid--4, .steps, .gallery, .footer-grid { grid-template-columns: 1fr; }
}
