:root {
    --orange: #DF5831;
    --orange_2: #DB3100;
    --red: #d10000;
    --lime: #E0EFAF;
    --violet: #483F77;
    --violet_2: #372f5f;
    --lavand: #F4D7FF;
    --sand: #E8D8B6;
    --white: #ffffff;   

    --eye-height: 49px;

    --transtion-delay: 0.2s;
    --transition: var(--transtion-delay) ease all;
    --transition-basic: 
        color var(--transtion-delay) ease,
        border var(--transtion-delay) ease,
        box-shadow var(--transtion-delay) ease,
        transform var(--transtion-delay) ease,
        background-color var(--transtion-delay) ease,
        filter var(--transtion-delay) ease,
        background var(--transtion-delay) ease,
        opacity var(--transtion-delay) ease;
    --transition-svg:
        fill var(--transtion-delay) ease,
        stroke var(--transtion-delay) ease,
        stroke-width var(--transtion-delay) ease;
    --br: 50px;
}

@keyframes float {
    0% {transform: translateY(0px);}
    50% {transform: translateY(10px);}
    100% {transform: translateY(0px);}
}

@font-face {
    font-family: "chiron";
    src:
    url("../fonts/ChironGoRoundTC-Medium.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "chiron";
    src:
    url("../fonts/ChironGoRoundTC-ExtraBold.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@keyframes eye_blink_2 {
    0% {transform: translateY(0); height: var(--eye-height);}
    3% {transform: translateY(25px); height: 0;}
    6% {transform: translateY(0); height: var(--eye-height);}
    100% {transform: translateY(0); height: var(--eye-height);}    
}

@keyframes eye_blink {
    0% {transform: scale(1, 1) translateY(0);}
    3% {transform: scale(1, 0) translateY(25px);}
    6% {transform: scale(1, 0) translateY(0);}
    9% {transform: scale(1, 1) translateY(0);}    
}

@keyframes paw_wiggle {
    0% {transform: rotate(5deg);}
    50% {transform: rotate(-5deg);}
    100% {transform: rotate(5deg);}
}

@keyframes fly-away {
    0% {transform: scale(1) translate(0, 0); opacity: 1;}
    100% {transform: scale(0.5) translate(70px, -50px); opacity: 0;}
}


html {
    box-sizing: border-box;
    overflow-x: hidden;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    position: relative;

    min-width: 360px;
    max-width: 100vw;
    min-height: 100vh;
    padding: 0 30px;

    font-family: "chiron", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    color: var(--violet);
    text-rendering: optimizeLegibility;

    background-color: var(--violet);
    overflow-x: hidden;
}

.popup-opened {
    overflow: hidden !important;
    max-height: 100% !important;
}

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

*::selection {
    color: var(--white);
    background-color: var(--orange);
}

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

a {
    color: var(--orange);
    transition: var(--transition-basic);  
    border-radius: 5px;
}

a:hover,
a:focus {
    color: var(--orange_2); 
}

a:focus {
    outline: 1px dotted var(--orange);
    outline-offset: 5px;    
}

a:active {
    color: var(--red);
    text-decoration: dotted;
}

button {
    transition: var(--transition);  
}

button:focus {
    outline: 1px dotted var(--orange);
    outline-offset: 5px;
}

em, i {
  font-style: normal !important;
}

p:empty {
  display: none !important;
}

/* Основные стили */

.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;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px 15px 30px;

    color: #fff;
    font-weight: 900;
    font-size: 18px;
    text-decoration: none;
    font-family: inherit;
    white-space: nowrap;

    background-color: var(--orange);
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: var(--transition-basic);
}

.btn:hover,
.btn:focus {
    background-color: var(--white);
    color: var(--violet);
}

.btn:active {
    background-color: var(--white);
    color: var(--orange);
    transform: scale(0.96);
}

.btn--small {    
    padding: 8px 20px 10px 20px;
}

.btn--empty {
    color: var(--lavand);
    background-color: unset;
    border: 2px solid var(--lavand);    
}

.btn--empty:hover,
.btn--empty:focus {
    background-color: var(--lavand);
    color: var(--violet);
    outline-color: var(--lavand);
}

.btn--empty:active {
    outline-color: var(--lavand);
}


.title {
    padding: 0;
    margin: 0;
    font-weight: 900;
}

.title--big {
    font-size: 64px;
    line-height: 1.1;
}

.title--medium {
    font-size: 36px;
    line-height: 1.25;
}

.title--small {
    font-size: 24px;
    line-height: 1.25;
}

.title--center {
    text-align: center;
}


.container {
    width: 100%;
    max-width: 1350px;
}


.box {
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 50px 0;

   border-radius: var(--br);
}

.box--top {
    border-radius: 0 0 var(--br) var(--br);
}

.box--bottom {
    border-radius: var(--br) var(--br) 0 0;
}

.box--margin-top {
    margin-top: 25px;
}

.box--column {
    flex-direction: column;
}


.hero {
    position: relative;
    z-index: 100;
    background-color: var(--lime);
    padding: 0;
}

.hero__container {
    display: flex;
    flex-direction: column;   
    max-width: 1250px; 
}

.hero__image {
    position: relative;
    max-width: 510px;
    margin-bottom: -74px;
    pointer-events: none !important;
}


.eye {
    position: absolute;
    z-index: 300;
    width: 48px;
    height: 49px;
    animation: eye_blink 5s linear infinite;    
    background-size: 100%;
}

.eye--left {
    left: 48%;
    top: 21%;
    background: url('../img/eye_01.webp') 50% 50% no-repeat;
}

.eye--right {
    left: 70%;
    top: 23%;    
    background: url('../img/eye_02.webp') 50% 50% no-repeat;
    animation-delay: 0.05s;
}


.hero__cat {
    position: relative;
    z-index: 100;
}

.hero__paw {
    position: absolute;
    z-index: 200;
    top: 0;
    left: 0;
    animation: paw_wiggle 1s infinite ease-in-out;
    transform-origin: 16% 93%;
}

.hero__content {
    display: flex;
    justify-content: space-between;   
    margin-top: 50px; 
}

.hero__title {
    width: 100%;
    height: auto;
    max-width: 713px;    
}

.hero__left {
    position: relative;
    flex-grow: 1;    
    height: fit-content;
    margin-top: 50px;
}

.hero__btn {
    position: absolute;
    bottom: 50px;
    left: 0;
}


.nav {
    width: 100%;
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.nav__list {
    display: flex;
    padding: 14px 30px 15px 30px;
    gap: 50px;
    margin: 0;
    
    list-style: none;
    background-color: var(--white);
    border-radius: 15px;
}

.nav__item a {
    color: var(--violet);
    font-weight: 900;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
}

.nav__item a:hover,
.nav__item a:focus {
    color: var(--orange);
}

.nav__item a:active {
    color: var(--orange_2);
}

.nav__tg {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    width: 53px;

    background-color: var(--violet);
    transition: var(--transition-basic);
    border-radius: 50%;
}

.nav__tg:hover,
.nav__tg:focus {
    background-color: var(--orange);
}

.nav__tg:active {
    transform: scale(0.9);
}

.nav__icon {
    margin: 0 0 0 -3px;
    stroke: var(--white);
    stroke-width: 1.5;
}


.bird {
    position: absolute;
    width: 82px;
    height: 94px;
}

.cloud {
    position: absolute;  
    z-index: -1;
    pointer-events: none;
}

.cloud--1 {
    bottom: -150px;
    left: 5%;

    width: 346px;
    height: 219px;

    animation: float 2.5s ease-in-out infinite;
}

.cloud--2 {
    top: 50px;
    right: 5%;    

    width: 300px;
    height: 205px;

    animation: float 5s linear infinite;
}

.cloud--3 {
    top: -75px;
    right: 5%;
    z-index: 300;

    width: 280px;
    height: 150px;

    animation: float 2.5s ease-in-out infinite;
}


.about {
    position: relative;
    background-color: var(--lavand);
}

.about__grid {
    display: grid;    
    grid-template-areas:
    "left left center center right right"
    "bleft bleft bleft bright bright bright"
    ;    
    margin-top: 50px;
    gap: 20px;
}

.about__bird {
    left: 15%;
    top: -75px;
}

.about__bird--mobile {
    display: none;
}

.about__cat-wrapper {
    position: relative;
    grid-area: center;
}

.about__bubble {
    position: absolute;
    right: -250px;
    top: 50px;

    width: 230px;
    height: 80px;
}

.about__grid-left {
    grid-area: left;
}

.about__grid-right {
    grid-area: right;
}

.about__grid-right,
.about__grid-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}


.info-block {
    display: flex;
    flex-direction: column;
    padding: 30px;
    margin-top: 30px;

    border-radius: 15px;
    border: 2px solid var(--violet);
}

.info-block--1 {
    grid-area: bleft;
}

.info-block--2 {
    grid-area: bright;
}

.info-block__title {
    margin: 50px 0 30px 0;
}

.info-block__text {
    margin: 0;
}

.info-block__img {
    align-self: center;
    max-width: 320px;
}


.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    padding: 15px;
    
    background-color: var(--white);
    border-radius: 15px;
    transition: var(--transition-basic);
}

.feature-card__text {
    margin: 7px 0 0 0;
    line-height: 1.35;
}

.feature-card__title {
    margin: 10px 0 0 0;
    font-weight: 900;
}

.feature-card--1 {
    left: 100px;
}

.feature-card--3 {
    left: 50px;
}

.feature-card--4 {
    left: 100px;
}

.feature-card__icon {
    stroke-width: 1.5;
    stroke: var(--violet);
    stroke-linecap: round;
}


.projects__title {
    max-width: 850px;
    margin: 0 auto;
}

.projects__intro {
    position: relative;

    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
    padding: 30px;

    background-color: var(--sand);
    border-radius: var(--br);
}

.projects__intro-columns {
    display: flex;    
}

.projects__video-wrapper {
    background: url('../img/video-poster.jpg') 50% 50% no-repeat;
    background-size: cover;
}

.projects__video-wrapper,
.projects__desc {
    width: 50%;    
}

.projects__video-wrapper {
    position: relative;
    align-self: center;
    flex-grow: 1;
    overflow: hidden;
    border-radius: 30px;
}

.projects__video-wrapper video {
    position: relative;
    z-index: 100;
    display: block;
    aspect-ratio: 16/9;
    width: 100%;
}

.projects__desc {
    padding-right: 100px;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 900;
    align-content: center;
}


.video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 200;

    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;    
    width: 140px;

    background-color: var(--violet);

    border-radius: 50%;
    border: none;
    transition: var(--transition-basic);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.video-btn--hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    pointer-events: none;
}

.video-btn:hover,
.video-btn:focus {
    background-color: var(--orange);
}

.video-btn:active {
    transform: translate(-50%, -50%) scale(0.9);
}

.video-btn:active svg {
    fill: var(--white);
}

.video-btn svg {
    transition: var(--transition-svg);
    margin: 0 -10px 0 0;
    fill: var(--lavand);
}


.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    margin-top: 50px;
}

.filter-btn--active {
    border-color: var(--orange) !important;
    background-color: var(--orange) !important;
    color: var(--white) !important;
}


.projects__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px 20px;
    margin-top: 20px;
}

.project-card {
    display: flex;
}

.project-card--hidden {
    display: none;
}

.project-card--hidden {
    display: none;
}

@keyframes fade-in {
    0% {opacity: 0; transform: scale(0.95);}
    90% {opacity: 1; transform: scale(1.02);}
    100% {opacity: 1; transform: scale(1);}    
}

.project-card--fade-in {
    display: flex;
    opacity: 0;
    animation-fill-mode: forwards;
    animation: fade-in 0.3s ease-in 1;
}

.project-card__img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--br);
    transition: var(--transition-basic);    
}

.project-card__shadow {
    position: absolute;
    z-index: 200;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    
    box-shadow: 
        0 0 0 0 var(--white) inset,
        0 0 5px 10px var(--violet_2);
    transition: var(--transition-basic); 
    border-radius: 50px;
}

.project-card__img-wrapper img {
    position: relative;
    z-index: 100;
    transition: var(--transition-basic);
}

.project-card__link {
    color: var(--lavand);
    text-decoration: none;
    font-weight: 900;
    border-radius: 50px;    
}

.project-card__link:hover,
.project-card__link:focus {
    color: var(--white);
    background-color: var(--violet_2);
    outline-color: var(--lavand);
} 

.project-card__link:hover img,
.project-card__link:focus img {
    transform: scale(1.2);
}

.project-card__link:hover .project-card__shadow,
.project-card__link:focus .project-card__shadow {
    box-shadow: 
        0 0 0 15px var(--white) inset,
        0 0 5px 10px var(--violet_2);  
}

.project-card__link:active {
    color: var(--sand);
    outline-color: var(--lavand);
}

.project-card__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
}

.project-card__desc {
    margin: 7px 0 0 0;
}

.project-card__content {
    margin-top: 15px;
    padding: 0 50px 30px 50px;
}


.cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 40px 40px 40px;

    background-color: var(--lavand);
    border-radius: var(--br);    
}
.cta-banner__title {
    margin: -3px 0 0 0;    
    font-size: 64px;
    line-height: 1.25;
    font-weight: 900;
}


.audience {
    position: relative;
    margin-top: 20px;
    background-color: var(--sand);
}

.audience__grid {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;    
    justify-content: center;
}

.audience-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 20%;
    min-height: 240px;
    padding: 0 30px;    

    text-align: center;    
}

.audience-item__circle {
    max-width: 150px;
    overflow: hidden;
    border-radius: 50%;    
}

.audience-item__title {
    margin-top: 20px;
}

.audience-item__text {
    margin: 15px 0 0 0;
}

.audience__container {
    max-width: calc(100% - 200px);
}

.audience__cat {
    position: absolute;
    right: 0;
    top: -28px;
    width: 180px;
}


.team {
    background-color: var(--white);
    margin-top: 20px;
}

.team__grid {
    display: flex;   
    justify-content: center; 
    margin-top: 50px;
}

.team__member {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33.33%;
    padding: 0 30px;

    text-align: center;
    cursor: pointer;
}

.team__portrait {
    position: relative;
    max-width: 250px;    

    border-radius: 30px;
    overflow: hidden;
}

.team__member:hover .team__portrait-mask,
.team__member:focus .team__portrait-mask,
.team__member--active .team__portrait-mask,
.team__member--active .team__portrait-mask {
    opacity: 0;
    transform: scale(1.1);
}

.team__portrait-photo {
    position: relative;
    z-index: 100;
}

.team__portrait-mask {
    position: absolute;
    z-index: 200;
    top: 0;
    left: 0;
    transition: var(--transition-basic);
}

.team__name {
    margin: 20px 0 0 0;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 900;
}

.team__role {
    margin: 10px 0 0 0;
    font-size: 20px;
    line-height: 1.25;
}


.end {
    color: var(--lavand);
}

.end__subtitle {
    position: relative;
    margin: 30px auto 0 auto;
    padding: 15px;
    max-width: 800px;

    font-size: 24px;
    line-height: 1.25;
    text-align: center;
    font-weight: 900;
    color: var(--violet);

    background-color: var(--white);
    border-radius: 50px;
}

.end__subtitle::after {
    position: absolute;
    bottom: -64px;
    right: 20%;

    width: 86px;
    height: 65px;

    background: url('../img/bubble_02.svg') 50% 50% no-repeat;

    content: '';
}

.end__content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;    
    margin-top: 50px;
}

.end__cat {
    transform: translateX(-100px);
}

.end__center,
.end__right,
.end__left {
    display: flex;
    justify-content: center;    
}

.end__social {
    display: flex;
    flex-direction: column;
    align-self: center;
    margin-top: -100px;
}

.end__social:hover .end__icon {
    animation: fly-away 0.5s 1 ease-out;
    animation-fill-mode: forwards;
}

.end__icon {
    width: 50px;
    height: 50px;
    margin-left: 50px;
    margin-bottom: 15px;

    stroke-width: 1.5;
    stroke: var(--lavand);
    transition: var(--transition-basic);
}

.end__social-link {
    margin-left: -5px;
    font-size: 36px;
    line-height: 1;
    font-weight: 900;
    color: var(--lavand);
    text-decoration: none;    
}

.end__social-link:hover,
.end__social-link:focus {
    color: var(--white);
}

.end__social-link:active {
    color: var(--orange);
}

.end__form {
    align-self: center;
}


.form {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;

    background: transparent;
}

.form__group {
    margin-bottom: 10px;
}

.form__row {
    display: flex;
    gap: 15px;
}

.form__row .form__group {
    flex: 1;
}

.form__input {
    width: 100%;
    padding: 15px 20px;

    color: var(--lavand);    
    font-size: 16px;
    line-height: 1;
    font-family: inherit;
    
    background: transparent;
    border-radius: 15px;
    border: 2px solid var(--lavand);
    transition: var(--transition-basic);
}

.form__input::placeholder {
    color: var(--lavand);
    transition: opacity var(--transtion-delay) ease;
}

.form__input:focus {
    outline: none;
    border-color: var(--orange);
}

.form__input:focus::placeholder {
    opacity: 0;
}

.form__error {
    border-color: var(--red);
}

.form__success {
    border-color: var(--lime);
}

.form__input--area {
    height: 100px;
    resize: vertical;    
}

.form__agree {
    padding: 0 20px;
    font-size: 12px;
    line-height: 1.5;
}

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

.form__btn {
    margin: 15px auto 0 auto;
}

.form__status {
    position: absolute;
    z-index: 1000;
    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    
    background-color: var(--violet);
    border-radius: 15px;
    border: 2px solid var(--lavand);
    transition: var(--transition-basic);    
    opacity: 0;
    pointer-events: none;
}

.form__bird {
    top: -80px;
    right: 50px;
    z-index: 900;
}

.form__status--active {
    opacity: 1;
    pointer-events: auto;
}


.error-msg {
    display: none;
    margin-top: 4px;
    padding-left: 23px;
    font-size: 12px;
    color: var(--lavand);
}


.footer {
    color: var(--lavand);
    border: 2px solid var(--lavand);
    border-bottom: none;
}


.animated,
[data-animate-children] > * {
    pointer-events: none;
    opacity: 0;
    transform: translateY(50px);
    filter: blur(5px);
    transition: 
        transform 0.5s ease,
        opacity 0.5s ease,
        filter 0.5s ease;    
}

.animated--active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    filter: blur(0);
}

.mobile-controls {
    position: relative;

    display: none;
    width: 53px;
    aspect-ratio: 1/1;

    color: var(--violet);
    background-color: var(--white);

    border: 3px solid var(--violet);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-basic);
}

.mobile-controls::before,
.mobile-controls::after {
    position: absolute;
    top: 50%;
    left: 50%;

    margin-left: -15px;    
    margin-top: -2px;
    width: 30px;
    height: 4px;
    
    border-radius: 4px;
    background-color: var(--violet);
    transition: var(--transition-basic);
    content: '';
}

.mobile-controls--closed::before {
    transform: translateY(-9px);
    box-shadow: 0 9px 0 0 var(--violet);
}

.mobile-controls--closed::after{
    transform: translateY(9px);
}

.mobile-controls--opened::before {
    transform: rotate(135deg);    
}

.mobile-controls--opened + .nav__list {
    transform: translateY(0px);
    filter: blur(0px);
    pointer-events: auto;
    opacity: 1;
}

.mobile-controls--opened::after{
    transform: rotate(45deg);
}


.popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    display: block;          /* важно */
    height: 100vh;
    width: 100%;
    padding: 30px;

    overflow-y: auto;        /* ВКЛЮЧАЕМ СКРОЛЛ */
    border-radius: 75px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-basic);  
    transform: scale(0.9);
}

.popup--active {
    background-color: var(--sand);
    pointer-events: auto;
    transform: scale(1);  
    opacity: 1;
    border-radius: 0;
}

.popup__content {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    min-height: 100%;
    padding: 50px;
    
    background-color: var(--white);
    border-radius: 35px;
}

.popup__body {
    display: grid;
    grid-template-columns: 50% 45%;
    grid-template-areas: 
    "slider info";
}

.popup__title {
    /* padding-top: 50px; */
}

.popup__info {
    grid-area: info;
    padding: 0 0 0 30px;
}

.popup__text {
    margin: 30px 0 0 0;
    padding: 0 7px;    
}

.popup__slider-wrap {
    grid-area: slider;
    overflow: hidden;
    border-radius: 30px;
    align-self: baseline;
}

.popup__close {
    position: absolute;
    top: -10px;
    right: -10px;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;

    border: none;
    border-radius: 50%;
    transform: rotate(45deg);
    cursor: pointer;
    background-color: var(--orange);
}

.popup__close::after,
.popup__close::before {
    position: absolute;
    
    width: 60%;
    height: 4px;

    border-radius: 5px;
    background-color: var(--sand);

    content: '';
}

.popup__close::before {
    transform: rotate(90deg);
}

.popup__close:hover,
.popup__close:focus {
    background-color: var(--orange_2);
}

.popup__close:active {
    transform: scale(0.9) rotate(45deg);
}


.popup__navigation {
    display: flex;
    width: 100%;
    padding: 15px 15px 0 15px;
    border-top: 2px solid var(--violet);    
}

.popup__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;

    color: var(--violet);
    font-weight: 700;
    font-family: inherit;
    font-size: 16px;
    line-height: 1;
    
    background: none;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    outline: none !important;
}

.popup__btn:hover,
.popup__btn:focus {
    color: var(--orange);
}

.popup__btn:hover svg,
.popup__btn:focus svg {
    stroke: var(--orange);
}

.popup__btn:active {
    color: var(--red);    
}

.popup__btn--prev:active {
    padding-left: 15px;    
}

.popup__btn--next:active {
    padding-right: 15px;    
}

.popup__btn:active svg,
.popup__btn:active svg {
    stroke: var(--red);
}

.popup__btn svg {
    width: 42px;
    height: 20px;

    fill: none;
    stroke: var(--violet);
    stroke-linecap: round;
    stroke-width: 5px;

    transition: var(--transition-svg);
}

.popup__btn--next {
    justify-content: flex-end;
}

.popup__btn--next svg {
    order: 1;
    transform: rotate(180deg);
}

.popup-list {
    padding: 0 0 0 15px;
    margin: 0;
}

.popup-list li {
    margin-bottom: 10px;
}

.popup-list__name {
    margin: 0;
}

.swiper {
    position: relative;
}

.swiper--single + .swiper__controls {
    display: none !important;
}

.swiper__controls {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1100;

    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 15px;    
}

.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-basic);
}

.swiper-pagination-bullet:hover, 
.swiper-pagination-bullet:focus {
    background-color: var(--orange);
} 

.swiper-pagination-bullet:active {
    transform: scale(0.9);
    outline: 1px dotted var(--orange);
    outline-offset: 3px;
} 

.swiper-pagination-bullet-active {
    background-color: var(--violet) !important;
}

.swiper-button-prev,
.swiper-button-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;

    background-color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-basic);
}

.swiper-button-prev svg,
.swiper-button-next svg {
    fill: var(--violet);
    stroke: var(--violet);
    stroke-width: 1px;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;

    transition: var(--transition-svg);
}

.swiper-button-next svg {
    margin-right: -3px;
}

.swiper-button-prev svg {
    margin-left: -3px;
    transform: rotate(-180deg);    
}

.swiper-button-prev:hover,
.swiper-button-next:hover,
.swiper-button-prev:focus,
.swiper-button-next:focus {
    background-color: var(--orange);
}

.swiper-button-prev:hover svg *,
.swiper-button-next:hover svg *,
.swiper-button-prev:focus svg *,
.swiper-button-next:focus svg * {
    stroke: var(--white);
    fill: var(--white);
}

.swiper-button-prev:active,
.swiper-button-next:active {
    transform: scale(0.9);
    outline: 1px dotted var(--orange);
    outline-offset: 5px;
}

/* ADAPTIVE */

@media (width <= 1450px) {
    .hero__container {
        padding: 0 50px;
    }

    .hero__left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__btn {
        position: relative;
        bottom: 0;          
        margin-top: 30px;  
    }

    .cloud--1 {
        width: 246px;
        height: 170px;
    }

    .cloud--2 {
        width: 246px;
        height: 150px;
    }

    .feature-card--1 {
        left: 0;
    }

    .feature-card--3 {
        left: 0;
    }

    .feature-card--4 {
        left: 0;
    }

    .about__bird {
        left: 70%;
    }

    .about {
        padding: 50px;
    }

    .about__cat {
        margin-top: 50px;
    }
}


@media (width <= 1200px) {
    .hero__image {
        transform: scale(0.9);
        margin-bottom: -95px;
    }

    .hero__left {
        margin-top: 25px;
        transform: translateX(50px);
    }

    .cloud--2 {
        width: 245px;
        height: 150px;
        top: 110px;
        right: -5%;
    }

    .cta-banner__title {
        font-size: 48px;
        line-height: 1;
    }

    .audience__grid {        
        gap: 30px 0;
    }
    
    .audience-item {
        width: 33.33%;
    }

    .audience__title {
        padding: 0 15%;
    }

    .popup__body {
        grid-template-columns: 1fr;
        grid-template-areas: 
        "slider"
        "info";
    }
    
    .popup__info {
        padding: 50px 0 0 0;
    }

    .popup__text {
        padding: 0;
    }
}

@media (width <= 1024px) {
    .title--big {
        font-size: 48px;
    }

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

    .team__name {
        font-size: 28px;
        line-height: 1;
    }

    .end__content {
        grid-template-columns: 40% 60%;
        grid-template-areas: 
        "cat tg"
        "cat form"
        "cat form";
    }

    .end__center {
        grid-area: cat;
    }

    .end__left {
        grid-area: tg;
    }

    .end__right {
        grid-area: form;
    }

    .end__cat {
        height: 60%;
        max-height: 500px;
        width: auto;
        position: absolute;
        left: -50px;
        transform: none;        
    }

    .end__center,
    .end__right,
    .end__left {
        padding: 0 30px;
    }

    .end__subtitle::after {
        right: 50%;
    }

    .end__left {
        margin-top: 100px;
    }

    .end__right {
        margin-top: 30px;
    }

    .form__bird {
        display: none;
    }
}

@media (width <= 992px) {
    .hero__image {
        transform: scale(0.7) translateX(50px);
        margin-bottom: -135px;
        margin-top: -100px;
    }

    .hero__content {
        margin-top: 75px;
    }

    .hero__left {
        margin-right: -50px;
    }

    .cloud--1 {
        bottom: -120px;
        width: 230px;
        height: 150px;
    }

    .btn {
        padding: 8px 20px 10px 20px;
    }

    .mobile-controls {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;

        justify-content: space-between;
        gap: 15px;
        width: 100vw;
        margin-top: 10px;
        padding: 0 40px;
        pointer-events: none;
    }

    .nav > * {
        pointer-events: auto;
    }

    .nav__list {
        position: absolute;
        top: 0;
        left: 92px;

        flex-wrap: wrap;
        gap: 25px;
        max-width: 70%;
        width: min-content;
        padding: 10px 20px;

        transform: translateY(15px);
        transition: var(--transition-basic);
        filter: blur(3px);
        pointer-events: none;
        opacity: 0;
        border: 3px solid var(--violet);
    }

    .hero__image {
        transform: scale(0.75);
        margin: -100px 0 -125px 0;
    }

    .about__grid {
        grid-template-areas: 
        "top1 top2"
        "center center"
        "bottom1 bottom1"
        "bottom2 bottom2";
    }

    .about__grid-left {
        grid-area: top1;
    }

    .about__grid-right {
        grid-area: top2;
    }

    .about__cat {
        margin-top: 0;
    }

    .about__cat-wrapper {
        grid-area: center;
        max-width: 300px;
        margin: 0 auto 0 17%;        
    }

    .info-block--1 {
        grid-area: bottom1;
    }

    .info-block--2 {
        grid-area: bottom2;
    }

    .info-block {
        margin-top: 0;
    }

    .info-block__title {
        margin: 30px 0 20px 0;
    }

    .projects__intro-columns {
        flex-direction: column;
    }

    .projects__desc,
    .projects__video-wrapper {
        width: 100%;
    }

    .projects__desc {
        padding: 60px 50px 50px 50px;
    }

    .cloud--3 {
        width: 270px;
        height: 130px;
    }

    .project-card__content {
        padding: 0 40px 15px 40px;
    }

    .audience__grid {
        gap:50px 0;
    }

    .audience-item {
        width: 50%;
    }

    .popup {
        padding: 0;
        border-radius: 0;
    }

    .popup__content {
        border-radius: 0;
    }

    .popup__close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
}


@media (width <= 850px) {
    :root {
        --eye-size: 80%;
    }

    .hero__content {
        flex-direction: column;
    }

    .hero__left {
        margin: 0 0 0 0;
        transform: unset;
    }

    .eye {
        animation: eye_blink 5s linear infinite;  
    }

    .eye--left {
        background-size: 80%;
    }

    .eye--right {
        background-size: 65%;
    }

    .hero__image {
        align-self: center;
        max-width: unset;
        width: 450px;        
        margin: 10px 0 -65px 0;

        transform: scale(1);
    }

    .cloud--1 {
        bottom: auto;
        top: 50%;
    }

    .cloud--2 {
        top: 30%;
    }

    .project-card__img-wrapper,
    .project-card__shadow,
    .project-card__link,
    .project-card {
        border-radius: 30px;
    }
}

@media (width <= 768px) {
    .about__cat-wrapper {
        margin: 0;
    }

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

    .cta-banner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .audience__container {
        max-width: unset;
    }

    .audience-item {
        width: 100%;
        padding: 0 30px;
    }

    .audience__title {
        padding: 0 30px;
    }

    .audience__cat {
        top: 115px;
        height: 250px;
        width: auto;
    }

    .audience-item__text {
        margin-top: 10px;
    }

    .team__grid {
        flex-wrap: wrap;
        gap: 50px 0;
    }

    .team__member {
        width: 50%;
    }

    .end__cat {
        left: -100px;
    }

    .end__subtitle {
        font-size: 20px;
        border-radius: 30px;
    }

    .popup__content {
        padding: 70px 30px 50px 30px;
    }

    .popup__close {
        right: 30px;
        top: 15px;
    }
}

@media (width <= 650px) {
    .about__grid {
        display: flex;
        flex-direction: column;
    }

    .feature-card {
        max-width: unset;
    }

    .about__cat-wrapper {
        order: 3;
    }

    .about__grid-left {
        order: 1;
    }

    .about__grid-right {
        order: 2;
    }

    .info-block {
        order: 4;
    }    
    
    .about__bird--pc {
        display: none;
    }

    .about__bird--mobile {
        bottom: 27px;
        top: auto;
        left: auto;
        right: -100px;        
        display: block;
    }

    .cloud--3 {
        top: -30px;
        width: 240px;
        height: 117px;
    }

    .video-btn {
        width: 100px;
    }

    .video-btn svg {
        width: 43px;
        margin-left: -2px;
    }

    .projects__desc {
        padding: 50px 15px 30px 15px;
    }

    .end__content {
        grid-template-columns: 1fr;
        grid-template-areas: 
        "cat"
        "tg"
        "form";
    }

    .end__cat {
        position: static;
        max-height: unset;
        height: auto;
        transform: translateX(-50px);
    }

    .end__subtitle::after {
        bottom: -34px;
        right: 30%;
        width: 50px;
        height: 35px;
        background-size: contain;        
    }

    .end__content {
        margin-top: 30px;
    }

    .form {
        max-width: unset;
    }

    .end__right {
        padding: 0;
    }
}

@media (width <= 600px) {
    .box {
        padding-top: 30px;
    }

    .hero__image {
        width: 400px;
        margin: 10px 0 -58px 0;
    }

    .eye--left {
        background-size: 76%;
        left: 48%;
        top: 20%;
    }

    .eye--right {
        background-size: 66%;
        left: 69%;
        top: 21%;
    }    

    .title--big {
        font-size: 42px;
    }

    .title--medium {
        font-size: 28px;
    }

    .about__cat-wrapper {
        max-width: 60%;
    }

    .about__bubble {
        max-width: 75%;
        right: -75%;
    }

    .cta-banner__title {
        font-size: 42px;
    }
}


@media (width <= 500px) {
    .eye--left {
        background-size: 70%;
    }

    .eye--right {
        background-size: 59%;
    }
}


@media (width <= 480px) {
    :root {
        --br: 20px;
    }

    body {
        padding: 0 15px;
    }

    .box {
        border-radius: var(--br);
    }

    .box--top {
        border-radius: 0 0 var(--br) var(--br);
    }

    .box--bottom {
        border-radius: var(--br) var(--br) 0 0;
    }

    .box--margin-top {
        margin-top: 15px;
    }

    .nav {
        padding: 0 25px;
    }

    .cloud--1 {
        left: 20px;
        width: 200px;
        height: 100px;
    }

    .cloud--2 {
        width: 200px;
        height: 115px;
        top: 154px;
    }

    .about {
        padding: 50px 30px 30px 30px;
    }

    .about__bird--mobile {
        width: 60px;
        height: auto;
    }

    .info-block {
        border-radius: 10px;
    }

    .projects__desc {
        font-size: 20px;
        line-height: 1.25;
        padding: 0 10px 30px 10px;
    }

    .projects__video-wrapper {
        border-radius: 10px;
    }

    .cloud--3 {
        display: none;
    }

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

    .project-card__img-wrapper,
    .project-card__shadow,
    .project-card__link,
    .project-card {
        border-radius: 20px;
    }

    .project-card__content {
        padding: 0 25px 15px 25px;
    }

    .filter-bar {
        margin-top: 30px;
    }

    .cta-banner {
        padding: 30px;
    }

    .team__grid {
        flex-wrap: wrap;
        gap: 50px 0;
    }

    .team__member {
        width: 100%;
    }

    .end__cat {
        width: 80%;
        height: auto;
        transform: translateX(-30px);
    }

    .form__row {
        flex-direction: column;
        gap: 0;
    }

    .hero__container {
        padding: 0 15px;
    }

    .popup__content {
        padding: 55px 15px 30px 15px;        
    }

    .popup__slider-wrap {
        border-radius: 20px;
    }

    .popup__close {
        right: 15px;
        width: 30px;
        height: 30px;
    }

    .popup__info {
        padding-top: 30px;
    }

    .popup__text {
        margin-top: 15px;
    }

    .popup__btn span {
        display: none;
    }

    .swiper__controls {
        padding: 10px 0;
        justify-content: center;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .hero__content {
        margin-top: 40px;
    }
}


@media (width <= 400px) {
    .hero__image {
        width: 300px;
        margin: 5px 0 -44px 0;
    }

    .eye--left {
        background-size: 56%;
        left: 46%;
        top: 19%;
    }

    .eye--right {
        background-size: 47%;
        left: 67%;
        top: 20%;
    }

    .projects__desc {
        padding: 0 0 30px 0;
    }

    .cta-banner__title {
        font-size: 36px;
    }
}


@media (width <= 360px) {
    .cloud--2 {
        width: 150px;
        height: 88px;
        top: 95px;
    }

    .about {
        padding: 30px 15px 15px 15px;
    }

    .about__grid {
        margin-top: 30px;
    }

    .about__grid-left,
    .about__grid-right,
    .about__grid {
        gap: 10px;
    }

    .title--big {
        font-size: 36px;
        line-height: 1;
    }

    .title--medium {
        font-size: 24px;
    }

    .info-block {
        padding: 20px;
    }

    .about__cat-wrapper {
        margin: 15px 0;
    }

    .about__bubble {
        top: 30px;
        right: -80%;
    }

    .info-block__title {
        margin: 15px 0;
    }

    .projects__intro {
        padding: 15px;
    }

    .projects__desc {
        padding: 15px 5px 30px 5px;
        font-size: 16px;
        line-height: 1.4;
    }

    .video-btn {
        width: 75px;
        height: 75px;
    }

    .video-btn svg {
        width: 30px;
    }

    .filter-btn {
        padding: 6px 15px 8px 15px;
        font-size: 14px;
    }

    .audience-item {
        padding: 0 15px;
    }

    .audience__title {
        padding: 0 15px;
    }
}
