:root {
  --ink: #161715;
  --muted: #686b65;
  --line: rgba(255, 255, 255, .76);
  --shadow: rgba(42, 43, 67, .12);
  --green: #75a114;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--ink); background: #eff0f5; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-synthesis: none; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid #7478aa; outline-offset: 3px; }

.noise { position: fixed; z-index: 20; inset: 0; width: 100%; height: 100%; opacity: .055; pointer-events: none; mix-blend-mode: multiply; }
.aurora { position: fixed; z-index: -1; inset: 0; overflow: hidden; background: linear-gradient(145deg, #f7f7fa 0%, #ebecef 50%, #f3f3f7 100%); }
.aurora span { position: absolute; width: 48vw; aspect-ratio: 1; border-radius: 50%; filter: blur(100px); opacity: .38; animation: drift 22s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { top: -20vw; left: -10vw; background: #b6b9de; }
.aurora span:nth-child(2) { top: 24vh; right: -20vw; background: #c8cae7; animation-delay: -8s; }
.aurora span:nth-child(3) { bottom: -32vw; left: 24vw; background: #aeb2d8; animation-delay: -15s; }

.glass { border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,255,255,.74), rgba(245,246,252,.34)); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(255,255,255,.32), 0 18px 50px var(--shadow); -webkit-backdrop-filter: blur(26px) saturate(125%); backdrop-filter: blur(26px) saturate(125%); }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; padding: 24px; display: flex; justify-content: center; }
.wordmark { min-height: 50px; padding: 6px 16px 6px 7px; display: inline-flex; align-items: center; gap: 10px; border-radius: 18px; font-size: 15px; font-weight: 680; letter-spacing: -.035em; text-decoration: none; }
.wordmark img { width: 42px; height: 42px; object-fit: contain; }

.hero { min-height: 82svh; padding: 132px 24px 86px; display: grid; place-items: center; text-align: center; }
.hero-copy { width: min(1040px, 100%); }
h1 { max-width: 1000px; margin: 0 auto; font-size: clamp(44px, 5.5vw, 78px); font-weight: 630; line-height: .99; letter-spacing: -.045em; text-wrap: balance; }
.signup-block { margin: 44px auto 0; }
.signup-form { width: min(510px, 100%); margin: 44px auto 0; padding: 7px; display: grid; grid-template-columns: minmax(0, 1fr) auto; border-radius: 20px; text-align: left; }
.signup-block .signup-form { margin-top: 0; }
.signup-form input { min-width: 0; padding: 13px 14px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 15px; }
.signup-form input::placeholder { color: #7f827b; }
.signup-form button { border: 0; padding: 12px 17px; border-radius: 14px; color: white; background: var(--ink); font-size: 14px; font-weight: 650; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.16); }
.signup-form button:hover { background: #31332e; }
.signup-form button:disabled { color: #dfe2dc; background: #62655f; cursor: default; }
.consent { width: min(620px, 100%); margin: 12px auto 0; display: flex; align-items: flex-start; justify-content: center; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.4; text-align: left; }
.consent input { width: 14px; height: 14px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--ink); }
.consent a { color: var(--ink); text-underline-offset: 2px; }
.signup-status { min-height: 16px; margin: 7px auto 0; color: var(--muted); font-size: 11px; line-height: 1.4; text-align: center; }
.signup-status.is-error { color: #8c2f36; }

.gallery-section { padding: 28px 24px 120px; }
.carousel { position: relative; width: min(850px, 100%); margin: 0 auto; }
.carousel-viewport { overflow: hidden; border-radius: 30px; }
.carousel-track { display: flex; transition: transform .65s cubic-bezier(.2,.75,.2,1); }
.review { flex: 0 0 100%; min-height: 390px; padding: 35px 38px 30px; display: flex; flex-direction: column; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.company { min-width: 0; display: flex; align-items: center; gap: 13px; }
.company img { width: 48px; height: 48px; flex: 0 0 auto; object-fit: contain; }
.company img[src*="logo-vkontore"] { border-radius: 11px; }
.company strong { overflow: hidden; font-size: 24px; font-weight: 660; letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
.rating { --score: 5; position: relative; width: 116px; height: 34px; flex: 0 0 auto; border: 1px solid rgba(22,23,21,.1); border-radius: 12px; background: rgba(255,255,255,.42); }
.rating::before, .rating::after { position: absolute; inset: 7px 8px; content: ""; background: #514b60; -webkit-mask: url("assets/icon-sad.svg") left center / 20px 20px repeat-x; mask: url("assets/icon-sad.svg") left center / 20px 20px repeat-x; }
.rating::before { opacity: .16; }
.rating::after { right: auto; width: calc(var(--score) * 20px); }
blockquote { width: min(750px, 100%); margin: auto 0; padding: 36px 0; font-size: clamp(21px, 2.45vw, 28px); font-weight: 510; line-height: 1.3; letter-spacing: -.034em; }
.author { display: flex; align-items: center; gap: 11px; }
.author-avatar { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; object-fit: cover; box-shadow: 0 5px 14px rgba(20,24,18,.1); }
.author strong, .status { display: block; }
.author strong { font-size: 13px; font-weight: 650; }
.status { margin-top: 3px; color: var(--muted); font-size: 11px; }
.status.verified { display: flex; align-items: center; gap: 3px; color: #50751c; }
.status img { width: 14px; height: 14px; object-fit: contain; }

.carousel-controls { width: max-content; min-width: 260px; margin: 17px auto 0; padding: 7px 8px 7px 13px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-radius: 17px; }
.dots { display: flex; align-items: center; gap: 6px; }
.dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: rgba(22,23,21,.22); cursor: pointer; transition: width .25s, background .25s; }
.dots button[aria-current="true"] { width: 24px; background: var(--ink); }
.arrows { display: flex; align-items: center; gap: 6px; }
.arrows > span { margin-right: 5px; color: var(--muted); font-size: 10px; }
.arrow { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 11px; color: var(--ink); background: rgba(255,255,255,.58); font-size: 14px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.arrow:hover { color: white; background: var(--ink); }

.write-section { padding: 12px 24px 128px; }
.review-composer { width: min(980px, 100%); margin: 0 auto; padding: 48px; display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); gap: 64px; border-radius: 32px; }
.composer-intro h2 { margin: 0; font-size: clamp(36px, 4.5vw, 58px); font-weight: 630; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.composer-intro p { max-width: 330px; margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.review-form { display: grid; gap: 24px; }
.form-field { position: relative; min-width: 0; }
.form-field > label, .form-field legend { display: block; margin: 0 0 9px; padding: 0; color: var(--ink); font-size: 13px; font-weight: 660; letter-spacing: -.015em; }
.form-field legend { float: left; width: 100%; }
.field-help { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.company-input-wrap { min-height: 56px; padding: 5px 15px 5px 6px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(22,23,21,.11); border-radius: 17px; background: rgba(255,255,255,.52); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); transition: border-color .2s, box-shadow .2s; }
.company-input-wrap:focus-within { border-color: rgba(72,74,121,.44); box-shadow: 0 0 0 4px rgba(116,120,170,.11), inset 0 1px 0 rgba(255,255,255,.9); }
.company-input-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 15px; }
.company-input-wrap input::placeholder, .review-text-field textarea::placeholder { color: #888b85; }
.company-preview { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 13px; color: #5b5d58; background: rgba(225,226,234,.8); font-size: 12px; font-weight: 720; text-transform: uppercase; }
.company-preview:empty { display: none; }
.company-preview img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.company-options { position: absolute; z-index: 25; top: calc(100% - 13px); left: 0; right: 0; max-height: 286px; margin: 0; padding: 7px; overflow-y: auto; border-radius: 18px; list-style: none; }
.company-options[hidden] { display: none; }
.company-option { min-height: 52px; padding: 6px 8px; display: flex; align-items: center; gap: 10px; border-radius: 12px; cursor: pointer; }
.company-option[aria-selected="true"], .company-option:hover { background: rgba(218,220,232,.72); }
.company-option img, .company-option .company-fallback { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; object-fit: contain; }
.company-option img { padding: 3px; background: rgba(255,255,255,.6); }
.company-option .company-fallback { display: grid; place-items: center; color: #5b5d58; background: rgba(225,226,234,.9); font-size: 10px; font-weight: 720; text-transform: uppercase; }
.company-option strong { min-width: 0; overflow: hidden; font-size: 13px; font-weight: 630; text-overflow: ellipsis; white-space: nowrap; }
.company-add strong { color: #45486f; }
.company-add .company-fallback { font-size: 20px; font-weight: 480; }
.company-empty { padding: 15px 12px; color: var(--muted); font-size: 13px; }
.rating-field { margin: 0; padding: 0; border: 0; }
.rating-choices { clear: both; display: flex; gap: 7px; }
.rating-choices input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.rating-choices label { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(22,23,21,.1); border-radius: 15px; background: rgba(255,255,255,.45); cursor: pointer; transition: transform .18s, background .18s, border-color .18s; }
.rating-choices label::before { width: 25px; height: 25px; content: ""; background: #514b60; opacity: .22; -webkit-mask: url("assets/icon-sad.svg") center / contain no-repeat; mask: url("assets/icon-sad.svg") center / contain no-repeat; }
.rating-choices label:hover { transform: translateY(-2px); }
.rating-choices input:focus-visible + label { outline: 3px solid #7478aa; outline-offset: 2px; }
.rating-choices label.is-active { border-color: rgba(81,75,96,.3); background: rgba(215,211,225,.78); }
.rating-choices label.is-active::before { opacity: 1; }
.review-text-field textarea { width: 100%; min-height: 128px; padding: 15px 16px; resize: vertical; border: 1px solid rgba(22,23,21,.11); border-radius: 17px; outline: 0; color: var(--ink); background: rgba(255,255,255,.52); font-size: 15px; line-height: 1.45; box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.review-text-field textarea:focus { border-color: rgba(72,74,121,.44); box-shadow: 0 0 0 4px rgba(116,120,170,.11), inset 0 1px 0 rgba(255,255,255,.9); }
.optional-details { margin-top: -4px; border-top: 1px solid rgba(22,23,21,.1); }
.optional-details summary { padding: 18px 2px 3px; display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 660; cursor: pointer; list-style: none; }
.optional-details summary::-webkit-details-marker { display: none; }
.optional-details summary::after { margin-left: auto; content: "+"; color: var(--muted); font-size: 20px; font-weight: 400; line-height: 1; }
.optional-details[open] summary::after { content: "−"; }
.optional-details summary span { color: var(--muted); font-size: 10px; font-weight: 500; }
.optional-fields { padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; }
.optional-fields select, .optional-fields input { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid rgba(22,23,21,.11); border-radius: 14px; outline: 0; color: var(--ink); background: rgba(255,255,255,.52); }
.optional-fields select:focus, .optional-fields input:focus { border-color: rgba(72,74,121,.44); box-shadow: 0 0 0 4px rgba(116,120,170,.11); }
.date-field { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; }
.date-range { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.date-range label span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; }
.review-submit { display: flex; align-items: center; gap: 14px; }
.review-submit button { min-height: 46px; padding: 0 18px; border: 0; border-radius: 14px; color: white; background: var(--ink); font-size: 14px; font-weight: 650; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.review-submit button:hover { background: #31332e; }
.review-submit span { color: var(--muted); font-size: 11px; }
.review-form-status { min-height: 17px; margin: -13px 0 0; color: #50751c; font-size: 12px; line-height: 1.4; }
.review-form-status.is-error { color: #93423e; }

.site-footer { padding: 0 24px 24px; }
.footer-inner { width: min(1180px, 100%); min-height: 88px; margin: 0 auto; padding: 20px 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; border-top: 1px solid rgba(22,23,21,.14); color: var(--muted); font-size: 12px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; justify-self: start; color: var(--ink); font-weight: 650; letter-spacing: -.025em; text-decoration: none; }
.footer-brand img { width: 31px; height: 31px; object-fit: contain; }
.footer-meta { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.made-by { justify-self: end; color: var(--ink); text-underline-offset: 3px; }
.made-by:hover { text-decoration-thickness: 2px; }

.legal-page { min-height: 100svh; padding: 118px 24px 56px; }
.legal-shell { width: min(760px, 100%); margin: 0 auto; padding: 44px 48px; border-radius: 30px; }
.legal-back { display: inline-block; margin-bottom: 28px; color: var(--muted); font-size: 13px; text-decoration: none; }
.legal-back:hover { color: var(--ink); }
.legal-shell h1 { max-width: none; margin: 0 0 28px; font-size: clamp(38px, 6vw, 64px); line-height: .98; text-align: left; }
.legal-shell h2 { margin: 32px 0 10px; font-size: 19px; letter-spacing: -.025em; }
.legal-shell p, .legal-shell li { font-size: 15px; line-height: 1.55; }
.legal-shell p { margin: 0 0 14px; }
.legal-shell ul { margin: 0; padding-left: 20px; }
.legal-note { padding: 16px 18px; border: 1px solid rgba(22,23,21,.12); border-radius: 16px; background: rgba(255,255,255,.42); color: var(--muted); }
.legal-date { margin-top: 36px !important; color: var(--muted); font-size: 12px !important; }

.callback-page { min-height: 100svh; padding: 24px; display: grid; place-items: center; }
.callback-card { width: min(520px, 100%); padding: 48px; border-radius: 30px; text-align: center; }
.callback-card > img { width: 72px; height: 72px; object-fit: contain; }
.callback-label { margin: 18px 0 10px; color: var(--muted); font-size: 12px; }
.callback-card h1 { margin: 0; font-size: clamp(42px, 7vw, 68px); line-height: .96; }
.callback-card h1 + p { margin: 20px auto 28px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.callback-card a { display: inline-flex; min-height: 44px; padding: 0 18px; align-items: center; border-radius: 14px; color: white; background: var(--ink); font-size: 14px; font-weight: 650; text-decoration: none; }

@keyframes drift { to { transform: translate3d(8vw, 5vh, 0) scale(1.12); } }

@media (max-width: 640px) {
  .site-header { padding: 16px; }
  .wordmark { min-height: 46px; border-radius: 16px; }
  .wordmark img { width: 39px; height: 39px; }
  .hero { min-height: 78svh; padding: 112px 18px 60px; }
  h1 { font-size: clamp(38px, 10.8vw, 54px); line-height: 1.01; }
  .signup-block { margin-top: 34px; }
  .signup-form { grid-template-columns: 1fr; padding: 6px; border-radius: 20px; }
  .signup-form input { padding: 14px 12px; text-align: center; }
  .signup-form button { width: 100%; }
  .consent { width: min(340px, 100%); justify-content: flex-start; }
  .gallery-section { padding: 18px 12px 76px; }
  .carousel-viewport { border-radius: 24px; }
  .review { min-height: 500px; padding: 25px 22px 23px; }
  .company { gap: 9px; }
  .company img { width: 40px; height: 40px; }
  .company strong { font-size: 20px; }
  blockquote { padding: 30px 0; font-size: 21px; line-height: 1.32; }
  .carousel-controls { margin-top: 12px; }
  .write-section { padding: 8px 12px 80px; }
  .review-composer { padding: 28px 22px; grid-template-columns: 1fr; gap: 34px; border-radius: 24px; }
  .composer-intro p { margin-top: 15px; }
  .rating-choices { gap: 5px; }
  .rating-choices label { width: 45px; height: 45px; border-radius: 14px; }
  .review-submit { align-items: flex-start; flex-direction: column; }
  .review-submit button { width: 100%; }
  .optional-fields, .date-range { grid-template-columns: 1fr; }
  .site-footer { padding: 0 18px 18px; }
  .footer-inner { padding: 22px 0 4px; grid-template-columns: 1fr; gap: 13px; text-align: center; }
  .footer-brand, .made-by { justify-self: center; }
  .footer-meta { justify-content: center; flex-wrap: wrap; gap: 6px 12px; }
  .legal-page { padding: 96px 12px 32px; }
  .legal-shell { padding: 30px 22px; border-radius: 24px; }
  .callback-card { padding: 38px 24px; border-radius: 24px; }
}

@media (max-width: 380px) {
  h1 { font-size: 36px; }
  .review { min-height: 530px; padding-inline: 19px; }
  blockquote { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora span { animation: none; }
  .carousel-track { transition: none; }
}
