/* ─────────────────────────────────────────────────────────────
   Language Course template — Standard Language Centre
   Self-contained styles for page-language-course.php
   ───────────────────────────────────────────────────────────── */

.lc-course {
    --lc-ink: #0F3D44;
    --lc-ink-soft: #4C6B70;
    --lc-teal: #008080;
    --lc-teal-deep: #006666;
    --lc-teal-mid: #3F8F94;
    --lc-teal-tint: #EAF6F6;
    --lc-accent: #ff6b35;
    --lc-white: #ffffff;
    --lc-border: rgba(15, 61, 68, .12);
    --lc-shadow: 0 24px 50px -28px rgba(15, 61, 68, .28);
    font-family: 'Inter', sans-serif;
    color: var(--lc-ink);
    background: var(--lc-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.lc-course .lc-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

.lc-course a {
    text-decoration: none;
}

/* ---------- reveal-on-scroll ---------- */
.lc-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s ease, transform .8s ease;
}
.lc-reveal.lc-in { opacity: 1; transform: none; }
.lc-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.lc-stagger.lc-in > * { opacity: 1; transform: none; }
.lc-stagger.lc-in > *:nth-child(1) { transition-delay: .05s; }
.lc-stagger.lc-in > *:nth-child(2) { transition-delay: .15s; }
.lc-stagger.lc-in > *:nth-child(3) { transition-delay: .25s; }
.lc-stagger.lc-in > *:nth-child(4) { transition-delay: .35s; }
.lc-stagger.lc-in > *:nth-child(5) { transition-delay: .45s; }
.lc-stagger.lc-in > *:nth-child(6) { transition-delay: .55s; }

/* ---------- hero ---------- */
.lc-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(70px + 4rem) 32px 5rem;
    background:
        radial-gradient(1000px 620px at 50% -12%, rgba(0, 128, 128, .14), transparent 62%),
        linear-gradient(180deg, #ffffff 0%, #F2FAF9 100%);
    overflow: hidden;
}

.lc-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.lc-eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lc-teal-deep);
    margin-bottom: 20px;
}
.lc-eyebrow .lc-dot { color: var(--lc-accent); }

.lc-title {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 1.06;
    letter-spacing: -.015em;
    font-weight: 900;
    color: var(--lc-ink);
    margin: 0 0 22px;
}

.lc-sub {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--lc-ink-soft);
    max-width: 620px;
    margin: 0 auto 36px;
    font-weight: 500;
}

.lc-cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.lc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .02em;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.lc-btn:hover { transform: translateY(-3px); }

.lc-btn-solid {
    background: var(--lc-teal);
    color: var(--lc-white);
    box-shadow: 0 14px 28px -14px rgba(0, 128, 128, .55);
}
.lc-btn-solid:hover { background: var(--lc-teal-deep); }

.lc-btn-ghost {
    background: var(--lc-white);
    color: var(--lc-teal-deep);
    border: 2px solid var(--lc-border);
}
.lc-btn-ghost:hover { border-color: var(--lc-teal); }

.lc-scroll-cue {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 46px;
    color: var(--lc-teal-deep);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.lc-cue-stem {
    width: 1px;
    height: 34px;
    background: var(--lc-teal);
    position: relative;
    overflow: hidden;
}
.lc-cue-stem::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--lc-accent);
    animation: lc-drip 1.8s ease-in-out infinite;
}
@keyframes lc-drip {
    0% { top: -100%; }
    60% { top: 100%; }
    100% { top: 100%; }
}

/* ---------- in-page anchor nav ---------- */
.lc-inpage {
    position: sticky;
    top: 70px;
    z-index: 40;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lc-border);
}
.lc-inpage-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 32px;
    scrollbar-width: none;
}
.lc-inpage-inner::-webkit-scrollbar { display: none; }
.lc-inpage-inner a {
    flex-shrink: 0;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 600;
    color: var(--lc-ink-soft);
    border: 1px solid transparent;
    transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.lc-inpage-inner a:hover {
    color: var(--lc-teal-deep);
    background: var(--lc-teal-tint);
    border-color: rgba(0, 128, 128, .25);
}

/* ---------- shared sections ---------- */
.lc-section { padding: 110px 0; }
.lc-tint { background: var(--lc-teal-tint); }

.lc-sec-head {
    max-width: 660px;
    margin-bottom: 52px;
}
.lc-sec-head .lc-eyebrow { margin-bottom: 12px; }
.lc-sec-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -.01em;
    font-weight: 800;
    color: var(--lc-ink);
    margin: 0 0 14px;
}
.lc-sec-head p {
    color: var(--lc-ink-soft);
    font-size: 1.05rem;
    font-weight: 500;
}

/* ---------- why cards ---------- */
.lc-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 940px) { .lc-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .lc-why-grid { grid-template-columns: 1fr; } }

.lc-why-card {
    background: var(--lc-white);
    border: 1px solid var(--lc-border);
    border-radius: 20px;
    padding: 32px 24px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.lc-why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lc-shadow);
    border-color: rgba(0, 128, 128, .4);
}
.lc-why-num {
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .06em;
    color: var(--lc-accent);
    margin-bottom: 16px;
}
.lc-why-card h3 {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--lc-ink);
    margin: 0 0 8px;
}
.lc-why-card p {
    color: var(--lc-ink-soft);
    font-size: .92rem;
    margin: 0;
}

/* ---------- level journey (interactive CEFR-style track) ---------- */
.lc-journey {
    margin-top: 24px;
    background: var(--lc-white);
    border: 1px solid var(--lc-border);
    border-radius: 24px;
    padding: 46px 38px 38px;
    box-shadow: var(--lc-shadow);
}
.lc-journey-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
}
.lc-journey-rail {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 50%;
    height: 4px;
    background: rgba(15, 61, 68, .12);
    border-radius: 99px;
    transform: translateY(-50%);
}
.lc-journey-fill {
    position: absolute;
    left: 4%;
    top: 50%;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--lc-teal), var(--lc-teal-deep));
    border-radius: 99px;
    transform: translateY(-50%);
    transition: width .5s cubic-bezier(.25, .46, .45, .94);
}
.lc-journey-dot {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--lc-white);
    border: 3px solid rgba(15, 61, 68, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--lc-ink-soft);
    cursor: pointer;
    flex-shrink: 0;
    font-family: inherit;
    outline: none;
    transition: all .35s cubic-bezier(.25, .46, .45, .94);
}
.lc-journey-dot:hover {
    border-color: var(--lc-teal);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px -14px rgba(0, 128, 128, .5);
}
.lc-journey-dot:focus-visible {
    outline: 3px solid var(--lc-accent);
    outline-offset: 3px;
}
.lc-journey-dot.active {
    width: 84px;
    height: 84px;
    background: var(--lc-teal);
    border-color: var(--lc-teal);
    color: var(--lc-white);
    box-shadow: 0 16px 40px -16px rgba(0, 128, 128, .6);
}
.lc-journey-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    margin: 28px 0 0;
    color: #8DA3A5;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.lc-journey-detail {
    margin-top: 32px;
    position: relative;
    background: var(--lc-teal-tint);
    border: 1px solid rgba(0, 128, 128, .16);
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s ease, transform .4s ease;
}
.lc-journey-detail.visible {
    opacity: 1;
    transform: none;
}
.lc-journey-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--lc-accent);
}
.lc-journey-detail-inner {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 26px 30px 26px 34px;
}
.lc-journey-badge {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--lc-teal);
    color: var(--lc-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 10px 22px -14px rgba(0, 128, 128, .6);
}
.lc-journey-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--lc-ink);
    margin: 0 0 8px;
}
.lc-journey-body p {
    font-size: .95rem;
    line-height: 1.65;
    color: var(--lc-ink-soft);
    margin: 0 0 14px;
}
.lc-journey-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lc-journey-tags span {
    background: rgba(0, 128, 128, .1);
    color: var(--lc-teal-deep);
    font-size: .76rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
}
@media (max-width: 700px) {
    .lc-journey { padding: 28px 18px 22px; }
    .lc-journey-dot { width: 44px; height: 44px; font-size: .78rem; }
    .lc-journey-dot.active { width: 58px; height: 58px; }
    .lc-journey-detail-inner { flex-direction: column; gap: 14px; padding: 20px 18px 20px 22px; }
    .lc-journey-badge { width: 46px; height: 46px; font-size: 1rem; }
    .lc-journey-groups { font-size: .58rem; letter-spacing: .12em; }
}

/* ---------- skills ---------- */
.lc-skills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 940px) { .lc-skills { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lc-skills { grid-template-columns: 1fr; } }

.lc-skill {
    background: linear-gradient(160deg, #ffffff 0%, #F3FAF9 100%);
    border: 1px solid var(--lc-border);
    border-radius: 20px;
    padding: 32px 26px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.lc-skill:hover {
    transform: translateY(-5px);
    box-shadow: var(--lc-shadow);
    border-color: rgba(0, 128, 128, .35);
}
.lc-glyph {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--lc-teal);
    line-height: 1;
    margin-bottom: 16px;
}
.lc-skill h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lc-ink);
    margin: 0 0 8px;
}
.lc-skill p {
    color: var(--lc-ink-soft);
    font-size: .9rem;
    margin: 0;
}

/* ---------- CTA banner ---------- */
.lc-cta {
    background: var(--lc-teal);
    color: var(--lc-white);
    padding: 84px 0;
    text-align: center;
}
.lc-cta h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 800;
    margin: 0 0 12px;
}
.lc-cta p {
    color: rgba(255, 255, 255, .85);
    font-size: 1.05rem;
    margin: 0 auto 30px;
    max-width: 560px;
}
.lc-btn-light {
    background: var(--lc-white);
    color: var(--lc-teal-deep);
    box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .35);
}
.lc-btn-light:hover { background: #eefafa; }
.lc-btn-outline-light {
    background: transparent;
    color: var(--lc-white);
    border: 2px solid rgba(255, 255, 255, .55);
}
.lc-btn-outline-light:hover { border-color: var(--lc-white); background: rgba(255, 255, 255, .08); }

/* ---------- responsive spacing ---------- */
@media (max-width: 720px) {
    .lc-section { padding: 76px 0; }
    .lc-hero { padding-top: calc(70px + 3rem); min-height: 88vh; }
    .lc-course .lc-wrap { padding: 0 20px; }
    .lc-inpage-inner { padding: 10px 20px; }
}
