/* Elfik site: our additions on top of the Webflow stylesheet. */

/* Webflow's .w-form, renamed so Webflow's form runtime does not take over our forms. */
:where(.el-form) { margin: 0 0 15px; } /* zero specificity: designer classes still win, as they did over .w-form */

/* Honeypot: invisible to people, filled by naive bots. */
.el-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

/* Turnstile slot: empty (0 px) unless Cloudflare asks the visitor to tick «Я не робот». */
.el-turnstile:empty { display: none; }
.el-turnstile { margin-top: 12px; }
.el-form-note { margin-top: 10px; font-size: 14px; line-height: 1.4; }
.el-busy { opacity: .7; pointer-events: none; }

/* Quiet reveal of section headings when they scroll into view (respects reduced motion). */
@media (prefers-reduced-motion: no-preference) {
  .el-reveal { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
  .el-reveal.el-in { opacity: 1; transform: none; }
}

/* 404 */
.el-404 { margin: 0; min-height: 100vh; display: grid; place-items: center; background: #fbf7f2; font-family: "RF Dewi", Arial, sans-serif; color: #2c2c2c; }
.el-404 main { max-width: 34rem; padding: 2rem 1rem; text-align: center; }
.el-404-code { font-size: 5rem; font-weight: 800; color: #9aca42; margin: 0; }
.el-404 h1 { font-size: 2rem; margin: .5rem 0 1rem; }
.el-404-btn { display: inline-block; background: #9aca42; color: #2c2c2c; padding: .8rem 1.4rem; border-radius: 999px; text-decoration: none; font-weight: 600; margin: .5rem; }
.el-404-link { color: #4e2f8d; margin: .5rem; }
.el-404-ru { margin-top: 2rem; color: #666; }
