/* =========================================================
   MyAutoHome — site styles (redesign 2026)
   Brand: indigo #413876 · orange #FD8D0F
   ========================================================= */

:root {
    --indigo: #413876;
    --indigo-800: #2E2758;
    --indigo-50: #EFEDF7;
    --ink: #1C1838;
    --orange: #FD8D0F;
    --orange-600: #E07800;
    --orange-hover: #F07F00;
    --orange-50: #FFF4E6;
    --orange-ink: #6B3D00;
    --orange-line: #F6DDBE;
    --text-2: #55526A;
    --text-3: #6E6B82;
    --nav: #3A3650;
    --line: #E1DFE9;
    --line-soft: #ECEAF2;
    --line-faint: #EFEDF4;
    --surface: #FFFFFF;
    --bg: #F6F5F9;
    --green: #1D6B45;
    --green-50: #E7F4EC;
    --error: #C2410C;
    --error-ink: #A3321C;
    --shadow: 0 12px 32px rgba(28, 24, 56, .10);
    --shadow-lg: 0 20px 48px rgba(28, 24, 56, .08);
    --font: 'Noto Sans Georgian', 'Noto Sans', system-ui, sans-serif;
    --font-num: 'Noto Sans', 'Noto Sans Georgian', system-ui, sans-serif;
    --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-800); }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(253, 141, 15, .55); outline-offset: 2px; }

.num { font-family: var(--font-num); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
h1, h2, .h1, .h2, .eyebrow { text-transform: uppercase; letter-spacing: .02em; }
.h1 { margin: 0; font-size: 46px; line-height: 1.18; font-weight: 800; }
.h2 { margin: 0; font-size: 32px; line-height: 1.25; font-weight: 800; }
.h3 { margin: 0; font-size: 20px; line-height: 1.35; font-weight: 700; }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--orange-600); }
.eyebrow--muted { color: var(--text-3); }
.eyebrow--light { color: #FFC27A; }
.lead { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.muted { color: var(--text-3); }
.accent { color: var(--indigo); }

.section { padding: 80px 0 0; }
.section:last-of-type { padding-bottom: 96px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.section__head .h2 { margin-top: 6px; }
.section__head--center { justify-content: center; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 24px; border-radius: 12px; border: 0;
    font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn--sm { height: 44px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.btn--navy { background: var(--indigo); color: #fff; }
.btn--navy:hover { background: var(--indigo-800); color: #fff; }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--orange-hover); color: var(--ink); }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); font-weight: 600; }
.btn--ghost:hover { border-color: #B9B5CC; color: var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28); font-weight: 600; }
.btn--ghost-light:hover { color: #fff; border-color: rgba(255,255,255,.6); }
.btn--link { background: none; height: auto; padding: 6px 0; color: var(--indigo); font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }

/* ---------- Header ---------- */
.hdr { background: var(--surface); border-bottom: 1px solid #E8E6EF; position: sticky; top: 0; z-index: 50; }
.hdr__in { min-height: 76px; display: flex; align-items: center; gap: 16px 40px; }
.hdr__logo img { height: 44px; width: auto; }
.hdr__nav { display: flex; gap: 4px 28px; font-size: 15px; font-weight: 500; flex: 1 1 auto; }
.hdr__nav a { color: var(--nav); padding: 6px 0; }
.hdr__nav a:hover { color: var(--indigo); }
.hdr__nav a.is-active { color: var(--indigo); font-weight: 700; box-shadow: inset 0 -2px 0 var(--orange); }
.hdr__tools { display: flex; align-items: center; gap: 12px; }
.hdr__lang { font-size: 14px; font-weight: 600; color: var(--nav); }
.hdr__nav .hdr__nav-apply { display: none; }
.hdr__burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

.cur { display: flex; background: #F1F0F5; border-radius: 999px; padding: 3px; font-family: var(--font-num); font-size: 13px; font-weight: 600; }
.cur button { border: 0; border-radius: 999px; height: 30px; min-width: 36px; padding: 0 10px; background: transparent; color: var(--text-3); cursor: pointer; }
.cur button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(28,24,56,.12); }

/* ---------- Hero ---------- */
.hero { background: var(--surface); }
.hero__in { padding: 56px 24px 120px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero__copy { flex: 1 1 480px; min-width: 0; max-width: 600px; }
.hero__copy .h1 { margin-top: 20px; }
.hero__copy .lead { margin: 20px 0 0; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--indigo); background: var(--indigo-50); padding: 6px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .02em; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.hero__visual { flex: 1 1 520px; min-width: 0; position: relative; height: 400px; border-radius: 24px; background: var(--indigo); overflow: hidden; }
.hero__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.10); }
.hero__ring--1 { right: -120px; top: -120px; width: 420px; height: 420px; }
.hero__ring--2 { right: -40px; top: -40px; width: 260px; height: 260px; }
.hero__note { position: absolute; left: 32px; top: 32px; color: #fff; }
.hero__note strong { display: block; font-size: 22px; line-height: 1.35; margin-top: 6px; }
.hero__car { position: absolute; left: 4%; bottom: 28px; width: 104%; max-width: none; height: auto; }

/* ---------- Search card ---------- */
.search { position: relative; z-index: 1; margin-top: -84px; }
.search__card { background: var(--surface); border-radius: 20px; border: 1px solid var(--line-soft); box-shadow: var(--shadow-lg); padding: 24px; }
.search__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.search__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; align-items: end; }
.search__more { display: none; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.search__more.is-open { display: grid; }
.search__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 16px; font-size: 13px; color: var(--text-3); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--nav); cursor: pointer; }
.chip:hover, .chip.is-on { border-color: var(--indigo); color: var(--indigo); }
.chip.is-on { background: var(--indigo-50); }
.chip--solid { background: var(--indigo); color: #fff; border-color: var(--indigo); padding: 0 12px 0 14px; }
.chip--solid:hover { color: #fff; background: var(--indigo-800); }

/* ---------- Form controls ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); min-width: 0; }
.field--lg { font-size: 14px; color: var(--nav); }
.field .req { color: var(--error); }
.input, .select, .textarea {
    width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px;
    background: var(--surface); font: inherit; font-size: 15px; font-weight: 500; color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { height: auto; min-height: 132px; padding: 14px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E6B82' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; }
.input:hover, .select:hover, .textarea:hover { border-color: #B9B5CC; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-50); }
.input::placeholder, .textarea::placeholder { color: #8A87A0; }
.select:disabled { background-color: #F6F5F9; color: var(--text-3); cursor: not-allowed; }
.range { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); height: 52px; }
.range:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-50); }
.range .input, .range .select { border: 0; height: 50px; box-shadow: none !important; background-color: transparent; }
.range__sep { width: 1px; height: 24px; background: var(--line); flex: none; }
.input-prefix { display: flex; height: 52px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.input-prefix:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-50); }
.input-prefix span { display: inline-flex; align-items: center; padding: 0 12px; background: var(--bg); border-right: 1px solid var(--line); font-family: var(--font-num); color: var(--text-2); }
.input-prefix .input { border: 0; height: 50px; box-shadow: none !important; }
.field.has-error { color: var(--error-ink); }
.field.has-error .input, .field.has-error .input-prefix { border: 2px solid var(--error); }
.field__err { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--error-ink); }
.field.has-error .field__err { display: flex; }
.field__hint { font-size: 13px; font-weight: 400; color: var(--text-3); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; cursor: pointer; color: var(--ink); font-weight: 400; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--indigo); flex: none; cursor: pointer; }
.check.has-error input { outline: 2px solid var(--error); outline-offset: 1px; }

/* ---------- Car card ---------- */
.grid-cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 24px; }
.grid-cars--tight { gap: 20px; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); }
.car { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; color: var(--ink); transition: box-shadow .2s ease, transform .2s ease; }
.car:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.car__media { position: relative; aspect-ratio: 4 / 3; background: #EEEDF3; }
.car__media img { width: 100%; height: 100%; object-fit: cover; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge--ok { background: var(--green-50); color: var(--green); }
.badge--muted { background: #F1F0F5; color: var(--text-2); }
.badge--float { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.94); }
.badge--float.badge--ok { color: var(--green); }
.car__id { position: absolute; right: 12px; bottom: 12px; height: 24px; padding: 0 8px; border-radius: 6px; background: rgba(28,24,56,.72); color: #fff; font-family: var(--font-num); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; }
.car__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car__title { font-family: var(--font-num); font-size: 18px; font-weight: 700; line-height: 1.3; }
.car__meta { font-size: 13px; color: var(--text-3); margin-top: 2px; }
.car__specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--text-2); }
.car__specs span { display: inline-flex; align-items: center; gap: 6px; }
.car__specs svg { color: #8A87A0; flex: none; }
.car__row { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.car__price { font-family: var(--font-num); font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.car__more { font-size: 13px; font-weight: 700; color: var(--indigo); }
.fin { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--orange-50); font-size: 13px; color: var(--orange-ink); }
.fin b { font-weight: 700; }
.fin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--orange-50); font-size: 12px; color: var(--orange-ink); }
.fin-grid strong { display: block; font-family: var(--font-num); font-size: 14px; color: var(--ink); }

/* ---------- Blocks ---------- */
.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 20px; }
.panel--pad { padding: 28px 32px; }
.panel--navy { background: var(--indigo); color: #fff; border: 0; }
.panel--orange { background: var(--orange-50); border: 1px solid var(--orange-line); }
.split { display: flex; flex-wrap: wrap; gap: 24px; }
.finance-card { flex: 1 1 400px; min-width: 0; border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.finance-card .h2 { font-size: 30px; line-height: 1.3; }
.finance-card p { margin: 0; color: #DAD6EE; line-height: 1.65; }
.finance-card .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 8px; }
.svc-grid { flex: 1.4 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.svc { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; color: var(--ink); }
.svc:hover { border-color: #C9C5DA; color: var(--ink); }
.svc__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--indigo-50); display: inline-flex; align-items: center; justify-content: center; color: var(--indigo); }
.svc__title { font-size: 19px; font-weight: 700; }
.svc__text { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.svc__link { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--indigo); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.steps__n { font-family: var(--font-num); font-size: 14px; font-weight: 800; color: var(--orange-600); letter-spacing: .04em; }
.steps__t { font-size: 18px; font-weight: 700; }
.steps__d { font-size: 14px; line-height: 1.6; color: var(--text-2); }

.faq { max-width: 860px; margin: 32px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 500; color: var(--indigo); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq__a { padding: 0 22px 20px; color: var(--text-2); line-height: 1.65; }

.partners { padding: 32px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; }
.partners__logos { flex: 1 1 520px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 24px 48px; }
.partners__logos img { height: 40px; width: auto; }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px; border-radius: 24px; background: var(--orange-50); }
.cta .h2 { font-size: 28px; line-height: 1.3; }
.cta p { margin: 8px 0 0; color: var(--text-2); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.ftr { background: var(--surface); border-top: 1px solid #E8E6EF; }
.ftr__top { padding: 56px 24px 32px; display: flex; flex-wrap: wrap; gap: 40px 64px; }
.ftr__brand { flex: 1 1 280px; max-width: 360px; }
.ftr__brand img { height: 48px; width: auto; }
.ftr__brand p { margin: 16px 0 0; font-size: 14px; line-height: 1.65; color: var(--text-2); }
.ftr__col { flex: 0 1 180px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--nav); }
.ftr__col--wide { flex: 1 1 260px; }
.ftr__col a { color: var(--nav); }
.ftr__col a:hover { color: var(--indigo); }
.ftr__col .eyebrow { margin-bottom: 4px; }
.ftr__bottom { padding: 20px 24px 28px; border-top: 1px solid var(--line-faint); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-3); }
.ftr__bottom a { color: var(--text-3); }

/* ---------- Page header / breadcrumbs ---------- */
.page { padding: 28px 0 96px; }
.crumbs { font-size: 14px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--text-3); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 12px 0 24px; }
.page__title { margin: 0; font-size: 36px; line-height: 1.2; font-weight: 800; }
.page__count { font-family: var(--font-num); font-size: 20px; font-weight: 600; color: var(--text-3); margin-left: 8px; text-transform: none; }

/* ---------- Catalogue ---------- */
.cat { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.cat__side { flex: 1 1 280px; max-width: 300px; min-width: 0; padding: 8px 20px 20px; }
.cat__main { flex: 999 1 560px; min-width: 0; }
.fgroup { padding: 16px 0; border-bottom: 1px solid var(--line-faint); display: flex; flex-direction: column; gap: 10px; }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup__t { font-size: 13px; font-weight: 700; color: var(--nav); }
.fgroup .select, .fgroup .input { height: 44px; border-radius: 10px; font-size: 14px; }
.fgroup .range { height: 44px; border-radius: 10px; }
.fgroup .range .input, .fgroup .range .select { height: 42px; }
.seg { display: flex; background: #F1F0F5; border-radius: 10px; padding: 3px; font-size: 13px; font-weight: 600; }
.seg label { flex: 1; text-align: center; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 4px; border-radius: 8px; color: var(--text-3); }
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(28,24,56,.12); }
.seg input:focus-visible + span { outline: 3px solid rgba(253,141,15,.55); }
.pills-select { display: flex; flex-wrap: wrap; gap: 6px; }
.pills-select label { cursor: pointer; }
.pills-select input { position: absolute; opacity: 0; pointer-events: none; }
.pills-select span { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--nav); display: inline-flex; align-items: center; }
.pills-select input:checked + span { border-color: var(--indigo); background: var(--indigo-50); color: var(--indigo); }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.toolbar .search-input { display: flex; align-items: center; gap: 10px; height: 48px; width: 320px; max-width: 100%; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.toolbar .search-input input { border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; flex: 1; min-width: 0; color: var(--ink); }
.toolbar .select { height: 48px; width: auto; min-width: 220px; }
.active-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.empty { padding: 64px 24px; text-align: center; }
.empty p { color: var(--text-2); }
.filters-toggle { display: none; }

.pager { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.pager__info { font-size: 14px; color: var(--text-3); }
.pager__list { display: flex; gap: 6px; font-family: var(--font-num); font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.pager__list a, .pager__list span { min-width: 44px; height: 44px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: var(--surface); }
.pager__list a:hover { border-color: var(--indigo); color: var(--indigo); }
.pager__list .is-current { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.pager__list .is-gap { border: 0; background: none; color: var(--text-3); min-width: 24px; }
.pager__list .is-disabled { color: #C9C5DA; }

/* ---------- Product page ---------- */
.pd__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 14px 0 24px; }
.pd__title { margin: 0; font-family: var(--font-num); font-size: 40px; line-height: 1.15; font-weight: 800; text-transform: none; letter-spacing: 0; }
.pd__title span { color: var(--text-3); font-weight: 600; }
.pd__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: 14px; color: var(--text-2); align-items: center; }
.pd { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.pd__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pd__side { flex: 1 1 360px; max-width: 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.gallery { padding: 12px; }
.gallery__main { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #EEEDF3; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__count { position: absolute; right: 16px; bottom: 16px; height: 32px; padding: 0 12px; border-radius: 8px; background: rgba(28,24,56,.72); color: #fff; font-family: var(--font-num); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; }
.gallery__nav { position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); font-size: 22px; color: var(--ink); cursor: pointer; }
.gallery__nav--prev { left: 16px; }
.gallery__nav--next { right: 16px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 10px; }
.gallery__thumbs button { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 10px; }
.gallery__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.gallery__thumbs button[aria-current="true"] img { outline: 2px solid var(--indigo); outline-offset: 2px; }
.keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.keys div { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px 18px; }
.keys small { display: block; font-size: 13px; color: var(--text-3); }
.keys strong { display: block; font-size: 17px; font-weight: 700; margin-top: 2px; }
.specs { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); column-gap: 40px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-faint); font-size: 15px; }
.specs dt { color: var(--text-3); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.equip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 24px; }
.equip li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.equip svg { color: var(--green); flex: none; }
.prose { font-size: 16px; line-height: 1.75; color: var(--nav); max-width: 720px; }
.prose p { margin: 0 0 12px; }
.price-card { padding: 28px; box-shadow: 0 12px 32px rgba(28,24,56,.06); }
.price-card__label { font-size: 13px; font-weight: 600; color: var(--text-3); }
.price-card__value { font-family: var(--font-num); font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; margin-top: 2px; }
.price-card__sub { font-size: 14px; color: var(--text-3); margin-top: 4px; }
.price-card__btns { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.price-card__btns .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fin-card { padding: 24px 28px; }
.fin-card dl { margin: 14px 0 0; display: flex; flex-direction: column; gap: 10px; }
.fin-card dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.fin-card dt { color: var(--orange-ink); }
.fin-card dd { margin: 0; font-family: var(--font-num); font-weight: 800; font-size: 18px; }
.fin-card p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--orange-ink); }
.fin-card p a { color: var(--orange-ink); font-weight: 700; }
.loc-card { overflow: hidden; }
.loc-card img { width: 100%; height: 160px; object-fit: cover; }
.loc-card__b { padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; }

/* ---------- Apply form ---------- */
.apply { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.apply__form { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.apply__side { flex: 1 1 340px; max-width: 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.fs { margin: 0; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--surface); padding: 28px 32px; }
.fs legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; }
.fs legend small { font-size: 14px; font-weight: 500; color: var(--text-3); }
.fs__n { width: 32px; height: 32px; border-radius: 50%; background: var(--indigo); color: #fff; font-family: var(--font-num); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.fs__body { clear: both; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 20px; }
.span-all { grid-column: 1 / -1; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.radio-card { position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card__box { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); height: 100%; }
.radio-card__dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #C9C5DA; }
.radio-card__t { font-size: 16px; font-weight: 700; color: var(--ink); }
.radio-card__d { font-size: 13px; line-height: 1.5; color: var(--text-2); }
.radio-card input:checked + .radio-card__box { border: 2px solid var(--indigo); background: #F6F5FB; padding: 17px; }
.radio-card input:checked + .radio-card__box .radio-card__dot { border: 5px solid var(--indigo); }
.radio-card input:focus-visible + .radio-card__box { outline: 3px solid rgba(253,141,15,.55); outline-offset: 2px; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.next-card { padding: 24px 26px; }
.next-card ol { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.55; color: #E4E1F2; }
.next-card li { display: flex; gap: 12px; }
.next-card li b { font-family: var(--font-num); color: #FFC27A; }
.note { display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-size: 13px; color: var(--text-2); }
.success { padding: 56px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.success__ico { width: 64px; height: 64px; border-radius: 50%; background: var(--green-50); display: inline-flex; align-items: center; justify-content: center; color: var(--green); }
.success p { margin: 0; color: var(--text-2); max-width: 460px; }
.alert { padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.alert--error { background: #FDE8E4; color: var(--error-ink); }
.alert--ok { background: var(--green-50); color: var(--green); }
.files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.files img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.dropzone { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 72px; padding: 16px; border: 1px dashed #C9C5DA; border-radius: 12px; background: var(--bg); color: var(--text-2); font-size: 14px; cursor: pointer; text-align: center; }
.dropzone:hover { border-color: var(--indigo); color: var(--indigo); }

/* ---------- About / contact ---------- */
.about-hero { background: var(--surface); }
.about-hero__in { padding: 64px 24px 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about-hero__copy { flex: 1 1 460px; min-width: 0; }
.about-hero__img { flex: 1 1 520px; min-width: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 11; background: #EEEDF3; }
.about-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.loc { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.loc strong { font-size: 18px; }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.channel { display: flex; flex-direction: column; gap: 6px; padding: 24px; color: var(--ink); }
.channel:hover { color: var(--ink); border-color: #C9C5DA; }
.channel small { font-size: 14px; color: var(--text-3); }
.channel strong { font-family: var(--font-num); font-size: 20px; }

/* ---------- Floating contact buttons ---------- */
.float-btns { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-btns a { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(28,24,56,.18); background: #fff; transition: transform .2s ease; }
.float-btns a:hover { transform: scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .hdr__nav { display: none; }
    .hdr__burger { display: inline-flex; }
    .hdr__tools { margin-left: auto; }
    .hdr.is-open .hdr__nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); padding: 12px 24px 20px; border-bottom: 1px solid #E8E6EF; gap: 0; box-shadow: var(--shadow); }
    .hdr.is-open .hdr__nav a { padding: 12px 0; border-bottom: 1px solid var(--line-faint); font-size: 16px; }
    .hdr.is-open .hdr__nav a.is-active { box-shadow: none; }
    .hdr.is-open .hdr__nav .hdr__nav-apply { display: block; color: var(--orange-600); font-weight: 700; }
    .pd__side { position: static; max-width: none; }
}

@media (max-width: 860px) {
    .cat__side { display: none; max-width: none; flex-basis: 100%; }
    .cat__side.is-open { display: block; }
    .filters-toggle { display: inline-flex; }
    .apply__side { max-width: none; }
}

@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .hdr__in { min-height: 64px; gap: 12px; }
    .hdr__logo img { height: 36px; }
    .hdr__login, .hdr__lang { display: none; }
    .hdr__apply { display: none; }
    .h1 { font-size: 32px; }
    .h2 { font-size: 24px; }
    .lead { font-size: 16px; }
    .hero__in { padding: 32px 16px 104px; gap: 24px; }
    .hero__visual { height: 260px; flex-basis: 100%; }
    .hero__note strong { font-size: 17px; }
    .search { margin-top: -72px; }
    .search__card { padding: 18px; border-radius: 16px; }
    .section { padding-top: 56px; }
    .finance-card { padding: 28px 24px; }
    .finance-card .h2 { font-size: 22px; }
    .partners, .cta { padding: 24px; }
    .cta .h2 { font-size: 22px; }
    .panel--pad, .fs { padding: 22px 20px; }
    .page__title { font-size: 28px; }
    .pd__title { font-size: 28px; }
    .price-card__value { font-size: 32px; }
    .toolbar .search-input, .toolbar .select { width: 100%; min-width: 0; }
    .grid-cars, .grid-cars--tight { grid-template-columns: 1fr; gap: 16px; }
    .pager { justify-content: center; }
    .float-btns { right: 14px; bottom: 14px; }
    .float-btns a { width: 46px; height: 46px; }
}

/* ---------- Socials / careers ---------- */
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--indigo); background: var(--surface); }
.socials a:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.channels--two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.jobs { display: flex; flex-direction: column; gap: 12px; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; color: var(--ink); flex-wrap: wrap; }
.job:hover { border-color: #C9C5DA; color: var(--ink); box-shadow: var(--shadow); }
.job__main { flex: 1 1 420px; min-width: 0; }
.job__title { margin: 0; font-size: 19px; font-weight: 700; }
.job__text { margin: 6px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.job__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; }
.job__meta span { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--indigo-50); color: var(--indigo); font-size: 12px; font-weight: 700; }
.job__list { margin: 0 0 8px; padding-left: 20px; }
.job__list li { margin: 4px 0; }
.partners__logos a { display: inline-flex; }

/* long unbroken text (admin-entered) must never push the layout */
.prose, .job__title, .job__text, .page__title, .panel, .card { overflow-wrap: anywhere; word-break: break-word; }
.job__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job > .btn { flex: 0 0 auto; }

/* Partners v2: header above, uniform logo tiles, marquee for 5+ */
.partners { display: block; padding: 32px 0; }
.partners > div:first-child { padding: 0 40px; text-align: center; }
.plogos { margin-top: 24px; overflow: hidden; }
.plogos__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 0 40px; }
.plogos__item { flex: 0 0 auto; width: 200px; height: 84px; display: flex; align-items: center; justify-content: center; padding: 16px 22px; border: 1px solid var(--line, #ECEAF3); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.plogos__item img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; }
.plogos__item:hover { border-color: #C9C5DA; box-shadow: var(--shadow); transform: translateY(-2px); }
.plogos--scroll { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.plogos--scroll .plogos__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding: 4px 0 8px; animation: plogos calc(var(--n) * 4s) linear infinite; }
.plogos--scroll:hover .plogos__track { animation-play-state: paused; }
@keyframes plogos { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) {
  .plogos--scroll { -webkit-mask-image: none; mask-image: none; }
  .plogos--scroll .plogos__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding: 0 24px; }
  .plogos--scroll .plogos__item[aria-hidden] { display: none; }
}
@media (max-width: 640px) {
  .partners > div:first-child { padding: 0 24px; }
  .plogos__item { width: 160px; height: 72px; }
}

/* Photos that don't match the frame (e.g. portrait shots): show the whole photo over a blurred copy of itself */
.fit { position: relative; overflow: hidden; }
.fit::before { content: ""; position: absolute; inset: -24px; background: var(--photo, none) center / cover no-repeat; filter: blur(20px) saturate(1.1) brightness(.9); opacity: 0; transition: opacity .2s; }
.fit > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fit.is-tall::before { opacity: 1; }
.fit.is-tall > img { object-fit: contain; }
