:root {
    --bg: #f7fff8;
    --surface: #ffffff;
    --surface-muted: #ecffef;
    --surface-dark: #083d10;
    --text: #0b3510;
    --muted: #4d7152;
    --line: rgba(14, 205, 40, 0.16);
    --brand: #0ECD28;
    --brand-dark: #0aa61f;
    --brand-soft: #dffbe4;
    --gold: #c9a25d;
    --shadow: 0 22px 60px rgba(8, 61, 16, 0.12);
    --radius: 28px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(14, 205, 40, 0.12), transparent 32%),
        linear-gradient(180deg, #fcfffd 0%, var(--bg) 52%, #f8fcfa 100%);
    color: var(--text);
    padding-top: 96px;
}

body.is-loading {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(180deg, #f8fff9, #eefbf0);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.site-loader__spinner {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 4px solid rgba(14, 205, 40, 0.15);
    border-top-color: var(--brand);
    animation: spin 0.8s linear infinite;
}

.site-shell {
    overflow-x: hidden;
}

.container {
    position: relative;
    z-index: 2;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 20;
    backdrop-filter: blur(20px);
    background: rgba(246, 251, 248, 0.84);
    border-bottom: 1px solid rgba(14, 205, 40, 0.1);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.site-header.is-compact {
    background: rgba(248, 252, 250, 0.96);
    box-shadow: 0 16px 40px rgba(20, 55, 45, 0.08);
}

.site-header.is-compact .navbar {
    padding: 0.65rem 0;
}

.site-header.is-compact .navbar-brand {
    gap: 0.65rem;
    transform: translateY(-1px);
}

.site-header.is-compact .navbar-brand small {
    font-size: 0.72rem;
}

.site-header.is-compact .site-logo--header {
    height: 52px;
}

.site-header.is-compact .brand-mark {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 0.85rem;
    box-shadow: 0 12px 24px rgba(15, 138, 107, 0.18);
}

.site-header.is-compact .btn.btn-brand {
    padding: 0.78rem 1.2rem;
}

.site-header.is-compact .nav-link {
    color: #335a52;
}

.navbar {
    padding: 1rem 0;
    transition: padding 0.2s ease;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: "Space Grotesk", sans-serif;
    transition: gap 0.2s ease, transform 0.2s ease;
}

.navbar-brand strong,
.navbar-brand small {
    display: block;
}

.navbar-brand small {
    font-size: 0.78rem;
    color: var(--muted);
    transition: font-size 0.2s ease;
}

.site-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.site-logo--header {
    height: 58px;
}

.site-logo--footer {
    height: 76px;
}

.brand-mark {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand), #20b38f);
    box-shadow: 0 16px 32px rgba(15, 138, 107, 0.22);
    transition: width 0.2s ease, height 0.2s ease, border-radius 0.2s ease, box-shadow 0.2s ease;
}

.nav-link {
    color: var(--muted);
    font-weight: 600;
    margin: 0 0.35rem;
}

.nav-link.active,
.nav-link:hover {
    color: var(--text);
}

.nav-more-menu {
    border: 1px solid rgba(15, 138, 107, 0.08);
    border-radius: 18px;
    padding: 0.55rem;
    box-shadow: var(--shadow);
}

.nav-more-menu .dropdown-item {
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    font-weight: 600;
}

.nav-more-menu .dropdown-item:hover {
    background: var(--surface-muted);
    color: var(--text);
}

.btn {
    border-radius: 999px;
    padding: 0.9rem 1.45rem;
    font-weight: 700;
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand), #17a881);
    color: #fff;
    border: none;
    box-shadow: 0 16px 32px rgba(15, 138, 107, 0.2);
}

.btn-brand:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.btn-soft {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
}

.btn-soft:hover {
    border-color: rgba(15, 138, 107, 0.22);
    background: var(--surface-muted);
}

.hero-section,
.page-intro {
    padding: 4.5rem 0 2rem;
}

.hero-title,
.page-intro h1,
.section-head h2,
.story-block h2,
.course-card h2,
.article-box h1 {
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.hero-title {
    font-size: clamp(2.9rem, 5vw, 5.2rem);
    max-width: 12ch;
}

.hero-text,
.page-intro p,
.section-head p,
.story-block p,
.info-card p,
.course-card p,
.metric-card p,
.teacher-card p,
.quote-card p,
.post-card p,
.article-content {
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.8;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: 800;
    margin-bottom: 1rem;
}

.eyebrow::before {
    content: "";
    width: 2.1rem;
    height: 1px;
    background: rgba(15, 138, 107, 0.4);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.hero-visual {
    position: relative;
    min-height: 320px;
    margin-bottom: 1.5rem;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    animation: floatY 5s ease-in-out infinite;
}

.orb-one {
    width: 86px;
    height: 86px;
    top: 18px;
    left: 8%;
    background: rgba(15, 138, 107, 0.16);
}

.orb-two {
    width: 54px;
    height: 54px;
    right: 10%;
    top: 32px;
    background: rgba(201, 162, 93, 0.22);
    animation-delay: 0.8s;
}

.orb-three {
    width: 120px;
    height: 120px;
    right: 4%;
    bottom: 8px;
    background: rgba(32, 179, 143, 0.14);
    animation-delay: 1.3s;
}

.hero-screen {
    position: relative;
    padding: 1rem;
    margin: 2rem auto 0;
    width: min(100%, 430px);
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(229,244,238,0.9));
    border: 1px solid rgba(15, 138, 107, 0.1);
    box-shadow: var(--shadow);
    transform: rotate(-5deg);
}

.hero-screen__top {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.hero-screen__top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(15, 138, 107, 0.24);
}

.hero-screen__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hero-screen--image {
    padding-bottom: 1.15rem;
}

.hero-screen__image-wrap {
    overflow: hidden;
    border-radius: 24px;
    height: 300px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 138, 107, 0.08);
}

.hero-screen__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-screen__image-wrap--placeholder {
    display: grid;
    place-items: center;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
}

.hero-screen__image-wrap--placeholder strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
}

.hero-badge-card,
.hero-line-card,
.hero-dot-card {
    border-radius: 24px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 138, 107, 0.08);
    min-height: 118px;
}

.hero-badge-card {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.hero-badge-card.active {
    background: linear-gradient(135deg, var(--brand), #20b38f);
    color: white;
}

.hero-badge-card span {
    font-size: 0.92rem;
    opacity: 0.84;
}

.hero-line-card,
.hero-dot-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.hero-line-card div {
    width: 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--brand-soft), var(--brand));
    animation: pulseBar 1.6s ease-in-out infinite;
}

.hero-line-card div:nth-child(1) {
    height: 42px;
}

.hero-line-card div:nth-child(2) {
    height: 72px;
    animation-delay: 0.2s;
}

.hero-line-card div:nth-child(3) {
    height: 54px;
    animation-delay: 0.4s;
}

.hero-dot-card span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand-soft);
    animation: pulseDot 1.8s ease-in-out infinite;
}

.hero-dot-card span:nth-child(2) {
    animation-delay: 0.15s;
}

.hero-dot-card span:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-dot-card span:nth-child(4) {
    animation-delay: 0.45s;
}

.hero-stats,
.partner-cloud,
.teacher-tags,
.meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.stats-carousel {
    position: relative;
    min-height: 194px;
    max-width: 28rem;
}

.stats-carousel__track {
    position: relative;
}

.stat-slide {
    position: absolute;
    inset: 0;
    padding: 1.35rem;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(228, 245, 239, 0.96));
    border: 1px solid rgba(15, 138, 107, 0.1);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(18px) scale(0.97);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.stat-slide.is-active {
    position: relative;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.stat-slide--gold {
    background: linear-gradient(145deg, rgba(255, 251, 241, 0.98), rgba(249, 236, 209, 0.95));
}

.stat-slide--teal,
.stat-slide--mint {
    background: linear-gradient(145deg, rgba(243, 255, 252, 0.98), rgba(214, 246, 237, 0.96));
}

.stat-slide__value {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.8rem, 4vw, 4rem);
    line-height: 1;
    margin-bottom: 0.85rem;
}

.stat-slide h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.55rem;
}

.stat-slide p {
    margin: 0;
    color: var(--muted);
}

.stats-carousel__dots {
    display: flex;
    gap: 0.65rem;
    margin-top: 1rem;
}

.stats-carousel__dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(15, 138, 107, 0.18);
    transition: width 0.2s ease, background 0.2s ease;
}

.stats-carousel__dot.is-active {
    width: 34px;
    background: var(--brand);
}

.stat-chip,
.partner-cloud span,
.teacher-tags span,
.course-card__label,
.price-badge {
    border-radius: 999px;
    padding: 0.78rem 1rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(15, 138, 107, 0.1);
}

.stat-chip strong,
.metric-card strong,
.course-card h3,
.post-card h3,
.post-card h2,
.teacher-card h3,
.mentor-card h3,
.info-card h3,
.quote-card strong,
.article-sidebar h3 {
    display: block;
    font-family: "Space Grotesk", sans-serif;
}

.stat-chip span,
.teacher-tags span,
.meta-list li,
.article-meta {
    color: var(--muted);
    font-size: 0.93rem;
}

.hero-panel,
.page-intro__box,
.info-card,
.course-card,
.metric-card,
.mentor-card,
.teacher-card,
.quote-card,
.post-card,
.story-block,
.article-content,
.article-sidebar,
.custom-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 138, 107, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-panel,
.page-intro__box,
.story-block,
.article-content,
.article-sidebar {
    padding: 2rem;
}

.hero-panel {
    position: relative;
}

.hero-panel::after,
.page-intro__box::after {
    content: "";
    position: absolute;
    inset: auto -10% -28% auto;
    width: 13rem;
    height: 13rem;
    background: radial-gradient(circle, rgba(15, 138, 107, 0.14), transparent 68%);
    pointer-events: none;
}

.hero-panel__badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    color: var(--brand-dark);
    background: var(--brand-soft);
    font-weight: 800;
}

.admission-type-switch {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.admission-type-switch__item {
    padding: 0.82rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 138, 107, 0.14);
    background: #f8fcfa;
    font-weight: 700;
    color: var(--muted);
    transition: 0.25s ease;
}

.admission-type-switch__item:hover,
.admission-type-switch__item.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #17a881);
    border-color: transparent;
}

.admission-form input,
.admission-form select,
.admission-form textarea {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(15, 138, 107, 0.14);
    background: #f8fcfa;
    padding: 0.95rem 1rem;
    color: var(--text);
    outline: none;
    transition: 0.25s ease;
}

.admission-form input:focus,
.admission-form select:focus,
.admission-form textarea:focus {
    border-color: rgba(15, 138, 107, 0.38);
    box-shadow: 0 0 0 0.25rem rgba(15, 138, 107, 0.08);
}

.form-label {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.field-error {
    color: #b54747;
    margin-top: 0.4rem;
    font-size: 0.9rem;
}

.flash-wrapper {
    padding-top: 1rem;
}

.flash-alert {
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow);
}

.section-space {
    padding: 2rem 0 4.5rem;
}

.section-tint {
    background: linear-gradient(180deg, rgba(221, 243, 235, 0.22), rgba(221, 243, 235, 0));
}

.section-dark {
    background: linear-gradient(180deg, #103630, #0c2622);
    color: #f2fcf8;
}

.section-dark .quote-card,
.section-dark .section-head.light h2,
.section-dark .section-head.light .eyebrow,
.section-dark .quote-card p,
.section-dark .quote-card span,
.section-dark .quote-card strong {
    color: inherit;
}

.section-dark .quote-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.section-head {
    max-width: 42rem;
    margin-bottom: 2rem;
}

.section-head h2,
.page-intro h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.page-intro__box {
    position: relative;
}

.info-card,
.metric-card,
.course-card,
.teacher-card,
.post-card,
.quote-card {
    padding: 1.7rem;
    height: 100%;
}

.info-card,
.course-card,
.metric-card,
.post-card {
    display: flex;
    flex-direction: column;
}

.info-card__media {
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 1rem;
    border-radius: 1.4rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 138, 107, 0.12), rgba(255, 255, 255, 0.8));
    display: grid;
    place-items: center;
}

.info-card__media img,
.course-card__thumb img,
.mentor-card__avatar img,
.post-card__image img,
.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card__icon {
    color: var(--brand-dark);
    font-size: 1.6rem;
}

.metric-card strong {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: var(--brand-dark);
}

.metric-card.compact strong {
    font-size: 1.8rem;
}

.metric-card.tall {
    min-height: 290px;
}

.course-card__label,
.price-badge {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-dark);
}

.course-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.course-slider {
    overflow: hidden;
    margin: -1.25rem;
    padding: 1.25rem;
}

.course-slider__track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.course-slider__track::-webkit-scrollbar {
    display: none;
}

.course-showcase {
    position: relative;
    padding: 1rem;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(15, 138, 107, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(237, 247, 242, 0.72));
    border: 1px solid rgba(15, 138, 107, 0.08);
}

.course-slide {
    flex: 0 0 calc(33.333% - 0.85rem);
    min-width: 280px;
    scroll-snap-align: start;
}

.course-slide--empty {
    flex-basis: 100%;
}

.course-slider__controls {
    display: flex;
    gap: 0.75rem;
}

.course-slider__button {
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(15, 138, 107, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    transition: 0.25s ease;
}

.course-slider__button:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.course-slider__button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.8);
    color: var(--muted);
}

.course-card__thumb {
    width: 68px;
    height: 68px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(15, 138, 107, 0.1);
    box-shadow: 0 14px 26px rgba(15, 138, 107, 0.12);
}

.mini-illustration {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 6px;
    padding: 14px;
    background: linear-gradient(180deg, rgba(15, 138, 107, 0.12), rgba(15, 138, 107, 0.04));
}

.mini-illustration span {
    width: 8px;
    border-radius: 999px;
    background: var(--brand);
    animation: pulseBar 1.6s ease-in-out infinite;
}

.mini-illustration span:nth-child(1) {
    height: 22px;
}

.mini-illustration span:nth-child(2) {
    height: 34px;
    animation-delay: 0.2s;
}

.mini-illustration span:nth-child(3) {
    height: 16px;
    animation-delay: 0.4s;
}

.mini-illustration--gold {
    background: linear-gradient(180deg, rgba(201, 162, 93, 0.18), rgba(201, 162, 93, 0.06));
}

.mini-illustration--gold span {
    background: var(--gold);
}

.meta-list,
.meta-grid {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}

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

.meta-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.meta-grid strong {
    font-size: 1rem;
}

.meta-list li {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: var(--surface-muted);
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
}

.about-visual-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.about-visual-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    border-radius: var(--radius);
    border: 1px solid rgba(14, 205, 40, 0.12);
    box-shadow: var(--shadow);
}

.about-visual-card--large {
    grid-row: span 2;
    min-height: 400px;
}

.about-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-visual-card span {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 18px;
    background: rgba(11, 53, 16, 0.6);
    color: #fff;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.mentor-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem;
    height: 100%;
}

.mentor-card__avatar {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 1.2rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--brand-soft), #ffffff);
    color: var(--brand-dark);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    overflow: hidden;
}

.mentor-card__avatar.large {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
}

.mentor-role,
.contact-label,
.post-date {
    color: var(--brand-dark);
    font-size: 0.92rem;
    font-weight: 800;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.4fr);
    gap: 1.5rem;
    align-items: stretch;
}

.contact-layout__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-stack {
    display: grid;
    gap: 1rem;
}

.contact-card {
    overflow: hidden;
    overflow-wrap: anywhere;
}

.contact-card h3,
.contact-card p,
.contact-card a {
    margin: 0;
    word-break: break-word;
}

.contact-card h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    line-height: 1.35;
}

.contact-card p {
    margin-top: 0.85rem;
}

.contact-card--address {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(15, 138, 107, 0.1), rgba(255, 255, 255, 0.92));
}

.contact-card a {
    text-decoration: none;
}

.contact-map-card {
    overflow: hidden;
    height: 100%;
    border-radius: var(--radius);
    border: 1px solid rgba(15, 138, 107, 0.08);
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.86);
}

.contact-map-card iframe,
.contact-map-card__placeholder {
    width: 100%;
    min-height: 560px;
    border: 0;
    display: block;
}

.contact-map-card__placeholder {
    display: grid;
    place-items: center;
    padding: 2rem;
    color: var(--muted);
    text-align: center;
}

.teacher-card__top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quote-card p {
    font-size: 1.06rem;
    margin-bottom: 1.2rem;
}

.post-card__image,
.article-cover {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    margin-bottom: 1rem;
}

.post-card__image {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(15, 138, 107, 0.16), rgba(255, 255, 255, 0.72));
}

.post-card__image img {
    transition: transform 0.35s ease;
}

.post-card:hover .post-card__image img {
    transform: scale(1.04);
}

.article-cover {
    margin-top: 1.5rem;
    aspect-ratio: 16 / 8;
    box-shadow: var(--shadow);
}

.text-link {
    color: var(--brand-dark);
    font-weight: 800;
}

.post-card h3 a,
.text-link {
    transition: color 0.2s ease;
}

.post-card h3 a:hover,
.text-link:hover {
    color: var(--brand);
}

.timeline-list,
.process-list {
    display: grid;
    gap: 1rem;
}

.timeline-item,
.process-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.2rem 0;
    border-top: 1px solid var(--line);
}

.timeline-item span,
.process-item span {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.2rem;
    color: var(--brand-dark);
}

.sticky-card {
    position: sticky;
    top: 110px;
}

.secondary {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(237, 247, 242, 0.92));
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
    gap: 2rem;
}

.side-post {
    display: block;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.site-footer {
    padding: 2rem 0 3rem;
    background: #eff8f4;
    border-top: 1px solid rgba(15, 138, 107, 0.08);
}

.site-footer h6 {
    font-family: "Space Grotesk", sans-serif;
    margin-bottom: 1rem;
}

.site-footer a,
.site-footer p {
    display: block;
    color: var(--muted);
    margin-bottom: 0.7rem;
}

.footer-contact-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.7rem;
}

.footer-contact-link i,
.footer-social-link i {
    font-size: 1rem;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.85rem 0 1rem;
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-grid !important;
    place-items: center;
    border-radius: 999px;
    color: var(--text) !important;
    background: rgba(15, 138, 107, 0.08);
    margin-bottom: 0;
    transition: 0.25s ease;
}

.footer-social-link:hover {
    background: rgba(15, 138, 107, 0.16);
    transform: translateY(-1px);
}

.footer-copy {
    max-width: 24rem;
}

.empty-state {
    padding: 1.4rem 1.6rem;
    border-radius: 22px;
    background: var(--surface);
    border: 1px dashed rgba(15, 138, 107, 0.24);
    color: var(--muted);
}

.custom-accordion .accordion-item {
    overflow: hidden;
    margin-bottom: 1rem;
}

.custom-accordion .accordion-button {
    background: transparent;
    font-weight: 700;
    box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--text);
    background: rgba(15, 138, 107, 0.04);
}

@media (max-width: 991.98px) {
    .highlight-grid,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .sticky-card {
        position: static;
    }

    .hero-title {
        max-width: 100%;
    }

    .hero-visual {
        min-height: 280px;
    }

    .course-slide {
        flex-basis: calc(50% - 0.7rem);
    }

    .about-visual-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-visual-card--large {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 280px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-map-card iframe,
    .contact-map-card__placeholder {
        min-height: 440px;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 88px;
    }

    .hero-section,
    .page-intro {
        padding-top: 2rem;
    }

    .section-space {
        padding-bottom: 3.2rem;
    }

    .timeline-item,
    .process-item {
        grid-template-columns: 1fr;
    }

    .hero-panel,
    .page-intro__box,
    .story-block,
    .article-content,
    .article-sidebar {
        padding: 1.35rem;
    }

    .hero-screen {
        transform: none;
    }

    .hero-screen__image-wrap {
        height: 260px;
    }

    .hero-screen__grid {
        grid-template-columns: 1fr 1fr;
    }

    .course-slide {
        flex-basis: 86%;
    }

    .course-slider__controls {
        display: none;
    }

    .about-visual-grid {
        grid-template-columns: 1fr;
    }

    .about-visual-card,
    .about-visual-card--large {
        min-height: 220px;
    }

    .contact-map-card iframe,
    .contact-map-card__placeholder {
        min-height: 300px;
    }

    .course-showcase {
        padding: 0.75rem;
        border-radius: 24px;
    }

    .course-slider {
        margin: -0.75rem;
        padding: 0.75rem;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulseBar {
    0%, 100% {
        transform: scaleY(0.85);
        opacity: 0.78;
    }
    50% {
        transform: scaleY(1.08);
        opacity: 1;
    }
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(0.82);
        opacity: 0.5;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}
