/* About Us page (Pages/AboutUs.cshtml).
   The hero is in page-hero.css; .section-subtitle, .img-shine and data-reveal are in home.css. */

.au-about .section-subtitle,
.au-cream .section-subtitle,
.au-faq .section-subtitle {
    font-size: 16px;
    line-height: 16px;
}

.au-title {
    margin: 16px 0 0;
    color: var(--brand-green);
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 400;
    line-height: 52px;
}

.au-text {
    margin: 18px 0 0;
    color: rgba(26, 86, 50, 0.8);
    font-size: 17px;
    line-height: 28px;
}

/* Small lime circle with an icon, used throughout the page. */
.au-icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand-lime);
    color: var(--brand-green);
    font-size: 22px;
}

/* Small "check + label" line under cards and steps. */
.au-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-green);
    font-size: 14px;
    font-weight: 600;
}

/* ---------- About ---------- */
.au-about {
    padding: 100px 0;
    overflow: hidden;
    background: #fff;
}

/* Two photos: a large one behind and a tilted one overlapping its lower-right corner. */
.au-about-photos {
    position: relative;
    padding: 0 60px 110px 0;
}

.au-photo-back img,
.au-photo-front img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.au-photo-back img {
    height: 420px;
    border-radius: 16px;
}

.au-photo-front-wrap {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 62%;
}

.au-photo-front {
    overflow: hidden;
    border: 8px solid #fff;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(26, 86, 50, 0.18);
    transform: rotate(6deg);
}

.au-photo-front img {
    height: 330px;
}

.au-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
    padding: 26px 10px;
    border-radius: 16px;
    background: #f8f5ec;
    text-align: center;
}

.au-feature {
    padding: 0 16px;
}

.au-feature + .au-feature {
    border-left: 1px solid rgba(26, 86, 50, 0.12);
}

.au-feature h3 {
    margin: 14px 0 0;
    color: var(--brand-green);
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 400;
    line-height: 24px;
}

.au-feature p {
    margin: 6px 0 0;
    color: rgba(26, 86, 50, 0.75);
    font-size: 14px;
    line-height: 21px;
}

.au-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 14px 26px;
    border-radius: 30px;
    background: var(--brand-lime);
    color: var(--brand-green);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.au-btn .bi {
    -webkit-text-stroke: 0.5px;
    transition: transform 0.3s ease;
}

.au-btn:hover {
    background: var(--brand-green);
    color: #fff;
}

.au-btn:hover .bi {
    transform: rotate(45deg);
}

/* ---------- Our approach + how it works ---------- */
/* overflow: hidden like the other sections, so the animated heading letters can't widen the page on phones. */
.au-cream {
    overflow: hidden;
    background: #f8f5ec;
}

.au-approach {
    padding: 100px 0 50px;
}

.au-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.au-head .au-title {
    max-width: 560px;
}

.au-head .au-text {
    max-width: 500px;
    margin: 0;
}

.au-approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.au-approach-photo {
    border-radius: 16px;
}

.au-approach-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 16px;
    object-fit: cover;
}

.au-approach-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 26px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(26, 86, 50, 0.06);
}

.au-approach-card h3 {
    margin: 26px 0 0;
    color: var(--brand-green);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
}

.au-approach-card p {
    margin: 10px 0 24px;
    color: rgba(26, 86, 50, 0.8);
    font-size: 15px;
    line-height: 24px;
}

.au-approach-card .au-tag {
    width: 100%;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(26, 86, 50, 0.12);
}

.au-works {
    padding: 50px 0 100px;
}

.au-center-head {
    text-align: center;
}

.au-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.au-steps li {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.au-step-num {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-lime);
    color: var(--brand-green);
    font-size: 14px;
    font-weight: 700;
}

.au-step-photo {
    width: 160px;
    height: 160px;
    margin-top: 24px;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(26, 86, 50, 0.1);
}

.au-step-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.au-steps li:hover .au-step-photo img {
    transform: scale(1.08);
}

.au-steps h3 {
    margin: 24px 0 0;
    color: var(--brand-green);
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 400;
    line-height: 26px;
}

/* The bottom gap sits on the text so the label can still be pushed to the bottom with margin-top: auto. */
.au-steps p {
    margin: 10px 0 20px;
    color: rgba(26, 86, 50, 0.8);
    font-size: 15px;
    line-height: 24px;
}

.au-steps .au-tag {
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(26, 86, 50, 0.12);
}

/* ---------- FAQ ---------- */
.au-faq {
    padding: 100px 0;
    overflow: hidden;
    background: #fff;
}

.au-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.au-faq-list details {
    border-radius: 10px;
    background: #f8f5ec;
    transition: background-color 0.3s ease;
}

.au-faq-list details[open] {
    background: #f1f6e4;
}

/* Questions stay a step bigger than the answers, which the site-wide rule in layout.css sets to 18px. */
.au-faq-list summary {
    position: relative;
    padding: 18px 56px 18px 22px;
    color: var(--brand-green);
    font-size: 21px;
    font-weight: 600;
    line-height: 30px;
    list-style: none;
    cursor: pointer;
}

.au-faq-list summary::-webkit-details-marker {
    display: none;
}

/* Plus sign that turns into a minus when the answer is open. */
.au-faq-list summary::before,
.au-faq-list summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 22px;
    width: 14px;
    height: 2px;
    background: var(--brand-green);
    transition: transform 0.3s ease;
}

.au-faq-list summary::after {
    transform: rotate(90deg);
}

.au-faq-list details[open] summary::after {
    transform: rotate(0deg);
}

.au-faq-list summary:focus-visible {
    border-radius: 10px;
    outline: 2px solid var(--brand-green);
}

.au-faq-list details p {
    margin: 0;
    padding: 0 22px 20px;
    color: rgba(26, 86, 50, 0.85);
}

.au-faq-photo {
    border-radius: 20px;
}

.au-faq-photo img {
    display: block;
    width: 100%;
    height: 560px;
    border-radius: 20px;
    object-fit: cover;
}

@media (max-width: 1199.98px) {
    .au-approach-grid,
    .au-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .au-title {
        font-size: 38px;
        line-height: 46px;
    }
}

@media (max-width: 991.98px) {
    .au-about,
    .au-faq {
        padding: 70px 0;
    }

    .au-approach {
        padding-top: 70px;
    }

    .au-works {
        padding-bottom: 70px;
    }

    .au-about-photos {
        max-width: 520px;
        margin: 0 auto;
    }

    .au-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .au-faq-photo img {
        height: 380px;
    }
}

@media (max-width: 767.98px) {
    .au-features {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 16px;
    }

    .au-feature + .au-feature {
        padding-top: 20px;
        border-top: 1px solid rgba(26, 86, 50, 0.12);
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .au-title {
        font-size: 32px;
        line-height: 42px;
    }

    .au-about-photos {
        padding: 0 30px 80px 0;
    }

    .au-photo-back img {
        height: 300px;
    }

    .au-photo-front img {
        height: 230px;
    }

    .au-approach-grid,
    .au-steps {
        grid-template-columns: 1fr;
    }

    .au-approach-photo img {
        min-height: 240px;
    }

    .au-faq-list summary {
        font-size: 19px;
        line-height: 27px;
    }
}
