/* ============================================================
   Hillside RV Sales — design system (v2, refined)
   ============================================================ */

:root {
  --green:        #3f8f1f;
  --green-hi:     #5aa52c;
  --green-dark:   #2e6b14;
  --green-deep:   #1f4a0d;
  --green-tint:   #eef6e6;
  --green-tint2:  #e1efd4;
  --amber:        #f5b942;
  --blue:         #1a7fd1;
  --ink:          #1b2430;
  --ink-soft:     #2c3845;
  --slate:        #5a6874;
  --muted:        #8a97a3;
  --line:         #e4e9ed;
  --line-strong:  #cfd6dc;
  --bg:           #f5f7f9;
  --white:        #ffffff;
  --navy:         #0f1a24;
  --navy-2:       #17242f;
  --radius:       10px;
  --radius-sm:    7px;
  --shadow-sm:    0 1px 3px rgba(16,26,36,.08);
  --shadow:       0 4px 16px rgba(16,26,36,.08);
  --shadow-lg:    0 14px 40px rgba(16,26,36,.16);
  --font-body:    'Assistant', 'Segoe UI', Arial, sans-serif;
  --font-head:    'Oswald', 'Fjalla One', 'Arial Narrow', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; letter-spacing: .01em; line-height: 1.18; margin: 0 0 .45em; }
h1 { font-size: 2.5rem; font-weight: 600; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.22rem; font-weight: 500; }
h4 { font-size: .95rem; }
p { margin: 0 0 1em; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.row { display: flex; flex-wrap: wrap; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-size: .9rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; padding: 13px 24px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer; text-align: center; line-height: 1.15;
  transition: all .16s ease; white-space: nowrap;
}
.btn-green  { background: var(--green); color: #fff; box-shadow: 0 3px 10px rgba(63,143,31,.28); }
.btn-green:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-blue   { background: var(--blue); color: #fff; box-shadow: 0 3px 10px rgba(26,127,209,.26); }
.btn-blue:hover { background: #1569ae; color: #fff; }
.btn-dark   { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost  { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.25); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: .98rem; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 15px; font-size: .8rem; }

/* ---------- top utility bar ---------- */
.util { background: var(--navy); color: #b9c4cc; font-size: .84rem; }
.util .container { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.util a { color: #b9c4cc; }
.util a:hover { color: #fff; }
.util .util-left { display: flex; gap: 22px; }
.util .util-right { display: flex; gap: 20px; align-items: center; }
.util .ico { color: var(--green-hi); margin-right: 6px; }

/* ---------- header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 82px; }
.logo { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.logo-mark {
  width: 54px; height: 54px; border-radius: 12px;
  background: #fff; border: 2px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: 0 3px 10px rgba(16,26,36,.12);
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-text { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.02rem; font-weight: 600; color: var(--ink); letter-spacing: .05em; line-height: 1; white-space: nowrap; }
.logo-name { display: inline; text-transform: uppercase; font-size: 1.02rem; letter-spacing: .06em; }
.logo-text small { display: inline; font-family: var(--font-body); font-size: .6rem; font-weight: 700; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; padding-left: 12px; border-left: 1px solid var(--line-strong); }

.main-nav { margin-left: auto; display: flex; align-items: center; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 29px 10px; color: var(--ink-soft);
  font-family: var(--font-head); font-size: .82rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase;
  white-space: nowrap;
}
.main-nav > ul > li > a { position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 2px; background: var(--green); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.main-nav > ul > li > a:hover::after { transform: scaleX(1); }
.main-nav > ul > li > a:hover { color: var(--green-dark); }
.main-nav > ul > li.active > a { color: var(--green-dark); }
.has-drop > a::after { content: '\25be'; font-size: .7em; margin-left: 5px; color: var(--muted); }

.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--green);
  box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .18s ease; z-index: 70; padding: 10px 0;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 22px; color: var(--ink-soft); font-size: .95rem; }
.dropdown a:hover { background: var(--green-tint); color: var(--green-dark); }
.dropdown .drop-title { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; color: var(--muted); padding: 12px 22px 6px; }
.dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone { text-align: right; font-size: .82rem; color: var(--slate); }
.header-phone strong { display: block; font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.6rem; color: var(--ink); margin-left: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(245,185,66,.22), transparent 60%),
    radial-gradient(900px 500px at 8% 110%, rgba(90,165,44,.28), transparent 55%),
    linear-gradient(120deg, #0f1a24 0%, #16281a 55%, #12303c 100%);
  padding: 84px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 100% 44px; opacity: .5;
}
.hero .container { position: relative; z-index: 2; }
.hero .hero-kicker { display:inline-block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--amber); margin-bottom: 14px; }
.hero h1 { font-size: 3rem; max-width: 820px; margin: 0 0 16px; line-height: 1.12; }
.hero p.lede { font-size: 1.18rem; max-width: 680px; color: #d7e0e6; margin: 0 0 32px; }
.hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero .hero-trust { display: flex; gap: 26px; flex-wrap: wrap; font-size: .86rem; color: #aebbc4; }
.hero .hero-trust span::before { content: "\2713"; color: var(--green-hi); margin-right: 7px; font-weight: 700; }

/* search widget */
.search-box {
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 20px; margin-top: 8px; max-width: 1000px; border: 1px solid rgba(255,255,255,.6);
}
.search-box .search-tabs { display: flex; gap: 2px; margin-bottom: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.search-tab {
  background: none; border: 0; padding: 11px 17px; cursor: pointer;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; font-size: .84rem; font-weight: 500; color: var(--slate);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.search-tab:hover { color: var(--green-dark); }
.search-tab.active { color: var(--green-dark); border-bottom-color: var(--green); }
.search-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.search-field { flex: 1 1 190px; display: flex; flex-direction: column; gap: 5px; }
.search-field label { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-family: var(--font-head); font-weight: 500; }
.search-field input, .search-field select {
  height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: .97rem; font-family: var(--font-body); color: var(--ink); background: #fff;
}
.search-field input:focus, .search-field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(63,143,31,.15); }
.search-go { height: 48px; }

/* ---------- feature strip ---------- */
.feature-strip { background: var(--green); color: #fff; }
.feature-strip .container { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.feature-strip .f { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-size: .98rem; font-weight: 500; letter-spacing: .02em; }
.feature-strip .f .f-ico { font-size: 1.3rem; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title .kicker { display: inline-block; font-family: var(--font-head); color: var(--green-dark); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 500; margin-bottom: 10px; }
.section-title h2 { position: relative; padding-bottom: 16px; margin-bottom: 4px; }
.section-title h2::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 56px; height: 3px; background: var(--amber); border-radius: 2px; }
.section-title p { color: var(--muted); max-width: 640px; margin: 10px auto 0; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s;
  display: flex; flex-direction: column; position: relative;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--green-hi); }
.card .card-media { position: relative; background: #e8edf1; aspect-ratio: 16/10; overflow: hidden; }
.card .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,26,36,0) 55%, rgba(15,26,36,.22) 100%); pointer-events: none; }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card .badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--green); color: #fff; font-family: var(--font-head);
  font-size: .7rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; padding: 6px 11px; border-radius: 5px;
}
.card .badge.badge-blue { background: var(--blue); }
.card .badge.badge-dark { background: var(--navy); }
.card .badge.badge-yellow { background: var(--amber); color: var(--ink); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card .card-type { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--font-head); font-weight: 500; margin-bottom: 3px; }
.card h3 { font-size: 1.14rem; margin: 0 0 8px; font-weight: 500; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--green-dark); }
.card .card-specs { list-style: none; margin: 0 0 14px; padding: 0; font-size: .87rem; color: var(--slate); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.card .card-specs li::before { content: '\2022'; color: var(--green); margin-right: 7px; }
.card .card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 15px; }
.card .price { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--green-dark); line-height: 1.1; }
.card .price small { display: block; font-family: var(--font-body); font-size: .73rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.card .stock { font-size: .78rem; color: var(--muted); text-align: right; }

/* ---------- shop-by-type ---------- */
.type-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.type-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 20px; text-align: center; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.type-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--green-hi); }
.type-tile .t-ico { font-size: 2.5rem; margin-bottom: 14px; }
.type-tile h3 { font-size: 1.08rem; margin: 0 0 4px; }
.type-tile p { font-size: .86rem; color: var(--muted); margin: 0; }

/* ---------- brand strip ---------- */
.brand-strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.brand-strip .container { display: flex; flex-wrap: wrap; gap: 24px 44px; align-items: center; justify-content: center; }
.brand-strip .brand-label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--muted); }
.brand-chip { font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; color: #9aa6af; letter-spacing: .02em; transition: color .15s; }
.brand-chip:hover { color: var(--green-dark); }

/* ---------- specials ---------- */
.specials-band { background: linear-gradient(135deg, var(--green-dark), var(--green-deep)); color: #fff; }
.specials-band h2, .specials-band .kicker { color: #fff; }
.specials-band .kicker { color: var(--amber); }
.specials-band .card { color: var(--ink); }

/* ---------- testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
.testi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.testi .stars { color: var(--amber); letter-spacing: 2px; font-size: .95rem; }
.testi p { margin: 12px 0 16px; color: var(--slate); font-size: .96rem; }
.testi .who { display: flex; align-items: center; gap: 11px; }
.testi .who .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-tint2), var(--green-tint));
  color: var(--green-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.testi .who .nm { font-weight: 700; font-size: .93rem; }
.testi .who .loc { font-size: .8rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 85% 0%, rgba(63,143,31,.25), transparent 60%); }
.cta-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: 5px 0 0; color: #b8c2ca; }

/* ---------- page head (interior) ---------- */
.page-head { background: linear-gradient(120deg, var(--navy) 0%, var(--green-deep) 130%); color: #fff; padding: 54px 0; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 300px at 90% 0%, rgba(245,185,66,.18), transparent 55%); }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { margin: 0 0 8px; }
.page-head p { color: #ccd6dc; margin: 0; max-width: 760px; font-size: 1.06rem; }
.breadcrumbs { font-size: .82rem; color: #93a6b2; margin-bottom: 16px; }
.breadcrumbs a { color: var(--amber); }

/* ---------- filter bar ---------- */
.filter-bar { background: var(--white); border-bottom: 1px solid var(--line); padding: 16px 0; position: sticky; top: 82px; z-index: 40; }
.filter-bar .container { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.filter-bar select, .filter-bar input {
  height: 44px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: .9rem; background: #fff; color: var(--ink);
}
.filter-bar input { min-width: 230px; }
.filter-bar select:focus, .filter-bar input:focus { outline: none; border-color: var(--green); }
.result-count { margin-left: auto; font-size: .9rem; color: var(--muted); font-family: var(--font-head); }

/* ---------- inventory ---------- */
.inventory { display: grid; grid-template-columns: 270px 1fr; gap: 28px; padding: 34px 0 68px; }
.sidebar .side-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.sidebar h4 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .07em; font-size: .88rem; font-weight: 500; margin: 0 0 14px; color: var(--ink); }
.sidebar label { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--slate); padding: 4px 0; cursor: pointer; }
.sidebar label:hover { color: var(--green-dark); }
.sidebar label input { margin: 0; accent-color: var(--green); }
.sidebar .range-inputs { display: flex; gap: 8px; }
.sidebar .range-inputs input { width: 100%; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 10px; font-size: .88rem; }
.sidebar select { width: 100%; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 10px; font-size: .9rem; background: #fff; }
.sidebar .clear-filters { width: 100%; margin-top: 6px; }
.results-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.results-head h2 { margin: 0; font-size: 1.4rem; }
.results-head select { margin-left: auto; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 10px; font-size: .9rem; background: #fff; }
.empty-state { text-align: center; padding: 70px 20px; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-size: .9rem;
}
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }
.pagination a:hover { border-color: var(--green); color: var(--green-dark); }

/* ---------- detail ---------- */
.detail-wrap { padding: 36px 0 70px; }
.detail-grid { display: grid; grid-template-columns: 1fr 370px; gap: 32px; }
.gallery .ph { position: relative; background: #e8edf1; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery .ph img { width: 100%; height: 460px; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; padding-bottom: 4px; }
.gallery .thumbs img { width: 88px; height: 66px; object-fit: cover; border-radius: 7px; cursor: pointer; border: 2px solid transparent; flex: 0 0 88px; }
.gallery .thumbs img.active { border-color: var(--green); }
.detail-head { margin-bottom: 18px; }
.detail-head .type { color: var(--muted); text-transform: uppercase; font-family: var(--font-head); letter-spacing: .09em; font-size: .82rem; }
.detail-head h1 { font-size: 2rem; margin: 4px 0 10px; }
.detail-head .price-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.detail-head .price { font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--green-dark); }
.detail-head .stock { color: var(--muted); font-size: .9rem; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 12px 18px; text-align: left; font-size: .92rem; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--green-tint); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; font-weight: 500; color: var(--green-deep); width: 42%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.side-rail .rail-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.side-rail .rail-box h3 { margin: 0 0 16px; font-size: 1.12rem; }
.side-rail .price-big { font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--green-dark); }
.side-rail .row2 { display: flex; justify-content: space-between; font-size: .9rem; color: var(--slate); padding: 6px 0; }
.side-rail .row2 strong { color: var(--ink); }
.cta-stack { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

/* ---------- forms ---------- */
.form-card, .form-box { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 34px; max-width: 760px; box-shadow: var(--shadow-lg); }
.form-box { background: #f7f9fb; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card label, .form-box label { display: block; font-size: .86rem; font-weight: 700; margin-bottom: 7px; color: var(--ink-soft); letter-spacing: .01em; }
.form-card input, .form-card select, .form-card textarea,
.form-box input, .form-box select, .form-box textarea {
  width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: .97rem; font-family: var(--font-body); background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.form-card textarea, .form-box textarea { height: 124px; padding: 14px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus,
.form-box input:focus, .form-box select:focus, .form-box textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(63,143,31,.14); }
.form-card .help { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.form-card button[type="submit"], .form-box button[type="submit"] { width: 100%; margin-top: 20px; padding: 15px 30px; font-size: 1rem; }

/* ---------- content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.info-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.info-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.info-tile .i-ico { font-size: 1.9rem; color: var(--green); margin-bottom: 12px; }
.info-tile h3 { font-size: 1.08rem; }
.info-tile p { font-size: .92rem; color: var(--slate); margin: 0; }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; }
.steps > li { display: flex; gap: 20px; margin-bottom: 30px; align-items: flex-start; }
.step-num {
  flex: 0 0 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--green-hi), var(--green-dark)); color: #fff;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(63,143,31,.34);
}
.steps h2 { margin: 4px 0 7px; font-size: 1.24rem; }
.steps p { margin: 0; color: var(--slate); }
.form-box { margin: 0 auto; }

/* ---------- financing ---------- */
.fin-hero-note { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 16px 18px; max-width: 720px; font-size: .95rem; color: #d6dfe5; }
.fin-hero-note .big { font-size: 1.6rem; line-height: 1; }
.plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.plan-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative; }
.plan-card.highlight { border: 2px solid var(--green); box-shadow: var(--shadow-lg); }
.plan-card .plan-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-family: var(--font-head); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; white-space: nowrap; }
.plan-card .plan-name { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.plan-card .plan-months { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; color: var(--green-dark); line-height: 1; }
.plan-card .plan-months small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan-card .plan-row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--slate); padding: 7px 0; border-bottom: 1px dashed var(--line); }
.plan-card .plan-row strong { color: var(--ink); }
.plan-card .plan-total { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--ink); padding-top: 12px; }
.calc-box { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 30px; box-shadow: var(--shadow); max-width: 860px; margin: 0 auto; }
.calc-box .calc-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.calc-box .calc-field { flex: 1 1 200px; }
.calc-box .calc-field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.calc-box .calc-field input, .calc-box .calc-field select { width: 100%; height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 13px; font-size: 1rem; }
.calc-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 26px; }
.calc-results .cr { background: var(--green-tint); border: 1px solid var(--green-tint2); border-radius: var(--radius); padding: 20px; text-align: center; }
.calc-results .cr .cr-label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .07em; font-size: .74rem; color: var(--slate); margin-bottom: 6px; }
.calc-results .cr .cr-value { font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; color: var(--green-dark); }
.calc-results .cr .cr-value small { font-size: .9rem; color: var(--muted); font-weight: 500; }

/* ---------- locations ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.loc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.loc-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.loc-card p { margin: 0 0 4px; font-size: .9rem; color: var(--slate); }
.loc-card .dir-link { font-family: var(--font-head); text-transform: uppercase; font-size: .8rem; letter-spacing: .05em; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #a9b6c0; font-size: .92rem; }
.site-footer a { color: #a9b6c0; }
.site-footer a:hover { color: var(--amber); }
.site-footer .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 36px; padding: 58px 0 42px; }
.site-footer h4 { font-family: var(--font-head); color: #fff; text-transform: uppercase; letter-spacing: .09em; font-size: .9rem; font-weight: 500; margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer .f-about p { color: #7f8d98; margin: 14px 0 0; }
.site-footer .f-contact li { display: flex; gap: 10px; }
.site-footer .f-contact .ico { color: var(--green-hi); }
.footer-bottom { border-top: 1px solid #22303b; padding: 20px 0; font-size: .84rem; color: #71808c; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom .legal a { color: #71808c; }
.footer-bottom .legal a:hover { color: var(--amber); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(8,14,20,.92); z-index: 200; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); color: #fff; border: 0; font-size: 2.2rem; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; }
.lightbox .lb-nav:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-prev { left: 22px; }
.lightbox .lb-next { right: 22px; }
.lightbox .lb-close { position: absolute; top: 20px; right: 26px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }
.lightbox .lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; padding: 14px 24px; border-radius: 8px;
  box-shadow: var(--shadow-lg); opacity: 0; transition: all .25s; z-index: 300; font-size: .94rem;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) { .header-phone { display: none; } }
@media (max-width: 1020px) {
  .inventory { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.3rem; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 82px 0 0; background: var(--white); flex-direction: column; padding: 18px; overflow-y: auto; display: none; }
  .main-nav.open { display: flex; align-items: stretch; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li > a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-top: 0; padding-left: 14px; }
  .header-cta { display: none; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 1.9rem; }
  .site-footer .footer-top { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .util .util-left span { display: none; }
}

/* ---------- print ---------- */
@media print {
  .util, .site-header, .hero, .feature-strip, .cta-band, .site-footer,
  .filter-bar, .sidebar, .pagination, .lightbox, .toast, .nav-toggle { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 12pt; }
  .section, .section-alt { padding: 10px 0 !important; }
  .page-head { background: #fff !important; color: #000 !important; padding: 10px 0 !important; }
  .page-head h1, .page-head p, .breadcrumbs, .breadcrumbs a { color: #000 !important; }
  .card, .plan-card, .info-tile, .testi, .rail-box, .spec-table, .form-card, .loc-card, .form-box, .calc-box {
    box-shadow: none !important; border: 1px solid #bbb !important; break-inside: avoid;
  }
  .card .card-media img, .gallery .ph img { max-height: 180px; }
  .card:hover, .type-tile:hover { transform: none !important; box-shadow: none !important; }
  .btn { background: #fff !important; color: #000 !important; border: 1px solid #000 !important; box-shadow: none !important; }
  a { color: #000 !important; }
}

/* ---------- footer trust bar ---------- */
.trust-bar { display: flex; flex-wrap: wrap; gap: 26px; padding: 18px 0; border-bottom: 1px solid #22303b; margin-bottom: 6px; }
.trust-bar span { color: #c4ced5; font-size: .88rem; font-family: var(--font-head); letter-spacing: .04em; text-transform: uppercase; }
.trust-bar span::before { content: "\2713"; color: var(--green-hi); margin-right: 9px; font-weight: 700; }

/* ---------- sticky mobile CTA ---------- */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--navy); padding: 10px 12px; gap: 10px; box-shadow: 0 -4px 16px rgba(0,0,0,.25); }
.mobile-cta .btn { flex: 1; }
@media (max-width: 760px) { .mobile-cta { display: flex; } body { padding-bottom: 64px; } }

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(0,0,0,.12); padding: 14px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: var(--slate); }
.cookie-banner span { flex: 1 1 300px; }

/* ---------- compare ---------- */
.cmp-btn { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(255,255,255,.92); border: 1px solid var(--line-strong); border-radius: 5px; padding: 5px 10px; font-size: .7rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; color: var(--ink); }
.cmp-btn:hover { border-color: var(--green); color: var(--green-dark); }
.cmp-btn.on { background: var(--green); color: #fff; border-color: var(--green); }
.compare-bar { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 90; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 10px; box-shadow: var(--shadow-lg); display: none; gap: 14px; align-items: center; font-family: var(--font-head); }
.compare-bar.show { display: flex; }
.compare-table .spec-table th { width: auto; min-width: 120px; }
.compare-table .spec-table img { width: 100%; height: 90px; object-fit: cover; border-radius: 6px; margin-bottom: 6px; }
.compare-table .spec-table th a { color: var(--ink); }

.type-tile .type-count { display: block; margin-top: 10px; font-size: .76rem; color: var(--green-dark); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; }
