/* GM Vehicle Inquiry front-end styles */
.gmvi-hero, .gmvi-brands, .gmvi-featured, .gmvi-steps, .gmvi-form-wrap, .gmvi-done, .gmvi-table {
	--gm-red: #A50707;
	--gm-red-dark: #7d0505;
	--gm-ink: #0d0f12;
	--gm-ink-2: #171a1f;
	--gm-line: #e4e6ea;
	--gm-muted: #6b7280;
	--gm-radius: 10px;
	box-sizing: border-box;
}
.gmvi-hero *, .gmvi-brands *, .gmvi-featured *, .gmvi-steps *, .gmvi-form-wrap *, .gmvi-done * { box-sizing: border-box; }

/* Buttons */
.gmvi-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px; border-radius: 6px; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; line-height: 1; }
.gmvi-btn:hover { transform: translateY(-1px); }
.gmvi-btn--primary { background: var(--gm-red, #A50707); color: #fff !important; }
.gmvi-btn--primary:hover { background: var(--gm-red-dark, #7d0505); }
.gmvi-btn--ghost { background: transparent; color: inherit !important; border-color: currentColor; }
.gmvi-btn--sm { min-height: 42px; padding: 0 18px; font-size: 13px; }
.gmvi-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.gmvi-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gm-red, #A50707); }
.gmvi-small { font-size: 13px; color: var(--gm-muted, #6b7280); margin: 12px 0 0; }

/* Hero */
.gmvi-hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden; background: radial-gradient(1200px 600px at 75% 30%, #2a0606 0%, #0d0f12 55%, #07080a 100%); color: #fff; isolation: isolate; }
.gmvi-hero__video, .gmvi-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; z-index: -2; }
.gmvi-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,8,10,.92) 0%, rgba(7,8,10,.7) 45%, rgba(7,8,10,.25) 100%); }
.gmvi-hero__inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 96px 24px; }
.gmvi-hero__title { font-size: clamp(36px, 6vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; margin: 0 0 18px; max-width: 14ch; color: #fff; }
.gmvi-hero__brands { font-size: clamp(14px, 1.6vw, 18px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 22px; color: #fff; opacity: .92; }
.gmvi-hero__lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; max-width: 56ch; margin: 0 0 32px; color: rgba(255,255,255,.86); }
.gmvi-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.gmvi-hero__ctas .gmvi-btn--ghost { color: #fff !important; border-color: rgba(255,255,255,.7); }
.gmvi-hero__ctas .gmvi-btn--ghost:hover { background: #fff; color: var(--gm-ink, #0d0f12) !important; border-color: #fff; }
.gmvi-hero__note { margin: 28px 0 0; font-size: 13px; max-width: 64ch; color: rgba(255,255,255,.62); }

/* Brand strip */
.gmvi-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.gmvi-brands__item { display: flex; align-items: center; justify-content: center; min-height: 84px; padding: 12px; border: 1px solid var(--gm-line, #e4e6ea); border-radius: var(--gm-radius, 10px); background: #fff; color: var(--gm-ink, #0d0f12) !important; font-weight: 800; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none !important; transition: border-color .2s, box-shadow .2s, color .2s; text-align: center; overflow-wrap: anywhere; }
.gmvi-brands__item:hover { border-color: var(--gm-red, #A50707); color: var(--gm-red, #A50707) !important; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.gmvi-brands__item--other { font-weight: 600; font-size: 14px; color: var(--gm-muted, #6b7280) !important; }

/* Featured cards */
.gmvi-featured { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.gmvi-card { display: flex; flex-direction: column; border-radius: var(--gm-radius, 10px); overflow: hidden; background: #fff; border: 1px solid var(--gm-line, #e4e6ea); transition: box-shadow .25s, transform .25s; }
.gmvi-card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.10); transform: translateY(-3px); }
.gmvi-card__media { position: relative; aspect-ratio: 16 / 10; background: #f3f4f6; overflow: hidden; }
.gmvi-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gmvi-card--text .gmvi-card__media { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: radial-gradient(500px 260px at 85% 10%, #3a0808 0%, #121418 60%, #0b0c0f 100%); color: #fff; }
.gmvi-card__year { white-space: nowrap; font-size: clamp(44px, 5vw, 64px); font-weight: 800; line-height: .9; letter-spacing: -.02em; color: rgba(255,255,255,.95); }
.gmvi-card__brandmark { margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #ff6b6b; }
.gmvi-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.gmvi-card__meta { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gm-muted, #6b7280); }
.gmvi-card__title { margin: 6px 0 4px; font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--gm-ink, #0d0f12); }
.gmvi-card__trim { margin: 0 0 18px; font-size: 15px; color: #374151; }
.gmvi-card .gmvi-btn { margin-top: auto; align-self: flex-start; }

/* Steps */
.gmvi-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.gmvi-steps__item { padding: 26px 22px; border-radius: var(--gm-radius, 10px); background: #fff; border: 1px solid var(--gm-line, #e4e6ea); border-top: 3px solid var(--gm-red, #A50707); }
.gmvi-steps__num { display: block; font-size: 14px; font-weight: 800; letter-spacing: .12em; color: var(--gm-red, #A50707); margin-bottom: 10px; }
.gmvi-steps__item h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: var(--gm-ink, #0d0f12); }
.gmvi-steps__item p { margin: 0; font-size: 15px; line-height: 1.6; color: #4b5563; }

/* Form */
.gmvi-form-wrap { max-width: 1040px; margin: 0 auto; padding: 44px; border-radius: 14px; background: #fff; border: 1px solid var(--gm-line, #e4e6ea); box-shadow: 0 24px 60px rgba(13,15,18,.08); scroll-margin-top: 120px; }
.gmvi-form-head h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--gm-ink, #0d0f12); }
.gmvi-form-head p { margin: 0 0 26px; color: #4b5563; font-size: 16px; line-height: 1.6; }
.gmvi-form-head a { color: var(--gm-red, #A50707); font-weight: 700; }
.gmvi-fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.gmvi-fieldset legend { padding: 0; margin: 0 0 16px; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gm-ink, #0d0f12); }
.gmvi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.gmvi-grid--line { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.gmvi-field { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.gmvi-field--full { grid-column: 1 / -1; }
.gmvi-field > span { font-size: 13px; font-weight: 600; color: #374151; }
.gmvi-form input[type="text"], .gmvi-form input[type="email"], .gmvi-form input[type="tel"], .gmvi-form input[type="number"], .gmvi-form select, .gmvi-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #cfd3da; border-radius: 6px; background: #fff; color: var(--gm-ink, #0d0f12); font-size: 15px; line-height: 1.4; box-shadow: none; margin: 0; }
.gmvi-form textarea { min-height: 96px; resize: vertical; }
.gmvi-form select:disabled { background: #f5f6f8; color: #9aa1ab; }
.gmvi-form input:focus, .gmvi-form select:focus, .gmvi-form textarea:focus { outline: none; border-color: var(--gm-red, #A50707); box-shadow: 0 0 0 3px rgba(165,7,7,.12); }
.gmvi-line { padding: 20px; margin: 0 0 14px; border: 1px solid var(--gm-line, #e4e6ea); border-radius: var(--gm-radius, 10px); background: #fafafb; }
.gmvi-line .gmvi-grid + .gmvi-grid { margin-top: 16px; }
.gmvi-line__label { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gm-red, #A50707); }
.gmvi-field--remove { justify-content: flex-end; }
.gmvi-line__remove { min-height: 48px; padding: 0 14px; border: 1px solid #cfd3da; border-radius: 6px; background: #fff; color: #4b5563; font-size: 14px; font-weight: 600; cursor: pointer; }
.gmvi-line__remove:hover { border-color: var(--gm-red, #A50707); color: var(--gm-red, #A50707); }
.gmvi-hidden { display: none !important; }
.gmvi-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gmvi-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 24px; font-size: 14px; color: #374151; }
.gmvi-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gm-red, #A50707); }
.gmvi-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.gmvi-actions .gmvi-small { margin: 0; flex: 1 1 320px; }
.gmvi-msg { margin-top: 16px; font-size: 15px; }
.gmvi-msg--err { padding: 12px 14px; border-radius: 6px; background: #fbebeb; color: #8a1010; }
.gmvi-done { max-width: 1040px; margin: 0 auto; padding: 44px; border-radius: 14px; background: #fff; border: 1px solid var(--gm-line, #e4e6ea); border-top: 4px solid #1d7a33; text-align: center; }
.gmvi-done h3 { margin: 0 0 10px; font-size: 26px; font-weight: 800; color: var(--gm-ink, #0d0f12); }
.gmvi-done p { margin: 0 auto; max-width: 60ch; font-size: 16px; line-height: 1.6; color: #374151; }
.gmvi-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.gmvi-table th, .gmvi-table td { padding: 12px 10px; border-bottom: 1px solid var(--gm-line, #e4e6ea); text-align: left; vertical-align: top; }

/* Responsive */
@media (max-width: 640px) {
	.gmvi-hero__inner { padding: 72px 16px; }
	.gmvi-hero__ctas .gmvi-btn { width: 100%; }
	.gmvi-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gmvi-brands__item { min-height: 64px; font-size: 14px; }
	.gmvi-featured, .gmvi-steps, .gmvi-grid { grid-template-columns: 1fr; }
	.gmvi-grid--line { grid-template-columns: 1fr 1fr; }
	.gmvi-form-wrap, .gmvi-done { padding: 24px 16px; border-radius: 10px; }
	.gmvi-line { padding: 14px; }
	.gmvi-actions .gmvi-btn { width: 100%; }
}

/* Polish */
.gmvi-card .gmvi-btn { width: 100%; padding: 0 12px; letter-spacing: .03em; white-space: nowrap; }
.gmvi-hero .gmvi-eyebrow { color: #ff6b6b; }

/* ------------------------------------------------------------------
 * Site design alignment (GM Auto Sales Elementor design):
 * Fraunces serif headings, IBM Plex Mono labels, gold accents, 16px radii.
 * ---------------------------------------------------------------- */
.gmvi-hero, .gmvi-brands, .gmvi-featured, .gmvi-steps, .gmvi-form-wrap, .gmvi-done {
	--gm-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--gm-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
	--gm-gold: #8A6A24;
	--gm-cream: #f3e9dc;
	--gm-radius: 16px;
}
.gmvi-btn { font-size: 13px; font-weight: 600; letter-spacing: .08em; border-radius: 4px; }
.gmvi-eyebrow { font-family: var(--gm-mono); font-weight: 500; font-size: 13px; letter-spacing: .14em; color: var(--gm-gold); }
.gmvi-hero .gmvi-eyebrow { color: #d9b878; }
.gmvi-hero__title { font-family: var(--gm-serif); font-weight: 400; text-transform: none; letter-spacing: -.005em; line-height: 1.08; font-size: clamp(40px, 5.4vw, 70px); max-width: 15ch; color: var(--gm-cream); }
.gmvi-hero__brands { font-family: var(--gm-mono); font-weight: 500; font-size: clamp(13px, 1.3vw, 15px); letter-spacing: .16em; color: #e2c88f; opacity: 1; }
.gmvi-hero__lead { color: rgba(243, 233, 220, .88); }
.gmvi-brands__item { border-radius: 14px; font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.gmvi-card__year { font-family: var(--gm-serif); font-weight: 400; letter-spacing: -.01em; color: var(--gm-cream); }
.gmvi-card__brandmark { font-family: var(--gm-mono); font-weight: 500; letter-spacing: .22em; color: #e2c88f; }
.gmvi-card__meta { font-family: var(--gm-mono); font-weight: 500; letter-spacing: .12em; }
.gmvi-card__title { font-family: var(--gm-serif); font-weight: 500; font-size: 24px; letter-spacing: 0; }
.gmvi-steps__num { font-family: var(--gm-mono); font-weight: 500; }
.gmvi-steps__item h3 { font-family: var(--gm-serif); font-weight: 500; font-size: 22px; }
.gmvi-form-head h2 { font-family: var(--gm-serif); font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
.gmvi-fieldset legend { font-family: var(--gm-mono); font-weight: 500; font-size: 13px; letter-spacing: .14em; color: var(--gm-gold); }
.gmvi-line__label { font-family: var(--gm-mono); font-weight: 500; }
.gmvi-done h3 { font-family: var(--gm-serif); font-weight: 400; font-size: 30px; }

/* ------------------------------------------------------------------
 * Theme compatibility (AutoDeal): the theme turns every <select> into a
 * jQuery "nice-select" widget that does not update when options change.
 * Keep the native selects for the vehicle selector, and win specificity
 * battles with the theme's generic p / legend rules.
 * ---------------------------------------------------------------- */
.gmvi-form .nice-select { display: none !important; }
.gmvi-form select { display: block !important; height: 50px; min-height: 50px; padding: 0 40px 0 14px; border-radius: 6px; -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23374151' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; cursor: pointer; }
.gmvi-form select:disabled { cursor: not-allowed; }
.gmvi-form input[type="text"], .gmvi-form input[type="email"], .gmvi-form input[type="tel"], .gmvi-form input[type="number"] { height: 50px; min-height: 50px; }
.gmvi-form-wrap .gmvi-form-head .gmvi-eyebrow, .gmvi-hero .gmvi-eyebrow { margin: 0 0 12px; }
.gmvi-form-wrap .gmvi-form-head .gmvi-eyebrow { color: var(--gm-gold, #8A6A24); }
.gmvi-form-wrap .gmvi-form-head p:not(.gmvi-eyebrow) { margin: 0 0 30px; }
.gmvi-form-wrap .gmvi-fieldset legend { float: none; width: auto; display: block; margin: 0 0 16px; }
.gmvi-form-wrap .gmvi-line .gmvi-line__label { margin: 0 0 14px; }
.gmvi-form-wrap .gmvi-field > span { line-height: 1.3; }
.gmvi-featured .gmvi-card__meta { margin: 0; color: var(--gm-muted, #6b7280); }
.gmvi-featured .gmvi-card__trim { margin: 0 0 18px; }
