/* ==========================================================================
   24/7 Rapid Towing - Mobile-First Landing Page for Google RSA Call Ads
   Every style defaults to mobile. Desktop styles scale up via min-width.
   ========================================================================== */

:root {
  --red: #ec2026;
  --red-dark: #bb1c20;
  --black: #182433;
  --dark: #2a2a2a;
  --gray: #4a4a4a;
  --light: #f5f5f5;
  --white: #ffffff;
  --text: rgba(60, 72, 84, 0.85);
  --gold: #f5a623;

  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', var(--font);

  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(236, 32, 38, 0.15);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; -webkit-touch-callout: none; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-heading); color: var(--black); line-height: 1.15; font-weight: 700; }
strong { font-weight: 700; }

.container { width: 100%; max-width: 440px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-align: center;
  -webkit-appearance: none;
  min-height: 52px;
  padding: 14px 24px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:active { transform: scale(0.97); }
.btn svg { flex-shrink: 0; }

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--cta {
  background: var(--red);
  color: var(--white);
  font-size: 18px;
  width: 100%;
  padding: 18px 24px;
  min-height: 58px;
  border-radius: 10px;
  box-shadow: 0 4px 0 var(--red-dark), 0 6px 20px rgba(236,32,38,0.35);
}

.btn--cta:active {
  box-shadow: 0 2px 0 var(--red-dark), 0 3px 10px rgba(236,32,38,0.25);
  transform: translateY(2px);
}

.btn--cta-white {
  background: var(--white);
  color: var(--red);
  font-size: 18px;
  font-weight: 800;
  width: 100%;
  padding: 18px 24px;
  min-height: 58px;
  border-radius: 10px;
  box-shadow: 0 4px 0 #ccc, 0 6px 20px rgba(0,0,0,0.25);
}

.btn--cta-white:active {
  box-shadow: 0 2px 0 #ccc, 0 3px 10px rgba(0,0,0,0.15);
  transform: translateY(2px);
}

.btn--pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 0 #ccc, 0 6px 20px rgba(0,0,0,0.25); }
  50% { box-shadow: 0 4px 0 #ccc, 0 6px 30px rgba(236,32,38,0.5); }
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: #000;
  color: var(--white);
  text-align: center;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.top-bar__status { color: #4ade80; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,0.1);
  padding: 6px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img { height: 44px; width: auto; }

.header__cta {
  font-size: 14px;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 6px;
  gap: 6px;
}

.header__cta-text { display: inline; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 32px 0 40px;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: #111 url('https://247rapidtowingcom.swipepages.media/2025/3/674de68e0df1130011ff8bb5/unsplash-m49tcjja8qm-750.jpg') center center / cover no-repeat;
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}

.hero__content { position: relative; z-index: 2; }

.hero__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.hero__title {
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.hero__cash {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #4ade80;
  margin-bottom: 6px;
}

.hero__cash strong {
  color: var(--white);
  font-size: 26px;
}

.hero__tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}

.hero__stars {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 18px;
}

.hero__stars .stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 1px;
  margin-right: 4px;
}

.hero__btn { margin-bottom: 10px; }

.hero__sms {
  margin-bottom: 16px;
}

.hero__sms a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.hero__pill {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 4px;
}

.hero__urgency {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ---------- Trust Badges ---------- */
.trust-badges {
  background: var(--white);
  padding: 16px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.trust-badges__scroll {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  min-width: min-content;
}

.trust-badges__scroll img {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.8;
}

/* ---------- Scrolling Ticker ---------- */
.ticker {
  background: var(--red);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker__track {
  display: inline-flex;
  animation: ticker-scroll 25s linear infinite;
}

.ticker__track span {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 24px;
  position: relative;
}

.ticker__track span::after {
  content: '\2022';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Section Title ---------- */
.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
}

.section-title--light { color: var(--white); }

/* ---------- How It Works ---------- */
.how-it-works {
  background: var(--light);
  padding: 48px 0;
  text-align: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.steps__item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.steps__number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.steps__item h3 { font-size: 18px; margin-bottom: 6px; }
.steps__item p { font-size: 14px; color: var(--gray); line-height: 1.45; }
.steps__cta { margin-top: 4px; }

/* ---------- Recent Payouts ---------- */
.payouts {
  background: var(--white);
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.payouts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payouts__card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 1px solid #e5e5e5;
}

.payouts__amount {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #16a34a;
}

.payouts__car {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

.payouts__city {
  font-size: 12px;
  color: var(--gray);
}

/* ---------- About (condensed) ---------- */
.about {
  background: var(--white);
  padding: 40px 0;
}

.about__headline {
  text-align: center;
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.about .btn { margin-top: 8px; }

.about__areas-card {
  background: var(--red-dark);
  color: var(--white);
  padding: 24px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  text-align: center;
}

.about__areas-card h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 12px;
}

.about__areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.about__areas-list span {
  background: rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Services Checklist ---------- */
.services {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
}

.services__bg {
  position: absolute;
  inset: 0;
  background: var(--dark);
  z-index: 0;
}

.services__inner { position: relative; z-index: 2; }

.checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.checklist__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #16a34a;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: 48px 0;
  text-align: center;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background: #111 url('https://247rapidtowingcom.swipepages.media/2025/1/674de68e0df1130011ff8bb5/unsplash-uxovudfkhuy-750.jpg') center center / cover no-repeat;
  z-index: 0;
}

.cta-banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.78);
}

.cta-banner__inner { position: relative; z-index: 2; }

.cta-banner__inner h2 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-banner__sub {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- Why Us ---------- */
.why-us {
  background: var(--dark);
  padding: 48px 0;
}

.why-us__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-us__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 16px;
}

.why-us__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-top: 2px;
}

.why-us__card h3 { font-size: 16px; color: var(--white); margin-bottom: 4px; }
.why-us__card p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.45; }

/* ---------- Info Section ---------- */
.info-section {
  background: var(--dark);
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.info-section__eyebrow {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 4px;
}

.info-section .section-title { color: var(--white); }
.info-section p { color: rgba(255,255,255,0.8); margin-bottom: 14px; }

.info-section__img {
  width: 100%;
  border-radius: var(--radius);
  margin: 20px 0;
  box-shadow: 6px 6px 0 var(--red);
}

.info-section .btn { margin-top: 4px; }

/* ---------- Testimonials ---------- */
.testimonials {
  background: linear-gradient(135deg, #000 0%, #5e0e0f 100%);
  padding: 48px 0;
  overflow: hidden;
}

.testimonials__eyebrow {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  text-align: center;
  margin-bottom: 28px;
}

.testimonials__slider { position: relative; overflow: hidden; }
.testimonials__track { display: flex; transition: transform 0.4s ease; }

.testimonials__slide {
  min-width: 100%;
  padding: 0 8px;
  text-align: center;
}

.testimonials__stars {
  color: var(--gold);
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.testimonials__quote {
  font-size: 15px;
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
  margin-bottom: 20px;
}

.testimonials__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonials__author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonials__author strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  text-align: left;
}

.testimonials__author span {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  text-align: left;
  display: block;
}

.testimonials__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.testimonials__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-clip: content-box;
  border: 16px solid transparent;
}

.testimonials__dot.active {
  background: var(--white);
  background-clip: content-box;
  border: 16px solid transparent;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--light);
  padding: 48px 0;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e5e5e5;
  overflow: hidden;
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  min-height: 52px;
  -webkit-appearance: none;
  gap: 12px;
}

.faq__q::after {
  content: '+';
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq__item.open .faq__q::after {
  content: '\2212';
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray);
}

.faq__item.open .faq__a {
  max-height: 200px;
  padding: 0 16px 16px;
}

/* ---------- Final CTA ---------- */
.cta-final {
  position: relative;
  padding: 56px 0;
  text-align: center;
  overflow: hidden;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
  background: #111 url('https://247rapidtowingcom.swipepages.media/2025/1/674de68e0df1130011ff8bb5/unsplash-uxovudfkhuy-750.jpg') center center / cover no-repeat;
  z-index: 0;
}

.cta-final__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

.cta-final__inner { position: relative; z-index: 2; }

.cta-final__inner h2 {
  font-size: 30px;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-final__inner > p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-bottom: 24px;
}

.cta-final__sms {
  margin-top: 12px;
}

.cta-final__sms a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-final__badges {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */
.footer {
  background: #111;
  padding: 32px 0 100px;
  text-align: center;
  border-top: 3px solid var(--red);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer__inner img { height: 50px; width: auto; margin-bottom: 4px; }
.footer__inner p { color: rgba(255,255,255,0.4); font-size: 12px; }

/* ---------- Sticky Bottom CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  padding: 16px 20px;
  border-radius: 10px;
  min-height: 54px;
  box-shadow: 0 0 20px rgba(236,32,38,0.4);
}

.sticky-cta__btn:active { background: var(--red-dark); }

/* ==========================================================================
   TABLET+ (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
  .container { max-width: 700px; }

  .header__logo img { height: 56px; }
  .header__cta { font-size: 15px; padding: 12px 24px; }

  .hero { padding: 60px 0 70px; }
  .hero__title { font-size: 50px; }
  .hero__cash { font-size: 28px; }
  .hero__cash strong { font-size: 32px; }
  .hero__tagline { font-size: 20px; }
  .hero__bg { background-image: url('https://247rapidtowingcom.swipepages.media/2025/3/674de68e0df1130011ff8bb5/unsplash-m49tcjja8qm-1500.jpg'); }

  .trust-badges { overflow: hidden; }
  .trust-badges__scroll { justify-content: center; flex-wrap: wrap; }
  .trust-badges__scroll img { height: 48px; }

  .section-title { font-size: 34px; }

  .steps { flex-direction: row; gap: 16px; }
  .steps__item { flex: 1; }

  .payouts__grid { grid-template-columns: repeat(4, 1fr); }

  .btn--cta, .btn--cta-white { max-width: 420px; margin-left: auto; margin-right: auto; display: flex; }

  .about__areas-list { gap: 10px; }

  .checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .why-us__grid { flex-direction: row; gap: 20px; }
  .why-us__card { flex: 1; flex-direction: column; text-align: center; align-items: center; }

  .faq__list { max-width: 600px; margin: 0 auto; }

  .footer { padding-bottom: 40px; }
  .sticky-cta { display: none; }
}

/* ==========================================================================
   DESKTOP (min-width: 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .container { max-width: 1100px; }

  .header__logo img { height: 60px; }

  .hero { padding: 80px 0 100px; }
  .hero__title { font-size: 58px; }
  .hero__cash { font-size: 32px; }
  .hero__cash strong { font-size: 38px; }
  .hero__tagline { font-size: 24px; }
  .hero__bg { background-image: url('https://247rapidtowingcom.swipepages.media/2025/3/674de68e0df1130011ff8bb5/unsplash-m49tcjja8qm-2500.jpg'); }

  .how-it-works { padding: 64px 0; }
  .payouts { padding: 64px 0; }
  .about { padding: 56px 0; }
  .services { padding: 56px 0; }
  .cta-banner { padding: 64px 0; }
  .why-us { padding: 64px 0; }
  .info-section { padding: 64px 0; }
  .testimonials { padding: 64px 0; }
  .faq { padding: 64px 0; }
  .cta-final { padding: 80px 0; }

  .section-title { font-size: 40px; }
  .cta-banner__inner h2 { font-size: 36px; }
  .cta-final__inner h2 { font-size: 38px; }

  .trust-badges__scroll img { height: 56px; }

  .checklist {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .why-us__card { padding: 32px 24px; }
  .why-us__card h3 { font-size: 20px; }
  .why-us__card p { font-size: 15px; }

  .info-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    text-align: left;
    align-items: center;
  }
  .info-section__eyebrow { grid-column: 1; }
  .info-section .section-title { grid-column: 1; }
  .info-section p { grid-column: 1; }
  .info-section .btn { grid-column: 1; justify-self: start; width: auto; max-width: none; }
  .info-section__img { grid-column: 2; grid-row: 1 / -1; }

  .testimonials__quote { font-size: 18px; }
}
