.hfc-school-area,
.hfc-school-area * {
    box-sizing: border-box;
}

.hfc-school-area {
    --hfc-school-navy: #05006b;
    --hfc-school-lime: #a9ed00;
    --hfc-school-text: #11152b;
    --hfc-school-muted: #3f465c;
    --hfc-school-card: #ffffff;
    --hfc-school-line: rgba(5, 0, 107, 0.14);
    --hfc-school-soft: rgba(5, 0, 107, 0.06);
    --hfc-school-radius: 22px;
    --hfc-school-radius-lg: 32px;
    width: 100%;
    padding: 40px 30px;
    color: var(--hfc-school-text);
    font-family: inherit;
    background: transparent !important;
}

.hfc-school-area__inner {
    width: min(100%, 1280px);
    max-width: 1280px;
    margin: 0 auto;
}

.hfc-school-area__profile {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: clamp(24px, 4vw, 58px);
    align-items: start;
}

.hfc-school-area__eyebrow {
    color: var(--hfc-school-lime);
    font-size: clamp(0.78rem, 1.1vw, 1rem) !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: 0.17em !important;
    text-transform: uppercase;
    margin: 0 0 8px 0;
}

.hfc-school-area__title,
.hfc-school-area__section-title,
.hfc-school-area__story h2 {
    color: var(--hfc-school-navy);
    font-size: clamp(2rem, 4.3vw, 3.75rem) !important;
    line-height: 0.98 !important;
    font-weight: 900 !important;
    letter-spacing: -0.06em !important;
    margin: 0;
}

.hfc-school-area__intro {
    max-width: 680px;
    color: var(--hfc-school-muted);
    font-size: clamp(1rem, 1.35vw, 1.22rem) !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
    margin: 22px 0 0 0;
}

.hfc-school-area__quote {
    position: relative;
    max-width: 670px;
    margin: 22px 0 18px 0;
    padding: 10px 0 10px 26px;
    color: var(--hfc-school-navy);
    font-size: clamp(1rem, 1.45vw, 1.28rem) !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
}

.hfc-school-area__quote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    bottom: 0.2em;
    width: 5px;
    border-radius: 999px;
    background: var(--hfc-school-lime);
}

.hfc-school-area__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.hfc-school-area__detail {
    min-height: 82px;
    padding: 16px 18px;
    border: 1px solid var(--hfc-school-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 6px 18px rgba(5, 0, 107, 0.04);
}

.hfc-school-area__detail strong {
    display: block;
    color: var(--hfc-school-navy);
    font-size: clamp(0.88rem, 1.1vw, 1rem) !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    margin-bottom: 5px;
}

.hfc-school-area__detail span {
    display: block;
    color: var(--hfc-school-text);
    font-size: clamp(0.92rem, 1.15vw, 1.08rem) !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    overflow-wrap: anywhere;
}

.hfc-school-area__visual {
    position: relative;
    min-height: 520px;
    border-radius: 28px;
    overflow: hidden;
    background: var(--hfc-school-navy);
    box-shadow: 0 18px 38px rgba(5, 0, 107, 0.12);
}

.hfc-school-area__visual > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.hfc-school-area__logo-badge {
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: clamp(124px, 12vw, 168px);
    height: clamp(124px, 12vw, 168px);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    z-index: 2;
}

.hfc-school-area__logo-badge img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hfc-school-area__logo-badge span {
    color: var(--hfc-school-navy);
    font-size: clamp(0.85rem, 1vw, 1rem) !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    text-align: center;
    letter-spacing: -0.02em;
}

.hfc-school-area__image-card {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 20px 22px;
    border-radius: 20px;
    background: rgba(255, 250, 237, 0.93);
    color: var(--hfc-school-text);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(6px);
}

.hfc-school-area__image-card h3,
.hfc-school-area__card h3,
.hfc-school-area__story-card h3 {
    color: var(--hfc-school-navy);
    font-size: clamp(1rem, 1.35vw, 1.22rem) !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    margin: 0 0 14px 0;
}

.hfc-school-area__image-card p,
.hfc-school-area__story-card p,
.hfc-school-area__story-copy p {
    font-size: clamp(0.95rem, 1.15vw, 1.08rem) !important;
    line-height: 1.48 !important;
    font-weight: 600 !important;
    margin: 0;
}

.hfc-school-area__info-head {
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;
    margin-top: clamp(64px, 9vw, 110px);
    margin-bottom: 28px;
}

.hfc-school-area__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--hfc-school-navy);
    color: #ffffff !important;
    font-size: clamp(0.88rem, 1vw, 1rem) !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 12px 22px rgba(5, 0, 107, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hfc-school-area__button:hover,
.hfc-school-area__button:focus {
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 26px rgba(5, 0, 107, 0.2);
}

.hfc-school-area__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hfc-school-area__card {
    min-height: 350px;
    padding: 30px 28px;
    border-radius: var(--hfc-school-radius);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 34px rgba(5, 0, 107, 0.07);
}

.hfc-school-area__bullets {
    margin: 0;
    padding-left: 22px;
}

.hfc-school-area__bullets li {
    color: var(--hfc-school-text);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem) !important;
    line-height: 1.42 !important;
    font-weight: 500 !important;
    margin-bottom: 6px;
}

.hfc-school-area__story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
    gap: clamp(26px, 4vw, 64px);
    align-items: center;
    margin-top: clamp(58px, 8vw, 92px);
    padding: clamp(30px, 4vw, 48px);
    border-radius: var(--hfc-school-radius-lg);
    color: #ffffff;
    background:
        radial-gradient(circle at 88% 18%, rgba(169, 237, 0, 0.18), transparent 28%),
        radial-gradient(circle at 58% 0%, rgba(255, 255, 255, 0.16), transparent 30%),
        var(--hfc-school-navy);
    box-shadow: 0 24px 48px rgba(5, 0, 107, 0.12);
}

.hfc-school-area__story h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.45rem) !important;
    max-width: 660px;
}

.hfc-school-area__story-copy p {
    max-width: 690px;
    color: rgba(255, 255, 255, 0.86);
    margin-top: 22px;
}

.hfc-school-area__story-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.hfc-school-area__story-card {
    min-height: 300px;
    padding: 28px;
    border: 2px solid rgba(255, 255, 255, 0.64);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.38);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hfc-school-area__story-card h3,
.hfc-school-area__story-card p {
    color: #ffffff;
}

.hfc-school-area__story-card h3 {
    font-size: clamp(1.15rem, 1.5vw, 1.45rem) !important;
    margin-bottom: 24px;
}

.hfc-school-area__story-card p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.58 !important;
}

@media (max-width: 1024px) {
    .hfc-school-area__profile,
    .hfc-school-area__story {
        grid-template-columns: 1fr;
    }

    .hfc-school-area__visual,
    .hfc-school-area__visual > img {
        min-height: 420px;
    }

    .hfc-school-area__cards {
        grid-template-columns: 1fr;
    }

    .hfc-school-area__card {
        min-height: auto;
    }

    .hfc-school-area__story {
        gap: 28px;
    }

    .hfc-school-area__story-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hfc-school-area {
        padding: 26px 16px;
    }

    .hfc-school-area__details {
        grid-template-columns: 1fr;
    }

    .hfc-school-area__info-head {
        display: block;
        margin-top: 52px;
    }

    .hfc-school-area__button {
        width: 100%;
        margin-top: 18px;
    }

    .hfc-school-area__visual,
    .hfc-school-area__visual > img {
        min-height: 360px;
    }

    .hfc-school-area__image-card {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 18px;
    }

    .hfc-school-area__logo-badge {
        bottom: 18px;
        width: 118px;
        height: 118px;
        padding: 14px;
    }

    .hfc-school-area__story {
        padding: 28px 18px;
        border-radius: 24px;
    }

    .hfc-school-area__story-cards {
        grid-template-columns: 1fr;
    }

    .hfc-school-area__story-card {
        min-height: auto;
    }
}
