.home-content, .site-footer { --paper: #f0f0f2; --soft: #d9d9e0; --line: #dcdce2; background: var(--paper); }
.home-wrap { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.home-opening { padding-top: 100px; }
.home-manifest { max-width: 1160px; margin: 0; font-size: 48px; line-height: 57px; font-weight: 450; }
.home-manifest.is-scrubbing { color: #c9c9d1; }
.home-manifest .is-read { color: var(--ink); }

.home-section { margin-top: 100px; scroll-margin-top: 24px; }
.home-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.home-kicker { margin: 0 0 8px; color: var(--accent); font-size: 14px; line-height: 20px; font-weight: 500; }
.home-section h2 { margin: 0; font-size: 52px; line-height: 55px; font-weight: 350; }
.home-head-note { max-width: 300px; margin: 0; color: var(--muted); font-size: 15px; line-height: 23px; }
.home-head-note--wide { max-width: 340px; }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; min-height: 56px; padding: 0 27px; border: 1px solid transparent; border-radius: 999px; background: #fff; color: var(--ink); font: 500 16px/1.2 Inter, Arial, sans-serif; text-align: center; cursor: pointer; white-space: nowrap; transition: transform .2s ease-out; }
.home-button--outline { border-color: #b9bac4; background: transparent; }
.home-button--accent { background: var(--accent); color: #fff; }
.home-button--dark { background: var(--ink); color: #fff; }
.home-button[hidden] { display: none; }
.home-button:disabled { cursor: default; }
@media (hover: hover) { .home-button:not(:disabled):hover { transform: scale(1.04); } }
.home-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.home-metrics, .team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-metrics { margin-top: 96px; }
.metric { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 32px; border-radius: 28px; background: #fff; }
.metric--accent { color: #fff; background: var(--accent); }
.metric--dark { color: #fff; background: var(--ink); }
.metric-label { font-size: 14px; line-height: 20px; opacity: .78; }
.metric-number { display: block; font-size: 44px; line-height: 1.02; font-weight: 350; letter-spacing: -.04em; }
.metric-number--large { font-size: 96px; }
.metric p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 20px; }
.metric--accent p { color: #e0e4ff; }
.metric-calendar { position: absolute; top: 32px; right: 28px; width: 80px; height: 78px; border-radius: 20px; overflow: visible; background: #eef0ff; color: var(--accent); text-align: center; }
.metric-calendar i { position: relative; display: block; height: 26px; border-radius: 20px 20px 0 0; background: var(--accent); }
.metric-calendar i::before, .metric-calendar i::after { position: absolute; top: -8px; width: 13px; height: 24px; border: 3px solid #fff; border-radius: 7px; background: var(--accent); content: ''; }
.metric-calendar i::before { left: 17px; } .metric-calendar i::after { right: 17px; }
.metric-calendar b { font-size: 40px; font-weight: 350; line-height: 1.25; }
.metric-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.metric-pills li { padding: 8px 13px; border-radius: 999px; background: #ffffff15; font-size: 14px; line-height: 1; }
.metric-pills li:first-child { background: var(--accent); }
.metric-team { max-width: 235px; font-size: 24px; line-height: 29px; font-weight: 400; letter-spacing: -.02em; }
.metric-chart { position: absolute; inset: 75px 32px auto; height: 86px; display: flex; align-items: flex-end; gap: 6px; }
.metric-chart i { flex: 1; min-width: 0; height: var(--bar-height); border-radius: 6px; background: var(--border); }
.metric-chart i:last-child { background: var(--accent); }

.case-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.case-column { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.case-tile { border-radius: 28px; background: #fff; padding: 12px 12px 0; }
.case-visual { position: relative; aspect-ratio: 590 / var(--case-height); overflow: hidden; border-radius: 20px; background: linear-gradient(110deg, #e4f3f1, #c4e2e7); }
.case-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-tags { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.case-tags li { padding: 8px 14px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; }
.case-copy { padding: 12px 12px 22px; }
.case-copy h3, .case-cta h3 { margin: 0; font-size: 24px; line-height: 29px; font-weight: 550; letter-spacing: -.025em; }
.case-copy p, .case-cta p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 21px; }
.case-soon { position: absolute; bottom: 20px; left: 32px; color: #a4b8bd; font-size: 110px; line-height: 1; letter-spacing: -.035em; font-weight: 350; }
.case-cta { min-height: 170px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 32px; }
.case-cta h3 { font-size: 26px; line-height: 31px; }
.case-cta p { max-width: 325px; line-height: 17px; }
.case-cta .home-button { min-height: 52px; padding-inline: 22px; }

.service-grid, .review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-grid { scroll-margin-top: 24px; }
.service-card { min-height: 574px; display: flex; flex-direction: column; padding: 32px 36px; border-radius: 28px; background: #fff; }
.service-card--featured { background: var(--border); }
.service-meta { min-height: 30px; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.service-badge { padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 13px; line-height: 16px; font-weight: 550; }
.service-card--featured .service-badge { background: var(--accent); color: #fff; }
.service-card h3, .team-card h3 { margin: 12px 0 0; font-size: 30px; line-height: 36px; font-weight: 400; }
.service-card h3 { max-width: 320px; }
.service-card > p { margin: 18px 0 0; min-height: 46px; color: var(--muted); font-size: 15px; line-height: 23px; }
.service-price { display: block; margin: 16px 0 0; font-size: 32px; line-height: 38px; letter-spacing: -.035em; font-weight: 400; }
.service-features { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.service-features h4 { margin: 0; color: var(--muted); font-size: 13px; line-height: 18px; font-weight: 500; }
.service-features ul { margin: 8px 0 20px; padding: 0; list-style: none; }
.service-features li { display: flex; gap: 7px; margin-bottom: 7px; font-size: 15px; line-height: 21px; letter-spacing: -.01em; }
.service-features li::before { content: '✓'; }
.service-card--featured li::before { color: var(--accent); }
.service-card .home-button { width: 100%; margin-top: auto; }

.team-card { min-height: 464px; padding: 32px; border-radius: 28px; background: #fff; }
.team-card--light { background: var(--soft); }
.team-card--dark { background: var(--ink); color: #fff; }
.team-card--accent { background: var(--accent); color: #fff; }
.team-photo { height: 180px; display: flex; align-items: center; border-radius: 20px; background: #eaeaf0; color: var(--muted); font-size: 12px; }
.team-card--light .team-photo { background: #e4e4eb; }
.team-card--dark .team-photo, .team-card--accent .team-photo { background: #ffffff20; color: #ffffffba; }
.team-card h3 { margin-top: 15px; }
.team-person { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 18px; }
.team-description { margin: 6px 0 0; font-size: 14px; line-height: 22px; }
.team-card--dark .team-person, .team-card--accent .team-person { color: #ffffffb3; }
.team-card--dark .team-description, .team-card--accent .team-description { color: #ffffffe0; }

.process-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 120px minmax(260px, 520px) minmax(220px, 1fr) max-content; align-items: center; min-height: 93px; border-top: 1px solid var(--line); }
.process-number { color: var(--accent); font-size: 14px; font-weight: 500; }
.process-list h3 { margin: 0; font-size: 36px; line-height: 1.15; font-weight: 350; }
.process-list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 22px; }
.process-duration { margin-left: 24px; text-align: right; font-size: 15px; font-weight: 550; }

.home-quiz { min-height: 602px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: center; gap: 44px; padding: 56px; border-radius: 28px; color: #fff; background: var(--accent); }
.quiz-intro .home-kicker { color: #e0e4ff; margin-bottom: 18px; }
.quiz-intro > p:last-child { max-width: 430px; margin: 20px 0 0; color: #e0e4ff; font-size: 16px; line-height: 25px; }
.quiz-panel { min-height: 490px; display: flex; flex-direction: column; padding: 36px; border-radius: 24px; background: #fff; color: var(--ink); }
.quiz-status { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; line-height: 20px; }
.quiz-status span:first-child { color: var(--accent); font-weight: 550; }
.quiz-progress { display: block; width: 100%; height: 4px; margin: 14px 0 20px; appearance: none; border: 0; border-radius: 999px; background: var(--border); color: var(--accent); }
.quiz-progress::-webkit-progress-bar { background: var(--border); border-radius: inherit; }
.quiz-progress::-webkit-progress-value { background: var(--accent); border-radius: inherit; }
.quiz-progress::-moz-progress-bar { background: var(--accent); border-radius: inherit; }
.quiz-panel fieldset, .contact-choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.quiz-panel legend, .quiz-result h3 { margin: 0 0 14px; padding: 0; font-size: 26px; line-height: 32px; font-weight: 400; letter-spacing: -.025em; }
.quiz-options { display: grid; gap: 17px; }
.quiz-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 0 17px; border: 1px solid transparent; border-radius: 16px; background: #f4f4f6; font-size: 15px; line-height: 20px; cursor: pointer; }
.quiz-option:has(input:checked) { background: #eef0ff; border-color: var(--accent); }
.quiz-option input { margin: 0; width: 17px; height: 17px; accent-color: var(--accent); }
.quiz-actions { display: flex; gap: 10px; margin-top: 16px; }
.quiz-result p { color: var(--muted); line-height: 1.5; }
.quiz-result .home-button { margin-top: 10px; }

.review-controls { display: flex; gap: 10px; }
.review-controls .home-button { width: 56px; padding: 0; font-size: 19px; }
.review-card { min-height: 264px; margin: 0; padding: 36px; border-radius: 28px; background: #fff; }
.review-card:first-child { background: var(--ink); color: #fff; }
.review-card blockquote { margin: 0; font-size: 20px; line-height: 30px; font-weight: 400; }
.review-card figcaption { display: flex; gap: 14px; align-items: center; margin-top: 23px; }
.review-avatar { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--soft); }
.review-card:first-child .review-avatar { background: #ffffff20; }
.review-card strong, .review-card small { display: block; }
.review-card strong { font-size: 15px; font-weight: 550; }
.review-card small { margin-top: 4px; font-size: 13px; color: var(--muted); }
.review-card:first-child small { color: #ffffffba; }

.home-faq { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 60px; }
.faq-intro > p:not(.home-kicker) { margin: 18px 0 14px; color: var(--muted); font-size: 15px; line-height: 23px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 77px; font-size: 24px; line-height: 30px; font-weight: 380; letter-spacing: -.018em; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--accent); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details[open] summary { min-height: 65px; }
.faq-list details p { margin: 0; padding: 0 24px 26px 0; color: var(--muted); font-size: 15px; line-height: 23px; }

.home-contact { margin-top: 100px; padding-bottom: 0; }
.contact-telegram { min-height: 72px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: 28px 28px 0 0; background: #fff; box-shadow: 0 -12px 38px #22233326; }
.contact-telegram span { font-size: 30px; font-weight: 350; letter-spacing: -.03em; }
.contact-telegram small { color: var(--muted); font-size: 14px; font-weight: 550; }
.contact-panel { min-height: 560px; margin-top: -1px; padding: 40px 56px 50px; border-radius: 28px; background: var(--ink); color: #fff; }
.contact-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.contact-head h2 { font-size: 64px; line-height: 1.04; font-weight: 350; }
.contact-head > span { color: #d0d0da; font-size: 14px; }
.contact-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 40px; }
.contact-copy p { margin: 0; color: #eeeef1; font-size: 20px; line-height: 31px; }
.contact-copy address { margin-top: 22px; font-style: normal; color: #b4b4c0; font-size: 18px; line-height: 29px; }
.contact-field { display: block; min-height: 65px; }
.contact-field input, .contact-field textarea { display: block; width: 100%; border: 0; border-bottom: 1px solid #64646d; border-radius: 0; padding: 12px 0 13px; background: transparent; color: #fff; font: 400 20px/28px Inter, Arial, sans-serif; }
.contact-field textarea { min-height: 54px; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #9b9ba8; }
.contact-choices { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.contact-choices span { display: block; padding: 10px 16px; border: 1px solid #51515b; border-radius: 999px; color: #f5f5f7; font-size: 14px; line-height: 17px; cursor: pointer; }
.contact-choices input:checked + span { border-color: var(--accent); background: var(--accent); }
.contact-choices input:focus-visible + span { outline: 2px solid #aeb6ff; outline-offset: 4px; }
.contact-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 22px; }
.contact-actions small { color: #a7a7b3; font-size: 12px; line-height: 17px; }
.contact-status { margin: 14px 0 0; color: #e2e5ff; font-size: 14px; line-height: 20px; }
.contact-status a { text-decoration: underline; }

.site-footer { padding: 100px 0 48px; }
.site-footer-grid { display: grid; grid-template-columns: 1.04fr 1fr 1fr 240px; gap: 24px; }
.site-footer .site-brand { line-height: 35px; }
.footer-brand p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 18px; }
.site-footer h2 { margin: 0 0 8px; color: var(--accent); font-size: 13px; line-height: 18px; font-weight: 550; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; font-size: 15px; line-height: 20px; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; color: var(--muted); font-size: 13px; line-height: 20px; }

@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  [data-reveal-group].has-motion > * { opacity: 0; transform: translateY(40px); transition: transform .6s ease-out, opacity .6s ease-out; transition-delay: calc(var(--reveal-index, 0) * .1s); }
  [data-reveal-group].has-motion.is-visible > *, [data-reveal-group].has-motion:focus-within > * { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .home-button { transition: none; } .home-button:not(:disabled):hover { transform: none; } }
