/* Geologica Font */
@font-face {
    font-family: 'Geologica';
    src: url('fonts/Geologica-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

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

@font-face {
    font-family: 'Geologica';
    src: url('fonts/Geologica-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Geologica', sans-serif;
    color: #1a1a2e;
    background: #f5f7fa;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HEADER ===== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(90deg, #0072C0 0%, rgba(0, 114, 192, 0.6) 80%, rgba(0, 114, 192, 0) 100%);
}

.header__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header__logo-img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Navigation */
.header__nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 100%;
}

.header__nav-link {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    line-height: 1.3;
    padding: 18px 28px;
    transition: background 0.2s;
    white-space: nowrap;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.header__nav-link:hover {
    background: #339ed3;
}

/* External link button */
.header__external-link {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    padding: 0 20px;
    border: none;
    background: rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.header__external-link::before {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.header__external-link:hover {
    opacity: 0.8;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(13, 31, 60, 0.85) 0%,
        rgba(13, 31, 60, 0.55) 45%,
        rgba(13, 31, 60, 0.15) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 10px 80px;
    width: 100%;
}

.hero__title {
    font-size: 52px;
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Subtitle with brackets */
.hero__subtitle {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero__bracket {
    font-size: 70px;
    font-weight: 200;
    color: #11f7fc;
    line-height: 1;
    user-select: none;
    transform: scaleX(0.55);
}

.hero__subtitle-text {
    font-size: 26px;
    font-weight: regular;
    color: #11f7fc;
    letter-spacing: 0.5px;
}

/* ===== ABOUT ===== */
.about-title-banner {
    position: absolute;
    top: -24px;
    background: #0072C0;
    padding: 16px 48px 16px 32px;
    z-index: 2;
}

.about-photo-overlay {
    position: absolute;
    bottom: -30px;
    width: 55%;
    background: #0072C0;
    padding: 24px 32px;
    z-index: 2;
}


/* ===== ACTIVITIES ===== */
.activities-row {
    position: relative;
}

.activities-icons {
    display: flex;
    justify-content: space-around;
    position: relative;
    z-index: 2;
    margin-bottom: -45px;
}

.activities-icons__item {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.activities-icons__item img {
    width: 100%;
    height: 100%;
}

.activities-labels-wrap {
    background: #fff;
    position: relative;
    z-index: 1;
    margin-left: -40px;
    margin-right: -40px;
    padding-left: 40px;
    padding-right: 40px;
}

.activities-labels__item {
    flex: 1;
    text-align: center;
    padding: 55px 10px 26px;
    font-size: 14px;
    color: #1a1a2e;
    border-right: 3px solid #e8edf3;
}

.activities-labels__item:last-child {
    border-right: none;
}

/* Activities mobile list */
.activities-mobile-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    font-size: 14px;
    color: #1a1a2e;
    border-bottom: 2px solid #e8edf3;
}

.activities-mobile-item:last-child {
    border-bottom: none;
}

/* ===== STRUCTURE ===== */
.structure-row {
    display: flex;
    position: relative;
}

.structure-cell {
    width: 50%;
    overflow: hidden;
}

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

.structure-cell--text {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 24px 30px;
}

.structure-cell--text p {
    max-width: 400px;
}

.structure-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    z-index: 3;
}

.structure-icon img {
    width: 100%;
    height: 100%;
}

/* Structure mobile cards */
.structure-mobile-card {
    display: flex;
    flex-direction: column;
}

.structure-mobile-photo {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.structure-mobile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.structure-mobile-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 70px;
    height: 70px;
    z-index: 3;
}

.structure-mobile-icon img {
    width: 100%;
    height: 100%;
}

.structure-mobile-text {
    background: #fff;
    padding: 20px;
    text-align: center;
}

/* ===== LEADERSHIP ===== */
.leader-card {
    background: #fff;
    border-radius: 4px;
    overflow: visible;
    margin-left: 80px;
}

.leader-card__header {
    display: flex;
    gap: 28px;
    padding: 32px 36px;
    align-items: flex-start;
}

.leader-card__photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    margin-left: -116px;
    margin-top: -12px;
}

.leader-card__info {
    flex: 1;
}

/* Accordion toggle */
.leader-card__toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 36px 24px;
    cursor: pointer;
    user-select: none;
}

.leader-card__toggle-line {
    flex: 1;
    height: 1px;
    background: #d1d5db;
}

.leader-card__chevron {
    transition: transform 0.3s;
    flex-shrink: 0;
}

.leader-card.open .leader-card__chevron {
    transform: rotate(180deg);
}

/* Accordion body */
.leader-card__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 36px;
}

.leader-card.open .leader-card__body {
    max-height: 2000px;
    padding: 0 36px 36px;
}

.leader-card__body p {
    font-size: 15px;
    line-height: 1.7;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.leader-card__body p:last-child {
    margin-bottom: 0;
}

/* Leadership mobile */
.leader-card--mobile {
    margin-left: 60px;
    margin-top: 40px;
}

.leader-card--mobile .leader-card__header {
    gap: 16px;
    padding: 20px 20px 20px 24px;
}

.leader-card--mobile .leader-card__photo {
    width: 120px;
    height: 120px;
    margin-left: -83px;
}

.leader-card--mobile .leader-card__toggle {
    padding: 0 20px 20px;
}

.leader-card--mobile .leader-card__body {
    padding: 0 20px;
}

.leader-card--mobile.open .leader-card__body {
    padding: 0 20px 24px;
}

.leader-card--mobile .leader-card__body p {
    font-size: 14px;
}

/* ===== PROJECTS / SNOWFLAKE ===== */
.snowflake-banner {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.snowflake-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.snowflake-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.snowflake-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(13, 31, 60, 0.85) 0%,
        rgba(13, 31, 60, 0.55) 50%,
        rgba(13, 31, 60, 0.15) 100%
    );
}

.snowflake-banner__content {
    position: relative;
    z-index: 3;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
}

.snowflake-banner__logo {
    width: 80px;
    height: auto;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.snowflake-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0072C0;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.snowflake-banner__btn:hover {
    background: #005a9a;
}

/* Snowflake details accordion */
.snowflake-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: #e8edf3;
}

.snowflake-details.open {
    max-height: 3000px;
}

.snowflake-details__inner {
    padding-top: 40px;
    padding-bottom: 40px;
}

.snowflake-details__video {
    position: relative;
    max-width: 700px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
    cursor: pointer;
}

.snowflake-details__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.2s;
}

.snowflake-details__play:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* ===== PRESS CENTER ===== */
.press-card {
    display: block;
    transition: opacity 0.2s;
}

.press-card:hover {
    opacity: 0.8;
}

.press-card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 2px;
}

.press-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== CONTACTS ===== */
.contacts-section {
    position: relative;
    overflow: hidden;
}

.contacts-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%),
        linear-gradient(0deg, rgba(0, 135, 224, 0.911) 0%, rgba(0, 135, 224, 0.7) 100%),
        url('images/contacts.jpg') center / cover no-repeat;
}

.contacts-content {
    position: relative;
    z-index: 2;
}

.contacts-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacts-map {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, rgba(0, 40, 80, 0.7) 0%, rgba(0, 40, 80, 0.5) 80%, rgba(0, 40, 80, 0.2) 100%);
}

.footer__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__nav {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.footer__nav a {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    line-height: 1.3;
    padding: 18px 28px;
    transition: background 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.footer__nav a:hover {
    background: #339ed3;
}

.footer__external-link {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.25);
    position: relative;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}

.footer__external-link::before {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.footer__external-link:hover {
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .contacts-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contacts-content h2 {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .contacts-content .flex.flex-col.lg\:flex-row {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .contacts-map {
        max-width: 100%;
    }

    .footer__nav a {
        font-size: 12px;
        padding: 14px 14px;
    }
}

@media (max-width: 872px) {
    .footer__container {
        padding: 0 20px;
    }

    .footer__nav {
        flex-direction: column;
        align-items: stretch;
    }

    .footer__nav a {
        padding: 12px 20px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 13px;
    }

    .footer__external-link {
        display: none;
    }
}

/* Burger button */
.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.header__burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.header__burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
    .header__nav-link {
        font-size: 13px;
        padding: 18px 16px;
    }
    .hero__title {
        font-size: 40px;
    }
    .hero__subtitle-text {
        font-size: 22px;
    }
}

/* Mobile */
@media (max-width: 872px) {
    .header__container {
        padding: 0 20px;
    }

    .header__burger {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #0072C0;
        flex-direction: column;
        align-items: stretch;
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 105;
    }

    .header__nav.open {
        right: 0;
    }

    .header__nav-link {
        padding: 16px 24px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header__external-link {
        display: none;
    }

    .hero__content {
        padding: 100px 20px 60px;
    }
    .hero__title {
        font-size: 28px;
    }
    .hero__subtitle-text {
        font-size: 18px;
    }
    .hero__bracket {
        font-size: 40px;
    }
}
