/* =========================================================
   BOOKKEEPING NC III
   ========================================================= */

.bookkeeping-page {
    background: #f7f7f5;
    color: #17212b;
}

/* HERO */

.bookkeeping-hero {
    position: relative;
    overflow: hidden;
    padding: 65px 0 85px;
    background: #021a36;
    color: #ffffff;
}

.bookkeeping-hero::before {
    content: "";
    position: absolute;
    width: 470px;
    height: 470px;
    right: -180px;
    top: -250px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
}

.bookkeeping-hero::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    right: 80px;
    bottom: -150px;
    border: 1px solid rgba(212, 168, 75, 0.20);
    border-radius: 50%;
}

.bookkeeping-hero-inner {
    position: relative;
    z-index: 1;
}

.bookkeeping-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 0.84rem;
}

.bookkeeping-back:hover {
    color: #ffffff;
}

.bookkeeping-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #d7a84b;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.bookkeeping-hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: var(--white);
}

.bookkeeping-hero-description {
    max-width: 820px;
    margin: 25px 0 0;
    color: var(--white);
    font-size: 1.03rem;
    line-height: 1.85;
}

/* PROGRAM INFO */

.bookkeeping-info {
    position: relative;
    z-index: 5;
    margin-top: -42px;
}

.bookkeeping-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(2, 26, 54, 0.10);
}

.bookkeeping-info-item {
    padding: 25px 28px;
    background: #ffffff;
    border-right: 1px solid #e7e8e9;
}

.bookkeeping-info-item:last-child {
    border-right: 0;
}

.bookkeeping-info-label {
    display: block;
    margin-bottom: 7px;
    color: #89929a;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.bookkeeping-info-value {
    color: #021a36;
    font-size: 0.95rem;
    font-weight: 800;
}

/* SECTIONS */

.bookkeeping-section {
    padding: 90px 0;
}

.bookkeeping-section + .bookkeeping-section {
    padding-top: 0;
}

.bookkeeping-label {
    color: #9e6817;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.bookkeeping-section h2 {
    max-width: 800px;
    margin: 10px 0 15px;
    color: #021a36;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 500;
    line-height: 1.1;
}

.bookkeeping-section-intro {
    max-width: 850px;
    margin: 0;
    color: #68737d;
    line-height: 1.85;
}

/* COMPETENCY GROUPS */

.competency-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.competency-card {
    padding: 28px;
    border: 1px solid #e2e5e7;
    border-radius: 20px;
    background: #ffffff;
}

.competency-card.core {
    border-color: rgba(158, 104, 23, 0.30);
}

.competency-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf0f1;
}

.competency-card-header h3 {
    margin: 0;
    color: #021a36;
    font-size: 1rem;
    line-height: 1.4;
}

.competency-count {
    flex-shrink: 0;
    color: #9e6817;
    font-size: 0.7rem;
    font-weight: 900;
}

.competency-list {
    list-style: none;
    margin: 0;
    padding: 5px 0 0;
}

.competency-list li {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid #f0f1f2;
}

.competency-list li:last-child {
    border-bottom: 0;
}

.competency-code {
    color: #9e6817;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.5;
}

.competency-title {
    color: #59656f;
    font-size: 0.86rem;
    line-height: 1.55;
}

/* OUTCOMES */

.bookkeeping-outcomes {
    background: #f0f2f2;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 35px;
}

.outcome-item {
    display: flex;
    gap: 13px;
    padding: 18px 20px;
    border: 1px solid #e0e4e5;
    border-radius: 14px;
    background: #ffffff;
    color: #59656f;
    font-size: 0.91rem;
    line-height: 1.65;
}

.outcome-icon {
    flex-shrink: 0;
    color: #9e6817;
    font-weight: 900;
}

/* CAREERS */

.career-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 35px;
}

.career-card {
    padding: 25px;
    border-radius: 17px;
    background: #021a36;
    color: #ffffff;
}

.career-card h3 {
    margin: 0 0 9px;
    font-size: 1rem;
}

.career-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.84rem;
    line-height: 1.65;
}

/* PROGRESSION */

.bookkeeping-note {
    margin-top: 30px;
    padding: 24px 27px;
    border-left: 3px solid #b48221;
    background: #ffffff;
    color: #68737d;
    line-height: 1.8;
}

/* CTA */

.bookkeeping-cta {
    padding: 70px 0;
    background: #9e6817;
    color: #ffffff;
}

.bookkeeping-cta h2 {
    max-width: 750px;
    margin: 0 0 14px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 500;
}

.bookkeeping-cta p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.bookkeeping-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding: 13px 19px;
    border-radius: 7px;
    background: #ffffff;
    color: #021a36;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.bookkeeping-cta-button:hover {
    color: #021a36;
}

/* RESPONSIVE */

@media (max-width: 950px) {

    .competency-grid {
        grid-template-columns: 1fr;
    }

    .career-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 700px) {

    .bookkeeping-hero {
        padding: 55px 0 75px;
    }

    .bookkeeping-info-grid {
        grid-template-columns: 1fr;
    }

    .bookkeeping-info-item {
        border-right: 0;
        border-bottom: 1px solid #e7e8e9;
    }

    .bookkeeping-info-item:last-child {
        border-bottom: 0;
    }

    .bookkeeping-section {
        padding: 65px 0;
    }

    .outcomes-grid,
    .career-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 480px) {

    .competency-card {
        padding: 22px;
    }

    .competency-list li {
        grid-template-columns: 1fr;
        gap: 3px;
    }

}
