/* === ABOUT US === */

.page-content.h1-background {
    display: grid;
    gap: 1rem;
    padding: var(--content-space-hero-top) 0 0;
    border: 0;
    color: var(--landing-text);
}

.page-content.h1-background h1 {
    max-width: 10ch;
    margin: 0;
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.page-content.h1-background p {
    max-width: 760px;
    margin: 0;
    color: var(--landing-text-soft);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
}

body > .page-content:not(.h1-background) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--content-space-stack);
    align-items: stretch;
    padding-bottom: var(--content-page-end);
}

.text-box {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius-lg);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.74)),
        var(--landing-surface-solid);
    box-shadow: var(--landing-shadow-sm);
}

.text-box:first-child {
    border-color: rgba(255, 140, 0, 0.24);
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 140, 0, 0.13), transparent 16rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 228, 0.58)),
        var(--landing-surface-solid);
    box-shadow: var(--landing-shadow-md);
}

.text-box::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1.2rem;
    border-radius: 14px;
    color: var(--landing-primary);
    background: var(--landing-primary-soft, #eaf2ff);
    font-family: "Font Awesome 6 Free";
    font-weight: var(--font-weight-xxbold);
}

.text-box:nth-child(1)::before {
    content: "\f0ad";
}

.text-box:nth-child(2)::before {
    content: "\f0e0";
    color: var(--landing-accent);
    background: var(--landing-accent-soft, #fff4e4);
}

.text-box:nth-child(3)::before {
    content: "\f2bb";
}

.text-box h2 {
    margin: 0 0 1rem;
    color: var(--landing-text);
    font-size: clamp(1.65rem, 4vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.text-box p {
    margin: 0 0 1rem;
    color: var(--landing-text-soft);
    font-size: 1rem;
    line-height: 1.75;
}

.text-box p:last-child {
    margin-bottom: 0;
}

.text-box strong {
    color: var(--landing-text);
}

.text-box a {
    color: var(--landing-primary);
    font-weight: var(--font-weight-bold);
    /* text-decoration-thickness: 2px;
    text-underline-offset: 3px; */
}

.text-box a:hover {
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

@media (max-width: 960px) {
    body > .page-content:not(.h1-background) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-content {
        width: min(100% - 1.25rem, var(--landing-container));
    }

    .text-box {
        border-radius: 22px;
        padding: 1.1rem;
    }

    .text-box p {
        font-size: 0.96rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
