/* =========================================================
   QAZ CLEAN HOME — Выездная химчистка мебели и клининг (Астана)
   Design system: Architectural Limestone (#F8F7F4) + Deep Forest (#123733)
   + Fresh Botanical Teal (#1D6E64) + Warm Bouclé Sand (#DCCBB5)
   Typography: Lora (editorial serif headings) + Manrope (UI/body)
   Mobile-first priority · Silky GPU-safe motion · Zero 3D
   ========================================================= */

:root {
  --bg: #F8F7F4;
  --bg-sage: #EDF3F0;
  --bg-warm: #F2EEE7;
  --surface: #FFFFFF;
  --forest: #123733;
  --forest-2: #194842;
  --teal: #1D6E64;
  --teal-hover: #15564E;
  --teal-soft: #E3F1EE;
  --sand: #DCCBB5;
  --sand-soft: #F7F1E8;
  --cobalt-badge: #0047B3;
  --ink: #132220;
  --ink-2: #3F524E;
  --muted: #657874;
  --line: rgba(18, 55, 51, 0.1);
  --line-strong: rgba(29, 110, 100, 0.28);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-xs: 0 2px 8px rgba(18, 55, 51, 0.05);
  --shadow-sm: 0 10px 26px rgba(18, 55, 51, 0.07);
  --shadow-md: 0 20px 44px rgba(18, 55, 51, 0.11);
  --shadow-lg: 0 30px 66px rgba(18, 55, 51, 0.16);
  --shadow-teal: 0 12px 28px rgba(29, 110, 100, 0.25);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.56;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .serif-head {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--forest), var(--teal), #8FB9A8);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 120;
  pointer-events: none;
  will-change: transform;
}

/* =========================================================
   HEADER & MOBILE DRAWER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 10px 0;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 8px 12px 8px 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(18, 55, 51, 0.09);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(18, 55, 51, 0.06);
  transition: box-shadow 260ms var(--ease-out), background 260ms var(--ease-out);
}

.site-header.scrolled .header-bar {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(18, 55, 51, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 200ms var(--ease-out);
}

.brand:active .brand-mark { transform: scale(0.95); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-name {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.desktop-nav a {
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 180ms ease, color 180ms ease, transform 150ms var(--ease-out);
}
.desktop-nav a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover { background: var(--teal-soft); color: var(--teal); }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  background: var(--bg-sage);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.lang-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  background: var(--surface);
  border-radius: 9px;
  box-shadow: 0 2px 6px rgba(18, 55, 51, 0.1);
  transition: transform 240ms var(--ease-out);
  pointer-events: none;
}

.lang-switch[data-lang="kz"] .lang-thumb { transform: translateX(100%); }

.lang-btn {
  position: relative; z-index: 1;
  min-width: 38px; min-height: 36px;
  padding: 0 8px;
  font-size: 12.5px; font-weight: 700;
  color: var(--muted);
  transition: color 180ms ease;
}
.lang-btn[aria-pressed="true"] { color: var(--teal); }

.btn.header-cta { display: none; }

.burger-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-sage);
  display: grid; place-items: center;
  color: var(--forest);
  transition: transform 160ms var(--ease-out);
}
.burger-btn:active { transform: scale(0.95); }

.burger-lines { width: 20px; height: 14px; position: relative; }
.burger-lines span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform 240ms var(--ease-out), opacity 180ms ease;
}
.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 6px; width: 76%; }
.burger-lines span:nth-child(3) { top: 12px; }
.burger-btn[aria-expanded="true"] .burger-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger-btn[aria-expanded="true"] .burger-lines span:nth-child(2) { opacity: 0; transform: scaleX(0.3); }
.burger-btn[aria-expanded="true"] .burger-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .btn.header-cta { display: inline-flex; }
  .burger-btn { display: none; }
}

.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(18, 55, 51, 0.45);
  backdrop-filter: blur(4px);
  z-index: 95;
  opacity: 0; pointer-events: none;
  transition: opacity 260ms var(--ease-out);
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed; top: 10px; right: 10px; bottom: 10px;
  width: min(340px, calc(100vw - 20px));
  background: var(--surface);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateX(calc(100% + 24px));
  transition: transform 340ms var(--ease-drawer);
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}

.drawer-close {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-sage); color: var(--forest);
  display: grid; place-items: center;
}

.drawer-nav { display: flex; flex-direction: column; gap: 6px; margin: 18px 0; }
.drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; padding: 10px 14px; border-radius: 14px;
  font-size: 16px; font-weight: 700; color: var(--forest);
  transition: background 180ms ease, transform 160ms var(--ease-out);
}
.drawer-nav a:active { background: var(--teal-soft); transform: scale(0.98); }

.drawer-footer {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 16px; border-top: 1px solid var(--line);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 160ms var(--ease-out), background 200ms ease, box-shadow 220ms var(--ease-out), border-color 200ms ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--forest);
  color: #FFFFFF;
  box-shadow: var(--shadow-teal);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--teal); transform: translateY(-2px); }
}

.btn-secondary {
  background: var(--surface);
  color: var(--forest);
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow-xs);
}
@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover { background: var(--teal-soft); border-color: var(--teal); transform: translateY(-2px); }
}

.btn-whatsapp {
  background: #179A4A;
  color: #FFFFFF;
  box-shadow: 0 12px 26px rgba(23, 154, 74, 0.24);
}
@media (hover: hover) and (pointer: fine) {
  .btn-whatsapp:hover { background: #13823E; transform: translateY(-2px); }
}

.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 14px; border-radius: 12px; }

/* =========================================================
   HERO — ARCHITECTURAL EDITORIAL COVER
   ========================================================= */
.hero {
  padding: 16px 0 38px;
}

@media (min-width: 1024px) {
  .hero { padding: 30px 0 56px; }
}

.hero-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-shell { padding: 28px; }
}

@media (min-width: 980px) {
  .hero-shell {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 36px;
    padding: 36px;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--bg-sage);
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(31px, 6.2vw, 52px);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -0.025em;
  color: var(--forest);
}

.hero-lead {
  margin: 0 0 22px;
  font-size: clamp(15.5px, 2vw, 17.5px);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 530px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-bottom: 22px;
}
.hero-actions .btn { flex: 1 1 200px; }
@media (min-width: 560px) { .hero-actions .btn { flex: 0 1 auto; } }

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.trust-val {
  display: block;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.02em;
}

.trust-lbl {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.25;
}

.hero-media-col {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--forest);
  box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
  .hero-photo-frame { aspect-ratio: 4 / 3; border-radius: 20px; }
}

.hero-photo-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.03);
  transition: transform 950ms var(--ease-out);
}
body.is-ready .hero-photo-frame img { transform: scale(1); }

.hero-photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(18, 55, 51, 0.72) 100%);
  pointer-events: none;
}

.hero-float-note {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 2;
  padding: 12px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.float-title { font-size: 14px; font-weight: 800; color: var(--forest); line-height: 1.2; }
.float-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.float-tag {
  flex-shrink: 0;
  padding: 6px 11px;
  border-radius: 10px;
  background: var(--forest);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
}

/* Single coordinated entrance */
.hero-stagger {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out);
}
body.is-ready .hero-stagger { opacity: 1; transform: translateY(0); }
body.is-ready .hero-stagger:nth-child(2) { transition-delay: 70ms; }
body.is-ready .hero-stagger:nth-child(3) { transition-delay: 140ms; }
body.is-ready .hero-stagger:nth-child(4) { transition-delay: 210ms; }
body.is-ready .hero-stagger:nth-child(5) { transition-delay: 270ms; }

/* =========================================================
   SECTIONS & DUAL-DIRECTION SERVICES
   ========================================================= */
.section { padding: 48px 0; }
@media (min-width: 1024px) { .section { padding: 72px 0; } }

.section-head {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 26px; max-width: 680px;
}

.section-title {
  margin: 0;
  font-size: clamp(26px, 4.8vw, 40px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.section-sub {
  margin: 0; font-size: 16px; color: var(--ink-2); line-height: 1.58;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Animated sliding switcher */
.dir-switcher {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  background: var(--bg-sage);
  border: 1px solid var(--line);
  border-radius: 18px;
  width: 100%;
  max-width: 460px;
  margin-bottom: 26px;
}

.dir-thumb {
  position: absolute;
  top: 5px; left: 5px;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  background: var(--forest);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 280ms var(--ease-out);
  pointer-events: none;
}

.dir-switcher[data-active="cleaning"] .dir-thumb {
  transform: translateX(100%);
}

.dir-btn {
  position: relative; z-index: 1;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--forest);
  transition: color 200ms ease;
  text-align: center;
}
.dir-btn[aria-selected="true"] { color: #FFFFFF; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  transition: opacity 220ms ease, transform 240ms var(--ease-out);
}
.services-grid.switching {
  opacity: 0;
  transform: translateY(6px);
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
  }
  .service-card:hover .service-photo img { transform: scale(1.04); }
}

.service-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-sage);
}

.service-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 420ms var(--ease-out);
}

.photo-tag {
  position: absolute;
  left: 10px; top: 10px;
  padding: 5px 10px;
  border-radius: 9px;
  background: rgba(18, 55, 51, 0.78);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
}

.service-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 12px;
}

.service-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--forest);
  line-height: 1.25;
}

.service-desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

.service-pick-btn {
  width: 100%;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--bg-sage);
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 180ms ease, color 180ms ease, transform 150ms var(--ease-out);
}
.service-pick-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .service-pick-btn:hover { background: var(--forest); color: #FFFFFF; }
}

.demo-visual-note {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--sand-soft);
  border: 1px solid rgba(18, 55, 51, 0.08);
  font-size: 13px;
  color: var(--ink-2);
}

/* =========================================================
   REAL BEFORE / AFTER UPHOLSTERY SLIDER
   ========================================================= */
.ba-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ba-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 960px) {
  .ba-layout { grid-template-columns: 1.12fr 0.88fr; gap: 40px; }
}

.ba-stage {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--forest);
  box-shadow: var(--shadow-md);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-wrap {
  position: absolute; inset: 0;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}

.ba-divider {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; margin-left: -1.5px;
  background: #FFFFFF;
  box-shadow: 0 0 18px rgba(18, 55, 51, 0.45);
  pointer-events: none; z-index: 4;
}

.ba-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: #FFFFFF; color: var(--forest);
  box-shadow: 0 8px 24px rgba(18, 55, 51, 0.34);
  display: grid; place-items: center;
  border: 2px solid var(--teal-soft);
  transition: transform 160ms var(--ease-out);
}
.ba-stage.dragging .ba-handle { transform: translate(-50%, -50%) scale(1.08); }

.ba-pill {
  position: absolute; top: 14px; z-index: 3;
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700;
  backdrop-filter: blur(10px); pointer-events: none;
}
.ba-pill-before { left: 14px; background: rgba(18, 55, 51, 0.78); color: #FFFFFF; }
.ba-pill-after { right: 14px; background: rgba(29, 110, 100, 0.92); color: #FFFFFF; }

.ba-range-input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; z-index: 5; margin: 0;
}

.ba-cases { display: flex; flex-direction: column; gap: 12px; }

.ba-case-btn {
  text-align: left;
  padding: 15px 16px;
  border-radius: 20px;
  background: var(--bg);
  border: 1.5px solid transparent;
  display: flex; align-items: center; gap: 14px;
  transition: background 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out), box-shadow 200ms ease;
}
.ba-case-btn:active { transform: scale(0.985); }
.ba-case-btn.active {
  background: var(--surface);
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.ba-thumb {
  width: 62px; height: 62px; border-radius: 14px;
  object-fit: cover; flex-shrink: 0;
}
.ba-case-title { font-size: 16px; font-weight: 800; color: var(--forest); }
.ba-case-desc { font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }

/* =========================================================
   DEEP EXTRACTION BENEFITS (REAL QAZ CLEAN PROCESS)
   ========================================================= */
.benefits-band {
  background: var(--forest);
  color: #FFFFFF;
}
.benefits-band .section-title { color: #FFFFFF; }
.benefits-band .section-sub { color: rgba(235, 245, 242, 0.78); }

.benefits-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 960px) {
  .benefits-layout { grid-template-columns: 0.92fr 1.08fr; gap: 36px; }
}

.extractor-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mosaic-shot {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 4 / 5;
}
.mosaic-shot img { width: 100%; height: 100%; object-fit: cover; }

.mosaic-cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  padding: 7px 10px; border-radius: 10px;
  background: rgba(18, 55, 51, 0.8);
  backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; color: #FFFFFF;
}

.benefit-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) {
  .benefit-columns { grid-template-columns: 1fr 1fr; }
}

.benefit-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit-box.result-box {
  background: rgba(29, 110, 100, 0.34);
  border-color: rgba(184, 232, 222, 0.28);
}

.benefit-head {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(240, 248, 245, 0.88);
  line-height: 1.42;
}

.b-ico {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.b-ico-rm { background: rgba(220, 203, 181, 0.22); color: #F0DEC6; }
.b-ico-ok { background: rgba(124, 230, 198, 0.24); color: #9CF2D8; }

/* =========================================================
   INTERACTIVE PHOTO-ESTIMATE CONSTRUCTOR (NO FAKE PRICES!)
   ========================================================= */
.constructor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 960px) {
  .constructor-grid { grid-template-columns: 1.15fr 0.85fr; gap: 28px; }
}

.builder-card, .summary-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .builder-card, .summary-card { padding: 28px; }
}

.item-counter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

@media (min-width: 560px) {
  .item-counter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bg);
  border: 1.5px solid transparent;
  transition: border-color 180ms ease, background 180ms ease;
}

.counter-row.has-qty {
  background: var(--teal-soft);
  border-color: var(--teal);
}

.counter-name { font-size: 14px; font-weight: 700; color: var(--forest); line-height: 1.2; }
.counter-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.step-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--forest);
  font-size: 18px; font-weight: 700;
  display: grid; place-items: center;
  transition: transform 140ms var(--ease-out), background 150ms ease;
}
.step-btn:active { transform: scale(0.92); }
.counter-row.has-qty .step-btn.plus { background: var(--forest); color: #FFFFFF; border-color: var(--forest); }

.step-qty {
  min-width: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
}

.chip-group-label {
  font-size: 13.5px; font-weight: 800; color: var(--forest); margin-bottom: 10px;
}

.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1.5px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out);
}
.tag-pill:active { transform: scale(0.96); }
.tag-pill.active {
  background: var(--forest);
  color: #FFFFFF;
}

.clean-range {
  width: 100%; height: 8px; border-radius: 99px;
  background: var(--bg-sage); accent-color: var(--teal); cursor: pointer;
}

.summary-card {
  background: var(--forest);
  color: #FFFFFF;
  position: sticky;
  top: 90px;
}

.summary-head {
  font-family: 'Lora', Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  margin: 0 0 12px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 16px;
  min-height: 86px;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  color: #FFFFFF;
}

.summary-honest-note {
  font-size: 13px;
  color: rgba(235, 245, 242, 0.8);
  line-height: 1.5;
  margin: 0 0 18px;
}

.summary-card .btn-primary {
  width: 100%;
  background: #FFFFFF;
  color: var(--forest);
  box-shadow: none;
}

/* =========================================================
   HIGHLIGHTS, DISTRICTS, REVIEWS & BOOKING
   ========================================================= */
.hl-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  box-shadow: var(--shadow-xs);
}
@media (min-width: 768px) { .hl-strip { padding: 22px 24px; } }

.hl-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px;
}

.hl-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 460px) {
  .hl-rail { display: flex; overflow-x: auto; scrollbar-width: none; gap: 14px; }
  .hl-rail::-webkit-scrollbar { display: none; }
}

.hl-item {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-width: 76px;
  transition: transform 200ms var(--ease-out);
}
.hl-item:active { transform: scale(0.95); }

.hl-ring {
  width: 74px; height: 74px; padding: 3px; border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--teal) 55%, var(--sand));
  display: grid; place-items: center;
}
.hl-ring-inner {
  width: 100%; height: 100%; border-radius: 50%;
  padding: 2.5px; background: var(--surface); overflow: hidden;
}
.hl-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hl-label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); text-align: center; }

/* Astana Districts + Info */
.districts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
@media (min-width: 768px) { .districts-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.district-pill {
  padding: 13px 12px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--forest);
  box-shadow: var(--shadow-xs);
}

/* Reviews */
.reviews-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  box-shadow: var(--shadow-xs);
}

.review-quote { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.58; }
.review-author {
  display: flex; justify-content: space-between; gap: 8px;
  padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.review-name { font-weight: 800; color: var(--forest); }

/* Booking card + Custom Accessible Listbox */
.booking-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px 18px;
  box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1fr; gap: 28px;
}
@media (min-width: 860px) {
  .booking-card { grid-template-columns: 0.9fr 1.1fr; padding: 36px; gap: 40px; }
}

.booking-aside {
  background: var(--bg-sage);
  border-radius: 22px;
  padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}

.booking-summary-box {
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  padding: 14px 16px;
}

.form-grid { display: flex; flex-direction: column; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field label, .field-lbl { font-size: 13.5px; font-weight: 700; color: var(--forest); }

.input {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border-radius: 13px; border: 1.5px solid var(--line); background: var(--bg);
  font-size: 15px; color: var(--ink);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.input:focus {
  outline: none; background: var(--surface);
  border-color: var(--teal); box-shadow: 0 0 0 4px rgba(29, 110, 100, 0.14);
}
textarea.input { min-height: 92px; resize: vertical; }

.picker { position: relative; }
.picker-trigger {
  width: 100%; min-height: 50px; padding: 11px 14px;
  border-radius: 13px; border: 1.5px solid var(--line); background: var(--bg);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.picker-trigger[aria-expanded="true"] {
  background: var(--surface); border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(29, 110, 100, 0.14);
}
.picker-chevron { transition: transform 220ms var(--ease-out); color: var(--muted); flex-shrink: 0; }
.picker-trigger[aria-expanded="true"] .picker-chevron { transform: rotate(180deg); color: var(--teal); }

.picker-menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 45;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 6px; max-height: 280px; overflow-y: auto;
  transform-origin: top center;
  opacity: 0; transform: translateY(-6px) scale(0.97); pointer-events: none;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.picker-menu.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.picker-opt {
  width: 100%; padding: 10px 12px; border-radius: 11px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  text-align: left; font-size: 14px; transition: background 140ms ease;
}
.picker-opt:hover { background: var(--bg); }
.picker-opt[aria-selected="true"] { background: var(--teal-soft); color: var(--forest); font-weight: 700; }

.form-feedback {
  display: none; padding: 12px 14px; border-radius: 13px;
  background: #E4F5EC; color: #115E38; font-size: 14px; font-weight: 600;
}
.form-feedback.show { display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--forest);
  color: rgba(235, 245, 242, 0.8);
  padding: 40px 0 calc(96px + env(safe-area-inset-bottom, 0px));
}
.footer-inner {
  display: flex; flex-direction: column; gap: 20px;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.footer-bottom {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px; color: rgba(235, 245, 242, 0.6);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
}

/* =========================================================
   FIXED BOTTOM-RIGHT FLOATING CONTACT DOCK
   ========================================================= */
.contact-dock {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 16px));
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}

.contact-panel {
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  min-width: 236px;
  transform-origin: bottom right;
  opacity: 0; transform: translateY(10px) scale(0.92); pointer-events: none;
  transition: opacity 220ms var(--ease-out), transform 240ms var(--ease-out);
}
.contact-dock.open .contact-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.contact-item {
  display: flex; align-items: center; gap: 12px;
  min-height: 46px; padding: 8px 12px; border-radius: 14px;
  background: var(--bg); color: var(--forest); font-size: 14.5px; font-weight: 700;
  transition: background 160ms ease, transform 150ms var(--ease-out);
}
.contact-item:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .contact-item:hover { background: var(--teal-soft); }
}

.ci-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #FFFFFF; flex-shrink: 0; }
.ci-wa { background: #179A4A; }
.ci-tel { background: var(--forest); }
.ci-ig { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }
.ci-map { background: #2BB647; }
.ci-sub { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }

.contact-fab {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 18px; border-radius: var(--r-pill);
  background: var(--forest); color: #FFFFFF;
  font-size: 14.5px; font-weight: 700;
  box-shadow: 0 14px 32px rgba(18, 55, 51, 0.34);
  transition: transform 180ms var(--ease-out), background 200ms ease;
}
.contact-fab:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
  .contact-fab:hover { background: var(--teal); transform: translateY(-2px); }
}
.fab-icon-close { display: none; }
.contact-dock.open .fab-icon-open { display: none; }
.contact-dock.open .fab-icon-close { display: block; }

/* =========================================================
   STORY VIEWER MODAL
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(11, 28, 26, 0.88);
  backdrop-filter: blur(12px);
  display: grid; place-items: center; padding: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity 240ms var(--ease-out);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.story-shell {
  position: relative;
  width: min(420px, 100%);
  max-height: min(760px, calc(100dvh - 32px));
  aspect-ratio: 9 / 15.5;
  background: #0F1F1D;
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg);
  transform: scale(0.94); transition: transform 260ms var(--ease-out);
}
.modal-overlay.open .story-shell { transform: scale(1); }

.story-bars { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 6; display: flex; gap: 5px; }
.story-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.story-bar-fill { height: 100%; width: 0%; background: #FFFFFF; }
.story-bar.done .story-bar-fill { width: 100%; }
.story-bar.active .story-bar-fill { width: 100%; transition: width 4.5s linear; }

.story-top {
  position: absolute; top: 24px; left: 14px; right: 14px; z-index: 6;
  display: flex; align-items: center; justify-content: space-between; color: #FFFFFF;
}
.story-close, .modal-nav-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(18, 55, 51, 0.65); backdrop-filter: blur(8px);
  color: #FFFFFF; display: grid; place-items: center;
}
.story-media { width: 100%; height: 100%; object-fit: contain; background: #0C1817; }
.story-foot {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 6;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.story-orig-link {
  padding: 9px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.94); color: var(--forest);
  font-size: 13px; font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-stagger, .reveal { opacity: 1 !important; transform: none !important; }
}
