/* ============================================================
   ST. LOUIS MOVERS — Landing Page Styles
   Mobile-first. Bootstrap 5 loaded first; this file overrides.
   Palette: Deep Teal / Warm Coral / Cream (distinct from the
   navy+red plumbing template and the forest+amber LR template).
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --teal:          #0f4c5c;
  --teal-900:      #082e3a;
  --teal-700:      #14647a;
  --teal-500:      #1f7f99;

  --coral:         #ff6b4a;
  --coral-dark:    #e8553a;
  --coral-light:   #ffa88f;

  --cream:         #fdf8f3;
  --cream-200:     #f5ede2;
  --white:         #ffffff;
  --sand:          #e5e0d8;

  --text:          #1a1f21;
  --muted:         #5c6568;

  --google-blue:   #4285f4;

  /* Layout */
  --header-h:      72px;
  --radius:        14px;
  --radius-sm:     10px;
  --radius-pill:   999px;

  /* Effects */
  --shadow-sm:     0 2px 8px rgba(15, 76, 92, .08);
  --shadow:        0 10px 30px rgba(15, 76, 92, .12);
  --shadow-lg:     0 20px 50px rgba(15, 76, 92, .18);
  --shadow-coral:  0 10px 26px rgba(255, 107, 74, .38);

  --ease:          cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--coral-dark); }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 2000;
  padding: .75rem 1.25rem;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  font-weight: 700;
  border-radius: var(--radius-pill);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease);
}
.btn-lg { min-height: 58px; padding: .95rem 2.1rem; font-size: 1.0625rem; }

.btn-accent {
  background: var(--coral);
  border: 2px solid var(--coral);
  color: #fff;
  box-shadow: var(--shadow-coral);
}
.btn-accent:hover,
.btn-accent:focus {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 107, 74, .5);
}

.btn-ghost {
  background: rgba(255, 255, 255, .10);
  border: 2px solid rgba(255, 255, 255, .85);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover,
.btn-ghost:focus {
  background: #fff;
  border-color: #fff;
  color: var(--teal);
  transform: translateY(-2px);
}

.btn-google {
  background: #fff;
  border: 2px solid var(--sand);
  color: var(--text);
  min-height: 56px;
  padding: .85rem 1.75rem;
}
.btn-google:hover,
.btn-google:focus {
  border-color: var(--google-blue);
  color: var(--google-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-google i { color: var(--google-blue); font-size: 1.15rem; }

.btn-nav-call {
  min-height: 44px;
  padding: .5rem 1.05rem;
  font-size: .9375rem;
  box-shadow: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  z-index: 1030;
  background: var(--white);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.topbar {
  background: var(--teal-900);
  color: rgba(255, 255, 255, .82);
  font-size: .8125rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}
.topbar__note { margin: 0; display: flex; align-items: center; gap: .45rem; }
.topbar__note i { color: var(--coral); }
.topbar__sep { opacity: .45; }

.topbar__links { display: flex; align-items: center; gap: 1rem; }
.topbar__links a {
  color: rgba(255, 255, 255, .82);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: color .18s var(--ease);
}
.topbar__links a:hover { color: #fff; }
.topbar__phone { font-weight: 700; color: #fff !important; }
.topbar__phone i { color: var(--coral); }

.mainnav {
  background: var(--white);
  padding: .55rem 0;
  border-bottom: 1px solid var(--sand);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 0;
  margin: 0;
}
.brand__mark {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-500) 100%);
  color: var(--coral);
  font-size: 1.05rem;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 1.0625rem;
  color: var(--teal);
  font-weight: 500;
}
.brand__text strong { font-weight: 800; }
.brand__text small {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.mainnav .nav-link {
  color: var(--teal);
  font-weight: 600;
  padding: .55rem 1rem;
  border-radius: var(--radius-sm);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.mainnav .nav-link:hover,
.mainnav .nav-link:focus { color: var(--coral-dark); background: var(--cream); }

.navbar-toggler {
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: .45rem .6rem;
  min-height: 44px;
}
.navbar-toggler:focus { box-shadow: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  min-height: calc(100vh - var(--header-h));
  padding: 2.5rem 0;
}
@supports (min-height: 100svh) {
  .hero { min-height: calc(100svh - var(--header-h)); }
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(8, 46, 58, .92) 0%,
      rgba(8, 46, 58, .72) 45%,
      rgba(8, 46, 58, .94) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.1rem;
  padding: .45rem 1.05rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 107, 74, .16);
  border: 1px solid rgba(255, 107, 74, .55);
  color: var(--coral-light);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero__badge i { color: var(--coral); }

.hero__title {
  font-size: clamp(1.9rem, 5.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}
.hero__title::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin: 1.15rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--coral-light) 100%);
}

.hero__sub {
  font-size: clamp(1rem, 2.1vw, 1.25rem);
  font-weight: 500;
  color: rgba(255, 255, 255, .93);
  margin: 0 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .55rem;
}
.hero__sub span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__sub i { color: var(--coral); }
.hero__dot { opacity: .5; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-bottom: 1.6rem;
}
.hero__ctas .btn { flex: 1 1 auto; min-width: 220px; }

.hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem 1.6rem;
  font-size: .9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
}
.hero__trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__trust i { color: var(--coral); }

@media (max-height: 700px) and (min-width: 992px) {
  .hero__trust { display: none; }
  .hero__title::after { margin-top: .8rem; }
}
@media (max-height: 640px) {
  .hero__trust { display: none; }
  .hero__badge { display: none; }
}

/* ============================================================
   SECTION DEFAULTS
   ============================================================ */
.section { padding: 4.5rem 0; }
.section--services { background: var(--cream); }
.section--why      { background: var(--white); }
.section--contact  { background: var(--cream); }

.section__head { max-width: 720px; margin: 0 auto 3rem; }
.section__head--left { margin-left: 0; margin-right: 0; text-align: left; max-width: none; }

.section__eyebrow {
  display: inline-block;
  margin: 0 0 .7rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-dark);
}
.section__title {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--teal);
  margin: 0 0 .85rem;
}
.section__lead {
  font-size: 1.0625rem;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   GOOGLE REVIEW CTA
   ============================================================ */
.review-cta { padding: 3.25rem 0; background: var(--white); }

.review-card {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding: 1.9rem 2.1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, var(--cream-200) 100%);
  border: 1px solid var(--sand);
  border-left: 5px solid var(--google-blue);
  box-shadow: var(--shadow);
}

.review-card__icon {
  flex: 0 0 62px;
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eef4ff;
  color: var(--google-blue);
  font-size: 1.9rem;
}

.review-card__body { flex: 1 1 340px; }

.review-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal);
  margin: 0 0 .35rem;
  line-height: 1.35;
}
.review-card__text { color: var(--muted); margin: 0 0 .55rem; font-size: .9375rem; }

.review-card__stars { color: #fbbc04; font-size: .95rem; letter-spacing: .12em; }

.review-card__action { flex: 0 0 auto; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.6rem 1.7rem;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--coral-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-500) 100%);
  color: var(--coral);
  font-size: 1.4rem;
  transition: background .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}

.service-card__title {
  font-size: 1.1125rem;
  font-weight: 800;
  color: var(--teal);
  margin: 0 0 .6rem;
  line-height: 1.3;
}
.service-card__text {
  color: var(--muted);
  font-size: .9375rem;
  margin: 0 0 1.25rem;
  flex: 1 1 auto;
}

.service-card__link {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: .35rem 0;
  min-height: 44px;
  font-weight: 700;
  font-size: .9375rem;
  color: var(--coral-dark);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  transition: gap .18s var(--ease), color .18s var(--ease);
}
.service-card__link:hover { gap: .85rem; color: var(--teal); }

/* ============================================================
   WHY US CARDS
   ============================================================ */
.why-card {
  padding: 2rem 1.6rem;
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  text-align: left;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.why-card__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: rgba(255, 107, 74, .16);
  color: var(--coral-dark);
  font-size: 1.35rem;
}
.why-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--teal);
  margin: 0 0 .55rem;
}
.why-card__text {
  font-size: .9375rem;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   CONTACT / LEAD FORM
   ============================================================ */
.contact-card {
  padding: 2.25rem;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-form .form-label {
  font-weight: 700;
  font-size: .875rem;
  color: var(--teal);
  margin-bottom: .4rem;
}
.quote-form .req { color: var(--coral-dark); }
.quote-form .optional { color: var(--muted); font-weight: 500; }

.quote-form .form-control,
.quote-form .form-select {
  min-height: 52px;
  padding: .75rem 1rem;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text);
  background-color: var(--cream);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.quote-form textarea.form-control { min-height: 130px; resize: vertical; }

.quote-form .form-control:focus,
.quote-form .form-select:focus {
  border-color: var(--teal-500);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(31, 127, 153, .14);
  outline: none;
}

.quote-form .is-invalid {
  border-color: #c0392b !important;
  background-color: #fff6f6;
}
.quote-form .is-invalid:focus { box-shadow: 0 0 0 4px rgba(192, 57, 43, .14); }

.field-error {
  margin: .4rem 0 0;
  font-size: .8125rem;
  font-weight: 600;
  color: #c0392b;
}

.consent-check { padding-left: 1.85rem; }
.consent-check .form-check-input {
  width: 1.2rem; height: 1.2rem;
  margin-left: -1.85rem;
  margin-top: .18rem;
  border: 1.5px solid var(--sand);
}
.consent-check .form-check-input:checked {
  background-color: var(--teal);
  border-color: var(--teal);
}
.consent-check .form-check-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 127, 153, .14);
}
.consent-check .form-check-label { font-size: .875rem; color: var(--muted); }
.consent-check a { font-weight: 700; color: var(--teal-700); }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9375rem;
}
.form-status:empty { display: none; }
.form-status.is-success {
  padding: 1rem 1.15rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.form-status.is-error {
  padding: 1rem 1.15rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.form-status i { margin-right: .5rem; }

#submitBtn[disabled] { opacity: .7; cursor: not-allowed; transform: none !important; }

/* ---------- Contact sidebar ---------- */
.contact-aside { display: flex; flex-direction: column; gap: 1.5rem; height: 100%; }

.call-panel {
  padding: 2rem 1.85rem;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-900) 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.call-panel__eyebrow {
  margin: 0 0 .5rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral);
}
.call-panel__title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 .6rem;
}
.call-panel__text {
  font-size: .9375rem;
  color: rgba(255, 255, 255, .78);
  margin: 0 0 1.4rem;
}
.call-panel__small {
  margin: .9rem 0 0;
  text-align: center;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .7);
}
.call-panel__small i { color: var(--coral); margin-right: .35rem; }

.info-panel {
  padding: 1.75rem 1.85rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--sand);
  flex: 1 1 auto;
}
.info-panel__title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--teal);
  margin: 0 0 1rem;
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .5rem 0;
  font-size: .9375rem;
  color: var(--muted);
  border-bottom: 1px dashed var(--sand);
}
.info-list li:last-child { border-bottom: 0; }
.info-list i { color: var(--coral-dark); margin-top: .22rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, .72);
  padding: 3.5rem 0 0;
  font-size: .9375rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.125rem;
  color: #fff;
  margin: 0 0 .85rem;
}
.footer-brand i { color: var(--coral); }
.footer-brand strong { font-weight: 800; }

.footer-text { margin: 0 0 1.15rem; max-width: 40ch; }

.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.footer-social a:hover { background: var(--coral); transform: translateY(-3px); }

.footer-heading {
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255, 255, 255, .72); }
.footer-links a:hover { color: var(--coral); }
.footer-links--contact li { display: flex; align-items: flex-start; gap: .6rem; }
.footer-links--contact i { color: var(--coral); margin-top: .25rem; }

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem;
  font-size: .8125rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: var(--coral); }

/* ============================================================
   MOBILE STICKY CTA BAR
   ============================================================ */
.mobile-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1029;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .22);
  transition: background .18s var(--ease);
}
.mobile-cta-bar:hover,
.mobile-cta-bar:focus { background: var(--coral-dark); color: #fff; }

@media (max-width: 991.98px) {
  body { padding-bottom: 56px; }
  .section { padding: 3.25rem 0; }
  .contact-card { padding: 1.6rem 1.25rem; }
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 767.98px) {
  .review-card { flex-direction: column; text-align: center; padding: 1.6rem 1.35rem; }
  .review-card__body { flex: 1 1 auto; }
  .review-card__action { width: 100%; }
  .review-card__action .btn { width: 100%; }

  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; min-width: 0; }
  .hero__sub { flex-direction: column; gap: .3rem; }
  .hero__dot { display: none; }

  .section__head { margin-bottom: 2.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
  .brand__text { font-size: .95rem; }
  .brand__text small { font-size: .625rem; }
  .brand__mark { width: 38px; height: 38px; flex-basis: 38px; }
}

/* ============================================================
   MOTION / PRINT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .mobile-cta-bar, .review-cta, .footer-social { display: none !important; }
  body { padding-bottom: 0; color: #000; }
}