/* ==========================================================================
   Shreenath Kia: the generated pages (models, showrooms, pre-owned, service, finance, about, contact, careers).
   Loaded after styles.css (and pages.css on model pages). Same tokens, same type, same near-square corners.
   ========================================================================== */

/* ---------- Breadcrumbs ---------- */
.crumbs ol { list-style: none; margin: 0 0 clamp(14px, 2vh, 22px); padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .8rem; letter-spacing: .04em; }
.crumbs li { display: inline-flex; align-items: center; color: rgba(255, 255, 255, .72); }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.crumbs a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: #fff; }
.crumbs--ink li { color: var(--graphite); }
.crumbs--ink a { color: var(--graphite); }
.crumbs--ink [aria-current] { color: var(--ink); }

/* ---------- Model hero ---------- */
.hero--model .hero__title { display: grid; gap: 4px; }
.hero__sub { font-size: .42em; font-weight: 300; letter-spacing: 0; color: rgba(255, 255, 255, .86); }
.hero__facts { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; align-self: flex-end; }
.hero__facts li { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: #fff; }
.hero__facts .ico { width: 22px; height: 22px; stroke-width: 1.5; }
@media (max-width: 859px) {
  .hero__facts { padding: 18px var(--gutter) 0; gap: 10px 18px; }
  .hero__facts li { font-size: .86rem; }
  .hero__sub { font-size: .5em; }
}

/* ---------- Turntable ---------- */
.look { padding: var(--section) var(--pad) 0; }
.look__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; }
.look__cols { display: grid; gap: 4px; max-width: 60ch; text-align: right; font-size: .92rem; color: var(--graphite); }
.look__cols b { color: var(--ink); font-weight: 600; }
.look__stage { position: relative; margin-top: clamp(22px, 2.6vw, 36px); border-radius: var(--r-lg); background: var(--tint); overflow: hidden; }
.look__stage .spin { width: min(100%, 1040px); margin: 0 auto; }
@media (max-width: 859px) { .look { padding-left: var(--gutter); padding-right: var(--gutter); } .look__cols { text-align: left; } .look__stage { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); border-radius: 0; } }

/* ---------- Versions and prices ---------- */
.vers2 { padding: var(--section) var(--pad) 0; }
.vers2__lede { margin-top: 12px; max-width: 62ch; color: var(--graphite); font-size: clamp(1rem, 1.1vw, 1.08rem); }
.vtab { margin-top: clamp(24px, 2.6vw, 36px); border-top: 1px solid var(--ink); }
.vtab__row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) 190px; gap: 8px 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.vtab__row--head { padding: 12px 0; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
.vtab__name b { display: block; font-size: 1.08rem; font-weight: 600; }
.vtab__name small { display: block; margin-top: 4px; font-size: .86rem; line-height: 1.45; color: var(--graphite); }
.vtab__pw { font-size: .9rem; line-height: 1.5; color: var(--graphite); }
.vtab__price { font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.vtab__emi { font-variant-numeric: tabular-nums; }
.vtab__emi small { color: var(--graphite); font-size: .84rem; }
.vtab__acts { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.vtab__acts .btn { min-height: 42px; padding: 0 16px; }
.vtab .stage__link, .lead .stage__link { min-height: 32px; padding: 0; background: none; border: 0; cursor: pointer; font: inherit; font-size: .92rem; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 859px) {
  .vers2 { padding-left: var(--gutter); padding-right: var(--gutter); }
  .vtab__row--head { display: none; }
  .vtab__row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; }
  .vtab__name { grid-column: 1 / -1; }
  .vtab__pw { grid-column: 1 / -1; }
  .vtab__acts { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ---------- Compare (model pages reuse the Seltos matrix styles) ---------- */
.cmp2 { padding: var(--section) var(--pad) 0; }
.cmp2 .vmx { margin-top: 0; }
@media (max-width: 859px) { .cmp2 { padding-left: var(--gutter); padding-right: var(--gutter); } }

/* ---------- Photographs ---------- */
.gal2 { padding: var(--section) 0 0 var(--pad); }
.gal2__head { padding-right: var(--pad); }
.gal2__row { margin-top: clamp(22px, 2.6vw, 36px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 10px; }
.gal2__list { list-style: none; margin: 0; padding: 0 var(--pad) 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 440px); gap: clamp(14px, 1.4vw, 22px); }
.gal2__list li { scroll-snap-align: start; }
.gal2__list figure { margin: 0; }
.gal2__list img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); background: var(--tint); }
.gal2__list figcaption { margin-top: 10px; font-size: .92rem; line-height: 1.45; color: var(--graphite); }
@media (max-width: 859px) { .gal2 { padding-left: var(--gutter); } .gal2__head { padding-right: var(--gutter); } .gal2__list { grid-auto-columns: 78vw; padding-right: var(--gutter); } }

/* ---------- Specifications ---------- */
.spec2 { padding: var(--section) var(--pad) 0; }
.spec2__grid { margin-top: clamp(22px, 2.6vw, 36px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--ink); padding-top: 22px; }
.spec2__col h3 { font-size: 1.05rem; font-weight: 600; }
.spec2__pw { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.spec2__pw li { display: grid; gap: 3px; padding: 14px 16px; background: var(--tint); border-radius: var(--r); }
.spec2__pw b { font-weight: 600; }
.spec2__pw span { font-size: .9rem; color: var(--graphite); line-height: 1.45; }
.spec2 dl { margin: 14px 0 0; display: grid; }
.spec2 dl div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.spec2 dt { font-size: .92rem; color: var(--graphite); }
.spec2 dd { margin: 0; font-size: .95rem; font-weight: 500; }
@media (max-width: 1099px) { .spec2__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .spec2__col--wide { grid-column: 1 / -1; } }
@media (max-width: 859px) { .spec2 { padding-left: var(--gutter); padding-right: var(--gutter); } .spec2__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Why buy here ---------- */
.why2 { padding: var(--section) var(--pad) 0; }
.why2__grid { list-style: none; margin: clamp(24px, 2.6vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); }
.why2__grid li { display: grid; align-content: start; gap: 10px; }
.why2__grid h3 { font-size: 1.08rem; font-weight: 600; }
.why2__grid p { font-size: .95rem; line-height: 1.55; color: var(--graphite); }
.why2__grid a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1099px) { .why2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 859px) { .why2 { padding-left: var(--gutter); padding-right: var(--gutter); } .why2__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- The closing enquiry ---------- */
.lead { margin-top: var(--section); padding: var(--section) var(--pad); background: var(--tint); }
.lead__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.lead__sub { margin-top: 12px; color: var(--graphite); font-size: clamp(1rem, 1.1vw, 1.08rem); }
.lead__form { margin-top: clamp(22px, 2.4vw, 32px); }
.lead__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.lead__fields .field { min-height: 56px; background: transparent; border: 0; border-bottom: 1px solid #c9ccd1; border-radius: 0; padding: 0 2px; }
.lead__fields .field--wide { grid-column: 1 / -1; }
.lead__fields .field__label small { margin-left: 6px; font-weight: 400; color: #8b9096; }
.lead__send { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 26px; }
.lead__send .btn { min-height: 54px; padding: 0 30px; }
.lead__notes { display: grid; gap: 6px; font-size: .88rem; color: var(--graphite); }
.lead__notes span { display: inline-flex; align-items: center; gap: 8px; }
.lead__notes .ico { width: 15px; height: 15px; }
.lead__form.is-done .lead__fields, .lead__form.is-done .lead__send { display: none; }
.lead__form .form__status { margin-top: 14px; font-size: 1.02rem; }
.lead__photo { margin: 0; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3; background: #dfe2e5; }
.lead__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1099px) { .lead__grid { grid-template-columns: minmax(0, 1fr); } .lead__photo { display: none; } }
@media (max-width: 859px) { .lead { padding-left: var(--gutter); padding-right: var(--gutter); } .lead__fields { grid-template-columns: minmax(0, 1fr); } .lead__send .btn { flex: 1 1 100%; } }

/* ---------- Page hero for the non-model pages ---------- */
.phero { position: relative; display: flex; align-items: flex-end; min-height: min(78vh, 720px); padding: calc(var(--nav-h, 72px) + 40px) var(--pad) clamp(40px, 6vh, 72px); color: #fff; background: #111; overflow: hidden; }
.phero__media { position: absolute; inset: 0; margin: 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 11, 13, .82) 0%, rgba(10, 11, 13, .45) 45%, rgba(10, 11, 13, .25) 100%); }
.phero__inner { position: relative; z-index: 1; max-width: 860px; }
.phero h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; }
html.font-archivo .phero h1 { font-weight: 500; }
.phero__lede { margin-top: 16px; max-width: 62ch; font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.55; color: rgba(255, 255, 255, .88); }
.phero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3vh, 30px); }
.phero__acts .btn { min-height: 52px; padding: 0 26px; }
.phero__acts .btn--glass { background: rgba(0, 0, 0, .15); border: 1px solid rgba(255, 255, 255, .7); color: #fff; }
.phero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.phero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.phero__meta .ico { width: 18px; height: 18px; }
.phero--short { min-height: min(56vh, 520px); }
@media (max-width: 859px) { .phero { padding-left: var(--gutter); padding-right: var(--gutter); min-height: 78svh; } .phero--short { min-height: 60svh; } .phero__acts .btn { flex: 1 1 auto; } }

/* ---------- Generic section, two-column copy, cards ---------- */
.sec { padding: var(--section) var(--pad) 0; }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; }
.sec__head .h2 { max-width: 22ch; }
.sec__lede { margin-top: 12px; max-width: 64ch; color: var(--graphite); font-size: clamp(1rem, 1.1vw, 1.08rem); line-height: 1.6; }
.prose { max-width: 70ch; }
.prose p { margin-top: 14px; font-size: 1.02rem; line-height: 1.7; color: var(--graphite); }
.prose h3 { margin-top: 26px; font-size: 1.15rem; font-weight: 600; }
.prose ul { margin: 12px 0 0; padding-left: 20px; color: var(--graphite); line-height: 1.7; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; margin-top: clamp(24px, 2.6vw, 36px); }
.split__photo { margin: 0; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3; background: var(--tint); }
.split__photo img { width: 100%; height: 100%; object-fit: cover; }
.cards { list-style: none; margin: clamp(24px, 2.6vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: grid; align-content: start; gap: 10px; padding: clamp(20px, 2vw, 28px); background: var(--tint); border-radius: var(--r-lg); }
.card h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.card p { font-size: .95rem; line-height: 1.55; color: var(--graphite); }
.card a:not(.btn) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.card--plain { background: none; padding: 0; }
/* The dealership pages' numbered steps (not the car pages' timeline, #steps, which pages.css draws) */
.steps:not(#steps) { list-style: none; counter-reset: s; margin: clamp(24px, 2.6vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.steps:not(#steps) li { counter-increment: s; display: grid; gap: 8px; padding-top: 16px; border-top: 2px solid var(--ink); }
.steps:not(#steps) li::before { content: "0" counter(s); font-size: .8rem; font-weight: 700; color: var(--graphite); }
.steps:not(#steps) h3 { font-size: 1.08rem; font-weight: 600; }
.steps:not(#steps) p { font-size: .95rem; line-height: 1.55; color: var(--graphite); }
.notebox { margin-top: 22px; padding: 16px 18px; border-left: 3px solid var(--ink); background: var(--tint); font-size: .92rem; line-height: 1.55; color: var(--graphite); max-width: 80ch; }
@media (max-width: 1099px) { .cards, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps:not(#steps) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 859px) { .sec { padding-left: var(--gutter); padding-right: var(--gutter); } .split { grid-template-columns: minmax(0, 1fr); } .cards, .cards--4, .cards--2, .steps:not(#steps) { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Locations (showrooms, workshops) ---------- */
.locs { list-style: none; margin: clamp(24px, 2.6vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px); }
.loc { display: grid; align-content: start; gap: 10px; }
.loc__img { display: block; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 11; background: var(--tint); }
.loc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.loc:hover .loc__img img { transform: scale(1.03); }
.loc h3 { margin-top: 6px; font-size: 1.2rem; font-weight: 600; }
.loc address { font-style: normal; font-size: .95rem; line-height: 1.5; color: var(--graphite); }
.loc__meta { display: grid; gap: 4px; font-size: .92rem; }
.loc__meta span { display: inline-flex; align-items: center; gap: 8px; }
.loc__meta .ico { width: 16px; height: 16px; }
.loc__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.loc__acts .btn { min-height: 44px; padding: 0 16px; }
.loc--text { padding: clamp(20px, 2vw, 26px); background: var(--tint); border-radius: var(--r-lg); }
@media (max-width: 1099px) { .locs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 859px) { .locs { grid-template-columns: minmax(0, 1fr); } }

/* Showroom page: details beside the map */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 56px); margin-top: clamp(24px, 2.6vw, 36px); align-items: start; }
.visit__info dl { margin: 0; display: grid; }
.visit__info dl div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.visit__info dt { font-size: .88rem; color: var(--graphite); }
.visit__info dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.visit__info dd a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.visit__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.visit__map { overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3; background: var(--tint); }
.visit__map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 859px) { .visit { grid-template-columns: minmax(0, 1fr); } .visit__info dl div { grid-template-columns: 100px minmax(0, 1fr); } }
.chips2 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips2 span { padding: 8px 12px; background: var(--tint); border-radius: var(--r); font-size: .9rem; }

/* ---------- Pre-owned ---------- */
.sample { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border: 1px solid #e0c46a; background: #fbf6e6; border-radius: var(--r); font-size: .92rem; line-height: 1.5; color: #5c4a12; max-width: 90ch; }
.sample b { color: #3e3108; }
.uc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 2.6vw, 40px); margin-top: clamp(24px, 2.6vw, 36px); align-items: start; }
.uc__filt { position: sticky; top: calc(var(--nav-h, 72px) + 16px); display: grid; gap: 18px; padding: 20px; background: var(--tint); border-radius: var(--r-lg); }
.uc__filt label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--graphite); }
.uc__filt select { min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); font: inherit; font-size: .95rem; color: var(--ink); }
.uc__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .95rem; color: var(--graphite); }
.uc__bar select { min-height: 40px; padding: 0 10px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); font: inherit; }
.uc__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.ucar { display: grid; align-content: start; border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.ucar[hidden] { display: none; }
.ucar__img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--tint); }
.ucar__img img { width: 100%; height: 100%; object-fit: contain; }
.ucar__tag { position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: var(--r); font-size: .72rem; font-weight: 600; letter-spacing: .04em; background: var(--ink); color: #fff; }
.ucar__tag--sample { left: auto; right: 10px; background: #e0c46a; color: #3e3108; }
.ucar__body { display: grid; gap: 6px; padding: 16px 16px 18px; }
.ucar__body h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.ucar__body h3 a { color: inherit; text-decoration: none; }
.ucar__specs { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .86rem; color: var(--graphite); }
.ucar__price { margin-top: 6px; font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ucar__price small { font-size: .8rem; font-weight: 400; color: var(--graphite); }
.ucar__acts { display: flex; gap: 10px; margin-top: 10px; }
.ucar__acts .btn { min-height: 42px; padding: 0 14px; flex: 1 1 auto; }
.uc__none { margin-top: 20px; color: var(--graphite); }
@media (max-width: 1199px) { .uc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 859px) { .uc { grid-template-columns: minmax(0, 1fr); } .uc__filt { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .uc__list { grid-template-columns: minmax(0, 1fr); } }

/* Used car detail */
.ud { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); padding: calc(var(--nav-h, 72px) + 28px) var(--pad) 0; align-items: start; }
.ud__photo { margin: 0; border-radius: var(--r-lg); background: var(--tint); aspect-ratio: 16 / 10; overflow: hidden; }
.ud__photo img { width: 100%; height: 100%; object-fit: contain; }
.ud__side h1 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.ud__price { margin-top: 14px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.ud__emi { margin-top: 4px; color: var(--graphite); }
.ud__facts { margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.ud__facts div { padding: 11px 0; border-bottom: 1px solid var(--rule); }
.ud__facts dt { font-size: .8rem; color: var(--graphite); }
.ud__facts dd { margin: 2px 0 0; font-weight: 500; }
.ud__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ud__acts .btn { min-height: 50px; padding: 0 22px; }
@media (max-width: 1099px) { .ud { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 859px) { .ud { padding-left: var(--gutter); padding-right: var(--gutter); } }
.crumbs-bar { padding: 0 var(--pad); }
@media (max-width: 859px) { .crumbs-bar { padding: 0 var(--gutter); } }

/* Pages that open without a dark photograph start with a solid header */
body.solid-nav .nav { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
body.solid-nav .nav::before { opacity: 0; }
body.solid-nav .nav:not(.is-open) .btn { background: transparent; }

/* Header: the cars menu is long; two columns */
/* Dropdowns: plain case and spacing (the top-level links are uppercase and tracked), each item on one line;
   the cars menu in two even columns, wide enough for its longest name */
.nav .nav__menu { width: max-content; min-width: 200px; padding: 10px; gap: 2px; }
.nav.nav--c .nav__menu a { display: block; padding: 11px 14px; font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; white-space: nowrap; line-height: 1.3; color: var(--ink); }
/* Cars: one panel the width of the header, as kia.com: the car's photo on the left, the range in three groups.
   The Cars item fills the header's height so the pointer can travel down into the panel. */
.nav--c .nav__links--l { align-self: stretch; }
.nav .nav__drop--mega { position: static; align-self: stretch; display: flex; align-items: center; }
.nav .nav__drop--mega .nav__menu--cars {
  left: 0; right: 0; top: 100%; width: auto; min-width: 0; padding: 18px var(--pad) 22px;
  display: grid; grid-template-columns: 230px auto; justify-content: center; align-items: center; column-gap: clamp(32px, 4vw, 64px);
  border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: none;
}
.nav:has(.nav__drop--mega:hover), .nav:has(.nav__drop--mega:focus-within) { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.nav:has(.nav__drop--mega:hover)::before, .nav:has(.nav__drop--mega:focus-within)::before { opacity: 0; }
.mega__stage { position: relative; aspect-ratio: 2 / 1.28; }
.mega__car { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; opacity: 0; transition: opacity .25s var(--ease); }
.mega__car.is-on { opacity: 1; }
.mega__car img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.mega__car figcaption { display: flex; align-items: baseline; gap: 8px; padding-left: 6%; }
.mega__car b { font-size: .88rem; font-weight: 600; }
.mega__car span { font-size: .8rem; color: var(--graphite); }
.mega__cols { display: grid; grid-template-columns: repeat(3, max-content); column-gap: clamp(28px, 3vw, 48px); }
.mega__col { display: flex; flex-direction: column; gap: 0; min-width: 150px; }
.mega__head { margin: 0 0 6px; padding-bottom: 7px; border-bottom: 1px solid var(--rule); font-size: .86rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); }
.nav.nav--c .nav__menu--cars .mega__col a { padding: 5px 0; font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; border-radius: 0; }
.nav.nav--c .nav__menu--cars .mega__col a:hover { background: none; opacity: .62; }

.hero__tag { margin-top: 10px; font-size: clamp(1rem, 1.25vw, 1.15rem); color: rgba(255, 255, 255, .88); }
@media (max-width: 859px) { .vtab__row { grid-template-columns: minmax(0, 1fr) auto; } }

/* Lead form fields: the label above, the value on an underline (as the Seltos booking form) */
.lead__fields .field { flex-wrap: wrap; align-content: flex-end; min-height: 70px; padding: 0 2px; row-gap: 0; box-shadow: none; transition: border-color .2s var(--ease); }
.lead__fields .field:hover { border-bottom-color: #8b9096; }
.lead__fields .field:focus-within { box-shadow: none; border-bottom-color: var(--ink); outline: 0; }
.lead__fields .field.is-invalid { box-shadow: none; border-bottom-color: var(--error, #c0392b); }
.lead__fields .field__label { flex: 0 0 100%; font-size: .78rem; font-weight: 600; letter-spacing: .04em; line-height: 1.4; color: var(--graphite); cursor: pointer; }
.lead__fields .field input, .lead__fields .field select { height: 44px; background: transparent; }
.lead__fields .field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--tint) inset; }
.lead__fields .field > .ico { align-self: center; }
.lead__fields .field:focus-within .field__label { color: var(--ink); }
/* Photographs with transparent backgrounds read on a dark ground */
.gal2__list img { background: #17191b; }

/* Model hero on phones: the photograph first, then the name, the price and the buttons, then the facts */
@media (max-width: 859px) {
  .hero.hero--model { display: flex; flex-direction: column; justify-content: flex-start; height: auto; min-height: 0; padding: var(--nav-h, 64px) 0 26px; background: #0e0f11; }
  .hero--model .hero__media { position: relative; inset: auto; order: 0; height: 56svh; min-height: 300px; }
  .hero--model .hero__media .hero__slide, .hero--model .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero--model .hero__veil { background: linear-gradient(0deg, #0e0f11 0%, rgba(14, 15, 17, 0) 45%); }
  .hero--model .hero__inner { display: block; order: 1; position: relative; z-index: 2; margin: -40px 0 0; padding: 0 var(--gutter); }
  .hero--model .hero__inner > * { order: initial; }
  .hero--model .crumbs ol { margin-bottom: 10px; }
  .hero--model .hero__title { font-size: clamp(2rem, 9vw, 2.6rem); padding: 0; }
  .hero--model .hero__tag, .hero--model .hero__from { padding: 0; }
  .hero--model .hero__from > span { padding-left: 0; border-left: 0; flex-basis: 100%; }
  .hero--model .hero__actions { display: flex; gap: 10px; margin-top: 18px; padding: 0; }
  .hero--model .hero__actions .btn { flex: 1 1 0; min-height: 50px; padding: 0 12px; }
  .hero--model .hero__facts { order: 2; padding: 20px var(--gutter) 0; }
}
.card .keyf__ico { background: var(--white); }
.phero__acts .btn:not(.btn--glass) { background: #f6f1ea; border-color: #f6f1ea; color: #17191b; }
.phero__acts .btn:not(.btn--glass):hover { background: #fff; border-color: #fff; }
.sec .phero__acts .btn:not(.btn--glass), .split .phero__acts .btn:not(.btn--glass), .ud .btn:not(.btn--ghost) { background: var(--ink); border-color: var(--ink); color: #fff; }


/* ============================================================
   OFFERS BANNER (.ob) — the month's offer as one wide creative.
   Designed on a 2000 x 660 canvas; --u is one design pixel, so every
   size below scales with the banner's width. Under 760px it stacks.
   ============================================================ */
.ob { --u: .05cqw; container-type: inline-size; position: relative; margin-top: clamp(22px, 2.6vw, 34px); overflow: hidden; border-radius: var(--r-lg); background: #0b0d10; color: #fff; }
.ob p { margin: 0; }
.ob__bg { margin: 0; }
.ob__bg img { display: block; max-width: none; }
.ob__sep { display: block; width: 1px; background: rgba(255,255,255,.55); }
.ob__brand { display: flex; align-items: center; }
.ob__brand img { display: block; width: auto; filter: brightness(0) invert(1); }
.ob__kicker { display: flex; align-items: center; font-weight: 300; color: rgba(255,255,255,.92); }
.ob__kicker::before { content: ""; height: 1px; background: rgba(255,255,255,.75); }
.ob__lead { font-weight: 300; line-height: 1; letter-spacing: -.01em; }
.ob__amount { font-weight: 700; line-height: 1; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ob__amount sup { font-size: .42em; font-weight: 500; vertical-align: top; position: relative; top: .1em; }
.ob__copy { line-height: 1.4; color: rgba(255,255,255,.95); }
.ob__model { display: flex; align-items: flex-end; }
.ob__name { display: grid; }
.ob__name small { font-weight: 500; letter-spacing: .38em; text-transform: uppercase; }
.ob__name b { font-weight: 700; letter-spacing: .3em; line-height: 1; text-transform: uppercase; }
.ob__tag { font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.ob__price small { display: block; font-weight: 400; color: #2b3036; }
.ob__price b { display: block; font-weight: 700; letter-spacing: -.015em; line-height: 1; font-variant-numeric: tabular-nums; }
.ob__price b sup { font-size: .5em; font-weight: 500; vertical-align: top; position: relative; top: .1em; }
.ob .timer { display: block; }
.ob .timer__label { display: block; max-width: none; font-weight: 400; letter-spacing: 0; text-transform: none; text-align: left; color: #2b3036; }
.ob .timer__clock { display: flex; font-size: inherit; font-weight: 400; }
.ob .timer__clock span { display: grid; justify-items: center; border: 0; }
.ob .timer__clock span + span { border-left: 1px solid rgba(20,23,26,.5); }
.ob .timer__clock b { font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.ob .timer__clock i { font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; color: #2b3036; }
.ob__acts { display: flex; }
.ob__btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 600; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.ob__btn .ico { flex: none; transition: transform .25s var(--ease); }
.ob__btn:hover .ico { transform: translateX(3px); }
.ob__btn--dark { background: var(--midnight); color: #fff; }
.ob__btn--dark:hover { background: var(--navy-2); }
.ob__btn--line { background: rgba(255,255,255,.14); color: var(--ink); border-color: rgba(20,23,26,.6); }
.ob__btn--line:hover { background: #fff; border-color: var(--ink); }
.ob__note p { display: flex; align-items: center; color: #2b3036; }
.ob__note svg { flex: none; }
.ob__tc { justify-content: flex-end; }

/* Wide: the 2000 x 660 creative, every measure in design pixels */
@media (min-width: 960px) {
  .ob { aspect-ratio: 2000 / 660; }
  .ob > * { position: absolute; }
  .ob__bg { inset: 0; }
  .ob__bg img { position: absolute; left: -5%; top: -4.8%; width: 103%; height: auto; }
  /* Left shade so white copy reads over the mountains, right wash so dark copy reads over the bushes */
  .ob::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(90deg, rgba(8,12,16,.88) 0%, rgba(8,12,16,.78) 13%, rgba(8,12,16,.40) 21%, rgba(8,12,16,0) 28%),
      linear-gradient(270deg, rgba(236,236,234,.86) 0%, rgba(236,236,234,.78) 20%, rgba(236,236,234,.35) 27%, rgba(236,236,234,0) 33%),
      linear-gradient(180deg, rgba(8,12,16,.28) 0%, rgba(8,12,16,0) 30%); }
  .ob > :not(.ob__bg) { z-index: 2; }

  .ob__brand { left: calc(62 * var(--u)); top: calc(42 * var(--u)); gap: calc(24 * var(--u)); }
  .ob__brand img { height: calc(46 * var(--u)); }
  .ob__brand .ob__sep { height: calc(36 * var(--u)); }
  .ob__brand span:last-child { font-size: max(calc(19 * var(--u)), 12px); color: rgba(255,255,255,.95); }

  .ob__offer { left: calc(74 * var(--u)); top: calc(146 * var(--u)); width: calc(470 * var(--u)); }
  .ob__kicker { gap: calc(16 * var(--u)); margin-bottom: calc(32 * var(--u)); font-size: max(calc(23 * var(--u)), 13px); }
  .ob__kicker::before { width: calc(42 * var(--u)); }
  .ob__lead { font-size: calc(56 * var(--u)); }
  .ob__amount { margin-top: calc(6 * var(--u)); font-size: calc(84 * var(--u)); }
  .ob__copy { margin-top: calc(26 * var(--u)); max-width: calc(380 * var(--u)); font-size: max(calc(20 * var(--u)), 12px); }

  .ob__model { left: calc(62 * var(--u)); bottom: calc(56 * var(--u)); gap: calc(26 * var(--u)); }
  .ob__name { gap: calc(8 * var(--u)); }
  .ob__name small { font-size: max(calc(12 * var(--u)), 9px); color: rgba(255,255,255,.9); }
  .ob__name b { font-size: calc(36 * var(--u)); }
  .ob__model .ob__sep { height: calc(46 * var(--u)); align-self: center; }
  .ob__tag { font-size: max(calc(13 * var(--u)), 9px); color: rgba(255,255,255,.92); padding-bottom: calc(6 * var(--u)); }

  .ob__deal { right: calc(56 * var(--u)); top: calc(118 * var(--u)); width: calc(490 * var(--u)); color: var(--ink); }
  .ob__price small { font-size: max(calc(19 * var(--u)), 12px); }
  .ob__price b { margin-top: calc(8 * var(--u)); font-size: calc(42 * var(--u)); }
  .ob__ends { margin-top: calc(28 * var(--u)); padding-top: calc(24 * var(--u)); border-top: 1px solid rgba(20,23,26,.55); }
  .ob .timer__label { margin-bottom: calc(20 * var(--u)); font-size: max(calc(20 * var(--u)), 12px); }
  .ob .timer__clock span { gap: calc(6 * var(--u)); min-width: calc(118 * var(--u)); padding: calc(2 * var(--u)) 0; }
  .ob .timer__clock b { font-size: calc(44 * var(--u)); }
  .ob .timer__clock i { font-size: max(calc(19 * var(--u)), 11px); }

  .ob__acts { right: calc(56 * var(--u)); top: calc(466 * var(--u)); gap: calc(18 * var(--u)); }
  .ob__btn { height: calc(54 * var(--u)); padding: 0 calc(26 * var(--u)); gap: calc(12 * var(--u)); font-size: max(calc(19 * var(--u)), 12px); }
  .ob__btn .ico { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }

  .ob__note { right: calc(56 * var(--u)); top: calc(546 * var(--u)); width: calc(540 * var(--u)); }
  .ob__note p { gap: calc(10 * var(--u)); font-size: max(calc(14.5 * var(--u)), 10px); }
  .ob__note svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
  .ob__tc { margin-top: calc(14 * var(--u)); }
}

/* Narrow: the photograph on top with the offer over it, the details in a panel below */
@media (max-width: 959px) {
  .ob { display: grid; background: var(--tint); border: 1px solid var(--rule); }
  .ob__bg { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #0b0d10; }
  .ob__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
  .ob__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,16,.45) 0%, rgba(8,12,16,0) 28%, rgba(8,12,16,0) 42%, rgba(8,12,16,.88) 100%); }
  .ob__bg, .ob__brand, .ob__offer { grid-area: 1 / 1; }
  .ob__brand { align-self: start; justify-self: start; margin: 16px 18px; z-index: 2; gap: 12px; }
  .ob__brand img { height: 26px; }
  .ob__brand .ob__sep { height: 20px; }
  .ob__brand span:last-child { font-size: 12px; color: rgba(255,255,255,.95); }
  .ob__offer { align-self: end; margin: 0 18px 18px; z-index: 2; }
  .ob__kicker { gap: 10px; margin-bottom: 12px; font-size: 14px; }
  .ob__kicker::before { width: 24px; }
  .ob__lead { font-size: 24px; }
  .ob__amount { margin-top: 4px; font-size: 42px; }
  .ob__copy { margin-top: 10px; font-size: 14px; }

  .ob__model, .ob__deal, .ob__acts, .ob__note { color: var(--ink); padding-left: 18px; padding-right: 18px; }
  .ob__model { padding-top: 20px; gap: 14px; flex-wrap: wrap; }
  .ob__name { gap: 4px; }
  .ob__name small { font-size: 10px; color: var(--graphite); }
  .ob__name b { font-size: 22px; }
  .ob__model .ob__sep { height: 28px; align-self: center; background: #c9cdd2; }
  .ob__tag { font-size: 10px; color: var(--graphite); padding-bottom: 3px; }

  .ob__deal { padding-top: 18px; }
  .ob__price small { font-size: 13px; }
  .ob__price b { margin-top: 4px; font-size: 26px; }
  .ob__ends { margin-top: 16px; padding-top: 14px; border-top: 1px solid #d4d7db; }
  .ob .timer__label { margin-bottom: 10px; font-size: 14px; }
  .ob .timer__clock span { gap: 3px; min-width: 76px; padding: 2px 0; }
  .ob .timer__clock b { font-size: 26px; }
  .ob .timer__clock i { font-size: 12px; }

  .ob__acts { padding-top: 18px; display: grid; gap: 10px; }
  .ob__btn { min-height: 48px; padding: 0 20px; gap: 10px; font-size: 15px; }
  .ob__btn .ico { width: 16px; height: 16px; }
  .ob__btn--line { background: #fff; }

  .ob__note { padding-top: 14px; padding-bottom: 22px; }
  .ob__note p { gap: 8px; font-size: 12px; }
  .ob__note svg { width: 18px; height: 18px; }
  .ob__tc { margin-top: 6px; justify-content: flex-start; }
}
