/* ALPHA ASSISTANT — design improvements, 2026-11-24 */

/* Sticky header on desktop (ru/en pages) */
@media (min-width: 900px) {
  .site-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 6px 24px #0000; transition: box-shadow .2s; }
  .site-header:hover { box-shadow: 0 6px 24px #0003; }
}

/* Cards: softer corners and a gentle lift on hover */
.guide-card, .service-card { border-radius: 10px; transition: transform .2s ease, box-shadow .2s ease; }
.guide-card:hover, .service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #0b252b1f; }
.quote-card { border-radius: 10px; }
.button, #pricing .guide-link { border-radius: 6px; }

/* "Popular" badge on the middle tariff */
#pricing .guide-card { position: relative; }
html[lang="ru"] #pricing .guide-card:nth-child(2)::before,
html[lang="en"] #pricing .guide-card:nth-child(2)::before {
  position: absolute; top: -13px; left: 24px;
  padding: 5px 12px; border-radius: 999px;
  background: #ad8841; color: #fff;
  font: 700 11px/1.2 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase;
}
html[lang="ru"] #pricing .guide-card:nth-child(2)::before { content: "Популярный"; }
html[lang="en"] #pricing .guide-card:nth-child(2)::before { content: "Most popular"; }
#pricing .guide-link:hover { background: #0b252b; }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #e7c477; outline-offset: 3px; }

/* SEO text block */
.seo-section { background: #fffdf7; border-top: 1px solid #e6dfcc; border-bottom: 1px solid #e6dfcc; }
.seo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.seo-section h2 { margin-top: 10px; }
.seo-copy p { line-height: 1.8; color: #3d5552; margin: 0 0 16px; }
.seo-copy strong { color: #17383b; }
.seo-tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seo-tags li { padding: 7px 13px; border: 1px solid #d9cfb4; border-radius: 999px; font-size: 13px; color: #5b4a22; background: #f7f1e1; }
@media (max-width: 860px) { .seo-grid { grid-template-columns: 1fr; gap: 12px; } }

/* Floating WhatsApp / Telegram buttons */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 9000; display: flex; flex-direction: column; gap: 10px; }
.float-contact a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 22px #0004; transition: transform .2s; }
.float-contact a:hover { transform: scale(1.08); }
.float-contact svg { width: 28px; height: 28px; }
.float-wa { background: #25d366; }
.float-tg { background: #229ed9; }
@media (max-width: 600px) { .float-contact { right: 12px; bottom: 12px; } .float-contact a { width: 48px; height: 48px; } }
@media print { .float-contact { display: none; } }
