/*
 * Keep The Faith — Dedicated Plan Your Visit page
 * Isolated from site.css / frontend-utility.css.
 */

.visit-hero {
    position: relative;
    min-height: min(860px, calc(100vh - 118px));
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background: #071a31;
    color: #fff;
}

.visit-hero__media {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
}

.visit-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 18, 35, .96) 0%,
            rgba(4, 18, 35, .88) 37%,
            rgba(4, 18, 35, .48) 70%,
            rgba(4, 18, 35, .25) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4, 18, 35, .68),
            transparent 45%
        );
}

.visit-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(70px, 8vw, 120px);
    padding-bottom: clamp(96px, 10vw, 150px);
}

.visit-breadcrumb {
    position: absolute;
    top: 36px;
    left: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    color: rgba(255,255,255,.68);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.visit-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.visit-hero__content {
    max-width: 780px;
}

.visit-hero__content h1 {
    max-width: 760px;
    margin: 12px 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 400;
    line-height: .84;
    letter-spacing: -.065em;
}

.visit-hero__content h1 em {
    display: block;
    margin-top: 12px;
    color: #e1b65c;
    font-weight: 400;
}

.visit-hero__content > p:not(.eyebrow) {
    max-width: 660px;
    color: rgba(255,255,255,.82);
    font-size: clamp(1rem, 1.55vw, 1.22rem);
    line-height: 1.7;
}

.visit-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.visit-hero__promise {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    display: flex;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    background: rgba(4,18,35,.58);
    backdrop-filter: blur(15px);
}

.visit-hero__promise span {
    padding: 12px 18px;
    color: rgba(255,255,255,.8);
    font-size: .68rem;
    font-weight: 800;
}

.visit-hero__promise span + span {
    border-left: 1px solid rgba(255,255,255,.12);
}

.visit-hero__mobile-path {
    position: absolute;
    z-index: 5;
    right: 18px;
    bottom: 18px;
    max-width: 360px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.92);
    color: #10233f;
    font-size: .7rem;
}

.visit-hero__mobile-path strong,
.visit-hero__mobile-path small {
    display: block;
}

.visit-welcome {
    background: #fffdf7;
}

.visit-welcome__grid {
    display: grid;
    grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
    gap: clamp(48px, 8vw, 110px);
    align-items: center;
}

.visit-welcome__visual {
    position: relative;
}

.visit-welcome__image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 28px 80px rgba(16,35,63,.12);
}

.visit-welcome__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-welcome__seal {
    position: absolute;
    right: -28px;
    bottom: 34px;
    width: 156px;
    height: 156px;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 50%;
    background: #10233f;
    color: #fff;
    box-shadow: 0 18px 45px rgba(16,35,63,.22);
}

.visit-welcome__seal small {
    color: #e1b65c;
    font-size: .55rem;
    font-weight: 850;
    letter-spacing: .09em;
}

.visit-welcome__seal strong {
    margin-top: 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.visit-welcome__seal span {
    color: rgba(255,255,255,.68);
    font-size: .65rem;
    font-weight: 800;
}

.visit-welcome__content h2,
.visit-campus__head h2,
.visit-online h2,
.visit-final h2 {
    margin: 8px 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 5.3vw, 5.5rem);
    font-weight: 400;
    line-height: .92;
    letter-spacing: -.055em;
    color: #10233f;
}

.visit-welcome__content h2 em,
.visit-campus__head h2 em,
.visit-final h2 em {
    display: block;
    color: #b77b20;
    font-weight: 400;
}

.visit-welcome__content > p:not(.eyebrow) {
    max-width: 720px;
    color: #687385;
    line-height: 1.75;
}

.visit-expect-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    margin-top: 28px;
}

.visit-expect-grid article {
    padding: 22px;
    border: 1px solid rgba(16,35,63,.09);
    border-radius: 20px;
    background: #fff;
}

.visit-expect-grid span {
    color: #a77424;
    font-size: .66rem;
    font-weight: 850;
}

.visit-expect-grid h3 {
    margin: 13px 0 8px;
    color: #10233f;
    font-size: 1.02rem;
}

.visit-expect-grid p {
    margin: 0;
    color: #727d8e;
    font-size: .84rem;
    line-height: 1.6;
}

.visit-campus {
    background: #f6f1e6;
}

.visit-campus__head {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(300px,500px);
    gap: clamp(34px, 7vw, 100px);
    align-items: end;
    margin-bottom: 42px;
}

.visit-campus__head > p {
    margin: 0;
    color: #687385;
    line-height: 1.7;
}

.visit-campus__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
}

.visit-campus-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(26px, 3vw, 38px);
    border: 1px solid rgba(16,35,63,.09);
    border-radius: 27px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(16,35,63,.055);
}

.visit-campus-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.visit-campus-card__meta > span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #10233f;
    color: #e0b657;
    font-size: .67rem;
    font-weight: 850;
}

.visit-campus-card__meta small,
.visit-campus-card__country {
    color: #a16e20;
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.visit-campus-card__country {
    margin: 28px 0 0;
}

.visit-campus-card h3 {
    margin: 6px 0 4px;
    color: #10233f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 4.5vw, 4.4rem);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.05em;
}

.visit-campus-card > strong {
    color: #4c596d;
}

.visit-campus-card__summary {
    margin: 17px 0 0;
    color: #687385;
    line-height: 1.65;
}

.visit-campus-card dl {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    margin: 26px 0 0;
}

.visit-campus-card dl > div {
    padding: 17px;
    border-radius: 16px;
    background: #f7f4ec;
}

.visit-campus-card dt {
    margin-bottom: 7px;
    color: #a16e20;
    font-size: .6rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.visit-campus-card dd {
    margin: 0;
    color: #344156;
    font-size: .84rem;
    line-height: 1.55;
}

.visit-campus-card__contact {
    display: grid;
    gap: 4px;
}

.visit-campus-card__contact a {
    color: #10233f;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.visit-campus-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-top: auto;
    padding-top: 26px;
}

.visit-campus-card__actions .button {
    min-height: 44px;
    padding: 0 17px;
    font-size: .65rem;
}

.visit-campus-card__details {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    padding: 10px 4px;
    color: #10233f;
    font-size: .7rem;
    font-weight: 850;
    text-decoration: none;
}

.visit-empty {
    padding: 52px;
    border: 1px solid rgba(16,35,63,.1);
    border-radius: 26px;
    background: #fff;
    text-align: center;
}

.visit-empty h3 {
    margin: 0 0 8px;
    color: #10233f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 400;
}

.visit-empty p {
    max-width: 560px;
    margin: 0 auto 22px;
    color: #687385;
}

.visit-online {
    padding: clamp(78px, 9vw, 130px) 0;
    background: #10233f;
    color: #fff;
}

.visit-online__inner {
    display: grid;
    grid-template-columns: minmax(0,1.25fr) auto;
    gap: 50px;
    align-items: end;
}

.visit-online h2 {
    max-width: 850px;
    color: #fff;
}

.visit-online h2 em {
    display: block;
    color: #e0b657;
    font-weight: 400;
}

.visit-online p:not(.eyebrow) {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
}

.visit-online__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.visit-final {
    padding: clamp(80px, 9vw, 130px) 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(224,182,87,.2), transparent 32rem),
        #fffdf7;
}

.visit-final__inner {
    max-width: 920px;
}

.visit-final__inner > p:not(.eyebrow) {
    max-width: 760px;
    color: #687385;
    line-height: 1.75;
}

.visit-final__inner > div {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 28px;
}

@media (max-width: 980px) {
    .visit-welcome__grid,
    .visit-campus__head,
    .visit-online__inner {
        grid-template-columns: 1fr;
    }

    .visit-welcome__visual {
        max-width: 620px;
    }

    .visit-campus__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .visit-hero {
        min-height: 760px;
    }

    .visit-hero__inner {
        justify-content: flex-end;
        padding-top: 90px;
        padding-bottom: 126px;
    }

    .visit-breadcrumb {
        top: 24px;
    }

    .visit-hero__content h1 {
        font-size: clamp(3.3rem, 15vw, 5.6rem);
    }

    .visit-hero__actions,
    .visit-online__actions {
        flex-direction: column;
    }

    .visit-hero__actions .button,
    .visit-online__actions .button {
        width: 100%;
        justify-content: center;
    }

    .visit-hero__promise {
        left: 0;
        right: 0;
        width: 100%;
        bottom: 22px;
        justify-content: space-between;
    }

    .visit-hero__promise span {
        flex: 1;
        padding: 10px 7px;
        text-align: center;
        font-size: .55rem;
    }

    .visit-welcome__seal {
        right: 14px;
        bottom: 14px;
        width: 126px;
        height: 126px;
    }

    .visit-expect-grid,
    .visit-campus-card dl {
        grid-template-columns: 1fr;
    }

    .visit-campus-card__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .visit-campus-card__actions > * {
        width: 100%;
        justify-content: center;
    }
}
