/* ── Organic Flow & Journey Styling ──────────────────── */
.journey-bridge-container {
    background: linear-gradient(180deg, rgba(250, 247, 242, 0.7) 0%, rgba(244, 237, 226, 0.8) 100%);
    border: 1px solid rgba(65, 107, 73, 0.12);
    border-radius: var(--r-xl, 24px);
    padding: 2rem;
    margin-bottom: 2.5rem;
}

/* ── Page Wrapper ───────────────────────────────────── */
.page {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Hero Section ───────────────────────────────────── */
.hero {
    padding: 7rem 2rem 7rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(143,177,147,.35) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 80%, rgba(232,168,56,.18) 0%, transparent 50%),
        linear-gradient(160deg, var(--sage-dark) 0%, var(--sage) 100%);
    color: #fff;
    text-align: left;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-left {
    position: relative;
}

.hero-right {
    position: relative;
}

.hero-teacher {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    padding: 1rem 1.2rem;
    border-radius: var(--r-md);
    font-size: .88rem;
    color: rgba(255,255,255,.9);
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

/* ── Generic Sections ───────────────────────────────── */
section {
    padding: var(--space-xxl) 0;
}

.sec-h2 {
    font-family: 'Fraunces', serif;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.sec-p {
    text-align: center;
    color: var(--ink-muted);
    max-width: 600px;
    margin: 0 auto 3.5rem;
    font-size: 1.05rem;
}

/* ── Grid Systems ───────────────────────────────────── */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.lang-grid-soon { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 2rem; }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── Footer ─────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    padding: 5rem 0 3rem;
}

.footer-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 3rem;
    padding: 0 1.5rem;
}

.footer-brand .fb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.2rem;
}

.footer-brand .fb-logo img { height: 38px; }
.footer-brand .fb-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.2rem; }
.footer-brand p { font-size: .9rem; color: var(--ink-muted); line-height: 1.7; max-width: 240px; }

.footer-links-col h3 { font-family: 'Fraunces', serif; font-size: 1rem; margin-bottom: 1.2rem; }
.footer-links-col a {
    display: inline-flex;
    align-items: center;
    font-size: .9rem;
    color: var(--ink-muted);
    font-weight: 500;
    transition: color .2s;
    min-height: 32px;
    padding: 4px 0;
}

@media (max-width: 768px) {
    .footer-links-col a {
        min-height: 44px;
        padding: 6px 0;
    }
}
.footer-links-col a:hover { color: var(--ink); }

.footer-bottom {
    text-align: center;
    font-size: .75rem;
    color: var(--ink-faint);
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* ── Specialized Grids ─────────────────────────────── */
.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* ── Page Sections ─────────────────────────────────── */
.cta-section {
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-xl);
    padding: 4.5rem 2rem;
    text-align: center;
}

/* ── Responsive Adjustments ─────────────────────────── */
@media (max-width: 940px) {
    .courses-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; padding-top: 4rem; text-align: center; }
    .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
    .lang-grid { grid-template-columns: repeat(3, 1fr); }
    .tools-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
@media (max-width: 660px) {
    .courses-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .lang-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; }
}
