/* ═══════════════════════════════════════════════
   Open Road RV Center — dealer demo v2
   Photographic, editorial, restrained
   ═══════════════════════════════════════════════ */

:root {
  --char: #101725;
  --char-2: #182136;
  --amber: #d97a24;
  --amber-hover: #c06a1a;
  --white: #ffffff;
  --paper: #f5f6f8;
  --line: #e5e8ee;
  --ink: #1a2233;
  --muted: #5f6b80;
  --head: "Archivo", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
  --maxw: 1180px;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 400;
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.7rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.1rem; }

a { color: var(--ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.section { padding: clamp(72px, 9vw, 118px) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .9rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}
.section-side {
  color: var(--muted);
  max-width: 320px;
  font-size: .98rem;
  padding-bottom: .3rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 80px);
  align-items: center;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: .04em;
  font-size: .9rem;
  padding: .95em 1.9em;
  border-radius: 6px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-lg { font-size: .95rem; padding: 1.05em 2.2em; }

.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-hover); color: #fff; box-shadow: 0 10px 28px rgba(217, 122, 36, .35); }

.btn-dark { background: var(--char); color: #fff; }
.btn-dark:hover { background: var(--char-2); color: #fff; }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ─── Nav ─── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.scrolled {
  background: rgba(16, 23, 37, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  padding: 10px 0;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: .6em; margin-right: auto; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--amber);
  color: #fff;
  font-family: var(--head);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .02em;
}
.brand-text {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.15;
  display: grid;
}
.brand-text em {
  font-style: normal;
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #b9c3d6;
}

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: #fff;
  font-family: var(--head);
  font-weight: 500;
  font-size: .88rem;
  text-decoration: none;
  opacity: .85;
}
.nav-links a:hover { opacity: 1; color: #f2b57d; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: .3s; display: block; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 18s ease-out both;
}
@keyframes kenburns {
  from { transform: scale(1.12) translateY(-1.5%); }
  to { transform: scale(1); translate: 0 0; }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 24, .55) 0%, rgba(10, 14, 24, .25) 40%, rgba(10, 14, 24, .65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-top: 120px;
  max-width: 760px;
}
.hero .eyebrow { color: #f2b57d; }
.hero-sub {
  color: #d6dde9;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 300;
  max-width: 540px;
  margin: 1.3rem 0 2.2rem;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(12, 17, 29, .72);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 26px 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat { text-align: left; }
.stat-num, .stat-plus {
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: #fff;
}
.stat-plus { color: var(--amber); }
.stat p { color: #9daaC0; font-size: .84rem; margin-top: -2px; }

/* ─── Categories ─── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cat {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.cat:hover {
  border-color: var(--amber);
  box-shadow: 0 16px 40px rgba(16, 23, 37, .1);
  transform: translateY(-3px);
}
.cat-icon {
  flex-shrink: 0;
  width: 58px;
  color: var(--char);
}
.cat h3 { margin-bottom: .1rem; }
.cat p { color: var(--muted); font-size: .88rem; }
.cat-arrow {
  margin-left: auto;
  color: var(--amber);
  font-size: 1.1rem;
  opacity: 0;
  translate: -6px 0;
  transition: opacity .25s ease, translate .25s ease;
}
.cat:hover .cat-arrow { opacity: 1; translate: 0 0; }

/* ─── Featured ─── */
.featured { background: var(--paper); }
.rv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.rv-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .28s ease, box-shadow .28s ease;
}
.rv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(16, 23, 37, .14);
}
.rv-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.rv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.rv-card:hover .rv-thumb img { transform: scale(1.05); }
.rv-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(16, 23, 37, .85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: var(--head);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .45em 1em;
  border-radius: 5px;
}
.rv-body { padding: 22px 24px 24px; }
.rv-tag {
  font-family: var(--head);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
}
.rv-body h3 { font-size: 1.2rem; margin: .35rem 0 .7rem; }
.rv-specs {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.rv-specs li {
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: .25em .7em;
}
.rv-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.rv-price {
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
}
.rv-link {
  font-family: var(--head);
  font-weight: 600;
  font-size: .86rem;
  color: var(--amber);
  text-decoration: none;
}
.rv-link:hover { color: var(--amber-hover); }

/* ─── Financing split ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--char);
  color: #fff;
}
.split-media { position: relative; min-height: 420px; overflow: hidden; }
.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-panel {
  padding: clamp(56px, 6vw, 96px) clamp(32px, 5vw, 88px);
}
.split-panel p { color: #b3bdd0; }
.checks { list-style: none; margin-top: 1.4rem; }
.checks li {
  padding-left: 1.9em;
  position: relative;
  margin-bottom: .65em;
  color: #e6ebf4;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: .95em; height: .55em;
  border-left: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}

/* ─── Service ─── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.svc-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.svc-item:hover {
  border-color: var(--amber);
  box-shadow: 0 16px 40px rgba(16, 23, 37, .08);
  transform: translateY(-3px);
}
.svc-ic {
  display: block;
  width: 34px;
  color: var(--amber);
  margin-bottom: 1rem;
}
.svc-item h3 { margin-bottom: .4rem; }
.svc-item p { color: var(--muted); font-size: .92rem; }

/* ─── Quote band ─── */
.quote-band { background: var(--paper); padding: clamp(64px, 8vw, 100px) 0; }
.quote-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.stars-row {
  color: var(--amber);
  font-size: 1.1rem;
  letter-spacing: .3em;
  margin-bottom: 1.4rem;
}
.quote-inner blockquote p {
  font-family: var(--head);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  line-height: 1.4;
  letter-spacing: -.01em;
  margin-bottom: 1.2rem;
}
.quote-inner cite {
  font-style: normal;
  color: var(--muted);
  font-size: .92rem;
}
.quote-inner cite em { opacity: .7; }

/* ─── Visit ─── */
.visit { background: #fff; }
.visit > .container > div > p { color: var(--muted); }
.contact-list { list-style: none; margin: 1.6rem 0 2rem; }
.contact-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 1.1rem;
  align-items: flex-start;
}
.contact-list .ci {
  flex-shrink: 0;
  width: 22px;
  color: var(--amber);
  margin-top: .2em;
}
.contact-list em { color: var(--muted); font-size: .85em; }
.contact-list a { font-weight: 600; }
.visit-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.visit-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(16, 23, 37, .18);
  aspect-ratio: 4 / 3.4;
}
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Footer ─── */
.footer { background: var(--char); color: #b3bdd0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding: 56px 28px 32px;
  align-items: start;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: .8rem;
}
.footer-brand em { font-style: normal; color: #f2b57d; }
.footer-tag { font-size: .92rem; opacity: .8; max-width: 320px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  color: #b3bdd0;
  text-decoration: none;
  font-family: var(--head);
  font-weight: 500;
  font-size: .88rem;
}
.footer-links a:hover { color: #f2b57d; }
.footer-contact a { color: #f2b57d; font-weight: 600; text-decoration: none; }
.footer-base {
  border-top: 1px solid rgba(179, 189, 208, .15);
  padding: 20px 28px 92px;
}
.footer-copy { font-size: .82rem; opacity: .55; }

/* ─── Mobile call bar ─── */
.mobile-call {
  display: none;
  position: fixed;
  inset: auto 12px 12px 12px;
  z-index: 90;
  background: var(--amber);
  color: #fff;
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: .04em;
  font-size: .92rem;
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .4);
  align-items: center;
  justify-content: center;
  gap: .5em;
  text-decoration: none;
}
.mobile-call:hover { text-decoration: none; color: #fff; }

/* ─── Reveal ─── */
.reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity .8s cubic-bezier(.2, .65, .3, 1), translate .8s cubic-bezier(.2, .65, .3, 1);
}
.reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
  .hero-media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ─── Responsive ─── */
@media (max-width: 1000px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .rv-cards { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 320px; }
  .grid-2 { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 700px) {
  .nav-links, .nav-call { display: none; }
  .nav-toggle { display: flex; }
  .nav { background: rgba(16, 23, 37, .96); }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--char);
    padding: 20px 28px 26px;
    gap: 18px;
    border-bottom: 2px solid var(--amber);
  }
  .cat-grid, .rv-cards, .svc-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 18px; }
  .mobile-call { display: inline-flex; }
}
