/* ==========================================================================
   Arizona All Valley Impound — Redesign stylesheet
   ========================================================================== */

:root {
  --navy: #0c1f38;
  --navy-light: #16304f;
  --navy-lighter: #21436b;
  --red: #d91e2c;
  --red-dark: #a8121e;
  --cream: #f6f5f2;
  --gray: #f1f2f4;
  --border: #e3e5e9;
  --text: #1c2430;
  --text-muted: #5b6472;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(12, 31, 56, 0.08);
  --shadow-lg: 0 20px 50px rgba(12, 31, 56, 0.18);
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

* { box-sizing: border-box; }

.destroy-on-load, .cta, .cta span { display: none; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: var(--navy); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(217,30,44,0.3); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------------- Top utility bar ---------------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: #fff; }
.topbar .topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar .topbar-links span { opacity: 0.6; }

/* ---------------- Header / Nav ---------------- */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .wrap {
  display: flex;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.logo { flex: 0 0 auto; }
.logo img { max-width: 230px; }

nav#myHeader { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; }
nav#myHeader > ul { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
nav#myHeader > ul > li > a {
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--navy);
  padding: 6px 0 8px;
  transition: color 0.2s ease;
}
nav#myHeader > ul > li > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(.16,.84,.44,1);
}
nav#myHeader > ul > li > a:hover,
nav#myHeader > ul > li.active-menu > a {
  color: var(--red);
}
nav#myHeader > ul > li > a:hover::before,
nav#myHeader > ul > li.active-menu > a::before {
  transform: scaleX(1);
}
nav#myHeader ul li.nav-dropdown { position: relative; }
nav#myHeader ul li.nav-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  margin-top: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 200;
}
.dropdown-menu li {
  display: block;
  padding: 0;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  border-bottom: none;
  font-weight: 600;
  color: var(--navy);
}
.dropdown-menu li a:hover { background: var(--cream); color: var(--red); }
nav#myHeader ul li.nav-dropdown.open .dropdown-menu { display: block; }

nav a#pull {
  display: none;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--navy);
  padding: 10px 14px;
  border: 2px solid var(--navy);
  border-radius: 6px;
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
}
.header-cta .phone small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(115deg, var(--navy) 40%, var(--navy-light) 100%);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 70px;
  padding-bottom: 70px;
  min-height: 520px;
}
.hero-copy { color: var(--white); position: relative; z-index: 2; }
.hero-copy .eyebrow { color: #ff5a68; }
.hero-copy h1 {
  color: var(--white);
  font-size: 46px;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero-copy h1 span { color: #ff5a68; }
.hero-copy p {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.hero-badge strong { color: #fff; }

.hero-media {
  position: relative;
  z-index: 2;
}
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(217,30,44,0.25) 0%, rgba(217,30,44,0) 70%);
  z-index: 1;
  animation: heroGlowPulse 7s ease-in-out infinite;
}
@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
}

/* ---------------- Stat strip ---------------- */
.stat-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stat-strip .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.stat-strip .stat { text-align: center; flex: 1; min-width: 140px; }
.stat-strip .stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--red);
}
.stat-strip .stat span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ---------------- Section shell ---------------- */
.section { padding: 80px 0; }
.section-tight { padding: 60px 0; }
.section-gray { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--white); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 34px; font-weight: 800; line-height: 1.2; }
.section-head p { color: var(--text-muted); margin-top: 12px; font-size: 16px; }
.section-navy .section-head h2 { color: var(--white); }
.section-navy .section-head p { color: rgba(255,255,255,0.7); }

/* ---------------- Services grid ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .thumb { height: 190px; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-card .body { padding: 24px; }
.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--text-muted); margin: 0; }

/* ---------------- Why choose / feature list ---------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card { text-align: left; }
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(217,30,44,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; stroke: var(--red); transition: transform 0.3s ease; }
.feature-card:hover .feature-icon { background: rgba(217,30,44,0.2); }
.feature-card:hover .feature-icon svg { transform: scale(1.12) rotate(-6deg); }
.feature-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}
.section-navy .feature-card h4 { color: var(--white); }
.feature-card p { font-size: 14.5px; color: var(--text-muted); margin: 0; }
.section-navy .feature-card p { color: rgba(255,255,255,0.65); }

/* ---------------- Quick links ---------------- */
.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quicklink-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.quicklink-card:hover { border-color: var(--red); transform: translateY(-4px); }
.quicklink-card .eyebrow { display: block; margin-bottom: 6px; }
.quicklink-card h4 { font-size: 17px; margin-bottom: 16px; color: var(--navy); flex: 1 0 auto; }
.quicklink-card .btn { margin-top: auto; align-self: center; }

/* ---------------- Testimonials ---------------- */
.testim {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.testim .cont { position: relative; min-height: 190px; }
.testim .cont > div {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.testim .cont > div.active { display: block; opacity: 1; }
.testim .cont > div.inactive { display: none; }
.testim-quote-mark {
  font-family: var(--font-head);
  font-size: 60px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}
.testim p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin-bottom: 18px;
}
.testim h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.testim h2 span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.testim .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.testim .arrow:hover { background: var(--red); color: #fff; border-color: var(--red); }
.testim .arrow.left { left: -60px; }
.testim .arrow.right { right: -60px; }
.testim .dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.testim .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); cursor: pointer; }
.testim .dot.active { background: var(--red); }

/* ---------------- Trust badges ---------------- */
.badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.badges-row img { max-height: 68px; width: auto; filter: grayscale(15%); }

/* ---------------- Contact strip ---------------- */
.contact-strip {
  background: var(--navy);
  color: var(--white);
}
.contact-strip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.contact-strip .item { display: flex; align-items: center; gap: 14px; }
.contact-strip .item .icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(217,30,44,0.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-strip .icon svg { width: 20px; height: 20px; stroke: #ff5a68; }
.contact-strip .item small {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2px;
}
.contact-strip .item a, .contact-strip .item span.value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

/* ---------------- Footer ---------------- */
footer { background: #081527; color: rgba(255,255,255,0.7); }
footer .wrap { padding-top: 50px; padding-bottom: 30px; }
footer nav ul { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-bottom: 24px; }
footer nav ul li a { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.75); }
footer nav ul li a:hover { color: #fff; }
footer .copy { text-align: center; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ---------------- Inner page hero ---------------- */
.page-hero {
  background: linear-gradient(115deg, var(--navy) 40%, var(--navy-light) 100%);
  color: var(--white);
  padding: 56px 0;
}
.page-hero h1 {
  color: var(--white);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
}
.page-hero p {
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin-top: 12px;
  font-size: 16px;
}
.breadcrumb {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }

/* ---------------- Content panel (inner pages) ---------------- */
.content-panel {
  max-width: 900px;
  margin: 0 auto;
}
.content-panel > p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.panel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.panel-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
}
.panel-card .float-img {
  float: right;
  width: 220px;
  margin: 0 0 16px 24px;
  border-radius: var(--radius);
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 4px 0 16px 30px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(217,30,44,0.12);
  border: 2px solid var(--red);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.panel-cta { margin-top: 26px; }

/* ---------------- Callout box ---------------- */
.callout-box {
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  margin-bottom: 40px;
}
.callout-box .eyebrow { margin-bottom: 6px; }
.callout-box h2 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }

/* ---------------- Requirements grid ---------------- */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.requirements-grid .panel-card h3 { font-size: 18px; }
.requirements-grid .check-list li { font-size: 14.5px; }

/* ---------------- Location cards ---------------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.location-card .map-thumb { display: block; }
.location-card .map-thumb img { width: 100%; height: 170px; object-fit: cover; }
.location-card .map-embed { width: 100%; height: 220px; display: block; border: 4px solid var(--navy); }
.location-card .body { padding: 24px; }
.location-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.location-card p { font-size: 15px; color: var(--text-muted); margin: 4px 0; }
.location-card .phone-line { color: var(--navy); font-weight: 700; font-family: var(--font-head); font-size: 17px; margin-bottom: 8px; }

/* ---------------- Scroll reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(.16,.84,.44,1), transform 0.65s cubic-bezier(.16,.84,.44,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
  .hero-media { order: -1; }
  .services-grid, .feature-grid, .quicklinks-grid, .requirements-grid { grid-template-columns: repeat(2, 1fr); }
  .testim .arrow.left { left: -10px; }
  .testim .arrow.right { right: -10px; }
}

@media (max-width: 700px) {
  .topbar .topbar-links span:first-child { display: none; }
  nav a#pull { display: inline-block; }
  nav#myHeader > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 14px;
    box-shadow: var(--shadow);
  }
  .header-cta .phone-label { display: none; }
  .dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    margin-top: 4px;
    padding: 0 0 0 14px;
  }
  nav#myHeader ul li.nav-dropdown > a::after { display: none; }
  .hero-copy h1 { font-size: 32px; }
  .services-grid, .feature-grid, .quicklinks-grid, .requirements-grid, .locations-grid { grid-template-columns: 1fr; }
  .panel-card .float-img { float: none; width: 100%; margin: 0 0 16px; }
  .stat-strip .wrap { justify-content: flex-start; }
  .stat-strip .stat { flex: 0 0 45%; }
  .badges-row { gap: 30px; }
  .contact-strip .wrap { flex-direction: column; align-items: flex-start; }
}
