/* PRICE PAGE REDESIGN */

.price-page {
    --price-bg: #f3f4f6;
    --price-card: #ffffff;
    --price-dark: #11141c;
    --price-muted: #626875;
    --price-line: rgba(17, 20, 28, 0.12);
    --price-radius: 28px;
    background: var(--price-bg);
    color: var(--price-dark);
}

.price-container {
    width: min(
            calc(100% - var(--av-section-side, 120px) * 2),
            var(--av-section-container, 1800px)
    );
    margin-inline: auto;
}

.price-eyebrow {
    margin: 0 0 22px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* HERO */

.price-hero {
    padding: 72px 0 120px;
}

.price-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.65fr);
    gap: 64px;
    align-items: stretch;
}

.price-hero__content {
    padding: clamp(44px, 5vw, 88px);
    border-radius: var(--price-radius);
    background: var(--price-card);
}

.price-hero__title {
    max-width: 1100px;
    margin: 0;
    font-size: clamp(48px, 6vw, 104px);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.07em;
}

.price-hero__lead {
    max-width: 880px;
    margin: 42px 0 0;
    color: var(--price-muted);
    font-size: clamp(20px, 1.55vw, 28px);
    line-height: 1.5;
    letter-spacing: -0.025em;
}

.price-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 44px;
}

.price-button {
    min-height: 62px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--price-dark);
    border-radius: 14px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.price-button--primary {
    background: var(--price-dark);
    color: #ffffff;
}

.price-button--secondary {
    background: transparent;
    color: var(--price-dark);
}

.price-hero__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 48px 0 0;
    padding: 0;
    list-style: none;
}

.price-hero__benefits li {
    padding: 10px 14px;
    border: 1px solid var(--price-line);
    border-radius: 999px;
    color: var(--price-muted);
    font-size: 14px;
    font-weight: 700;
}

.price-rate {
    padding: clamp(38px, 4vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--price-radius);
    background: var(--price-dark);
    color: #ffffff;
}

.price-rate__label {
    margin-bottom: auto;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
}

.price-rate__value {
    margin: 80px 0 0;
}

.price-rate__value span {
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 700;
    opacity: 0.65;
}

.price-rate__value strong {
    display: block;
    font-size: clamp(72px, 8vw, 138px);
    font-weight: 800;
    line-height: 0.82;
    letter-spacing: -0.08em;
}

.price-rate__unit {
    margin: 24px 0 0;
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.price-rate__note {
    margin: 34px 0 0;
    font-size: 17px;
    line-height: 1.55;
    opacity: 0.68;
}

/* SHARED SECTION HEADER */

.price-section-head {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 64px;
    align-items: end;
    margin-bottom: 64px;
}

.price-section-title {
    max-width: 1000px;
    margin: 0;
    font-size: clamp(44px, 5vw, 82px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.065em;
}

.price-section-lead {
    max-width: 620px;
    margin: 0;
    color: var(--price-muted);
    font-size: 20px;
    line-height: 1.55;
}

/* SERVICES */

.price-services {
    padding: 120px 0;
}

.price-services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    min-height: 520px;
    padding: clamp(34px, 4vw, 58px);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--price-line);
    border-radius: var(--price-radius);
    background: var(--price-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(17, 20, 28, 0.08);
}

.service-card__number {
    color: var(--price-muted);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.service-card h3 {
    max-width: 650px;
    margin: 52px 0 0;
    font-size: clamp(32px, 3vw, 52px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.service-card ul {
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 20px;
    color: var(--price-muted);
    font-size: 17px;
    line-height: 1.45;
}

.service-card li::before {
    content: "";
    position: absolute;
    top: 0.6em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--price-dark);
}

.service-card a {
    margin-top: auto;
    padding-top: 42px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--price-line);
    color: var(--price-dark);
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

.service-card a span {
    transition: transform 0.2s ease;
}

.service-card a:hover span {
    transform: translateX(5px);
}

/* PROCESS */

.price-process {
    padding: 120px 0;
    background: var(--price-dark);
    color: #ffffff;
}

.price-section-head--light .price-section-lead {
    color: rgba(255, 255, 255, 0.62);
}

.price-process__steps {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.price-process__steps li {
    min-height: 360px;
    padding: 38px 34px 0 0;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.price-process__steps li + li {
    padding-left: 34px;
}

.price-process__steps li:last-child {
    border-right: 0;
}

.price-process__steps span {
    display: block;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    opacity: 0.42;
}

.price-process__steps h3 {
    margin: 90px 0 0;
    font-size: clamp(26px, 2.3vw, 40px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.price-process__steps p {
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 17px;
    line-height: 1.55;
}

/* CTA */

.price-cta {
    padding: 96px 0 120px;
}

.price-cta__box {
    padding: clamp(42px, 5vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 64px;
    align-items: center;

    border: 1px solid var(--price-line);
    border-radius: var(--price-radius);
    background: var(--price-card);
    box-shadow: 0 18px 50px rgba(17, 20, 28, 0.07);
}

.price-cta__content {
    max-width: 980px;
}

.price-cta h2 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(40px, 4.4vw, 72px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.price-cta__content > p:last-child {
    max-width: 720px;
    margin: 28px 0 0;
    color: var(--price-muted);
    font-size: 19px;
    line-height: 1.55;
}

.price-cta__action {
    padding: 32px;
    display: grid;
    gap: 18px;

    border-radius: 20px;
    background: var(--price-bg);
}

.price-cta__action .price-button {
    width: 100%;
    min-height: 66px;
}

.price-cta__action p {
    margin: 0;
    color: var(--price-muted);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 900px) {
    .price-cta__box {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .price-cta__action {
        max-width: 520px;
    }
}

@media (max-width: 640px) {
    .price-cta {
        padding: 72px 0 88px;
    }

    .price-cta__box {
        padding: 34px 26px;
        gap: 32px;
        border-radius: 22px;
        box-shadow: 0 12px 32px rgba(17, 20, 28, 0.07);
    }

    .price-cta h2 {
        font-size: clamp(36px, 11vw, 52px);
    }

    .price-cta__content > p:last-child {
        margin-top: 22px;
        font-size: 17px;
    }

    .price-cta__action {
        padding: 24px;
        border-radius: 16px;
    }
}

/* FAQ */

.price-faq {
    padding: 40px 0 140px;
}

.price-faq__layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 96px;
    align-items: start;
}

.price-faq__intro {
    position: sticky;
    top: 40px;
}

.price-faq__intro > p:last-child {
    max-width: 520px;
    margin: 30px 0 0;
    color: var(--price-muted);
    font-size: 19px;
    line-height: 1.55;
}

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

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

.price-faq__item summary {
    position: relative;
    padding: 30px 52px 30px 0;
    cursor: pointer;
    list-style: none;
    font-size: clamp(20px, 1.8vw, 28px);
    font-weight: 800;
    line-height: 1.3;
}

.price-faq__item summary::-webkit-details-marker {
    display: none;
}

.price-faq__item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    font-size: 32px;
    font-weight: 400;
}

.price-faq__item[open] summary::after {
    content: "−";
}

.price-faq__item p {
    max-width: 780px;
    margin: -8px 0 30px;
    color: var(--price-muted);
    font-size: 17px;
    line-height: 1.6;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .price-hero__grid,
    .price-section-head,
    .price-cta__box {
        gap: 40px;
    }

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

    .price-process__steps li:nth-child(2) {
        border-right: 0;
    }

    .price-process__steps li:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }
}

@media (max-width: 900px) {
    .price-hero {
        padding-top: 40px;
    }

    .price-hero__grid,
    .price-section-head,
    .price-cta__box,
    .price-faq__layout {
        grid-template-columns: 1fr;
    }

    .price-rate {
        min-height: 520px;
    }

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

    .price-faq__intro {
        position: static;
    }
}

@media (max-width: 640px) {
    .price-container {
        width: calc(100% - 40px);
    }

    .price-hero,
    .price-services,
    .price-process,
    .price-cta {
        padding: 72px 0;
    }

    .price-hero__content,
    .price-rate,
    .service-card,
    .price-cta__box {
        border-radius: 22px;
    }

    .price-hero__content {
        padding: 34px 26px;
    }

    .price-hero__title {
        font-size: clamp(42px, 13vw, 62px);
    }

    .price-hero__actions {
        display: grid;
    }

    .price-button {
        width: 100%;
    }

    .price-rate {
        min-height: 440px;
        padding: 34px 26px;
    }

    .price-rate__value {
        margin-top: 64px;
    }

    .price-section-head {
        margin-bottom: 42px;
    }

    .service-card {
        min-height: auto;
        padding: 34px 26px;
    }

    .service-card h3 {
        margin-top: 38px;
    }

    .service-card ul {
        grid-template-columns: 1fr;
    }

    .service-card a {
        margin-top: 42px;
    }

    .price-process__steps {
        grid-template-columns: 1fr;
    }

    .price-process__steps li,
    .price-process__steps li + li {
        min-height: auto;
        padding: 34px 0 38px;
        border-right: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .price-process__steps h3 {
        margin-top: 44px;
    }

    .price-cta__box {
        padding: 38px 28px;
        box-shadow: 9px 9px 0 var(--price-dark);
    }

    .price-faq {
        padding: 20px 0 90px;
    }
}


/* WORK PRICE LIST */

.work-prices {
    padding: 120px 0;
    background: #ffffff;
}

.work-prices__intro {
    max-width: 620px;
}

.work-prices__intro p {
    margin: 0;
    color: var(--price-muted);
    font-size: 19px;
    line-height: 1.55;
}

.work-prices__intro a {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--price-dark);
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
}

.work-prices__intro a span {
    transition: transform 0.2s ease;
}

.work-prices__intro a:hover span {
    transform: translateX(5px);
}

.work-prices__layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
    gap: clamp(44px, 6vw, 100px);
    align-items: start;
}

/* DESKTOP FILTER */

.work-prices__nav {
    position: sticky;
    top: 32px;
    display: grid;
    gap: 8px;
}

.work-prices__nav button {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: var(--price-muted);
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.work-prices__nav button:hover {
    background: rgba(17, 20, 28, 0.06);
    color: var(--price-dark);
    transform: translateX(3px);
}

.work-prices__nav button.is-active {
    border-color: var(--price-dark);
    background: var(--price-dark);
    color: #ffffff;
}

/* MOBILE FILTER */

.work-prices-mobile {
    position: relative;
    z-index: 15;
    display: none;
}

.work-prices-mobile__button {
    width: 100%;
    min-height: 68px;
    padding: 12px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(17, 20, 28, 0.14);
    border-radius: 15px;
    background: #ffffff;
    color: var(--price-dark);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.work-prices-mobile__button-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.work-prices-mobile__label {
    color: var(--price-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.work-prices-mobile__current {
    margin-top: 7px;
    color: var(--price-dark);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.work-prices-mobile__arrow {
    flex: 0 0 auto;
    transition: transform 0.25s ease;
}

.work-prices-mobile.is-open .work-prices-mobile__arrow {
    transform: rotate(180deg);
}

.work-prices-mobile__menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    left: 0;
    padding: 8px;
    display: grid;
    gap: 3px;
    border: 1px solid rgba(17, 20, 28, 0.12);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(17, 20, 28, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.work-prices-mobile.is-open .work-prices-mobile__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.work-prices-mobile__menu button {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--price-muted);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease,
    color 0.2s ease;
}

.work-prices-mobile__menu button:hover {
    background: rgba(17, 20, 28, 0.06);
    color: var(--price-dark);
}

.work-prices-mobile__menu button.is-active {
    background: var(--price-dark);
    color: #ffffff;
}

.work-prices-mobile__menu button span:last-child {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 0.45;
}

/* PRICE GROUPS */

.work-prices__groups {
    min-width: 0;
}

.work-price-group {
    display: none;
    scroll-margin-top: 32px;
}

.work-price-group.is-active {
    display: block;
    animation: price-group-appear 0.28s ease;
}

.work-price-group[hidden] {
    display: none !important;
}

@keyframes price-group-appear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.work-price-group__head {
    display: flex;
    align-items: baseline;
    gap: 22px;
    margin-bottom: 24px;
}

.work-price-group__head span {
    color: var(--price-muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.work-price-group__head h3 {
    margin: 0;
    font-size: clamp(30px, 3vw, 48px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
}

.work-price-list {
    border-top: 2px solid var(--price-dark);
}

.work-price-row {
    padding: 26px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    border-bottom: 1px solid var(--price-line);
}

.work-price-row h4 {
    margin: 0;
    font-size: clamp(19px, 1.55vw, 25px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.work-price-row p {
    max-width: 780px;
    margin: 8px 0 0;
    color: var(--price-muted);
    font-size: 15px;
    line-height: 1.5;
}

.work-price-row strong {
    min-width: 130px;
    color: var(--price-dark);
    font-size: clamp(18px, 1.5vw, 24px);
    font-weight: 800;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

.work-prices__note {
    margin: 80px 0 0;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    border-radius: 18px;
    background: var(--price-bg);
}

.work-prices__note strong {
    font-size: 15px;
    font-weight: 800;
}

.work-prices__note p {
    max-width: 1000px;
    margin: 0;
    color: var(--price-muted);
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .work-prices__layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .work-prices__nav {
        display: none;
    }

    .work-prices-mobile {
        display: block;
    }
}

@media (max-width: 640px) {
    .work-prices {
        padding: 72px 0;
    }

    .work-prices-mobile {
        margin-bottom: 4px;
    }

    .work-price-row {
        padding: 22px 0;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .work-price-row strong {
        min-width: 0;
        text-align: left;
    }

    .work-prices__note {
        margin-top: 56px;
        padding: 24px;
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

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

/* OUR WORKS */

.about-works {
    padding: 120px 0;
    background: var(--about-dark);
    color: #ffffff;
}

.about-works .about-section-lead,
.about-works__intro p {
    color: rgba(255, 255, 255, 0.62);
}

.about-works__intro {
    max-width: 620px;
}

.about-works__intro p {
    margin: 0;
    font-size: 20px;
    line-height: 1.55;
}

.about-works__intro a {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
}

.about-works__intro a span {
    transition: transform 0.2s ease;
}

.about-works__intro a:hover span {
    transform: translateX(5px);
}

.about-works__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.about-work-card {
    min-height: 400px;
    padding: clamp(32px, 3.5vw, 52px);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.about-work-card__number {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    opacity: 0.42;
}

.about-work-card > div {
    margin-top: auto;
}

.about-work-card h3 {
    margin: 72px 0 0;
    font-size: clamp(28px, 2.5vw, 44px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.about-work-card p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 17px;
    line-height: 1.55;
}

.about-work-card a {
    margin-top: 38px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.about-work-card a span {
    transition: transform 0.2s ease;
}

.about-work-card a:hover span {
    transform: translate(3px, -3px);
}

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

@media (max-width: 640px) {
    .about-works {
        padding: 72px 0;
    }

    .about-works__grid {
        grid-template-columns: 1fr;
    }

    .about-work-card {
        min-height: 340px;
        padding: 34px 26px;
    }

    .about-work-card h3 {
        margin-top: 52px;
    }
}