@import url("/assets/tokens.css?v=4");

@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/onest-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/onest-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Territory Display";
  font-style: normal; font-weight: 900; font-display: swap;
  src: url("/assets/fonts/montserrat-900-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Territory Display";
  font-style: normal; font-weight: 900; font-display: swap;
  src: url("/assets/fonts/montserrat-900-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@keyframes fade-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes slide-up { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: translateY(0) } }
@keyframes mist-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(12px, -18px, 0) scale(1.04); }
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--color-background);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.site {
  overflow-x: hidden;
  background: #f4f4f3;
}

.site, .site * { box-sizing: border-box; }
.site a { color: inherit; text-decoration: none; }
.site img { max-width: 100%; display: block; }
.site .wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.site h1, .site h2, .site h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.15; }

/* atmosphere orbs — not carnival bubbles */
.bubbles {
  position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.bubbles i {
  position: absolute;
  width: var(--s); height: var(--s); border-radius: 50%;
  left: var(--x); top: var(--y);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), rgba(29,175,160,.12) 45%, transparent 70%);
  filter: blur(2px);
  opacity: .45;
  animation: mist-drift var(--t) var(--ease-standard) infinite alternate;
  animation-delay: var(--d);
}
.bubbles i:nth-child(1) { --x: 8%; --y: 12%; --s: 120px; --t: 14s; --d: -2s; }
.bubbles i:nth-child(2) { --x: 72%; --y: 8%; --s: 180px; --t: 18s; --d: -6s; }
.bubbles i:nth-child(3) { --x: 40%; --y: 30%; --s: 90px; --t: 12s; --d: -1s; }
.bubbles i:nth-child(4) { --x: 85%; --y: 42%; --s: 140px; --t: 16s; --d: -8s; }
.bubbles i:nth-child(5) { --x: 12%; --y: 58%; --s: 160px; --t: 20s; --d: -4s; }
.bubbles i:nth-child(6) { --x: 55%; --y: 70%; --s: 110px; --t: 15s; --d: -10s; }
.bubbles i:nth-child(n+7) { display: none; }
@media (prefers-reduced-motion: reduce) {
  .bubbles i { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

main, .foot, .top { position: relative; z-index: 1; }

/* nav — solid bar, brand left, links right */
.site .top {
  position: fixed; left: 0; right: 0; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center;
  gap: var(--space-12) var(--space-24);
  padding: var(--space-12) 0;
  font-weight: 600; font-size: var(--text-sm); color: var(--color-text-secondary);
}
.nav .brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  border-bottom: 0 !important;
}
.nav-links {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-8) var(--space-20);
}
.nav a {
  padding: var(--space-4) var(--space-4);
  border-bottom: 2px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--color-primary); color: var(--color-primary); }
.nav .brand-mark:hover { color: var(--color-ink); }

.site .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--space-24);
  border-radius: var(--radius-md);
  background: var(--color-primary); color: var(--color-on-primary);
  border: 0; cursor: pointer;
  font: inherit; font-weight: 700;
  transition: background var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}
.site .btn:hover { background: var(--color-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-raised); }
.site .btn:focus-visible { outline: 3px solid var(--color-focus-ring); outline-offset: 2px; }
.site .btn.ghost {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7);
}
.site .btn.ghost:hover { background: rgba(255,255,255,.12); }
.site .btn.block { width: 100%; }
.site .btn.only-mobile { display: none; }
.site .btn.on-light { background: var(--color-primary); color: var(--color-on-primary); }
.site .btn.ghost.on-light {
  background: var(--color-surface); color: var(--color-text-primary); border: 1px solid var(--color-border);
}
/* HERO — full-bleed photo, brand on image (ClawFu: brand + one line + one CTA) */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100dvh;
  padding: calc(88px + env(safe-area-inset-top)) 0 var(--space-48);
  color: #fff;
  overflow: hidden;
  background: #111;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  transform: scale(1.03);
  animation: mist-drift 24s var(--ease-standard) infinite alternate;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.08) 36%, rgba(0,0,0,.72) 100%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  justify-items: start;
  text-align: left;
  gap: var(--space-12);
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  animation: slide-up var(--duration-slow) var(--ease-decelerate) both;
}
.hero-logo { display: none; }
.hero .kicker { display: none; }
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 8vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 12ch;
  text-shadow: 0 2px 28px rgba(0,0,0,.45);
}
.hero .slogan {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.actions {
  display: flex; flex-wrap: wrap; gap: var(--space-12);
  margin-top: var(--space-16);
}
.site .btn.hero-cta {
  background: #fff !important; color: #111 !important;
  min-width: 168px; min-height: 52px; font-size: 1.05rem;
  border-radius: var(--radius-sm);
  opacity: 1;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
.site .btn.hero-cta:hover {
  background: #f5f5f5 !important; color: #111 !important; filter: none;
}

.band {
  padding: var(--space-64) 0;
  animation: fade-in var(--duration-slow) var(--ease-decelerate) both;
}
.band h2 {
  margin: 0 0 var(--space-8);
  font-size: var(--text-3xl);
  color: var(--color-text-primary);
}
.band .lead {
  margin: 0 0 var(--space-32);
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  max-width: 40ch;
}
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-16); margin-bottom: var(--space-24); }

/* service tiles — interaction containers, not marketing cards clutter */
.deps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-16);
}
.dep, .dep.no-pic {
  display: flex; flex-direction: column; gap: var(--space-16);
  background: var(--color-surface);
  color: var(--color-text-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-24);
  min-height: 180px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-raised);
  transition: transform var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard);
}
.dep:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-overlay);
  border-color: color-mix(in srgb, var(--color-primary) 28%, var(--color-border));
}
.dep .pic {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-muted);
}
.dep .pic img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform var(--duration-slow) var(--ease-standard);
}
.dep:hover .pic img { transform: scale(1.04); }
.slot { min-height: 0; padding: 0; }
.dep h3 {
  margin: 0;
  font-size: var(--text-xl);
  text-align: left;
  line-height: 1.2;
}
.dep p { margin: var(--space-8) 0 0; color: var(--color-text-muted); font-size: var(--text-sm); }
.dep .btn { margin-top: auto; width: 100%; }
.dep .btn.on-light, .band .btn { background: var(--color-primary); color: var(--color-on-primary); }

#askPick .btn { width: 100%; }
#askPick[hidden], #askFields[hidden], #askPrice[hidden] { display: none !important; }

.call-row { display: flex; justify-content: center; margin-top: var(--space-32); }
.call-row .btn { min-width: 220px; }

.app-promo {
  display: grid; grid-template-columns: 1fr auto; gap: var(--space-32); align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-32);
  box-shadow: var(--shadow-raised);
}
.app-promo h2 { margin: 0; color: var(--color-text-primary); font-size: var(--text-2xl); }
.app-promo p { margin: var(--space-8) 0 var(--space-24); color: var(--color-text-secondary); }
.app-open {
  display: inline-block; margin-top: var(--space-12);
  color: var(--color-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
.app-qr { display: grid; justify-items: center; gap: var(--space-8); color: var(--color-text-muted); font-size: var(--text-sm); font-weight: 600; }
.app-qr img { width: 148px; height: 148px; border-radius: var(--radius-md); border: 1px solid var(--color-border); }

.overlay {
  position: fixed; inset: 0; z-index: 40; cursor: pointer;
  display: none; place-items: center; padding: var(--space-16);
  background: rgba(10, 46, 43, .48);
}
.overlay.open { display: grid; }
.sheet-form {
  width: min(440px, 100%); max-height: min(92vh, 760px); overflow: auto; cursor: auto;
  display: grid; gap: var(--space-12);
  background: var(--color-surface); color: var(--color-text-primary);
  border-radius: var(--radius-xl); padding: var(--space-24);
  box-shadow: var(--shadow-floating);
  animation: scale-in var(--duration-fast) var(--ease-decelerate) both;
}
@keyframes scale-in { from { opacity: 0; transform: scale(0.95) } to { opacity: 1; transform: scale(1) } }
.sheet-form h3 { margin: 0; font-size: var(--text-xl); }
.checks { display: grid; gap: var(--space-8); }
.check { display: flex; align-items: flex-start; gap: var(--space-12); min-height: 44px; font-weight: 700; cursor: pointer; }
.check .check-price { margin-left: auto; color: var(--color-primary); white-space: nowrap; }
.check-group { margin: var(--space-8) 0 0; font-size: var(--text-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--color-text-muted); }
.site .check input, .site .agree input {
  width: 22px; min-width: 22px; height: 22px; margin: 0; flex: 0 0 22px; accent-color: var(--color-primary);
}
.hint { margin: 0; color: var(--color-text-muted); }
.sheet-form .btn.ghost {
  background: var(--color-surface-muted); color: var(--color-text-primary); border: 1px solid var(--color-border);
}
body.ask-open { overflow: hidden; }

.site form { display: grid; gap: var(--space-12); }
.site label { font-size: var(--text-sm); font-weight: 700; color: var(--color-text-secondary); }
.site input, .site select, .site textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 10px 12px; font: inherit; background: var(--color-surface); color: var(--color-text-primary);
}
.site textarea { min-height: 96px; resize: vertical; }
.site input:focus-visible, .site textarea:focus-visible, .site select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-focus-ring) 45%, transparent);
  border-color: var(--color-focus-ring);
}
.note { margin: 0; color: var(--color-primary); font-weight: 700; }

.foot {
  background: var(--color-ink); color: rgba(255,255,255,.78);
  padding: var(--space-48) 0 var(--space-32); font-size: var(--text-sm);
}
.foot .wrap { display: grid; gap: var(--space-12); }
.foot .legal-links { display: flex; flex-wrap: wrap; gap: var(--space-8) var(--space-24); }
.foot a { color: #fff; font-weight: 700; }
.foot .req { margin: 0; color: rgba(255,255,255,.55); }

.agree {
  display: flex; align-items: flex-start; gap: var(--space-12); cursor: pointer;
  font-size: var(--text-sm); font-weight: 600; line-height: 1.35; color: var(--color-text-secondary);
}
.agree a, .doc a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }

.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 35;
  display: none; align-items: center; gap: var(--space-16); flex-wrap: wrap; justify-content: space-between;
  max-width: 720px; margin: 0 auto; padding: var(--space-16);
  border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text-primary);
  box-shadow: var(--shadow-floating); font-size: var(--text-sm); line-height: 1.35;
}
.cookie.show { display: flex; }
.cookie p { margin: 0; flex: 1 1 260px; }
.cookie a { color: var(--color-primary); text-decoration: underline; }

.doc {
  background: var(--color-surface); color: var(--color-text-primary);
  border-radius: var(--radius-xl); padding: var(--space-24) var(--space-32); margin: 0 0 var(--space-32);
  border: 1px solid var(--color-border); line-height: 1.55;
}
.doc h2 { margin: var(--space-24) 0 var(--space-8); font-size: var(--text-lg); }
.doc h2:first-child { margin-top: 0; }
.doc .fill { background: #fff3c4; padding: 0 4px; border-radius: 4px; }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: none; grid-template-columns: 1fr;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--color-ink);
}

.page-hero {
  padding: calc(96px + env(safe-area-inset-top)) 0 var(--space-32);
  margin: 0 0 var(--space-24);
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(29, 175, 160, 0.22), transparent 60%),
    linear-gradient(160deg, #071f1c 0%, #0f5c54 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.page-hero h1 { margin: 0; font-size: var(--text-4xl); color: #fff; }
.page-hero p { margin: var(--space-8) 0 var(--space-24); color: rgba(255,255,255,.88); }
.phone-list { display: grid; gap: var(--space-16); margin-top: var(--space-8); }
.phone-list a { display: block; font-size: var(--text-xl); font-weight: 800; color: #fff; }
.phone-list span { display: block; font-size: var(--text-sm); font-weight: 700; opacity: .85; }
.map { margin: var(--space-24) 0 var(--space-48); height: 420px; border-radius: var(--radius-xl); overflow: hidden; background: var(--color-surface); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.sheet { background: var(--color-surface); color: var(--color-text-primary); border-radius: var(--radius-xl); overflow: hidden; margin-bottom: var(--space-16); border: 1px solid var(--color-border); }
.sheet h2 { margin: 0; padding: var(--space-16) var(--space-24) 0; font-size: var(--text-xl); }
[data-d] .sheet, [data-d] .car-pick, [data-d] .page-hero .cars { display: none; }
[data-d="wash"] .sheet[data-dept="wash"],
[data-d="carpets"] .sheet[data-dept="carpets"],
[data-d="clean"] .sheet[data-dept="clean"],
[data-d="furniture"] .sheet[data-dept="furniture"],
[data-d="laundry"] .sheet[data-dept="laundry"],
[data-d="facade"] .sheet[data-dept="facade"] { display: block; }
[data-d="wash"] .car-pick { display: block; }
[data-d="wash"] .page-hero .cars { display: inline; }
.dept-pick { display: flex; flex-wrap: wrap; gap: var(--space-8); margin: 0 0 var(--space-16); }
.dept-pick a {
  min-height: 40px; padding: 8px 14px; border-radius: var(--radius-full); display: inline-flex; align-items: center;
  background: var(--color-surface); color: var(--color-text-primary); font-weight: 700; border: 1px solid var(--color-border);
}
[data-d="wash"] .dept-pick [data-k="wash"],
[data-d="carpets"] .dept-pick [data-k="carpets"],
[data-d="clean"] .dept-pick [data-k="clean"],
[data-d="furniture"] .dept-pick [data-k="furniture"],
[data-d="laundry"] .dept-pick [data-k="laundry"],
[data-d="facade"] .dept-pick [data-k="facade"] { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.sheet h3 { margin: 0; padding: var(--space-16) var(--space-24) var(--space-8); font-size: var(--text-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--color-text-muted); }
.sheet .row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-16); align-items: center;
  padding: 14px var(--space-24); border-top: 1px solid var(--color-border);
}
.row b { color: var(--color-primary); font-size: 1.05rem; white-space: nowrap; }
.row small { display: block; margin-top: 4px; color: var(--color-text-muted); font-size: var(--text-sm); font-weight: 500; }
.car-pick {
  position: sticky; top: 8px; z-index: 5;
  background: var(--color-surface); color: var(--color-text-primary);
  border-radius: var(--radius-xl); padding: 12px 14px; margin-bottom: var(--space-16);
  box-shadow: var(--shadow-sticky); border: 1px solid var(--color-border);
}
.car-pick > span { display: block; font-weight: 800; margin: 0 0 8px 4px; }
.car-pick .chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.car-pick .chips::-webkit-scrollbar { display: none; }
.car-pick button {
  flex: none; min-height: 40px; padding: 8px 14px; border-radius: var(--radius-full); cursor: pointer;
  border: 1px solid var(--color-border); background: var(--color-primary-subtle); color: var(--color-text-primary); font: inherit; font-weight: 700;
}
.car-pick button[aria-pressed="true"] { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
@media (min-width: 900px) { .car-pick .chips { flex-wrap: wrap; overflow: visible; } }

.jobs { margin: 8px 0 0; padding: 0; list-style: none; color: var(--color-text-muted); }
.jobs li { position: relative; padding: 2px 0 2px 16px; }
.jobs li::before { content: "–"; position: absolute; left: 0; }
.jobs a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.socials { display: flex; gap: 14px; margin-top: 18px; }
.social {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
}
.social svg { width: 32px; height: 32px; fill: #fff; display: block; }
.social.vk { background: #0077ff; }
.social.max { background: linear-gradient(135deg, #2aa8c8 0%, #1a6fb5 100%); }
.call-sheet .phone-list a { color: var(--color-primary); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.call-sheet .phone-list span { color: var(--color-text-primary); opacity: .75; }

@media (max-width: 860px) {
  .site .wrap { width: min(1040px, calc(100% - 28px)); }
  .nav { gap: 6px 14px; font-size: .88rem; }
  .site .btn.only-mobile { display: none; }
  .hero { min-height: 92dvh; padding-bottom: calc(var(--space-48) + 72px); }
  .hero h1 { font-size: clamp(2.45rem, 11vw, 3.4rem); max-width: none; }
  .nav { justify-content: center; }
  .nav .brand-mark { display: none; }
  .nav-links { justify-content: center; width: 100%; }
  .deps { gap: var(--space-12); }
  .dep, .dep.no-pic { padding: var(--space-16); min-height: 0; }
  .dep h3 { font-size: var(--text-lg); }
  .app-promo { grid-template-columns: 1fr; text-align: left; padding: var(--space-24); }
  .site { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .dock { display: grid; }
  .cookie { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .page-hero { padding-top: calc(88px + env(safe-area-inset-top)); }
}

@media (min-width: 900px) {
  .deps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
