/* =========================
   EIKŌ PICTURES
   Основные настройки
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #08070a;
    color: #eeeaf2;
    font-family: Georgia, "Times New Roman", serif;
    min-width: 320px;
}


/* =========================
   HEADER
========================= */

header {
    height: 70px;
    background: #08070a;
    border-bottom: 1px solid #29242f;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;
    position: relative;
    z-index: 10;
}


/* Логотип в шапке */

.logo {
    width: 70px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.logo img {
    width: 65px;
    height: 65px;

    object-fit: contain;
    display: block;
}


/* Навигация */

nav {
    display: flex;
    gap: 42px;
}

nav a {
    color: #ddd7e3;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 3px;
    transition: 0.3s;
}

nav a:hover {
    color: #b98cff;
}

nav a.active {
    color: #d7baff;
    text-shadow: 0 0 12px #8f54d9;
}


/* Кнопка меню */

.menu-toggle {
    display: none;
}


/* Профиль */

.profile {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #ddd7e3;
    text-decoration: none;

    font-size: 13px;
    letter-spacing: 2px;
}

.profile-icon {
    width: 30px;
    height: 30px;

    border: 1px solid #aaa1b1;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 600px;

    display: flex;
    align-items: center;

    padding: 70px 7%;

    background:
        radial-gradient(
            circle at 35% 35%,
            rgba(105, 55, 155, 0.35),
            transparent 35%
        ),
        linear-gradient(
            90deg,
            #08070a 0%,
            #0d0a12 55%,
            #08070a 100%
        );

    border-bottom: 1px solid #29242f;
}


/* Большой логотип */

.hero-logo {
    width: 48%;

    display: flex;
    justify-content: center;
}

.hero-logo img {
    width: 90%;
    max-width: 650px;
    height: auto;
    display: block;
}


/* Текст Hero */

.hero-content {
    width: 45%;
    padding-left: 30px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: normal;
    line-height: 1.15;

    letter-spacing: 4px;
    color: #d9c7e8;

    margin-bottom: 30px;
}

.hero-content p {
    max-width: 400px;

    font-size: 17px;
    line-height: 1.8;

    color: #aaa2b0;
    margin-bottom: 35px;
}


/* Кнопка */

.button {
    display: inline-block;

    padding: 14px 30px;

    border: 1px solid #8d6ba8;
    color: #ddd0e8;

    text-decoration: none;

    font-size: 12px;
    letter-spacing: 2px;

    transition: 0.3s;
}

.button:hover {
    background: #8d6ba8;
    color: white;

    box-shadow: 0 0 25px rgba(141, 107, 168, 0.4);
}


/* =========================
   РАЗДЕЛЫ
========================= */

.sections {
    padding: 55px 6%;

    border-bottom: 1px solid #29242f;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 25px;

    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 5px;
}

.section-title::after {
    content: "";

    height: 1px;
    background: #403746;

    flex: 1;
}

.section-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.section-card {
    position: relative;

    height: 330px;

    overflow: hidden;

    border: 1px solid #413848;

    background: #100d13;

    display: flex;
    align-items: flex-end;

    text-decoration: none;

    transition: 0.4s;
}

.section-card:hover {
    transform: translateY(-6px);

    border-color: #9b70bd;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(112, 64, 150, 0.2);
}

.section-card img {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.7;

    transition: 0.5s;
}

.section-card:hover img {
    transform: scale(1.05);

    opacity: 0.9;
}

.section-card h3 {
    position: relative;

    z-index: 2;

    width: 100%;

    padding: 35px 15px 25px;

    text-align: center;

    font-size: 23px;
    font-weight: normal;

    letter-spacing: 3px;

    color: #eeeaf2;

    background:
        linear-gradient(
            transparent,
            rgba(5, 4, 7, 0.9)
        );
}


/* =========================
   НОВОСТИ
========================= */

.news {
    padding: 55px 6%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    border-bottom: 1px solid #29242f;
}

.news-list {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

.news-item {
    display: flex;

    gap: 18px;

    padding-bottom: 18px;

    border-bottom: 1px solid #29242f;

    color: inherit;
    text-decoration: none;

    transition: 0.3s;
}

.news-item:hover {
    border-color: #6f527f;
}

.news-item img {
    width: 120px;
    height: 75px;

    object-fit: cover;
}

.news-item small {
    color: #8d8392;

    letter-spacing: 2px;
}

.news-item h3 {
    margin: 7px 0;

    font-size: 16px;
    font-weight: normal;
}

.news-item p {
    color: #8e8792;

    font-size: 13px;
}


/* =========================
   ЦИТАТА
========================= */

.quote {
    min-height: 350px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        radial-gradient(
            circle,
            rgba(88, 47, 125, 0.2),
            transparent 60%
        );
}

.quote blockquote {
    max-width: 600px;

    font-size: 30px;

    font-style: italic;

    line-height: 1.6;

    letter-spacing: 3px;

    color: #c8b4d7;
}

.quote span {
    display: block;

    margin-top: 30px;

    font-size: 11px;

    letter-spacing: 6px;

    color: #77707d;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 40px 6%;

    display: flex;

    justify-content: space-between;
    align-items: center;

    color: #77707d;

    font-size: 12px;

    background: #060508;
}

footer a {
    color: #77707d;

    text-decoration: none;

    margin-left: 25px;
}

footer a:hover {
    color: #b98cff;
}


/* =========================
   АДАПТАЦИЯ
========================= */

@media (max-width: 900px) {

    nav {
        gap: 18px;
    }

    .hero {
        flex-direction: column;

        text-align: center;
    }

    .hero-logo,
    .hero-content {
        width: 100%;
    }

    .hero-content {
        padding: 30px 0 0;
    }

    .section-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news {
        grid-template-columns: 1fr;
    }
}


/* =========================
   ТЕЛЕФОН
========================= */

@media (max-width: 600px) {

    header {
        height: 60px;

        padding: 0 20px;
    }

    .logo {
        width: 55px;
        height: 50px;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }


    /* Кнопка гамбургера */

    .menu-toggle {
        display: block;

        background: none;
        border: none;

        color: #ddd7e3;

        font-size: 28px;

        cursor: pointer;

        padding: 5px;

        line-height: 1;
    }


    /* Мобильное меню */

    nav {
        display: none;

        position: absolute;

        top: 60px;
        left: 0;

        width: 100%;

        padding: 25px 20px;

        background: #08070a;

        border-bottom: 1px solid #29242f;

        flex-direction: column;

        align-items: center;

        gap: 22px;

        z-index: 20;
    }

    nav.open {
        display: flex;
    }

    nav a {
        font-size: 13px;
    }


    /* Профиль */

    .profile {
        font-size: 11px;
    }

    .profile-icon {
        width: 26px;
        height: 26px;
    }


    /* Hero */

    .hero {
        padding: 40px 20px;
    }

    .hero-logo img {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 36px;

        letter-spacing: 3px;
    }

    .hero-content p {
        font-size: 15px;
    }


    /* Разделы */

    .section-grid {
        grid-template-columns: 1fr;
    }

    .section-card {
        height: 280px;
    }


    /* Новости */

    .news-item {
        flex-direction: column;
    }

    .news-item img {
        width: 100%;
        height: 180px;
    }


    /* Цитата */

    .quote blockquote {
        font-size: 23px;

        padding: 0 20px;
    }


    /* Footer */

    footer {
        flex-direction: column;

        gap: 20px;

        text-align: center;
    }

    footer a {
        margin: 0 10px;
    }
}


/* =========================
   СТРАНИЦА НОВОСТЕЙ
========================= */

.news-page {
    padding: 55px 6% 80px;

    min-height: 600px;
}

.news-page .section-title {
    margin-bottom: 45px;
}

.news-page .section-title h1 {
    font-size: 30px;
    font-weight: normal;

    letter-spacing: 6px;
}


/* Отдельная новость */

.news-page-item {
    display: flex;

    gap: 35px;

    padding: 0 0 35px;
    margin-bottom: 35px;

    border-bottom: 1px solid #29242f;

    max-width: 1000px;
}


/* Изображение */

.news-page-item img {
    width: 320px;
    height: 200px;

    object-fit: cover;

    flex-shrink: 0;
}


/* Текст */

.news-page-content {
    padding-top: 5px;
}

.news-page-content small {
    color: #8d8392;

    font-size: 12px;
    letter-spacing: 3px;
}

.news-page-content h2 {
    margin: 12px 0;

    font-size: 25px;
    font-weight: normal;

    color: #eeeaf2;
}

.news-page-content p {
    color: #aaa2b0;

    font-size: 15px;
    line-height: 1.7;

    max-width: 550px;
}


/* =========================
   МОБИЛЬНАЯ ВЕРСИЯ НОВОСТЕЙ
========================= */

@media (max-width: 600px) {

    .news-page {
        padding: 40px 20px 60px;
    }

    .news-page .section-title h1 {
        font-size: 24px;

        letter-spacing: 4px;
    }

    .news-page-item {
        flex-direction: column;

        gap: 20px;
    }

    .news-page-item img {
        width: 100%;
        height: 200px;
    }

    .news-page-content h2 {
        font-size: 21px;
    }

    .news-page-content p {
        font-size: 14px;
    }
}


/* =========================
   СТРАНИЦА «О НАС»
========================= */

.about-hero {
    min-height: 530px;

    padding: 70px 7%;

    display: grid;

    grid-template-columns: 60% 40%;

    border-bottom: 1px solid #29242f;

    background:
        radial-gradient(
            circle at 70% 45%,
            rgba(90, 48, 125, 0.12),
            transparent 35%
        );
}

.about-hero-text {
    max-width: 720px;
}

.about-label {
    margin-bottom: 20px;

    font-size: 11px;
    letter-spacing: 6px;

    color: #77707d;
}

.about-hero h1 {
    font-size: 68px;
    font-weight: normal;

    letter-spacing: 8px;

    color: #d9c7e8;
}

.about-line {
    width: 430px;
    max-width: 100%;

    height: 1px;

    margin: 20px 0 25px;

    background: #403746;

    position: relative;
}

.about-line::after {
    content: "✦";

    position: absolute;

    left: 28%;

    top: 50%;

    transform: translateY(-50%);

    padding: 0 8px;

    background: #08070a;

    color: #b98cff;

    font-size: 14px;
}

.about-hero h2 {
    margin-bottom: 28px;

    font-size: 18px;
    font-weight: normal;

    letter-spacing: 6px;

    color: #d9c7e8;
}

.about-hero-text p {
    max-width: 680px;

    margin-bottom: 22px;

    color: #aaa2b0;

    font-size: 16px;
    line-height: 1.8;
}


/* Правая часть */

.about-hero-side {
    padding-left: 70px;

    display: flex;
    flex-direction: column;

    justify-content: center;

    position: relative;
}

.about-side-line {
    width: 1px;
    height: 130px;

    margin-bottom: 25px;

    background: #57465f;
}

.about-side-line.small {
    height: 70px;

    margin: 25px 0;
}

.about-side-words {
    display: flex;

    flex-direction: column;

    gap: 13px;

    font-size: 11px;

    letter-spacing: 5px;

    color: #8b7b91;
}

.about-hero-side p {
    max-width: 240px;

    font-size: 14px;
    line-height: 1.7;

    font-style: italic;

    color: #99909f;
}


/* =========================
   НАПРАВЛЕНИЯ
========================= */

.about-directions {
    padding: 50px 7% 70px;

    border-bottom: 1px solid #29242f;
}

.about-section-title {
    display: flex;

    align-items: center;

    gap: 25px;

    margin-bottom: 25px;
}

.about-section-title h2 {
    font-size: 20px;
    font-weight: normal;

    letter-spacing: 5px;

    white-space: nowrap;
}

.about-section-title::after {
    content: "";

    height: 1px;

    flex: 1;

    background: #403746;
}

.about-section-title span {
    font-size: 10px;

    letter-spacing: 4px;

    color: #77707d;

    white-space: nowrap;
}

.direction-list {
    max-width: 1100px;
}

.direction-item {
    min-height: 135px;

    display: grid;

    grid-template-columns: 110px 240px 1fr;

    align-items: center;

    gap: 25px;

    border-bottom: 1px solid #29242f;
}

.direction-number {
    font-size: 42px;

    color: #75627f;

    font-weight: normal;
}

.direction-item h3 {
    font-size: 20px;

    font-weight: normal;

    letter-spacing: 4px;

    color: #d9c7e8;
}

.direction-item p {
    max-width: 600px;

    font-size: 14px;

    line-height: 1.7;

    color: #99919f;
}


/* =========================
   ФИРМЕННЫЙ БЛОК
========================= */

.about-motto {
    min-height: 430px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(87, 48, 120, 0.2),
            transparent 45%
        );
}

.motto-circle {
    position: absolute;

    width: 850px;
    height: 300px;

    border: 1px solid #3c3044;

    border-radius: 50%;

    bottom: -190px;
}

.motto-content {
    position: relative;

    z-index: 2;
}

.motto-content h2 {
    font-size: 32px;

    font-weight: normal;

    letter-spacing: 7px;

    color: #d9c7e8;
}

.motto-divider {
    width: 500px;

    max-width: 80vw;

    height: 1px;

    margin: 20px auto;

    background: #4a3a51;

    position: relative;
}

.motto-divider span {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    padding: 0 12px;

    background: #08070a;

    color: #b98cff;

    font-size: 14px;
}

.motto-content p {
    margin-top: 45px;

    font-size: 11px;

    letter-spacing: 7px;

    color: #8a7c91;
}

.motto-content small {
    display: block;

    margin-top: 10px;

    font-size: 9px;

    letter-spacing: 5px;

    color: #615767;
}


/* =========================
   МОБИЛЬНАЯ ВЕРСИЯ «О НАС»
========================= */

@media (max-width: 900px) {

    .about-hero {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-hero-side {
        padding-left: 0;
    }

    .about-side-line {
        display: none;
    }

    .direction-item {
        grid-template-columns: 80px 180px 1fr;
    }
}


@media (max-width: 600px) {

    .about-hero {
        padding: 45px 20px 55px;

        gap: 40px;
    }

    .about-label {
        font-size: 9px;

        letter-spacing: 4px;
    }

    .about-hero h1 {
        font-size: 44px;

        letter-spacing: 5px;
    }

    .about-hero h2 {
        font-size: 15px;

        letter-spacing: 3px;
    }

    .about-hero-text p {
        font-size: 15px;

        line-height: 1.7;
    }

    .about-section-title {
        align-items: flex-start;

        flex-wrap: wrap;

        gap: 12px;
    }

    .about-section-title h2 {
        font-size: 17px;

        letter-spacing: 3px;
    }

    .about-section-title span {
        display: none;
    }

    .direction-item {
        grid-template-columns: 55px 1fr;

        gap: 15px;

        padding: 25px 0;
    }

    .direction-number {
        font-size: 30px;
    }

    .direction-item h3 {
        font-size: 16px;

        letter-spacing: 2px;
    }

    .direction-item p {
        grid-column: 2;

        font-size: 14px;
    }

    .about-motto {
        min-height: 350px;
    }

    .motto-circle {
        width: 600px;

        height: 230px;

        bottom: -150px;
    }

    .motto-content h2 {
        font-size: 21px;

        letter-spacing: 4px;
    }

    .motto-content p {
        margin-top: 35px;

        letter-spacing: 4px;
    }
}