/* ==========================================================================
   Small Load Junk Removal — Omega Contracting
   Faithful implementation of the Pencil design (mobile-first, responsive)
   ========================================================================== */

:root {
  /* Brand palette (from design tokens) */
  --navy: #123B6D;
  --navy-light: #1A4F8A;
  --navy-dark: #0E2D54;
  --orange: #F97316;
  --orange-dark: #EA670C;
  --light-bg: #F5F7FA;
  --charcoal: #222222;
  --text-secondary: #555555;
  --border-light: #E2E8F0;
  --white: #FFFFFF;

  /* Derived tints used in the design */
  --hero-overlay: rgba(18, 59, 109, 0.80);   /* #123B6DCC */
  --cta-overlay: rgba(18, 59, 109, 0.87);     /* #123B6DDD */
  --subhead: #CBD5E1;
  --badge-text: #94A3B8;
  --cta-subtext: #A8C4E0;
  --footer-muted: #7A9CC0;
  --footer-faint: #5A7FA0;
  --footer-divider: #1A4060;

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --maxw: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-secondary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-head); color: var(--charcoal); margin: 0; line-height: 1.15; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

/* Accessible skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

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

/* ----- Layout helpers ----- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

.section { padding-block: clamp(56px, 8vw, 80px); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, border-color .18s ease, color .18s ease;
  border: 0;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary {
  background: var(--orange);
  color: #fff;
  padding: 16px 40px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  padding: 16px 32px;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.20);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.20); }

.btn--outline {
  background: transparent;
  color: #fff;
  padding: 18px 40px;
  font-size: 1.0625rem;
  border: 2px solid #fff;
}
.btn--outline:hover { background: #fff; color: var(--navy); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 700px;
  padding-block: 64px;
  color: #fff;
  background:
    linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    url("assets/hero.jpg") center / cover no-repeat;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 780px;
}

.hero__title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  color: var(--subhead);
  font-size: clamp(0.9375rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  max-width: 720px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--badge-text);
  font-size: 0.875rem;
  font-weight: 500;
}
.hero__badge svg { width: 16px; height: 16px; color: var(--orange); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--white); }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 48px;
}
.section-head__title {
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
.section-head__subtitle {
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 1.6vw, 1.125rem);
  max-width: 600px;
}
.eyebrow {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--light-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(18, 59, 109, 0.10);
  border-color: #cdd9e8;
}
.card__media {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
}
.icon-badge svg { width: 24px; height: 24px; }
.card__title {
  font-size: 1.25rem;
  font-weight: 700;
}
.card__desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how { background: var(--light-bg); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: 0 8px 24px rgba(18, 59, 109, 0.05);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
}
.step__icon { color: var(--navy); }
.step__icon svg { width: 32px; height: 32px; }
.step__title { font-size: 1.25rem; font-weight: 700; }
.step__desc { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.6; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(var(--cta-overlay), var(--cta-overlay)),
    url("assets/cta.jpg") center / cover no-repeat;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.cta-band__title {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  max-width: 700px;
}
.cta-band__subtitle {
  color: var(--cta-subtext);
  font-size: clamp(0.875rem, 1.6vw, 1.125rem);
  line-height: 1.6;
  max-width: 600px;
}
.cta-band__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cta-subtext);
  font-size: 0.875rem;
}
.trust__item svg { width: 18px; height: 18px; color: var(--orange); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy-dark); color: var(--footer-muted); }
.footer .container { padding-block: 48px; }

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}
.footer__brand { max-width: 360px; display: flex; flex-direction: column; gap: 12px; }
.footer__logo { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.375rem; }
.footer__tagline { color: var(--footer-muted); font-size: 0.875rem; line-height: 1.6; }

.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col-title { color: #fff; font-size: 0.875rem; font-weight: 600; margin-bottom: 2px; }
.footer__col a,
.footer__col span { color: var(--footer-muted); font-size: 0.875rem; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }

.footer__contact-item { display: inline-flex; align-items: center; gap: 8px; }
.footer__contact-item svg { width: 14px; height: 14px; color: var(--orange); flex: none; }

.footer__divider { height: 1px; background: var(--footer-divider); border: 0; margin: 0; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  color: var(--footer-faint);
  font-size: 0.8125rem;
}
.footer__bottom a:hover { color: #fff; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .hero { min-height: 600px; }
  .services__grid { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .hero__cta,
  .cta-band__buttons { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .hero__cta .btn,
  .cta-band__buttons .btn { width: 100%; }
  .trust { flex-direction: column; gap: 12px; align-items: center; }
  .footer__top { gap: 28px; }
  .footer__brand { max-width: 100%; flex-basis: 100%; }
  .footer__bottom { justify-content: center; text-align: center; }
}

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