@charset "utf-8";
/* ============================================================
   StS_CSS.css  —  Southwest Auto Transport
   State-to-State (StS) page stylesheet
   Replaces: style.css / style_main.css on all StS pages
   Navigation styles remain in: menu.css (unchanged)
   ============================================================ */

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

/* ── Base ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: #ccc;
  color: #000;
  font-family: tahoma;
  font-size: 16px;
  line-height: 1.5;
}

h1 { margin: 10px 0; font-size: 2em; letter-spacing: -0.5px; }
h2 { margin: 16px 0 8px; letter-spacing: -1px; }
h3 { margin: 20px 0 0; display: inline-block; clear: both; }
h4 { margin: 20px 0 0; }

p  { margin: 10px 0 0; line-height: 1.55; font-size: 16px; text-align: justify; }
a  { color: #0062CC; text-decoration: none; }
a:hover { text-decoration: underline; }
a.calltoaction { font-weight: bold; }

/* WCAG 1.4.1 — links within body text paragraphs must be distinguishable
   by more than color alone. Underline satisfies this for all inline links. */
p a, li a { text-decoration: underline; }
p a:hover, li a:hover { text-decoration: underline; }

/* Disclaimer paragraph below pricing table */
p.price-disclaimer { font-size: 0.9em; color: #333; margin-top: -10px; }
p.price-disclaimer a { text-decoration: underline; }

/* ── Advisory bar ───────────────────────────────────────────── */
#advisory { padding: 5px 10px; text-align: center; color: red; font-weight: bold; }

/* ── Header / Hero ──────────────────────────────────────────── */
#header {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
}

#header .hero-media {
  position: relative;
  width: 100%;
}

#header .hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* H1 overlaid on hero image — desktop */
.hero-title-overlay {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  width: auto;
  max-width: 96%;
  text-align: left;
  color: #000;
  font-family: Impact, sans-serif;
  font-weight: 900;
  font-size: 2.8em;
  line-height: 1.06;
  letter-spacing: 0.2px;
  text-shadow:
    -3px -3px 0 #fff,  3px -3px 0 #fff,
    -3px  3px 0 #fff,  3px  3px 0 #fff,
    0 5px 14px rgba(0,0,0,.45);
  pointer-events: none;
}

/* Phone CTA overlay on hero image (desktop) */
#header #call::after {
  content: "Call 1-800-590-6492 For a Free Quote";
  position: absolute;
  right: 2%;
  top: 0px;
  font-family: Impact;
  font-size: 3.5vw;
  letter-spacing: -3px;
  -webkit-text-stroke: 1px white;
  text-shadow: 3px 3px 5px #000000;
  z-index: 1;
}

/* ── Menu placeholder ───────────────────────────────────────── */
/* Actual menu styles remain in menu.css */
#menu {
  background: #33366A;
  position: relative;
  z-index: 100;
  width: 100%;
  min-height: 55px;
}

/* ── Self-contained nav (no menu.css dependency) ─────────────
   Mobile: hamburger toggle + phone icon, collapsed nav menu
   Desktop: horizontal nav bar, icons hidden
   ──────────────────────────────────────────────────────────── */

.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  list-style: none;
}

.nav-collapse li { width: 100%; }

.nav-collapse a {
  color: #fff;
  background: #33366A;
  border-top: 1px solid #4a4e8a;
  padding: 0.8em 1em;
  text-decoration: none;
  width: 100%;
  display: block;
}

.nav-collapse a:hover { background: #4a4e8a; }

/* Mobile phone icon */
.mobile-phone-icon {
  position: absolute;
  left: 15px;
  top: 12px;
  z-index: 102;
}

.mobile-phone-icon img { display: block; }

/* Hamburger / close toggle button */
.nav-toggle {
  position: absolute;
  right: 0;
  top: 0;
  width: 70px;
  height: 55px;
  text-decoration: none;
  text-indent: -999px;
  overflow: hidden;
  z-index: 102;
}

.nav-toggle:before {
  content: "\2261"; /* ≡ */
  color: #fff;
  font-family: sans-serif;
  font-size: 2.5em;
  line-height: 55px;
  text-indent: 0;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  text-align: center;
}

.nav-toggle.active:before {
  content: "\00D7"; /* × */
  font-size: 2em;
}

/* Overlay mask behind open mobile menu */
.mask {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.6);
  z-index: 99;
  visibility: hidden;
  opacity: 0;
  transition: opacity 300ms;
}

.js-nav-active .mask { visibility: visible; opacity: 1; }

@media (max-width: 767px) {
  .nav-collapse {
    max-height: 0;
    overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 100;
    transition: max-height 0.3s ease;
  }
  .nav-collapse.opened {
    max-height: 9999px;
  }
}

@media (min-width: 768px) {
  .nav-toggle,
  .mask,
  .mobile-phone-icon { display: none !important; }

  #menu {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  .nav-collapse { position: relative; max-height: none; clip: auto; overflow: visible; width: auto; }
  .nav-collapse ul { display: flex; width: auto; }
  .nav-collapse li { width: auto; display: flex; }
  .nav-collapse a {
    border-top: 0;
    border-left: 1px solid #4a4e8a;
    padding: 1em 1.5em;
    width: auto;
    display: flex;
    align-items: center;
  }
  .nav-collapse li:first-child a { border-left: 0; }
}

/* Keep phone icon on left, away from the nav-toggle hamburger on the right */
.mobile-phone-icon {
  position: absolute;
  left: 15px;
  top: 13px;
  z-index: 101;
}

/* ── Layout container ───────────────────────────────────────── */
.container {
  width: 90%;
  margin: 0 auto;
  max-width: 100%;
  padding: 5px 0 0;
}

/* ── Main content area ──────────────────────────────────────── */
.content {
  background: #fff;
  float: left;
  width: 100%;
  margin: 0 0 10px 0;
}

/* ── Page layout: content col + sidebar ─────────────────────── */
.page-layout {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 10px 0;
}

.contentcol {
  flex: 1 1 auto;
  min-width: 0;
}

/* ── Quote form sidebar (desktop) ───────────────────────────── */
.quoteformcontainer {
  flex: 0 0 320px;
  max-width: 320px;
  text-align: center;
}

.quoteformcontainer h3 {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
  clear: none;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  padding: 8px 0;
  margin-bottom: 5px;
  list-style: none;
  background: transparent;
  font-size: 16px;
}

.breadcrumb-item { display: inline; }

.breadcrumb-item a { color: #0056b3; text-decoration: underline; }
.breadcrumb-item a:hover { text-decoration: underline; }

.breadcrumb-item + .breadcrumb-item::before {
  content: "»";
  display: inline-block;
  padding: 0 0.5em;
  color: #6c757d;
}

.breadcrumb-item.active { color: #333; font-weight: bold; }

/* ── Route Quick Facts box ──────────────────────────────────── */
.driver-insight {
  background-color: #f0f9ff;
  border-left: 5px solid #0066cc;
  padding: 20px;
  margin: 20px 0;
  border-radius: 4px;
}

.driver-insight h2 { margin-top: 0; }

.driver-insight table {
  width: 100%;
  border-collapse: collapse;
}

.driver-insight td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.driver-insight tr:last-child td { border-bottom: none; }

/* ── Mid CTA box ────────────────────────────────────────────── */
div.mid-cta {
  background: #f0f9ff;
  border: 2px solid #003087;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 24px 0;
  text-align: center;
  font-size: .97rem;
}

/* ── Pricing / rates table ──────────────────────────────────── */
table.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  margin: 12px 0 20px;
  background: #fff;
  font-size: 1em;
}

table.pricing-table thead tr {
  background-color: #00796b;
  color: #fff;
  text-align: left;
}

table.pricing-table th,
table.pricing-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  vertical-align: top;
}

table.pricing-table tbody tr:nth-child(even) { background: rgba(0,0,0,.02); }
table.pricing-table tbody tr:last-child td { border-bottom: none; }

.action-btn {
  display: inline-block;
  padding: 7px 12px;
  background-color: #00796b;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 5px;
  text-align: center;
  font-size: 0.9em;
  white-space: nowrap;
}

.action-btn:hover { background-color: #005f56; text-decoration: none !important; }

/* ── Bullet list ────────────────────────────────────────────── */
ul.list {
  list-style: none;
  margin: 0;
  padding: 12px 0 0 0;
}

ul.list li {
  position: relative;
  padding: 4px 0 4px 25px;
  font-size: 16px;
  line-height: 1.45;
}

ul.list li::before {
  content: '';
  display: block;
  position: absolute;
  border: 2px solid #004999;
  left: 5px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* ── Helpful links list ─────────────────────────────────────── */
ul.helpful-links {
  list-style: disc;
  padding-left: 20px;
  margin: 10px 0 0;
}

ul.helpful-links li { margin-bottom: 6px; font-size: 16px; line-height: 1.45; }

/* ── Float image utility (rates / logistics sections) ───────── */
.float-img-right {
  float: right;
  margin: 0 0 14px 20px;
  width: 300px;
  height: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.10);
  object-fit: cover;
}

/* Clearfix for float containers */
.cf::after { content: ''; display: block; clear: both; }

/* ── Mobile breadcrumb & quote form (shown only on mobile) ──── */
.mobile-breadcrumb-container,
.mobile-quote-form-container { display: none; }

/* ── Show / hide CTA helpers ────────────────────────────────── */
.mobile-only-cta,
h3.mobile-only-cta,
p.mobile-only-cta  { display: none !important; }

.desktop-only-cta,
h3.desktop-only-cta,
p.desktop-only-cta { display: inline-block !important; }

/* Final CTA paragraph — visually matches former h3 weight */
p.final-cta {
  font-size: 1.1em;
  font-weight: bold;
  line-height: 1.4;
  margin: 20px 0 10px;
  color: #222;
}

/* ── Footer ─────────────────────────────────────────────────── */
#footer {
  margin-top: 20px;
  background-color: #001f3f;
  padding: 20px 0;
  float: left;
  width: 100%;
  text-align: center;
}

#footer ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 90%;
}

#footer ul li {
  display: inline-block;
  border-right: 2px solid #9A9A9A;
}

#footer ul li:last-child { border-right: none; }

#footer ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-family: Calibri, sans-serif;
  display: inline-block;
  padding: 10px 12px;
}

#footer ul li a:hover { text-decoration: underline; color: #ccc; }

#footer p { color: #fff; text-align: center; padding: 10px 0; }
.mobile-footer-break { display: none; }
@media (max-width: 767px) {
  .mobile-footer-break { display: inline; }
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
════════════════════════════════════════════════════════════ */

/* ── Mobile: up to 767px ────────────────────────────────────── */
@media (max-width: 767px) {

  /* Hide phone CTA overlay on mobile */
  #header #call::after { content: ""; right: 0; }

  /* Hero image: fixed height, centered crop */
  #header .hero-media img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
  }

  /* Mobile title overlay: centered both axes, larger, stronger black outline */
  .hero-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
    width: 92%;
    text-align: center;
    font-size: 2em;
    line-height: 1.15;
    color: #fff;
    text-shadow:
      -3px -3px 0 #000,  3px -3px 0 #000,
      -3px  3px 0 #000,  3px  3px 0 #000,
      -3px  0   0 #000,  3px  0   0 #000,
       0   -3px 0 #000,  0    3px 0 #000,
      -2px -2px 0 #000,  2px -2px 0 #000,
      -2px  2px 0 #000,  2px  2px 0 #000,
      0 4px 14px rgba(0,0,0,.8);
  }

  #header #call::after { content: ""; }

  /* Stack page layout vertically */
  .page-layout { flex-direction: column; gap: 0; }

  .quoteformcontainer {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 10px 0;
  }

  /* Show mobile-specific elements */
  .mobile-breadcrumb-container,
  .mobile-quote-form-container {
    display: block;
    background: #fff;
    padding: 0 15px;
  }

  .mobile-breadcrumb-container { padding-bottom: 0; }
  .mobile-quote-form-container h3 { padding-top: 10px; margin-bottom: 16px; }

  /* Hide desktop-only elements */
  .desktop-breadcrumb,
  .desktop-quote-form { display: none; }

  /* Swap CTA links */
  .desktop-only-cta,
  h3.desktop-only-cta,
  p.desktop-only-cta { display: none !important; }

  .mobile-only-cta,
  h3.mobile-only-cta { display: block !important; padding: 10px 0; }

  /* Float images go full-width and stack */
  .float-img-right {
    float: none !important;
    display: block;
    width: 100%;
    height: auto;
    margin: 12px 0 !important;
  }

  /* Pricing table: stack columns */
  table.pricing-table { border: 0; border-radius: 0; }
  table.pricing-table thead { display: none; }
  table.pricing-table tr { display: block; margin-bottom: 0.6em; border-bottom: 2px solid #00796b; }
  table.pricing-table td {
    display: block;
    text-align: right;
    border-bottom: 1px dotted #ccc;
  }
  table.pricing-table td:last-child { border-bottom: 0; }
  table.pricing-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85em;
  }
  .action-btn { width: 100%; display: block; margin: 4px 0; box-sizing: border-box; }

  /* Driver insight table */
  .driver-insight table,
  .driver-insight tbody,
  .driver-insight tr,
  .driver-insight td { display: block; width: 100%; }
  .driver-insight tr { border-bottom: 1px solid #ddd; padding: 6px 0; }
  .driver-insight td { border-bottom: none; padding: 2px 0; }

  /* Typography */
  h1 { font-size: 1.6em; text-align: center; }
  h2 { font-size: 1.3em; text-align: center; line-height: 1.2em; }
  h3 { line-height: 1.2em; }
  p  { font-size: 1.05em; line-height: 1.4em; }

  ul.list li { font-size: 1em; padding-bottom: 6px; }

  /* Footer mobile */
  #footer ul { width: 100%; }
  #footer ul li {
    display: block;
    width: 100%;
    border-right: none;
  }
  #footer ul li a {
    display: block;
    padding: 14px 10px;
    font-size: 1.05em;
    text-align: center;
    border-bottom: 1px solid #4a4e8a;
  }
  #footer ul li:last-child a { border-bottom: none; }
}

/* ── Tablet: 768px – 930px ──────────────────────────────────── */
@media (min-width: 768px) and (max-width: 930px) {

  .hero-title-overlay { font-size: 2em; }
  #header #call::after { font-size: 2.5vw; }

  .page-layout { gap: 18px; }

  .quoteformcontainer {
    flex: 0 0 260px;
    max-width: 260px;
  }

  .quoteformcontainer iframe { width: 240px !important; }

  table.pricing-table th,
  table.pricing-table td { padding: 8px 10px; font-size: 0.92em; }
}

/* ── Large tablet / small desktop: 931px – 1050px ───────────── */
@media (min-width: 931px) and (max-width: 1050px) {

  .hero-title-overlay { font-size: 2.4em; }

  .quoteformcontainer {
    flex: 0 0 290px;
    max-width: 290px;
  }
}

/* ── Desktop: 1051px and above ──────────────────────────────── */
@media (min-width: 1051px) {

  .hero-title-overlay { font-size: 3em; }

  .quoteformcontainer {
    flex: 0 0 320px;
    max-width: 320px;
  }
}