/* Self-contained /golf page styles. Keep route-local to avoid touching rental/shop CSS. */
:root {
  --brand: #7d1f1f;
  --brand-dark: #4f1212;
  --gold: #c9a84c;
  --cream: #f1e7d8;
  --paper: #fbfaf7;
  --ink: #171411;
  --muted: #6f675b;
  --line: rgba(23, 20, 17, 0.14);
  --green: #203a31;
  --shadow: 0 22px 58px rgba(23, 20, 17, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Barlow, system-ui, sans-serif;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: white;
}
.topline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  padding: 9px 18px;
  background: linear-gradient(90deg, #551212 0%, #6b1717 35%, #4a1010 100%);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.topline strong { color: #fff; }
.topline a { color: white; text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(97, 22, 22, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(65, 14, 14, 0.24);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img { width: 54px; height: auto; object-fit: contain; }
.brand strong {
  display: block;
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-size: 27px;
  line-height: 0.96;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand small { display: block; margin-top: 4px; color: rgba(255,255,255,0.65); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8); }
.nav-links a {
  border-radius: 4px;
  padding: 9px 12px;
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a:hover { color: white; background: rgba(255, 255, 255, 0.09); }

.button, .nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 0 22px;
  cursor: pointer;
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-weight: 900;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-cta { background: #fff; color: var(--brand); }
.button-primary { background: var(--brand); color: #fff; }
.button-primary:hover { background: #8b2727; }
.button-light { background: white; color: var(--brand); }
.button-outline { background: transparent; border: 1px solid currentColor; color: inherit; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 46px);
  min-height: calc(100vh - 118px);
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 70px);
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 168, 76, 0.2), transparent 34%),
    linear-gradient(135deg, #651818 0%, #2a0a0a 54%, #140606 100%);
}
.hero-copy h1, h2 {
  margin: 0;
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.9;
  text-transform: uppercase;
}
.hero-copy p, .section-heading p, .split p, .order-section > div > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.hero-copy p { color: rgba(255, 255, 255, 0.74); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .button-primary { background: #fff; color: var(--brand); }
.hero-actions .button-light { background: transparent; border: 1px solid rgba(255,255,255,0.55); color: #fff; }
.hero-actions .button-outline { color: #fff; border-color: rgba(255,255,255,0.55); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.proof-grid span {
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-weight: 700;
}
.proof-grid span { color: rgba(255, 255, 255, 0.72); border-color: rgba(255,255,255,0.16); }
.proof-grid strong { display: block; color: #fff; font-size: 22px; }
.hero-media {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.34);
}
.hero-media img { width: 100%; height: min(58vh, 560px); object-fit: contain; padding: 12px; filter: drop-shadow(0 24px 26px rgba(32, 27, 23, 0.18)); }

.band { background: var(--ink); color: white; }
.band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}
.band article { padding: 26px 20px; border-left: 1px solid rgba(255,255,255,0.12); }
.band article:last-child { border-right: 1px solid rgba(255,255,255,0.12); }
.band strong { font-size: 21px; }
.band p { color: rgba(255,255,255,0.68); line-height: 1.55; }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 20px;
}
.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 36px;
}
.split h2, .section-heading h2 { font-size: clamp(36px, 6vw, 64px); }
.split .button { margin-top: 22px; }
.exploded {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f1ec;
  box-shadow: var(--shadow);
}
.exploded img { width: 100%; object-fit: contain; }
.exploded figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  border-radius: 6px;
  padding: 9px 12px;
  background: rgba(32,27,23,0.92);
  color: white;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}
.model-grid, .option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.model-card, .option-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(32,27,23,0.08);
}
.model-image { height: 250px; background: white; }
.model-image img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.model-body, .option-card { padding: 18px; }
.model-card h3, .quote-panel h3, .selected-build h3, .compare-heading h3 {
  margin: 0;
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-size: 32px;
  line-height: 0.95;
  text-transform: uppercase;
}
.model-meta { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.price-pill { border-radius: 6px; background: #f2dfac; padding: 8px 10px; font-weight: 900; white-space: nowrap; }
.model-card p, .model-card li, .option-card p { color: var(--muted); line-height: 1.45; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0; }
.spec-grid span { border: 1px solid var(--line); border-radius: 6px; padding: 10px; font-weight: 800; }
.model-card ul { padding-left: 18px; min-height: 92px; }
.model-card .button { width: 100%; }
.model-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pricing-details {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 14px;
  font-weight: 800;
}
.pricing-details input { width: 110px; margin: 8px 10px; }
.config-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
  align-items: start;
}
.config-panel {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px;
}
.field, .order-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}
input, select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  padding: 10px 12px;
}
textarea { resize: vertical; }
small { color: var(--muted); line-height: 1.45; }
.control-group { display: grid; gap: 10px; }
.control-group-title {
  margin: 0;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}
.choice-grid { display: grid; gap: 8px; }
.extras-grid, .order-option-grid { grid-template-columns: repeat(2, 1fr); }
.choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 10px 12px;
  cursor: pointer;
}
.choice:hover { border-color: var(--gold); }
.choice span:first-child { display: flex; align-items: center; gap: 8px; }
.choice input { width: auto; min-height: auto; }
.choice-price { color: var(--brand); font-weight: 900; white-space: nowrap; }

.quote-panel {
  position: sticky;
  top: 116px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  padding: 20px;
  box-shadow: var(--shadow);
}
.quote-panel > p { color: rgba(255,255,255,0.68); }
.quote-lines { display: grid; gap: 10px; margin-top: 18px; }
.quote-line, .quote-totals div, .request-total div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  padding-bottom: 8px;
}
.quote-line span, .quote-totals span { color: rgba(255,255,255,0.78); }
.quote-total {
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.24);
  border-bottom: 0 !important;
  padding-top: 12px;
  font-size: 24px;
  font-weight: 900;
}
.delivery-pill, .warning {
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 900;
}
.delivery-pill { background: var(--gold); color: var(--ink) !important; text-transform: uppercase; }
.warning { margin-top: 10px; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.82); line-height: 1.45; }
.quote-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
.quote-actions .button:first-child { grid-column: 1 / -1; }
.fine-print { font-size: 12px; line-height: 1.45; }

.dealer-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 16px clamp(18px, 5vw, 70px);
  padding: clamp(28px, 4vw, 46px);
  color: #fff;
  background:
    linear-gradient(rgba(23, 20, 17, 0.62), rgba(23, 20, 17, 0.72)),
    url("/images/canmore-trail.jpg") center/cover;
  border-radius: 8px;
}
.dealer-strip .eyebrow { color: var(--gold); }
.dealer-strip h2 {
  margin: 8px 0 0;
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}
.dealer-strip p:not(.eyebrow) {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.5;
}
.dealer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.dealer-actions .button-outline { color: #fff; border-color: rgba(255,255,255,0.55); }
.included-build {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.compare-panel, .comparison-list, .order-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.compare-panel { margin-top: 24px; overflow: hidden; }
.compare-heading { display: flex; justify-content: space-between; align-items: center; padding: 18px; }
.compare-heading button { border: 1px solid var(--ink); border-radius: 6px; background: white; padding: 8px 12px; font-weight: 900; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 620px; border-collapse: collapse; }
th, td { border-top: 1px solid var(--line); padding: 13px; text-align: left; }
th { background: #f8f2e8; text-transform: capitalize; }

.comparison-list { overflow: hidden; }
.comparison-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(210px, 1fr) minmax(150px, 0.65fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border-top: 1px solid var(--line);
}
.comparison-row:first-child { border-top: 0; background: var(--brand); color: white; }
.comparison-row p, .comparison-row li { color: var(--muted); }
.comparison-row:first-child p, .comparison-row:first-child li { color: rgba(255,255,255,0.72); }
.comparison-row strong { display: block; font-size: 22px; }
.comparison-row ul { margin: 0; padding-left: 18px; }
.comparison-name p { margin-bottom: 0; }
.comparison-action {
  display: grid;
  gap: 18px;
  justify-items: end;
  min-width: 0;
  text-align: right;
}
.comparison-action strong {
  font-size: 21px;
  max-width: 150px;
  white-space: nowrap;
}
.comparison-action .button {
  width: 150px;
}

.option-card h3 { margin: 0 0 12px; color: var(--brand); font-size: 16px; text-transform: uppercase; }
.option-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f9f4ec;
  padding: 12px;
  margin-top: 10px;
}
.option-item.is-active {
  border-color: rgba(125, 31, 31, 0.36);
  background: #fff7e2;
}
.option-item div { display: flex; justify-content: space-between; gap: 10px; font-weight: 900; }
.option-item strong { color: var(--brand); white-space: nowrap; }
.option-item .button {
  width: 100%;
  margin-top: 10px;
}

.order-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}
.order-form { display: grid; gap: 16px; padding: 18px; }
.selected-build {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-radius: 8px;
  background: #f8f2e8;
  padding: 16px;
}
.selected-build strong { font-size: 26px; white-space: nowrap; }
.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.option-title { margin: 0 0 10px; color: var(--brand); font-weight: 900; text-transform: uppercase; }
.order-option-category {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
}
.order-option-category h4 { margin: 0 0 8px; color: var(--brand); text-transform: uppercase; }
.included-build {
  padding: 14px;
}
.included-build p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.request-total {
  display: grid;
  gap: 8px;
  border-radius: 8px;
  background: #f8f2e8;
  padding: 16px;
}
.request-total div { border-color: var(--line); }
.request-total div:nth-child(3) { font-size: 22px; font-weight: 900; border-bottom: 0; padding-top: 8px; }
.request-total p { margin: 0; color: var(--muted); font-size: 13px; }
.form-message { min-height: 24px; margin: 0; font-weight: 800; }

.footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(220px, 0.9fr) minmax(160px, 0.6fr);
  gap: 24px;
  background: var(--ink);
  color: white;
  padding: 34px max(20px, calc((100vw - 1180px) / 2));
}
.footer strong { display: block; margin-bottom: 8px; }
.footer span, .footer address, .footer a { color: rgba(255,255,255,0.72); }
.footer address, .footer nav {
  display: grid;
  gap: 7px;
  font-style: normal;
}
.footer a:hover { color: white; }

@media (max-width: 980px) {
  .nav { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; overflow-x: auto; }
  .hero, .split, .section-heading, .config-layout, .order-section, .dealer-strip, .footer { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .quote-panel { position: static; }
  .model-grid, .option-grid, .band-grid { grid-template-columns: 1fr; }
  .comparison-row { grid-template-columns: 1fr; }
  .comparison-action { justify-items: start; text-align: left; }
}

@media (max-width: 620px) {
  .brand strong { font-size: 19px; }
  .brand img { width: 36px; height: 36px; }
  .nav-cta { width: 100%; }
  .nav { gap: 12px; }
  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    font-size: 14px;
  }
  .nav-links a { text-align: center; }
  .hero, .section { padding-left: 14px; padding-right: 14px; }
  .proof-grid, .form-grid.two, .form-grid.three, .extras-grid, .order-option-grid, .model-actions { grid-template-columns: 1fr; }
  .hero-media img { height: 330px; }
  .quote-actions { grid-template-columns: 1fr; }
  .dealer-actions { justify-content: stretch; }
  .dealer-actions .button { width: 100%; }
  .selected-build { flex-direction: column; }
}

@media print {
  .site-header, .hero, .band, #models, #compare, #options, #order, .config-panel, .section-heading, .pricing-details, .compare-panel { display: none !important; }
  .section { padding: 0; }
  .config-layout { display: block; }
  .quote-panel { position: static; box-shadow: none; color: black; background: white; }
}
