/* MOVE IN · site. Logical properties so RTL (he) and LTR (en/fr/ru) share one stylesheet.
   Warm sage palette (sage / deep sage / sand). Contrast: white and #F0D6AE on #4A6350 and #2F3F33 ≥ 4.5:1; light buttons use dark ink. */
:root {
  --main: #4A6350; --main-d: #2F3F33; --main-l: #6B8A6E; --gold: #C08A4A; --gold-l: #F0D6AE; --sand: #F7E9D3;
  --ink: #232A24; --ink-2: #4F5A50; --line: #E3E6DC; --soft: #F4F3EA; --bg: #FFFDF8;
  --r: 14px; --shadow: 0 6px 24px rgba(47, 63, 51, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: 'Assistant', 'Segoe UI', Arial, sans-serif; font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; display: block; }
a { color: var(--main); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: var(--main-d); }
h3 { font-size: 20px; font-weight: 800; }
.sub { font-size: 20px; color: var(--ink-2); max-width: 760px; margin: 0 0 32px; }
.note, .small { font-size: 15px; color: var(--ink-2); }

/* skip link */
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip:focus { top: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: var(--main-d); color: #fff; }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: 2px; font-size: 20px; }
.brand svg { width: 42px; height: 34px; }
.menu ul, .langs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.menu { margin-inline-start: auto; }
.menu a, .langs a { color: #fff; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 16px; display: inline-block; }
.menu a:hover, .langs a:hover { background: rgba(255,255,255,.12); }
.langs a { font-size: 14px; padding: 6px 8px; color: var(--sand); }
.langs a[aria-current="true"] { background: rgba(255,255,255,.16); color: #fff; text-decoration: underline; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn.gold { background: var(--gold-l); color: var(--main-d); }
.btn.gold:hover { background: #F6E2C4; }
.btn.ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.big { min-width: 200px; }

/* hero */
.hero { background: radial-gradient(120% 140% at 15% 20%, var(--main) 0%, #3C5242 50%, var(--main-d) 100%); color: #fff; }
.hero-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-block: 72px 80px; }
.eyebrow { color: var(--gold-l); font-weight: 800; letter-spacing: .5px; margin: 0 0 10px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; }
.lead { font-size: 21px; opacity: .95; margin: 0 0 28px; max-width: 620px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; margin: 0; display: grid; place-items: center; min-height: 340px; }
.hero-art .plan { position: absolute; inset: 0; opacity: .18; }
.hero-art .plan svg { width: 100%; height: 100%; }
.big-mark { position: relative; width: min(300px, 70%); filter: drop-shadow(0 10px 22px rgba(0,0,0,.28)); }
.hero-art figcaption { position: relative; margin-top: 18px; color: var(--gold-l); font-weight: 800; text-align: center; }

/* sections */
.sec { padding-block: 80px; }
.sec.soft { background: var(--soft); }
.sec.dark { background: var(--main-d); color: #fff; }
.sec.dark h2 { color: #fff; }
.sec.dark .sub { color: var(--sand); }
.h3-sec { font-size: 24px; color: var(--main-d); margin-top: 48px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare > div { border-radius: var(--r); padding: 26px 28px; }
.before { background: var(--soft); }
.after { background: var(--main); color: #fff; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.compare li, .ticks li, .crosses li { position: relative; padding-inline-start: 30px; }
.ticks li::before, .crosses li::before { position: absolute; inset-inline-start: 0; font-weight: 800; }
.ticks li::before { content: '✓'; color: var(--gold); }
.after .ticks li::before { color: var(--gold-l); }
.crosses li::before { content: '✕'; color: #9A4A3A; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--main); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps p, .cards4 p, .cards3 p { margin: 0; color: var(--ink-2); font-size: 16px; }

.tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.tier.featured { border: 2px solid var(--main); box-shadow: 0 10px 28px rgba(74,99,80,.18); }
.tier img { width: 100%; height: 190px; object-fit: cover; }
.tier-body { padding: 20px 22px 24px; }
.tier-body h3 { font-size: 24px; color: var(--main-d); }
.tier-body > p { color: var(--ink-2); margin: 0 0 12px; }
.tier .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 16px; }

.styles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.styles li { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.sw { display: flex; gap: 6px; margin-bottom: 6px; }
.sw i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.styles span:last-child { color: var(--ink-2); font-size: 16px; }

.included { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; }
.included li { padding-inline-start: 30px; position: relative; font-weight: 600; }
.included li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--gold); font-weight: 800; }

.cards4, .cards3 { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards3 { grid-template-columns: repeat(3, 1fr); }
.cards4 li, .cards3 li { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.cards4 h3, .cards3 h3 { color: var(--main-d); }
.on-dark li { background: rgba(255,255,255,.07); box-shadow: none; border: 1px solid rgba(255,255,255,.18); }
.on-dark h3 { color: var(--gold-l); }
.on-dark p { color: #EEF0E8 !important; }
.rental { display: grid; gap: 10px; }

details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 800; list-style-position: inside; }
details p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); }

/* form */
.form { display: grid; gap: 4px; }
.form p { margin: 0 0 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form label { display: block; font-weight: 700; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border: 2px solid #869484; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--main); }
.form .check { display: flex; gap: 10px; align-items: flex-start; }
.form .check input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--main); }
.form .check label { font-weight: 600; }
.form .btn.gold { background: var(--main); color: #fff; justify-self: start; }
.form .btn.gold:hover { background: var(--main-d); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.status { min-height: 28px; font-weight: 700; }
.status.ok { color: #1E6B40; }
.status.err { color: #A3261E; }

/* legal */
.legal { padding-block: 56px 72px; }
.legal h1 { font-size: 40px; color: var(--main-d); }
.legal h2 { font-size: 24px; margin-top: 28px; }

/* footer */
.foot { background: var(--main-d); color: #fff; padding-block: 40px; }
.foot-in { display: grid; gap: 16px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand svg { width: 46px; height: 37px; }
.foot-brand p { margin: 0; color: var(--sand); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: #fff; }
.copy { margin: 0; color: var(--sand); font-size: 14px; }

/* responsive */
@media (max-width: 1000px) {
  .steps, .cards4 { grid-template-columns: repeat(2, 1fr); }
  .tiers, .styles, .cards3 { grid-template-columns: 1fr; }
  .included { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .menu { display: none; }
  .top-in { gap: 10px; }
  .top .btn { min-height: 40px; padding: 6px 14px; font-size: 15px; }
  .hero-in { grid-template-columns: 1fr; padding-block: 48px 56px; }
  .hero-art { min-height: 240px; }
  .compare, .grid2, .steps, .cards4, .included { grid-template-columns: 1fr; }
  .sec { padding-block: 56px; }
}

/* opening animation (static/intro.js adds .play; without JS or with reduced motion the final state shows) */
.replay { position: relative; margin-top: 10px; background: none; border: 1px solid rgba(255,255,255,.45); color: var(--gold-l); font: inherit; font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.replay:hover { background: rgba(255,255,255,.1); }
@media (prefers-reduced-motion: no-preference) {
  .play .plan { animation: plan-fade 3.6s ease forwards; }
  .play .plan [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s ease-out forwards; animation-delay: calc(var(--i) * 35ms); }
  .play .plan .p-fade { opacity: 0; animation: fade .6s ease 1.3s forwards; }
  .play .big-mark { opacity: 0; transform: scale(.88); animation: mark-in .9s cubic-bezier(.2,.8,.2,1) 1.5s forwards; }
  .play .m-a, .play .m-b { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s ease-out forwards; }
  .play .m-a { animation-delay: 1.6s; } .play .m-b { animation-delay: 1.9s; }
  .play .m-door { opacity: 0; transform-origin: 100px 140px; transform: scaleY(0); animation: door .6s ease-out 2.5s forwards; }
  .play .m-hole { opacity: 0; animation: fade .4s ease 3s forwards; }
  .play figcaption { opacity: 0; transform: translateY(8px); animation: rise .6s ease 3.2s forwards; }
  .play .replay { opacity: 0; animation: fade .4s ease 3.6s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes plan-fade { 0% { opacity: .6; } 45% { opacity: .6; } 100% { opacity: .18; } }
@keyframes mark-in { to { opacity: 1; transform: none; } }
@keyframes door { to { opacity: 1; transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
