/*
 * HERO
 */
.about-hero {
    background-color: rgba(25, 185, 185, 0.12);
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    margin-bottom: 1rem;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 14px;
    background-color: rgba(25, 185, 185, 0.12);
    clip-path: polygon(
        0% 0%, 0% 50%, 3% 0%, 8% 60%, 15% 10%, 22% 55%, 30% 0%, 38% 50%, 45% 5%, 52% 60%, 60% 0%, 68% 55%, 75% 10%, 82% 50%, 90% 0%, 95% 45%, 100% 15%, 100% 0%
    );
}

.about-hero-title {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #08525F;
}

@media (min-width: 768px) {
    .about-hero-title {
        font-size: 3rem;
        line-height: 3.5rem;
    }
}

/*
 * COMPANY BLOCKS (flowing, single column)
 */
.about-company {
    padding: 3rem 2rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

/*
 * FEATURED SECTION — light teal bg + torn paper edges
 */
.about-featured-section {
    background-color: rgba(25, 185, 185, 0.12);
    position: relative;
    padding: 5rem 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.about-featured-section::before,
.about-featured-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 14px;
    background-color: white;
    z-index: 2;
}

.about-featured-section::before {
    top: -1px;
    clip-path: polygon(
        0% 0%, 0% 50%, 3% 0%, 8% 60%, 15% 10%, 22% 55%, 30% 0%, 38% 50%, 45% 5%, 52% 60%, 60% 0%, 68% 55%, 75% 10%, 82% 50%, 90% 0%, 95% 45%, 100% 15%, 100% 0%
    );
}

.about-featured-section::after {
    bottom: -1px;
    clip-path: polygon(
        0% 100%, 0% 50%, 3% 100%, 8% 40%, 15% 90%, 22% 45%, 30% 100%, 38% 50%, 45% 95%, 52% 40%, 60% 100%, 68% 45%, 75% 90%, 82% 50%, 90% 100%, 95% 55%, 100% 85%, 100% 100%
    );
}

.about-featured {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.about-block-label {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.6rem 1.8rem;
    display: inline-block;
    width: fit-content;
    white-space: nowrap;
    background-color: #08525F;
    margin-bottom: 1.5rem;
    clip-path: var(--rough-edge);
}

.about-block-text {
    font-size: 1rem;
    line-height: 1.8rem;
    color: var(--grey-500);
    text-wrap: pretty;
}

.about-block--with-image {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.about-block--with-image .about-block-content {
    flex: 1;
}

.about-block-image {
    flex-shrink: 0;
    max-width: 380px;
    align-self: center !important;
    margin: auto 0;
}

.about-block-image img {
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .about-block--with-image {
        flex-direction: row;
        gap: 3rem;
        align-items: center;
    }

    .about-block--with-image.about-block--reverse {
        text-align: right;
    }

    .about-block--with-image.about-block--reverse .about-block-label {
        margin-left: auto;
    }

    .about-block-image {
        max-width: 400px;
    }
}

.about-buttons-section {
    padding: 5rem 2rem;
}

.about-buttons-title {
    font-family: 'Mr Dodo', 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.75rem;
    line-height: 2.2rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    color: #08525F;
    max-width: 700px;
    margin: 0 auto 1rem;
}

@media (min-width: 768px) {
    .about-buttons-title {
        font-size: 2.25rem;
        line-height: 2.7rem;
    }
}

.about-block-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.about-block-button-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    padding: 1rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.about-block-button-wrap:hover {
    transform: translateY(-6px);
}

.about-block-button-image {
    max-width: 220px;
    width: 100%;
    height: auto;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-block-button-wrap:hover .about-block-button-image {
    transform: scale(1.08) rotate(-3deg);
}

.about-block-btn {
    display: inline-block;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.7rem 2.5rem;
    background-color: #08525F;
    transition: opacity 0.2s ease;
    clip-path: var(--rough-edge);
}

.about-block-btn:hover {
    opacity: 0.85;
}
