:root {
    --ink: #17181b;
    --ink-soft: #3f4146;
    --muted: #5e5a53;
    --paper: #f3efe6;
    --paper-2: #e8e2d4;
    --card: #fbf8f2;
    --line: #ddd4c4;
    --acid: #d6ff00;
    --acid-press: #c4ee00;
    --night: #12141a;
    --night-2: #1c1f27;
    --header-h: 68px;
    --pad: clamp(16px, 3vw, 48px);
    --sans: "Golos Text", "Segoe UI", sans-serif;
    --display: "Unbounded", "Golos Text", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

::selection {
    background: var(--acid);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--acid);
    outline-offset: 3px;
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.grain {
    position: fixed;
    inset: 0;
    z-index: 40;
    pointer-events: none;
    opacity: 0.14;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.wrap {
    width: 100%;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--night);
    color: #f4f0e6;
    height: var(--header-h);
}

.topbar-row {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.04em;
    color: #f7f4ee;
    flex-shrink: 0;
}

.logo span {
    color: var(--acid);
}

.menu {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.menu a {
    text-decoration: none;
    color: #ece7dc;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.menu a:hover,
.menu a[aria-current="page"] {
    color: var(--acid);
}

.topbar-side {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.top-phone {
    color: #f7f4ee;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    white-space: nowrap;
    margin-right: 6px;
}

.top-phone:hover {
    color: var(--acid);
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(244, 240, 230, 0.28);
    color: #f7f4ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: transparent;
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

.icon-btn:hover {
    background: var(--acid);
    border-color: var(--acid);
    color: var(--ink);
}

.icon-btn--brand {
    border: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.icon-btn--brand img {
    width: 40px;
    height: 40px;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.icon-btn--brand:hover {
    background: transparent;
    border-color: transparent;
    opacity: 0.86;
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: 4px;
    border: 0;
    background: transparent;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 2px;
    background: #f7f4ee;
    border-radius: 1px;
}

.sheet {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: var(--night);
    color: #f7f4ee;
    display: flex;
    flex-direction: column;
    padding: 12px var(--pad) 28px;
}

.sheet[hidden] {
    display: none !important;
}

.sheet-top {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sheet-close {
    border: 0;
    background: transparent;
    color: #f7f4ee;
    font-weight: 600;
    padding: 10px 0 10px 16px;
    cursor: pointer;
}

.sheet nav {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
}

.sheet nav a {
    text-decoration: none;
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(26px, 7vw, 36px);
    letter-spacing: -0.04em;
    padding: 14px 0;
    border-bottom: 1px solid rgba(247, 244, 238, 0.12);
}

.sheet nav a[aria-current="page"] {
    color: var(--acid);
}

.sheet-contact {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 28px;
}

.sheet-contact .top-phone {
    font-size: 20px;
}

.icon-row {
    display: flex;
    gap: 10px;
}

.screen-title {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(34px, 4.6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin: 0;
    text-wrap: balance;
}

.page-head {
    padding-top: clamp(28px, 4vw, 48px);
    padding-bottom: clamp(8px, 2vw, 20px);
}

.page-head--split {
    padding-bottom: clamp(28px, 4vw, 56px);
}

.split {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

.page-head--split .screen-title {
    font-size: clamp(36px, 3.5vw, 60px);
    max-width: 8em;
}

.page-head--split .lede {
    max-width: 26rem;
}

.page-shot {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    filter: drop-shadow(0 18px 32px rgba(23, 24, 27, 0.13));
}

@media (max-width: 980px) {
    .split {
        grid-template-columns: 1fr;
        gap: 22px;
        align-items: start;
    }
}

.home-head {
    padding-top: clamp(28px, 4vw, 42px);
    padding-bottom: 8px;
}

.home-head .screen-title {
    font-size: clamp(28px, 3.2vw, 48px);
    line-height: 1.12;
    max-width: 18em;
}

.home-head .keep {
    white-space: nowrap;
}

.home-head .lede {
    margin-top: 14px;
    max-width: 46rem;
}

@media (min-width: 760px) {
    .screen-title--line {
        white-space: nowrap;
    }
}

.crumbs {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
}

.crumbs a {
    color: inherit;
    text-decoration: none;
}

.crumbs a:hover {
    background: var(--acid);
    color: var(--ink);
}

.kicker {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.lede {
    margin: 18px 0 0;
    max-width: 42rem;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.45;
    color: var(--ink-soft);
}

.services {
    padding-top: clamp(28px, 4vw, 48px);
    padding-bottom: clamp(20px, 4vw, 36px);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 1.4vw, 20px);
}

.service-card {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    min-height: 0;
    padding: clamp(16px, 1.6vw, 26px);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.service-card:hover {
    border-color: var(--ink);
}

.service-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.num {
    font-variant-numeric: tabular-nums;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.go {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--acid);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.service-card h2,
.service-card h3 {
    margin: 0 0 8px;
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(24px, 2vw, 34px);
    letter-spacing: -0.04em;
    line-height: 1.12;
}

.service-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 16px;
    max-width: 28ch;
}

.card-art {
    flex: 1 1 auto;
    min-height: 0;
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    align-self: center;
    margin: 8px 0;
}

.card-art--mark {
    max-width: 88%;
    max-height: 90%;
    height: auto;
}

.service-card > div:last-child {
    flex-shrink: 0;
}

.open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 16px;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--acid);
    color: var(--ink);
    font-weight: 700;
    font-size: 15px;
}

.service-card:hover .open-btn {
    background: var(--acid-press);
}

.band {
    background: var(--paper-2);
    padding: clamp(48px, 7vw, 92px) 0;
    scroll-margin-top: var(--header-h);
}

.band-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: end;
}

.band h2,
.block h2 {
    margin: 0 0 12px;
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(28px, 3vw, 44px);
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.band-lead {
    margin: 0 0 18px;
    max-width: 36rem;
    color: var(--ink-soft);
}

.block h2.kicker {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 18px;
}

.big-contact {
    display: inline-block;
    overflow-wrap: anywhere;
    margin: 8px 0 18px;
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(22px, 3vw, 40px);
    letter-spacing: -0.04em;
    line-height: 1.15;
    text-decoration: none;
    color: var(--ink);
}

.big-contact:hover {
    background: var(--acid);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 0;
    background: var(--acid);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.btn svg,
.btn img {
    width: 22px;
    height: 22px;
    display: block;
    border-radius: 6px;
}

.btn:hover {
    background: var(--acid-press);
}

.btn:active {
    transform: translateY(1px);
}

.btn:focus-visible {
    outline-color: var(--ink);
}

.lead-form {
    display: grid;
    gap: 10px;
}

.lead-form p {
    margin: 0 0 4px;
    font-size: 14px;
    color: var(--muted);
}

.lead-form input {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    border: 1px solid #cfc6b6;
    border-radius: 8px;
    background: var(--card);
    color: var(--ink);
}

.lead-form input:focus {
    border-color: var(--ink);
    outline: none;
}

.form-note {
    min-height: 1.3em;
    margin: 0;
    font-size: 14px;
}

.form-note.is-bad {
    color: #8a2e24;
}

.block {
    padding-top: clamp(56px, 8vw, 104px);
    padding-bottom: clamp(56px, 8vw, 104px);
}

.about-line {
    margin: 0;
    max-width: 18em;
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(28px, 3.4vw, 52px);
    letter-spacing: -0.045em;
    line-height: 1.12;
}

.about-copy {
    margin: 22px 0 0;
    max-width: 40rem;
    color: var(--ink-soft);
    font-size: 18px;
}

.reviews-head,
.team-head,
.notes-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.reviews-head h2,
.team-head h2,
.notes-head h2 {
    margin: 0;
}

.reviews-brand {
    display: inline-block;
    margin: 0 0 14px;
    line-height: 0;
}

.reviews-brand img {
    display: block;
    height: 40px;
    width: auto;
}

.reviews-brand:hover {
    opacity: 0.8;
}

.carousel-nav {
    display: flex;
    gap: 8px;
}

.carousel-nav button {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
    font-size: 18px;
    cursor: pointer;
}

.carousel-nav button:hover {
    background: var(--acid);
    border-color: var(--acid);
}

.reviews-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.review {
    flex: 0 0 calc((100% - 32px) / 2.35);
    scroll-snap-align: start;
    min-height: 250px;
    margin: 0;
    padding: 22px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.review blockquote {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
}

.review figcaption {
    margin-top: auto;
    padding-top: 22px;
}

.review strong {
    display: block;
    font-weight: 650;
}

.review span {
    color: var(--muted);
    font-size: 14px;
}

.maps-link {
    display: inline-block;
    margin-top: 18px;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.maps-link:hover {
    background: var(--acid);
    opacity: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: start;
    gap: clamp(16px, 2vw, 28px);
}

.person {
    margin: 0;
}

.portrait {
    aspect-ratio: 3 / 4;
    border-radius: 4px;
    background: #e4ddd0;
    overflow: hidden;
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.person figcaption {
    padding-top: 12px;
}

.who {
    display: block;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.job {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 15px;
}

.notes {
    display: flex;
    flex-direction: column;
}

.note {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: baseline;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
}

.notes .note:last-child {
    border-bottom: 1px solid var(--line);
}

.note time,
.note-meta {
    color: var(--muted);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.note-title {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.note:hover .note-title {
    background: var(--acid);
}

.prose {
    padding-bottom: clamp(20px, 4vw, 40px);
    scroll-margin-top: calc(var(--header-h) + 12px);
}

.prose h2 {
    margin: 1.8em 0 0.45em;
    font-size: clamp(22px, 2vw, 30px);
    letter-spacing: -0.03em;
    line-height: 1.2;
    font-weight: 650;
}

.prose p,
.prose li {
    max-width: 68ch;
}

.prose p {
    margin: 0 0 0.85em;
}

.prose ul,
.prose ol {
    margin: 0 0 1em;
    padding-left: 1.2em;
}

.prose li + li {
    margin-top: 0.35em;
}

.prose a {
    text-underline-offset: 3px;
}

.prose a:hover {
    background: var(--acid);
    text-decoration: none;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 8px 0 8px;
}

.step {
    border-top: 1px solid var(--ink);
    padding-top: 12px;
}

.step b {
    display: block;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.step p {
    margin: 0;
    color: var(--ink-soft);
    max-width: none;
}

.page-head--offer {
    padding-bottom: clamp(28px, 4vw, 48px);
}

.page-head--offer .screen-title {
    max-width: 14em;
}

.hero-lead {
    margin: 12px 0 0;
    max-width: 40rem;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.btn--line {
    background: transparent;
    border: 1px solid var(--ink);
}

.btn--line:hover {
    background: var(--acid);
}

.fit {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 28px;
    margin: 8px 0 0;
}

.fit li {
    max-width: none;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.offer-grid,
.price-grid {
    display: grid;
    gap: 12px;
    margin: 8px 0 18px;
}

.offer-grid {
    grid-template-columns: 1fr 1fr;
}

.price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer,
.price {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

.offer h3,
.price h3,
.step h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.offer p,
.price p {
    margin: 0;
}

.price .sum {
    margin: 4px 0 2px;
    max-width: none;
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(26px, 2vw, 32px);
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--ink);
}

.steps.steps--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq {
    max-width: 68ch;
}

.faq details {
    border-top: 1px solid var(--line);
}

.faq details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    cursor: pointer;
    padding: 14px 0;
}

.faq summary h3 {
    display: inline;
    margin: 0;
    font-size: 18px;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.35;
}

.faq details p {
    margin: 0 0 14px;
}

.foot {
    background: var(--night);
    color: #f3eee4;
    padding: 42px 0 22px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
}

.foot .logo {
    margin-bottom: 10px;
}

.foot p {
    margin: 0;
    max-width: 28rem;
    color: #c9c3b6;
    font-size: 15px;
}

.foot nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.foot a {
    text-decoration: none;
}

.foot nav a:hover,
.foot-contact a:hover {
    color: var(--acid);
}

.foot-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.foot-bottom {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(243, 238, 228, 0.14);
    color: #9c968a;
    font-size: 14px;
}

@media (max-width: 1240px) {
    .menu {
        display: none;
    }

    .burger {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .topbar-side .top-phone {
        display: none;
    }
}

@media (max-width: 980px) {
    .steps,
    .band-grid,
    .foot-grid,
    .price-grid {
        grid-template-columns: 1fr;
    }

    .review {
        flex-basis: 78%;
    }
}

@media (max-width: 1100px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .service-grid,
    .offer-grid,
    .fit,
    .steps.steps--six {
        grid-template-columns: 1fr;
    }

    .note {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .review {
        flex-basis: 88%;
    }
}

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

@media (max-width: 420px) {
    .screen-title {
        font-size: 30px;
    }

    .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reviews-track {
        scroll-behavior: auto;
    }
}
