/*
Theme Name: Report My Drive
Theme URI: https://reportmydrive.com/
Author: Idea Pro
Description: Custom marketing theme for Report My Drive.
Version: 0.1.0
Text Domain: reportmydrive
*/

:root {
  --rmd-navy: #06285f;
  --rmd-blue: #0b3b83;
  --rmd-green: #0db14b;
  --rmd-yellow: #f4c430;
  --rmd-ink: #102033;
  --rmd-muted: #64748b;
  --rmd-line: #dbe4ef;
  --rmd-soft: #f4f8fb;
  --rmd-white: #ffffff;
  --rmd-radius: 8px;
  --rmd-shadow: 0 18px 45px rgba(6, 40, 95, 0.12);
  --rmd-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rmd-white);
  color: var(--rmd-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.rmd-wrap {
  width: min(var(--rmd-max), calc(100% - 40px));
  margin: 0 auto;
}

.rmd-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 228, 239, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.rmd-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 82px;
}

.rmd-logo {
  display: inline-flex;
  align-items: center;
  width: 256px;
}

.rmd-logo img {
  width: 100%;
}

.rmd-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.rmd-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rmd-nav a {
  border-radius: 999px;
  color: #28415f;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 12px;
}

.rmd-nav a:hover,
.rmd-nav .current-menu-item > a {
  background: #e9f7ef;
  color: var(--rmd-navy);
}

.rmd-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.rmd-btn,
.rmd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  padding: 0 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.rmd-btn:hover,
.rmd-button:hover {
  transform: translateY(-1px);
}

.rmd-btn-primary {
  background: var(--rmd-green);
  color: var(--rmd-white);
  box-shadow: 0 12px 25px rgba(13, 177, 75, 0.22);
}

.rmd-btn-secondary {
  border-color: var(--rmd-line);
  background: var(--rmd-white);
  color: var(--rmd-navy);
}

.rmd-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 82px);
  background: linear-gradient(120deg, #06285f 0%, #0b3b83 100%);
  color: var(--rmd-white);
}

.rmd-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: linear-gradient(90deg, var(--rmd-green), var(--rmd-yellow), var(--rmd-blue));
}

.rmd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 56px 0 72px;
}

.rmd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #b7f4cf;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rmd-kicker::before {
  content: "";
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: var(--rmd-green);
}

.rmd-hero h1,
.rmd-page-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.rmd-hero p {
  max-width: 710px;
  margin: 24px 0 0;
  color: #dcecff;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

.rmd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.rmd-hero-actions .rmd-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--rmd-white);
}

.rmd-safety-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--rmd-radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--rmd-shadow);
  padding: 24px;
}

.rmd-report-card {
  border-radius: var(--rmd-radius);
  background: var(--rmd-white);
  color: var(--rmd-ink);
  overflow: hidden;
}

.rmd-report-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: #eef7f2;
}

.rmd-vehicle {
  color: var(--rmd-navy);
  font-weight: 900;
}

.rmd-scan-badge {
  border-radius: 999px;
  background: var(--rmd-green);
  color: var(--rmd-white);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 8px 10px;
  white-space: nowrap;
}

.rmd-report-card-body {
  padding: 18px;
}

.rmd-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.rmd-segmented span,
.rmd-field,
.rmd-upload {
  border: 1px solid var(--rmd-line);
  border-radius: var(--rmd-radius);
  background: #f8fbfd;
}

.rmd-segmented span {
  min-height: 42px;
  display: grid;
  place-items: center;
  color: var(--rmd-navy);
  font-weight: 900;
}

.rmd-segmented span:first-child {
  background: #e9f7ef;
  border-color: #b9ebcc;
}

.rmd-field {
  height: 104px;
  margin-bottom: 14px;
  padding: 14px;
  color: var(--rmd-muted);
}

.rmd-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  color: var(--rmd-navy);
  font-weight: 800;
}

.rmd-section {
  padding: 86px 0;
}

.rmd-section-soft {
  background: var(--rmd-soft);
}

.rmd-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.45fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.rmd-section-head h2,
.rmd-page-content h2 {
  margin: 0;
  color: var(--rmd-navy);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.rmd-section-head p,
.rmd-page-content > p,
.rmd-page-intro {
  margin: 0;
  color: var(--rmd-muted);
  font-size: 1.05rem;
}

.rmd-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rmd-card,
.rmd-step,
.rmd-price-panel,
.rmd-form-preview,
.rmd-feature-band {
  border: 1px solid var(--rmd-line);
  border-radius: var(--rmd-radius);
  background: var(--rmd-white);
  box-shadow: 0 10px 28px rgba(6, 40, 95, 0.06);
}

.rmd-card,
.rmd-step {
  padding: 24px;
}

.rmd-card h3,
.rmd-step h3,
.rmd-price-panel h3 {
  margin: 0 0 10px;
  color: var(--rmd-navy);
  font-size: 1.2rem;
}

.rmd-card p,
.rmd-step p,
.rmd-price-panel p,
.rmd-feature-band p {
  margin: 0;
  color: var(--rmd-muted);
}

.rmd-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e9f7ef;
  color: var(--rmd-green);
  font-weight: 1000;
}

.rmd-page-hero {
  padding: 72px 0 64px;
  background: linear-gradient(130deg, #eef7f2 0%, #f8fbfd 50%, #ffffff 100%);
}

.rmd-page-hero .rmd-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.45fr);
  gap: 42px;
  align-items: end;
}

.rmd-page-hero p {
  margin: 18px 0 0;
  color: var(--rmd-muted);
  font-size: 1.14rem;
}

.rmd-page-mark {
  justify-self: end;
  width: min(320px, 100%);
}

.rmd-page-content {
  padding: 76px 0;
}

.rmd-split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.52fr);
  gap: 34px;
  align-items: start;
}

.rmd-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.rmd-list li {
  position: relative;
  padding-left: 30px;
  color: #294057;
}

.rmd-list li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--rmd-green);
}

.rmd-feature-band {
  padding: 28px;
}

.rmd-feature-band strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rmd-navy);
  font-size: 1.1rem;
}

.rmd-form-preview {
  padding: 24px;
}

.rmd-form-preview label {
  display: block;
  margin-bottom: 7px;
  color: var(--rmd-navy);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rmd-input,
.rmd-textarea {
  width: 100%;
  border: 1px solid var(--rmd-line);
  border-radius: var(--rmd-radius);
  background: #f8fbfd;
  color: var(--rmd-muted);
  font: inherit;
  margin-bottom: 14px;
  padding: 12px 14px;
}

.rmd-textarea {
  min-height: 112px;
  resize: vertical;
}

.rmd-price-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px;
}

.rmd-contact-strip {
  background: var(--rmd-navy);
  color: var(--rmd-white);
  padding: 48px 0;
}

.rmd-contact-strip .rmd-wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.rmd-contact-strip h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.rmd-contact-strip p {
  max-width: 680px;
  margin: 8px 0 0;
  color: #cddff4;
}

.rmd-site-footer {
  border-top: 1px solid var(--rmd-line);
  background: #071d43;
  color: #d7e4f3;
  padding: 34px 0;
}

.rmd-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.rmd-footer-inner a {
  color: var(--rmd-white);
  font-weight: 800;
}

@media (max-width: 980px) {
  .rmd-header-inner {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }

  .rmd-logo {
    width: 230px;
  }

  .rmd-nav,
  .rmd-menu,
  .rmd-header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .rmd-hero,
  .rmd-hero-grid {
    min-height: auto;
  }

  .rmd-hero-grid,
  .rmd-page-hero .rmd-wrap,
  .rmd-section-head,
  .rmd-split,
  .rmd-price-panel {
    grid-template-columns: 1fr;
  }

  .rmd-grid-3 {
    grid-template-columns: 1fr;
  }

  .rmd-page-mark {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .rmd-wrap {
    width: min(100% - 28px, var(--rmd-max));
  }

  .rmd-hero h1,
  .rmd-page-hero h1 {
    font-size: 2.72rem;
  }

  .rmd-section,
  .rmd-page-content {
    padding: 56px 0;
  }

  .rmd-contact-strip .rmd-wrap,
  .rmd-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
