.agency-page {
    background: #fbfaf7;
}

.agency-page h1,
.agency-page h2,
.agency-page h3 {
    color: var(--navy);
}

.agency-hero {
    position: relative;
    overflow: hidden;
    padding: 7.5rem 0 7rem;
    color: #fff;
    background:
        radial-gradient(circle at 86% 18%, rgba(216, 135, 0, .28), transparent 30%),
        linear-gradient(125deg, #071f4c 0%, #0b2e67 58%, #153d77 100%);
}

.agency-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    bottom: -250px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(255, 255, 255, .035), 0 0 0 110px rgba(255, 255, 255, .025);
}

.agency-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.agency-hero .eyebrow {
    color: #ffd37e;
}

.agency-hero h1 {
    max-width: 14ch;
    margin: .8rem 0 1.25rem;
    color: #fff;
    font-size: clamp(2.35rem, 5.4vw, 4.7rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.055em;
}

.agency-hero p {
    max-width: 72ch;
    margin-bottom: .8rem;
    color: rgba(255, 255, 255, .82);
    font-size: 1.04rem;
    line-height: 1.75;
}

.agency-hero .agency-hero-lead {
    max-width: 58ch;
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.42rem);
    font-weight: 600;
}

.agency-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.agency-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 50px;
    padding: .8rem 1.45rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.agency-btn:hover {
    transform: translateY(-2px);
}

.agency-btn-primary {
    background: #d88700;
    color: #fff;
    box-shadow: 0 12px 28px rgba(216, 135, 0, .24);
}

.agency-btn-primary:hover {
    background: #b66f00;
    color: #fff;
}

.agency-btn-outline {
    border-color: rgba(255, 255, 255, .48);
    color: #fff;
}

.agency-btn-outline:hover {
    background: #fff;
    color: #071f4c;
}

.agency-section {
    padding: 6rem 0;
}

.agency-section-head {
    max-width: 740px;
    margin-bottom: 2.7rem;
}

.agency-section-head h2,
.agency-form-section h2,
.agency-program-panel h2 {
    margin: .65rem 0 0;
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.agency-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.agency-card {
    padding: 1.8rem;
    border: 1px solid #e9e2d5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(7, 31, 76, .055);
}

.agency-card > i {
    display: grid;
    width: 50px;
    height: 50px;
    margin-bottom: 1.2rem;
    place-items: center;
    border-radius: 14px;
    background: rgba(216, 135, 0, .12);
    color: #a96100;
    font-size: 1.3rem;
}

.agency-card h3,
.agency-reason h3,
.agency-steps h3,
.agency-contact-card h3 {
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1.45;
}

.agency-card p,
.agency-reason p,
.agency-steps p,
.agency-form-intro,
.agency-contact-card p {
    margin: 0;
    color: #617087;
    line-height: 1.72;
}

.agency-why {
    background: #f4f0e8;
}

.agency-reason {
    display: flex;
    gap: 1.25rem;
    height: 100%;
    padding: 1.7rem;
    border: 1px solid rgba(216, 135, 0, .18);
    border-radius: 20px;
    background: rgba(255, 255, 255, .75);
}

.agency-reason > span {
    color: #d88700;
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
}

.agency-programs {
    background: #fff;
}

.agency-program-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: clamp(2rem, 5vw, 4.25rem);
    border-radius: 30px;
    background: #071f4c;
    color: rgba(255, 255, 255, .8);
}

.agency-program-panel h2 {
    color: #fff;
}

.agency-program-panel p {
    max-width: 74ch;
    line-height: 1.72;
}

.agency-program-panel .eyebrow {
    color: #ffd37e;
}

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

.agency-steps article {
    position: relative;
    padding: 1.5rem 1.35rem 1.5rem 0;
    border-top: 2px solid #e9e2d5;
}

.agency-steps article > span {
    display: grid;
    width: 40px;
    height: 40px;
    margin: -22px 0 1.25rem;
    place-items: center;
    border-radius: 50%;
    background: #d88700;
    color: #fff;
    font-weight: 800;
}

.agency-trust {
    padding: 0 0 6rem;
    background: #fff;
}

.agency-trust-panel {
    display: flex;
    gap: 1.5rem;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid rgba(216, 135, 0, .22);
    border-radius: 26px;
    background: linear-gradient(120deg, #fffaf0, #fbfaf7);
}

.agency-trust-panel > i {
    color: #a96100;
    font-size: 2.3rem;
}

.agency-trust-panel h2 {
    font-size: clamp(1.55rem, 3vw, 2.3rem);
    font-weight: 800;
}

.agency-trust-panel p {
    max-width: 82ch;
    color: #617087;
    line-height: 1.75;
}

.agency-form-section {
    scroll-margin-top: 80px;
    background: #f4f0e8;
}

.agency-form-intro {
    margin: 1rem 0 2rem;
}

.agency-contact-card,
.agency-form-card {
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(7, 31, 76, .09);
}

.agency-contact-card {
    padding: 1.75rem;
}

.agency-contact-card a {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: .65rem;
    color: #071f4c;
    font-weight: 650;
}

.agency-contact-card a:hover {
    color: #a96100;
}

.agency-form-card {
    padding: clamp(1.4rem, 4vw, 2.4rem);
}

.agency-form-card .form-label,
.agency-form-card legend {
    color: #253d5c;
    font-size: .88rem;
    font-weight: 700;
}

.agency-form-card .form-label span {
    color: #7b8798;
    font-weight: 500;
}

.agency-form-card legend {
    margin-bottom: .65rem;
}

.agency-form-card .form-control {
    min-height: 50px;
    padding: .75rem .9rem;
    border-color: #dcd5c9;
    border-radius: 10px;
}

.agency-form-card textarea.form-control {
    min-height: 130px;
}

.agency-form-card .form-control:focus {
    border-color: #d88700;
    box-shadow: 0 0 0 .2rem rgba(216, 135, 0, .13);
}

.agency-service-options {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.agency-service-options label {
    cursor: pointer;
}

.agency-service-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.agency-service-options span {
    display: block;
    padding: .58rem .85rem;
    border: 1px solid #dcd5c9;
    border-radius: 999px;
    background: #fff;
    color: #4d6179;
    font-size: .88rem;
    font-weight: 650;
}

.agency-service-options input:checked + span {
    border-color: #d88700;
    background: rgba(216, 135, 0, .1);
    color: #7d4b00;
}

.agency-service-options input:focus-visible + span {
    outline: 3px solid rgba(216, 135, 0, .25);
}

.agency-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

@media (max-width: 991px) {
    .agency-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agency-program-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .agency-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2rem;
    }
}

@media (max-width: 575px) {
    .agency-hero {
        padding: 5rem 0;
    }

    .agency-hero-actions,
    .agency-hero-actions .agency-btn {
        width: 100%;
    }

    .agency-section {
        padding: 4.5rem 0;
    }

    .agency-service-grid,
    .agency-steps {
        grid-template-columns: 1fr;
    }

    .agency-trust-panel {
        flex-direction: column;
    }
}
