/* ==========================================================================
   Homepage sections
   ========================================================================== */

/* ---------- hero ---------- */
.hero {
	position: relative;
	padding: 64px 0 56px;
	background:
		radial-gradient(900px 420px at 88% -10%, rgba(0, 107, 58, 0.1), transparent 70%),
		linear-gradient(180deg, var(--tint) 0%, #f8fbf9 100%);
	border-bottom: 1px solid var(--line);
}
.hero__grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 64px; align-items: center; }
.hero__copy { max-width: 590px; }
.hero h1,
.hero .hero__title {
	font-size: clamp(42px, 5.6vw, 70px);
	line-height: 1.01;
	letter-spacing: -0.04em;
	margin: 0 0 24px;
}
.hero h1 span, .hero .hero__title span { display: block; }
.t-green { color: var(--brand); }
.t-dark { color: var(--ink); }
.hero .lead { max-width: 480px; font-size: 18px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* slider: all slides share one grid cell, so the height never jumps */
.hero__stage { position: relative; }
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s linear .55s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .55s ease, visibility 0s; }
.hero__ctrl {
	position: absolute; right: 16px; bottom: 16px; z-index: 3;
	display: flex; align-items: center; gap: 10px;
	padding: 6px; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line); border-radius: 999px;
	box-shadow: var(--shadow-lg);
}
.hero__arrow {
	width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
	border: 0; background: var(--brand-50); color: var(--brand); cursor: pointer;
	transition: background .2s, color .2s, transform .2s;
}
.hero__arrow:hover { background: var(--brand); color: #fff; }
.hero__arrow:active { transform: scale(.94); }
.hero__arrow .icon { width: 17px; height: 17px; }
.hero__count { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.hero__count b { color: var(--ink); }
.hero__dots { display: flex; gap: 6px; }
.hero__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #c9d6cf; cursor: pointer; transition: width .25s, background .25s; }
.hero__dots button.is-active { width: 22px; background: var(--brand); }
.hero__arrow:focus-visible, .hero__dots button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .hero__slide, .hero__slide.is-active { transition: none; } }

.hero__media { position: relative; margin: 0; }
.hero__media img {
	display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; object-position: center;
	border-radius: 22px;
	box-shadow: var(--shadow-lg);
	border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero__card {
	position: absolute; left: -32px; bottom: 32px;
	display: flex; align-items: center; gap: 14px;
	max-width: 330px; padding: 16px 20px;
	background: #fff; border-radius: 16px;
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--line);
}
.hero__card-ico, .float-card__ico {
	flex: none; width: 46px; height: 46px; display: grid; place-items: center;
	background: var(--brand-50); color: var(--brand); border-radius: 12px;
}
.hero__card strong, .float-card strong { display: block; font-family: var(--font-head); font-size: 15px; line-height: 1.3; color: var(--ink); font-weight: 700; }
.hero__card small, .float-card small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

.hero__finder { margin-top: 56px; }
.finder {
	background: #fff; border: 1px solid var(--line); border-radius: 20px;
	box-shadow: var(--shadow-lg);
	padding: 8px 8px 8px;
}
.finder__tabs { display: flex; gap: 6px; padding: 10px 18px 0; border-bottom: 1px solid var(--line); }
.finder__tabs button {
	position: relative; padding: 12px 18px 14px; background: none; border: 0;
	font-family: var(--font-head); font-size: 14.5px; font-weight: 600; color: var(--muted);
}
.finder__tabs button::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px;
	background: var(--brand); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform 0.25s var(--ease);
}
.finder__tabs button:hover { color: var(--ink); }
.finder__tabs button[aria-selected="true"] { color: var(--brand); font-weight: 700; }
.finder__tabs button[aria-selected="true"]::after { transform: scaleX(1); }

.finder__panel { display: flex; align-items: flex-end; gap: 16px; padding: 22px 20px 20px; flex-wrap: wrap; }
.finder__fields { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; min-width: 0; }
.finder__fields--vin { grid-template-columns: 1fr; }
.ff { display: block; min-width: 0; }
.ff__label { display: block; margin-bottom: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ff__label b { margin-right: 4px; color: var(--brand); font-family: var(--font-head); }
.ff__select { position: relative; display: block; }
.ff__select .icon { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); pointer-events: none; }
.ff select, .ff input {
	width: 100%; height: 54px; padding: 0 16px;
	background: #fff; border: 1.5px solid var(--line-strong); border-radius: 12px;
	font-size: 15px; font-weight: 500; color: var(--ink);
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.ff select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.ff select:hover:not(:disabled), .ff input:hover { border-color: var(--brand); }
.ff select:focus, .ff input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 107, 58, 0.12); }
.ff select:disabled { background: var(--tint); color: #8a9a90; cursor: not-allowed; border-color: var(--line); }
.finder__go { flex: none; min-width: 190px; height: 54px; }
.finder__hint { flex: 0 0 100%; margin: 0; font-size: 13.5px; color: var(--danger); font-weight: 500; }

.hero__points { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; margin-top: 28px; }
.hero__points li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--muted); }
.hero__points .icon { width: 19px; height: 19px; color: var(--brand); }

@media (max-width: 1040px) {
	.hero { padding: 40px 0 44px; }
	.hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.hero__copy { max-width: none; }
	.hero__card { left: 16px; bottom: 16px; }
	.hero__media img { aspect-ratio: 16 / 10; }
	.hero__ctrl { position: static; width: max-content; margin: 22px auto 0; }
	.finder__fields { grid-template-columns: repeat(2, 1fr); }
	.finder__go { width: 100%; }
}
@media (max-width: 560px) {
	.finder__fields { grid-template-columns: 1fr; }
	.finder__tabs { padding-inline: 8px; }
	.finder__tabs button { padding-inline: 12px; font-size: 13.5px; }
	.finder__panel { padding: 18px 12px 12px; }
	.hero__points { justify-content: flex-start; gap: 12px 24px; }
	.hero__card { max-width: calc(100% - 32px); padding: 12px 14px; }
}

/* ---------- categories ---------- */
.cat-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
	display: flex; align-items: center; gap: 16px; height: 100%;
	padding: 22px 22px; background: #fff;
	border: 1px solid var(--line); border-radius: 16px;
	color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.cat:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.cat__ico {
	flex: none; width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden;
	background: var(--brand-50); color: var(--brand); border-radius: 14px;
	transition: background 0.2s, color 0.2s;
}
.cat__ico .icon { width: 27px; height: 27px; }
.cat__ico img { width: 100%; height: 100%; object-fit: cover; }
.cat:hover .cat__ico { background: var(--brand); color: #fff; }
.cat__name { font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.cat__arrow { margin-left: auto; width: 18px; height: 18px; color: var(--brand); opacity: 0; transform: translateX(-6px); transition: opacity 0.2s, transform 0.25s var(--ease); }
.cat:hover .cat__arrow { opacity: 1; transform: none; }
@media (max-width: 1040px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
	.cat-grid { gap: 10px; }
	.cat { padding: 16px 14px; gap: 12px; }
	.cat__ico { width: 44px; height: 44px; }
	.cat__name { font-size: 14.5px; }
	.cat__arrow { display: none; }
}

/* ---------- makes ---------- */
.make {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; height: 100%;
	padding: 26px 14px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; text-align: center;
	transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.make::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none;
	background: radial-gradient(120% 90% at 50% 0%, rgba(0, 107, 58, 0.09), transparent 70%); transition: opacity 0.3s;
}
.make:hover, .make:focus-visible { border-color: var(--brand); transform: translateY(-5px); box-shadow: 0 22px 40px -22px rgba(0, 107, 58, 0.45); }
.make:hover::before, .make:focus-visible::before { opacity: 1; }
.make__badge {
	position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
	background: linear-gradient(145deg, #f6f9f7, #e8f0eb); border: 1px solid var(--line);
	transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.make:hover .make__badge { background: #fff; border-color: var(--brand-100); transform: scale(1.06); }
.make__logo { width: 52px; height: 52px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: 0.8; transition: filter 0.3s, opacity 0.3s; }
.make:hover .make__logo { filter: none; opacity: 1; }
.make__icon {
	display: block; width: 46px; height: 46px; background: #5c6b63;
	-webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
	transition: background 0.3s, transform 0.3s var(--ease);
}
.make:hover .make__icon { background: var(--brand); }
.make__mono { font-family: var(--font-head); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.04em; color: var(--brand); }
.make__name { font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.make__go {
	position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: var(--brand); color: #fff; opacity: 0; transform: scale(0.6); transition: opacity 0.25s, transform 0.3s var(--ease);
}
.make__go .icon { width: 15px; height: 15px; }
.make:hover .make__go, .make:focus-visible .make__go { opacity: 1; transform: none; }
@media (max-width: 520px) {
	.make { padding: 20px 10px 16px; }
	.make__badge { width: 70px; height: 70px; }
	.make__logo { width: 42px; height: 42px; }
	.make__icon { width: 38px; height: 38px; }
}

/* ---------- vehicles ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vcard {
	background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
	transition: box-shadow 0.25s, transform 0.25s var(--ease), border-color 0.2s;
}
.vcard:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--line-strong); }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.vcard:hover .vcard__media img { transform: scale(1.04); }
.vcard__body { padding: 22px 24px 24px; }
.vcard h3 { font-size: 20px; margin-bottom: 6px; }
.vcard h3 a { color: var(--ink); }
.vcard h3 a:hover { color: var(--brand); }
.vcard__specs { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 1040px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vgrid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- sell your car ---------- */
.sell { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sell__media { position: relative; margin: 0; }
.sell__media img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: center; border-radius: 22px; box-shadow: var(--shadow-lg); }
.float-card {
	position: absolute; left: -24px; bottom: 28px;
	display: flex; align-items: center; gap: 14px; max-width: 320px;
	padding: 15px 20px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.sell__copy h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.035em; margin-bottom: 18px; }
.sell__copy .lead { max-width: 480px; margin-bottom: 26px; }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; margin-bottom: 32px; }
.checks li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.checks .icon { width: 22px; height: 22px; padding: 4px; background: var(--brand); color: #fff; border-radius: 50%; stroke-width: 3; }
@media (max-width: 960px) {
	.sell { grid-template-columns: 1fr; gap: 44px; }
	.float-card { left: 16px; bottom: 16px; }
}

/* ---------- why us ---------- */
.why { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.why__item { padding-top: 26px; border-top: 2px solid var(--line-strong); position: relative; }
.why__item::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 2px; background: var(--brand); }
.why__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; background: var(--brand-50); color: var(--brand); border-radius: 14px; }
.why__ico .icon { width: 26px; height: 26px; }
.why__item h3 { font-size: 19px; margin-bottom: 10px; }
.why__item p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1040px) { .why { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- reviews ---------- */
.rslider { --per: 3; --gap: 24px; position: relative; }
.rslider__track {
	display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; -ms-overflow-style: none; padding: 6px 2px 22px; margin: -6px -2px -22px; align-items: stretch;
}
.rslider__track::-webkit-scrollbar { display: none; }
.rslider__track:focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; border-radius: 12px; }
.rslider__slide { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; margin: 0; }
.rslider__nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px; }
.rslider__btn {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; padding: 0;
	background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong);
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.rslider__btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 14px 24px -14px rgba(0, 107, 58, 0.8); }
.rslider__btn .icon { width: 22px; height: 22px; }
.rslider__dots { display: flex; align-items: center; gap: 8px; }
.rslider__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: var(--line-strong); transition: width 0.3s var(--ease), background 0.2s; }
.rslider__dot:hover { background: var(--muted); }
.rslider__dot.is-active { width: 28px; background: var(--brand); }
.rslider.is-static .rslider__nav { display: none; }
@media (max-width: 1040px) { .rslider { --per: 2; } }
@media (max-width: 680px) { .rslider { --per: 1; --gap: 16px; } .rslider__btn { width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .rslider__track { scroll-behavior: auto; } }
.review {
	display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 32px;
	background: #fff; border: 1px solid var(--line); border-radius: 20px;
	transition: box-shadow 0.25s, transform 0.25s var(--ease);
}
.review:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.review__stars { display: flex; gap: 3px; color: var(--star); }
.review__stars .icon { width: 19px; height: 19px; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7; font-weight: 400; color: var(--text); letter-spacing: 0; }
.review figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.review__avatar { flex: none; width: 46px; height: 46px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); border-radius: 50%; font-family: var(--font-head); font-weight: 800; font-size: 15px; }
.review figcaption strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--ink); }
.review figcaption small { color: var(--muted); font-size: 13px; }

/* ---------- towing band ---------- */
.tow { background: var(--dark); color: #fff; padding-block: 52px; position: relative; overflow: hidden; }
.tow::before {
	content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 150, 80, 0.35), transparent 70%);
}
.tow__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.tow__text { display: flex; align-items: center; gap: 22px; }
.tow__ico { flex: none; width: 64px; height: 64px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; color: #6fd9a0; }
.tow__ico .icon { width: 32px; height: 32px; }
.tow h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 6px; }
.tow p { margin: 0; color: rgba(255, 255, 255, 0.68); max-width: 560px; }
.tow__actions { display: flex; gap: 12px; flex: none; }
@media (max-width: 860px) {
	.tow__row { flex-direction: column; align-items: flex-start; }
	.tow__text { align-items: flex-start; }
}
@media (max-width: 520px) { .tow__actions { flex-direction: column; width: 100%; } .tow__actions .btn { width: 100%; } .tow__ico { width: 52px; height: 52px; } }

/* ---------- areas ---------- */
.areas { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: center; }
.areas h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.035em; }
.areas .lead { max-width: 440px; }
.areas__list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.areas__list li {
	display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px;
	background: #fff; border: 1px solid var(--line); border-radius: 12px;
	font-family: var(--font-head); font-size: 14.5px; font-weight: 600; color: var(--ink);
	transition: border-color 0.2s, background 0.2s;
}
.areas__list li:hover { border-color: var(--brand); background: var(--brand-50); }
.areas__list .icon { width: 17px; height: 17px; color: var(--brand); }
@media (max-width: 960px) { .areas { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.faq h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.035em; max-width: 380px; }
.faq__copy { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__phone { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 18px; font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--brand); }
.faq__phone .icon { width: 22px; height: 22px; }
.faq__copy .link-arrow { display: flex; margin-top: 4px; }
@media (max-width: 960px) {
	.faq { grid-template-columns: 1fr; gap: 36px; }
	.faq__copy { position: static; }
}

/* make slider */
.rslider.rslider--makes { --per: 6; --gap: 16px; }
.rslider--makes .rslider__track { padding-top: 10px; padding-bottom: 28px; margin-top: -10px; margin-bottom: -28px; }
.rslider--makes .rslider__slide { display: flex; }
.rslider--makes .make { width: 100%; }
.rslider--makes .rslider__nav { margin-top: 34px; }
@media (max-width: 1040px) { .rslider.rslider--makes { --per: 4; } }
@media (max-width: 680px) { .rslider.rslider--makes { --per: 2; --gap: 12px; } }
