.exam-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 6rem) 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0) 32%),
        linear-gradient(135deg, #eef5ff 0%, #ffffff 45%, #fff4e9 100%);
}

.exam-hero::before,
.exam-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.exam-hero::before {
    width: 22rem;
    height: 22rem;
    right: -8rem;
    top: -8rem;
    background: rgba(23, 39, 124, 0.12);
}

.exam-hero::after {
    width: 14rem;
    height: 14rem;
    left: -5rem;
    bottom: -5rem;
    background: rgba(255, 174, 67, 0.18);
}

.exam-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.exam-hero-copy h1 {
    max-width: 13ch;
    margin: 0.5rem 0 1rem;
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.exam-lead {
    max-width: 43rem;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.75;
    color: #334155;
}

.exam-hero-actions,
.exam-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.exam-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0;
    margin: 1.7rem 0 0;
    list-style: none;
}

.exam-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(23, 39, 124, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: #17277c;
    font-weight: 800;
    box-shadow: 0 0.8rem 2rem rgba(15, 23, 42, 0.06);
}

.exam-trust-list li::before {
    content: "✓";
    display: inline-grid;
    width: 1.15rem;
    height: 1.15rem;
    place-items: center;
    border-radius: 999px;
    background: #17277c;
    color: #ffffff;
    font-size: 0.75rem;
}

.exam-advisor-card,
.exam-card,
.exam-process-grid article,
.exam-final-box {
    border: 1px solid rgba(23, 39, 124, 0.12);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 1.25rem 3.5rem rgba(15, 23, 42, 0.1);
}

.exam-advisor-card {
    padding: clamp(1.4rem, 3vw, 2rem);
    border-radius: 2rem;
    backdrop-filter: blur(14px);
}

.exam-advisor-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 1rem;
    background: #17277c;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight:800;
}

.exam-advisor-card h2 {
    margin: 1rem 0 0.65rem;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.exam-advisor-card p {
    color: #475569;
    line-height: 1.7;
}

.exam-advisor-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.3rem 0;
}

.exam-advisor-points span,
.exam-card-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: #f1f5ff;
    color: #17277c;
    font-size: 0.82rem;
    font-weight: 800;
}

.exam-heading {
    max-width: 44rem;
    margin-inline: auto;
    text-align: center;
}

.exam-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.exam-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 1.35rem;
    border-radius: 1.5rem;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.exam-card:hover,
.exam-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(23, 39, 124, 0.32);
    box-shadow: 0 1.5rem 3.75rem rgba(15, 23, 42, 0.14);
}

.exam-card-top {
    display: flex;
    justify-content: space-between;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 1.1rem;
}

.exam-card-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 1rem;
    background: #fff7ed;
    font-size: 1.35rem;
}

.exam-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.exam-card p {
    color: #475569;
    line-height: 1.65;
}

.exam-best-for {
    margin-top: auto;
    padding: 1rem;
    border-radius: 1.1rem;
    background: #f8fafc;
}

.exam-best-for strong,
.exam-best-for span {
    display: block;
}

.exam-best-for strong {
    margin-bottom: 0.25rem;
    color: #17277c;
}

.exam-best-for span {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
}

.exam-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-weight:800;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.exam-card-btn:hover,
.exam-card-btn:focus-visible {
    transform: translateY(-2px);
}

.exam-card-btn-primary {
    background: #17277c;
    color: #ffffff;
    box-shadow: 0 0.9rem 1.8rem rgba(23, 39, 124, 0.22);
}

.exam-card-btn-primary:hover,
.exam-card-btn-primary:focus-visible {
    background: #0f1e65;
    color: #ffffff;
}

.exam-card-btn-secondary {
    background: #ffffff;
    color: #17277c;
    border: 1px solid rgba(23, 39, 124, 0.18);
}

.exam-process {
    background: #f8fafc;
}

.exam-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.exam-process-grid article {
    padding: 1.25rem;
    border-radius: 1.35rem;
    background: #ffffff;
}

.exam-process-grid span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: #ff8a00;
    font-weight:800;
}

.exam-process-grid h3 {
    margin: 0 0 0.5rem;
}

.exam-process-grid p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.exam-final-box {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    padding: clamp(1.35rem, 4vw, 2.25rem);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 174, 67, 0.18), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
}

.exam-final-box h2 {
    margin: 0.35rem 0 0.55rem;
}

.exam-final-box p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

@media (max-width: 1100px) {
    .exam-card-grid,
    .exam-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .exam-hero-grid,
    .exam-final-box {
        grid-template-columns: 1fr;
    }

    .exam-hero-grid {
        display: block;
    }

    .exam-advisor-card {
        margin-top: 2rem;
    }

    .exam-final-box {
        display: grid;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .exam-card-grid,
    .exam-process-grid {
        grid-template-columns: 1fr;
    }

    .exam-hero-copy h1 {
        max-width: none;
    }

    .exam-hero-actions,
    .exam-card-actions {
        flex-direction: column;
    }

    .exam-card-btn,
    .exam-hero-actions .btn,
    .exam-final-box .btn {
        width: 100%;
    }
}
