:root {
  --ink: #091713;
  --muted: #4c5d56;
  --forest: #06251f;
  --forest2: #0b382f;
  --lake: #165d64;
  --mist: #f3f7f2;
  --paper: #ffffff;
  --line: #d7e2dc;
  --gold: #f0b44c;
  --copper: #df7a24;
  --copper-dark: #b95516;
  --shadow: 0 22px 60px rgba(6, 37, 31, 0.16);
  --shadow-card: 0 18px 42px rgba(6, 37, 31, 0.12);
}

/* Final premium dealership visual system */
:root {
  --ink: #101820;
  --muted: #51605c;
  --forest: #063d34;
  --forest2: #052c26;
  --charcoal: #101820;
  --slate: #1d252c;
  --cream: #f8f4eb;
  --mist: #f2f5f1;
  --paper: #ffffff;
  --line: #d9e1dc;
  --gold: #f4b44d;
  --copper: #e27622;
  --copper-dark: #b95016;
  --shadow: 0 28px 80px rgba(16, 24, 32, 0.2);
  --shadow-card: 0 20px 54px rgba(16, 24, 32, 0.14);
}

body {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f5f7f3 48%, #ffffff 100%);
  text-rendering: optimizeLegibility;
}

.topbar,
.footer {
  background: linear-gradient(180deg, #101820 0%, #07100d 100%);
}

.site-header {
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.08);
}

.nav a {
  color: #24322e;
}

.header-call {
  color: #fff;
  background: var(--forest);
  border-color: rgba(6, 61, 52, 0.28);
}

.button,
.button--lead {
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  box-shadow: 0 18px 34px rgba(226, 118, 34, 0.3);
}

.button-secondary {
  color: #111816;
  background: linear-gradient(135deg, #ffc86b, var(--gold));
}

.button-ghost {
  color: #12221e;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(16, 24, 32, 0.18);
}

.hero {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.97), rgba(16, 24, 32, 0.82) 48%, rgba(6, 61, 52, 0.28)),
    var(--hero-image) center/cover;
}

.hero__inner {
  min-height: min(850px, calc(100vh - 70px));
  padding: 116px 0 138px;
}

.hero h1 {
  font-size: clamp(3.2rem, 6.6vw, 7.2rem);
  line-height: 0.94;
}

.section--tint {
  background: linear-gradient(180deg, #f7f3ea 0%, #eef3ef 100%);
}

.section--dark {
  background: linear-gradient(135deg, #101820 0%, #13251f 48%, #063d34 100%);
}

.page-hero,
.model-hero {
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.96), rgba(6, 61, 52, 0.9)),
    url("../images/hero-park-model-living-room.jpg") center/cover;
}

.model-card,
.info-card,
.brand-card,
.lead-card,
.spec-card,
.source-card,
.contact-panel,
.faq-list details,
.floorplan-card {
  border-color: rgba(16, 24, 32, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.model-card:hover,
.brand-card:hover,
.info-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 82px rgba(16, 24, 32, 0.2);
}

.model-card__image {
  aspect-ratio: 16 / 8;
  background: #e4ebe7;
}

.model-badge {
  background: var(--charcoal);
}

.urgency-line,
.model-trust-line {
  color: #6e2f0f !important;
  background: #fff2df;
  border-color: rgba(226, 118, 34, 0.24);
}

.brand-mark {
  background: linear-gradient(135deg, #fff, #f7f3ea);
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.97), rgba(6, 61, 52, 0.88)),
    url("../images/interior-living.png") center/cover;
}

.cta-band--dark {
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.94), rgba(6, 61, 52, 0.78)),
    url("../images/hero-park-model-living-room.jpg") center/cover;
}

.lead-card {
  border-color: rgba(226, 118, 34, 0.22);
  box-shadow: 0 26px 78px rgba(16, 24, 32, 0.18);
}

.model-carousel {
  background: #e4ebe7;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.related-links a {
  padding: 9px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.page-hero .section-actions,
.model-hero .section-actions {
  margin-top: 28px;
}

.section-heading h2,
.split h2,
.cta-band h2,
.info-card h2,
.info-card h3,
.brand-card h3,
.model-card h3,
.lead-card h2,
.spec-card h2,
.contact-panel h2 {
  color: var(--charcoal);
}

.section--dark .section-heading h2,
.section--dark h3,
.cta-band h2 {
  color: #fff;
}

@media (max-width: 640px) {
  .hero__inner {
    padding: 66px 0 98px;
  }

  .hero h1,
  h1,
  .page-hero h1,
  .model-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.55rem);
  }

  .related-links {
    display: none;
  }
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(240, 180, 76, 0.08), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbf7 100%);
  color: var(--ink);
}

.topbar {
  background: #031713;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar__inner {
  font-weight: 800;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 26px rgba(6, 37, 31, 0.08);
}

.nav a {
  color: #18362f;
}

.header-call {
  padding: 10px 14px;
  color: var(--forest);
  background: #fff4df;
  border: 1px solid rgba(223, 122, 36, 0.28);
  border-radius: 999px;
}

.button,
.button-secondary,
.button-ghost {
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button,
.button--lead {
  color: #fff;
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  box-shadow: 0 16px 30px rgba(223, 122, 36, 0.28);
}

.button:hover,
.button--lead:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-2px);
}

.button:hover,
.button--lead:hover {
  box-shadow: 0 20px 36px rgba(223, 122, 36, 0.36);
}

.button-secondary {
  color: #061712;
  background: linear-gradient(135deg, #ffc86b, var(--gold));
  box-shadow: 0 14px 28px rgba(240, 180, 76, 0.28);
}

.button-ghost {
  color: var(--forest);
  background: #ffffff;
  border: 1px solid rgba(6, 37, 31, 0.18);
}

.hero {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(3, 18, 15, 0.96), rgba(6, 37, 31, 0.8) 48%, rgba(6, 37, 31, 0.28)),
    var(--hero-image) center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(3, 18, 15, 0.68), transparent);
}

.hero__inner {
  min-height: min(820px, calc(100vh - 70px));
  padding: 104px 0 130px;
}

.hero__content {
  max-width: 930px;
}

h1,
.page-hero h1,
.model-hero h1 {
  font-weight: 950;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(3.1rem, 6.4vw, 6.8rem);
  line-height: 0.94;
}

.hero p {
  max-width: 720px;
  color: #f4fbf6;
  font-weight: 650;
}

.hero__actions {
  gap: 14px;
}

.trust-points li {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.fact-row {
  margin-top: -68px;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(6, 37, 31, 0.2);
}

.fact-row div {
  padding: 30px;
}

.section {
  padding: 104px 0;
}

.section--tint {
  background:
    linear-gradient(180deg, #f4f8f2 0%, #edf4ef 100%);
  border-block: 1px solid #e1ebe5;
}

.section--dark {
  background:
    linear-gradient(135deg, #041b17 0%, var(--forest) 52%, var(--forest2) 100%);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2,
.split h2,
.cta-band h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
}

.eyebrow {
  color: var(--copper-dark);
  font-weight: 950;
}

.page-hero,
.model-hero {
  background:
    linear-gradient(135deg, rgba(6, 37, 31, 0.94), rgba(11, 56, 47, 0.9)),
    url("../images/hero-park-model-living-room.jpg") center/cover;
  color: #fff;
}

.page-hero {
  padding: 92px 0 76px;
}

.page-hero h1,
.page-hero p,
.model-hero h1,
.model-hero p {
  color: #fff;
}

.page-hero p,
.model-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.grid {
  gap: 28px;
}

.model-card,
.info-card,
.brand-card,
.lead-card,
.spec-card,
.source-card,
.contact-panel,
.faq-list details {
  border-color: rgba(6, 37, 31, 0.1);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.model-card {
  overflow: hidden;
  background: #fff;
  transform: translateY(0);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.model-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(6, 37, 31, 0.18);
}

.model-card__image {
  aspect-ratio: 16 / 7;
  background: #dfe8e2;
}

.model-card__body {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 24px;
}

.model-card h3 {
  margin-top: 12px;
  font-size: 1.45rem;
}

.model-card h3 a {
  text-decoration: none;
}

.model-card p {
  color: #465951;
}

.model-badge {
  align-self: flex-start;
  padding: 7px 10px;
  color: #fff;
  background: var(--forest);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.urgency-line,
.model-trust-line {
  margin: 16px 0 0;
  padding: 10px 12px;
  color: #74300f !important;
  background: #fff4df;
  border: 1px solid rgba(223, 122, 36, 0.22);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 900;
}

.meta-list li {
  color: #0b382f;
  background: #edf6ef;
  border: 1px solid #d8e8dc;
  border-radius: 999px;
}

.card-actions {
  gap: 10px;
}

.card-actions .button,
.card-actions .button-ghost {
  flex: 1 1 150px;
  min-height: 46px;
  padding-inline: 14px;
}

.brand-card,
.info-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(6, 37, 31, 0.14);
}

.brand-mark {
  min-height: 116px;
  background: linear-gradient(135deg, #fff, #eef6ef);
  border-radius: 12px;
}

.split {
  gap: 48px;
}

.process-grid article {
  min-height: 210px;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.process-grid span {
  background: var(--gold);
}

.cta-band {
  padding: 42px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(6, 37, 31, 0.96), rgba(22, 93, 100, 0.9)),
    url("../images/interior-living.png") center/cover;
  box-shadow: var(--shadow);
}

.cta-band--dark {
  background:
    linear-gradient(135deg, rgba(3, 18, 15, 0.92), rgba(6, 37, 31, 0.76)),
    url("../images/hero-park-model-living-room.jpg") center/cover;
}

.lead-card {
  padding: 30px;
  border: 1px solid rgba(223, 122, 36, 0.24);
  box-shadow: 0 24px 70px rgba(6, 37, 31, 0.18);
}

.lead-card h2 {
  color: var(--forest);
  font-size: clamp(1.85rem, 2.8vw, 2.55rem);
}

.form-field--phone {
  grid-column: 1 / -1;
  padding: 15px;
  background: #fff4df;
  border: 2px solid rgba(223, 122, 36, 0.5);
  border-radius: 12px;
}

.form-field--phone label {
  color: #74300f;
  font-size: 1rem;
}

.form-field--phone input {
  min-height: 58px;
  border-color: rgba(223, 122, 36, 0.75);
  font-size: 1.1rem;
  font-weight: 900;
}

.button--lead {
  width: 100%;
  min-height: 58px;
  border-radius: 12px;
  font-size: 1.08rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -2px;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 950;
}

.trust-line span {
  padding: 7px 10px;
  background: #edf6ef;
  border: 1px solid #d8e8dc;
  border-radius: 999px;
}

.model-carousel {
  position: relative;
  height: 100%;
  min-height: 180px;
  overflow: hidden;
  background: #dfe8e2;
  isolation: isolate;
}

.model-image-placeholder {
  display: grid;
  height: 100%;
  min-height: 230px;
  place-items: center;
  color: #355148;
  background: linear-gradient(135deg, #eef4ef, #ffffff);
  border: 1px solid rgba(6, 37, 31, 0.12);
  font-weight: 950;
}

.model-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.model-carousel__slide {
  position: relative;
  min-width: 100%;
  height: 100%;
}

.model-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.model-carousel__slide--floorplan img {
  object-fit: contain;
  padding: 10px;
}

.media-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 10px;
  color: #061712;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(6, 37, 31, 0.12);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.floorplan-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.floorplan-card {
  margin: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(6, 37, 31, 0.1);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.floorplan-card img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #fff;
}

.floorplan-card figcaption {
  margin-top: 10px;
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.model-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #061712;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.model-carousel__arrow--prev {
  left: 12px;
}

.model-carousel__arrow--next {
  right: 12px;
}

.model-carousel__dots {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 7px;
}

.model-carousel__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.62);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.model-carousel__dots button.is-active {
  width: 22px;
  background: var(--gold);
}

.model-carousel--hero {
  min-height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.model-hero__media {
  min-width: 0;
}

.final-cta {
  padding-top: 78px;
}

@media (max-width: 920px) {
  .hero__inner {
    min-height: auto;
    padding: 76px 0 112px;
  }

  .model-card__body {
    min-height: 300px;
  }

  .model-carousel--hero {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 78px;
  }

  .topbar {
    display: none;
  }

  .site-header__inner {
    min-height: 72px;
  }

  .hero__inner {
    padding: 58px 0 92px;
  }

  .hero h1,
  h1,
  .page-hero h1,
  .model-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.45rem);
    line-height: 0.98;
  }

  .hero p,
  .page-hero p,
  .model-hero p {
    font-size: 1.03rem;
  }

  .section {
    padding: 70px 0;
  }

  .fact-row {
    width: min(100% - 24px, var(--max));
    margin-top: -44px;
  }

  .model-card__image {
    aspect-ratio: 16 / 8;
  }

  .model-card__body {
    min-height: 0;
    padding: 22px;
  }

  .model-carousel {
    min-height: 165px;
  }

  .model-carousel--hero {
    min-height: 240px;
  }

  .model-carousel__arrow {
    width: 42px;
    height: 42px;
  }

  .card-actions,
  .hero__actions,
  .section-actions {
    align-items: stretch;
  }

  .button,
  .button-secondary,
  .button-ghost {
    width: 100%;
    min-height: 52px;
  }

  .lead-card,
  .cta-band {
    padding: 24px;
    border-radius: 14px;
  }

  .trust-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-call {
    min-height: 52px;
    background: linear-gradient(135deg, #ffc86b, var(--gold));
    border-radius: 12px;
  }
}

/* Late-stage overrides loaded after all legacy rules */
.topbar,
.footer {
  background: linear-gradient(180deg, #101820 0%, #07100d 100%);
}

.header-call {
  color: #fff;
  background: var(--forest);
}

.hero {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.97), rgba(16, 24, 32, 0.82) 48%, rgba(6, 61, 52, 0.28)),
    var(--hero-image) center/cover;
}

.section--tint {
  background: linear-gradient(180deg, #f7f3ea 0%, #eef3ef 100%);
}

.section--dark {
  background: linear-gradient(135deg, #101820 0%, #13251f 48%, #063d34 100%);
}

.page-hero,
.model-hero {
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.96), rgba(6, 61, 52, 0.9)),
    url("../images/hero-park-model-living-room.jpg") center/cover;
}

.model-card,
.info-card,
.brand-card,
.lead-card,
.spec-card,
.source-card,
.contact-panel,
.faq-list details,
.floorplan-card {
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.model-card__image {
  aspect-ratio: 16 / 8;
}

.model-badge {
  background: var(--charcoal);
}

.cta-band,
.cta-band--dark {
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.96), rgba(6, 61, 52, 0.84)),
    url("../images/hero-park-model-living-room.jpg") center/cover;
}

.section-heading h2,
.split h2,
.info-card h2,
.info-card h3,
.brand-card h3,
.model-card h3,
.lead-card h2,
.spec-card h2,
.contact-panel h2 {
  color: var(--charcoal);
}

.section--dark .section-heading h2,
.section--dark h3,
.cta-band h2 {
  color: #fff;
}
