/* Fonts */
@font-face {
    font-family: 'GT Planar';
    src: url('../fonts/GT-Planar Thin/GT-Planar-Thin.woff2') format('woff2'),
         url('../fonts/GT-Planar Thin/GT-Planar-Thin.woff') format('woff'),
         url('../fonts/GT-Planar Thin/GT-Planar-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'GT Planar';
    src: url('../fonts/GT-Planar Light/GT-Planar-Light.woff2') format('woff2'),
         url('../fonts/GT-Planar Light/GT-Planar-Light.woff') format('woff'),
         url('../fonts/GT-Planar Light/GT-Planar-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'GT Planar';
    src: url('../fonts/GT-Planar Light/GT-Planar-Italic-15-Light.woff2') format('woff2'),
         url('../fonts/GT-Planar Light/GT-Planar-Italic-15-Light.woff') format('woff'),
         url('../fonts/GT-Planar Light/GT-Planar-Italic-15-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'GT Planar';
    src: url('../fonts/GT-Planar Medium/GT-Planar-Medium.woff2') format('woff2'),
         url('../fonts/GT-Planar Medium/GT-Planar-Medium.woff') format('woff'),
         url('../fonts/GT-Planar Medium/GT-Planar-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

body {
    margin: 0;
    color: black;
    font-weight: 300;
    font-family: 'GT Planar', sans-serif;
}

h1 {
    font-size: 64px;
    font-weight: normal;
    margin: 0;
}

h2 {
    font-size: 32px;
    font-weight: normal;
    margin: 15px 0 0;
}

h3 {
    font-size: 24px;
    font-weight: normal;
    margin: 0;
}

p {
    font-size: 20px;
    margin-bottom: 15px;
}

a {
    color: black;
    text-decoration: none;
    font-weight: 300;
}

strong {
    font-weight: 500;
}

* {
    box-sizing: border-box;
}

/* FOOTER */
.footer {
    background-color: #E6FD71;
    padding: 22px 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-left {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.footer-address,
.footer-contact {
    font-size: 16px;
    line-height: 1.5;
}

.footer-address p,
.footer-contact p {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.footer-right {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 100px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    font-size: 16px;
    color: black;
    text-decoration: none;
    line-height: 1;
}

.footer-instagram {
    display: block;
    line-height: 0;
}

.footer-instagram img {
    width: 40px;
    height: 40px;
    display: block;
}

@media (max-width: 768px) {
    .footer {
        padding: 16px 18px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-left {
        flex-direction: column;
        gap: 20px;
    }

    .footer-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* MENU */
.hamburger {
    position: fixed;
    top: 9px;
    right: 13px;
    background-image: url('../icons/hamburger.svg');
    width: 32px;
    height: 32px;
    background-color: #E6FD71;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 16px;
    cursor: pointer;
    z-index: 10;
}

.logo-link {
    position: absolute;
    top: 56px;
    right: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    z-index: 5;
}

.logo {
    width: 15px;
}

.menu, .sub-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu-overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 6;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #E6FD71;
    overflow-x: hidden;
    overflow-y: auto;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

.menu-overlay.open {
    display: flex;
}

.menu-overlay .x {
    position: fixed;
    top: 9px;
    right: 13px;
    background-image: url('../icons/plus.svg');
    width: 32px;
    height: 32px;
    background-size: 32px 32px;
    background-repeat: no-repeat;
    cursor: pointer;
    transform: rotate(45deg);
    z-index: 10;
}

.menu-overlay .logo-link-menu {
    position: absolute;
    top: 56px;
    right: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    z-index: 5;
}

.menu-overlay .menu-content {
    width: min(100%, 944px);
    margin: 178px 30px 0 30px;
}

.menu-content .menu-item {
    position: relative;
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 36px;
    padding-top: 13px;
    padding-bottom: 17px;
    border-top: 1px solid black;
}

.menu-content .menu-item:last-of-type {
    border-bottom: 1px solid black;
}

.menu-content .menu-item .arrow {
    position: absolute;
    background-image: url('../icons/plus.svg');
    width: 32px;
    height: 32px;
    top: 0;
    right: -16px;
    bottom: 0;
    margin: auto 0;
    background-size: 32px 32px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.menu-content .menu-item .arrow.active {
    background-image: url('../icons/minus.svg');
}

.menu-content .sub-menu {
    display: none;
    margin-bottom: 18px;
    margin-top: -4px;
}

.menu-content .sub-menu.active {
    display: block;
}

.menu-content .sub-menu .menu-item {
    border: none;
    font-size: 24px;
    line-height: 36px;
    margin-left: 80px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.menu-overlay .footer {
    width: 100%;
    padding: 0;
    padding-bottom: 32px;
}

@media (max-width: 1200px) {
    .menu-overlay .menu-content {
        width: min(100%, 784px);
        margin-top: 68px;
    }

    .menu-overlay .footer {
        padding-bottom: 18px;
    }
}

@media (max-width: 768px) {
    .menu-overlay .logo-link-menu {
        display: none;
    }

    .menu-overlay .menu-content {
        margin-top: 70px;
        margin-bottom: 35px;
    }

    .menu-overlay .footer .footer-left {
        display: none;
    }

    .menu-content .menu-item {
        font-size: 32px;
    }
}

/* FRONTPAGE */
.hero-section {
    position: relative;
    width: 100%;
    height: 854px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-number {
    position: absolute;
    top: 99px;
    left: 48px;
    font-family: 'GT Planar', sans-serif;
    font-weight: 100;
    font-size: 180px;
    line-height: 73px;
    color: #E6FD71;
    letter-spacing: -16.2px;
}

.hero-vertical-bar {
    position: absolute;
    top: 78px;
    left: 36px;
    width: 5px;
    height: calc(100% - 78px);
    background-color: #E6FD71;
}

.banner-section {
    position: relative;
    background-color: #E6FD71;
    padding: 16px 0 72px 73px;
}

.banner-bar {
    position: absolute;
    left: 36px;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: white;
}

.banner-content {
    max-width: 769px;
}

.banner-content p {
    font-family: 'GT Planar', sans-serif;
    font-weight: 250;
    font-size: 40px;
    line-height: 48px;
    color: black;
    margin: 0;
}

.banner-arrow {
    cursor: pointer;
    margin-top: 17px;
}

.banner-arrow img {
    display: block;
    width: 32px;
    height: 32px;
}

.intro-section {
    position: relative;
    padding: 24px 0 0 73px;
    background-color: white;
}

.intro-bar {
    position: absolute;
    left: 36px;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: #E6FD71;
}

.intro-content {
    max-width: 768px;
}

.intro-content p {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 28px;
    line-height: 36px;
    color: black;
    letter-spacing: 0.28px;
    margin: 0;
}

/* COMPETENCIES SECTION */
.competencies-section {
    position: relative;
    padding: 60px 36px 70px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.competencies-title {
    font-family: 'GT Planar', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    color: black;
    margin-bottom: 26px;
}

.competencies-grid {
    display: flex;
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.competency-card {
    position: relative;
    background-color: white;
    border-top: 1px solid black;
    padding-top: 29px;
    border-bottom: 1px solid black;
}

.competency-link {
    position: absolute;
    top: 13px;
    right: -16px;
    display: block;
}

.plus-icon {
    background-image: url('../icons/plus_green.svg');
    width: 32px;
    height: 32px;
    background-size: 32px 32px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.competency-image {
    display: block;
    width: 328px;
    aspect-ratio: 1;
    overflow: hidden;
}

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

.competency-title {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: normal;
    color: black;
    padding: 10px 0 13px 0;
    border-top: 1px solid black;
}

@media (max-width: 1200px) {
    .hero-section {
        height: 540px;
    }

    .banner-section {
        padding: 16px 0 19px 73px;
    }

    .banner-content {
        max-width: 479px;
    }

    .intro-section {
        padding: 62px 0 0 73px;
    }

    .competency-image {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 562px;
    }

    .hero-number {
        left: 27px;
    }

    .hero-vertical-bar {
        left: 16px;
        width: 3px;
    }

    .banner-section {
        padding: 13px 0 16px 32px;
    }

    .banner-bar {
        left: 16px;
        width: 3px;
    }

    .banner-content p {
        font-size: 30px;
        font-weight: 300;
        line-height: 36px;
    }

    .banner-arrow {
        margin-top: 13px;
    }

    .intro-section {
        padding: 24px 0 0 32px;
    }

    .intro-bar {
        left: 16px;
        width: 3px;
    }

    .intro-content p {
        font-size: 24px;
        line-height: 32px;
    }

    .competency-image {
        width: 240px;
    }

    .competencies-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .competency-card {
        border-bottom: none;
    }

    .competency-card:last-child {
        border-bottom: 1px solid black;
    }
}

/* PAGE TEMPLATE STYLES */
.page-hero-section {
    display: flex;
    width: 100%;
}

.page-hero-left {
    position: relative;
    width: 50%;
    height: 50vw;
    background-color: black;
    display: flex;
    align-items: flex-end;
}

.page-hero-right {
    width: 50%;
    height: 50vw;
    overflow: hidden;
}

.page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-bar {
    position: absolute;
    left: 36px;
    bottom: 0;
    width: 5px;
    height: 110px;
    background-color: #E6FD71;
}

.page-hero-bar.small {
    height: 70px;
}

.page-hero-title {
    font-family: 'GT Planar', sans-serif;
    font-weight: 250;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 0.8px;
    color: white;
    margin: 0;
    max-width: calc(100% - 85px);
    position: absolute;
    left: 73px;
    bottom: 27px;
}

.page-hero-title.high {
    bottom: 35px;
}

.page-intro-section {
    padding: 23px 0 0 74px;
    position: relative;
}

.page-intro-bar {
    position: absolute;
    left: 36px;
    bottom: 0;
    width: 5px;
    height: 100%;
    background-color: #E6FD71;
}

.page-intro-content {
    max-width: calc(50% - 74px);
}

.page-intro-content p {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.6px;
    color: black;
    margin: 0;
}

.page-content-section {
    padding: 60px 73px 72px 73px;
}

.page-content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 27px;
    justify-content: center;
}

.page-left-column {
    width: 680px;
}

.page-right-column {
    width: 680px;
}

.page-competencies-title {
    font-family: 'GT Planar', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    color: black;
    margin: 0 0 27px 0;
}

.page-sections {
    display: flex;
    flex-direction: column;
}

.page-section {
    border-bottom: 1px solid black;
}

.page-section:first-child {
    border-top: 1px solid black;
}

.page-section-header {
    padding: 20px 0 12px 0;
}

.page-section-title {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 28px;
    color: black;
    margin: 0;
}

.page-section-content {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    color: black;
    padding-bottom: 24px;
}

.page-references-title {
    font-family: 'GT Planar', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    color: black;
    margin: 0 0 27px 0;
}

.references-carousel {
    position: relative;
}

.carousel-track {
    position: relative;
    width: 100%;
}

.carousel-counter {
    position: absolute;
    right: 0;
    top: -44px;
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    color: black;
    text-align: right;
}

.reference-item {
    display: none;
}

.reference-item.active {
    display: block;
}

.reference-image-wrapper {
    position: relative;
    width: 100%;
    height: 493px;
    margin-bottom: 22px;
}

.reference-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reference-plus {
    position: absolute;
    top: -16px;
    right: -16px;
}

.reference-plus img {
    width: 32px;
    height: 32px;
}

.reference-description {
    font-family: 'GT Planar', sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    color: black;
    margin-bottom: 24px;
}

.carousel-controls {
    position: absolute;
    top: 477px;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    width: 32px;
    height: 32px;
    background-color: #E6FD71;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    pointer-events: auto;
}

.carousel-prev {
    left: -16px;
}

.carousel-next {
    right: -16px;
}

.carousel-prev img,
.carousel-next img {
    width: 20px;
    height: 20px;
}

.carousel-prev img {
    transform: rotate(90deg);
}

.carousel-next img {
    transform: rotate(270deg);
}

@media (max-width: 1200px) {
    .page-hero-bar {
        left: 26px;
    }

    .page-hero-title {
        left: 57px;
    }

    .page-intro-section {
        padding: 48px 0 0 57px;
    }

    .page-intro-bar {
        left: 26px;
    }

    .page-left-column {
        width: 414px;
    }

    .page-right-column {
        width: 414px;
    }

    .reference-image-wrapper {
        height: 302px;
    }

    .carousel-controls {
        top: 286px;
    }
}

@media (max-width: 768px) {
    .page-hero-section {
        flex-direction: column;
    }

    .page-hero-left,
    .page-hero-right {
        width: 100%;
        height: 100vw;
    }

    .page-hero-left {
        order: 2;
    }

    .page-hero-right {
        order: 1;
    }

    .page-hero-title {
        top: 20px;
        left: 28px;
        font-size: 30px;
        line-height: 36px;
        letter-spacing: 0.6px;
    }

    .page-hero-bar {
        left: 16px;
        width: 3px;
        height: calc(100% - 28px);
    }

    .page-intro-section {
        padding: 23px 32px 0 32px;
    }

    .page-intro-bar {
        left: 16px;
        width: 3px;
    }

    .page-intro-content {
        max-width: 100%;
    }

    .page-intro-content p {
        font-size: 24px;
        letter-spacing: 0.24px;
    }

    .page-content-section {
        padding: 61px 68px 64px 68px;
    }

    .page-content-wrapper {
        flex-direction: column;
        gap: 61px;
        align-items: center;
    }

    .page-left-column,
    .page-right-column {
        width: 100%;
    }

    .reference-image-wrapper {
        height: 174px;
    }

    .carousel-counter {
        top: -47px;
    }

    .carousel-controls {
        top: 158px;
    }
}

/* IMAGE POPUP MODAL */
.reference-clickable {
    cursor: pointer;
}

.reference-plus-trigger {
    cursor: pointer;
}

.image-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    overflow: hidden;
    padding: 100px;
}

.image-popup-overlay.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-popup-title {
    position: absolute;
    top: 19px;
    left: 162px;
    font-family: 'GT Planar', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    color: black;
    margin: 0;
}

.image-popup-counter {
    position: absolute;
    right: 162px;
    top: 19px;
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 27px;
    color: black;
    text-align: right;
}

.image-popup-close {
    position: absolute;
    right: 10px;
    top: 10px;
    background-image: url('../icons/plus_green.svg');
    width: 32px;
    height: 32px;
    background-size: 32px 32px;
    background-repeat: no-repeat;
    cursor: pointer;
    transform: rotate(45deg);
}

.image-popup-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    width: 100%;
}

.popup-image-item {
    display: none;
    width: min(854px, 100%);
    height: min(854px, 100%);
}

.popup-image-item.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popup-description {
    position: absolute;
    left: 162px;
    bottom: 14px;
}

.popup-description-text {
    display: none;
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.54px;
    color: black;
    margin: 0;
}

.popup-description-text.active {
    display: block;
}

.popup-carousel-prev,
.popup-carousel-next {
    position: absolute;
    bottom: 10px;
    width: 32px;
    height: 32px;
    background-color: #E6FD71;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    pointer-events: auto;
}

.popup-carousel-prev {
    left: 10px;
}

.popup-carousel-next {
    right: 10px;
}

.popup-carousel-prev img,
.popup-carousel-next img {
    width: 20px;
    height: 20px;
}

.popup-carousel-prev img {
    transform: rotate(90deg);
}

.popup-carousel-next img {
    transform: rotate(270deg);
}

@media (max-width: 1200px) {
    .image-popup-title {
        top: 15px;
        left: 112px;
    }

    .image-popup-counter {
        right: 112px;
        top: 15px;
    }

    .popup-image-item {
        width: min(624px, 100%);
        height: min(624px, 100%);
    }

    .popup-description {
        left: 112px;
    }
}

@media (max-width: 768px) {
    .image-popup-overlay {
        padding: 70px 0 140px 0;
    }

    .image-popup-title {
        top: 16px;
        left: 16px;
        max-width: 250px;
    }

    .image-popup-counter {
        right: 87px;
        top: 12px;
    }

    .popup-image-item {
        width: 100%;
        height: min(375px, 100%);
    }

    .popup-description {
        left: 16px;
        bottom: 62px;
        max-width: calc(100% - 32px);
    }
}

/* COMPANY PAGE */
.company-hero-section {
    width: 100%;
    height: 50vw;
    position: relative;
}

.page-hero-clock {
    width: 100%;
    height: 100%;
    border: none;
}

.page-intro-download {
    position: absolute;
    right: 74px;
    top: 23px;
}

.download-link {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0.48px;
    color: black;
    text-decoration: underline;
    text-align: right;
}

.company-team-section,
.company-jobs-section,
.company-history-section,
.company-partner-section {
    padding: 0 162px;
    margin-bottom: 65px;
}

.company-section-divider {
    width: 100%;
    height: 1px;
    background-color: black;
    margin-bottom: 18px;
}

.company-section-title {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 30px;
    line-height: 40px;
    color: black;
    margin: 0 0 21px 0;
}

.company-team-section {
    margin-top: 60px;
}

.team-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 60px 24px;
    margin-bottom: 60px;
}

.team-member {
    display: flex;
    flex-direction: column;
}

.team-member-image {
    width: 328px;
    height: 328px;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 26px;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-info {
    display: flex;
    flex-direction: column;
}

.team-member-name {
    font-family: 'GT Planar', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    color: black;
    margin: 0 0 2px 0;
}

.team-member-details {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: black;
}

.team-member-details p {
    margin: 0 0 4px 0;
    font-size: 16px;
    line-height: 24px;
}

.team-member-details a {
    text-decoration: underline;
}

.company-jobs-content {
    max-width: calc(50% - 100px);
    margin-left: 88px;
}

.company-jobs-content p {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 25px;
    color: black;
    margin: 0;
}

.company-history-wrapper {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.company-history-left {
    flex: 1;
    width: 0;
}

.company-history-left .company-section-title {
    margin-bottom: 20px;
}

.company-history-text {
    margin-left: 88px;
}

.company-history-text p {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 25px;
    color: black;
    margin: 0;
}

.company-history-right {
    flex: 1;
    width: 0;
}

.company-milestones-title {
    font-family: 'GT Planar', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    text-transform: uppercase;
    color: black;
    margin: 62px 0 0 0;
}

.company-milestones {
    display: flex;
    flex-direction: column;
}

.milestone-item {
    display: flex;
    flex-direction: column;
}

.milestone-divider {
    width: 100%;
    height: 1px;
    background-color: black;
    margin: 18px 0;
}

.milestone-year {
    font-family: 'GT Planar', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: black;
    margin-bottom: 5px;
}

.milestone-description p {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 20px;
    color: black;
    margin: 0;
}

.milestone-description a {
    text-decoration: underline;
}

.company-partner-content {
    margin-left: 88px;
}

.company-partner-content p {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 25px;
    color: black;
    margin: 0 0 8px 0;
}

@media (max-width: 1200px) {
    .page-intro-download {
        display: none;
    }

    .company-team-section,
    .company-jobs-section,
    .company-history-section,
    .company-partner-section {
        padding: 0 24px;
    }

    .team-member-image {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 768px) {
    .company-hero-bar {
        height: 64px;
    }

    .company-hero-title {
        top: initial;
    }

    .company-team-section,
    .company-jobs-section,
    .company-history-section,
    .company-partner-section {
        padding: 0 67px;
        margin-bottom: 70px;
    }

    .team-grid {
        flex-direction: column;
        flex-wrap: no-wrap;
        justify-items: center;
    }

    .team-member-image {
        width: 100%;
        max-width: 300px;
    }

    .company-jobs-content {
        margin-left: 0;
        max-width: 100%;
    }

    .company-history-wrapper {
        flex-direction: column;
        gap: 60px;
    }

    .company-history-left,
    .company-history-right {
        flex: initial;
        width: 100%;
    }

    .company-history-text {
        margin-left: 0;
    }

    .company-milestones-title {
        margin-top: 0;
    }

    .milestone-divider:last-of-type {
        display: none;
    }

    .company-partner-content {
        margin-left: 0;
    }
}

/* CONTACT PAGE */
.contact-offices-section {
    padding: 60px 162px 72px 162px;
}

.contact-offices-wrapper {
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: center;
}

.contact-office {
    flex: 1;
    width: 0;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.contact-office-header {
    margin-bottom: 26px;
}

.contact-office-title {
    font-family: 'GT Planar', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    color: black;
    margin: 0 0 26px 0;
}

.contact-office-divider {
    width: 100%;
    height: 1px;
    background-color: black;
}

.contact-office-details {
    margin-bottom: 55px;
}

.contact-office-details p {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    color: black;
    margin: 0;
}

.contact-office-map {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
}

.contact-office-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

@media (max-width: 1200px) {
    .contact-offices-section {
        padding: 87px 112px 65px 112px;
    }
}

@media (max-width: 768px) {
    .contact-offices-section {
        padding: 60px 67px 0 67px;
    }

    .contact-offices-wrapper {
        flex-direction: column;
        gap: 65px;
    }

    .contact-office {
        flex: initial;
        width: 100%;
    }

    .contact-office-map {
        width: calc(100% + 134px);
        transform: translateX(-67px);
    }
}

/* LEGAL PAGE */
.legal-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 178px;
    padding-bottom: 95px;
}

.legal-page-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legal-header {
    width: 903px;
}

.legal-header-divider {
    width: 100%;
    height: 1px;
    background-color: black;
    margin-bottom: 16px;
}

.legal-page-title {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 23px;
    color: black;
    margin: 0 0 50px 0;
}

.legal-content-section {
    display: flex;
    flex-direction: row;
    gap: 17px;
    justify-content: center;
}

.legal-left-column,
.legal-right-column {
    width: 443px;
}

.legal-item {
    margin-bottom: 50px;
}

.legal-item:last-child {
    margin-bottom: 0;
}

.legal-item-title {
    font-family: 'GT Planar', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    color: black;
    margin: 0 0 27px 0;
}

.legal-item-divider {
    width: 100%;
    height: 1px;
    background-color: black;
    margin-bottom: 21px;
}

.legal-item-content {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    color: black;
}

.legal-item-content p {
    font-size: 18px;
    line-height: 24px;
    margin: 0 0 24px 0;
}

.legal-item-content p:last-child {
    margin-bottom: 0;
}

.legal-item-content a {
    text-decoration: underline;
}

.legal-page h3 {
    font-family: 'GT Planar', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: black;
    margin: 0 0 12px 0;
}

@media (max-width: 1200px) {
    .legal-page {
        padding-top: 68px;
        padding-bottom: 85px;
    }

    .legal-header {
        width: 781px;
    }

    .legal-left-column,
    .legal-right-column {
        width: 382px;
    }

    .legal-item {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .legal-page {
        padding: 120px 32px 51px 32px;
    }

    .legal-page-title {
        margin-bottom: 74px;
    }

    .legal-header {
        width: 100%;
    }

    .legal-left-column,
    .legal-right-column {
        width: 100%;
    }

    .legal-content-section {
        max-width: 100%;
        flex-direction: column;
        gap: 50px;
        padding-left: 35px;
        padding-right: 40px;
    }
}

/* Instagram Feed */
.instagram-section {
    background-color: #F0F0F0;
    width: 100%;
    padding-bottom: 75px;
    position: relative;
}

.instagram-header {
    display: grid;
    grid-template-columns: max-content max-content;
    padding-top: 28px;
    padding-left: 73px;
    align-items: center;
    gap: 13px 15px;
}

.instagram-header img {
    width: 32px;
    height: 32px;
}

.instagram-title {
    margin: 0;
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 48px;
    color: black;
}

.instagram-subtitle p {
    margin: 0;
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    color: black;
}

.instagram-feed {
    width: 100%;
    overflow-y: auto;
}

#sb_instagram {
    width: fit-content !important;
    padding: 0 !important;
}

#sbi_images {
    width: fit-content !important;
    gap: 16px !important;
    padding: 28px 27px 0 27px !important;
}

.sbi_item {
    padding: 8px;
    background-color: white;
    width: 240px !important;
}

.sbi_photo {
    height: 279px !important;
    opacity: 1 !important;
}

.sbi_caption {
    font-family: 'GT Planar', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.54px;
    color: black;
}

.instagram-next {
    position: absolute;
    width: 32px;
    height: 32px;
    background-color: #E6FD71;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    pointer-events: auto;
    bottom: 59px;
    right: 23px;
}

.instagram-next img {
    width: 20px;
    height: 20px;
    transform: rotate(270deg);
}

@media (max-width: 1200px) {
    .instagram-section {
        padding-bottom: 69px;
    }

    .instagram-header {
        padding-left: 26px;
    }

    #sbi_images {
        padding: 28px 24px 0 24px !important;
    }

    .instagram-next {
        bottom: 56px;
        right: 12px;
    }
}

@media (max-width: 768px) {
    .instagram-header {
        padding-left: 16px;
    }

    #sbi_images {
        padding: 28px 16px 0 16px !important;
    }

    .instagram-next {
        right: 16px;
    }
}

/* COOKIE MODAL */
#cm *, #s-inr * {
    font-family: 'GT Planar', sans-serif !important;
    font-weight: 300 !important;
}

#c-ttl, #s-ttl {
    font-weight: 400 !important;
}
