/* =====================================================================
   Budget Ride — Local Representative site
   Brand: Inter typeface, orange #FF7140, clean white, soft cards
   ===================================================================== */

:root {
  --orange: #FF7140;
  --orange-dark: #EA5C2B;
  --orange-press: #FF642F;
  --orange-soft: #FFF3ED;
  --orange-tint: #FFE7DB;

  --ink: #1e1e1e;
  --ink-soft: #3a3f47;
  --muted: #6b7280;
  --muted-2: #868686;

  --line: #e5e7eb;
  --line-2: #eef0f3;
  --bg: #ffffff;
  --bg-alt: #f9fafb;

  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 4px 16px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .04);
  --shadow-lg: 0 18px 48px rgba(255, 113, 64, .12), 0 6px 18px rgba(16, 24, 40, .06);

  --maxw: 1080px;
  --maxw-narrow: 760px;

  /* fluid section rhythm */
  --section-y: clamp(56px, 9vw, 104px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* belt-and-braces against horizontal scroll */
}

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

h1, h2, h3 {
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 800;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--orange-dark); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 32px);
  padding-right: clamp(20px, 5vw, 32px);
}
.container.narrow { max-width: var(--maxw-narrow); }

.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(32px, 5vw, 52px);
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 14px;
}

h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: clamp(19px, 2.4vw, 22px); }

.lead {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 19px);
  margin-top: 0;
}
.lead.center { text-align: center; }

/* Centered intro block (e.g. About) */
.about-center { text-align: center; }
.about-center .kicker { margin-bottom: 16px; }
.about-center h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
.about-center .lead { max-width: 640px; margin: 18px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  padding: 14px 26px;
  min-height: 48px;           /* comfortable tap target */
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .15s ease, transform .06s ease, box-shadow .15s ease;
  box-shadow: 0 6px 16px rgba(255, 113, 64, .25);
}
.btn:hover { background: var(--orange-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(255, 113, 64, .4); outline-offset: 2px; }

.btn-sm { padding: 10px 18px; min-height: 40px; font-size: 15px; box-shadow: 0 4px 10px rgba(255,113,64,.22); }
.btn-lg { padding: 16px 32px; min-height: 54px; font-size: 17px; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover { background: #fff; border-color: var(--orange); color: var(--orange-dark); }

.btn-on-dark {
  --btn-bg: #fff;
  --btn-fg: var(--orange-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.btn-on-dark:hover { background: #fff; color: var(--orange-press); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 30px; width: auto; }

/* ---------- Hero (minimal, centered) ---------- */
.hero {
  background: #fff;
  border-bottom: 1px solid var(--line-2);
}
.hero-inner {
  max-width: 840px;
  text-align: center;
  padding-top: clamp(64px, 11vw, 128px);
  padding-bottom: clamp(64px, 11vw, 128px);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 28px;
  padding: 6px 18px 6px 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.3;
  color: var(--ink-soft);
  white-space: nowrap;
}
.hero-pill-icon { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.hp-short { display: none; }

.hero h1 {
  font-size: clamp(34px, 5.6vw, 58px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.06;
  margin-bottom: 22px;
  text-wrap: balance;
}
.nowrap { white-space: nowrap; }
.hero-sub {
  margin: 0 auto 38px;
  max-width: 560px;
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: center;
}

/* Underlined text link CTA */
.btn-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid var(--ink);
  transition: color .15s ease, border-color .15s ease;
}
.btn-link:hover { color: var(--orange-dark); border-color: var(--orange); }


/* ---------- Cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
}
.card-grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

/* ---------- Check lists ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 9px 0 9px 34px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--orange-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23EA5C2B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.check-list.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
}

/* Soft callout note beneath a card's list */
.card-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  background: var(--orange-soft);
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- GoHighLevel form embed ---------- */
.form-embed {
  max-width: 660px;
  margin: 0 auto;
}
/* GHL injects an <iframe>; form_embed.js auto-sizes its height. */
.form-embed iframe {
  width: 100% !important;
  min-width: 100%;
  border: none;
  background: transparent;
}
/* Visible placeholder shown until the GHL embed code is pasted in. */
.embed-placeholder {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  padding: clamp(36px, 6vw, 56px) clamp(24px, 4vw, 36px);
  background: #fff;
  border: 2px dashed var(--orange-tint);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.embed-placeholder strong { font-size: 18px; color: var(--ink); }
.embed-placeholder span { color: var(--muted); font-size: 15px; }
.embed-placeholder code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  padding: 1px 6px;
  border-radius: 5px;
}

/* ---------- Custom confirmation ---------- */
.confirmation {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(36px, 6vw, 52px) clamp(24px, 4vw, 40px);
}
.confirmation-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
}
.confirmation h3 { font-size: clamp(20px, 3vw, 24px); }
.confirmation p { margin: 0 auto; max-width: 460px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 6vw, 56px);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 32px;
}
.footer-logo { height: 30px; width: auto; }
.footer-tagline { margin: 14px 0 0; color: var(--muted); font-size: 15px; max-width: 320px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.footer-links a:hover { color: var(--orange-dark); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
  padding: 22px 0 32px;
  border-top: 1px solid var(--line-2);
  margin-top: 8px;
}
.footer-bottom p { margin: 0; color: var(--muted-2); font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .check-list.two-col { grid-template-columns: 1fr; gap: 0; }
}

/* Hero pill: shorter label on phones so it stays a tidy single-line chip */
@media (max-width: 560px) {
  .hp-full { display: none; }
  .hp-short { display: inline; }
  .hero-pill { font-size: 13px; padding: 6px 16px 6px 6px; gap: 9px; }
  .hero-pill-icon { width: 26px; height: 26px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .card-grid.two { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; gap: 16px; }
  .brand-logo { height: 26px; }
  .btn-block-mobile { width: 100%; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .footer-inner { flex-direction: column; gap: 20px; }
  /* Drop the secondary "Learn More" link on phones — keep the primary CTA only */
  .hero-actions .btn-link { display: none; }
}

@media (max-width: 380px) {
  .header-inner { gap: 10px; }
  .btn-sm { padding: 9px 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
