/* ===== ABOUT PAGE STYLES ===== */

/* ----- TRANSPARENT HEADER ----- */
.site-header--transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 100;
}
.nav-menu--light a {
    color: rgba(255, 255, 255, 0.7) !important;
}
.nav-menu--light a:hover,
.nav-menu--light a.active {
    color: var(--color-white) !important;
    border-bottom-color: var(--color-white) !important;
}

/* Lang switch: dark text in white circle, white triangle */
.lang-switch--light .lang-switch-current {
    background: var(--color-white);
    color: #444;
}
.lang-switch--light .lang-switch-arrow {
    color: var(--color-white);
}

/* Let's Talk: white with white underline */

.btn-text-white {
    background: transparent !important;
    color: #fff !important;

    padding: 0;
    border: none;
    border-radius: 0;

    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.8);

    font-weight: 400;

    transition: .3s;
}

.btn-text-white:hover {
    color: #fff;
    border-bottom-color: #fff;
}


/* ----- HERO WITH BACKGROUND PHOTO ----- */

/* ----- HERO WITH BACKGROUND PHOTO ----- */
.about-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 80vh; /* Гарантирует, что у фотографии будет хорошая высота на любых экранах */
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.about-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;

    /* ТРЮК ДЛЯ ПРИЖАТИЯ К ЛЕВОМУ КРАЮ: */
    max-width: 100%; /* Отменяем ограничение по ширине сетки сайта */
    margin: 0;       /* Убираем центрирование контейнера */
    padding-left: 0; /* Обнуляем левый отступ, чтобы плашка прилипла к экрану */
    padding-right: var(--section-padding-x); /* Правый отступ оставляем для адаптивности */

    /* ИЗМЕНЕНИЯ ДЛЯ ВЕРТИКАЛЬНОГО ЦЕНТРИРОВАНИЯ: */
    padding-top: 100px;    /* Делаем верхний и нижний отступы одинаковыми, */
    padding-bottom: 100px; /* чтобы контейнер был симметричен */
    display: flex;
    align-items: center;   /* Выравниваем плашку строго по центру фотографии */
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Plate: прижата влево, углы прямые */
.about-hero-plate {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: auto;
    padding: 48px 48px;
    background: rgba(20, 20, 20, .42);
    backdrop-filter: blur(14px);

    /* СТИЛИ РАМОК И УГЛОВ: */
    border: 1px solid rgba(255, 255, 255, .12);
    border-left: none; /* Опционально: убирает левую рамку, так как она всё равно на краю экрана */
    border-radius: 0;  /* Острые углы (убрали 18px) */

    color: white;
    margin-left: 0;
}

/*----------------------------------------*/
.about-hero-plate h1 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 2rem;
}
.about-hero-plate p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* ----- SECTION SPACING ----- */
.about-section {
    padding: 80px 0;
    background: var(--color-white);
}
.about-section--bg {
    background: var(--color-bg);
}
/* Why Design: white bg, left-aligned, 1/3 right margin */
.about-section--indent-right {
    background: var(--color-white);
}
.about-content-indented {
    max-width: 66.666%;
    margin-left: 0;
}
.about-content-indented h3 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}
.about-content-indented p {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ----- GRID 1/3 + 2/3 ----- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}
.about-grid-left h3 {
    font-size: 1.8rem;
    line-height: 1.3;
}
.about-grid-right p,
.about-grid-right li {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.about-grid-right ul {
    list-style: none;
    padding: 0;
}
.about-grid-right ul li {
    padding-left: 0;
    margin-bottom: 0.75rem;
}
.about-grid-right ul li strong {
    color: var(--color-dark);
}

/* ----- TWO-COLUMN TEXT ----- */
.about-grid-right--two-cols .about-two-text-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.about-text-col p {
    margin-bottom: 1rem;
}
.about-text-col ul {
    margin-bottom: 0;
}

/* ----- FOLLOW ME ----- */
.about-follow-title {
    font-size: 1rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--color-dark);
}
.about-social-links {
    display: flex;
    gap: 0.75rem;
}
.about-social-links a {
    color: var(--color-dark);
    transition: color var(--transition-fast);
}
.about-social-links a:hover {
    color: var(--color-text);
}

/* ----- COUNTERS ----- */
.about-counters {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.about-counter-item {
    flex: 1 1 130px;
}
.about-counter-value {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--color-dark);
    line-height: 1.2;
}
.about-counter-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text);
    margin-top: 0.2rem;
}

/* ----- GALLERY ROWS (no gaps, white bg, padded from edges) ----- */
.about-gallery {
    padding: 0 var(--section-padding-x);
    background: var(--color-white);
}
.about-gallery-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 50px 0;
}
.about-gallery-item {
    aspect-ratio: 1/1;
    overflow: hidden;
}
.about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}
.about-gallery-item img:hover {
    transform: scale(1.03);
}

/* ----- CTA QUOTE (white bg, white quote, thin left border, link not bold) ----- */
.about-cta {
    padding: 40px 0 80px;
    background: var(--color-white);
}
.about-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
}
.about-quote {
    max-width: 660px;
    width: 100%;
    padding: 24px 32px;
    border-left: 1px solid var(--color-border);
    background: var(--color-white);
    margin-bottom: 1.25rem;
}
.about-quote p {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.about-quote p:last-child {
    margin-bottom: 0;
}

/* CTA link: not bold, grey, thin, underlined */
.about-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-text);
    padding-bottom: 4px;
    transition: all var(--transition-fast);
}
.about-cta-link:hover {
    color: var(--color-dark);
    border-bottom-color: var(--color-dark);
}
.about-cta-link .arrow {
    font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-hero-plate {
        width: 50%;
    }
    .about-grid {
        gap: 40px;
    }
    .about-content-indented {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 400px;
    }
    .about-hero-plate {
        width: 100%;
        max-width: 100%;
    }
    .about-section {
        padding: 50px 0;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .about-grid-left h3 {
        font-size: 1.5rem;
    }
    .about-grid-right--two-cols .about-two-text-cols {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .about-content-indented {
        max-width: 100%;
    }
    .about-gallery-row {
        padding: 30px 0;
    }
    .about-cta-container {
        align-items: flex-start;
    }
    .about-quote {
        max-width: 100%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .about-counters {
        flex-direction: column;
        gap: 1rem;
    }
    .about-gallery-row {
        grid-template-columns: 1fr 1fr;
    }
    .about-hero-plate {
        aspect-ratio: auto;
        padding: 24px;
    }
}
