/* ==========================================================================
   HOSTING.MAKEUP r10 (2026-11-30): home page — light motion + polish of the lower sections.
   Scope: body.home.hm-r1 (front page only). Loaded after r9.css.
   Rhythm: sections 2.25rem / 1.5rem (mobile) vertical padding, compact headings like r9 "Тарифы VPS",
   radii 28 (blocks) / 20 (cards) / 14 (rows, buttons). Hover = tint, never lift + shadow.
   ========================================================================== */
body.home.hm-r1 {
  --r10-sec: 2.25rem;
  --r10-r-lg: 28px; --r10-r-md: 20px; --r10-r-sm: 14px;
  --r10-ease: cubic-bezier(.22, 1, .36, 1);
  --r10-tint: #f3faf8; --r10-tint-line: #bfe5dd;
}

/* ---------- hero entrance: CSS keyframes, same values as r5 (timeweb.com/ru/) ---------- */
@keyframes r10Up { from { opacity: .01; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes r10Ico { from { opacity: 0; transform: translate(var(--r10-dx, 0), var(--r10-dy, 0)) scale(.8); } to { opacity: 1; transform: none; } }
html.hm-r10-anim .hm-r5hero__pill { animation: r10Up .6s var(--r10-ease, cubic-bezier(.22,1,.36,1)) .05s both; }
html.hm-r10-anim .hm-r5hero__title,
html.hm-r10-anim .hm-r5hero__lead { animation: r10Up .6s cubic-bezier(.22,1,.36,1) .15s both; }
html.hm-r10-anim .hm-r5hero__actions,
html.hm-r10-anim .hm-r5hero__note { animation: r10Up .6s cubic-bezier(.22,1,.36,1) .25s both; }
html.hm-r10-anim .hm-r5stats__box { animation: r10Up .6s cubic-bezier(.22,1,.36,1) .4s both; }
html.hm-r10-anim .r5-ico__m { animation: r10Ico .45s cubic-bezier(.22,1,.36,1) both; }
html.hm-r10-anim .r5-ico--shield .r5-ico__m { --r10-dx: -50px; --r10-dy: -40px; animation-delay: .05s; }
html.hm-r10-anim .r5-ico--doc .r5-ico__m    { --r10-dx: 50px;  --r10-dy: -40px; animation-delay: .12s; }
html.hm-r10-anim .r5-ico--server .r5-ico__m { --r10-dx: -50px; --r10-dy: 40px;  animation-delay: .19s; }
html.hm-r10-anim .r5-ico--folder .r5-ico__m { --r10-dx: 50px;  --r10-dy: 40px;  animation-delay: .26s; }
/* will-change only where something really moves (desktop icons) */
.r5-ico__f { will-change: auto; }
@media (max-width: 1023px) { .r5-ico, .r5-ico__m { will-change: auto; } }

/* ---------- reveal on scroll (r10.js adds .r10-rv only to blocks below the fold) ---------- */
html.hm-r10-anim .r10-rv { opacity: 0; transform: translateY(24px); }
html.hm-r10-anim .r10-rv.is-in { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }

/* ---------- rhythm ---------- */
body.home.hm-r1 .hm-r2-incl,
body.home.hm-r1 .hm-r2-crypto,
body.home.hm-r1 .hm-r2-why,
body.home.hm-r1 .hm-r2-panel,
body.home.hm-r1 .hm-r2-apps,
body.home.hm-r1 .hm-r2-infra,
body.home.hm-r1 .hm-rstorage,
body.home.hm-r1 .hm-r2-contact,
body.home.hm-r1 .hm-r2-cta,
body.home.hm-r1 .hm-r2-faq { padding: var(--r10-sec) 0; }
body.home.hm-r1 .hm-r9svc { padding-bottom: var(--r10-sec); }
body.home.hm-r1 .hm-r2-faq { padding-bottom: calc(var(--r10-sec) * 1.75); }

/* ---------- compact section headings (r9 scale) ---------- */
body.home.hm-r1 .hm-r2-why .hm-r2-h2,
body.home.hm-r1 .hm-r2-apps .hm-r2-h2,
body.home.hm-r1 .hm-rstorage .hm-rtitle,
body.home.hm-r1 .hm-r2-faq .hm-r2-h2,
body.home.hm-r1 .hm-r9svc__head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 800;
}
body.home.hm-r1 .hm-r2-crypto .hm-r2-h2,
body.home.hm-r1 .hm-r2-panel .hm-r2-h2,
body.home.hm-r1 .hm-r2-contact .hm-r2-h2,
body.home.hm-r1 .hm-r2-infra .hm-r2-h2,
body.home.hm-r1 .hm-r2-cta .hm-r2-h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
/* why: title left, like "Тарифы VPS" */
body.home.hm-r1 .hm-r2-why .hm-r2-h2 { text-align: left; margin-bottom: 1rem; }
/* storage: title left, subtitle right on one line */
body.home.hm-r1 .hm-rstorage .hm-rhead {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1.5rem;
  max-width: none; margin: 0 0 1rem; text-align: left;
}
body.home.hm-r1 .hm-rstorage .hm-rtitle { margin: 0; }
body.home.hm-r1 .hm-rstorage .hm-rsub { font-size: .92rem; font-weight: 600; color: var(--r-muted, #64748b); }
body.home.hm-r1 .hm-r2-apps .hm-r2-h2 { margin-bottom: .75rem; }

/* ---------- radii ---------- */
body.home.hm-r1 .hm-r2-card,
body.home.hm-r1 .hm-r2-incl__strip,
body.home.hm-r1 .hm-r2-why__big,
body.home.hm-r1 .hm-r2-infra__box,
body.home.hm-r1 .hm-rstorage__group,
body.home.hm-r1 .hm-r2-cta__band { border-radius: var(--r10-r-lg); }
body.home.hm-r1 .hm-r2-incl__lead,
body.home.hm-r1 .hm-r2-why__card,
body.home.hm-r1 .hm-r2-infra__card,
body.home.hm-r1 .hm-r2-faq .hm-acc__item { border-radius: var(--r10-r-md); }
body.home.hm-r1 .hm-rrow,
body.home.hm-r1 .hm-rrow__cta,
body.home.hm-r1 .hm-r2-btn,
body.home.hm-r1 .hm-r2-chip { border-radius: var(--r10-r-sm); }

/* ---------- micro-interactions ---------- */
/* buttons: quick press, no lift */
body.home.hm-r1 .hm-btn,
body.home.hm-r1 .hm-r2-btn,
body.home.hm-r1 .hm-rrow__cta,
body.home.hm-r1 .hm-r9card a,
body.home.hm-r1 .hm-r9help a,
body.home.hm-r1 .hm-r2-contact__form button[type="submit"] {
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .12s ease !important;
}
body.home.hm-r1 .hm-btn:hover,
body.home.hm-r1 .hm-r2-btn:hover { transform: none; }
body.home.hm-r1 .hm-btn:active,
body.home.hm-r1 .hm-r2-btn:active,
body.home.hm-r1 .hm-rrow__cta:active,
body.home.hm-r1 .hm-r9card a:active,
body.home.hm-r1 .hm-r9help a:active,
body.home.hm-r1 .hm-r2-chip:active,
body.home.hm-r1 .hm-r2-contact__form button[type="submit"]:active { transform: scale(.97) !important; }
body.home.hm-r1 .hm-r2-btn--accent { box-shadow: none; }

/* text links: underline grows from the left */
body.home.hm-r1 .hm-r2-apps__text a,
body.home.hm-r1 .hm-r2-faq__lead a,
body.home.hm-r1 .hm-r2-legal a,
body.home.hm-r1 .hm-footer__col li a,
body.home.hm-r1 .hm-r2-apps__more a {
  text-decoration: none; border-bottom: 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .25s cubic-bezier(.22,1,.36,1), color .2s ease;
}
body.home.hm-r1 .hm-r2-apps__text a,
body.home.hm-r1 .hm-r2-faq__lead a,
body.home.hm-r1 .hm-r2-legal a { background-image: linear-gradient(currentColor, currentColor), linear-gradient(rgba(100,116,139,.35), rgba(100,116,139,.35)); background-size: 0 1px, 100% 1px; background-position: 0 100%, 0 100%; }
body.home.hm-r1 .hm-r2-apps__text a:hover,
body.home.hm-r1 .hm-r2-faq__lead a:hover,
body.home.hm-r1 .hm-r2-legal a:hover { color: var(--r-accent, #0d9488); background-size: 100% 1px, 100% 1px; }
body.home.hm-r1 .hm-footer__col li a:hover,
body.home.hm-r1 .hm-r2-apps__more a:hover { color: var(--r-accent, #0d9488); background-size: 100% 1px; }

/* included strip: icon tint (like r5 perks), no lift */
body.home.hm-r1 .hm-r2-incl__item { transform: none !important; border-radius: var(--r10-r-md); transition: background-color .2s ease; }
body.home.hm-r1 .hm-r2-incl__item i { display: inline-grid; place-items: center; width: 40px; height: 40px; margin: 0 0 .55rem -6px; border-radius: 12px; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
body.home.hm-r1 .hm-r2-incl__item:hover { background: rgba(255,255,255,.6); }
body.home.hm-r1 .hm-r2-incl__item:hover i { background: var(--r-accent-soft, #e7f6f3); color: var(--r-accent, #0d9488); transform: scale(1.05); }

/* why cards: tint instead of lift */
body.home.hm-r1 .hm-r2-why__card { transition: background-color .2s ease, border-color .2s ease !important; }
body.home.hm-r1 .hm-r2-why__card:hover { transform: none !important; box-shadow: none !important; background: var(--r10-tint); border-color: var(--r10-tint-line); }
body.home.hm-r1 .hm-r2-why__cnum { transition: color .2s ease; }
body.home.hm-r1 .hm-r2-why__card:hover .hm-r2-why__cnum { color: var(--r-accent, #0d9488); }

/* app icons: tint ring in the app colour, no lift */
body.home.hm-r1 .hm-r2-apps__icons a { transition: background-color .2s ease, box-shadow .2s ease, color .2s ease !important; }
body.home.hm-r1 .hm-r2-apps__icons a:hover { transform: none !important; box-shadow: 0 0 0 1.5px var(--c, #0d9488) !important; background: color-mix(in srgb, var(--c, #0d9488) 8%, #fff); }

/* infra: solid glass instead of backdrop blur (cheaper scrolling on phones) */
body.home.hm-r1 .hm-r2-infra__card { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background-color: rgba(14, 33, 45, .78); transition: border-color .2s ease, background-color .2s ease; }

/* storage rows: tint */
body.home.hm-r1 .hm-rrow { transition: background-color .2s ease; }
body.home.hm-r1 .hm-rrow:hover { background: var(--r10-tint); }

/* chips (contact) */
body.home.hm-r1 .hm-r2-chip { transition: border-color .2s ease, background-color .2s ease, transform .12s ease; }

/* ---------- FAQ: head left, accordion right (desktop) ---------- */
body.home.hm-r1 .hm-r2-faq .hm-container {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr); grid-template-rows: auto auto auto 1fr;
  column-gap: 3rem; align-items: start;
}
body.home.hm-r1 .hm-r2-faq .hm-r2-h2 { grid-column: 1; grid-row: 1; text-align: left; margin: 0 0 .6rem; }
body.home.hm-r1 .hm-r2-faq__lead { grid-column: 1; grid-row: 2; margin: 0; text-align: left; max-width: 22rem; line-height: 1.55; }
body.home.hm-r1 .hm-r2-faq .hm-acc { grid-column: 2; grid-row: 1 / span 4; max-width: none; margin: 0; gap: .5rem; }
body.home.hm-r1 .hm-r2-legal { grid-column: 1; grid-row: 3; justify-content: flex-start; flex-direction: column; gap: .55rem; margin: 1.5rem 0 0; align-items: flex-start; }
body.home.hm-r1 .hm-r2-faq .hm-acc__item { border: 1px solid transparent; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
body.home.hm-r1 .hm-r2-faq .hm-acc__item:not([open]):hover { background: var(--r10-tint); border-color: var(--r10-tint-line); }
body.home.hm-r1 .hm-r2-faq .hm-acc__item[open] { border-color: var(--r2-card-line, #e2e8ee); box-shadow: 0 6px 18px rgba(15, 27, 42, .05); }
body.home.hm-r1 .hm-r2-faq .hm-acc__item summary { align-items: center; }
body.home.hm-r1 .hm-r2-faq .hm-acc__item summary i {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin: 0; border-radius: 999px; opacity: 1;
  background: #fff; color: var(--r-ink-2, #334155); transition: transform .3s cubic-bezier(.22,1,.36,1), background-color .2s ease, color .2s ease;
}
body.home.hm-r1 .hm-r2-faq .hm-acc__item[open] summary i { background: var(--r-accent-soft, #e7f6f3); color: var(--r-accent, #0d9488); }
body.home.hm-r1 .hm-r2-faq .hm-acc__item.is-closing summary i { transform: none; background: #fff; color: var(--r-ink-2, #334155); }
body.home.hm-r1 .hm-r2-faq .hm-acc__item p { padding: 0 1.35rem 1.2rem; margin: 0; }

/* ---------- footer: quieter, aligned ---------- */
body.home.hm-r1 .hm-footer__col h3 { letter-spacing: .06em; }
body.home.hm-r1 .hm-footer__col li a { transition: color .2s ease, background-size .25s cubic-bezier(.22,1,.36,1); }
body.home.hm-r1 .hm-footer__social-ic a { transition: background-color .2s ease, color .2s ease; }
body.home.hm-r1 .hm-footer__social-ic a:hover { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  body.home.hm-r1 .hm-r2-faq .hm-container { display: block; }
  body.home.hm-r1 .hm-r2-faq__lead { max-width: none; margin-bottom: 1.25rem; }
  body.home.hm-r1 .hm-r2-legal { flex-direction: row; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.5rem; }
}
@media (max-width: 640px) {
  body.home.hm-r1 { --r10-sec: 1.5rem; --r10-r-lg: 24px; --r10-r-md: 18px; }
  body.home.hm-r1 .hm-rstorage .hm-rhead { flex-direction: column; align-items: flex-start; }
  body.home.hm-r1 .hm-r2-faq .hm-acc__item summary { padding: 1rem 1.1rem; }
  body.home.hm-r1 .hm-r2-faq .hm-acc__item p { padding: 0 1.1rem 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html.hm-r10-anim .r10-rv { opacity: 1; transform: none; }
  body.home.hm-r1 .hm-btn:active, body.home.hm-r1 .hm-r2-btn:active, body.home.hm-r1 .hm-rrow__cta:active { transform: none !important; }
}
