.portfolio-case {
    padding: 0px 0 80px;
}

.portfolio-case-page .breadcrumbs {
    padding-top: 0px;
    padding-bottom: 10px;
}

.portfolio-case-page .breadcrumbs ol li a,
.portfolio-case-page .breadcrumbs ol li span span {
    font-size: 13px;
}

.portfolio-case__heading {
    margin: 10px 0 28px;
}

.portfolio-case__status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(237, 110, 46, 0.35);
    color: #ed6e2e;
    font-size: 14px;
    font-weight: 600;
}

.portfolio-case__title {
    max-width: 880px;
    margin: 0;
    font-size: 44px;
    line-height: 1.12;
}

.portfolio-case__lead {
    max-width: 720px;
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.55;
}

.portfolio-case__overview {
    display: grid;
    grid-template-columns: minmax(0, 852fr) minmax(0, 416fr);
    gap: 20px;
    align-items: start;
    margin-bottom: 88px;
}

.portfolio-case__media {
    position: relative;
    display: block;
    aspect-ratio: 852 / 544;
}

.portfolio-case__media-item {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: #f4f4f4;
}

.portfolio-case__media-item--main {
    width: 100%;
    height: 100%;
}

.portfolio-case__media-hero {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: auto;
}

.portfolio-case__media-category {
    display: none;
    width: 100%;
    height: 100%;
}

.portfolio-case__media-category.is-active {
    display: block;
}

.portfolio-case__media-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.portfolio-case__media-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.portfolio-case__media-slide.is-active {
    opacity: 1;
}

.portfolio-case__media-hero-img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.portfolio-case__media-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    max-width: calc(100% - 72px);
    min-height: 50px;
    padding: 4px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.78);
    overflow-x: auto;
}

.portfolio-case__media-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 5px;
    color: rgba(0, 0, 0, 0.4);
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.portfolio-case__media-label.is-active {
    color: #fff;
    background: #ed6e2e;
}

.portfolio-case__media-zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #282828;
    background: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.portfolio-case__media-zoom:hover,
.portfolio-case__media-zoom:focus {
    color: #282828;
    background: rgba(255, 255, 255, 0.75);
    transform: scale(1.04);
}

.portfolio-case__media-zoom-icon {
    display: block;
    width: 20px;
    height: 20px;
}

.portfolio-case__media-nav {
    position: absolute;
    left: 42px;
    right: 42px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.portfolio-case__media-nav:not(.is-active) {
    display: none;
}

.portfolio-case__media-trigger {
    display: block;
    flex: 0 1 78px;
    width: 78px;
    max-width: 78px;
    height: 7px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.18s ease, opacity 0.18s ease;
}

.portfolio-case__media-trigger.is-active {
    background: #ed6e2e;
}

.portfolio-case__media-trigger.is-outside-window {
    display: none;
}

.portfolio-case__media-item--hidden {
    display: none;
}

.portfolio-case__media-item img,
.portfolio-case__gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-case__media-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #fff;
    background: rgba(11, 31, 50, 0.58);
    font-weight: 600;
    text-align: center;
}

.portfolio-case-fancybox .fancybox-skin {
    background: #fff;
}

.portfolio-case-fancybox .fancybox-inner {
    max-width: calc(100vw - 96px);
    max-height: calc(100vh - 96px);
}

.portfolio-case-fancybox .fancybox-image {
    object-fit: contain;
}

.portfolio-case-video-fancybox .fancybox-skin {
    background: #000;
}

.portfolio-case__summary {
    padding: 0;
    border: 0;
}

.portfolio-case__duration {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 382px;
    max-width: 100%;
    min-height: 50px;
    padding: 13px 14px 12px;
    margin-bottom: 24px;
    border-radius: 5px;
    background: #fff;
}

.portfolio-case__duration span,
.portfolio-case__price-item span,
.portfolio-case__spec dt {
    color: rgba(11, 31, 50, 0.66);
    font-size: 14px;
}

.portfolio-case__duration span {
    color: #282828;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}

.portfolio-case__duration b {
    color: rgba(0, 0, 0, 0.4);
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.portfolio-case__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 20px;
    margin: 0;
}

.portfolio-case__spec {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 42px;
    padding: 0;
    border-bottom: 0;
    text-align: left;
}

.portfolio-case__spec-text {
    min-width: 0;
    text-align: left;
}

.portfolio-case .portfolio-case__spec dt,
.portfolio-case .portfolio-case__spec dd {
    margin: 0;
    font-family: Inter, GraphikLCG, sans-serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-align: left;
}

.portfolio-case .portfolio-case__spec dt {
    color: #505050;
    font-size: 14px;
}

.portfolio-case .portfolio-case__spec dd {
    margin-top: 6px;
    color: #000;
    font-size: 16px;
}

.portfolio-case .portfolio-case__change-plan {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 26px;
    color: #282828;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 14px;
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.portfolio-case .portfolio-case__change-plan,
.portfolio-case .portfolio-case__change-plan * {
    cursor: pointer !important;
}

.portfolio-case__change-plan span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
}

.portfolio-case__change-plan b {
    font-weight: 400;
}

.portfolio-case__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(237, 110, 46, 0.3);
    border-radius: 4px;
    color: #ed6e2e;
    background: rgba(237, 110, 46, 0.1);
}

.portfolio-case__duration .portfolio-case__icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
}

.portfolio-case__icon--plain,
.portfolio-case__duration .portfolio-case__icon--plain {
    flex-basis: auto;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.portfolio-case__icon--has-icon::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-color: #ed6e2e;
    -webkit-mask: var(--portfolio-case-icon-mask) center / contain no-repeat;
    mask: var(--portfolio-case-icon-mask) center / contain no-repeat;
}

.portfolio-case__duration .portfolio-case__icon--has-icon::before {
    width: 28px;
    height: 28px;
}

.portfolio-case__icon--material::before,
.portfolio-case__icon--dimensions::before,
.portfolio-case__icon--bathrooms::before {
    width: 22px;
    height: 22px;
}

.portfolio-case__icon--roof::before {
    width: 20px;
    height: 20px;
}

.portfolio-case__icon--rooms::before {
    width: 30px;
    height: 30px;
}

.portfolio-case__prices {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 80px;
    row-gap: 18px;
    margin-top: 31px;
}

.portfolio-case__price-item {
    position: relative;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
}

.portfolio-case__price-item span,
.portfolio-case__price-item em {
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 14px;
    line-height: 1;
}

.portfolio-case__price-item span {
    color: #505050;
    font-weight: 600;
}

.portfolio-case__price-item b {
    color: #282828;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
}

.portfolio-case__price-item em {
    color: #282828;
    font-style: normal;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.portfolio-case__price-link {
    display: inline-flex;
    align-self: flex-start;
    padding: 0;
    border: 0;
    color: #282828;
    background: transparent;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.18s ease;
}

.portfolio-case__price-link:hover,
.portfolio-case__price-link:focus,
.portfolio-case__price-link.is-active {
    color: #ed6e2e;
}

.portfolio-case__project-includes {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    width: 416px;
    max-width: calc(100vw - 32px);
    padding: 16px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(11, 31, 50, 0.14);
    white-space: normal;
}

.portfolio-case__project-includes[hidden] {
    display: none;
}

.portfolio-case__project-includes ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.portfolio-case__project-includes li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 18px;
    color: #282828;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.portfolio-case__project-includes li span:last-child {
    font-weight: 400;
}

.portfolio-case__project-includes-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.portfolio-case__project-includes-icon::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: #ed6e2e;
    -webkit-mask: var(--portfolio-case-include-icon) center / contain no-repeat;
    mask: var(--portfolio-case-include-icon) center / contain no-repeat;
}

.portfolio-case__cta {
    margin-top: 41px;
}

.portfolio-case__button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 20px 64px;
    border-radius: 5px;
    color: #fff;
    background: #ed6e2e;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
}

.portfolio-case__button:hover {
    color: #fff;
}

.portfolio-case__contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 10px;
}

.portfolio-case__contact-phone,
.portfolio-case__contact-socials,
.portfolio-case__contact-socials a,
.portfolio-case__contact-icon {
    display: flex;
    align-items: center;
}

.portfolio-case__contact-phone {
    min-width: 0;
    gap: 12px;
    color: #505050;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.portfolio-case__contact-phone > span {
    min-width: 0;
}

.portfolio-case__contact-socials {
    gap: 10px;
}

.portfolio-case__contact-icon {
    position: relative;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(237, 110, 46, 0.3);
    border-radius: 50%;
    background: rgba(237, 110, 46, 0.1);
}

.portfolio-case__contact-icon::before {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    background-color: #ed6e2e;
    -webkit-mask: var(--portfolio-case-contact-icon-mask) center / contain no-repeat;
    mask: var(--portfolio-case-contact-icon-mask) center / contain no-repeat;
}

.portfolio-case__contact-icon--phone::before {
    width: 20px;
    height: 20px;
}

.portfolio-case__contact-icon--telegram::before {
    width: 22px;
    height: 22px;
}

.portfolio-case__videos {
    display: grid;
    gap: 20px;
    margin: 0 0 160px;
    text-align: left;
}

.portfolio-case__videos--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-case__video {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #d7d7d7;
}

.portfolio-case__videos--count-1 .portfolio-case__video,
.portfolio-case__videos--count-2 .portfolio-case__video {
    aspect-ratio: 16 / 9;
}

.portfolio-case__video-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-case__video-label {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid rgba(237, 110, 46, 0.8);
    border-radius: 5px;
    color: #ed6e2e;
    background: #fff;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.portfolio-case__video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: #ed6e2e;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.portfolio-case__video-play::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    margin-left: 8px;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 34px solid #fff;
}

.portfolio-case__video:hover .portfolio-case__video-play {
    background: #d85d22;
    transform: translate(-50%, -50%) scale(1.04);
}

.portfolio-case__packages {
    margin: 0 0 160px;
    text-align: left;
}

.portfolio-case__description-cards {
    display: grid;
    gap: 64px;
    margin: 0 0 160px;
}

.portfolio-case__description-card {
    min-width: 0;
}

.portfolio-case__description-title {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    margin: 0 0 26px;
    color: #282828;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.14;
}

.portfolio-case__description-title::before {
    content: '//';
    flex: 0 0 auto;
    color: #ed6e2e;
    font-weight: 500;
}

.portfolio-case__description-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.portfolio-case__description-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.portfolio-case__description-text {
    color: #505050;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.48;
}

.portfolio-case__description-text p {
    margin: 0 0 12px;
}

.portfolio-case__description-text p:last-child {
    margin-bottom: 0;
}

.portfolio-case__description-toggle {
    display: none;
    width: fit-content;
    padding: 0;
    margin: 12px 0 0;
    border: 0;
    color: #ed6e2e;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.portfolio-case__description-parameters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, max-content));
    gap: 24px;
    padding: 0;
    margin: 34px 0 0;
}

.portfolio-case__description-parameter {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.portfolio-case__description-parameter .portfolio-case__icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
}

.portfolio-case__description-parameter dt,
.portfolio-case__description-parameter dd {
    margin: 0;
    font-family: Inter, GraphikLCG, sans-serif;
}

.portfolio-case__description-parameter dt {
    color: #505050;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.portfolio-case__description-parameter dd {
    margin-top: 4px;
    color: #252525;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.portfolio-case__description-media {
    min-width: 0;
    aspect-ratio: 628 / 372;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 5px;
    background: #f4f4f4;
}

.portfolio-case__description-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-case__consultation {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
    grid-template-areas:
        'copy form'
        'contacts form';
    gap: 56px;
    margin: 0 0 160px;
    padding: 56px 72px 60px;
    overflow: hidden;
    border-radius: 6px;
    background: #ed6e2e;
    color: #fff;
    text-align: left;
}

.portfolio-case__consultation::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 300px;
    height: 245px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0.26) 42%, rgba(255, 255, 255, 0) 100%);
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    pointer-events: none;
}

.portfolio-case__consultation-copy,
.portfolio-case__consultation-contacts,
.portfolio-case__consultation-form {
    position: relative;
    z-index: 1;
}

.portfolio-case__consultation-copy {
    grid-area: copy;
}

.portfolio-case__consultation-form {
    grid-area: form;
}

.portfolio-case__consultation-contacts {
    grid-area: contacts;
}

.portfolio-case__consultation h2 {
    max-width: 660px;
    margin: 0 0 24px;
    color: #fff;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.17;
    letter-spacing: 0;
}

.portfolio-case__consultation-copy > p {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
}

.portfolio-case__consultation-contacts {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 58px;
}

.portfolio-case__consultation-phone,
.portfolio-case__consultation-social {
    display: grid;
    gap: 12px;
    align-content: start;
}

.portfolio-case__consultation-phone > span,
.portfolio-case__consultation-social > span {
    color: #fff;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
}

.portfolio-case__consultation-phone a {
    color: #fff;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.portfolio-case__consultation-phone a:hover {
    color: #fff;
}

.portfolio-case__consultation .portfolio-case__contact-socials {
    justify-content: flex-start;
    gap: 12px;
}

.portfolio-case__consultation .portfolio-case__contact-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border: 0;
    background: rgba(255, 255, 255, 0.28);
}

.portfolio-case__consultation .portfolio-case__contact-icon::before {
    width: 20px;
    height: 20px;
    background-color: #fff;
}

.portfolio-case__consultation .portfolio-case__contact-icon--telegram::before {
    width: 22px;
    height: 22px;
}

.portfolio-case__consultation-form {
    align-self: center;
}

.portfolio-case__consultation-form .wpcf7-form {
    display: grid;
    gap: 18px;
    margin: 0;
}

.portfolio-case__consultation-form .wpcf7-form p {
    margin: 0;
}

.portfolio-case__consultation-form .form__item {
    margin: 0;
}

.portfolio-case__consultation-form .text-input,
.portfolio-case__consultation-form .wpcf7-form-control-wrap,
.portfolio-case__consultation-form .btn__wrap {
    display: block;
    width: 100%;
}

.portfolio-case__consultation-form label {
    display: block;
    margin: 0;
}

.portfolio-case__consultation-form br {
    display: none;
}

.portfolio-case__consultation-form input:not([type='submit']),
.portfolio-case__consultation-form textarea {
    display: block;
    width: 100%;
    min-height: 66px;
    padding: 0 22px;
    border: 0;
    border-radius: 5px;
    color: #282828;
    background: #fff;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    box-shadow: none;
}

.portfolio-case__consultation-form textarea {
    min-height: 120px;
    padding-top: 18px;
    resize: vertical;
}

.portfolio-case__consultation-form input::placeholder,
.portfolio-case__consultation-form textarea::placeholder {
    color: #9a9a9a;
    opacity: 1;
}

.portfolio-case__consultation-form input[type='submit'],
.portfolio-case__consultation-form button[type='submit'],
.portfolio-case__consultation-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 64px;
    padding: 18px 26px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: #282828;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}

.portfolio-case__consultation-form input[type='submit']:hover,
.portfolio-case__consultation-form button[type='submit']:hover,
.portfolio-case__consultation-button:hover {
    color: #fff;
    background: #202020;
}

.portfolio-case__consultation-form .wpcf7-spinner {
    position: absolute;
    right: 0;
    bottom: -30px;
    margin: 0;
}

.portfolio-case__consultation-form .wpcf7-response-output {
    margin: 0;
    padding: 10px 14px;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 14px;
}

.portfolio-case__consultation-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #fff;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 13px;
}

.portfolio-case__consultation-form .wpcf7-acceptance input,
.portfolio-case__consultation-form .accept__icon {
    display: none;
}

.portfolio-case__consultation-form .wpcf7-list-item {
    margin: 0;
}

.portfolio-case__consultation-form .accept,
.portfolio-case__consultation-form .accept a,
.portfolio-case__consultation-form .wpcf7-list-item-label,
.portfolio-case__consultation-form .wpcf7-list-item-label a {
    color: rgba(255, 255, 255, 0.72);
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
}

.portfolio-case__consultation-form .accept a,
.portfolio-case__consultation-form .wpcf7-list-item-label a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.portfolio-case__typical-projects {
    position: relative;
    margin: 0 0 160px;
    text-align: left;
}

.portfolio-case__typical-heading {
    max-width: 980px;
    margin: 0 0 42px;
}

.portfolio-case__typical-heading h2 {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    margin: 0;
    color: #282828;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: 0;
}

.portfolio-case__typical-heading h2::before {
    content: '//';
    flex: 0 0 auto;
    color: #ed6e2e;
    font-weight: 500;
}

.portfolio-case__typical-slider {
    overflow: hidden;
    touch-action: auto;
}

.portfolio-case__typical-track {
    display: flex;
}

.portfolio-case__typical-slide {
    display: flex;
    height: auto;
}

.portfolio-case__typical-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(11, 31, 50, 0.08);
}

.portfolio-case__typical-media {
    position: relative;
    display: block;
    aspect-ratio: 630 / 380;
    overflow: hidden;
    color: inherit;
    background: #f4f4f4;
}

.portfolio-case__typical-media:hover {
    color: inherit;
}

.portfolio-case__typical-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.18s ease;
    -webkit-user-drag: none;
    user-select: none;
}

.portfolio-case__typical-image.is-active {
    opacity: 1;
}

.portfolio-case__typical-badge {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    min-width: 138px;
    padding: 12px 26px 12px 18px;
    color: #fff;
    background: #ed6e2e;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
}

.portfolio-case__typical-media-nav {
    position: absolute;
    left: 72px;
    right: 72px;
    bottom: 14px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.portfolio-case__typical-media-trigger {
    flex: 1 1 72px;
    max-width: 92px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    transition: background-color 0.18s ease;
}

.portfolio-case__typical-media-trigger.is-active {
    background: #ed6e2e;
}

.portfolio-case__typical-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px 20px 20px;
}

.portfolio-case__typical-title {
    margin: 0 0 24px;
    color: #282828;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.portfolio-case__typical-title a {
    color: inherit;
    text-decoration: none;
}

.portfolio-case__typical-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
    margin: 0 0 24px;
}

.portfolio-case__typical-spec {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.portfolio-case__typical-spec .portfolio-case__icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

.portfolio-case__typical-spec dt,
.portfolio-case__typical-spec dd {
    margin: 0;
    font-family: Inter, GraphikLCG, sans-serif;
    line-height: 1.15;
}

.portfolio-case__typical-spec dt {
    color: #505050;
    font-size: 14px;
    font-weight: 600;
}

.portfolio-case__typical-spec dd {
    margin-top: 5px;
    color: #282828;
    font-size: 16px;
    font-weight: 600;
}

.portfolio-case__typical-prices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0;
    margin: 0 0 22px;
}

.portfolio-case__typical-price {
    min-width: 0;
    padding: 0 18px;
    border-left: 1px solid #d4d4d4;
    font-family: Inter, GraphikLCG, sans-serif;
}

.portfolio-case__typical-price:first-child {
    padding-left: 0;
    border-left: 0;
}

.portfolio-case__typical-price span {
    display: block;
    margin-bottom: 7px;
    color: #505050;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.15;
}

.portfolio-case__typical-price b {
    display: block;
    color: #282828;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
}

.portfolio-case__typical-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: auto;
}

.portfolio-case__typical-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 15px 20px;
    border: 1px solid #ed6e2e;
    border-radius: 5px;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.portfolio-case__typical-button--primary {
    color: #fff;
    background: #ed6e2e;
}

.portfolio-case__typical-button--primary:hover {
    color: #fff;
}

.portfolio-case__typical-button--secondary {
    color: #ed6e2e;
    background: #fff;
}

.portfolio-case__typical-button--secondary:hover {
    color: #ed6e2e;
}

.portfolio-case__typical-controls {
    position: absolute;
    top: 50%;
    left: -24px;
    right: -24px;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.portfolio-case__typical-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #ed6e2e;
    background-image: none;
    pointer-events: auto;
    transform: none;
}

.portfolio-case__typical-nav.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.portfolio-case__typical-nav::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.portfolio-case__typical-prev::before {
    margin-left: 5px;
    transform: rotate(-135deg);
}

.portfolio-case__typical-next::before {
    margin-right: 5px;
    transform: rotate(45deg);
}

.portfolio-case__typical-dots {
    display: none;
}

.portfolio-case__articles {
    position: relative;
    margin: 0 0 160px;
    text-align: left;
}

.portfolio-case__articles-heading {
    max-width: 840px;
    margin: 0 0 42px;
}

.portfolio-case__articles-heading h2 {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    margin: 0 0 18px;
    color: #282828;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: 0;
}

.portfolio-case__articles-heading h2::before {
    content: '//';
    flex: 0 0 auto;
    color: #ed6e2e;
    font-weight: 500;
}

.portfolio-case__articles-heading p {
    max-width: 760px;
    margin: 0;
    color: #282828;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
}

.portfolio-case__articles-slider {
    overflow: hidden;
    touch-action: auto;
}

.portfolio-case__articles-track {
    display: flex;
}

.portfolio-case__articles-slide {
    height: auto;
}

.portfolio-case__article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(11, 31, 50, 0.08);
}

.portfolio-case__article-media {
    display: block;
    aspect-ratio: 400 / 250;
    margin: 12px 12px 0;
    overflow: hidden;
    border-radius: 5px;
    background: #f4f4f4;
}

.portfolio-case__article-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-case__article-media:hover img {
    transform: scale(1.05);
}

.portfolio-case__article-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 22px 20px 20px;
}

.portfolio-case__article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    color: #9a9a9a;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.portfolio-case__article-views {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.portfolio-case__article-views::before {
    content: '';
    display: block;
    width: 17px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.portfolio-case__article-views::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    transform: translateY(-50%);
}

.portfolio-case__article-title {
    margin: 0 0 18px;
    color: #282828;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.18;
}

.portfolio-case__article-title a {
    color: inherit;
    text-decoration: none;
}

.portfolio-case__article-title a:hover {
    color: #ed6e2e;
}

.portfolio-case__article-excerpt {
    margin: 0 0 22px;
    color: #505050;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
}

.portfolio-case__article-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    margin-top: auto;
    border: 1px solid #ed6e2e;
    border-radius: 5px;
    color: #ed6e2e;
    background: #fff;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.portfolio-case__article-button:hover {
    color: #fff;
    background: #ed6e2e;
}

.portfolio-case__articles-controls {
    position: absolute;
    top: 55%;
    left: -24px;
    right: -24px;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.portfolio-case__articles-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #ed6e2e;
    background-image: none;
    pointer-events: auto;
    transform: none;
}

.portfolio-case__articles-nav.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.portfolio-case__articles-nav::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.portfolio-case__articles-prev::before {
    margin-left: 5px;
    transform: rotate(-135deg);
}

.portfolio-case__articles-next::before {
    margin-right: 5px;
    transform: rotate(45deg);
}

.portfolio-case__articles-dots {
    display: none;
}

.portfolio-case__packages-heading {
    max-width: 720px;
    margin-bottom: 28px;
    text-align: left;
}

.portfolio-case__packages-heading h2 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin: 0;
    color: #282828;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.14;
}

.portfolio-case__packages-heading h2::before {
    content: '//';
    color: #ed6e2e;
    font-weight: 500;
}

.portfolio-case__packages-heading p {
    max-width: 620px;
    margin: 14px 0 0 48px;
    color: #282828;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

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

.portfolio-case__package-slider {
    overflow: visible;
    touch-action: auto;
}

.portfolio-case__package {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: auto;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    text-align: left;
}

.portfolio-case__package-title {
    margin: 0;
    padding: 22px 26px;
    color: #fff;
    background: #ed6e2e;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.portfolio-case__package-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    padding: 0 26px 24px;
    text-align: left;
}

.portfolio-case__package-list {
    width: 100%;
    text-align: left;
}

.portfolio-case__package-item {
    border-bottom: 1px solid #d4d4d4;
}

.portfolio-case__package-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 58px;
    padding: 17px 10px;
    border: 0;
    color: #282828;
    background: transparent;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.portfolio-case__package-toggle:hover,
.portfolio-case__package-toggle:focus,
.portfolio-case__package-toggle[aria-expanded='true'] {
    color: #ed6e2e;
}

.portfolio-case__package-toggle span:first-child {
    flex: 1 1 auto;
    text-align: left;
}

.portfolio-case__package-toggle-icon {
    position: relative;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
}

.portfolio-case__package-toggle-icon::before,
.portfolio-case__package-toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #282828;
    transform: translate(-50%, -50%);
}

.portfolio-case__package-toggle-icon::before {
    width: 16px;
    height: 16px;
    -webkit-mask: var(--portfolio-case-plus-icon) center / contain no-repeat;
    mask: var(--portfolio-case-plus-icon) center / contain no-repeat;
}

.portfolio-case__package-toggle-icon::after {
    display: none;
}

.portfolio-case__package-toggle[aria-expanded='true'] .portfolio-case__package-toggle-icon::before {
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: #ed6e2e;
    -webkit-mask: none;
    mask: none;
}

.portfolio-case__package-content {
    padding: 0 14px 18px;
    text-align: left;
}

.portfolio-case__package-content p {
    margin: 0;
    color: #505050;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

.portfolio-case__package-footer,
.portfolio-case__package-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portfolio-case__package-footer {
    gap: 24px;
}

.portfolio-case__package-prices {
    gap: 14px;
    width: 100%;
}

.portfolio-case__package-duration {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    font-family: Inter, GraphikLCG, sans-serif;
    text-align: left;
}

.portfolio-case__package-duration span {
    color: #505050;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
}

.portfolio-case__package-duration em {
    color: #282828;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
}

.portfolio-case__package-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    font-family: Inter, GraphikLCG, sans-serif;
    text-align: left;
}

.portfolio-case__package-price span {
    color: #505050;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
}

.portfolio-case__package-price b {
    color: #282828;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.1;
    text-align: left;
}

.portfolio-case__package-price small {
    font-size: 18px;
}

.portfolio-case__package-price em {
    color: #282828;
    font-size: 16px;
    font-style: normal;
    line-height: 1.35;
    text-align: left;
}

.portfolio-case__package-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 62px;
    padding: 18px 24px;
    border-radius: 5px;
    color: #fff;
    background: #ed6e2e;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.portfolio-case__package-button:hover {
    color: #fff;
}

.portfolio-case__package-controls {
    display: none;
}

.portfolio-case__package-controls .swiper-pagination-bullet,
.portfolio-case__typical-controls .swiper-pagination-bullet,
.portfolio-case__articles-controls .swiper-pagination-bullet {
    display: block;
}

.portfolio-case__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: start;
}

.portfolio-case__section {
    margin-bottom: 44px;
}

.portfolio-case__section-title,
.portfolio-case__panel-title {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.2;
}

.portfolio-case__text {
    font-size: 17px;
    line-height: 1.6;
}

.portfolio-case__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.portfolio-case__gallery-link {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 5px;
    background: #f4f4f4;
}

.portfolio-case__gallery-label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    max-width: calc(100% - 20px);
    padding: 8px 12px;
    border-radius: 5px;
    color: #fff;
    background: #ed6e2e;
    font-family: Inter, GraphikLCG, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.portfolio-case__panel {
    padding: 20px;
    margin-bottom: 18px;
    border: 1px solid rgba(11, 31, 50, 0.12);
    background: #fff;
}

.portfolio-case__meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(11, 31, 50, 0.08);
    font-size: 15px;
}

.portfolio-case__meta:last-child {
    border-bottom: 0;
}

.portfolio-case__meta span {
    color: rgba(11, 31, 50, 0.66);
}

.portfolio-case__meta b {
    text-align: right;
    font-weight: 600;
}

.portfolio-case__price {
    margin: 0 0 14px;
    color: #ed6e2e;
    font-size: 28px;
    font-weight: 700;
}

.portfolio-case__note {
    margin-top: 12px;
    color: rgba(11, 31, 50, 0.66);
    font-size: 14px;
}

@media screen and (max-width: 991px) {
    .portfolio-case__overview,
    .portfolio-case__layout {
        grid-template-columns: 1fr;
    }

    .portfolio-case__title {
        font-size: 34px;
    }

    .portfolio-case__aside {
        display: none;
    }

    .portfolio-case__videos--count-2 {
        grid-template-columns: 1fr;
    }

    .portfolio-case__description-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .portfolio-case__description-media {
        order: 2;
        min-height: 260px;
    }

    .portfolio-case__description-parameters {
        margin-top: 24px;
    }

    .portfolio-case__consultation {
        grid-template-columns: 1fr;
        grid-template-areas:
            'copy'
            'form'
            'contacts';
        gap: 26px;
        padding: 42px 36px;
    }

    .portfolio-case__consultation h2 {
        max-width: none;
        font-size: 34px;
    }

    .portfolio-case__consultation-contacts {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-case__typical-heading h2 {
        font-size: 28px;
    }

    .portfolio-case__typical-controls {
        position: static;
        justify-content: center;
        gap: 18px;
        margin-top: 22px;
        pointer-events: auto;
    }

    .portfolio-case__typical-nav {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .portfolio-case__typical-nav::before {
        width: 11px;
        height: 11px;
    }

    .portfolio-case__typical-dots {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 60px;
        gap: 8px;
        margin: 0;
    }

    .portfolio-case__typical-dots .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0;
        background: rgba(237, 110, 46, 0.28);
        opacity: 1;
    }

    .portfolio-case__typical-dots .swiper-pagination-bullet-active {
        background: #ed6e2e;
    }

    .portfolio-case__articles-heading h2 {
        font-size: 28px;
    }

    .portfolio-case__articles-controls {
        position: static;
        justify-content: center;
        gap: 18px;
        margin-top: 22px;
        pointer-events: auto;
    }

    .portfolio-case__articles-nav {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .portfolio-case__articles-nav::before {
        width: 11px;
        height: 11px;
    }

    .portfolio-case__articles-dots {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 60px;
        gap: 8px;
        margin: 0;
    }

    .portfolio-case__articles-dots .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0;
        background: rgba(237, 110, 46, 0.28);
        opacity: 1;
    }

    .portfolio-case__articles-dots .swiper-pagination-bullet-active {
        background: #ed6e2e;
    }

    .portfolio-case__package-slider {
        overflow: hidden;
    }

    .portfolio-case__package-grid {
        display: flex;
        gap: 0;
    }

    .portfolio-case__package-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 18px;
        margin-top: 20px;
    }

    .portfolio-case__package-nav {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        margin: 0;
        border: 1px solid rgba(237, 110, 46, 0.35);
        border-radius: 50%;
        background: #fff;
        transform: none;
    }

    .portfolio-case__package-nav.swiper-button-disabled {
        opacity: 0.35;
        pointer-events: none;
    }

    .portfolio-case__package-nav::before {
        content: '';
        display: block;
        width: 11px;
        height: 11px;
        border-top: 2px solid #ed6e2e;
        border-right: 2px solid #ed6e2e;
    }

    .portfolio-case__package-prev::before {
        margin-left: 4px;
        transform: rotate(-135deg);
    }

    .portfolio-case__package-next::before {
        margin-right: 4px;
        transform: rotate(45deg);
    }

    .portfolio-case__package-dots {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 60px;
        gap: 8px;
        margin: 0;
    }

    .portfolio-case__package-dots .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0;
        background: rgba(237, 110, 46, 0.28);
        opacity: 1;
    }

    .portfolio-case__package-dots .swiper-pagination-bullet-active {
        background: #ed6e2e;
    }
}

@media screen and (max-width: 767px) {
    .portfolio-case {
        padding: 20px 0 56px;
        text-align: left;
    }

    .portfolio-case__heading {
        margin-bottom: 22px;
        text-align: left;
    }

    .portfolio-case__description-cards {
        gap: 42px;
        margin-bottom: 60px;
    }

    .portfolio-case__description-card {
        gap: 18px;
        text-align: left;
    }

    .portfolio-case__description-title {
        margin-bottom: 14px;
        font-size: 26px;
        line-height: 1.16;
        text-align: left;
    }

    .portfolio-case__description-content {
        align-items: flex-start;
        text-align: left;
    }

    .portfolio-case__description-text {
        display: none;
        text-align: left;
    }

    .portfolio-case__description-text.is-expanded {
        display: block;
    }

    .portfolio-case__description-toggle {
        display: inline-block;
        text-align: left;
    }

    .portfolio-case__description-toggle[aria-expanded='true'] {
        color: #505050;
    }

    .portfolio-case__description-parameters {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 20px;
        text-align: left;
    }

    .portfolio-case__description-media {
        min-height: 205px;
        aspect-ratio: 343 / 205;
    }

    .portfolio-case__consultation {
        gap: 24px;
        margin-bottom: 60px;
        padding: 20px 17px 31px;
        border-radius: 5px;
    }

    .portfolio-case__consultation::before {
        display: none;
    }

    .portfolio-case__consultation h2 {
        margin-bottom: 10px;
        font-size: 26px;
        line-height: 1.15;
        text-align: left;
    }

    .portfolio-case__consultation-copy > p {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.23;
        text-align: left;
    }

    .portfolio-case__consultation-form .wpcf7-form {
        gap: 10px;
    }

    .portfolio-case__consultation-form input:not([type='submit']),
    .portfolio-case__consultation-form textarea {
        min-height: 58px;
        padding: 0 18px;
        font-size: 16px;
    }

    .portfolio-case__consultation-form textarea {
        min-height: 104px;
        padding-top: 16px;
    }

    .portfolio-case__consultation-form input[type='submit'],
    .portfolio-case__consultation-form button[type='submit'],
    .portfolio-case__consultation-button {
        min-height: 58px;
        font-size: 16px;
    }

    .portfolio-case__consultation-form .accept,
    .portfolio-case__consultation-form .accept a,
    .portfolio-case__consultation-form .wpcf7-list-item-label,
    .portfolio-case__consultation-form .wpcf7-list-item-label a {
        font-size: 14px;
        line-height: 1.38;
    }

    .portfolio-case__consultation-contacts {
        gap: 20px;
    }

    .portfolio-case__consultation-phone,
    .portfolio-case__consultation-social {
        gap: 9px;
    }

    .portfolio-case__consultation-phone > span,
    .portfolio-case__consultation-social > span {
        font-size: 16px;
    }

    .portfolio-case__consultation-phone a {
        font-size: 27px;
    }

    .portfolio-case__consultation .portfolio-case__contact-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .portfolio-case__typical-projects {
        margin-bottom: 60px;
    }

    .portfolio-case__typical-heading {
        margin-bottom: 24px;
    }

    .portfolio-case__typical-heading h2 {
        gap: 10px;
        font-size: 28px;
        line-height: 1.16;
    }

    .portfolio-case__typical-card {
        box-shadow: 0 12px 28px rgba(11, 31, 50, 0.08);
    }

    .portfolio-case__typical-media {
        aspect-ratio: 343 / 205;
    }

    .portfolio-case__typical-badge {
        min-width: 118px;
        min-height: 44px;
        padding: 10px 24px 10px 14px;
        font-size: 14px;
        clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%);
    }

    .portfolio-case__typical-media-nav {
        left: 38px;
        right: 38px;
        bottom: 10px;
        gap: 7px;
    }

    .portfolio-case__typical-media-trigger {
        height: 6px;
    }

    .portfolio-case__typical-content {
        padding: 18px 16px 18px;
    }

    .portfolio-case__typical-title {
        margin-bottom: 18px;
        font-size: 20px;
        text-align: left;
    }

    .portfolio-case__typical-specs {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 20px;
    }

    .portfolio-case__typical-spec .portfolio-case__icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .portfolio-case__typical-prices {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 20px;
    }

    .portfolio-case__typical-price {
        padding: 0;
        border-left: 0;
    }

    .portfolio-case__typical-price span {
        font-size: 14px;
    }

    .portfolio-case__typical-price b {
        font-size: 22px;
    }

    .portfolio-case__typical-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .portfolio-case__typical-button {
        min-height: 52px;
        font-size: 15px;
    }

    .portfolio-case__articles {
        margin-bottom: 60px;
    }

    .portfolio-case__articles-heading {
        margin-bottom: 24px;
    }

    .portfolio-case__articles-heading h2 {
        gap: 10px;
        margin-bottom: 14px;
        font-size: 28px;
        line-height: 1.16;
    }

    .portfolio-case__articles-heading p {
        font-size: 16px;
        line-height: 1.32;
    }

    .portfolio-case__article-card {
        box-shadow: 0 12px 28px rgba(11, 31, 50, 0.08);
    }

    .portfolio-case__article-media {
        aspect-ratio: 343 / 205;
        margin: 10px 10px 0;
    }

    .portfolio-case__article-content {
        padding: 18px 16px 18px;
    }

    .portfolio-case__article-title {
        margin-bottom: 14px;
        font-size: 20px;
        text-align: left;
    }

    .portfolio-case__article-excerpt {
        margin-bottom: 18px;
        font-size: 15px;
        text-align: left;
    }

    .portfolio-case__article-button {
        min-height: 52px;
        font-size: 15px;
    }

    .portfolio-case__overview {
        gap: 30px;
        margin-bottom: 60px;
    }

    .portfolio-case__media {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 343 / 205;
        margin-top: 58px;
        margin-bottom: 26px;
        min-width: 0;
    }

    .portfolio-case__media-track {
        position: relative;
        inset: auto;
        width: 100%;
        height: 100%;
    }

    .portfolio-case__media-slide {
        position: relative;
        inset: auto;
        flex-shrink: 0;
        opacity: 1;
        transition: none;
    }

    .portfolio-case__media-item {
        border-radius: 6px;
        overflow: visible;
    }

    .portfolio-case__media-hero {
        border-radius: 6px;
        overflow: hidden;
    }

    .portfolio-case__media-track {
        position: relative;
        inset: auto;
        width: 100%;
        height: 100%;
    }

    .portfolio-case__media-slide {
        position: relative;
        inset: auto;
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    .portfolio-case__media-labels {
        top: -58px;
        left: 0;
        max-width: 100%;
        min-height: 42px;
        padding: 0;
        gap: 10px;
        background: transparent;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .portfolio-case__media-labels::-webkit-scrollbar {
        display: none;
    }

    .portfolio-case__media-label {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 10px 28px;
        background: rgba(255, 255, 255, 0.86);
    }

    .portfolio-case__media-zoom {
        display: none;
    }

    .portfolio-case__media-nav {
        right: auto;
        bottom: -20px;
        left: 50%;
        gap: 4px;
        transform: translateX(-50%);
    }

    .portfolio-case__media-trigger {
        flex: 0 0 8px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
    }

    .portfolio-case-fancybox .fancybox-inner {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
    }

    .portfolio-case__duration {
        display: none;
    }

    .portfolio-case__specs {
        column-gap: 18px;
        row-gap: 20px;
    }

    .portfolio-case__spec {
        gap: 12px;
        min-height: 36px;
    }

    .portfolio-case__icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .portfolio-case__icon--has-icon::before,
    .portfolio-case__icon--material::before,
    .portfolio-case__icon--dimensions::before,
    .portfolio-case__icon--bathrooms::before {
        width: 20px;
        height: 20px;
    }

    .portfolio-case__icon--roof::before {
        width: 18px;
        height: 18px;
    }

    .portfolio-case__icon--rooms::before {
        width: 28px;
        height: 28px;
    }

    .portfolio-case__spec dd {
        font-size: 16px;
    }

    .portfolio-case__change-plan {
        display: inline-flex;
        align-self: flex-start;
        justify-self: start;
        margin-top: 24px;
        margin-right: auto;
        text-align: left;
    }

    .portfolio-case__prices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 18px;
        margin-top: 36px;
    }

    .portfolio-case__price-item {
        align-items: flex-start;
        gap: 4px;
        text-align: left;
    }

    .portfolio-case__price-item span,
    .portfolio-case__price-item em,
    .portfolio-case__price-link {
        font-size: 12px;
    }

    .portfolio-case__price-item b {
        font-size: 22px;
        line-height: 1.1;
        white-space: nowrap;
    }

    .portfolio-case__project-includes {
        position: static;
        grid-column: 1 / -1;
        width: 100%;
        max-width: none;
        padding: 16px;
        box-shadow: 0 10px 24px rgba(11, 31, 50, 0.08);
        text-align: left;
    }

    .portfolio-case__project-includes li {
        gap: 8px;
        font-size: 13px;
    }

    .portfolio-case__project-includes-icon {
        flex-basis: 16px;
        width: 16px;
        height: 16px;
    }

    .portfolio-case__cta {
        margin-top: 24px;
    }

    .portfolio-case__button {
        padding-right: 20px;
        padding-left: 20px;
    }

    .portfolio-case__contact {
        align-items: center;
        flex-direction: row;
        gap: 10px;
    }

    .portfolio-case__contact-phone {
        gap: 12px;
        font-size: 16px;
        white-space: nowrap;
    }

    .portfolio-case__videos {
        gap: 16px;
        margin-bottom: 60px;
    }

    .portfolio-case__video-label {
        top: 10px;
        left: 10px;
        width: 126px;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .portfolio-case__video-play {
        width: 80px;
        height: 80px;
    }

    .portfolio-case__video-play::before {
        margin-left: 5px;
        border-top-width: 15px;
        border-bottom-width: 15px;
        border-left-width: 22px;
    }

    .portfolio-case__packages {
        margin-bottom: 60px;
    }

    .portfolio-case__packages-heading {
        margin-bottom: 24px;
    }

    .portfolio-case__packages-heading h2 {
        align-items: flex-start;
        gap: 10px;
        font-size: 28px;
    }

    .portfolio-case__packages-heading p {
        margin-left: 0;
        font-size: 13px;
    }

    .portfolio-case__package-title {
        padding: 20px;
        font-size: 20px;
    }

    .portfolio-case__package-body {
        gap: 28px;
        padding: 0 20px 22px;
    }

    .portfolio-case__package-toggle {
        min-height: 56px;
        padding: 16px 0;
        font-size: 16px;
    }

    .portfolio-case__package-content {
        padding: 0 0 16px;
    }

    .portfolio-case__package-price span,
    .portfolio-case__package-price em,
    .portfolio-case__package-duration span,
    .portfolio-case__package-duration em {
        font-size: 14px;
    }

    .portfolio-case__package-price b {
        font-size: 22px;
    }

    .portfolio-case__package-price small {
        font-size: 15px;
    }

    .portfolio-case__package-button {
        min-height: 56px;
        font-size: 16px;
    }

    .portfolio-case__title {
        font-size: 28px;
        text-align: left;
    }

    .portfolio-case__lead,
    .portfolio-case__text {
        font-size: 16px;
    }

    .portfolio-case__gallery {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-case__panel {
        padding: 16px;
    }

    .portfolio-case__meta {
        display: block;
    }

    .portfolio-case__meta b {
        display: block;
        margin-top: 4px;
        text-align: left;
    }
}
