/*
Theme Name: ABC Auto Transport
Theme URI: https://abc-shipping.com/
Author: ABC Auto Transport
Description: Lightweight, accessible, conversion-focused theme for ABC Auto Transport.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: abc-auto-transport
*/

:root {
  --abc-navy: #071a35;
  --abc-blue: #0b4ea2;
  --abc-blue-2: #1265ca;
  --abc-red: #d9282f;
  --abc-red-dark: #b81e25;
  --abc-ink: #17243a;
  --abc-muted: #59677c;
  --abc-cloud: #f3f7fc;
  --abc-line: #dbe4ef;
  --abc-white: #fff;
  --abc-success: #176b45;
  --abc-shadow: 0 20px 55px rgba(7, 26, 53, .12);
  --abc-radius: 18px;
  --abc-wrap: min(1180px, calc(100% - 40px));
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--abc-ink);
  background: var(--abc-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--abc-blue);
  text-underline-offset: 3px;
}

a:hover { color: var(--abc-red-dark); }

button,
input,
select,
textarea { font: inherit; }

:focus-visible {
  outline: 3px solid #f6b600;
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.abc-wrap { width: var(--abc-wrap); margin-inline: auto; }

body.abc-site .elementor-location-header,
body.abc-site .elementor-location-footer {
  display: none !important;
}

body.abc-site .abc-hero h1 {
  color: #fff !important;
  font-family: inherit !important;
}

body.abc-site .abc-section h2,
body.abc-site .abc-section h3,
body.abc-site .abc-section h4 {
  color: var(--abc-navy) !important;
  font-family: inherit !important;
}

body.abc-site .abc-section-dark h2,
body.abc-site .abc-section-dark h3,
body.abc-site .abc-section-dark h4 {
  color: #fff !important;
}

.abc-skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 10000;
  padding: 10px 16px;
  color: #fff;
  background: var(--abc-navy);
  border-radius: 8px;
}

.abc-skip:focus { top: 12px; }

.abc-topbar {
  color: #e9f1fb;
  background: var(--abc-navy);
  font-size: 14px;
}

.abc-topbar .abc-wrap {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.abc-topbar a { color: #fff; font-weight: 750; text-decoration: none; }

.abc-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--abc-line);
  box-shadow: 0 8px 24px rgba(7, 26, 53, .06);
}

.admin-bar .abc-header { top: 32px; }

.abc-header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.abc-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--abc-navy);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-decoration: none;
}

.abc-brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--abc-blue), var(--abc-navy));
  border-radius: 13px;
  box-shadow: inset -4px -4px 0 rgba(217,40,47,.7);
  font-size: 17px;
  letter-spacing: -.06em;
}

.abc-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.abc-nav > a,
.abc-nav details > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  color: var(--abc-navy);
  border-radius: 9px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.abc-nav details > summary::-webkit-details-marker { display: none; }
.abc-nav details > summary::after { content: "▾"; margin-left: 7px; font-size: 12px; }
.abc-nav > a:hover,
.abc-nav details > summary:hover { background: var(--abc-cloud); color: var(--abc-blue); }

.abc-nav details { position: relative; }

.abc-nav-menu {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(2, minmax(175px, 1fr));
  gap: 4px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--abc-line);
  border-radius: 14px;
  box-shadow: var(--abc-shadow);
}

.abc-nav-menu a {
  padding: 9px 11px;
  color: var(--abc-ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.abc-nav-menu a:hover { background: var(--abc-cloud); color: var(--abc-blue); }
.abc-nav-menu.abc-nav-menu-small { min-width: 230px; grid-template-columns: 1fr; }

.abc-btn,
.abc-nav .abc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  color: #fff;
  background: linear-gradient(135deg, var(--abc-red), var(--abc-red-dark));
  border: 0;
  border-radius: 10px;
  box-shadow: 0 9px 24px rgba(217,40,47,.23);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.abc-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(217,40,47,.3);
}

.abc-btn-blue { background: linear-gradient(135deg, var(--abc-blue-2), var(--abc-blue)); box-shadow: 0 9px 24px rgba(11,78,162,.2); }
.abc-btn-light { color: var(--abc-navy); background: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,.35); }
.abc-btn-light:hover { color: var(--abc-navy); background: #f5f8fc; }

.abc-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  color: var(--abc-navy);
  background: var(--abc-cloud);
  border: 1px solid var(--abc-line);
  border-radius: 10px;
  font-size: 22px;
}

.abc-hero {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--abc-navy);
}

.abc-hero-media,
.abc-hero-media::after {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.abc-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.abc-hero-media::after {
  content: "";
  z-index: 0;
  background: linear-gradient(90deg, rgba(4,18,38,.96) 0%, rgba(6,28,58,.85) 42%, rgba(6,28,58,.25) 78%, rgba(6,28,58,.1) 100%);
}

.abc-hero-content { max-width: 690px; padding-block: 95px 110px; }

.abc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #bbd7ff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.abc-eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--abc-red); border-radius: 3px; }

h1,
h2,
h3,
h4 {
  margin: 0 0 .55em;
  color: var(--abc-navy);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.035em;
}

h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(31px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.4vw, 29px); }
h4 { font-size: 20px; }

.abc-hero h1 { color: #fff; max-width: 830px; }
.abc-hero p { max-width: 690px; margin: 0 0 28px; color: #eef5ff; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }

.abc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.abc-trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -46px;
}

.abc-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--abc-line);
  border-radius: var(--abc-radius);
  box-shadow: var(--abc-shadow);
  overflow: hidden;
}

.abc-trust-item {
  min-height: 105px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid var(--abc-line);
}

.abc-trust-item:last-child { border-right: 0; }
.abc-trust-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: var(--abc-blue); background: var(--abc-cloud); border-radius: 12px; font-size: 22px; }
.abc-trust-item strong { display: block; color: var(--abc-navy); line-height: 1.25; }
.abc-trust-item span { display: block; color: var(--abc-muted); font-size: 13px; line-height: 1.35; }

.abc-section { padding-block: 90px; }
.abc-section-soft { background: var(--abc-cloud); }
.abc-section-dark { color: #eaf2fd; background: var(--abc-navy); }
.abc-section-dark h2,
.abc-section-dark h3 { color: #fff; }

.abc-section-head { max-width: 790px; margin-bottom: 42px; }
.abc-section-head p { color: var(--abc-muted); font-size: 19px; }
.abc-section-dark .abc-section-head p { color: #c9d8ed; }

.abc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.abc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.abc-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.abc-media-card {
  overflow: hidden;
  border-radius: var(--abc-radius);
  box-shadow: var(--abc-shadow);
}

.abc-media-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.abc-media-card-spaced { margin-top: 22px; }

.abc-card {
  height: 100%;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--abc-line);
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(7,26,53,.06);
}

.abc-card p:last-child { margin-bottom: 0; }
.abc-card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, var(--abc-blue), var(--abc-navy)); border-radius: 13px; font-size: 23px; }

.abc-checklist { margin: 22px 0 0; padding: 0; list-style: none; }
.abc-checklist li { position: relative; padding: 8px 0 8px 32px; }
.abc-section-dark .abc-card .abc-checklist li {
  color: var(--abc-ink) !important;
}
.abc-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--abc-success);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.abc-process { counter-reset: abc-step; }
.abc-step { position: relative; padding: 31px 28px 28px 82px; background: #fff; border: 1px solid var(--abc-line); border-radius: 15px; }
.abc-step::before {
  counter-increment: abc-step;
  content: counter(abc-step);
  position: absolute;
  top: 28px;
  left: 25px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--abc-red);
  border-radius: 50%;
  font-weight: 900;
}

.abc-note {
  padding: 22px 24px;
  background: #fff8ea;
  border-left: 5px solid #f0a400;
  border-radius: 10px;
}

.abc-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.abc-link-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 18px;
  color: var(--abc-navy);
  background: #fff;
  border: 1px solid var(--abc-line);
  border-radius: 11px;
  font-weight: 800;
  text-decoration: none;
}
.abc-link-grid a::after { content: "→"; color: var(--abc-red); }
.abc-link-grid a:hover { border-color: #9cb9de; color: var(--abc-blue); }

.abc-longform { content-visibility: auto; contain-intrinsic-size: 1px 5000px; }
.abc-prose-wide { max-width: 900px; }
.abc-guide-section { padding-top: 24px; scroll-margin-top: 120px; }
.abc-guide-section + .abc-guide-section { margin-top: 24px; border-top: 1px solid var(--abc-line); }
.abc-guide-section h2 { font-size: clamp(25px, 3vw, 36px); }
.abc-toc {
  max-width: 900px;
  margin: 0 0 42px;
  padding: 26px 28px;
  background: var(--abc-cloud);
  border: 1px solid var(--abc-line);
  border-radius: 15px;
}
.abc-toc strong { display: block; margin-bottom: 12px; color: var(--abc-navy); font-size: 20px; }
.abc-toc ul { columns: 2; gap: 35px; margin: 0; padding-left: 20px; }
.abc-toc li { margin-bottom: 8px; break-inside: avoid; }
.abc-blog-hero { padding-block: 72px; background: linear-gradient(135deg, var(--abc-cloud), #fff); }
.abc-blog-hero h1 { color: var(--abc-navy); }
.abc-blog-hero p { font-size: 20px; color: var(--abc-muted); }
.abc-blog-grid .abc-card h2 { font-size: 23px; }
.abc-article-image { margin: 34px 0; }
.abc-cta a:not(.abc-btn) { color: #fff; text-decoration: underline; }

.abc-faq { max-width: 900px; }
.abc-faq details { margin-bottom: 12px; background: #fff; border: 1px solid var(--abc-line); border-radius: 12px; overflow: hidden; }
.abc-faq summary { position: relative; padding: 20px 54px 20px 21px; color: var(--abc-navy); font-weight: 850; cursor: pointer; list-style: none; }
.abc-faq summary::-webkit-details-marker { display: none; }
.abc-faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 28px; color: var(--abc-blue); }
.abc-faq details[open] summary::after { content: "−"; }
.abc-faq-answer { padding: 0 21px 20px; color: var(--abc-muted); }

.abc-cta {
  position: relative;
  overflow: hidden;
  padding: 56px;
  color: #fff;
  background: linear-gradient(135deg, var(--abc-blue) 0%, var(--abc-navy) 72%);
  border-radius: 24px;
  box-shadow: var(--abc-shadow);
}

.abc-cta::after { content: ""; position: absolute; width: 220px; height: 220px; right: -65px; top: -90px; border: 35px solid rgba(255,255,255,.07); border-radius: 50%; }
.abc-cta h2 { color: #fff; max-width: 720px; }
.abc-cta p { max-width: 720px; color: #d8e6f7; font-size: 19px; }
.abc-cta .abc-hero-actions { position: relative; z-index: 2; }

.abc-form {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--abc-line);
  border-radius: var(--abc-radius);
  box-shadow: var(--abc-shadow);
}

.abc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.abc-form-field { display: flex; flex-direction: column; gap: 7px; }
.abc-form-field-full { grid-column: 1 / -1; }
.abc-form label { color: var(--abc-navy); font-size: 14px; font-weight: 800; }
.abc-form input,
.abc-form select,
.abc-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  color: var(--abc-ink);
  background: #fff;
  border: 1px solid #b7c6d9;
  border-radius: 9px;
}
.abc-form textarea { min-height: 140px; resize: vertical; }
.abc-form input:focus,
.abc-form select:focus,
.abc-form textarea:focus { border-color: var(--abc-blue); box-shadow: 0 0 0 3px rgba(11,78,162,.12); outline: 0; }
.abc-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--abc-muted); }
.abc-consent input { width: 18px; min-height: 18px; margin-top: 3px; }
.abc-form-status { padding: 14px 16px; margin-bottom: 20px; border-radius: 9px; }
.abc-form-status-success { color: #0c5534; background: #e5f7ee; border: 1px solid #a9dcc3; }
.abc-form-status-error { color: #8a161b; background: #fff0f1; border: 1px solid #efb7ba; }

.abc-breadcrumbs { padding-block: 15px; color: var(--abc-muted); background: var(--abc-cloud); border-bottom: 1px solid var(--abc-line); font-size: 14px; }
.abc-breadcrumbs a { color: var(--abc-blue); text-decoration: none; }
.abc-prose > *:first-child { margin-top: 0; }
.abc-prose p { margin: 0 0 1.25em; }
.abc-prose a { font-weight: 700; }

.abc-footer {
  margin-top: 90px;
  color: #c6d3e4;
  background: #041326;
}

.abc-footer-main { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 42px; padding-block: 70px 45px; }
.abc-footer .abc-brand { color: #fff; }
.abc-footer h3 { color: #fff; font-size: 17px; letter-spacing: 0; }
.abc-footer p { font-size: 14px; }
.abc-footer-links { margin: 0; padding: 0; list-style: none; }
.abc-footer-links li { margin-bottom: 8px; }
.abc-footer-links a { color: #c6d3e4; text-decoration: none; font-size: 14px; }
.abc-footer-links a:hover { color: #fff; }
.abc-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

@media (max-width: 980px) {
  .admin-bar .abc-header { top: 46px; }
  .abc-menu-toggle { display: inline-grid; place-items: center; }
  .abc-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 120px);
    overflow: auto;
    padding: 15px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--abc-line);
    box-shadow: var(--abc-shadow);
  }
  .abc-nav.is-open { display: grid; }
  .abc-nav > a,
  .abc-nav details > summary { width: 100%; }
  .abc-nav-menu { position: static; min-width: 0; margin: 5px 0 8px; grid-template-columns: 1fr; box-shadow: none; }
  .abc-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .abc-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .abc-trust-item:nth-child(2) { border-right: 0; }
  .abc-trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--abc-line); }
  .abc-footer-main { grid-template-columns: 1.3fr 1fr; }
}

@media (max-width: 760px) {
  :root { --abc-wrap: min(100% - 28px, 1180px); }
  body { font-size: 16px; }
  .abc-topbar .abc-wrap { justify-content: center; text-align: center; }
  .abc-topbar .abc-topbar-note { display: none; }
  .abc-brand-text { max-width: 150px; line-height: 1.05; }
  .abc-hero { min-height: 560px; }
  .abc-hero-content { padding-block: 80px 100px; }
  .abc-hero-media::after { background: linear-gradient(90deg, rgba(4,18,38,.96), rgba(6,28,58,.72)); }
  .abc-section { padding-block: 66px; }
  .abc-grid-2,
  .abc-grid-3,
  .abc-grid-4,
  .abc-link-grid,
  .abc-form-grid { grid-template-columns: 1fr; }
  .abc-grid-2 { gap: 34px; }
  .abc-trust-strip { margin-top: -30px; }
  .abc-trust-grid { grid-template-columns: 1fr; }
  .abc-trust-item { min-height: 85px; border-right: 0; border-bottom: 1px solid var(--abc-line); }
  .abc-trust-item:last-child { border-bottom: 0; }
  .abc-form-field-full { grid-column: auto; }
  .abc-cta { padding: 38px 26px; }
  .abc-toc ul { columns: 1; }
  .abc-footer-main { grid-template-columns: 1fr; }
  .abc-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
