/* ============================================================
   RED MILE — CONVERSION ELEMENTS CSS
   Upload to /css/rml-conversion.css
   Link in all pages: <link href="/css/rml-conversion.css" rel="stylesheet"/>
   ============================================================ */

:root {
  --rml-red: #e41d37;
  --rml-red-dark: #bd1028;
  --rml-dark: #1a1a2e;
  --rml-gray: #6b7280;
  --rml-light: #f8f9fa;
  --rml-border: #e5e7eb;
}

/* ============================================================
   STATS STRIP — dark banner with key numbers
   ============================================================ */
.rml-stats-strip {
  background: var(--rml-dark);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.rml-stat-label {
  color: var(--rml-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.rml-stat-value {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.rml-stat-sub {
  color: #9ca3af;
  font-size: 12px;
  margin-top: 4px;
}

/* ============================================================
   MID CTA PANEL — red gradient booking panel
   ============================================================ */
.rml-mid-cta {
  background: linear-gradient(135deg, var(--rml-red) 0%, var(--rml-red-dark) 100%);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.rml-mid-cta-label {
  color: rgba(255,255,255,.8);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.rml-mid-cta-title {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.rml-mid-cta-sub {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  margin-top: 6px;
}

.rml-mid-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  min-width: 180px;
}

.rml-mid-cta-btn-primary {
  background: #fff;
  color: var(--rml-red);
  font-size: 14px;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  display: block;
  transition: background .18s;
}

.rml-mid-cta-btn-primary:hover {
  background: #f5f5f5;
  color: var(--rml-red);
}

.rml-mid-cta-btn-secondary {
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.3);
  display: block;
  transition: background .18s;
}

.rml-mid-cta-btn-secondary:hover {
  background: rgba(255,255,255,.25);
  color: #fff;
}

/* ============================================================
   FLEET GRID — vehicle cards
   ============================================================ */
.rml-fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.rml-fleet-card {
  background: #fff;
  border: 1.5px solid var(--rml-border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}

.rml-fleet-card:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,.12);
  transform: translateY(-3px);
}

.rml-fleet-card--featured {
  border-color: var(--rml-red);
  border-width: 2px;
}

.rml-fleet-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--rml-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
  z-index: 2;
}

.rml-fleet-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f3f4f6;
}

.rml-fleet-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rml-fleet-body {
  padding: 18px;
}

.rml-fleet-name {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 10px;
  line-height: 1.3;
}

.rml-fleet-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.rml-fleet-specs span {
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.rml-fleet-desc {
  font-size: 13px;
  color: var(--rml-gray);
  line-height: 1.55;
  margin: 0 0 12px;
}

.rml-fleet-best {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--rml-red);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
}

.rml-fleet-btn {
  display: block;
  background: var(--rml-red);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: background .18s;
}

.rml-fleet-btn:hover {
  background: var(--rml-red-dark);
  color: #fff;
}

.rml-fleet-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--rml-gray);
  margin: 8px 0 28px;
  flex-wrap: wrap;
}

.rml-fleet-cta a {
  color: var(--rml-red);
  font-weight: 700;
  text-decoration: none;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.rml-compare-table {
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--rml-border);
  margin: 24px 0;
  font-size: 13.5px;
}

.rml-compare-header,
.rml-compare-row {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr 1fr;
  align-items: center;
}

.rml-compare-header {
  background: #f8f9fa;
  font-weight: 800;
  font-size: 13px;
}

.rml-compare-header > div,
.rml-compare-row > div {
  padding: 13px 14px;
  border-right: 1px solid var(--rml-border);
}

.rml-compare-header > div:last-child,
.rml-compare-row > div:last-child {
  border-right: 0;
}

.rml-compare-row {
  border-top: 1px solid var(--rml-border);
}

.rml-compare-row:nth-child(even) {
  background: #fafafa;
}

.rml-compare-label {
  font-weight: 600;
  color: #374151;
}

.rml-compare-winner {
  background: #fff5f6 !important;
  color: var(--rml-red);
  font-weight: 700;
  text-align: center;
}

.rml-compare-col {
  text-align: center;
  color: var(--rml-gray);
  font-size: 12.5px;
  line-height: 1.3;
}

.rml-yes { color: #16a34a; font-size: 14px; }
.rml-no  { color: #dc2626; font-size: 14px; }

/* ============================================================
   AUDIENCE GRID — who we transfer
   ============================================================ */
.rml-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 28px;
}

.rml-audience-card {
  background: var(--rml-light);
  border-radius: 14px;
  padding: 22px 18px;
  border-top: 3px solid var(--rml-red);
}

.rml-audience-icon {
  font-size: 22px;
  color: var(--rml-red);
  margin-bottom: 10px;
}

.rml-audience-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px;
}

.rml-audience-card p {
  font-size: 13px;
  color: var(--rml-gray);
  line-height: 1.55;
  margin: 0 0 14px;
}

.rml-audience-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--rml-red);
  text-decoration: none;
}

.rml-audience-link:hover {
  text-decoration: underline;
}

/* ============================================================
   WHY CHOOSE BLOCK
   ============================================================ */
.rml-why-block {
  background: var(--rml-light);
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}

.rml-why-block h2 {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 20px;
}

.rml-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rml-why-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  border-left: 4px solid var(--rml-red);
}

.rml-why-card span {
  font-size: 20px;
  display: block;
  margin-bottom: 8px;
}

.rml-why-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 5px;
}

.rml-why-card p {
  font-size: 13px;
  color: var(--rml-gray);
  line-height: 1.5;
  margin: 0;
}

.rml-why-cta {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.rml-why-cta span {
  color: var(--rml-gray);
  font-size: 14px;
}

.rml-why-cta a:not(.rml-btn) {
  color: var(--rml-red);
  font-weight: 700;
  text-decoration: none;
}

/* ============================================================
   CTA CARD BUTTONS
   ============================================================ */
.rml-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.rml-cta-call {
  color: var(--rml-red);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Distance list in highlight text */
.rml-distance-list {
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 14px;
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .rml-fleet-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rml-audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rml-why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rml-compare-header,
  .rml-compare-row {
    grid-template-columns: 2fr 1.2fr 0.9fr 0.9fr;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Stats strip — 2x2 grid */
  .rml-stats-strip {
    grid-template-columns: 1fr 1fr;
    padding: 20px 18px;
    gap: 16px;
  }

  .rml-stat-value {
    font-size: 20px;
  }

  /* Mid CTA — stack vertically */
  .rml-mid-cta {
    flex-direction: column;
    padding: 22px 20px;
    text-align: center;
    gap: 18px;
  }

  .rml-mid-cta-actions {
    width: 100%;
    min-width: 0;
  }

  .rml-mid-cta-btn-primary,
  .rml-mid-cta-btn-secondary {
    width: 100%;
    box-sizing: border-box;
  }

  .rml-mid-cta-title {
    font-size: 17px;
  }

  /* Fleet — single column */
  .rml-fleet-grid {
    grid-template-columns: 1fr;
  }

  .rml-fleet-img-wrap {
    height: 200px;
  }

  .rml-fleet-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Comparison table — hide last column, simplify */
  .rml-compare-header,
  .rml-compare-row {
    grid-template-columns: 1.8fr 1.2fr 1fr;
  }

  /* Hide shared shuttle column on very small screens */
  .rml-compare-header > div:last-child,
  .rml-compare-row > div:last-child {
    display: none;
  }

  .rml-compare-header > div,
  .rml-compare-row > div {
    padding: 10px 10px;
    font-size: 12.5px;
  }

  /* Audience grid — single column */
  .rml-audience-grid {
    grid-template-columns: 1fr;
  }

  /* Why grid — single column */
  .rml-why-grid {
    grid-template-columns: 1fr;
  }

  .rml-why-block {
    padding: 22px 18px;
  }

  /* Hero actions */
  .rml-hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .rml-hero-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Summary 2x2 */
  .rml-summary {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Hub grid single col */
  .rml-hub-grid {
    grid-template-columns: 1fr !important;
  }

  /* CTA card stack */
  .rml-cta-card {
    flex-direction: column !important;
  }

  .rml-cta-btns {
    align-items: stretch;
    width: 100%;
  }

  .rml-cta-btns .rml-btn {
    text-align: center;
  }

  /* Gallery */
  .rml-gallery {
    grid-template-columns: 1fr !important;
  }

  /* Why CTA */
  .rml-why-cta {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .rml-why-cta .rml-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {

  /* Stats strip — 2x2 even on tiny screens */
  .rml-stats-strip {
    grid-template-columns: 1fr 1fr;
    padding: 16px 14px;
    gap: 12px;
  }

  .rml-stat-value {
    font-size: 18px;
  }

  .rml-stat-label {
    font-size: 10px;
  }

  /* Mid CTA tighter */
  .rml-mid-cta {
    padding: 18px 16px;
  }

  .rml-mid-cta-title {
    font-size: 16px;
  }

  /* Compare table scroll */
  .rml-compare-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .rml-compare-header,
  .rml-compare-row {
    min-width: 480px;
    grid-template-columns: 1.8fr 1.2fr 1fr 1fr;
  }

  /* Show all columns with scroll */
  .rml-compare-header > div:last-child,
  .rml-compare-row > div:last-child {
    display: block;
  }

  /* Fleet image shorter */
  .rml-fleet-img-wrap {
    height: 160px;
  }
}

/* ============================================================
   INFO GRID — 4 fact cards
   ============================================================ */
.rml-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0 28px;
}

.rml-info-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--rml-light);
  border-radius: 12px;
  padding: 16px 18px;
  border-left: 4px solid var(--rml-red);
}

.rml-info-icon {
  color: var(--rml-red);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.rml-info-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 5px;
}

.rml-info-card p {
  font-size: 13px;
  color: var(--rml-gray);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   TWO COLUMN — included + distances side by side
   ============================================================ */
.rml-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 24px 0 32px;
  align-items: start;
}

.rml-two-col h2 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 14px;
  color: #111827;
}

.rml-distance-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.rml-distance-list li {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.4;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rml-border);
}

.rml-distance-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rml-distance-list strong {
  display: block;
  color: #111827;
  font-weight: 700;
  margin-top: 2px;
}

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 768px) {

  .rml-info-grid {
    grid-template-columns: 1fr;
  }

  .rml-two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {

  .rml-info-grid {
    grid-template-columns: 1fr;
  }
}