/* ══════════════════════════════════════════════════════════
   ABOUT PAGE STYLES
   woodworkstore.fr / ustolarzy theme
   Clean & optimized port from Elementor
   ══════════════════════════════════════════════════════════ */

.about-page {
    position: relative;
}

/* ── Section 1: Intro ── */
.about-intro {
    padding-block: var(--spacing-section);
}

.about-intro__flex {
    display: flex;
    gap: 40px;
    align-items: flex-end;
}

.about-intro__left {
    flex: 1.2;
}

.about-intro__right {
    flex: 1;
}

.about-intro__label {
    font-family: var(--font-body);
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 500;
    letter-spacing: 0;
    color: var(--color-orange);
    text-transform: uppercase;
    margin-bottom: 0;
}

.about-intro__title {
    font-family: var(--font-heading);
    line-height: 1.1;
    color: var(--color-navs);
    margin: 0 0 24px;
}

.about-intro__title span {
    display: block;
    color: var(--color-orange);
    font-weight: 400;
}

.about-intro__text p {
    font-size: clamp(13px, 1.2vw, 14px);
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .about-intro__flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
}

/* ── Section 2: Gallery ── */
.about-gallery {
    padding-bottom: var(--spacing-section);
}

.about-gallery__grid {
    display: grid;
    /* 3 columns to allow Desk to span across two smaller ones */
    grid-template-columns: 1fr 1.2fr 0.8fr;
    grid-template-rows: auto auto;
    gap: 12px;
    align-items: stretch;
}

/* 1. Forest - Top Left */
.about-gallery__grid>div:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

/* 2. Desk - Top Right (Spans 2 columns) */
.about-gallery__grid>div:nth-child(2) {
    grid-column: 2 / span 2;
    grid-row: 1;
}

/* 3. Round Table - Bottom Left */
.about-gallery__grid>div:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

/* 4. Workshop (B&W) - Bottom Middle */
.about-gallery__grid>div:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

/* 5. Logo - Bottom Right */
.about-gallery__logo {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.about-gallery__item picture {
    height: 100%;
}

.about-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.about-gallery__logo-img {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
}

.about-page .section__label {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 500;
    text-align: left;
    margin-bottom: 0;
    color: var(--color-orange);
}

@media (max-width: 768px) {
    .about-page {
        padding: 2rem 0;
    }

    .about-gallery {
        padding-bottom: 2rem;
    }

    .about-gallery__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }

    .about-gallery__grid>div,
    .about-gallery__logo {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .about-gallery__item img {
        height: auto;
        aspect-ratio: 4/3;
    }

    .about-gallery__logo {
        padding: 40px 0;
    }
}

/* ── Section 3: Values ── */
.about-values {
    background-color: var(--color-bg-card);
    padding-block: var(--spacing-section);
}

.about-values__flex {
    display: flex;
    gap: 64px;
}

.about-values__col {
    flex: 1;
}

.about-values__title {
    font-family: var(--font-label);
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
    color: var(--color-navs);
}

.about-values__title .color {
    color: var(--color-orange);
}

.about-values__desc {
    font-size: clamp(13px, 1.2vw, 14px);
    line-height: 1.5;
    color: var(--color-text);
}

@media (max-width: 992px) {
    .about-values__flex {
        flex-direction: column;
        gap: 48px;
    }
}

/* ── Section 4: Products CTA ── */
.about-cta {
    text-align: center;
    padding-block: var(--spacing-section);
}

.about-cta__header {
    text-align: left;
    margin: 0 auto 48px;
}

.about-cta__sub {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.5vw, 16px);
    margin-bottom: 24px;
}

.about-cta .btn-third {
    display: inline-flex;
    margin-top: 12px;
    text-decoration: none;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-coffee);
    padding-bottom: 4px;
    transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.about-cta .btn-third:hover {
    color: var(--color-orange);
    border-color: var(--color-orange);
    transform: translateY(-2px);
}

.about-cta__products {
    margin-top: 64px;
    text-align: left;
    /* Reset alignment inherited from .about-cta */
}