/******************************************************************* 
||||||||||    FONTS    |||||||||||||||||||||||||||||||||||||||||||||
********************************************************************/
@font-face {
    font-family: "BebasNeueProBold";
    font-style: normal;
    font-weight: 700;
    src:
        url('./assets/fonts/BebasNeueProBold.woff2') format('woff2'),
        url('./assets/fonts/BebasNeueProBold.woff') format('woff');
}
@font-face {
    font-family: "WorkSans";
    font-style: normal;
    font-weight: 700;
    src:
        url('./assets/fonts/WorkSans-Bold.woff2') format('woff2'),
        url('./assets/fonts/WorkSans-Bold.woff') format('woff');
}
@font-face {
    font-family: "WorkSans";
    font-style: normal;
    font-weight: 600;
    src:
        url('./assets/fonts/WorkSans-SemiBold.woff2') format('woff2'),
        url('./assets/fonts/WorkSans-SemiBold.woff') format('woff');
}
@font-face {
    font-family: "WorkSans";
    font-style: normal;
    font-weight: 500;
    src:
        url('./assets/fonts/WorkSans-Medium.woff2') format('woff2'),
        url('./assets/fonts/WorkSans-Medium.woff') format('woff');
}
@font-face {
    font-family: "WorkSans";
    font-style: normal;
    font-weight: 400;
    src:
        url('./assets/fonts/WorkSans-Regular.woff2') format('woff2'),
        url('./assets/fonts/WorkSans-Regular.woff2') format('woff');
}



/******************************************************************* 
||||||||||    BASE    |||||||||||||||||||||||||||||||||||||||||||||| 
********************************************************************/
:root {
    --font-base: "WorkSans", sans-serif;
    --font-heading: "BebasNeueProBold", sans-serif;

    --color-back: #000000;
    --color-dark-grey: rgba(51, 51, 51, 1);
    --color-grey: rgba(111, 111, 111, 1);
    --color-grey-semi: rgba(111, 111, 111, 0.5);
    --color--light: rgba(244, 244, 244, 1);
    --color-white: #ffffff;
    --color-orange: rgba(255, 122, 3, 1);

    --text-dark: var(--color-dark-grey);
    --text-grey: var(--color-grey);
    --text-light: var(--color--light);

    --background-dark: var(--color-dark-grey);
    --background-grey: var(--color-grey);
    --background-light: var(--color--light);
    --background-orange: var(--color-orange);
}

/* COMMON */
body {
    font-size: 24px;
    font-family: var(--font-base);
    line-height: 36px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0;
    margin: 0;
}
body * {
    box-sizing: border-box;
    max-width: 100%;
}

/* HEADINGS */
h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
}
h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    line-height: 62px;
}
h2 {
    font-size: 42px;
    line-height: 50px;
}
h3 {
    font-size: 32px;
    line-height: 42px;
}
h4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    margin: 0 0 24px 0;
}
h5 {
    font-size: 18px;
    line-height: 28px;
}
h6 {
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
}
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0 !important;
}
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
    margin-bottom: 0 !important;
}
p {
    margin: 0;
}
p:not(:last-child) {
    margin-bottom: 15px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    min-height: 50px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-grey);
    padding: 5px 15px;
    border-radius: 6px;
    background-color: var(--color--light);
    border: 2px solid var(--text-grey);
}
.btn:hover {
    text-decoration: underline;
}
.btn--white {
    color: var(--text-light);
    background-color: transparent;
    border-color: var(--text-light);
}
.btn--orange {
    color: var(--text-dark);
    background-color: var(--color-orange);
    border-color: transparent;
}

/* GRID */
.grid {
    display: grid;
    gap: 40px;
}
.grid--2 {
    grid-template-columns: 1fr 1fr;
}
.grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
}
.grid--4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* SECTION */
.section {
    position: relative;
    z-index: 1;
}
.section--dark {
    color: var(--text-light);
    background-color: var(--background-dark);
}
.section--light {
    color: var(--text-grey);
    background-color: var(--background-light);
}
.section.has--bg {
    padding: 130px 0;
}
.section__cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}
.section__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section:not(:first-child):not(.disable--margin-top):not(.has--bg) {
    margin-top: 80px;
}
.section:not(:last-child):not(.disable--margin-bottom):not(.has--bg) {
    margin-bottom: 80px;
}
.section__container {
    width: 1186px;
    max-width: calc(100% - 60px);
    margin: 0 auto;
}
.section__container.section__container--lg {
    width: 1440px;
}
.section__title {
    padding-bottom: 15px;
    margin-bottom: 40px;
}
.section__head h1,
.section__head h2,
.section__head h3,
.section__head h4,
.section__head h5,
.section__head h6 {
    margin: 0;
}
.section__body {}
.section__text {}
.section__text p {
    margin: 0;
}
.section__text p:not(:last-child) {
    margin-bottom: 15px;
}
.section__text a:not(.btn) {
    color: inherit;
    text-decoration: underline;
}   
.text-highlight {
    display: inline-block;
    color: var(--color-orange);
}



/******************************************************************* 
||||||||||    BASE RESPONSIVE    |||||||||||||||||||||||||||||||||||
********************************************************************/
@media screen and (max-width: 1399px) {
    .grid {
        gap: 30px;
    }
}
@media screen and (max-width: 1099px) {
    .grid {
        gap: 60px 20px;
    }
    h2 {
        font-size: 38px;
    }
}
@media screen and (max-width: 991px) {
    .grid--4 {
        grid-template-columns: 1fr 1fr;
    }
    .grid--2,
    .grid--3 {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 767px) {
    
}
@media screen and (max-width: 575px) {
    body {
        font-size: 12px;
        line-height: 26px;
    }
    .section__container {
        max-width: calc(100% - 30px);
    }
    .grid--4 {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 28px;
        line-height: 31px;
    }
    h2 {
        font-size: 21px;
        line-height: 25px;
    }
    h3 {
        font-size: 16px;
        line-height: 21px;
        margin-bottom: 0 0 20px 0;
    }
    h4 {
        font-size: 12px;
        line-height: 20px;
        margin: 0 0 15px 0;
    }
    h5 {
        font-size: 12px;
        line-height: 18px;
    }
    .btn {
        min-height: 25px;
        font-size: 9px;
        border-radius: 3px;
        border-width: 1px;
        padding: 5px 10px;
    }
    .section.has--bg {
        padding: 50px 0;
    }
    .section:not(:first-child):not(.disable--margin-top):not(.has--bg) {
        margin-top: 50px;
    }
    .section:not(:last-child):not(.disable--margin-bottom):not(.has--bg) {
        margin-bottom: 50px;
    }
}
@media screen and (max-width: 359px) {

}



/******************************************************************* 
||||||||||    HEADER    ||||||||||||||||||||||||||||||||||||||||||||
********************************************************************/
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 150px;
    padding: 20px 0;
}
.header .section__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.header__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    height: 100px;
}
.header__logo img {
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
}

@media screen and (max-width: 767px) {
    .header {
        min-height: 80px;
    }
    .header__logo {
        width: 130px;
        height: 56px;
    }
}



/******************************************************************* 
||||||||||    HERO    |||||||||||||||||||||||||||||||||||||||||||||| 
********************************************************************/
.hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 800px;
}
.hero.has--bg {
    padding: 90px 0
}
.hero .section__cover {
    filter: brightness(0.4);
}
.hero .section__container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
.hero .section__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    height: 100%;
    color: var(--text-light);
    z-index: 1;
}
.hero h1 {
    text-transform: uppercase;
}
.hero h1:not(:last-child) {
    margin-bottom: 15px;
}
.hero h1,
.hero h4,
.hero p {
    margin: 0;
}
.hero .btn:not(:first-child) {
    margin-top: 30px;
}
@media screen and (max-width: 991px) {
    .hero {
        min-height: 600px;
    }
    .hero .section__container {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 575px) {
    .hero {
        min-height: calc(100vh - 100px);
    }
}



/******************************************************************* 
||||||||||    HIGHLIGHT    |||||||||||||||||||||||||||||||||||||||||
********************************************************************/
.highlight {
    background-color: var(--background-orange);
}
.highlight h1 {
    text-transform: uppercase;
    color: var(--text-light);
    margin: 0;
}



/******************************************************************* 
||||||||||    TEXT    ||||||||||||||||||||||||||||||||||||||||||||||
********************************************************************/
.text .section__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}
.text .section__text {
    grid-column: 2;
}

@media screen and (max-width: 991px) {
    .text .section__content {
        grid-template-columns: 1fr;
    }
    .text .section__text {
        grid-column: 1;
    }
}



/******************************************************************* 
||||||||||    FEATURES    ||||||||||||||||||||||||||||||||||||||||||
********************************************************************/
.features .section__container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}
.features__list {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}
.features__list__item {
    position: relative;
    padding: 30px 0 30px 90px;
    border-bottom: 2px solid var(--color-grey-semi);
    z-index: 1;
}
.features__list__item:first-child {
    border-top: 2px solid var(--color-grey-semi);
}
.features__list__item:before {
    position: absolute;
    content: "";
    top: 50%;
    left: 28px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--color-orange);
    z-index: 1;
}

@media screen and (max-width: 991px) {
    .features .section__container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 575px) {
    .features__list__item {
        border-width: 1px;
        padding: 15px 0 15px 46px;
    }
    .features__list__item:first-child {
        border-width: 1px;
    }
    .features__list__item:before {
        left: 13px;
        width: 15px;
        height: 15px;
        border-width: 1px;
    }
}



/******************************************************************* 
||||||||||    CTA    |||||||||||||||||||||||||||||||||||||||||||||||
********************************************************************/
.cta {
    background-color: var(--background-orange);
}
.cta.has--bg {
    padding: 100px 0;
}
.cta .section__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
.cta h2 {
    text-transform: uppercase;
    color: var(--text-light);
    margin: 0;
}
.cta__controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}
@media screen and (max-width: 767px) {
    .cta.has--bg {
        padding: 50px 0;
    }
    .cta .section__content {
        grid-template-columns: 1fr;
    }
    .cta__controls {
        align-items: flex-start;
    }
}



/******************************************************************* 
||||||||||    FOOTER    ||||||||||||||||||||||||||||||||||||||||||||
********************************************************************/
.footer .section__content:not(.footer__copyright .section__content) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    color: var(--text-grey);
    min-height: 550px;
    padding: 100px 0;
}
.footer__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 500px;
    height: auto;
}
.footer__logo img {
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
}
.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 15px 0;
    flex-grow: 1;
    width: 100%;
    font-size: 14px;
}
.footer__contacts * {
    margin: 0;
}
.footer__contacts__address h5 {
    margin: 0;
}
.footer__contacts a {
    color: inherit;
    text-decoration: none;
}
.footer__contacts a:hover {
    text-decoration: underline;
}
.footer__copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-light);
    padding: 30px 0;
}
.footer__copyright .section__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    gap: 50px;
}
.footer__copyright .section__content a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--color-orange);
    text-underline-offset: 6px;
}
.footer__copyright .section__content a:hover {
    color: var(--color-orange);
}
.footer__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-orange);
    border-radius: 50%;
    color: inherit;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
}
.footer__socials a:hover {
    background-color: var(--color-orange);
    color: var(--text-light) !important;
    text-decoration: none !important;
}

@media screen and (max-width: 991px) {
    .footer .section__content:not(.footer__copyright .section__content) {
        flex-direction: column;
        min-height: auto;
        text-align: center;
        padding: 60px 0;
        gap: 40px;
    }
    .footer__copyright .section__content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
@media screen and (max-width: 767px) {
    .footer .section__content:not(.footer__copyright .section__content) {
        text-align: left;
    }
    .footer__socials a {
        font-size: 14px;
        line-height: 1;
    }
    .footer__copyright p a {
        display: block;
    }
}
