/* ==========================================================================
   About Us — navy section, header + CTA, and a row of white value-prop cards.
   ========================================================================== */

.section.aboutus {
    position: relative;
    padding-top: 64px;
    padding-bottom: 64px;
    background: var(--color-card-navy);
    overflow: hidden;
}

/* Decorative background image (right edge) */
.aboutus-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%;
    z-index: 0;
    pointer-events: none;
}
.aboutus-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    opacity: 0.5;
}
/* Decorative angled panel (Vector 7) on the right */
.aboutus-decor {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 34%;
    max-width: 460px;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}
.aboutus-decor img {
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: cover;
    object-position: right top;
}
/* Orange angled stripe on the panel's left border (like the hero slider) */
.aboutus-stripe {
    position: relative;
    flex: 0 0 auto;
    align-self: flex-end;
    width: 46px;
    /* height: 62%; */
    margin-right: -50px;
    z-index: 1;
}
.aboutus-stripe svg { display: block; width: 100%; height: 100%; }

.aboutus .container { position: relative; z-index: 1; }

/* ---- Header ------------------------------------------------------------- */
.aboutus-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}
.aboutus-intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 770px;
}
.aboutus-eyebrow {
    font-family: var(--font-heading);
    font-size: var(--text-label-xs);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-background);
}
.aboutus-heading { margin: 0; color: var(--color-background); }
.aboutus-subcopy { margin: 0; color: var(--color-background); }

/* Layout only — colours/padding/hover come from the global .btn .btn-secondary */
.aboutus-btn { flex-shrink: 0; }

/* ---- Cards -------------------------------------------------------------- */
.aboutus-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.aboutus-card {
    display: flex;
    flex-direction: column;
    gap: 40px;             /* fixed space between icon and title so titles line up */
    min-height: 256px;
    padding: 20px 16px;
    background: var(--color-background);
    border: 1px solid var(--color-brand-primary-50);
    border-radius: var(--radius-sm);
}
.aboutus-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: #ffffff;
    background: linear-gradient(
        104.6deg,
        var(--color-brand-secondary-blue) 30%,
        var(--color-brand-light-blue) 159%
    );
}
.aboutus-card-icon svg {
    display: block;
    width: 26px;
    height: 26px;
    color: #ffffff; /* SVG paths use currentColor */
}

.aboutus-card-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.aboutus-card-title {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-label-lg);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-navy);
}
.aboutus-card-desc {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-paragraph-sm);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--color-navy);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .aboutus-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .aboutus-stripe { display: none; }
}
@media (max-width: 767px) {
    .aboutus-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .aboutus-cards { grid-template-columns: 1fr; }
    .aboutus-bg,
    .aboutus-decor { display: none; }
    .aboutus-card { min-height: 0; }
}
@media (max-width: 480px) {
    .aboutus-cards { grid-template-columns: 1fr; }
    .aboutus-card { min-height: 0; }
}
