@font-face {
  font-family: Geist;
  src: url("./fonts/geist-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #171917;
  --ink-soft: #393d38;
  --milk: #f3f3ed;
  --paper: #fffefa;
  --lime: #c7f36b;
  --lime-deep: #acd956;
  --line: rgba(23, 25, 23, .14);
  --muted: #73776f;
  --radius: 24px;
  --shadow: 0 20px 70px rgba(25, 30, 24, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: Geist, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: relative;
  z-index: 20;
  width: min(1440px, 100%);
  min-height: 84px;
  margin: 0 auto;
  padding: 0 3.5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-size: 1.25rem; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; transform: rotate(-2deg); }
.brand-mark::before { content: ""; width: 14px; height: 6px; border-left: 4px solid var(--lime); border-bottom: 4px solid var(--lime); }
.brand-mark i { display: none; }
.header-nav { display: flex; gap: 30px; font-size: .92rem; color: var(--ink-soft); }
.header-nav a { padding: 12px 0; }
.header-nav a:hover, .text-link:hover { opacity: .6; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 20px; }
.demo-label { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .8rem; }
.demo-label i { width: 7px; height: 7px; border-radius: 50%; background: #75b72f; box-shadow: 0 0 0 4px rgba(117, 183, 47, .12); }
.text-link { font-size: .92rem; font-weight: 650; }

.button {
  border: 0;
  border-radius: 100px;
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: #fff; }
.button-small { min-height: 44px; padding-inline: 20px; font-size: .88rem; }
.button-accent { background: var(--lime); color: var(--ink); box-shadow: 0 8px 28px rgba(159, 210, 68, .2); }
.button-accent:hover { background: #d0fb7a; }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.45); }

.hero {
  width: min(1440px, 100%);
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 48px 3.5vw 28px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 36px 5vw;
}
.hero-copy { padding: 32px 0 44px; max-width: 670px; }
.eyebrow { margin: 0 0 28px; text-transform: uppercase; font-size: .72rem; font-weight: 800; letter-spacing: .11em; color: var(--muted); }
.eyebrow span { color: var(--ink); margin-right: 14px; }
.hero h1 { margin: 0; font-size: clamp(3.6rem, 6.8vw, 7.3rem); line-height: .91; letter-spacing: -.075em; font-weight: 720; }
.hero h1 em { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.065em; white-space: nowrap; }
.hero-text { max-width: 560px; margin: 32px 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin: 24px 0 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; }
.hero-note strong { color: var(--ink); }
.avatar-stack { display: inline-flex; margin-right: 3px; }
.avatar-stack i { width: 27px; height: 27px; margin-left: -6px; display: grid; place-items: center; border: 2px solid var(--milk); border-radius: 50%; background: #dfe5d7; color: var(--ink); font-style: normal; font-size: .62rem; font-weight: 800; }
.avatar-stack i:first-child { margin-left: 0; background: #e9c5a9; }
.avatar-stack i:nth-child(2) { background: #c8d6e7; }

.hero-visual { position: relative; min-height: 610px; border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); background: #dce5d0; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #ecf0e3, #c4d1b7 54%, #8b9c82); z-index: -2; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,248,241,.14), transparent 48%); pointer-events: none; }
.hero-image { position: absolute; inset: 0; background: url("./hero-home-cleaning-almaty.webp") center center / cover no-repeat; transform: scale(1.01); }
.visual-card { position: absolute; z-index: 4; background: rgba(255,254,250,.9); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.6); box-shadow: 0 14px 36px rgba(28,33,26,.14); }
.visual-card-top { top: 30px; right: 30px; border-radius: 18px; padding: 13px 17px 13px 13px; display: flex; align-items: center; gap: 12px; }
.icon-bubble { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; background: var(--lime); font-weight: 900; }
.visual-card p { margin: 0; }
.visual-card-top p { display: grid; }
.visual-card-top strong { font-size: .83rem; }
.visual-card-top span { font-size: .72rem; color: var(--muted); }
.visual-card-bottom { left: 26px; bottom: 26px; min-width: 240px; border-radius: 22px; padding: 20px; display: flex; justify-content: space-between; align-items: end; }
.visual-card-bottom p { display: grid; }
.visual-card-bottom p span, .visual-card-bottom small { font-size: .72rem; color: var(--muted); }
.visual-card-bottom strong { margin: 2px 0; font-size: 1.45rem; letter-spacing: -.05em; }
.round-arrow { width: 43px; height: 43px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }

.trust-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.trust-row div { padding: 24px 28px 8px 0; display: grid; gap: 2px; }
.trust-row div + div { border-left: 1px solid var(--line); padding-left: 32px; }
.trust-row strong { font-size: .92rem; }
.trust-row span { color: var(--muted); font-size: .82rem; }

.estimator-shell { min-height: 820px; padding: 100px max(3.5vw, calc((100% - 1340px)/2)); background: var(--ink); color: #fff; display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; align-items: center; }
.light-heading { max-width: 530px; }
.light-heading .eyebrow, .light-heading .eyebrow span { color: rgba(255,255,255,.6); }
.light-heading .eyebrow span { color: var(--lime); }
.section-heading h2 { margin: 0; font-size: clamp(2.7rem, 4.5vw, 5.3rem); line-height: .97; letter-spacing: -.065em; }
.section-heading > p:last-child { max-width: 470px; margin-top: 26px; color: rgba(255,255,255,.58); font-size: 1.05rem; }
.estimate-card { width: min(100%, 650px); justify-self: end; padding: clamp(24px, 3vw, 42px); background: var(--paper); color: var(--ink); border-radius: 30px; box-shadow: 0 40px 90px rgba(0,0,0,.28); }
.form-progress { display: flex; align-items: center; gap: 7px; margin-bottom: 28px; }
.form-progress span { width: 48px; height: 3px; border-radius: 3px; background: #e2e3dc; }
.form-progress span.active { background: var(--ink); }
.form-progress small { margin-left: auto; color: var(--muted); font-size: .72rem; }
.estimate-card fieldset { margin: 0; padding: 0; border: 0; }
.estimate-card legend { margin-bottom: 18px; font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 760; letter-spacing: -.04em; }
.service-option { position: relative; padding: 15px; border: 1px solid var(--line); border-radius: 17px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; cursor: pointer; transition: border .2s ease, background .2s ease; }
.service-option + .service-option { margin-top: 9px; }
.service-option:hover { background: #f6f7f1; }
.service-option.selected { border-color: var(--ink); background: #f4f7ed; box-shadow: inset 0 0 0 1px var(--ink); }
.service-option input { position: absolute; opacity: 0; pointer-events: none; }
.service-option > span:nth-of-type(2) { display: grid; }
.service-option strong { font-size: .94rem; }
.service-option small { color: var(--muted); font-size: .75rem; }
.service-option b { font-size: .82rem; white-space: nowrap; }
.service-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #eceee6; font-size: 1.1rem; }
.selected .service-icon { background: var(--lime); }
.form-next { width: 100%; margin-top: 18px; }
.privacy-note { margin: 12px 0 0; color: var(--muted); font-size: .73rem; text-align: center; }
.mobile-cta { display: none; }

.services { padding: 120px max(3.5vw, calc((100% - 1340px)/2)); background: var(--paper); }
.section-kicker { display: flex; justify-content: space-between; gap: 40px; align-items: start; }
.section-kicker > p:last-child { width: min(100%, 410px); margin: 0; color: var(--muted); }
.services-heading h2, .how h2, .crm-copy h2 { margin: 34px 0 54px; font-size: clamp(3rem, 6vw, 6.4rem); line-height: .94; letter-spacing: -.07em; font-weight: 720; }
.services-heading h2 em, .how h2 em, .crm-copy h2 em { font-family: Georgia, serif; font-weight: 400; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card { min-height: 360px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; background: #f5f5ef; transition: transform .24s ease, box-shadow .24s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(24, 30, 22, .09); }
.service-card-featured { background: var(--lime); border-color: transparent; transform: rotate(-.7deg); }
.service-card-featured:hover { transform: rotate(-.7deg) translateY(-6px); }
.service-card-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.service-card-featured .service-card-top { color: rgba(23,25,23,.62); }
.service-card-top i { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--paper); color: var(--ink); font-style: normal; font-size: 1.25rem; }
.service-card h3 { margin: auto 0 12px; font-size: clamp(1.6rem, 2.4vw, 2.35rem); letter-spacing: -.055em; }
.service-card > p { min-height: 54px; margin: 0; color: var(--muted); }
.service-card-featured > p { color: rgba(23,25,23,.68); }
.service-meta { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; }
.service-meta strong { font-size: 1.05rem; }
.service-meta span { color: var(--muted); font-size: .8rem; }
.benefit-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.benefit-grid > div { display: flex; gap: 14px; align-items: start; }
.benefit-grid > div > span { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-weight: 800; font-size: .8rem; }
.benefit-grid p { margin: 0; display: grid; gap: 3px; }
.benefit-grid strong { font-size: .9rem; }
.benefit-grid small { color: var(--muted); font-size: .77rem; line-height: 1.45; }

.how { padding: 120px max(3.5vw, calc((100% - 1340px)/2)); background: var(--lime); display: grid; grid-template-columns: 1fr .9fr; gap: 8vw; }
.how-intro { align-self: center; }
.how h2 { margin-bottom: 0; }
.steps { display: grid; }
.steps article { padding: 32px 0; border-top: 1px solid rgba(23,25,23,.2); display: grid; grid-template-columns: 70px 1fr; gap: 14px; }
.steps article:last-child { border-bottom: 1px solid rgba(23,25,23,.2); }
.steps article > span { color: rgba(23,25,23,.5); font-size: .75rem; font-weight: 800; }
.steps h3 { margin: 0 0 8px; font-size: 1.25rem; letter-spacing: -.03em; }
.steps p { margin: 0; max-width: 440px; color: rgba(23,25,23,.66); }

.crm-showcase { padding: 130px max(3.5vw, calc((100% - 1340px)/2)); overflow: hidden; background: #e9ebe5; display: grid; grid-template-columns: .72fr 1.28fr; gap: 5vw; align-items: center; }
.crm-copy h2 { margin: 30px 0 28px; font-size: clamp(3rem, 5.2vw, 5.8rem); }
.crm-copy > p:not(.eyebrow) { max-width: 470px; margin: 0 0 30px; color: var(--muted); font-size: 1.05rem; }
.crm-preview { min-width: 780px; min-height: 520px; border: 8px solid #fff; border-radius: 26px; background: #f6f7f3; box-shadow: 0 36px 90px rgba(28,33,27,.18); display: grid; grid-template-columns: 72px 1fr; transform: rotate(1.2deg); overflow: hidden; }
.mini-sidebar { padding: 20px 14px; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mini-sidebar b { margin-bottom: 24px; font-size: .7rem; letter-spacing: -.04em; display: grid; place-items: center; gap: 4px; }
.mini-sidebar b span { width: 28px; height: 28px; border-radius: 8px; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.mini-sidebar i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: rgba(255,255,255,.55); font-style: normal; }
.mini-sidebar i.active { background: var(--lime); color: var(--ink); }
.mini-main { padding: 28px; min-width: 0; }
.mini-head { display: flex; justify-content: space-between; align-items: center; }
.mini-head > div { display: grid; }
.mini-head small { color: var(--muted); font-size: .65rem; }
.mini-head strong { font-size: 1.25rem; letter-spacing: -.04em; }
.mini-head > span { width: 36px; height: 36px; border-radius: 50%; background: #dce5d0; display: grid; place-items: center; font-size: .68rem; font-weight: 800; }
.mini-stats { margin: 28px 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-stats > div { min-height: 112px; padding: 16px; border-radius: 16px; background: #fff; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.mini-stats small { grid-column: 1 / -1; align-self: start; color: var(--muted); font-size: .65rem; }
.mini-stats b { font-size: 1.25rem; letter-spacing: -.04em; }
.mini-stats em { font-size: .64rem; color: #478023; font-style: normal; }
.mini-table { padding: 18px; border-radius: 17px; background: #fff; }
.mini-table-title { margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.mini-table-title strong { font-size: .85rem; }
.mini-table-title span { color: var(--muted); font-size: .62rem; }
.mini-row { padding: 11px 0; border-top: 1px solid #eceee7; display: grid; grid-template-columns: auto 1fr auto 90px; gap: 10px; align-items: center; }
.mini-row > i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #e2d5c8; font-style: normal; font-size: .58rem; font-weight: 800; }
.mini-row > i.client-two { background: #d5e4e2; }
.mini-row > i.client-three { background: #e5dbf1; }
.mini-row p { margin: 0; display: grid; }
.mini-row p strong { font-size: .7rem; }
.mini-row p small { color: var(--muted); font-size: .6rem; }
.mini-row > b { font-size: .7rem; text-align: right; }
.mini-pill { padding: 5px 8px; border-radius: 100px; font-size: .56rem; font-weight: 700; }
.mini-pill.work { background: #fff0c7; color: #7a5712; }
.mini-pill.wait { background: #e8e9e5; color: #555a52; }
.mini-pill.new { background: #e8f7cf; color: #4a6f20; }

.site-footer { padding: 70px max(3.5vw, calc((100% - 1340px)/2)); background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr auto auto; gap: 60px; align-items: end; }
.footer-brand .brand-mark { background: var(--lime); }
.footer-brand .brand-mark::before { border-color: var(--ink); }
.site-footer > div > p, .site-footer > p { margin: 16px 0 0; color: rgba(255,255,255,.45); font-size: .8rem; }
.site-footer nav { display: flex; gap: 24px; font-size: .83rem; }
.site-footer nav a:hover { color: var(--lime); }

.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.field-group { display: grid; gap: 8px; }
.field-group.full { grid-column: 1 / -1; }
.field-group label, .rooms-label { font-size: .78rem; font-weight: 700; }
.field-group input, .field-group select { width: 100%; min-height: 54px; padding: 0 15px; border: 1px solid var(--line); border-radius: 14px; background: #f8f8f4; color: var(--ink); outline: none; }
.field-group input:focus, .field-group select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23,25,23,.08); }
.field-error { border-color: #b9382d !important; }
.rooms { margin: 5px 0 18px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.room-button { min-height: 46px; border: 1px solid var(--line); border-radius: 13px; background: #f8f8f4; cursor: pointer; font-weight: 700; }
.room-button.active { background: var(--ink); color: #fff; }
.estimate-summary { margin: 18px 0 0; padding: 16px 18px; border-radius: 15px; background: #eef4e3; display: flex; justify-content: space-between; align-items: center; }
.estimate-summary span { color: var(--muted); font-size: .75rem; }
.estimate-summary strong { font-size: 1.2rem; letter-spacing: -.04em; }
.form-nav { display: grid; grid-template-columns: auto 1fr; gap: 9px; margin-top: 18px; }
.form-back { min-width: 54px; padding: 0; border: 1px solid var(--line); background: transparent; }
.success-state { text-align: center; padding: 26px 6px 8px; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 22px; background: var(--lime); display: grid; place-items: center; font-size: 2rem; font-weight: 900; transform: rotate(-3deg); }
.success-state h3 { margin: 0; font-size: 2rem; letter-spacing: -.05em; }
.success-state > p { max-width: 390px; margin: 12px auto 24px; color: var(--muted); }
.success-actions { display: grid; gap: 8px; }
.demo-toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; padding: 12px 18px; border-radius: 100px; background: var(--ink); color: #fff; font-size: .82rem; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: .25s ease; box-shadow: var(--shadow); }
.demo-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 920px) {
  .site-header { min-height: 70px; grid-template-columns: 1fr auto; padding-inline: 20px; }
  .header-nav, .text-link, .demo-label { display: none; }
  .hero { min-height: auto; padding: 42px 20px 22px; grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3.3rem, 12vw, 5.4rem); }
  .hero-visual { min-height: 500px; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row div { padding: 18px 0; }
  .trust-row div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .estimator-shell { min-height: auto; padding: 80px 20px; grid-template-columns: 1fr; gap: 42px; }
  .estimate-card { justify-self: stretch; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; }
  .service-card-featured { transform: none; }
  .service-card-featured:hover { transform: translateY(-6px); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .how, .crm-showcase { grid-template-columns: 1fr; }
  .crm-preview { min-width: 720px; transform: rotate(.5deg); }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { padding-bottom: 78px; }
  .header-actions .button { min-height: 40px; padding-inline: 17px; }
  .hero { padding-top: 30px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero h1 em { white-space: normal; }
  .hero-text { margin: 24px 0; font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-note { flex-wrap: wrap; }
  .hero-visual { min-height: 420px; border-radius: 26px; }
  .visual-card-top { top: 16px; right: 16px; }
  .visual-card-bottom { left: 16px; bottom: 16px; right: 16px; min-width: 0; }
  .service-option { grid-template-columns: auto 1fr; }
  .service-option b { grid-column: 2; }
  .services, .how, .crm-showcase { padding: 78px 20px; }
  .section-kicker { display: block; }
  .section-kicker > p:last-child { margin-top: 20px; }
  .services-heading h2, .how h2, .crm-copy h2 { margin: 28px 0 38px; font-size: 3rem; }
  .benefit-grid { grid-template-columns: 1fr; margin-top: 46px; }
  .steps article { grid-template-columns: 46px 1fr; }
  .crm-preview { min-width: 660px; min-height: 460px; transform: scale(.72) rotate(.5deg); transform-origin: top left; margin-bottom: -130px; }
  .site-footer { padding: 58px 20px 100px; grid-template-columns: 1fr; gap: 30px; }
  .site-footer nav { flex-wrap: wrap; }
  .field-grid { grid-template-columns: 1fr; }
  .field-group.full { grid-column: auto; }
  .rooms { grid-template-columns: repeat(5, minmax(42px, 1fr)); }
  .mobile-cta { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; display: flex; box-shadow: 0 16px 40px rgba(38,47,29,.25); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
