/*Обнулення*/
@import url(reset.css);
/* Шрифти */
@import url('https://fonts.googleapis.com/css2?family=Forum&family=Instrument+Serif:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    user-select: none;
}


:root {
    --bg_body: #070606;
    --bg_light: #fff;
    --bg_black: #000;
    --bg_dark: #161209;
    --bg_button-dark: #c84f02;
    --bg_button-light: #d35705;
    --bg_button-hov: #901e00;
    --bg_card-mix: linear-gradient(99.35deg, #512907 -13.33%, #3D1F05 110.24%);
    --bg_card-1: #1c1610;
    --bg_card-2: #171717;
    --bg_card-3: #252525;
    --bg_card-4: #37302899;
    --bg_card-5: #0c0a08;
    --bg_grey-dark: #262626;
    --border: #62605e;
    --border2: #e8680a24;
    --text_light: #fff;
    --text_dark: #000;
    --text_grey-light-1: #8c8882;
    --text_grey-light-2: #f5efe68c;
    --text_grey-dark: #f5efe652;
    --text_orange: #e8680a;
    --color_orange-mix: linear-gradient(135deg, #E8680A 0%, #C04800 100%);
    --shadow-dark: #e8680a14;
    --shadow: 0px -2px 0px 0px rgba(232, 104, 10, 1);
}

body {
    background-color: var(--bg_body);
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14;
    line-height: 1.2;
    color: var(--text_grey-dark);
}

.wrapper {
    overflow: clip;
    min-height: 100%;

    display: flex;
    flex-direction: column;
}

.wrapper>main {
    flex-grow: 1;
}

[class*="__container"] {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.text-white {
    color: var(--text_light);
}

.text-orange {
    color: var(--text_orange);
}


/* ========================= 
  PRELOADER 
========================= */
#preloader {
	position: fixed;
	inset: 0;
	background: var(--bg_body);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader-icon {
	width: 100px;
	height: 100px;
	animation: spin 1.2s linear infinite;
}

/* анімація обертання */
@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* приховання */
#preloader.hide {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}




/* ========================= 
  BUTTONS 
========================= */
.btn-orange {
    width: 100%;
    min-width: 186px;
    height: 48px;
    border-radius: 8px;
    border: 0;
    background-color: var(--bg_button-light);

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "Inter", sans-serif;
    color: var(--text_light);
    font-weight: 400;
    font-size: 16px;
    margin: 0 auto;
    overflow: hidden;
    transition: all 0.5s ease-out;
    cursor: pointer;
}

.btn-orange:hover,
.btn-orange:active {
    background-color: var(--bg_button-hov);
    transform: scale(0.9);
}


.btn-black {
    width: 100%;
    min-width: 158px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: unset;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "Inter", sans-serif;
    color: var(--text_grey-dark);
    font-weight: 400;
    font-size: 16px;
    margin: 0 auto;
    overflow: hidden;
    transition: all 0.5s ease-out;
    cursor: pointer;
}

.btn-black:hover,
.btn-black:active {
    transform: scale(0.9);
}


.btn-white {
    width: 100%;
    max-width: 307px;
    height: 64px;
    border-radius: 8px;
    border: 0;
    background-color: var(--bg_light);

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 5px;
    font-family: "Inter", sans-serif;
    color: var(--text_orange);
    font-weight: 400;
    font-size: 16px;
    margin: 0 auto;
    overflow: hidden;
    transition: all 0.5s ease-out;
    cursor: pointer;
    position: relative;
}

.btn-white:hover,
.btn-white:active {
    color: var(--text_light);
    background-color: var(--bg_button-hov);
    transform: scale(0.9);
}

.btn-white::after {
    content: '';
    width: 15px;
    height: 10px;
    background-color: var(--text_orange);

    -webkit-mask: url(../img/arrow-right-short.svg) no-repeat center;
    mask: url(../img/arrow-right-short.svg) no-repeat center;

    -webkit-mask-size: contain;
    mask-size: contain;
}

.btn-white:hover::after,
.btn-white:active::after {
    background-color: var(--text_light);
}

@media (max-width: 768px) {
    .btn-white {
        height: 48px;
    }
}




/* =========================
   TOP - subtitle
========================= */

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.top .above-subtitle {
    color: var(--text_orange);
    font-size: clamp(12px, 5vw, 14px);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.top .subtitle {
    color: var(--text_light);
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -1.16px;
}

.top .subtitle span {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    color: var(--border);
}

.top .text-top {
    max-width: 311px;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .top {
        flex-wrap: wrap;
    }

    .top .text-top {
        max-width: 100%;
        text-align: end;
    }
}



/* =========================
   HEADER
========================= */

#header {
    width: 100%;
    padding: 45px 0 0;
    position: relative;
    z-index: 100;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header__logo {
    width: 100%;
    max-width: 227px;
}

.header__logo img {
    width: 100%;
}


/* DESKTOP MENU */

.header__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0;
    padding: 0;
    color: var(--border);
}

.header__item a {
    text-decoration: none;
    transition: 0.3s;
}

.header__item a:hover,
.header__item a:active {
    color: var(--bg_light);
    opacity: 0.7;
    text-decoration: underline;
    text-decoration-color: var(--bg_button-light);
    text-underline-offset: 5px;
}

#header .btn-orange {
    min-width: 107px;
    font-size: 14px;
}

.header__item .btn-orange:hover,
.header__item .btn-orange:active {
    text-decoration: none;
}

/* MOBILE BUTTON  */
.header__mobile-menu {
    display: none;
}

.menu-btn,
.close-btn {
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: block;
    transition: transform 0.4s ease;
}

.menu-btn {
    transition: transform 0.45s cubic-bezier(.34, 1.56, .64, 1);
}

.menu-btn:hover {
    transform: scale(1.12) rotate(10deg);
}

.close-btn:hover {
    transform: rotate(360deg);
}


/*  MOBILE BURGER  */
.header__burger-mob-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background: var(--bg_body);
    z-index: 999;
    padding: 30px 16px;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.header__burger-mob-menu::after {
    content: '';
    background: url(../img/intro-bg-orange.png);
    position: absolute;
    width: 900px;
    height: 600px;
    top: -200px;
    right: -300px;
    z-index: 10;
    pointer-events: none;
}

.header__burger-mob-menu.active {
    right: 0;
}

.header__burger-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header__mobile-list {
    font-family: "Forum", serif;
    font-size: 18px;
    letter-spacing: 0.13px;
    color: var(--text_light);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header__mobile-list a {
    text-decoration: none;
    font-size: 20px;
}

/*    OVERLAY */
.header__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 998;
}

.header__overlay.active {
    opacity: 1;
    visibility: visible;
}

/*    MOBILE */

@media (max-width: 768px) {
    #header {
        padding: 30px 0 0;
    }

    .header__menu {
        display: none;
    }

    .header__mobile-menu {
        display: block;
    }
}





/* =========================
   INTRO
========================= */
#intro {
    padding: 104px 0 0;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

#intro::after {
    content: '';
    background: url(../img/intro-bg-orange.png);
    position: absolute;
    width: 900px;
    height: 600px;
    top: -200px;
    right: -110px;
    isolation: isolate;
    z-index: 2;
}

.intro__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 3;
}

.intro__warning {
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 1.54px;
    text-transform: uppercase;
    background-color: var(--shadow-dark);
    border: 1px solid var(--border2);
    border-radius: 4px;
    padding: 9px 14px;
    color: var(--text_orange);

    display: flex;
    justify-content: start;
    align-items: center;
    gap: 14px;
}

.intro__warning::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--text_orange);
    border-radius: 50%;
}

.intro__title {
    text-align: center;
    font-family: "Forum", serif;
    font-size: clamp(44px, 5vw, 96px);
    line-height: 1.2;
    font-weight: 400;
}

.intro__title .text-orange {
    color: linear-gradient(135deg, #E8680A 0%, #C04800 100%);
}

.intro__text {
    text-align: center;
    font-size: 18px;
    font-style: italic;
    line-height: 1.5;
    color: var(--text_grey-light-1);
}

.intro__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

#intro .btn-orange {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
}

#intro .btn-orange::after {
    content: '';
    background: url(../img/arrow-right-short.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    max-width: 15px;
    height: 15px;
}

.intro__info {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    position: relative;
    margin-top: 70px;
}

.intro__info::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 80px;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #E8680A 0%, #0C0A08 75.64%);

}

.intro__info-item {
    width: 33%;
    padding: 72px 48px 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.intro__info-item:hover {
    transform: scale(0.95);
    transition: all 0.3s;
    background: linear-gradient(135deg, rgba(232, 104, 10, 0.15) 0%, rgba(192, 72, 0, 0.05) 100%),
        radial-gradient(50% 50% at 50% 50%, rgba(237, 147, 82, 0.196) 0%, rgba(28, 13, 1, 0.2) 100%);
}

.intro__info-item:hover .intro__info-number {
    color: #dd5f07;
}

.intro__info-number {
    font-family: "Instrument Serif", serif;
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 1.2;
    color: var(--text_light);
}

.intro__info-text {
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 1;
}

#intro .color-item {
    background: linear-gradient(135deg, rgba(232, 104, 10, 0.15) 0%, rgba(192, 72, 0, 0.05) 100%),
        radial-gradient(50% 50% at 50% 50%, rgba(237, 147, 82, 0.196) 0%, rgba(28, 13, 1, 0.2) 100%);
    border-left: 1px solid var(--border2);
}

#intro .color-item:hover {
    background: unset;
}

#intro .color-item:hover .intro__info-number {
    color: var(--text_light);
}

#intro .color-item .intro__info-number {
    color: #dd5f07;
}

@media (max-width: 392px) {
    .intro__buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    #intro {
        padding: 80px 0 0;
    }

    #intro::after {
        top: -300px;
        right: -300px;
    }

    .intro__info-item {
        width: 33%;
        padding: 72px 20px 54px;
        text-align: center;
    }
}





/* =========================
   whatWeDo
========================= */
#whatWeDo {
    padding: 104px 0 0;
    margin: 0 auto;
}

.whatWeDo__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto auto auto auto auto auto auto auto;
    gap: 4px;

    grid-template-areas:
        "one one two"
        "one one two"
        "one one two"
        "one one five"
        "three four five"
        "three four five"
        "three four six"
        "three four six"
        "three four six"
        "seven seven seven";
}

.whatWeDo__item:nth-child(1) {
    grid-area: one;
}

.whatWeDo__item:nth-child(2) {
    grid-area: two;
}

.whatWeDo__item:nth-child(3) {
    grid-area: three;
}

.whatWeDo__item:nth-child(4) {
    grid-area: four;
}

.whatWeDo__item:nth-child(5) {
    grid-area: five;
}

.whatWeDo__item:nth-child(6) {
    grid-area: six;
}

.whatWeDo__item:nth-child(7) {
    grid-area: seven;
}

.whatWeDo__item {
    padding: 40px;
    background-color: var(--bg_dark);
    cursor: pointer;
    transition: all 0.4s;
}

.whatWeDo__item:hover {
    box-shadow: 0px 2px 5px var(--bg_grey-dark);
    transform: scale(0.95);
    transition: all 0.4s;
}

.whatWeDo__item:nth-child(1),
.whatWeDo__item:nth-child(4) {
    background: var(--bg_card-mix);
    box-shadow: var(--shadow);
}

.whatWeDo__item:nth-child(7) {
    background-color: var(--bg_card-3);
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 32px;
}

.whatWeDo__item:nth-child(7) .whatWeDo__item-top-number-mob {
    display: none;
}

.whatWeDo__item:nth-child(7) .whatWeDo__item-text {
    max-width: 590px;
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 32px;
}

.whatWeDo__item:nth-child(7) .whatWeDo__item-text-elem {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.5;
}

.whatWeDo__item:nth-child(7) .whatWeDo__item-text-elem label {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    color: var(--text_light);
}

.whatWeDo__item:nth-child(7) .whatWeDo__item-text-elem input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border: 1px solid #e8680a;
    border-radius: 50%;
    display: inline-grid;
    place-content: center;
    margin-right: 10px;
    cursor: pointer;
}

/* внутрішня крапка */
.whatWeDo__item:nth-child(7) .whatWeDo__item-text-elem input[type="radio"]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: scale(0);
    transition: 0.2s ease;
    background: #e8680a;
}

/* checked стан */
.whatWeDo__item:nth-child(7) .whatWeDo__item-text-elem input[type="radio"]:checked::before {
    transform: scale(1);
}


.whatWeDo__item-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
}

.whatWeDo__item-top-text {
    color: var(--text_light);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.whatWeDo__item:nth-child(1) .whatWeDo__item-top-text,
.whatWeDo__item:nth-child(4) .whatWeDo__item-top-text {
    color: var(--text_orange);
}

.whatWeDo__item-top-text h3 {
    font-family: "Instrument Serif", serif;
    font-size: 26px;
    line-height: 1.2;
    color: var(--text_light);
    text-transform: none;
    margin-bottom: 10px;
}

.whatWeDo__item-text {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    #whatWeDo {
        padding: 80px 0 0;
    }

    .whatWeDo__list {
        grid-template-columns: 1fr;
        grid-template-areas: none;
    }

    .whatWeDo__item {
        grid-area: auto !important;
    }

    .whatWeDo__item:nth-child(1),
    .whatWeDo__item:nth-child(4) {
        background: unset;
        box-shadow: unset;
    }

    .whatWeDo__item:nth-child(1),
    .whatWeDo__list>.whatWeDo__item:nth-of-type(odd) {
        background: var(--bg_card-mix);
        box-shadow: var(--shadow);
    }

    .whatWeDo__item:nth-child(7) {
        flex-direction: column;
    }

    .whatWeDo__item:nth-child(7) .whatWeDo__item-top-number-mob {
        display: block;
    }

    .whatWeDo__item:nth-child(7) .whatWeDo__item-top-number-desk {
        display: none;
    }

    .whatWeDo__item:nth-child(7) .whatWeDo__item-text {
        max-width: 100%;
        flex-direction: column;
    }

    .whatWeDo__item:nth-child(7) .whatWeDo__item-top {
        width: 100%;
        margin-bottom: 0;
    }

    .whatWeDo__item:nth-child(4) .whatWeDo__item-top-text {
        color: var(--text_light);
    }
}




/* =========================
   CASES
========================= */
#cases {
    padding: 150px 0 0;
    margin: 0 auto;
}

.cases__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    border-top: 3px solid var(--bg_button-light);
    padding: 60px 56px;
    background-color: var(--bg_card-1);
}

.cases__inner-text {
    max-width: 50%;
}

.cases__inner-text .text-orange {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 2%;
    text-transform: uppercase;
}

.cases__inner-text h4 {
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-size: clamp(24px, 5vw, 36px);
    line-height: 1.3;
    letter-spacing: -0.54px;
    color: var(--text_light);
    margin: 12px 0 32px;
}

.cases__inner-text h4 span {
    font-family: "Inter", sans-serif;
}

.cases__inner-text p {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.5;
}

.cases__inner-info {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 4px;
    position: relative;
}

.cases__inner-info::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -24px;
    background-color: var(--bg_card-4);
    width: 100%;
    height: 20px;
}

.cases__inner-info-card {
    width: 176px;
    background-color: var(--bg_card-5);
    padding: 20px;
    font-weight: 300;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.4s;
}

.cases__inner-info-card:hover {
    transform: scale(0.95);
    box-shadow: var(--shadow);
    transition: all 0.4s;
}

.cases__number {
    font-family: "Instrument Serif", serif;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.28px;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .cases__inner-info {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    #cases {
        padding: 120px 0 0;
        background: #131008;
    }

    .cases__inner {
        gap: 16px;
        border-top: 0px;
        padding: 0;
        background-color: var(--bg_body);
        align-items: stretch;
        margin-bottom: 50px;
    }

    .cases__inner-text {
        max-width: 100%;
        background-color: var(--bg_card-1);
        padding: 20px;
        position: relative;
    }

    .cases__inner-text::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -34px;
        background-color: var(--bg_card-4);
        width: 100%;
        height: 20px;
    }

    .cases__inner-info {
        width: min-content;
        gap: 16px;
    }

    .cases__inner-info::after {
        bottom: -34px;
    }

    .cases__inner-info-card {
        width: 172px;
        background-color: var(--bg_card-1);
        padding: 20px;
        font-weight: 300;
        font-size: 12px;
        line-height: 1.5;
        cursor: pointer;
        transition: all 0.4s;
    }

    .cases__inner:nth-child(3) .cases__inner-text::after,
    .cases__inner:nth-child(3) .cases__inner-info::after {
        display: none;
    }
}





/* =========================
   whoWeWork
========================= */
#whoWeWork {
    margin: 80px auto;
}

.whoWeWork__top {
    border-top: 2px solid var(--text_orange);
    background-color: var(--bg_dark);
    padding: 58px 56px;
    margin-bottom: 8px;
}

.whoWeWork__inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 8px;
}

.whoWeWork__inner-block {
    width: 100%;
    background-color: var(--bg_dark);
    padding: 58px 56px;
}

.whoWeWork__inner-block h5 {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 2%;
    position: relative;

    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;

    margin-bottom: 36px;
}

.whoWeWork__inner-block h5::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: currentColor;
    border-radius: 50%;
}

.whoWeWork__inner-list {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.3;
    position: relative;
}

.whoWeWork__inner-list li {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.whoWeWork__inner-block:nth-child(1) .whoWeWork__inner-list li::before {
    content: '';
    width: 12px;
    height: 7px;
    background: url(../img/arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

@media (max-width: 768px) {
    #whoWeWork {
        margin: 64px 0;
    }

    .whoWeWork__top {
        border-top: 0;
        background-color: unset;
        padding: 0;
    }

    .whoWeWork__inner {
        flex-wrap: wrap;
    }

    .whoWeWork__inner-block {
        padding: 20px;
    }

    .whoWeWork__inner-block:nth-child(1) .whoWeWork__inner-list li::before {
        content: '';
        width: 20px;
        height: 10px;
        background-color: var(--text_orange);

        -webkit-mask: url(../img/arrow-right-short.svg) no-repeat center;
        mask: url(../img/arrow-right-short.svg) no-repeat center;

        -webkit-mask-size: contain;
        mask-size: contain;
    }

    .whoWeWork__inner-block:nth-child(2) {
        background-color: #171717;
    }

    .whoWeWork__inner-block h5 {
        margin-bottom: 20px;
    }
}







/* =========================
   aboutHowWork
========================= */
#aboutHowWork {
    background: #131008;
    padding: 104px 0;
}

.aboutHowWork__container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 24px;
}

.aboutHowWork__top {
    flex-direction: column;
    align-items: start;
    max-width: 360px;
}

#aboutHowWork .btn-orange {
    max-width: 125px;
    margin: 0;
    position: relative;
}

#aboutHowWork .btn-orange {
    gap: 7px;
}

#aboutHowWork .btn-orange::after {
    content: '';
    background: url(../img/arrow-right-short.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    max-width: 13px;
    height: 13px;
}

.aboutHowWork__block-top .subtitle span {
    font-family: unset;
    color: var(--text_light);
    font-style: normal;
}

.aboutHowWork__items {
    max-width: 680px;
}

.aboutHowWork__item {
    background-color: var(--bg_dark);
    padding: 40px 56px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 56px;
    margin-bottom: 8px;
    transition: all 0.4s;
}

.aboutHowWork__item:hover {
    transform: scale(0.95);
    box-shadow: var(--shadow);
    transition: all 0.4s;
}

.aboutHowWork__item-number {
    font-family: "Instrument Serif", serif;
    font-size: clamp(40px, 5vw, 56px);
    line-height: 1.2;
    letter-spacing: -1.04px;
}


.aboutHowWork__item-title {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 30px;
    margin-bottom: 16px;
}

.aboutHowWork__item-title h6 {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.26px;
    color: var(--text_light);
}

.aboutHowWork__item-title .text-orange {
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 1px;
    background: #1e1208;
    border: 1px solid #3a1d08;
    padding: 6px;
    border-radius: 4px;
}

.aboutHowWork__item-text {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.5;
}

.aboutHowWork__item-text-mob {
    display: none;
}

@media (max-width: 1024px) {
    .aboutHowWork__item {
        background-color: var(--bg_dark);
        padding: 30px;
        display: flex;
        justify-content: space-between;
        align-items: start;
        gap: 30px;
        margin-bottom: 8px;
        transition: all 0.4s;
    }
}

@media (max-width: 768px) {
    #aboutHowWork {
        padding: 64px 0;
    }

    .aboutHowWork__container {
        flex-direction: column;
    }

    .aboutHowWork__top {
        max-width: 100%;
        margin-bottom: 0px;
    }


    .aboutHowWork__block-top .subtitle span {
        font-family: "Instrument Serif", serif;
        font-style: italic;
        color: var(--border);
    }

    .aboutHowWork__item {
        padding: 20px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 20px;
        margin-bottom: 8px;
    }

    .aboutHowWork__item-text-mob {
        display: inline-block;
        font-size: 12px;
        line-height: 1.2;
        letter-spacing: 1px;
        background: #1e1208;
        border: 1px solid #3a1d08;
        padding: 6px;
        border-radius: 4px;
        margin-top: 20px;
    }

    .aboutHowWork__item-title {
        justify-content: center;
    }

    #aboutHowWork .btn-orange {
        max-width: 175px;
        margin: 0 auto;
    }
}







/* =========================
   LINE
========================= */
#line {
    margin: 60px 0;
    padding: 53px 0;

    width: 100%;
    overflow: hidden;
    position: relative;
    background: var(--bg_card-5);
    border-width: 1px, 0px, 1px, 0px;
    border-style: solid;
    border-color: rgba(232, 104, 10, 0.14);


}

.line-content {
    width: max-content;
    display: flex;
    animation: marquee 35s linear infinite;
}

.line-content ul {
    display: flex;
    align-items: center;
    gap: 70px;
    padding: 0;
    margin: 0;
}

.line-content li {
    white-space: nowrap;
    flex-shrink: 0;
    font-family: "Instrument Serif", serif;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.24px;
}

.line-content li:nth-of-type(odd) {
    color: var(--text_orange);
}

/* Безперервний рух */
@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    #line {
        margin: 0;
    }
}




/* =========================
   CONTACT
========================= */
#contact {
    background: linear-gradient(135deg, #7A2800 0%, #C04800 50%, #E8680A 100%);
    padding: 121px 0;
    color: var(--text_light);
}

.contact__top {
    flex-direction: column;
    text-align: center;
    gap: 40px;
}

.contact__top .above-subtitle {
    color: #ffffff99;
}

.contact__top .subtitle {
    font-family: "Forum", serif;
    font-size: clamp(56px, 5vw, 80px);
}

.contact__top .subtitle span {
    color: #ffffffb3;
}

.contact__top .text-top {
    color: #ffffffbf;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.5;
    max-width: 480px;
    text-align: center;
}

.contact__top .text-top span {
    font-weight: 500;
    color: var(--text_light);
}

@media (max-width: 768px) {
    #contact {
        padding: 64px 0;
    }

    .contact__top {
        margin-bottom: 0;
    }

    .contact__top .above-subtitle {
        background: #ffffff66;
        border: 1px solid var(--bg_light);
        width: min-content;
        text-align: center;
        margin: 0 auto 40px;
        font-weight: 500;
        font-size: 10px;
        letter-spacing: 1.54px;
        text-transform: uppercase;
        padding: 9px 14px;
        position: relative;
        border-radius: 4px;

        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .contact__top .above-subtitle::before {
        content: '';
        width: 6px;
        height: 6px;
        background-color: var(--text_light);
        border-radius: 50%;
    }

    .contact__top .text-top {
        font-style: italic;
    }

    .contact__top .text-top span {
        font-weight: 400;
        color: unset;
    }

}




/* =========================
   JOIN
========================= */
#join {
    margin: 80px auto;
}

.join__top {
    background-color: var(--bg_dark);
    padding: 58px 56px;
    margin-bottom: 8px;
}

.join__top .join__top-text {
    max-width: 364px;
}

.join__buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 64px;
}

.join__buttons .btn-orange {
    min-width: 162px;
}

.join__buttons .btn-black {
    min-width: 185px;
}

.join__inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 8px;
}

.join__inner-block {
    width: 100%;
    background-color: var(--bg_dark);
    padding: 58px 56px;
}

.join__inner-block h5 {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 2%;
    position: relative;

    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;

    margin-bottom: 36px;
}

.join__inner-block h5::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: currentColor;
    border-radius: 50%;
}

.join__inner-list {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.3;
    position: relative;
}

.join__inner-list li {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.join__inner-block:nth-child(1) .join__inner-list li::before {
    content: '';
    width: 12px;
    height: 7px;
    background: url(../img/arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

@media (max-width: 768px) {
    #join {
        margin: 64px 0;
    }

    .join__top {
        border-top: 0;
        background-color: unset;
        padding: 0;
    }

    .join__top .join__top-text {
        max-width: 100%;
    }

    .join__buttons {
        gap: 10px;
        margin: 24px 0;
    }

    .join__buttons .btn-orange {
        min-width: 162px;
    }

    .join__buttons .btn-black {
        min-width: 165px;
    }

    .join__inner {
        flex-wrap: wrap;
    }

    .join__inner-block {
        padding: 20px;
    }

    .join__inner-block:nth-child(1) .join__inner-list li::before {
        content: '';
        width: 20px;
        height: 10px;
        background-color: var(--text_orange);

        -webkit-mask: url(../img/arrow-right-short.svg) no-repeat center;
        mask: url(../img/arrow-right-short.svg) no-repeat center;

        -webkit-mask-size: contain;
        mask-size: contain;
    }

    .join__inner-block:nth-child(2) {
        background-color: #171717;
    }

    .join__inner-block h5 {
        margin-bottom: 20px;
    }
}

@media (max-width: 392px) {
    .join__buttons {
        flex-wrap: wrap;
    }
}



/* =========================
   FOOTER
========================= */
#footer {
    margin: 104px 0 0;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 56px;
    padding-bottom: 32px;
    border-bottom: 1px solid #ffffff1a;
}

.footer__top-logo {
    max-width: 227px;
    width: 100%;
    margin-bottom: 32px;
}

.footer__top-logo img {
    width: 100%;
}

.footer__top-text {
    font-weight: 300;
    font-size: 12px;
    line-height: 2;
}

.footer__top-col ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 16px;
}

.footer__top-col ul li a:hover,
.footer__top-col ul li a:active {
    color: var(--bg_light);
    opacity: 0.7;
    text-decoration: underline;
    text-decoration-color: var(--bg_button-light);
    text-underline-offset: 5px;
}

.footer__title {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.footer__bottom {
    padding: 32px 0 104px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    font-family: Inter;
    font-weight: 300;
    font-size: 14px;
    line-height: 2;
}

@media (max-width: 768px) {
    #footer {
        margin: 50px 0 0;
    }

    .footer__top {
        flex-wrap: wrap;
        justify-content: center;
        border-bottom: 0;
        padding-bottom: 0;
    }

    .footer__top-col:nth-child(1) {
        order: 3;
    }

    .footer__top-col:nth-child(2) {
        order: 1;
    }

    .footer__top-col:nth-child(3) {
        order: 2;
    }

    .footer__top-text {
        text-align: center;
    }

    .footer__top-col ul {
        justify-content: center;
        align-items: center;
    }

    .footer__bottom {
        padding: 32px 0 50px;
        justify-content: center;
        text-align: center;
    }

    .footer__bottom p:nth-child(2) {
        display: none;
    }
}

/*=====================================================*/