/* ==========================================================================
   TeachMore — Design System
   Palette: Ink Blue (logo) + Warm Cream (#f6f4f1)
   Type: Fraunces (serif display) + Inter (sans body)
   ========================================================================== */

:root {
    /* Brand — Ink Blue */
    --ink: #1c3a5e;
    --ink-dark: #142c48;
    --ink-deep: #0d1f33;
    --ink-mid: #2c5580;
    --ink-soft: rgba(28, 58, 94, 0.08);
    --ink-line: rgba(28, 58, 94, 0.14);

    /* Accent — Muted Brass (used sparingly for a mature feel) */
    --accent: #c1962f;
    --accent-dark: #a67e22;

    /* Neutrals */
    --cream: #f6f4f1;
    --cream-2: #efece7;
    --white: #ffffff;
    --text: #21303f;
    --text-muted: #5d6c7b;
    --border: #e6e1d9;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Shadow */
    --shadow-sm: 0 1px 2px rgba(13, 31, 51, 0.06);
    --shadow-md: 0 10px 30px -12px rgba(13, 31, 51, 0.18);
    --shadow-lg: 0 30px 60px -20px rgba(13, 31, 51, 0.28);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 76px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Fraunces', 'Times New Roman', serif;
    color: var(--ink-deep);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.4rem; }

a { color: inherit; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: '';
    width: 26px;
    height: 1.5px;
    background: var(--accent);
}

.section-head {
    max-width: 640px;
    margin: 0 auto 3.5rem;
    text-align: center;
}
.section-head .eyebrow { justify-content: center; }
.section-head p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ============================ Buttons ============================ */
.btn {
    padding: 0.95rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    border: 1.5px solid transparent;
    font-family: 'Inter', sans-serif;
}
.btn-primary {
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 12px 24px -12px rgba(28, 58, 94, 0.6);
}
.btn-primary:hover {
    background: var(--ink-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 30px -12px rgba(28, 58, 94, 0.65);
}
.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink-line);
}
.btn-secondary:hover {
    border-color: var(--ink);
    background: var(--ink-soft);
    transform: translateY(-2px);
}
.btn-accent {
    background: var(--accent);
    color: #2a2007;
    box-shadow: 0 12px 24px -12px rgba(193, 150, 47, 0.7);
}
.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================ Navbar ============================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(246, 244, 241, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(246, 244, 241, 0.95);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
    height: var(--header-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo img {
    height: 42px;
    width: auto;
    display: block;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    align-items: center;
}
.nav-menu > li > a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    padding: 0.3rem 0;
}
.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ink);
    transition: var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--ink);
}
.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    width: 100%;
}
.nav-menu .nav-cta {
    padding: 0.6rem 1.4rem;
    background: var(--ink);
    color: var(--white);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.nav-menu .nav-cta:hover {
    background: var(--ink-dark);
    transform: translateY(-1px);
}
.nav-menu .nav-cta::after { display: none; }

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink-deep);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================ Hero ============================ */
.hero {
    padding: calc(var(--header-h) + 90px) 0 110px;
    background:
        radial-gradient(1000px 500px at 85% -10%, rgba(28, 58, 94, 0.08), transparent 60%),
        var(--cream);
    position: relative;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.5rem;
    align-items: center;
}
.hero-title { margin-bottom: 1.4rem; }
.hero-title .u {
    position: relative;
    color: var(--ink);
    white-space: nowrap;
}
.hero-title .u::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.08em;
    width: 100%;
    height: 0.28em;
    background: rgba(193, 150, 47, 0.28);
    z-index: -1;
    border-radius: 2px;
}
.hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-muted);
    margin-bottom: 2.4rem;
    max-width: 540px;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-trust {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.hero-trust .num {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--ink);
    display: block;
    line-height: 1;
}
.hero-trust .lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Hero visual — layered cards */
.hero-visual { position: relative; min-height: 420px; }
.hero-panel {
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, var(--ink) 0%, var(--ink-deep) 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.hero-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08) 0, transparent 40%),
        radial-gradient(circle at 80% 90%, rgba(193, 150, 47, 0.18) 0, transparent 45%);
}
.hero-panel .quote {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 32px;
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    line-height: 1.4;
}
.hero-panel .quote span {
    display: block;
    margin-top: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}
.floating-card {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}
.floating-card i {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: var(--ink-soft);
    color: var(--ink);
    font-size: 1.1rem;
}
.floating-card b { font-size: 0.92rem; color: var(--ink-deep); font-weight: 600; }
.floating-card small { display: block; color: var(--text-muted); font-size: 0.75rem; }
.fc-1 { top: 6%; left: -6%; animation-delay: 0s; }
.fc-2 { bottom: 10%; right: -8%; animation-delay: 2.5s; }

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

/* ============================ About ============================ */
.about {
    padding: 100px 0;
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about p {
    color: var(--text-muted);
    font-size: 1.08rem;
    margin: 1rem 0;
}
.about-image {
    aspect-ratio: 4 / 3.4;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.12), transparent 40%),
        linear-gradient(150deg, var(--ink-mid), var(--ink-deep));
    box-shadow: var(--shadow-lg);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}
.about-image .ph-badge {
    position: absolute;
    bottom: 20px; left: 20px; right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    text-align: left;
}
.about-image .ph-badge b { font-family: 'Fraunces', serif; font-size: 1.1rem; }
.about-image .ph-badge span { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.about-image > i { font-size: 4.5rem; opacity: 0.85; }

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}
.about-values .v {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}
.about-values .v i { color: var(--accent-dark); margin-top: 4px; }
.about-values .v b { color: var(--ink-deep); }

/* ============================ Services (Matching) ============================ */
.services {
    padding: 100px 0;
    background: var(--cream);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.service-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--ink-line);
}
.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}
.service-item h3 { color: var(--ink-deep); margin-bottom: 0.7rem; }
.service-item p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}
.service-link {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}
.service-link.whatsapp { color: #128c4b; }
.service-link:hover { gap: 0.8rem; }
.service-item .tag {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: rgba(193, 150, 47, 0.12);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

/* ============================ CTA band ============================ */
.cta-band {
    padding: 90px 0;
    background: var(--ink-deep);
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 15% 0%, rgba(193, 150, 47, 0.18), transparent 60%),
        radial-gradient(600px 300px at 90% 100%, rgba(44, 85, 128, 0.5), transparent 60%);
}
.cta-inner {
    position: relative;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.cta-inner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-inner p { color: rgba(255, 255, 255, 0.75); font-size: 1.12rem; margin-bottom: 2.2rem; }

/* ============================ Contact ============================ */
.contact {
    padding: 100px 0;
    background: var(--white);
}
.contact-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 760px;
    margin: 0 auto;
}
.contact-link {
    background: var(--cream);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.contact-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}
.contact-link i { font-size: 1.9rem; }
.contact-link.whatsapp-link i { color: #25d366; }
.contact-link.facebook-link i { color: #1877f2; }
.contact-link h3 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.contact-link p { font-size: 0.9rem; color: var(--text-muted); }

/* ============================ Footer ============================ */
.footer {
    background: var(--ink-deep);
    color: rgba(255, 255, 255, 0.72);
    padding: 72px 0 32px;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand img {
    height: 40px;
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}
.footer-description { font-size: 0.92rem; margin-bottom: 1.5rem; max-width: 300px; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: var(--transition);
}
.social-links a:hover { background: var(--accent); color: var(--ink-deep); transform: translateY(-3px); }
.footer-section h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
    color: var(--white);
}
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 0.8rem; }
.footer-section a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    transition: var(--transition);
}
.footer-section a:hover { color: var(--accent); }
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================ Sub-page hero ============================ */
.page-hero {
    padding: calc(var(--header-h) + 70px) 0 60px;
    background:
        radial-gradient(800px 400px at 90% -20%, rgba(28, 58, 94, 0.09), transparent 60%),
        var(--cream);
    text-align: center;
}
.page-hero p {
    color: var(--text-muted);
    font-size: 1.12rem;
    max-width: 620px;
    margin: 1rem auto 0;
}
.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--ink); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================ Courses listing ============================ */
.courses-list { padding: 70px 0 100px; background: var(--cream); }
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}
.course-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--ink-line);
}
.course-card .thumb {
    aspect-ratio: 16 / 9;
    position: relative;
    background: linear-gradient(150deg, var(--ink-mid), var(--ink-deep));
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
}
.course-card .thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.12), transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(193, 150, 47, 0.22), transparent 45%);
}
.course-card .thumb i { font-size: 3.2rem; position: relative; opacity: 0.9; }
.course-card .thumb .pill {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink-deep);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}
.course-card .body { padding: 1.75rem; display: flex; flex-direction: column; flex-grow: 1; }
.course-card .meta {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}
.course-card .meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.course-card .meta i { color: var(--accent-dark); }
.course-card h3 { color: var(--ink-deep); margin-bottom: 0.6rem; }
.course-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }
.course-card .go {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}
.course-card:hover .go { gap: 0.8rem; }

.courses-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 3rem;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-lg);
}

/* ============================ Course detail ============================ */
.course-hero { padding: calc(var(--header-h) + 60px) 0 80px; background: var(--cream); }
.course-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
}
.course-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.course-badges .b {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    background: var(--ink-soft);
    color: var(--ink);
}
.course-badges .b.accent { background: rgba(193, 150, 47, 0.14); color: var(--accent-dark); }
.course-hero h1 { margin-bottom: 1.1rem; }
.course-hero .lead { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.course-facts {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 1rem 2.5rem;
    margin: 1.75rem 0 2.25rem;
}
.course-facts .f { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; }
.course-facts .f i {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--ink);
}
.course-facts .f b { color: var(--ink-deep); display: block; font-size: 0.95rem; }
.course-facts .f small { color: var(--text-muted); }

.course-hero-media {
    aspect-ratio: 4 / 4.3;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.14), transparent 42%),
        linear-gradient(155deg, var(--ink-mid), var(--ink-deep));
    box-shadow: var(--shadow-lg);
    position: relative;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.92);
    overflow: hidden;
}
.course-hero-media > i { font-size: 5rem; opacity: 0.85; }
.course-hero-media .cap {
    position: absolute;
    bottom: 22px; left: 22px; right: 22px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.15rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
}

/* Section wrappers on course page */
.section { padding: 90px 0; }
.section.alt { background: var(--white); }
.section.cream { background: var(--cream); }
.section-title-left { max-width: 640px; margin-bottom: 2.5rem; }
.section-title-left p { color: var(--text-muted); font-size: 1.05rem; margin-top: 0.75rem; }

/* Overview / description */
.overview-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 3.5rem; align-items: start; }
.overview-grid .prose p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.1rem; }
.outcomes {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.section.cream .outcomes { background: var(--white); }
.outcomes h4 { font-family: 'Inter', sans-serif; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 1.25rem; }
.outcomes ul { list-style: none; }
.outcomes li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.9rem;
    font-size: 0.98rem;
    color: var(--text);
}
.outcomes li i { color: var(--ink); margin-top: 4px; }

/* Curriculum accordion */
.curriculum { max-width: 820px; margin: 0 auto; }
.module {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}
.section.alt .module { background: var(--cream); }
.module.open { box-shadow: var(--shadow-md); border-color: var(--ink-line); }
.module-head {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.4rem 1.6rem;
    cursor: pointer;
    user-select: none;
}
.module-head .idx {
    width: 40px; height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--ink);
    color: var(--white);
    display: grid;
    place-items: center;
    font-family: 'Fraunces', serif;
    font-weight: 600;
}
.module-head .t { flex-grow: 1; }
.module-head .t b { display: block; color: var(--ink-deep); font-size: 1.05rem; }
.module-head .t small { color: var(--text-muted); font-size: 0.85rem; }
.module-head .chev { color: var(--ink); transition: var(--transition); }
.module.open .chev { transform: rotate(180deg); }
.module-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.module-body ul {
    list-style: none;
    padding: 0 1.6rem 1.5rem 5.1rem;
}
.module-body li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.97rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.6rem;
    align-items: center;
}
.module-body li:first-child { border-top: none; }
.module-body li i { color: var(--accent-dark); font-size: 0.8rem; }

/* Instructor */
.instructor-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}
.section.cream .instructor-card { background: var(--white); }
.instructor-photo {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, var(--ink-mid), var(--ink-deep));
    display: grid;
    place-items: center;
    color: var(--white);
    font-family: 'Fraunces', serif;
    font-size: 3.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}
.instructor-photo i { font-size: 3.5rem; opacity: 0.9; }
.instructor-info h3 { color: var(--ink-deep); margin-bottom: 0.3rem; }
.instructor-info .role { color: var(--accent-dark); font-weight: 600; font-size: 0.95rem; margin-bottom: 1rem; }
.instructor-info p { color: var(--text-muted); margin-bottom: 1rem; }
.instructor-creds { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.instructor-creds span {
    font-size: 0.82rem;
    background: var(--ink-soft);
    color: var(--ink);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.testimonial {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
.section.alt .testimonial { background: var(--cream); }
.testimonial .stars { color: var(--accent); margin-bottom: 1rem; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial .quote { font-size: 1.02rem; color: var(--text); font-style: italic; margin-bottom: 1.5rem; flex-grow: 1; }
.testimonial .who { display: flex; align-items: center; gap: 0.85rem; }
.testimonial .avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 1rem;
}
.testimonial .who b { display: block; color: var(--ink-deep); font-size: 0.95rem; }
.testimonial .who small { color: var(--text-muted); font-size: 0.83rem; }

/* Enroll form */
.enroll {
    padding: 90px 0;
    background: var(--ink-deep);
    position: relative;
    overflow: hidden;
}
.enroll::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 350px at 10% 0%, rgba(193, 150, 47, 0.16), transparent 60%),
        radial-gradient(700px 350px at 95% 100%, rgba(44, 85, 128, 0.55), transparent 60%);
}
.enroll-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}
.enroll-copy .eyebrow { color: var(--accent); }
.enroll-copy h2 { color: var(--white); margin-bottom: 1rem; }
.enroll-copy p { color: rgba(255, 255, 255, 0.75); font-size: 1.08rem; margin-bottom: 1.75rem; }
.enroll-copy .points { list-style: none; }
.enroll-copy .points li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.85rem;
    font-size: 0.98rem;
}
.enroll-copy .points i { color: var(--accent); }

.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}
.form-card h3 { color: var(--ink-deep); margin-bottom: 0.4rem; }
.form-card .sub { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.75rem; }
.form-field { margin-bottom: 1.15rem; }
.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-deep);
    margin-bottom: 0.5rem;
}
.form-field label .req { color: var(--accent-dark); }
.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.97rem;
    color: var(--text);
    background: var(--cream);
    transition: var(--transition);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--ink);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--ink-soft);
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
.form-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 1rem; }

/* ============================ Animations ============================ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================ Responsive ============================ */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .overview-grid,
    .course-hero-grid, .enroll-grid { gap: 3rem; }
    .instructor-card { grid-template-columns: 200px 1fr; gap: 2rem; }
}

@media (max-width: 860px) {
    .nav-menu {
        position: fixed;
        top: 0; right: 0;
        width: min(78%, 320px);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 1.75rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -20px 0 40px rgba(13, 31, 51, 0.15);
        padding: 2rem;
    }
    .nav-menu.active { transform: translateX(0); }
    .nav-menu > li > a { font-size: 1.1rem; }
    .hamburger { display: block; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    .hero-grid, .about-grid, .overview-grid,
    .course-hero-grid, .enroll-grid { grid-template-columns: 1fr; }
    .hero { text-align: center; padding-top: calc(var(--header-h) + 60px); }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons, .hero-trust { justify-content: center; }
    .hero-trust { display: inline-flex; }
    .hero-visual { display: none; }
    .about-image { order: -1; max-width: 460px; }
    .course-hero-media { max-width: 460px; margin: 0 auto; }
    .instructor-card { grid-template-columns: 1fr; text-align: center; }
    .instructor-photo { max-width: 180px; margin: 0 auto; }
    .instructor-creds { justify-content: center; }
    .enroll-copy { text-align: center; }
    .enroll-copy .eyebrow, .enroll-copy .points li { justify-content: center; }
}

@media (max-width: 560px) {
    .container, .nav-container { padding: 0 18px; }
    .contact-links, .form-row, .course-facts { grid-template-columns: 1fr; }
    .hero-trust { gap: 1.5rem; flex-wrap: wrap; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .btn { width: 100%; justify-content: center; }
    .hero-buttons { flex-direction: column; }
    .service-item, .form-card, .instructor-card { padding: 1.75rem; }
    .module-body ul { padding-left: 1.6rem; }
}
