:root {
    --green: #23AF69;
    --green-600: #1E985B;
    --green-100: #E3F7ED;
    --orange: #f5a524;
    --orange-600: #e08f0d;

    --ink: #101114;
    --ink-2: #1a1c20;
    --ink-3: #26282e;

    --text: #14161a;
    --muted: #6b7280;
    --muted-dark: #9aa1ad;

    --bg: #ffffff;
    --bg-soft: #f4f5f7;
    --bg-card: #f5f6f8;
    --line: #e6e8ec;
    --line-dark: #2b2e35;

    --sky: #d9e6f7;
    --sky-2: #c7daf2;

    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(16, 17, 20, .04);
    --shadow: 0 12px 32px -12px rgba(16, 17, 20, .12);
    --shadow-lg: 0 32px 64px -24px rgba(16, 17, 20, .22);

    --container: 1320px;
    --gutter: clamp(20px, 4vw, 60px);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --dur: .45s;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

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

body.is-locked {
    overflow: hidden;
}

h1, h2, h3, h4, p, figure, blockquote {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

button {
    font: inherit;
    color: inherit;
    border: 0;
    background: none;
    cursor: pointer;
}

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

address {
    font-style: normal;
}

.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: clamp(64px, 8vw, 120px);
}

.section--dark {
    background: var(--ink);
    color: #fff;
}

.section--dark .section__sub {
    color: var(--muted-dark);
}

.section__head {
    margin-bottom: clamp(32px, 4vw, 56px);
}

.section__head--center {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
}

.section__head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.section__title {
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 800;
}

.section__sub {
    margin-top: 14px;
    color: var(--muted);
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.6;
    max-width: 56ch;
}

.section__head--center .section__sub {
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: var(--radius-xs);
    background: var(--ink);
    color: #fff;
    transition: top .2s;
}

.skip-link:focus {
    top: 16px;
}

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
    border-radius: 6px;
}

.btn {
    --btn-bg: #fff;
    --btn-fg: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 7px 7px 24px;
    border-radius: var(--radius-pill);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn:active {
    transform: translateY(0);
}

.btn--pill {
    border: 1px solid var(--line);
}

.btn--green {
    --btn-bg: var(--green);
    --btn-fg: #fff;
    border-color: transparent;
}

.btn--green:hover {
    --btn-bg: var(--green-600);
}

.btn--dark {
    --btn-bg: var(--ink);
    --btn-fg: #fff;
    border-color: transparent;
}

.btn--dark:hover {
    --btn-bg: var(--ink-2);
}

.btn--full {
    justify-content: space-between;
    width: 100%;
}

.btn__circle {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    flex: none;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.btn__circle--dark {
    background: var(--ink);
}

.btn__circle svg {
    width: 17px;
    height: 17px;
    transition: transform var(--dur) var(--ease);
}

.btn:hover .btn__circle {
    transform: rotate(45deg);
}

.btn:hover .btn__circle svg {
    transform: rotate(-45deg);
}

.round-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    flex: none;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.round-btn svg {
    width: 18px;
    height: 18px;
}

.round-btn--orange {
    background: var(--orange);
}

.round-btn--orange:hover {
    background: var(--orange-600);
    transform: rotate(45deg);
}

.round-btn--orange:hover svg {
    transform: rotate(-45deg);
}

.chip {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.chip:hover {
    border-color: #4a4e57;
    background: rgba(255, 255, 255, .06);
}

.chip.is-active {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background .3s;
}

.header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px -18px rgba(16, 17, 20, .5);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 74px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: none;
}

.logo__mark {
    height: 24px;
    width: auto;
    flex: none;
}

.logo__text {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -.02em;
}

.logo__text span {
    font-weight: 400;
}

.nav {
    margin-right: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav__link {
    display: inline-block;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    transition: color .25s, background .25s;
}

.nav__link:hover {
    color: var(--text);
    background: var(--bg-soft);
}

.nav__link.is-active {
    color: var(--text);
}

.nav__link--pill {
    border: 1px solid var(--line);
    color: var(--text);
}

.nav__link--pill:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.header__side {
    display: flex;
    align-items: center;
    gap: 14px;
}

.socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: var(--muted);
    transition: color .25s, transform .25s var(--ease), background .25s;
}

.social svg {
    width: 17px;
    height: 17px;
}

.social:hover {
    transform: translateY(-2px);
}

.social--tg:hover {
    color: #229ED9;
}

.social--vk:hover {
    color: #0077FF;
}

.social--gh:hover {
    color: #181717;
}

.social--yt:hover {
    color: #FF0000;
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    padding: 12px 11px;
    flex-direction: column;
    justify-content: space-between;
}

.burger span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    padding-block: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 80px);
}

.hero__title {
    font-size: clamp(30px, 3.8vw, 54px);
    line-height: 1.14;
    letter-spacing: -.03em;
    font-weight: 800;
}

.hero__title .reveal-line {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .hero__title .reveal-line {
        white-space: normal;
    }
}

.hero__title .reveal-line {
    display: block;
}

.hero .btn {
    margin-top: clamp(24px, 3vw, 36px);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card--service {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 28px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid transparent;
    text-align: center;
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.card--service::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 160px at 50% 0%, rgba(35, 175, 105, .10), transparent 70%);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
    pointer-events: none;
}

.card--service:hover {
    transform: translateY(-6px);
    background: #fff;
    border-color: var(--line);
    box-shadow: var(--shadow);
}

.card--service:hover::after {
    opacity: 1;
}

.card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: #fff;
    color: var(--green);
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.card--service:hover .card__icon {
    transform: translateY(-2px) scale(1.04);
    background: var(--green);
    color: #fff;
}

.card__icon svg {
    width: 28px;
    height: 28px;
}

.card__title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.card__text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 34ch;
    margin-inline: auto;
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.card__link svg {
    width: 14px;
    height: 14px;
}

.card--service:hover .card__link {
    opacity: 1;
    transform: none;
}

.portfolio .section__sub {
    color: var(--muted-dark);
}

.filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
}

.work {
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.work.is-hidden {
    display: none;
}

.work__shot {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.work:hover .work__shot {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.work__title {
    margin-top: 18px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.work__text {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted-dark);
    max-width: 62ch;
}

.portfolio__cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(40px, 5vw, 64px);
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.member {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.member__tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .01em;
}

.member--join {
    grid-column: span 2;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1.5px dashed #bcc9dd;
    background: transparent;
    color: var(--muted);
    text-align: center;
    padding: 24px;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.member--join:hover {
    border-color: var(--green);
    background: var(--green-100);
    color: var(--green-600);
    box-shadow: none;
}

.member__plus {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.member__plus svg {
    width: 22px;
    height: 22px;
}

.member--join:hover .member__plus {
    transform: rotate(90deg);
    background: var(--green);
    color: #fff;
}

.member__join-text {
    font-size: 13px;
    font-weight: 600;
    max-width: 22ch;
}

.reviews {
    background: var(--bg-soft);
}

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

.review {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.review:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.review--lg {
    padding: clamp(28px, 3vw, 40px);
}

.stars {
    display: flex;
    gap: 4px;
    color: var(--orange);
    margin-bottom: 18px;
}

.stars svg {
    width: 16px;
    height: 16px;
}

.review__text {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.review--lg .review__text {
    font-size: 15px;
}

.review__text p + p {
    margin-top: 12px;
}

.review__foot {
    margin-top: auto;
    padding-top: 24px;
    display: grid;
    gap: 3px;
}

.review__author {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.review__meta {
    font-size: 12px;
    color: var(--muted);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.contact {
    position: relative;
    padding-top: clamp(64px, 8vw, 110px);
    padding-bottom: clamp(56px, 7vw, 96px);
    overflow: hidden;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.field {
    position: relative;
}

.field--wide {
    grid-column: span 2;
    grid-row: span 2;
}

.input {
    width: 100%;
    padding: 26px 18px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-dark);
    background: rgba(255, 255, 255, .03);
    color: #fff;
    font: inherit;
    font-size: 15px;
    transition: border-color .25s, background .25s, box-shadow .25s;
}

.input--area {
    resize: vertical;
    min-height: 100%;
    padding-top: 30px;
}

.input:hover {
    border-color: #3b3f48;
}

.input:focus {
    outline: none;
    border-color: var(--green);
    background: rgba(35, 175, 105, .06);
    box-shadow: 0 0 0 4px rgba(35, 175, 105, .12);
}

.input.is-invalid {
    border-color: #e2574c;
    box-shadow: 0 0 0 4px rgba(226, 87, 76, .12);
}

.label {
    position: absolute;
    left: 19px;
    top: 18px;
    color: var(--muted-dark);
    font-size: 15px;
    pointer-events: none;
    transform-origin: left top;
    transition: transform .2s var(--ease), color .2s;
}

.input:focus + .label,
.input:not(:placeholder-shown) + .label {
    transform: translateY(-9px) scale(.76);
    color: var(--green);
}

.input--area:focus + .label,
.input--area:not(:placeholder-shown) + .label {
    transform: translateY(-13px) scale(.76);
}

.error {
    display: block;
    min-height: 16px;
    padding: 4px 4px 0;
    font-size: 12px;
    color: #ff8177;
}

.error--consent {
    grid-column: 1 / -1;
}

.form__submit {
    display: grid;
    align-content: start;
    gap: 14px;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.consent input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.consent__box {
    display: grid;
    place-items: center;
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 5px;
    border: 1px solid var(--line-dark);
    color: transparent;
    transition: background .2s, border-color .2s, color .2s;
}

.consent__box svg {
    width: 11px;
    height: 11px;
}

.consent input:checked + .consent__box {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.consent input:focus-visible + .consent__box {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.consent__text {
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted-dark);
}

.consent__text a {
    color: #cfd4dc;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form__status {
    grid-column: 1 / -1;
    min-height: 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
}

.form__status.is-error {
    color: #ff8177;
}

.footer {
    padding-block: clamp(40px, 5vw, 64px) 24px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line-dark);
}

.footer__col {
    display: grid;
    align-content: start;
    gap: 12px;
    font-size: 14px;
}

.footer__col a {
    color: var(--muted-dark);
    transition: color .25s;
    width: fit-content;
}

.footer__col a:hover {
    color: #fff;
}

.footer__col--contacts {
    gap: 8px;
}

.footer__mail {
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
}

.footer__mail:hover {
    color: var(--green) !important;
}

.footer__phone {
    font-size: 15px;
    font-weight: 600;
}

.footer__tg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.footer__tg svg {
    width: 16px;
    height: 16px;
}

.footer__tg:hover {
    color: #229ED9 !important;
}

.footer__col--social {
    justify-items: end;
}

.socials--lg {
    gap: 8px;
}

.socials--lg .social {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ink-3);
    color: #fff;
}

.socials--lg .social:hover {
    background: var(--green);
    color: #fff;
}

.footer__mid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 32px;
}

.footer__addr {
    font-size: 14px;
    color: var(--muted-dark);
    display: grid;
    gap: 4px;
}

.footer__addr strong {
    color: #fff;
    font-size: 15px;
}

.footer__addr a {
    width: fit-content;
    transition: color .25s;
}

.footer__addr a:hover {
    color: #fff;
}

.to-top {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted-dark);
    transition: color .25s;
}

.to-top:hover {
    color: #fff;
}

.to-top__circle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line-dark);
    transition: transform .35s var(--ease), background .25s, border-color .25s, color .25s;
}

.to-top__circle svg {
    width: 16px;
    height: 16px;
}

.to-top:hover .to-top__circle {
    transform: translateY(-4px);
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--d, 0ms);
    will-change: opacity, transform;
}

.js .reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

@media (max-width: 1180px) {
    .nav__list {
        gap: 2px;
    }

    .nav__link {
        padding: 9px 10px;
        font-size: 13px;
    }

    .socials {
        display: none;
    }
}

@media (max-width: 980px) {
    .burger {
        display: flex;
    }

    .header__side {
        margin-left: auto;
    }

    .nav {
        position: fixed;
        inset: 74px 0 auto 0;
        margin: 0;
        padding: 16px var(--gutter) 28px;
        background: rgba(255, 255, 255, .97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-14px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    }

    .nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav__link {
        padding: 14px 16px;
        font-size: 16px;
        text-align: left;
    }

    .nav__link--pill {
        text-align: center;
        margin-top: 8px;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .reviews__shot {
        min-height: 260px;
        order: -1;
    }

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

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

    .field--wide {
        grid-column: span 2;
        grid-row: auto;
    }

    .input--area {
        min-height: 140px;
    }

    .form__submit {
        grid-column: span 2;
    }

    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer__col--social {
        justify-items: start;
    }
}

@media (max-width: 700px) {
    .header__inner {
        height: 66px;
        gap: 14px;
    }

    .nav {
        inset-block-start: 66px;
    }

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

    .card__text {
        max-width: none;
    }

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

    .filters {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }

    .filters::-webkit-scrollbar {
        display: none;
    }

    .filters .chip {
        flex: none;
    }

    .filters .round-btn {
        display: none;
    }

    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .member--join {
        grid-column: span 2;
    }

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

    .field--wide, .form__submit {
        grid-column: span 1;
    }

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

    .footer__mid {
        flex-direction: column;
        align-items: flex-start;
    }

}

.btn--outline {
    --btn-bg: #fff;
    --btn-fg: var(--text);
    border: 1.5px solid var(--green);
    box-shadow: none;
}

.btn--outline:hover {
    background: var(--green-100);
    box-shadow: var(--shadow);
}

.btn--outline:not(:has(.btn__circle)) {
    padding: 15px 30px;
}

.page-404 {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 74px);
    padding-block: clamp(40px, 6vw, 80px);
}

.e404 {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
}

.e404__art {
    position: relative;
}

.e404__title {
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 800;
}

.e404__text {
    margin-top: 16px;
    max-width: 44ch;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.e404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: clamp(28px, 3vw, 40px);
}

.cookie {
    position: fixed;
    left: var(--gutter);
    bottom: 24px;
    z-index: 120;

    display: flex;
    align-items: center;
    gap: 20px;
    max-width: min(660px, calc(100vw - var(--gutter) * 2));
    padding: 14px 14px 14px 24px;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);

    opacity: 0;
    visibility: hidden;
    transform: translateY(24px);
    transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}

.cookie.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.cookie[hidden] {
    display: none;
}

.cookie__icon {
    flex: none;
    width: 44px;
    height: 44px;
}

.cookie__icon svg {
    width: 100%;
    height: 100%;
}

.cookie__body {
    fill: #d9a066;
}

.cookie__chip {
    fill: #7a4a25;
}

.cookie__text {
    flex: 1;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
    color: var(--text);
}

.cookie__btn {
    flex: none;
}

@media (prefers-reduced-motion: reduce) {
    .cookie {
        transition: none;
    }
}

@media (max-width: 980px) {
    .e404 {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .e404__art {
        max-width: 440px;
    }

    .e404__text {
        margin-inline: auto;
    }

    .e404__actions {
        justify-content: center;
    }

    .page-404 {
        min-height: 0;
    }
}

@media (max-width: 700px) {
    .cookie {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 14px;
        padding: 20px;
        border-radius: var(--radius);
    }

    .cookie__text {
        flex: 1 1 100%;
        order: 2;
    }

    .cookie__btn {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

.works__head {
    margin-bottom: clamp(28px, 3.5vw, 44px);
}

.works__title {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.2;
    letter-spacing: -.02em;
    font-weight: 800;
}

.works__title span {
    display: block;
}

.works__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: clamp(24px, 3vw, 36px);
}

.filters--light .chip {
    border-color: var(--line);
    color: var(--text);
    background: #fff;
}

.filters--light .chip:hover {
    border-color: var(--ink);
    background: var(--bg-soft);
}

.filters--light .chip.is-active {
    background: var(--orange);
    border-color: transparent;
    color: var(--ink);
}

.works__count {
    margin-top: 18px;
    font-size: 13px;
    color: var(--muted);
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
}

.project {
    display: block;
    color: inherit;
    animation: project-in .5s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 60ms);
}

@keyframes project-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.project__shot {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.project__shot:not(.ph) {
    background: var(--bg-card);
}

.project__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project:hover .project__shot {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project__title {
    margin-top: 18px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.01em;
}

a.project:hover .project__title {
    color: var(--green-600);
}

.project__text {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.project--skeleton {
    animation: none;
    pointer-events: none;
}

.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border-radius: var(--radius-xs);
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    to {
        transform: translateX(100%);
    }
}

.skeleton--line {
    height: 12px;
    margin-top: 12px;
}

.skeleton--title {
    height: 20px;
    width: 45%;
    margin-top: 18px;
}

.skeleton--short {
    width: 70%;
}

.projects__state {
    margin-top: 8px;
}

.projects__msg {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: clamp(48px, 8vw, 96px) 24px;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
}

.projects__msg-title {
    font-size: 19px;
    font-weight: 700;
}

.projects__msg-text {
    font-size: 14px;
    color: var(--muted);
    max-width: 44ch;
}

.projects__msg .btn {
    margin-top: 10px;
}

@media (prefers-reduced-motion: reduce) {
    .project {
        animation: none;
    }

    .skeleton::after {
        animation: none;
    }
}

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

    .works__bar {
        align-items: stretch;
    }

    .works__bar .btn {
        justify-content: space-between;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.career-hero {
    padding-block: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 80px);
}

.career-hero__title {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.22;
    letter-spacing: -.02em;
    font-weight: 700;
}

.career-hero__title span {
    display: block;
}

.career-hero .btn {
    margin-top: clamp(22px, 3vw, 32px);
}

.perks__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.perk {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 28px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid transparent;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.perk:hover {
    transform: translateY(-4px);
    background: #fff;
    border-color: var(--line);
    box-shadow: var(--shadow);
}

.perk__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: #fff;
    color: var(--orange);
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.perk__icon svg {
    width: 26px;
    height: 26px;
}

.perk:hover .perk__icon {
    transform: scale(1.05);
    background: var(--orange);
    color: #fff;
}

.perk__title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.perk__text {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.search {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 720px;
    margin-inline: auto;
}

.search__icon {
    position: absolute;
    left: 20px;
    display: grid;
    place-items: center;
    color: var(--muted);
    pointer-events: none;
}

.search__icon svg {
    width: 19px;
    height: 19px;
}

.search__input {
    width: 100%;
    padding: 17px 52px 17px 52px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    background: #fff;
    font: inherit;
    font-size: 15px;
    color: var(--text);
    transition: border-color .25s, box-shadow .25s;
}

.search__input::placeholder {
    color: var(--muted);
}

.search__input::-webkit-search-cancel-button {
    display: none;
}

.search__input:hover {
    border-color: #d5d9e0;
}

.search__input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(35, 175, 105, .12);
}

.search__clear {
    position: absolute;
    right: 14px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--muted);
    background: var(--bg-soft);
    transition: background .25s, color .25s;
}

.search__clear svg {
    width: 15px;
    height: 15px;
}

.search__clear:hover {
    background: var(--ink);
    color: #fff;
}

.search__clear[hidden] {
    display: none;
}

.vacancies__count {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    min-height: 20px;
}

.vacancies__list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.vacancies__state {
    margin-top: 20px;
}

.vacancy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 26px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid transparent;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.vacancy:hover {
    transform: translateY(-3px);
    background: #fff;
    border-color: var(--line);
    box-shadow: var(--shadow);
}

.vacancy__main {
    min-width: 0;
}

.vacancy__head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.vacancy__title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.vacancy__title a:hover {
    color: var(--green-600);
}

.vacancy__salary {
    font-size: 15px;
    font-weight: 700;
    color: var(--green-600);
}

.vacancy__text {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 70ch;
}

.vacancy__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.vacancy:hover .tag {
    background: var(--bg-soft);
}

.vacancy__side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.vacancy__services {
    display: flex;
    gap: 8px;
}

.vacancy__service {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--muted);
    transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}

.vacancy__service svg {
    width: 18px;
    height: 18px;
}

.vacancy__service:hover {
    transform: translateY(-2px);
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.vacancy__open {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink);
    background: #fff;
    transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s;
}

.vacancy__open svg {
    width: 17px;
    height: 17px;
}

.vacancy__open:hover {
    transform: rotate(45deg);
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.vacancy__open:hover svg {
    transform: rotate(-45deg);
}

.vacancy--skeleton {
    pointer-events: none;
}

.vacancy--skeleton .vacancy__main {
    width: 100%;
}

.resume {
    padding-block: clamp(56px, 7vw, 96px);
}

.resume__title {
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 700;
    letter-spacing: -.02em;
}

.resume__grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: clamp(28px, 4vw, 44px);
}

.resume__col {
    display: grid;
    gap: 10px;
}

.resume__col--end {
    justify-items: flex-end;
}

.resume__label {
    font-size: 13px;
    color: var(--muted-dark);
}

.resume__mail {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    color: var(--green);
    letter-spacing: -.01em;
    width: fit-content;
}

.resume__mail:hover {
    color: #fff;
}

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

@media (max-width: 700px) {
    .vacancy {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .vacancy__side {
        justify-content: space-between;
    }

    .search__input {
        padding-right: 48px;
        font-size: 14px;
    }

    .resume__grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .resume__col--end {
        justify-items: flex-start;
    }
}

.work {
    display: block;
    color: inherit;
    animation: project-in .5s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 60ms);
}

a.work:hover .work__title {
    color: var(--green);
}

.work--skeleton,
.project--skeleton {
    animation: none;
    pointer-events: none;
}

.work--skeleton .work__shot,
.project--skeleton .project__shot {
    aspect-ratio: 16 / 9;
}

.portfolio__state {
    margin-top: 8px;
}

.section--dark .skeleton {
    background: var(--ink-2);
}

.section--dark .skeleton::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
}

.section--dark .projects__msg {
    background: rgba(255, 255, 255, .03);
    border-color: var(--line-dark);
}

.section--dark .projects__msg-text {
    color: var(--muted-dark);
}

.section--dark .projects__msg .btn--outline {
    --btn-bg: transparent;
    --btn-fg: #fff;
}

.section--dark .projects__msg .btn--outline:hover {
    background: rgba(35, 175, 105, .12);
}

@media (prefers-reduced-motion: reduce) {
    .work {
        animation: none;
    }
}

.hero__banner {
    margin-top: clamp(32px, 4vw, 52px);
    border-radius: var(--radius-lg);
    background: #F3F8FF;
    overflow: hidden;
}

.hero__art {
    display: block;
    width: 100%;
    height: auto;
}

.work__shot img,
.project__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member:not(.member--join) {
    overflow: hidden;
    border: 1px solid var(--line);
}

.member__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--dur) var(--ease);
}

.member:hover .member__photo {
    transform: scale(1.05);
}

.reviews__shot {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
}

.career-hero__banner {
    margin-top: clamp(28px, 4vw, 44px);
    border-radius: var(--radius-lg);
    background: #F3F8FF;
    overflow: hidden;
}

.career-hero__banner img {
    display: block;
    width: 100%;
    height: auto;
}

.e404__art img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 700px) {
    .reviews__shot {
        min-height: 220px;
    }
}

.policy {
    padding-block: clamp(48px, 6vw, 88px);
}

.policy__head {
    max-width: 860px;
    margin: 0 0 clamp(32px, 4vw, 48px);
}

.policy__title {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.2;
    letter-spacing: -.02em;
    font-weight: 800;
}

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

.policy__list {
    border-bottom: 1px solid var(--line);
}

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

.policy__summary {
    display: block;
    cursor: pointer;
    list-style: none;
    transition: color .2s;
}

.policy__summary::-webkit-details-marker {
    display: none;
}

.policy__summary:hover {
    color: var(--green-600);
}

.policy__summary:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 4px;
    border-radius: 6px;
}

.policy__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 4px;
}

.policy__name {
    font-size: clamp(16px, 1.4vw, 19px);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.35;
}

.policy__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--ink);
    transition: background .25s var(--ease), color .25s var(--ease), transform .35s var(--ease);
}

.policy__icon svg {
    width: 20px;
    height: 20px;
}

.policy__item[open] .policy__icon {
    transform: rotate(135deg);
    background: var(--green);
    color: #fff;
}

.policy__summary:hover .policy__icon {
    background: var(--green-100);
    color: var(--green-600);
}

.policy__item[open] .policy__summary:hover .policy__icon {
    background: var(--green);
    color: #fff;
}

.policy__item:not([open]) .policy__body {
    display: none;
}

.policy__body {
    padding: 0 4px 26px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    max-width: 72ch;
}

.policy__item[open] .policy__body {
    animation: policy-reveal .4s var(--ease) both;
}

@keyframes policy-reveal {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.policy__body p + p,
.policy__body p + ul,
.policy__body ul + p {
    margin-top: 12px;
}

.policy__body ul {
    margin: 8px 0 0;
    padding-left: 22px;
    list-style: disc;
}

.policy__body li {
    margin-top: 6px;
}

.policy__body a {
    color: var(--green-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.policy__body a:hover {
    color: var(--green);
}

@media (prefers-reduced-motion: reduce) {
    .policy__item[open] .policy__body {
        animation: none;
    }

    .policy__icon {
        transition: background .25s, color .25s;
    }
}

.attach__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.attach {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--muted-dark);
    cursor: pointer;
    transition: background .25s, color .25s, transform .25s var(--ease);
}

.attach svg {
    width: 19px;
    height: 19px;
}

.attach:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transform: rotate(-12deg);
}

.attach__input:focus-visible + .attach {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.attach__file {
    position: absolute;
    left: 14px;
    bottom: 14px;
    right: 60px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 12px;
    width: fit-content;
    max-width: calc(100% - 74px);
    border-radius: var(--radius-pill);
    background: rgba(35, 175, 105, .14);
    border: 1px solid rgba(35, 175, 105, .35);
}

.attach__file[hidden] {
    display: none;
}

.attach__name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attach__remove {
    display: grid;
    place-items: center;
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: var(--muted-dark);
    transition: background .2s, color .2s;
}

.attach__remove svg {
    width: 12px;
    height: 12px;
}

.attach__remove:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.field--wide .input--area {
    padding-bottom: 62px;
}
