:root {
    --color-accent: #e8bdd2;
    --color-blue: #e6e63d;
    --color-light: #838586;
}

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

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #fff;
    background: #000;
}

html {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    font-family: "Montserrat", "Arial", sans-serif;
    scroll-behavior: smooth;
}

.wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url(/assets/foto/pattern.png);
    background-repeat: repeat;
    background-size:60px;
}

.wrapper .header,
.wrapper .footer {
    flex-shrink: 0;
}

.wrapper main {
    position: relative;
    flex-grow: 1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

textarea {
    resize: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    margin: 0;

    appearance: none;
}

input[type="number"] {
    appearance: textfield;
}

select,
textarea,
input:matches([type="email"],
    [type="number"],
    [type="password"],
    [type="search"],
    [type="tel"],
    [type="text"],
    [type="url"]) {
    appearance: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    appearance: none;
}

@font-face {
    font-style: normal;
    font-weight: 300;
    font-family: "Montserrat";
    font-display: swap;
    src: url("/assets/fonts/montserrat-light.woff2") format("woff2"),
}
@font-face {
    font-style: normal;
    font-weight: 400;
    font-family: "Montserrat";
    font-display: swap;
    src: url("/assets/fonts/montserrat-regular.woff2") format("woff2"),
}

@font-face {
    font-style: normal;
    font-weight: 500;
    font-family: "Montserrat";
    font-display: swap;
    src: url("/assets/fonts/montserrat-medium.woff2") format("woff2"),
}

@font-face {
    font-style: normal;
    font-weight: 600;
    font-family: "Montserrat";
    font-display: swap;
    src: url("/assets/fonts/montserrat-semibold.woff2") format("woff2"),
}

@font-face {
    font-style: normal;
    font-weight: 700;
    font-family: "Montserrat";
    font-display: swap;
    src: url("/assets/fonts/montserrat-bold.woff2") format("woff2"),
}
@font-face {
    font-style: normal;
    font-weight: 900;
    font-family: "Montserrat";
    font-display: swap;
    src: url("/assets/fonts/montserrat-black.woff2") format("woff2"),
}

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

.container {
    position: relative;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 959px) {
    .container {
        padding: 0 15px;
    }
}
.mb-60 {
    margin-bottom: 60px;
}
.mb-100 {
    margin-bottom: 100px;
}
@media (max-width: 767px) {
    .mb-60 {
        margin-bottom: 25px;
    }

    .mb-100 {
        margin-bottom: 50px;
    }
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 27px;
}

@media (max-width: 1239px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 959px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}
.btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    outline: none;
    background: transparent;
    border-radius: 100px;
    border: 2px solid var(--color-accent);
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    text-transform: uppercase;
    color: #fff;
    transition: transform 0.3s ease;
    cursor: pointer;
    min-height: 60px;
    width: 100%;
    max-width: 260px;
}
.btn:hover,
.btn:focus {
    transform: scale(1.1);
}

.custom-input,
.custom-textarea {
    position: relative;
    flex: 1;

    display: flex;
    width: 100%;

    color: #fff;
}

.custom-input label,
.custom-textarea label {
    width:100%;
    display: flex;
    flex-direction: column;
}

.custom-input input,
.custom-textarea textarea {
    width: 100%;
    min-height: 53px;
    padding: 12px 30px;
    color: inherit;
    outline: none;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 40px;
    transition: border-color 0.3s ease;
    font-size: 20px;
    line-height: 110%;
}

.custom-input input::-webkit-input-placeholder,
.custom-textarea textarea::-webkit-input-placeholder {
    opacity: 1;
    color: #a0a0a0;
}

.custom-textarea textarea {
    min-height: 156px;
}

.input-error {
    font-size: 12px;
}

.custom-toggle {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
}

.custom-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0 0 0 0);
 }

 .custom-toggle label {
    display: flex;
    position: relative;
    cursor: pointer;
 }

.custom-toggle__label {
    font-size: 12px;
    line-height: 110%;
    text-wrap: balance;
}

.custom-toggle a {
    text-decoration: underline;
    color: #fff;
    transition: opacity 0.3s ease;
}

.custom-toggle a:hover {
   opacity: 0.7;
}

.custom-toggle__icon {
    margin-right: 8px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border: 1px solid  #fff;
    border-radius: 4px;
    color: transparent;
    flex-shrink: 0;
}

.custom-toggle__icon svg {
    width: 100%;
    height: 100%;
}

.custom-toggle input:checked + .custom-toggle__icon {
    color:  #fff;
}

.swiper-btns{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.swiper-btn-prev,
.swiper-btn-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    background-color: transparent;
    padding: 0;
    color: #fff;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.swiper-btn-prev:hover,
.swiper-btn-next:hover {
    opacity: 0.8;
}
.swiper-btn-prev.swiper-button-lock,
.swiper-btn-next.swiper-button-lock {
    display: none;
}

.logo {
    width: 300px;
}

.logo img {
    width: 100%;
    height: 100%;
}

.logo a:hover {
    opacity: 0.7;
}

@media(max-width: 539px) {
    .logo {
        width:200px;
    }
}

.breadcrumbs {
    margin: 0 0 50px;
}

.breadcrumbs__list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 47px;
}

.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    line-height: 120%;
    color: inherit;
}

.breadcrumbs__item a {
    font-size: 12px;
    line-height: 120%;
    color: inherit;
    transition: color 0.3s ease;
}

.breadcrumbs__item a:hover {
    text-decoration: underline;
}

.breadcrumbs__item::after {
    content: "/";
    padding: 0 4px;
}

.breadcrumbs__item:last-child::after {
    display: none;
}

@media(max-width: 539px) {
    .breadcrumbs {
        margin: 0 0 25px;
    }
    .breadcrumbs__list {
        padding: 0;
    }
}


.socials {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
}
.socials__link {
    display: flex;
    width: 40px;
    height: 40px;
}
.socials__link img {
    width: 100%;
    height: 100%;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.icon-link svg {
    width: 100%;
    height: 100%;
}


.nav {
    position: fixed;
    width: 50vw;
    height: 100%;
    top: 0;
    right: 0;
    background: #0A0A0A;
    z-index: 250;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
    padding: 80px 50px 0;
}
.nav.active {
    transform: translateX(0);
}
.nav__item {
    position: relative;
    width: 100%;
}
.nav__link::after {
   
}
.nav__link {
    display: block;
    padding: 5px 10px;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.nav__link::after {
    content: "";
    position: absolute;
    bottom: 11px;
    left: -40px;
    width: 0;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}
.nav__link.active::after,
.nav__link:hover::after {
    width: 60%;
}

@media(max-width: 1100px) {
    .nav {
        width: 100%;
        max-width: 720px;
    }
}

.header {
    padding: 30px 0;
}

.header__wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 30px;
}
.header__socials {
    gap: 20px;
}
.header__socials .socials__link {
    width: 30px;
    height: 30px;
}

.header__burger {
    position: relative;
    border: 0;
    background: transparent;
    padding: 0;
    width: 27px;
    height: 16px;
    z-index: 300;
    cursor: pointer;
    transform: scale(1.5);
}

.header__burger span {
    position: absolute;
    top: 0;
    left: 0;
    width: 27px;
    height: 2px;
    background: #fff;
    transition: all 0.5s ease;
}

.header__burger span:nth-child(1) {
    
}
.header__burger span:nth-child(2) {
    margin-top: 7px;
}
.header__burger span:nth-child(3) {
    margin-top: 14px;
}

.header__burger.open span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}
.header__burger.open span:nth-child(2) {
    transform: scaleX(0);
}
.header__burger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

@media(max-width: 1100px) {
    .header {
        padding: 25px 0;
    }
    .header__right .socials {
        display: none;
    }
}
@media(max-width: 767px) {
    .header__burger {
        transform: scale(1);
    }
}

.footer {
    padding: 50px 0;
}
.footer__wrap {
    display: grid;
    grid-template-columns: 300px 300px 1fr;
    gap: 20px;
}

.footer .socials {
    margin-bottom: 16px;
}

.footer__phones {
    display: flex;
    gap: 10px;
    align-items: center;
}
.footer__link {
    font-size: 16px;
    line-height: 120%;
}
.footer__link:hover {
    opacity: 0.7;
}
    
.footer__logo {
    width: 212px;
    height: 39px;
    justify-self: end;
}
.footer__title {
    font-size: 22px;
    line-height: 120%;
    font-weight: 600;
    letter-spacing: 1px;
}
.footer__text {
    margin-bottom: 16px;
}

@media(max-width: 959px){
    .footer__wrap {
        grid-template-columns: 300px 1fr;
    }
    .footer__logo {
        grid-row: 1 / 2;
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media(max-width: 767px){
    .footer__wrap {
        grid-template-columns: 1fr;
    }
}
.section-title {
    position: relative;
    font-size: 42px;
    line-height: 130%;
    letter-spacing: -0.015em;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 30px;
    max-width: 700px;
    isolation: isolate;
}
.section-title::before {
    content: '';
    position: absolute;
    display: block;
    width: 30px;
    height: 60px;
    top: -5px;
    left: -15px;
    z-index: -1;
}
.section-title--blue::before {
    background-color: var(--color-blue);
}
.section-title--pink::before {
    background-color: var(--color-accent);
}
@media(max-width: 767px) {
    .section-title {
        font-size: 32px;
    }
}
@media(max-width: 539px) {
    .section-title {
        font-size: 26px;
    }
}
.decor {
    position: relative;
}
.decor::after {
    content: '';
    position: absolute;
    display: block;
    width: 30px;
    height: 38px;
}
.decor--pink::after {
    background-color: var(--color-accent);
}
.decor--blue::after {
    background-color: var(--color-blue);
}
.decor--tl::after {
    top: 0;
    left: 0;
}
.decor--tr::after {
    top: 0;
    right: 0;
}
.decor--bl::after {
    bottom: 0;
    left: 0;
}
.decor--br::after {
    bottom: 0;
    right: 0;
}

.page-title {
    font-size: 46px;
    line-height: 113%;
    letter-spacing: -0.015em;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 40px;
    flex-shrink: 0;
}

@media(max-width: 767px) {
    .page-title {
        font-size: 38px;
    }
}
@media(max-width: 539px) {
    .page-title {
        font-size: 30px;
    }
}

.page-top .page-title {
    margin-bottom: 20px;
}

.page-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.page-cat {
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b0b0b0;
}
.page-date {
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b0b0b0; 
}
.page-tags {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.page-time {
    display:flex;
    align-items: center;
    flex-shrink: 0;
    gap: 15px;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b0b0b0;
}
.page-link {
    display: block;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color:#fff;
    border-bottom: 2px solid var(--color-blue);
    margin-bottom: 15px;
    width: fit-content;
    transition: color 0.3s ease;
}
.page-link:hover {
    color: var(--color-blue);
}

@media(max-width:767px){
    .page-tags {
        flex-direction: column;
        gap: 25px;
    }
}


.tags {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: end;
    flex-wrap: wrap;
}

.tag {
    display:flex;
    align-items: center;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b0b0b0;
    min-height: 32px;
    padding: 8px 22px;
    border: 1px solid var(--color-blue);
    border-radius: 18px;
}

@media(max-width:767px){
    .tag {
        font-size: 14px;
        min-height: 28px;
        padding: 4px 20px;
    }
}

@media(max-width: 539px) {
    .tags {
        gap: 12px;
    }
    .tag {
        font-size: 12px;
        min-height: 20px;
        padding: 4px 10px;
    }
}

.card {
    background: rgba(255,255,255,0.08);
    padding: 65px;
}
.card-title {
    position: relative;
    font-size: 26px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 120%;
    margin: 0 0 15px;
    z-index: 2;
}
.card-title::before {
    position: absolute;
    top: -9px;
    left: -18px;
    width: 38px;
    height: 48px;
    z-index: -1;
}
.card-title--pink::before {
    content: '';
    background: var(--color-accent);
}
.card-title--blue::before {
    content: '';
    background: var(--color-blue);
}
.card-text {
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.card-text p {
    margin: 0;
}
.card-text ul {
    padding: 0;
    margin: 25px 0 0;
    list-style: none;
    display: grid;
    gap: 15px;
}
.content .card-text ul  li {
   position: relative;
   padding-left: 54px;
}
.content .card-text ul  li::marker {
   content: none;
}
.card-text li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-accent);
    flex-shrink: 0;
    background-image: url(/assets/foto/plus2.svg);
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: center;
}

@media(max-width:767px) {
    .card {
        padding: 25px;
    }
    .card-title {
        font-size: 20px;
    }
    .card-text {
        font-size: 14px;
    }
    .card-text ul {
        margin: 20px 0 0;
    }
    .card-text li {
        gap: 10px;
    }
}
.case-img {
    position: relative;
    width: 100%;
    max-height: 700px;
}
.case-img img {
    width: 100%;
}
.case img {
    max-height: 750px;
}
.case-logo {
    position: absolute;
    top: 0;
    right: 0;
    width: 17%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    background-color: var(--color-accent);
    z-index: 2;
}
.case-logo img {
    width: 100%;
    height: 100%;
    padding: 30px;
    object-fit: contain;
}

@media(max-width:767px) {
    .case-logo img {
        padding: 15px;
    }
}

.case-info {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 50px 80px;
}
.case-info::before {
    content: '';
    position: absolute;
    top: 65px;
    left: 50%;
    width: 1px;
    height: calc(100% - 65px * 2);
    background: var(--color-blue);
    transform: translateX(-50%);
}

.case-info__block:last-child {
    grid-row: 1 / -1;
    grid-column: -2 / -1;
}

@media(max-width:767px) {
   .case-info {
        grid-template-rows: auto;
        grid-template-columns: auto;
        grid-auto-flow: row;
        gap: 30px;
    } 
    .case-info::before {
        display: none;
    }
    .case-info__block:last-child {
        grid-row: auto;
        grid-column: auto;
    }
    .case__logo img {
        padding: 15px;
    }
}

.content {
    position: relative;
    font-size: 20px;
    line-height: 140%;
}

.content p {
    margin: 0;
}
.text {
    font-size: 22px;
    line-height: 140%;
}

.text p {
    margin: 0;
}
@media(max-width:767px) {
    .text {
        font-size: 18px;
    }
}

.text-large {
    font-size: 27px;
    line-height: 140%;
    font-weight: 700;
}
.text-large p {
    margin: 0 0 10px;
}
.text-large p:last-child {
    margin: 0;
}


.text-large.background {
    background: rgba(255,255,255,0.08);
    padding: 70px 80px;
}
.chain {
    background: rgba(255,255,255,0.08);
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.chain p {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    font-size: 26px;
    text-transform: uppercase;
    margin: 0;
    font-weight: 700;
}
.chain p::after {
    content: '';
    width: 100px;
    aspect-ratio: 3 / 2;
    background-image: url(/assets/foto/arrow2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.chain p:last-of-type::after {
    display: none;
}

@media(max-width: 1279px) {
    .text-large.background {
        padding: 40px;
    }
    .chain {
        padding: 40px;
        gap: 20px 40px;
    }
    .chain p {
        gap: 40px;
    }
    .chain p::after {
        width: 80px;
    }
}

@media(max-width: 939px) {
    .chain {
        flex-direction: column;
        gap: 40px;
    }
    .chain p {
        flex-direction: column;
        gap: 40px;
    }
    .chain p::after {
        transform: rotate(90deg);
    }
}

@media(max-width:767px) {
    .text-large.background {
        padding: 25px;
    }
    .chain {
        padding: 25px;
        gap: 20px 40px;
    }
    .chain p {
        font-size: 22px;
    }
}

.title-pink,
.title-blue {
    position: relative;
    font-size: 26px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 120%;
    margin: 0 0 25px;
    padding-left: 20px;
    z-index: 2;
}
.title-pink::before,
.title-blue::before {
    position: absolute;
    top: -4px;
    left: 0;
    width: 30px;
    height: 38px;
    z-index: -1;
}
.title-pink::before {
    content: '';
    background: var(--color-accent);
}
.title-blue::before {
    content: '';
    background: var(--color-blue);
}
.subtitle {
    font-size: 16px;
    line-height: 140%;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b0b0b0;
    margin-bottom: 40px;
}
.pl-50 {
    padding-left: 50px;
}

.img-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.gallery {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}
.gallery::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    display: block;
    width: 2px;
    height: 100%;
    background: radial-gradient(circle, #e8bdd2, #e6e63d);
}

.full-img {
    position: relative;
    width: 100%;
    z-index: 2;
}

.full-img a {
    display: block;
    width: 100%;
}

.full-img img {
    width: 100%;
}
.full-img:has(p) {
    padding-bottom: 40px;
}
.full-img p {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 16px;
    line-height: 140%;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b0b0b0;
    margin: 0;
}

.full-img a::after,
.full-img a::before {
    display: none;
}
.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img {
    position: relative;
    padding: 60px;
    width: 100%;
    background: rgba(255,255,255,0.08);
    z-index: 2;
}
.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img p {
    position: absolute;
    bottom: 10px;
    left: 60px;
    font-size: 16px;
    line-height: 140%;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b0b0b0;
    margin: 0;
}

.gallery .img {
    flex: 1 1 50%;
}
.gallery a::before,
.gallery a::after {
    display: none;
}
.gallery .img::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    display: block;
    width: 100%;
    height: 2px;
}
.gallery .img:nth-child(even)::after {
    background: radial-gradient(circle at left, #e8bdd2, #e6e63d);
}
.gallery .img:nth-child(odd)::after {
    background: radial-gradient(circle at right, #e8bdd2, #e6e63d);
}

.gallery .img:nth-last-child(1)::after,
.gallery .img:nth-last-child(2)::after{
    display: none;
}

.gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.content a {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.content a::after {
    content: '';
    display: block;
    width: calc(100% + 10px);
    height: calc(100% + 12px);
    position: absolute;
    top: -5px;
    left: -6px;
    z-index: -1;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}
.content a::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-blue);
    position: absolute;
    left: 0;
    bottom: -2px;
    transition: opacity 0.3s ease;
}

.content a:hover,
.content a:focus {
    color: #fff;
}
.content a:hover::before,
.content a:focus::before {
    opacity: 0;
}

.content a:hover::after {
    background-color: var(--color-blue);
}
.content a:focus::after {
    background-color: var(--color-accent);
}

.content ol {
    display: grid;
    gap: 20px;
}

.content ul li {
    padding-left: 10px;
}

.content ul li::marker {
    content: '\2014';
}

.content table {
    width: 100%;
    margin-bottom: 50px;
    border-collapse: collapse;
}
.content tr {
    display: flex;
    gap: 50px;
}
.content td {
    padding: 60px;
    background: rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
}
.content table p {
    margin: 0;
}

.content hr {
    width: 100%;
    height: 2px;
    border: 0;
    background: var(--color-blue);
    margin: 50px 0;
}

@media(max-width:959px) {
      .content td {
        padding: 25px;
    }  
}

@media(max-width:767px) {
    .content {
        font-size: 16px;
    }
    .case .content {
        margin-bottom: 70px;
    }
     .text-large {
        font-size: 20px;
    }
    .text-large.background {
        padding: 25px;
    }
    .title-pink,
    .title-blue {
        font-size: 20px;;
    }
    
    .subtitle {
        font-size: 14px;
        padding-left: 30px;
        margin-bottom: 30px;
    }
    .pl-50 {
        padding-left: 20px;
    }
    
    .gallery .img {
        flex: 1 1 100%;
    }
    .gallery::after {
        display: none;
    }
   .gallery__img {
        padding: 25px;
    }

    .gallery .img:nth-last-child(2)::after,
    .gallery .img::after {
        display: block;
    }
    .gallery .img:nth-last-child(1)::after {
        display: none;
    }
    
     .img-block {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .img {
        padding: 25px;
    }
    .img p {
        bottom: 5px;
        left: 25px;
        font-size: 12px;
    }
    .img-block .img,
    .img-block p {
        flex: 0;
    }
    .content table {
        margin-bottom: 30px;
    }
    .content tr {
        flex-direction: column;
        gap: 25px;
    }
    .content td {
        padding: 25px;
    }
    .content hr {
        margin: 25px 0;
    }
}

.columns {
    display: grid;
    gap: 50px;
    margin-bottom: 50px;
}
.columns--2 {
   grid-template-columns: repeat(2, 1fr);
}
.columns--3 {
    grid-template-columns: repeat(3, 1fr);
}
.columns .card {
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
}
.columns .card p {
    margin: 0;
}

@media(max-width:959px) {
    .columns .card  {
        padding: 25px;
    }  
}

@media(max-width:767px) {
    .columns  {
        margin-bottom: 30px;
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .columns--2,
    .columns--3 {
        grid-template-columns: 1fr;
    }
}

.blockquote {
    margin: 0 0 60px;
    background: rgba(255,255,255,0.08);
    padding: 60px 90px;
    display: grid;
    gap: 50px;
}
.blockquote__author {
    display: grid;
    gap: 0 20px;
    font-size: 16px;
    line-height: 140%;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b0b0b0;
}
.blockquote.reverse .blockquote__author {
    order: 2;
}
.blockquote__author:has(.blockquote__author-img) {
    grid-template-columns: 100px 1fr;
}
.blockquote__author-name {
    align-self: end;
    font-weight: 700;
    color: #fff;
}
.blockquote__author-img {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}
.blockquote__author img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}
.blockquote__text {
    position: relative;
    font-size: 27px;
    line-height: 140%;
    font-weight: 700;
    z-index: 2;
}
.blockquote__text p {
    margin: 0;
}
.blockquote__text::after,
.blockquote__text::before {
    content: '';
    position: absolute;
    display: block;
    width: 98px;
    height: 98px;
    background-size: cover;
    filter: blur(10px);
    z-index: -1;
}
.blockquote__text::after {
    background-image: url(/assets/foto/quote-blue2.svg);
    top: -20px;
    left: -50px;
}
.blockquote__text::before {
    bottom: -20px;
    right: -50px;
    background-image: url(/assets/foto/quote-pink2.svg);
}

.blockquote__gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.blockquote__gallery img {
    height: 195px;
}

.blockquote__gallery a:after,
.blockquote__gallery a:before{
   display: none;
}

@media(max-width:767px) {
    .blockquote {
        padding: 25px;
        gap: 20px;
    }
    .blockquote__author {
        font-size: 14px;
        gap: 15px;
    }
    .blockquote__author:has(.blockquote__author-img) {
        grid-template-columns: 1fr;
    }
    .blockquote__author-img {
        grid-row: auto;
        grid-column: auto;
    }
    .blockquote__author img {
        width: 80px;
        height: 80px;
    }
    .blockquote__text {
        font-size: 18px;
        margin-top: 30px;
    }
    .blockquote__text::after,
    .blockquote__text::before {
        width: 50px;
        height: 50px;
    }
    .blockquote__text::after {
        top: -15px;
        left: -25px;
    }
    .blockquote__text::before {
        bottom: -15px;
        right: -25px;
    }
}
.promo {
    display: grid;
    grid-template-columns: 3fr 4fr;
    gap: 20px;
    align-items: start;
}

.promo__info {
    display: grid;
    gap: 30px;
}
.promo__title {
   font-size: 32px;
   line-height: 130%;
   font-weight: 700;
}
.promo__text {
    font-size: 16px;
    line-height: 130%;
}
@media (max-width: 959px) {
    .promo {
        grid-template-columns: 1fr;
    }
    .promo__info {
        order: 2;
    }
}
@media(max-width: 539px) {
    .promo__info {
        gap: 15px;
    }
    .promo__title {
       font-size: 28px;
    }
    .promo__text {
        font-size: 14px;
    }
}
.feature-card {
    background: rgba(255,255,255,0.08);
    padding: 20px 15px;
}
.feature-card__title {
    font-size: 18px;
    line-height: 140%;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.feature-card__text p {
    font-size: 14px;
    line-height: 150%;
    margin: 0;
}
.step-card {
    background: rgba(255,255,255,0.08);
    padding: 50px 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: end;
    text-align: right;
}
.step-card__num {
    font-size: 78px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.015em;
    align-self: start;
    text-align: left;
}
.step-card__title {
    font-size: 28px;
    line-height: 130%;
    letter-spacing: 0.025em;
}
.step-card__text p {
    font-size: 14px;
    line-height: 150%;
    margin: 0;
    color: var(--color-light);
    text-transform: uppercase;
}
@media(max-width: 767px) {
    .step-card {
        padding: 20px;
    }
    .step-card__num {
        font-size: 54px;
    }
}
@media(max-width: 539px) {
    .step-card__num {
        font-size: 32px;
    }
    .step-card__title {
        font-size: 24px;;
    }
}
.footer-form {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 50px;
    padding-bottom: 65px;
}
.footer-form__form {
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    max-width: 400px;
}
.footer-form__title {
    font-size: 28px;
    line-height: 110%;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
}
.footer-form__subtitle {
    font-size: 16px;
    line-height: 118%;
    letter-spacing: 0.1em;
    color: var(--color-light);
    text-transform: uppercase;
    text-align: center;
}
.footer-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.footer-form .custom-input {
    max-width: 340px;
}
.footer-form__slogan {
    text-transform: uppercase;
    font-size: 36px;
    line-height: 120%;
    font-weight: 700;
}
.footer-form__contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 30px;
}
.footer-form__accent {
    font-size: 24px;
    font-weight: 700;
    line-height: 110%;
    color: var(--color-accent);
}
.footer-form__link {
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    display: flex;
    gap: 7px;
    align-items: center;
}
.footer-form__link p {
    margin: 0;
}
.footer-form__link a:hover {
    opacity: 0.7;
}
.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.icon-link:hover {
    transform: scale(1.2);
    opacity: 1;
}
.footer-form__attention {
    align-self: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
}
.footer-form__attention span {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-accent);
}
.footer-form__socials .socials {
    gap: 20px;
}
.footer-form__socials .socials__link {
    width: 30px;
    height: 30px;
}
@media(max-width: 1100px) {
    .footer-form {
        display: grid;
        grid-template-columns: 1fr;
        gap: 50px;
        padding-bottom: 65px;
    }
    .footer-form__form {
        max-width: 700px;
        margin: 0 auto;
    }
    .footer-form .custom-input {
        max-width: 100%;
    }
}
@media(max-width: 767px) {
    .footer-form__contacts {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-form__title {
        font-size: 20px;
    }
    .footer-form__slogan {
        font-size: 24px;
    }
}

.article__pagination {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}
.article__link {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b0b0b0; 
    max-width: 420px;
}
.article__link.prev {
    padding-left: 32px;
}
.article__link.next {
    padding-right: 32px;
    text-align: right;
    align-items: end;
}
.article__link-title {
    font-size: 16px;
    text-transform: none;
    color: #fff;  
    font-weight: 500;
    text-wrap: balance;
    transition: color 0.3s ease;
}
.article__link svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    color: #fff;
    transition: color 0.3s ease;
}
.article__link.prev svg {
    left: 0;
}
.article__link.next svg {
    right: 0;
}
.article__link:hover .article__link-title,
.article__link:hover svg {
    color: var(--color-accent);
}

@media(max-width: 539px) {
    .article__link {
        font-size: 11px;
    }
    .article__link-title {
        display: none;
    }
}

.lang {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.lang__link {
   color: rgba(255,255,255,0.5); 
   text-decoration: none; 
   transition: opacity 0.3s ease; 
   padding: 4px 8px;
}

.lang__link.current {
    border: 2px solid #e6e63d;
    border-radius: 4px;
}

.lang__link:hover {
    opacity: 0.8;
}
.team .swiper {
    max-width: 640px;
    margin: 0 auto;
}
.team-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    justify-content: end;
    width: 100%;
    aspect-ratio: 2 / 3;
    position: relative;
}
.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}
.team-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.team-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-card__link {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 5;
}
.team-card__link a {
    color: #fff;
    font-size: 20px;
    font-weight: 100;
    text-align: center;
    transform: translateY(-320px);
}
.team-card__info {
    position: relative;
    background: rgba(10,10,10,0.5);
    padding: 10px;
    transition: all 0.5s ease;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 14px;
    text-align: center;
    line-height: 150%;
    z-index: 3;
}
.team-card__name {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}
.team-card:hover .team-card__info {
    transform: translateY(-50%);
    background: transparent;
}
.team-card:hover::after {
    opacity: 1;
}
.team-card:hover .team-card__link a {
    transform: translateY(0);
    transition: transform 0.7s ease;
    transition-delay: 0.3s;
}