/* АлексАвто Import — light trust-first palette (не автопрокат) */
:root {
    --site-header-h: 72px;
    --site-header-offset: calc(var(--site-header-h) + env(safe-area-inset-top, 0));
    --trust-bar-h: 44px;

    /* Психология: белый/серый = честность и премиум; синий = доверие; оранжевый = действие */
    --bg: #f4f6f9;
    --bg-white: #ffffff;
    --bg-soft: #eef2f7;
    --text: #0f172a;
    --text-muted: #5c6b7f;
    --text-soft: #94a3b8;

    --trust: #1a365d;
    --trust-mid: #2c5282;
    --trust-light: #ebf4ff;

    --cta: #e85d04;
    --cta-hover: #c44e03;
    --cta-soft: #fff4ed;

    --stock: #047857;
    --stock-soft: #ecfdf5;

    --border: #dde4ee;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --radius: 14px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--site-header-offset) + var(--trust-bar-h)); }

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    color: var(--text);
}

.container { width: min(1180px, 100% - 2rem); margin: 0 auto; }
a { color: var(--trust-mid); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--trust); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
    border: 2px solid transparent; cursor: pointer; transition: var(--transition);
    font-family: inherit; text-decoration: none;
}
.btn-cta {
    background: var(--cta); color: #fff; border-color: var(--cta);
    box-shadow: 0 4px 14px rgba(232, 93, 4, 0.35);
}
.btn-cta:hover { background: var(--cta-hover); color: #fff; transform: translateY(-1px); }
.btn-trust {
    background: var(--trust); color: #fff; border-color: var(--trust);
}
.btn-trust:hover { background: var(--trust-mid); color: #fff; }
.btn-outline {
    background: var(--bg-white); color: var(--trust);
    border-color: var(--border);
}
.btn-outline:hover { border-color: var(--trust-mid); color: var(--trust); }
.btn-ghost { background: transparent; color: var(--trust-mid); border-color: transparent; }
.btn-ghost:hover { background: var(--trust-light); }
.btn-primary { background: var(--cta); color: #fff; border-color: var(--cta); box-shadow: 0 4px 14px rgba(232, 93, 4, 0.35); }
.btn-primary:hover { background: var(--cta-hover); color: #fff; }
.badge-instock, .stock-card__badge { background: var(--stock); color: #fff; }

.landing-hero { padding: 28px 0 24px; text-align: center; max-width: 640px; margin: 0 auto; }
.landing-hero h1 { font-size: clamp(1.75rem, 4vw, 2.35rem); font-weight: 800; margin-bottom: 10px; }
.landing-hero p { color: var(--text-muted); margin: 0; line-height: 1.55; }

.section { padding: 64px 0; }
.section--white { background: var(--bg-white); }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(1.55rem, 3.2vw, 2.05rem); font-weight: 800; }
.section-head p { color: var(--text-muted); margin: 0.5rem 0 0; }

.footer {
    background: var(--text); color: #cbd5e1; padding: 48px 0 24px; margin-top: 0;
}
.footer a { color: #e2e8f0; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 5px 0; }
.footer-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-logo span { color: #fbbf24; }
.footer-copyright { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; background: var(--bg-white); overflow: hidden; }
.faq-question {
    width: 100%; text-align: left; padding: 18px 20px; background: none; border: none;
    font-family: inherit; font-weight: 600; font-size: 1rem; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; color: var(--text);
}
.faq-answer { display: none; padding: 0 20px 18px; color: var(--text-muted); }
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-question i { transform: rotate(180deg); }

.map-placeholder iframe { border-radius: var(--radius); width: 100%; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
}
