/* Lehekiirabi — общие стили */
:root { --red:#d7263d; --dark:#1d1f24; --grey:#f3f4f6; --text:#2b2d33; --green:#1a9e55; }
* { box-sizing:border-box; }
body { margin:0; font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; color:var(--text); line-height:1.5; }
.wrap { max-width:980px; margin:0 auto; padding:0 20px; }
header { display:flex; justify-content:space-between; align-items:center; padding:16px 0; }
.logo { font-weight:800; font-size:1.3rem; color:var(--dark); text-decoration:none; }
.logo span { color:var(--red); }
.langs a { margin-left:10px; color:#666; text-decoration:none; font-weight:600; }
.langs a.on { color:var(--red); }
.hero { background:var(--dark); color:#fff; padding:60px 0 52px; }
.hero h1 { font-size:clamp(1.9rem,5vw,3rem); margin:0 0 14px; line-height:1.15; }
.hero p { font-size:1.2rem; opacity:.9; max-width:680px; margin:0 0 24px; }
.badge { display:inline-block; background:var(--green); color:#fff; font-weight:700; padding:6px 14px; border-radius:20px; margin-bottom:18px; }
.btn { display:inline-block; padding:14px 24px; border-radius:8px; font-weight:700; text-decoration:none; margin:0 10px 10px 0; font-size:1.05rem; border:0; cursor:pointer; }
.btn-red { background:var(--red); color:#fff; }
.btn-white { background:#fff; color:var(--dark); }
.btn-wa { background:#25D366; color:#fff; }
.btn-tg { background:#229ED9; color:#fff; }
.btn-phone { background:#fff; color:var(--dark); border:1px solid #ccc; font-weight:600; }
.btn:hover { filter:brightness(1.07); }
section { padding:48px 0; }
h2 { font-size:1.6rem; margin:0 0 20px; }
.grey { background:var(--grey); }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:18px; }
.card { background:#fff; border:1px solid #e3e3e3; border-radius:10px; padding:22px; }
.card h3 { margin:0 0 8px; font-size:1.1rem; }
.card p { margin:0; }
.promise { background:#fff4f5; border-left:5px solid var(--red); padding:24px; border-radius:8px; }
.promise h2 { margin-bottom:8px; }
.row { display:flex; gap:10px; flex-wrap:wrap; }
.row input { flex:1; min-width:220px; padding:14px; font-size:1.05rem; border:1px solid #ccc; border-radius:8px; }
#out { margin-top:18px; }
.res { background:#fff; border:1px solid #e3e3e3; border-radius:10px; padding:20px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:20px; }
.res img { width:100%; border:1px solid #ddd; border-radius:6px; background:#fafafa; min-height:120px; }
.res .st { font-size:1.25rem; font-weight:700; margin-bottom:8px; }
.res dl { margin:0; display:grid; grid-template-columns:auto 1fr; gap:4px 12px; font-size:.95rem; }
.res dt { color:#777; } .res dd { margin:0; word-break:break-word; }
.help { margin-top:12px; font-weight:600; color:var(--red); }
#subBox { display:none; margin-top:18px; }
.note { font-size:.9rem; color:#666; margin-top:6px; }
.msg { margin-top:12px; font-weight:600; }
details { margin-top:22px; } summary { cursor:pointer; color:#555; }
.n { display:inline-block; width:32px; height:32px; border-radius:50%; background:var(--red); color:#fff; text-align:center; line-height:32px; font-weight:700; margin-bottom:8px; }
.price { font-size:1.5rem; font-weight:800; color:var(--red); margin:4px 0 8px; }
table { border-collapse:collapse; width:100%; } td, th { text-align:left; padding:8px; border-bottom:1px solid #e3e3e3; }
.big { font-size:2.2rem; font-weight:800; }
footer { background:var(--grey); padding:24px 0; font-size:.95rem; color:#555; line-height:1.8; }
@media (max-width:640px) { .res { grid-template-columns:1fr; } }
.navlink { color:var(--red) !important; margin-right:8px; }
