/* myrent.kz — дизайн из Figma «Клод · MyRent сайт десктоп (19.11)». Токены общие с приложением. */
:root {
  --canvas: #FFFFFF; --surface: #F4F5F7; --line: #E1E3E8;
  --ink: #16181D; --ink-2: #5B6170; --ink-3: #A3A8B3;
  --accent: #6D3FC0; --accent-strong: #4E2A9A; --accent-soft: #EDE8F8; --deep: #2A1F4F;
  --green: #1E8E5A; --green-soft: #E6F4EC; --img: #DCDDE4;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head: "Geologica", var(--body);
  --wrap: 1200px; --gutter: 24px;
  --shadow: 0 16px 40px -16px rgba(42, 31, 79, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
h3 { font-size: 18px; line-height: 1.25; }
p { margin: 0; }
.muted { color: var(--ink-2); }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1.5px solid transparent; cursor: pointer; font-family: var(--body); transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; } .btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: var(--canvas); color: var(--accent-strong); border-color: var(--line); } .btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn-soft { background: var(--accent-soft); color: var(--accent-strong); }
.btn-onaccent { background: #fff; color: var(--accent-strong); } .btn-onaccent:hover { background: var(--accent-soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; }

/* header */
header.site { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 40px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: 22px; }
.logo .m { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 18px; }
.logo small { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--ink-2); margin-left: 2px; }
.nav .links { display: flex; gap: 28px; font-weight: 500; color: var(--ink-2); flex: 1; }
.nav .links a:hover, .nav .links a.on { color: var(--ink); }
.nav .right { display: flex; align-items: center; gap: 12px; }
.nav .lang { font-weight: 500; font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; height: auto; padding: 12px 0; row-gap: 10px; gap: 16px; }
  .nav .links { order: 3; width: 100%; overflow-x: auto; gap: 18px; font-size: 15px; white-space: nowrap; scrollbar-width: none; }
  .nav .links::-webkit-scrollbar { display: none; }
  .nav .right { margin-left: auto; } .nav .lang, .nav .btn-login { display: none; }
  .nav .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
}

section { padding: 80px 0; }
section.tight { padding: 40px 0; }
section.alt { background: var(--surface); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sec-head p { margin-top: 10px; max-width: 62ch; font-size: 17px; }
@media (max-width: 760px) { section { padding: 56px 0; } .sec-head { flex-direction: column; align-items: flex-start; } }

/* hero */
.hero { padding: 64px 0 72px; }
.hero .grid { display: grid; grid-template-columns: 1fr 480px; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent-strong); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero .left { display: grid; gap: 24px; }
.hero .lead { font-size: 18px; color: var(--ink-2); max-width: 56ch; line-height: 1.5; }
.search { background: var(--canvas); border: 1px solid var(--line); border-radius: 20px; padding: 8px; box-shadow: var(--shadow); display: grid; gap: 8px; }
.segment { display: flex; gap: 2px; padding: 4px; background: var(--surface); border-radius: 12px; }
.segment a, .segment button { flex: 1; padding: 9px 16px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-2); text-align: center; border: 0; background: transparent; cursor: pointer; font-family: var(--body); }
.segment .on { background: var(--canvas); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.fields { display: grid; grid-template-columns: 150px 1fr 1fr auto; gap: 8px; }
.field { background: var(--surface); border-radius: 12px; padding: 12px 16px; display: grid; gap: 2px; }
.field label { font-size: 12px; color: var(--ink-2); }
.field select, .field input { border: 0; background: transparent; font: 500 16px var(--body); color: var(--ink); padding: 0; width: 100%; outline: none; }
.fields .btn { min-height: 100%; }
.hero .hint { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--ink-2); }
.hero .hint span::before { content: "✓ "; color: var(--green); font-weight: 600; }
.visual { position: relative; }
.visual .photo { aspect-ratio: 480 / 520; border-radius: 28px; background: var(--img); overflow: hidden; }
.visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; background: var(--canvas); border-radius: 14px; padding: 12px 16px; box-shadow: 0 12px 28px -8px rgba(42,31,79,.25); display: grid; gap: 2px; }
.chip b { font-family: var(--head); font-size: 18px; } .chip span { font-size: 13px; color: var(--ink-2); }
@media (max-width: 980px) { .hero .grid { grid-template-columns: 1fr; } .visual { display: none; } .fields { grid-template-columns: 1fr 1fr; } .fields .btn { grid-column: 1 / -1; min-height: 52px; } }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; }
.trust div { padding: 0 24px; display: grid; gap: 4px; } .trust b { font-weight: 600; } .trust span { font-size: 14px; color: var(--ink-2); }
.trust div:first-child { padding-left: 0; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; gap: 16px 0; } .trust div { padding: 0 12px 0 0; } }

/* modes */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode { background: var(--canvas); border-radius: 24px; padding: 28px; display: grid; gap: 16px; align-content: start; }
.mode .tag { justify-self: start; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 12px; font-weight: 600; }
.mode h3 { font-size: 26px; line-height: 1.15; } .mode p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.mode ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; } .mode li::before { content: "— "; color: var(--ink-3); }
.mode .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; } .mode .foot b { font-family: var(--head); }
.mode.dark { background: var(--accent-strong); color: #fff; } .mode.dark .tag { background: rgba(255,255,255,.18); color: #fff; } .mode.dark p { color: #D7CCF0; } .mode.dark li::before { color: #B9A8E6; }
@media (max-width: 900px) { .modes { grid-template-columns: 1fr; } }

/* cars */
.cars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.car { background: var(--canvas); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: grid; transition: transform .15s, box-shadow .15s; }
.car:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.car-img { aspect-ratio: 285 / 180; background: var(--img); } .car-img img { width: 100%; height: 100%; object-fit: cover; }
.car-body { padding: 18px; display: grid; gap: 6px; } .car-body .meta { font-size: 13px; color: var(--ink-2); }
.car-body .price { font-family: var(--head); font-weight: 600; font-size: 20px; margin-top: 8px; } .car-body .price small { font-size: 13px; color: var(--ink-2); font-family: var(--body); font-weight: 500; }
.badge { justify-self: start; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.empty { background: var(--surface); border-radius: 20px; padding: 28px; color: var(--ink-2); }
@media (max-width: 980px) { .cars { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .cars { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--canvas); border-radius: 20px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.step .n { font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--accent); letter-spacing: .25em; }
.step h3 { font-size: 19px; } .step p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.alt .step { background: var(--canvas); } section:not(.alt) .step { background: var(--surface); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* cities */
.cities { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.cities a { display: grid; gap: 2px; background: var(--surface); border-radius: 14px; padding: 14px 18px; font-weight: 600; } .cities a span { font-size: 13px; color: var(--ink-2); font-weight: 400; }
.cities a:hover { background: var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips a { padding: 8px 14px; border-radius: 999px; background: var(--surface); font-weight: 500; font-size: 14px; } .chips a:hover { background: var(--accent-soft); color: var(--accent-strong); }
@media (max-width: 980px) { .cities { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 560px) { .cities { grid-template-columns: 1fr 1fr; } }

/* owners band */
.band { background: var(--deep); color: #fff; border-radius: 32px; padding: 56px; display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.band .kicker { font-size: 13px; font-weight: 600; letter-spacing: .3em; color: #B9A8E6; text-transform: uppercase; }
.band h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; margin-top: 16px; } .band p { color: #D7CCF0; font-size: 17px; margin-top: 16px; max-width: 56ch; line-height: 1.5; }
.band .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.stats { display: grid; gap: 12px; } .stats div { background: rgba(255,255,255,.08); border-radius: 16px; padding: 16px 22px; display: grid; gap: 2px; } .stats b { font-family: var(--head); font-size: 26px; } .stats span { font-size: 14px; color: #D7CCF0; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; padding: 32px 24px; border-radius: 24px; } }

/* faq */
.faq { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.faq .intro { display: grid; gap: 16px; justify-items: start; } .faq .intro p { color: var(--ink-2); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; } .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: "+"; font-family: var(--head); font-size: 22px; color: var(--accent); } .faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 72ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* footer */
footer.site { background: var(--surface); padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 360px repeat(4, 1fr); gap: 40px; }
.foot-grid p { font-size: 14px; color: var(--ink-2); margin-top: 14px; max-width: 300px; }
.stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; } .stores a { background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.foot-grid b { font-size: 14px; } .foot-grid ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); } .foot-grid ul a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* inner pages */
.crumbs { font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; } .crumbs span { color: var(--ink-3); } .crumbs a:hover { color: var(--ink); }
.page-head { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; } .page-head .lead { font-size: 18px; color: var(--ink-2); max-width: 70ch; margin-top: 16px; line-height: 1.5; }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; } .filters .sp { flex: 1; }
.filters a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: 14px; } .filters a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } .two h2 { font-size: 28px; margin-bottom: 16px; }
.kv { display: grid; gap: 16px; } .kv div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; font-size: 15px; } .kv b { font-weight: 600; } .kv span { color: var(--ink-2); line-height: 1.5; }
.mini-steps { display: grid; gap: 12px; } .mini-steps div { display: flex; gap: 16px; background: var(--canvas); border-radius: 16px; padding: 20px; } .mini-steps i { font-style: normal; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; font-family: var(--head); font-weight: 600; font-size: 15px; flex: none; }
.mini-steps b { display: block; } .mini-steps span { font-size: 14px; color: var(--ink-2); }
.other { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .other a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; } .other a b { font-size: 18px; } .other a span { font-size: 14px; color: var(--ink-2); display: block; margin-top: 4px; } .other a em { font-style: normal; font-family: var(--head); font-size: 24px; color: var(--accent); }
.other a:hover { border-color: var(--accent-soft); background: var(--accent-soft); }
@media (max-width: 900px) { .page-head, .two, .other { grid-template-columns: 1fr; } .kv div { grid-template-columns: 1fr; gap: 4px; } }

/* car page */
.car-page { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.gallery .main { aspect-ratio: 760 / 460; border-radius: 24px; background: var(--img); overflow: hidden; } .gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; } .gallery .thumbs div { aspect-ratio: 142 / 92; border-radius: 12px; background: var(--img); overflow: hidden; } .gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.car-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; } .car-title h1 { font-size: clamp(30px, 3.4vw, 40px); }
.car-sub { color: var(--ink-2); margin-top: 10px; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; } .specs div { background: var(--surface); border-radius: 14px; padding: 12px 16px; display: grid; gap: 2px; } .specs span { font-size: 12px; color: var(--ink-2); } .specs b { font-size: 15px; }
.conds { margin-top: 32px; } .conds h2 { font-size: 24px; margin-bottom: 8px; } .conds div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; } .conds span { color: var(--ink-2); line-height: 1.5; }
.owner { display: flex; align-items: center; gap: 16px; background: var(--surface); border-radius: 20px; padding: 20px; margin-top: 32px; } .owner .av { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; font-family: var(--head); font-weight: 600; font-size: 18px; flex: none; } .owner div { flex: 1; } .owner span { font-size: 14px; color: var(--ink-2); display: block; margin-top: 2px; }
.booking { position: sticky; top: 92px; background: var(--canvas); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.booking .price { display: flex; align-items: baseline; gap: 8px; } .booking .price b { font-family: var(--head); font-size: 34px; line-height: 1.1; } .booking .price span { font-size: 15px; color: var(--ink-2); }
.booking .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); } .booking .row.total { font-weight: 600; color: var(--ink); font-size: 16px; } .booking .row.total b { font-family: var(--head); font-size: 18px; }
.booking .calc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; display: grid; gap: 8px; }
.booking .note { font-size: 13px; color: var(--ink-2); text-align: center; } .booking .trust-list { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); } .booking .trust-list span::before { content: "✓ "; color: var(--green); font-weight: 600; }
@media (max-width: 980px) { .car-page { grid-template-columns: 1fr; } .booking { position: static; } .specs { grid-template-columns: 1fr 1fr; } .conds div { grid-template-columns: 1fr; gap: 4px; } .gallery .thumbs { grid-template-columns: repeat(3, 1fr); } }

/* owners landing */
.phone { background: var(--accent-strong); color: #fff; border-radius: 28px; padding: 22px; display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(78,42,154,.55); }
.phone .bar { display: flex; justify-content: space-between; font-size: 13px; color: #D7CCF0; } .phone .title { font-family: var(--head); font-weight: 600; font-size: 22px; }
.req { background: var(--canvas); color: var(--ink); border-radius: 16px; padding: 14px 16px; display: grid; gap: 6px; } .req .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .req b { font-weight: 600; font-size: 15px; } .req .meta { font-size: 13px; color: var(--ink-2); } .req .sum { font-family: var(--head); font-weight: 600; font-size: 18px; }
.req .tag { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); } .req .tag.green { background: var(--green-soft); color: var(--green); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .feat div { background: var(--canvas); border-radius: 16px; padding: 20px; } .feat b { display: block; margin-bottom: 6px; } .feat span { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.cab { display: grid; grid-template-columns: 1fr 476px; gap: 40px; align-items: start; } .cab .shot { aspect-ratio: 476 / 520; border-radius: 24px; background: #E6E2F2; overflow: hidden; } .cab .shot img { width: 100%; height: 100%; object-fit: cover; }
.pricing { display: grid; grid-template-columns: 460px 1fr; gap: 40px; align-items: start; } .pcard { background: var(--deep); color: #fff; border-radius: 24px; padding: 32px; display: grid; gap: 16px; justify-items: start; } .pcard .kicker { font-size: 13px; font-weight: 600; letter-spacing: .3em; color: #B9A8E6; text-transform: uppercase; } .pcard h3 { font-size: 36px; line-height: 1.1; } .pcard p { color: #D7CCF0; font-size: 15px; line-height: 1.5; }
@media (max-width: 980px) { .cab, .pricing { grid-template-columns: 1fr; } .cab .shot { display: none; } } @media (max-width: 560px) { .feat { grid-template-columns: 1fr; } }

/* телефон: ничего не шире экрана */
.hero .left, .fields > *, .field input, .field select, .segment > * { min-width: 0; }
.eyebrow { white-space: normal; }
@media (max-width: 560px) { .segment a, .segment button { padding: 8px 6px; font-size: 13px; } .hero { padding: 32px 0 40px; } h1 br { display: none; } }
.car-page > *, .two > *, .cab > *, .pricing > *, .faq > *, .band > *, .page-head > *, .other > * { min-width: 0; }
.car-sub, .owner div { overflow-wrap: anywhere; }

/* юридические страницы */
.legal{max-width:760px;margin:24px auto 64px;font-size:16px;line-height:1.6}.legal h1{font-size:32px;margin:0 0 8px}.legal h2{font-size:20px;margin:32px 0 10px}.legal p,.legal li{margin:0 0 10px}.legal ul,.legal ol{padding-left:22px}
