/* =========================================================
   Muck'n'Ride — Landing Pages
   Shared stylesheet
   ========================================================= */

:root {
  --color-bg:        #ffffff;
  --color-surface:   #f6f7f5;
  --color-ink:       #1a2421;
  --color-ink-soft:  #4a5550;
  --color-muted:     #7d8682;
  --color-line:      #e3e6e1;
  --color-brand:     #2b4a3e;     /* deep forest green */
  --color-brand-2:   #3e6b58;
  --color-accent:    #d68a3c;     /* warm amber */
  --color-dark:      #0f1614;
  --shadow-sm: 0 1px 2px rgba(15,22,20,.04), 0 1px 1px rgba(15,22,20,.03);
  --shadow-md: 0 8px 24px rgba(15,22,20,.08), 0 2px 6px rgba(15,22,20,.04);
  --shadow-lg: 0 20px 60px rgba(15,22,20,.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --maxw: 1180px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  margin: 0 0 .4em;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--color-ink-soft); }
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 1rem;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }
@media (max-width: 700px) {
  section { padding: 64px 0; }
}

/* ---------- Navbar ---------- */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 22px 0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: .95rem;
  color: rgba(255,255,255,.92);
}
.nav-links a:hover { color: var(--color-accent); }
@media (max-width: 700px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,22,20,.45) 0%, rgba(15,22,20,.65) 70%, rgba(15,22,20,.85) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding-top: 40px;
  padding-bottom: 80px;
}
.hero h1 {
  color: #fff;
  margin-bottom: .55em;
  letter-spacing: -0.025em;
}
.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,.92);
  max-width: 680px;
  margin-bottom: 2em;
}
.hero .eyebrow { color: var(--color-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  text-align: center;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: #c47a2a;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(214,138,60,.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: #fff;
  color: var(--color-ink);
}
.btn-dark {
  background: var(--color-brand);
  color: #fff;
}
.btn-dark:hover {
  background: var(--color-brand-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-arrow::after {
  content: "→";
  font-size: 1.15em;
  transition: transform .22s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Two column ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
}

/* ---------- Icon list ---------- */
.icon-list { list-style: none; padding: 0; margin: 1.5em 0 0; }
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  font-size: 1.02rem;
  color: var(--color-ink);
}
.icon-list .ico {
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-brand);
}

/* ---------- Cards (benefits) ---------- */
.section-light { background: var(--color-surface); }
.section-dark  {
  background: var(--color-dark);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.78); }
.section-dark .eyebrow { color: var(--color-accent); }

.section-header {
  max-width: 720px;
  margin-bottom: 64px;
}
.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card .ico-wrap {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #eef2ee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  margin-bottom: 20px;
}
.card .ico-wrap svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; margin: 0; color: var(--color-ink-soft); }

.section-dark .card {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.08);
}
.section-dark .card:hover {
  background: rgba(255,255,255,.06);
  box-shadow: none;
}
.section-dark .card .ico-wrap {
  background: rgba(214,138,60,.12);
  color: var(--color-accent);
}
.section-dark .card p { color: rgba(255,255,255,.7); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  text-align: left;
}
.step .num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-sans);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
  display: block;
}
.step .ico-wrap {
  width: 56px; height: 56px;
  background: #eef2ee;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-brand);
  margin-bottom: 18px;
}
.step .ico-wrap svg { width: 28px; height: 28px; }
.step h3 { margin-bottom: 8px; }

/* ---------- CTA section ---------- */
.cta {
  background: var(--color-brand);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--cta-bg, none);
  background-size: cover;
  background-position: center;
  opacity: .18;
  z-index: 0;
}
.cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.88); font-size: 1.1rem; margin-bottom: 2em; }

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.7);
  padding: 48px 0 32px;
  font-size: .92rem;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .brand { color: #fff; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: #fff; }

/* ---------- Page-switcher (between landing pages) ---------- */
.page-switch {
  background: var(--color-surface);
  padding: 60px 0;
  border-top: 1px solid var(--color-line);
}
.page-switch h3 {
  text-align: center;
  margin-bottom: 32px;
  font-weight: 500;
  color: var(--color-muted);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.page-switch .links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .page-switch .links { grid-template-columns: 1fr; } }
.page-switch a {
  display: block;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  transition: all .2s ease;
}
.page-switch a:hover {
  border-color: var(--color-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.page-switch a span {
  display: block;
  font-size: .8rem;
  color: var(--color-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.page-switch a strong {
  display: block;
  font-weight: 600;
  color: var(--color-ink);
}

/* ---------- Utilities ---------- */
.muted { color: var(--color-muted); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* Fade-in on load */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero .lead, .hero .btn, .hero .eyebrow {
  animation: fadeUp .8s ease both;
}
.hero .eyebrow { animation-delay: .05s; }
.hero h1      { animation-delay: .15s; }
.hero .lead   { animation-delay: .3s; }
.hero .btn    { animation-delay: .45s; }


/* ---------- Logo ---------- */
.logo {
  height: 140px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer .logo {
  height: 90px;
}


/* ---------- Footer Contact ---------- */
.footer-contact {
  color: rgba(255,255,255,.7);
  font-size: .92rem;
  line-height: 1.7;
}

.footer-contact p {
  margin: 0;
  color: rgba(255,255,255,.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
