/* STATOX · светлая тема по брендбуку v9 (28.11, владелец: «не ночные блоки», наш стиль: cream + ink + acid + pink). Основа — тема B от GPT, цвета заменены на брендовые. Load AFTER every original stylesheet.
   Self-contained override; one warm dark section: .v3spot. */
:root {
  --theme-bg: #FBF8F1;
  --theme-paper: #FFFFFF;
  --theme-surface: #F1ECE2;
  --theme-ink: #26282E;
  --theme-body: #2E2C28;
  --theme-muted: #5C584F;
  --theme-line: #E2DCD0;
  --theme-control: #8A857B;
  --theme-accent: #F2FF00;
  --theme-accent-ink: #26282E;
  --theme-mark: #F2FF00;
  --theme-detail: #D6246E;
  --theme-price: #26282E;
  --theme-shadow: 0 18px 44px -30px rgb(19 19 19 / .28);
  --theme-glass: rgb(251 248 241 / .96);
  --theme-scene: linear-gradient(180deg, #FFFFFF 0%, #FBF8F1 100%);
  --theme-radius: 24px;
}
/* === Shared override contract (identical across A / B / C) ===
   Legacy sections set their own dark tokens, so reset at those boundaries too.
   !important is restricted to old inline styles and old !important rules. */
:root, .nav, .hero, .foot, .nf, .sbar, .hx, .v3spot, .shero, .final {
  --ink: var(--theme-ink); --night: var(--theme-surface);
  --cream: var(--theme-bg); --paper: var(--theme-paper);
  --bg: var(--theme-bg); --fg: var(--theme-ink);
  --fg-2: var(--theme-body); --fg-3: var(--theme-muted);
  --fg-ghost: var(--theme-muted);
  --acid: #F2FF00; --acid-ink: var(--theme-accent-ink);
  --card: var(--theme-paper); --card-line: var(--theme-line);
  --rule: var(--theme-line); --grid-line: transparent;
  --shadow: var(--theme-shadow); --photo-line: var(--theme-line);
  --ph-bg: var(--theme-surface); --field: var(--theme-paper);
  --field-line: var(--theme-control); --switch-off: var(--theme-surface);
  --accent: var(--theme-detail); --accent-line: var(--theme-control);
  --dot-glow: none; --pink: #FF69B4; --pink-line: var(--theme-line);
  --cta-bg: var(--theme-accent); --cta-fg: var(--theme-accent-ink);
  --cta-shadow: none; --cta-hover: var(--theme-shadow);
  --shine: transparent; --btn2-bg: transparent;
  --btn2-hover: var(--theme-surface); --btn2-fg: var(--theme-ink);
  --btn2-line: var(--theme-control); --blur: none;
  --mk-bg: var(--theme-mark); --mk-fg: var(--theme-ink);
  --ico: var(--theme-detail); --num: var(--theme-detail);
  --focus: var(--theme-ink); --error-text: #A32B25;
  --bub-in-bg: var(--theme-surface); --bub-in-fg: var(--theme-ink);
  --chk: var(--theme-mark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23464C49' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
  --haze: none; --haze-pink: none; --glow-pink: none;
  --r: var(--theme-radius); --r-lg: var(--theme-radius);
  --frame-r: var(--theme-radius); --frame-shadow: var(--theme-shadow);
  --frame-ring: inset 0 0 0 1px var(--theme-line);
  color: var(--theme-ink); color-scheme: light;
}
html { scroll-padding-top: 152px; }
body { background: var(--theme-bg); color: var(--theme-ink); }
body::before { opacity: .016; }
body, input, select, textarea { line-height: 1.55; }
main, .wrap, .shero-lay > *, .two-col > *, .quote-lay > *, .hx-l, .hx-r,
.tile, .tile-body, .pane, .card, .rule, .side, .region, .v3spot-in > * { min-width: 0; }
.wrap { width: min(100% - 48px, 1200px); }
.sec { padding-block: clamp(76px, 9vw, 144px); }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.h2 { font-size: clamp(36px, 6.7vw, 88px); line-height: 1.03; letter-spacing: -.04em; }
.h3 { line-height: 1.12; }
.lede { line-height: 1.65; }
.display { line-height: 1.02; }
.eyebrow { letter-spacing: .12em; }
.eyebrow::before, .hx-k::before, .a2 .k::before { background: var(--theme-detail); box-shadow: none; }
.grid-bg { background-image: none; }
.manifest .w, .manifest .mkw { animation: none; color: var(--theme-ink); }
.manifest { padding-block: clamp(56px, 7vw, 104px); }
.mk { border-radius: 3px; }
.thread { background: var(--theme-detail); height: 1px; }
::selection { background: #F2FF00; color: #2A2A2A; }

/* One button hierarchy on every page, including generated touch CTAs. */
button, .btn, .lnk, .other a, .cta-sms, .rw-meta a, .pause,
.stx-live a[style*="background"], #v3f .fa {
  min-height: 48px;
}
button { touch-action: manipulation; }
.btn { min-height: 54px; padding: 12px 26px; line-height: 1.25; box-shadow: none; }
.btn-acid, .btn-ink, .hx .btn-acid, .a2 .btn-acid,
.stx-live a[style*="background"] {
  background: var(--theme-accent) !important; color: var(--theme-accent-ink) !important;
  border: 1px solid var(--theme-control); box-shadow: none;
}
.btn-acid:hover, .btn-ink:hover, .hx .btn-acid:hover, .a2 .btn-acid:hover {
  background: var(--theme-accent) !important; box-shadow: var(--theme-shadow);
  transform: translateY(-1px);
}
.btn-acid::after { display: none; }
.btn-glass, .hx .cta3 .cta-photos {
  background: transparent; color: var(--theme-ink); border: 1px solid var(--theme-control);
  box-shadow: none; backdrop-filter: none;
}
.btn-glass:hover { background: var(--theme-surface); }
.skip { background: var(--theme-accent); color: var(--theme-accent-ink); }
.cta3 .cta-sms { min-height: 48px; opacity: 1; }
.thumbs button { width: 48px; height: 48px; background: var(--theme-paper); color: var(--theme-ink); border: 1px solid var(--theme-control); }
.btn-ink .dot { background: transparent; color: currentColor; }
[data-call] .ph, .lnk .ph { color: currentColor; }
.btn, .lnk, button, summary, .other a { scroll-margin-block: 152px 96px; }
:focus-visible, #v3h .fbtn:focus-visible, #v3f input:focus,
#v3d .ic:focus-visible, #v3d .m:focus-visible {
  outline: 2px solid var(--theme-ink) !important; outline-offset: 4px;
}
.pause, .rw-lb button, #v3s .x, #v3f .x { min-width: 48px; min-height: 48px; }

/* Header stays light in all legacy states: default / glass / lite. */
#v3h, #v3h.glass, #v3h.lite {
  top: 0; background: var(--theme-glass) !important; background-image: none !important;
  border-bottom: 1px solid var(--theme-line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
#v3h .r1 { padding: 12px 24px 4px; max-width: 1248px; min-height: 64px; }
#v3h .lg { min-height: 48px; }
#v3h .lg b, #v3h.lite .lg b, #v3h .st, #v3h.lite .st { color: var(--theme-ink); }
#v3h .lg i { background: var(--theme-mark); border-radius: 50%; width: 34px; height: 34px; }
#v3h .lg svg { stroke: var(--theme-ink); }
#v3h .lg s { color: var(--theme-muted); }
#v3h .st em { background: var(--theme-detail); box-shadow: none; animation: none; }
#v3h .fbtn { height: 48px; padding-inline: 18px; background: var(--theme-mark); color: var(--theme-ink); border: 1px solid var(--theme-line); }
#v3h .tabs { padding: 0 24px 8px; gap: clamp(16px, 3vw, 32px); }
#v3h .tabs a { display: inline-flex; align-items: center; min-height: 48px; color: var(--theme-muted); }
#v3h .tabs a.on, #v3h .tabs a:hover, #v3h.lite .tabs a.on, #v3h.lite .tabs a:hover {
  color: var(--theme-ink) !important; box-shadow: inset 0 -1px 0 var(--theme-ink);
}
#v3h.mini .r1 { padding-top: 8px; padding-bottom: 4px; }

/* Bright scene instead of a dark photographic veil; safe without media files. */
.hx {
  --hx-bg: var(--theme-bg); --hx-ink: var(--theme-ink);
  --hx-mute: var(--theme-muted); --hx-line: var(--theme-line);
  --hx-acid: var(--theme-detail); --hx-pink: var(--theme-detail);
  background: var(--theme-bg); color: var(--theme-ink);
}
.hx .hero-media { background: var(--theme-scene); }
.hx .hero-media img { opacity: .08; filter: saturate(.3) brightness(1.3); color: transparent; }
.hx-veil { background: linear-gradient(90deg, var(--theme-bg), transparent 75%); }
.hx-glow { background: radial-gradient(ellipse, rgb(255 255 255 / .65), transparent 66%); filter: none; }
.hx-big { color: var(--theme-ink); font-size: clamp(42px, 4.8vw, 72px); line-height: 1.04; }
.hx-big em { color: var(--theme-detail); }
.hx-big em::after { display: none; }
.hx-k, .hx-area { color: var(--theme-muted); }
.hx-lnk { color: var(--theme-ink); border-color: var(--theme-control); }
.hx-steps li { opacity: 1; transform: none; }
.hx-steps b, .hx-steps li.on b { background: var(--theme-paper); border-color: var(--theme-control); color: var(--theme-ink); }
.hx-steps li.cur b { background: var(--theme-mark); box-shadow: 0 0 0 4px var(--theme-surface); }
.hx-steps span { font-size: 17px; line-height: 1.4; color: var(--theme-ink); }
.hx-steps small { color: var(--theme-muted); }
.hx-ip {
  background: var(--theme-paper); border: 1px solid var(--theme-control);
  box-shadow: 0 0 0 5px var(--theme-surface), 0 24px 64px -32px rgb(55 54 43 / .25) !important;
}
.hx-sc { background: var(--theme-paper) !important; }
.hx-sc::after { background: none !important; }
.hx-isl { background: var(--theme-ink); }
.hx-sb, .hx-nv b { color: var(--theme-ink); }
.hx-bat { border-color: var(--theme-muted); }
.hx-bat::after { background: var(--theme-ink); }
.hx-nv { background: var(--theme-paper); border-color: var(--theme-line); }
.hx-nv small, .hx-ts, .hx-tech small, .hx-hint, .v5-rec { color: var(--theme-muted); }
.hx-nv svg circle { fill: var(--theme-mark); }
.hx-nv svg path { fill: var(--theme-ink); }
.hx-m, .hx-tech, .v5m { color: var(--theme-ink); }
.hx-in, .hx-typ, .v5-i { background: var(--theme-surface); color: var(--theme-ink); }
.hx-out, .v5-o { background: var(--theme-mark); color: var(--theme-ink); }
.hx-in strong { color: var(--theme-detail); font-family: var(--fm); }
.hx-tech { background: var(--theme-surface); border-color: var(--theme-line); }
.hx-tech b, .hx-tech ul { color: var(--theme-ink); }
.hx-tech li::before { color: var(--theme-detail); }
.hx-pf { background: var(--theme-mark); color: var(--theme-ink); box-shadow: none; }
.hx-call { background: var(--theme-mark); color: var(--theme-ink); }
.hx-bar span { border-color: var(--theme-control); color: var(--theme-muted); }
.hx-bar b { background: var(--theme-surface); color: var(--theme-ink); }
.v5-tag { background: var(--theme-paper); color: var(--theme-muted); border-color: var(--theme-line); }
.v6-pics { background: var(--theme-mark) !important; }
.v6-pics em, .v6-pics svg { color: var(--theme-ink); stroke: currentColor; }
.v5-card, .v6-card, .v6-price { background: var(--theme-price) !important; color: var(--theme-ink) !important; }
.v6-price small, .v6-price span, .v6-tech span { color: var(--theme-muted); }
.v6-price b { font-family: var(--fm); font-weight: 500; }
.v6-price i, .v6-ava { background: var(--theme-mark); color: var(--theme-ink); box-shadow: none; }
.v6-safe li { color: var(--theme-ink); }
.v6-safe li::before { color: var(--theme-detail); }
.v6-way { background: var(--theme-surface) !important; }
.v6-way b, .v6-way span { color: var(--theme-ink); }
.v3offer, .v3offer-s {
  background: var(--theme-paper); border: 1px solid var(--theme-line); color: var(--theme-body);
  border-radius: 999px; padding: 8px 14px; line-height: 1.5;
}
.v3offer b { color: var(--theme-ink); }

/* Service and area pages receive the same art direction as the homepage. */
.shero { padding-top: 156px; background: var(--theme-scene); border-bottom: 1px solid var(--theme-line); }
.shero::before { background: none; }
.shero .display.long { font-size: clamp(40px, 6vw, 82px); }
.shero h1.area-name { font-size: clamp(56px, 8vw, 114px); line-height: 1.04; }
.shero-img, .tile-media, .gal figure, .card .cm, .ai-card .ai-img, .trust-art {
  background: var(--theme-scene); box-shadow: var(--theme-shadow);
}
.shero-img .area-tag, .shot-bub { background: var(--theme-paper); color: var(--theme-ink); border: 1px solid var(--theme-line); box-shadow: var(--theme-shadow); }
.shero-img .area-tag::before { background: var(--theme-detail); box-shadow: none; }
.tile, .pane, .card, .rule, .side, .qa, .fcard, .region, .ai-card, .near-list a, .aud div {
  box-shadow: var(--theme-shadow); border-color: var(--theme-line);
}
.tile-body { padding: 24px; }
.tile.feat .badge { background: var(--theme-mark); color: var(--theme-ink); border: 1px solid var(--theme-line); }
.bento { gap: 18px; }
#services .tile { border-radius: var(--theme-radius) !important; }
.tile .go { color: var(--theme-detail); }
.bento:has(.tile:hover) .tile:not(:hover) { opacity: 1; }
.step { position: relative; top: auto; box-shadow: var(--theme-shadow); }
.step .num { color: var(--theme-detail); -webkit-text-stroke: 0; font-weight: 800; }
.areas-box > summary { background: var(--theme-surface); color: var(--theme-ink); border: 1px solid var(--theme-control); }
.areas-box > summary i { color: var(--theme-detail); }
.qa summary .pm { background: var(--theme-surface); border: 1px solid var(--theme-control); }
.qa summary .pm::before, .qa summary .pm::after { background: var(--theme-ink); }
.qa[open] summary .pm { background: var(--theme-mark); }
.qa[open] summary .pm::before, .qa[open] summary .pm::after { background: var(--theme-ink); }
.v3pr, .rw-tag, #v3f .fi small {
  background: var(--theme-price); color: var(--theme-ink) !important;
  border: 1px solid var(--theme-line); font-family: var(--fm); font-weight: 500;
}
.v3pr { padding: 6px 10px; line-height: 1.35; }
body .a2 .st { border-radius: var(--theme-radius); background: var(--theme-paper); border-color: var(--theme-line); }
body .a2 .k, body .a2 .src, body .a2 .st span { opacity: 1; color: var(--theme-muted); }
body .a2 h2 em { background: var(--theme-mark); color: var(--theme-ink); }
body .a2 .vid { border-radius: var(--theme-radius); }
body .a2 .vid, .v3spot-v video, .stx-live div[style*="background:#111"] {
  background: var(--theme-surface) !important; box-shadow: var(--theme-shadow); border: 1px solid var(--theme-line);
}
body .a2 .vid figcaption { background: var(--theme-paper); color: var(--theme-ink); border: 1px solid var(--theme-line); }
.v3spot { background: var(--theme-surface); background-image: none; color: var(--theme-ink); }
.v3spot .h2 { color: var(--theme-ink); }
.v3spot .lede { color: var(--theme-body); }
.v3spot-v video { border-color: var(--theme-line); }
.snap-sec > .wrap > div {
  background: var(--theme-surface) !important; color: var(--theme-ink) !important;
  border: 1px solid var(--theme-line); box-shadow: none;
}
.snap-sec #snap-h { color: var(--theme-ink) !important; }
.snap-sec p[style*="color"], .snap-sec a[style*="color"] { color: var(--theme-body) !important; }
.snap-sec span[style*="background"] { background: var(--theme-mark) !important; color: var(--theme-ink) !important; }
.snap-sec form { align-items: end; }
.snap-sec label, .snap-sec input { min-width: 0; max-width: 100%; }
.snap-sec input { background: var(--theme-paper); color: var(--theme-ink); border: 1px solid var(--theme-control) !important; }
.stx-live { background: var(--theme-surface) !important; }
.stx-live figure, section:has(#greviews-h) figure {
  background: var(--theme-paper) !important; border: 1px solid var(--theme-line); box-shadow: var(--theme-shadow) !important;
}
.stx-live blockquote, section:has(#greviews-h) blockquote { color: var(--theme-ink) !important; }
.stx-live figcaption, .stx-live p[style*="color"], section:has(#greviews-h) figcaption { color: var(--theme-muted) !important; }
.stx-live figure > div, section:has(#greviews-h) figure > div { color: #5C584F !important; }
.good { background: var(--theme-surface); border-color: var(--theme-line); }
.good h3 { color: var(--theme-detail); }
.good li::before { background-color: var(--theme-mark); }
.in { background-color: var(--theme-paper); }
.more-opt summary { opacity: 1; }
.final { background: var(--theme-surface); border-top: 1px solid var(--theme-line); padding-block: clamp(88px, 11vw, 168px); }
.final .display { font-size: clamp(44px, 8vw, 112px); line-height: 1.04; }
.foot { margin: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--theme-line); background: var(--theme-bg); }
.rw-lb { background: var(--theme-glass); color: var(--theme-ink); }
.rw-lb .cp { color: var(--theme-body); }
.rw-lb button { background: var(--theme-paper); color: var(--theme-ink); border: 1px solid var(--theme-control); }

/* Maya: light dock, round avatar, visible M if the supplied photo is missing.
   The original anti-collision, mini, left, intro and hide states remain owned by v3.js. */
#v3d {
  background: var(--theme-glass) !important; border: 1px solid var(--theme-control) !important;
  box-shadow: 0 8px 32px -16px rgb(55 54 43 / .22) !important;
}
#v3d .m { min-height: 48px; }
#v3d .av, #v3s .card .who span.a {
  background-color: var(--theme-mark) !important;
  color: var(--theme-ink) !important; font-size: 20px !important;
  box-shadow: 0 0 0 1px var(--theme-control) !important;
}
#v3d .av::after { border-color: var(--theme-paper) !important; background: #3BD16F !important; }
#v3d .t1 { color: var(--theme-muted) !important; }
#v3d .t2 { color: var(--theme-ink); }
#v3d .ic:not(.y) { background: var(--theme-paper) !important; border-color: var(--theme-control) !important; }
#v3d .ic.y { background: var(--theme-mark); border: 1px solid var(--theme-control); }
#v3d .ic svg { stroke: var(--theme-ink); }
#v3d .typ i { background: var(--theme-ink); opacity: 1; }
#v3s .sh, #v3f .fsh { background: rgb(232 229 219 / .58) !important; }
#v3s .card, #v3f .fcard {
  background: var(--theme-glass) !important; background-image: none !important;
  color: var(--theme-ink) !important; border: 1px solid var(--theme-line) !important;
  box-shadow: var(--theme-shadow) !important;
}
#v3s .card { max-height: calc(100dvh - 24px); overflow-y: auto; }
#v3s h3, #v3s .card .who h3, #v3s h3 span { color: var(--theme-ink) !important; }
#v3s .sub, #v3s .bt small, #v3f .flab { color: var(--theme-muted) !important; }
#v3s .bt, #v3s .ctx, #v3f .fi, #v3f .fa, #v3f input, #v3s .x, #v3f .x {
  background: var(--theme-paper) !important; color: var(--theme-ink) !important;
  border: 1px solid var(--theme-control) !important; box-shadow: none;
}
#v3s .bt { min-height: 56px !important; padding-block: 12px; }
#v3s .bt.y { background: var(--theme-accent) !important; border-color: var(--theme-control) !important; color: var(--theme-accent-ink) !important; }
#v3s .bt.y small { color: var(--theme-accent-ink) !important; }
#v3s .x { width: 48px; height: 48px; top: 12px; right: 12px; }
#v3s .card .who { padding-right: 54px; }
#v3f .fhead { background: var(--theme-glass) !important; }
#v3f input { min-width: 0; }
#v3f input::placeholder { color: var(--theme-muted); }
#v3f .x { flex: 0 0 48px; }
#v3f .flab { margin-top: 20px; }
#v3f .fa { display: inline-flex; align-items: center; }
#v3f .fnone { color: var(--theme-ink) !important; }

/* The taller 48px header targets need a stable offset; never let its mini state
   resize the hero. Small screens get natural flow rather than a clipped phone. */
.hx[data-home-layout] { --v3top: 144px; }
@media (min-width: 900px) {
  .hx-lay { padding: 160px 36px 72px; grid-template-columns: minmax(0, 1fr) auto minmax(0, .75fr); gap: clamp(24px, 3.4vw, 56px); }
  .hx-ip { width: 296px; height: 610px; }
  .hx-steps li { gap: 12px; }
}
@media (max-width: 899px) {
  .wrap { width: calc(100% - 40px); }
  .sec { padding-block: 72px; }
  .hx.v6 .hx-lay, .hx.v6[data-home-layout] .hx-lay {
    display: grid !important; grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: max-content max-content minmax(240px, 1fr);
    padding: 144px 20px 24px !important; gap: 16px !important;
    height: var(--v3vh, 100svh) !important;
  }
  .hx.v6 .hx-big { font-size: clamp(29px, 8vw, 44px) !important; line-height: 1.08 !important; margin-bottom: 16px !important; }
  .hx.v6 .hx-k { margin: 0 0 10px !important; font-size: 11px; line-height: 1.5; letter-spacing: .11em; }
  .hx.v6 .hx-cta .btn { min-height: 48px !important; white-space: normal; }
  .hx.v6 .v3offer { margin-top: 12px !important; font-size: 11px !important; }
  .hx.v6 .hx-steps { transform: none; }
  .hx.v6 .hx-ip, .hx.v6[data-home-layout] .hx-ip {
    min-height: 240px; max-height: 600px !important; height: 100% !important;
    width: auto !important; max-width: 100%; margin: 0 auto !important;
    aspect-ratio: 268 / 552 !important;
  }
  .hx.v6 .hx-sc { border-radius: 32px; }
  #services .bento { gap: 14px !important; }
  #services .tile-body { padding: 14px !important; }
  #services .tile-body h3 { font-size: 17px !important; }
  #services .tile .go { font-size: 11px !important; }
  #how .step { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  #how .step .num { grid-row: auto; }
  .shero { padding-top: 148px; }
  .shero-lay { gap: 36px; }
  .quote-aside { position: static; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 599px) {
  #v3h .r1 { padding-inline: 20px; }
  #v3h .tabs { padding-inline: 20px; gap: 22px; }
  .cta-row { gap: 12px; }
  .cta-row .btn { max-width: 100%; }
  .shero .cta-row .btn { flex: 1 1 100%; }
  .snap-sec form { display: grid !important; grid-template-columns: minmax(0, 1fr); }
  .snap-sec input, .snap-sec .btn { width: 100%; }
  .qa summary { padding: 18px 16px; gap: 8px; grid-template-columns: 22px minmax(0, 1fr) 28px; }
  #v3d .t2 { font-size: 13px; }
  #v3d .t1 { font-size: 11px !important; }
  #v3s .bt { flex-wrap: wrap; column-gap: 10px; row-gap: 4px; font-size: 14px; padding: 12px 16px; }
  #v3s .bt small { flex-basis: 100%; margin-left: 32px; }
  #v3s .bt.y { font-size: 15px !important; }
  #v3s .card .who { align-items: start; }
  .stx-live { margin-inline: 12px !important; padding: 20px !important; }
}
@media (max-width: 899px) and (max-height: 760px) {
  .hx.v6 { height: auto !important; }
  .hx.v6 .hx-stick { position: relative !important; height: auto !important; min-height: 100svh !important; }
  .hx.v6 .hx-lay, .hx.v6[data-home-layout] .hx-lay { height: auto !important; min-height: 100svh; grid-template-rows: max-content max-content max-content; }
  .hx.v6 .hx-ip, .hx.v6[data-home-layout] .hx-ip { height: 320px !important; min-height: 320px; }
  .hx.v6 .hx-r { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hx.v6 { height: auto !important; }
  .hx.v6 .hx-stick { position: relative !important; height: auto !important; }
  .hx.v6 .hx-lay, .hx.v6[data-home-layout] .hx-lay { height: auto !important; grid-template-rows: max-content max-content max-content; }
  .hx.v6 .hx-ip, .hx.v6[data-home-layout] .hx-ip { height: 560px !important; min-height: 560px; }
  .hx-ms.v6m { overflow-y: auto; }
  .hx-ms.v6m > .v5m.on { transform: none; }
  .reveal, .v3up, .mask, .tile, .step { opacity: 1; transform: none; }
}

/* === B / Art direction: plaster, oak, long afternoon sun === */
body::before { opacity: .026; }
.hx .hero-media::before {
  content: ""; position: absolute; right: 0; top: 22%; bottom: 0; width: 18%;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgb(147 107 63 / .16) 0 1px,
    rgb(215 183 142 / .30) 1px 14px, rgb(170 128 83 / .14) 14px 16px);
}
.hx .hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, transparent 45%, rgb(255 253 230 / .58) 45% 53%, transparent 53% 64%, rgb(255 253 230 / .38) 64% 71%, transparent 71%),
    linear-gradient(0deg, rgb(175 132 81 / .10) 0 15%, transparent 15%);
}
.hx-veil { background: linear-gradient(90deg, #FBF8F1, rgb(246 240 229 / .64) 42%, transparent 88%); }
.hx-ip { border-color: #D9D3C6; }
.shero-img { border: 1px solid #E2DCD0; }
.tile-media, .card .cm, .ai-card .ai-img { background: linear-gradient(135deg, #F1ECE2, #E2DCD0); }
.pane, .fcard, .region { background: #FFFFFF; }
.v3pr, .rw-tag { border-color: #E2DCD0; }
/* 28.11: жёлтый — главная кнопка, маркер, логотип; пилюли цен — ink + acid (брендбук v9) */
.btn-ink, .stx-live a[style*="background"], #v3s .bt.y {
  background: var(--theme-mark) !important; color: var(--theme-ink) !important;
}
/* 28.11 владелец: «не ночные блоки» — блок ролика «5 problems» тоже светлый (см. правило .v3spot выше) */
.v3spot .btn { color: #26282E !important; }
.snap-sec > .wrap > div {
  background: var(--theme-surface) !important; color: var(--theme-ink) !important;
  border: 1px solid var(--theme-line); box-shadow: none;
}
.snap-sec #snap-h { color: var(--theme-ink) !important; }
.snap-sec p[style*="color"], .snap-sec a[style*="color"] { color: var(--theme-body) !important; }
.snap-sec span[style*="background"] { background: var(--theme-mark) !important; color: var(--theme-ink) !important; }
.snap-sec form { align-items: end; }
.snap-sec label, .snap-sec input { min-width: 0; max-width: 100%; }
.snap-sec input { background: var(--theme-paper); color: var(--theme-ink); border: 1px solid var(--theme-control) !important; }
.stx-live { background: var(--theme-surface) !important; }
.stx-live figure, section:has(#greviews-h) figure {
  background: var(--theme-paper) !important; border: 1px solid var(--theme-line); box-shadow: var(--theme-shadow) !important;
}
.stx-live blockquote, section:has(#greviews-h) blockquote { color: var(--theme-ink) !important; }
.stx-live figcaption, .stx-live p[style*="color"], section:has(#greviews-h) figcaption { color: var(--theme-muted) !important; }
.stx-live figure > div, section:has(#greviews-h) figure > div { color: #5C584F !important; }
.good { background: var(--theme-surface); border-color: var(--theme-line); }
.good h3 { color: var(--theme-detail); }
.good li::before { background-color: var(--theme-mark); }
.in { background-color: var(--theme-paper); }
.more-opt summary { opacity: 1; }
.final { background: var(--theme-surface); border-top: 1px solid var(--theme-line); padding-block: clamp(88px, 11vw, 168px); }
.final .display { font-size: clamp(44px, 8vw, 112px); line-height: 1.04; }
.foot { margin: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--theme-line); background: var(--theme-bg); }
.rw-lb { background: var(--theme-glass); color: var(--theme-ink); }
.rw-lb .cp { color: var(--theme-body); }
.rw-lb button { background: var(--theme-paper); color: var(--theme-ink); border: 1px solid var(--theme-control); }

/* Maya: light dock, round avatar, visible M if the supplied photo is missing.
   The original anti-collision, mini, left, intro and hide states remain owned by v3.js. */
#v3d {
  background: var(--theme-glass) !important; border: 1px solid var(--theme-control) !important;
  box-shadow: 0 8px 32px -16px rgb(55 54 43 / .22) !important;
}
#v3d .m { min-height: 48px; }
#v3d .av, #v3s .card .who span.a {
  background-color: var(--theme-mark) !important;
  color: var(--theme-ink) !important; font-size: 20px !important;
  box-shadow: 0 0 0 1px var(--theme-control) !important;
}
#v3d .av::after { border-color: var(--theme-paper) !important; background: #3BD16F !important; }
#v3d .t1 { color: var(--theme-muted) !important; }
#v3d .t2 { color: var(--theme-ink); }
#v3d .ic:not(.y) { background: var(--theme-paper) !important; border-color: var(--theme-control) !important; }
#v3d .ic.y { background: var(--theme-mark); border: 1px solid var(--theme-control); }
#v3d .ic svg { stroke: var(--theme-ink); }
#v3d .typ i { background: var(--theme-ink); opacity: 1; }
#v3s .sh, #v3f .fsh { background: rgb(232 229 219 / .58) !important; }
#v3s .card, #v3f .fcard {
  background: var(--theme-glass) !important; background-image: none !important;
  color: var(--theme-ink) !important; border: 1px solid var(--theme-line) !important;
  box-shadow: var(--theme-shadow) !important;
}
#v3s .card { max-height: calc(100dvh - 24px); overflow-y: auto; }
#v3s h3, #v3s .card .who h3, #v3s h3 span { color: var(--theme-ink) !important; }
#v3s .sub, #v3s .bt small, #v3f .flab { color: var(--theme-muted) !important; }
#v3s .bt, #v3s .ctx, #v3f .fi, #v3f .fa, #v3f input, #v3s .x, #v3f .x {
  background: var(--theme-paper) !important; color: var(--theme-ink) !important;
  border: 1px solid var(--theme-control) !important; box-shadow: none;
}
#v3s .bt { min-height: 56px !important; padding-block: 12px; }
#v3s .bt.y { background: var(--theme-accent) !important; border-color: var(--theme-control) !important; color: var(--theme-accent-ink) !important; }
#v3s .bt.y small { color: var(--theme-accent-ink) !important; }
#v3s .x { width: 48px; height: 48px; top: 12px; right: 12px; }
#v3s .card .who { padding-right: 54px; }
#v3f .fhead { background: var(--theme-glass) !important; }
#v3f input { min-width: 0; }
#v3f input::placeholder { color: var(--theme-muted); }
#v3f .x { flex: 0 0 48px; }
#v3f .flab { margin-top: 20px; }
#v3f .fa { display: inline-flex; align-items: center; }
#v3f .fnone { color: var(--theme-ink) !important; }

/* The taller 48px header targets need a stable offset; never let its mini state
   resize the hero. Small screens get natural flow rather than a clipped phone. */
.hx[data-home-layout] { --v3top: 144px; }
@media (min-width: 900px) {
  .hx-lay { padding: 160px 36px 72px; grid-template-columns: minmax(0, 1fr) auto minmax(0, .75fr); gap: clamp(24px, 3.4vw, 56px); }
  .hx-ip { width: 296px; height: 610px; }
  .hx-steps li { gap: 12px; }
}
@media (max-width: 899px) {
  .wrap { width: calc(100% - 40px); }
  .sec { padding-block: 72px; }
  .hx.v6 .hx-lay, .hx.v6[data-home-layout] .hx-lay {
    display: grid !important; grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: max-content max-content minmax(240px, 1fr);
    padding: 144px 20px 24px !important; gap: 16px !important;
    height: var(--v3vh, 100svh) !important;
  }
  .hx.v6 .hx-big { font-size: clamp(29px, 8vw, 44px) !important; line-height: 1.08 !important; margin-bottom: 16px !important; }
  .hx.v6 .hx-k { margin: 0 0 10px !important; font-size: 11px; line-height: 1.5; letter-spacing: .11em; }
  .hx.v6 .hx-cta .btn { min-height: 48px !important; white-space: normal; }
  .hx.v6 .v3offer { margin-top: 12px !important; font-size: 11px !important; }
  .hx.v6 .hx-steps { transform: none; }
  .hx.v6 .hx-ip, .hx.v6[data-home-layout] .hx-ip {
    min-height: 240px; max-height: 600px !important; height: 100% !important;
    width: auto !important; max-width: 100%; margin: 0 auto !important;
    aspect-ratio: 268 / 552 !important;
  }
  .hx.v6 .hx-sc { border-radius: 32px; }
  #services .bento { gap: 14px !important; }
  #services .tile-body { padding: 14px !important; }
  #services .tile-body h3 { font-size: 17px !important; }
  #services .tile .go { font-size: 11px !important; }
  #how .step { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  #how .step .num { grid-row: auto; }
  .shero { padding-top: 148px; }
  .shero-lay { gap: 36px; }
  .quote-aside { position: static; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 599px) {
  #v3h .r1 { padding-inline: 20px; }
  #v3h .tabs { padding-inline: 20px; gap: 22px; }
  .cta-row { gap: 12px; }
  .cta-row .btn { max-width: 100%; }
  .shero .cta-row .btn { flex: 1 1 100%; }
  .snap-sec form { display: grid !important; grid-template-columns: minmax(0, 1fr); }
  .snap-sec input, .snap-sec .btn { width: 100%; }
  .qa summary { padding: 18px 16px; gap: 8px; grid-template-columns: 22px minmax(0, 1fr) 28px; }
  #v3d .t2 { font-size: 13px; }
  #v3d .t1 { font-size: 11px !important; }
  #v3s .bt { flex-wrap: wrap; column-gap: 10px; row-gap: 4px; font-size: 14px; padding: 12px 16px; }
  #v3s .bt small { flex-basis: 100%; margin-left: 32px; }
  #v3s .bt.y { font-size: 15px !important; }
  #v3s .card .who { align-items: start; }
  .stx-live { margin-inline: 12px !important; padding: 20px !important; }
}
@media (max-width: 899px) and (max-height: 760px) {
  .hx.v6 { height: auto !important; }
  .hx.v6 .hx-stick { position: relative !important; height: auto !important; min-height: 100svh !important; }
  .hx.v6 .hx-lay, .hx.v6[data-home-layout] .hx-lay { height: auto !important; min-height: 100svh; grid-template-rows: max-content max-content max-content; }
  .hx.v6 .hx-ip, .hx.v6[data-home-layout] .hx-ip { height: 320px !important; min-height: 320px; }
  .hx.v6 .hx-r { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hx.v6 { height: auto !important; }
  .hx.v6 .hx-stick { position: relative !important; height: auto !important; }
  .hx.v6 .hx-lay, .hx.v6[data-home-layout] .hx-lay { height: auto !important; grid-template-rows: max-content max-content max-content; }
  .hx.v6 .hx-ip, .hx.v6[data-home-layout] .hx-ip { height: 560px !important; min-height: 560px; }
  .hx-ms.v6m { overflow-y: auto; }
  .hx-ms.v6m > .v5m.on { transform: none; }
  .reveal, .v3up, .mask, .tile, .step { opacity: 1; transform: none; }
}

/* === B / Art direction: plaster, oak, long afternoon sun === */
body::before { opacity: .026; }
.hx .hero-media::before {
  content: ""; position: absolute; right: 0; top: 22%; bottom: 0; width: 18%;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgb(147 107 63 / .16) 0 1px,
    rgb(215 183 142 / .30) 1px 14px, rgb(170 128 83 / .14) 14px 16px);
}
.hx .hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, transparent 45%, rgb(255 253 230 / .58) 45% 53%, transparent 53% 64%, rgb(255 253 230 / .38) 64% 71%, transparent 71%),
    linear-gradient(0deg, rgb(175 132 81 / .10) 0 15%, transparent 15%);
}
.hx-veil { background: linear-gradient(90deg, #FBF8F1, rgb(246 240 229 / .64) 42%, transparent 88%); }
.hx-ip { border-color: #D9D3C6; }
.shero-img { border: 1px solid #E2DCD0; }
.tile-media, .card .cm, .ai-card .ai-img { background: linear-gradient(135deg, #F1ECE2, #E2DCD0); }
.pane, .fcard, .region { background: #FFFFFF; }
.v3pr, .rw-tag { border-color: #E2DCD0; }
/* 28.11: жёлтый — главная кнопка, маркер, логотип; пилюли цен — ink + acid (брендбук v9) */
.btn-ink, .stx-live a[style*="background"], #v3s .bt.y {
  background: var(--theme-mark) !important; color: var(--theme-ink) !important;
}
.v3spot {
  --theme-ink: #FFFFFF; --theme-body: #F5F1E8; --theme-muted: #F1ECE2;
  --theme-mark: #5C584F; --theme-detail: #FFFFFF; --theme-control: #E2DCD0;
  background: #2E2C28; color: #FFFFFF; border-block: 1px solid #2E2C28;
}
.v3spot .mk { color: #FFFFFF; }
.v3spot .btn { color: #26282E !important; }
.v3spot .btn-glass { background: transparent; color: #FFFFFF !important; }
.v3spot-v video { background: #5C584F !important; border-color: #E2DCD0; box-shadow: none; }
.snap-sec > .wrap > div { border-top: 3px solid #F2FF00; }
.final { background: linear-gradient(118deg, #F1ECE2, #FBF8F1 82%); }
.foot { background: #F3EFE6; }
@media (min-width: 900px) {
  .hx-r { padding: 24px; background: #FBF8F1; border: 1px solid #E2DCD0; border-radius: 24px; }
}

/* 28.11 брендбук v9: ценники — пилюля DM Mono, ink-фон + acid-текст; розовая точка «сейчас» */
.v3pr { background: #26282E !important; color: #F2FF00 !important; border-color: #26282E !important; font-family: "DM Mono", monospace !important; font-weight: 700 !important; }
.eyebrow::before, .hx-k::before, #v3h .st em { background: #FF69B4 !important; }
/* 28.11: карточка цены в телефоне — белая, ценник жёлтым; блок ролика полностью светлый */
.hx .v6-price, .hx .v5-i.v6-price { background: #FFFFFF !important; color: #26282E !important; border: 1px solid #E2DCD0 !important; }
.hx .v6-price b, .hx .v6-price small, .hx .v6-price span { color: #26282E !important; }
section.v3spot, .v3spot .wrap, .v3spot-in, .v3spot-v { background-color: transparent !important; }
section.v3spot { background: #F1ECE2 !important; color: #26282E !important; }
section.v3spot, section.v3spot .h2, section.v3spot h2, section.v3spot .lede, section.v3spot p:not(.mk) { color: #26282E !important; }
section.v3spot .mk { background: #F2FF00 !important; color: #26282E !important; }
section.v3spot .btn-glass { background: #FFFFFF !important; color: #26282E !important; border: 1px solid #26282E !important; }
section.v3spot .cta-sms, section.v3spot a:not(.btn) { color: #26282E !important; }
/* 28.11: пузырь «Booked ✓ Thu, 12–2 PM» был тёмным и пустым → жёлтая пилюля с графитовым текстом */
.hx .v6-card, .hx .v5m.v6-card { background: #F2FF00 !important; color: #26282E !important; font-weight: 700 !important; border: 0 !important; }
.hx .v6-way { background: #FFFFFF !important; color: #26282E !important; border: 1px solid #E2DCD0 !important; }
.hx .v6-tech { color: #26282E !important; }
/* 28.11 владелец: «картинка позади — если можно, использовать». Фото гостиной LA видно по-настоящему:
   сверху мягкий кремовый туман под заголовком (читаемость), ниже — живое фото за телефоном. */
.hx .hero-media img { opacity: 1 !important; filter: saturate(1.05) brightness(1.02) contrast(1.02) !important; }
.hx .hero-media::before, .hx .hero-media::after { opacity: 0 !important; }
.hx-veil { background: linear-gradient(180deg, rgb(251 248 241 / .94) 0%, rgb(251 248 241 / .86) 30%, rgb(251 248 241 / .35) 52%, rgb(251 248 241 / .08) 72%, rgb(251 248 241 / .55) 100%) !important; }
@media (min-width: 900px) {
  .hx-veil { background: linear-gradient(90deg, rgb(251 248 241 / .95) 0%, rgb(251 248 241 / .8) 34%, rgb(251 248 241 / .15) 62%, transparent 100%) !important; }
}
/* 28.11 v10: блок «In Los Angeles?» в статьях был тёмным → светлый: мягкий жёлтый, графитовый текст */
.blog-la { background: #FFFFFF !important; color: #26282E !important; border: 1px solid rgb(190 200 0 / .55) !important; box-shadow: 0 1px 2px rgb(38 40 46 / .06), 0 18px 40px -26px rgb(38 40 46 / .3) !important; background-image: linear-gradient(135deg, #F7FFA8 0%, #FFFFFF 60%) !important; }
.blog-la .blog-la__k { color: #D6246E !important; }
.blog-la .blog-la__t, .blog-la .blog-la__t b { color: #26282E !important; }
.blog-la .blog-la__l { color: #26282E !important; }
.blog-la .blog-la__b { background: #F2FF00 !important; color: #26282E !important; }

/* 28.11 владелец (iPhone, страница окон): блок стартовой цены шёл 4 узкими колонками — теперь карточка столбиком на всех страницах услуг */
section.note[data-seo-price] { display: block !important; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid rgb(38 40 46 / .08); box-shadow: 0 10px 28px -18px rgb(38 40 46 / .35); }
section.note[data-seo-price]::before { display: none !important; }
section.note[data-seo-price] > p { margin: 0 0 8px; }
section.note[data-seo-price] > .btn { margin-top: 6px; width: 100%; justify-content: center; white-space: normal; }
main { padding-bottom: 96px; }

/* 28.11 аудит сайта (192 загрузки, 4 экрана) — правки */
/* страница не ездит вбок: картинка героя и всё, что шире экрана */
html, body { overflow-x: clip; max-width: 100%; }
.hero-media, .hero-media img, .hx .hero-media img { max-width: 100vw; }
/* списки с галочкой и ссылкой внутри шли узкими колонками (окна, about, cost) */
.checks li, ul.checks li { display: grid !important; grid-template-columns: 18px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.checks li > *:not(:first-child) { grid-column: 2; }
.checks li a { display: inline; white-space: normal; }
.note:not([data-seo-price]) { flex-wrap: wrap; }
.note:not([data-seo-price]) > * { min-width: 0; flex: 1 1 220px; }
/* появление по прокрутке: содержимое видно всегда (на iPhone блоки оставались невидимыми) */
.reveal, .mask, .mask img, .tile, .step, .fcard, .region, .rise { opacity: 1 !important; clip-path: none !important; }
@supports (animation-timeline: view()) { .reveal, .mask, .mask img, .tile, .step { animation: none !important; transform: none !important; } }
/* блог: тёмные блоки и чёрная шапка таблиц → светлая тема; таблицы прокручиваются внутри себя; ссылки-кнопки под палец */
article table, .post table, main table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; }
article thead th, .post thead th, main table thead th, main table th { background: #F7FFA8 !important; color: #26282E !important; }
article [style*="background:#0"], article [style*="background: #0"], article [style*="background:#1"], article [style*="background: #1"], main .dark, main .night, main .callout-dark { background: #fff !important; color: #26282E !important; border: 1px solid rgb(38 40 46 / .1); }
article [style*="background:#0"] *, article [style*="background:#1"] *, main .dark *, main .night * { color: #26282E !important; }
article a.btn, .post a.btn, main article p > a[class*="btn"] { min-height: 44px; display: inline-flex; align-items: center; }
/* 28.11: блок «Can you spot all 6 problems?» скрыт на 95 страницах — его ролик был черновиком с пометкой DRAFT и отсутствовал (пустой прямоугольник).
   Вернём блок с новым 3D-роликом «по слоям» (цепочка) после согласования владельцем. */
section.v3spot { display: none !important; }
