/* ========================================
   FULL WIDTH SECTIONS
======================================== */

.about-section,
.about-dark,
.about-project,
.about-final {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* ========================================
   ABOUT PAGE
======================================== */

.about-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* ========================================
   HERO
======================================== */

.about-hero {
    width: 100vw;
    min-height: 570px;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(16, 42, 67, 0.95) 0%,
            rgba(16, 42, 67, 0.82) 45%,
            rgba(16, 42, 67, 0.38) 100%
        ),
        url("/static/img/project-main.jpg")
        center center / cover no-repeat;
}

.about-hero-overlay {
    width: 100%;
    padding: 100px 0;
}

.about-hero-label {
    color: rgba(255, 255, 255, 0.68);
}

.about-hero h1 {
    max-width: 850px;

    margin: 12px 0 25px;

    color: #ffffff;

    font-family: 'Manrope', sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 700;

    line-height: 1.08;
    letter-spacing: -0.035em;
}

.about-lead {
    max-width: 700px;

    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 19px;
    line-height: 1.7;
}

.about-hero-button {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    margin-top: 32px;
    padding: 14px 23px;

    background: #ffffff;

    border-radius: 8px;

    color: #102A43;

    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.about-hero-button:hover {
    transform: translateY(-2px);

    background: #F4F8FB;
}

.about-hero-button span {
    color: #3FA9F5;
    font-size: 18px;
}


/* ========================================
   COMMON
======================================== */

.about-section {
    padding: 90px 0;

    background: #FFFFFF;
}

.about-section h2,
.about-dark h2,
.about-project h2,
.about-final h2 {
    font-family: 'Manrope', sans-serif;
}

.section-heading {
    max-width: 760px;

    margin-bottom: 42px;
}

.section-heading h2 {
    margin: 0 0 15px;

    color: #102A43;

    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.section-heading p {
    max-width: 680px;

    margin: 0;

    color: #627D98;

    font-size: 16px;
    line-height: 1.7;
}


/* ========================================
   INTRO
======================================== */

.about-intro {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 90px;

    align-items: start;
}

.about-intro-title h2 {
    margin: 0;

    color: #102A43;

    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.about-text {
    max-width: 650px;
}

.about-text p {
    margin: 0 0 22px;

    color: #486581;

    font-size: 16px;
    line-height: 1.8;
}

.about-text p:last-child {
    margin-bottom: 0;
}


/* ========================================
   DARK APPROACH
======================================== */

.about-dark {
    padding: 95px 0;

    background: #102A43;
}

.about-dark-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 90px;
}

.about-dark-title h2 {
    margin: 0;

    color: #FFFFFF;

    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.about-dark-text {
    max-width: 650px;
}

.about-dark-text p {
    margin: 0 0 22px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 16px;
    line-height: 1.8;
}

.about-dark-text p:last-child {
    margin-bottom: 0;
}


/* ========================================
   HOW WE WORK
======================================== */

.about-work {
    background: #F4F8FB;
}

.about-work-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.work-card {
    padding: 28px 24px;

    background: #FFFFFF;

    border: 1px solid #E6EDF3;

    border-radius: 14px;

    box-shadow:
        0 4px 18px rgba(16, 42, 67, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.work-card:hover {
    transform: translateY(-5px);

    border-color: #B8DDF5;

    box-shadow:
        0 10px 30px rgba(16, 42, 67, 0.10);
}

.work-number {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-bottom: 22px;

    background: #102A43;

    border-radius: 8px;

    color: #FFFFFF;

    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.work-card h3 {
    margin: 0 0 11px;

    color: #102A43;

    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    line-height: 1.3;
}

.work-card p {
    margin: 0;

    color: #627D98;

    font-size: 14px;
    line-height: 1.65;
}


/* ========================================
   SERVICES
======================================== */

.about-services-section {
    background: #FFFFFF;
}

.about-services {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.about-service {
    min-height: 275px;

    padding: 28px 26px;

    background: #FFFFFF;

    border: 1px solid #E6EDF3;

    border-radius: 14px;

    box-shadow:
        0 4px 18px rgba(16, 42, 67, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.about-service:hover {
    transform: translateY(-5px);

    border-color: #B8DDF5;

    box-shadow:
        0 10px 30px rgba(16, 42, 67, 0.10);
}

.service-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin-bottom: 22px;

    background: #102A43;

    border-radius: 8px;

    color: #FFFFFF;

    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.about-service h3 {
    margin: 0 0 12px;

    color: #102A43;

    font-family: 'Manrope', sans-serif;
    font-size: 19px;
    line-height: 1.3;
}

.about-service p {
    margin: 0;

    color: #627D98;

    font-size: 14px;
    line-height: 1.7;
}


/* ========================================
   PRACTICAL EXPERIENCE
======================================== */

.about-project {
    display: grid;

    grid-template-columns: 1fr 1fr;

    background: #102A43;
}

.about-project-image {
    min-height: 570px;

    overflow: hidden;
}

.about-project-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.about-project:hover .about-project-image img {
    transform: scale(1.025);
}

.about-project-content {
    display: flex;

    flex-direction: column;
    justify-content: center;

    padding: 80px 8vw 80px 65px;
}

.about-project h2 {
    max-width: 620px;

    margin: 0 0 25px;

    color: #FFFFFF;

    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.about-project p {
    max-width: 570px;

    margin: 0 0 18px;

    color: rgba(255, 255, 255, 0.70);

    font-size: 15px;
    line-height: 1.75;
}

.about-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;
    gap: 10px;

    width: fit-content;

    margin-top: 18px;
    padding: 13px 21px;

    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 8px;

    color: #FFFFFF;

    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.about-button:hover {
    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(255, 255, 255, 0.60);
}

.about-button span {
    color: #3FA9F5;
    font-size: 18px;
}


/* ========================================
   FINAL CTA
======================================== */

.about-final {
    padding: 95px 0;

    background: #F4F8FB;
}

.about-final-inner {
    max-width: 800px;
}

.about-final h2 {
    margin: 0 0 20px;

    color: #102A43;

    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.about-final p {
    max-width: 650px;

    margin: 0;

    color: #627D98;

    font-size: 17px;
    line-height: 1.7;
}

.dark-button {
    background: #102A43;

    border-color: #102A43;
}

.dark-button:hover {
    background: #173F5F;

    border-color: #173F5F;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 900px) {

    .about-container {
        width: min(100% - 30px, 700px);
    }

    .about-hero {
        min-height: 520px;
    }

    .about-hero-overlay {
        padding: 80px 0;
    }

    .about-intro,
    .about-dark-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-project {
        grid-template-columns: 1fr;
    }

    .about-project-image {
        min-height: 400px;
    }

    .about-project-content {
        padding: 65px 30px;
    }

}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 600px) {

    .about-container {
        width: calc(100% - 28px);
    }

    .about-section {
        padding: 70px 0;
    }

    .about-dark {
        padding: 70px 0;
    }

    .about-hero {
        min-height: 500px;
    }

    .about-hero-overlay {
        padding: 70px 0;
    }

    .about-hero h1 {
        font-size: 36px;
    }

    .about-lead {
        font-size: 16px;
    }

    .about-intro-title h2,
    .about-dark-title h2,
    .about-project h2 {
        font-size: 30px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .about-text p,
    .about-dark-text p {
        font-size: 15px;
    }

    .about-work-grid,
    .about-services {
        grid-template-columns: 1fr;
    }

    .about-service {
        min-height: auto;
    }

    .about-project-image {
        min-height: 280px;
    }

    .about-project-content {
        padding: 55px 22px;
    }

    .about-final {
        padding: 70px 0;
    }

    .about-final h2 {
        font-size: 31px;
    }

}