/* =========================================================================
   SALUT FRANÇAIS — Main stylesheet
   Palette inspired by the fanpage banner: lavender + yellow + cream
   ========================================================================= */

:root {
    /* Brand palette
       Accent:  #FBEDA6 (cream yellow)
       Surface: #D9C6FF (light purple)
       Ink:     #26345C (dark navy) */
    --lavender-50:  #F4EEFF;
    --lavender-100: #ECE2FF;
    --lavender-200: #D9C6FF;
    --lavender-300: #BFA5F0;
    --lavender-400: #9F84DA;
    --lavender-500: #7E66C2;
    --lavender-600: #5A4D9A;
    --lavender-700: #3D4373;
    --lavender-800: #26345C;

    --yellow:      #FBEDA6;
    --yellow-dark: #F0D77A;
    --yellow-soft: #FEF6CC;

    --coral:      #FFC2A0;
    --coral-dark: #E89A78;

    --cream:      #FFFCF3;
    --cream-dark: #FBF3E4;
    --white:      #FFFFFF;

    --ink:      #26345C;
    --ink-soft: #4A5680;
    --muted:    #7886A8;
    --line:     #ECE2FF;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 40px;

    --shadow-sm: 0 4px 12px rgba(38, 52, 92, 0.08);
    --shadow-md: 0 10px 30px rgba(38, 52, 92, 0.12);
    --shadow-lg: 0 20px 50px rgba(38, 52, 92, 0.18);

    /* Typography
       Body  → Inter (UI text, paragraphs, forms, lists)
       Heading → Montserrat (h1–h6, brand, labels, badges)
       Script → Dancing Script (handwritten emphasis points) */
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* "Script" / accent — readable italic Inter instead of cursive (better diacritics support, easier to read) */
    --font-script: var(--font-body);
    --font-logo: var(--font-heading);

    --container: 1200px;
    --gutter: 24px;
}

/* =========================================================================
   RESET / BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv11', 'ss01', 'ss03'; /* Inter alternates: open digits, single-storey a, etc. */
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lavender-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--lavender-700); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 .6em;
    font-optical-sizing: auto;
}

p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; gap: 40px; } }

.screen-reader-text {
    clip: rect(1px,1px,1px,1px); position: absolute !important;
    height: 1px; width: 1px; overflow: hidden; word-wrap: normal !important;
}
.skip-link { position: absolute; top: -40px; left: 10px; background: var(--ink); color: var(--white); padding: 8px 16px; z-index: 9999; border-radius: 8px; }
.skip-link:focus { top: 10px; color: var(--white); }

.handwritten { font-family: var(--font-script); font-style: italic; font-weight: 700; color: var(--lavender-600); }
.handwritten-big { font-family: var(--font-script); font-style: italic; font-weight: 700; color: var(--lavender-700); display: block; }

/* Inline accent inside headings — kept as a no-op span so existing markup keeps
   working. Headings stay one consistent font AND one consistent color. */
.accent { color: inherit; }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .2s, color .2s, border-color .2s;
    white-space: nowrap;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--lavender-600); color: var(--white); }
.btn-primary:hover { background: var(--lavender-700); color: var(--white); }

.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 0 var(--yellow-dark); }
.btn-yellow:hover { background: var(--yellow); color: var(--ink); transform: translateY(-4px); box-shadow: 0 8px 0 var(--yellow-dark); }

.btn-outline { background: transparent; color: var(--lavender-700); border-color: var(--lavender-300); }
.btn-outline:hover { background: var(--lavender-100); color: var(--lavender-700); border-color: var(--lavender-400); }

.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 249, 240, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: transform .3s ease;
    will-change: transform;
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px var(--gutter);
    gap: 32px;
}
.brand-link { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; }
.brand-logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 200px;
}
.brand-mark {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 1px;
    color: var(--ink);
    line-height: 1;
}
.brand-tag { font-family: var(--font-script); font-style: italic; font-size: 14px; color: var(--lavender-500); }

.site-nav { flex: 1; min-width: 0; }
.primary-menu {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: nowrap;
}
.primary-menu li { flex-shrink: 0; }
.primary-menu a {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 14.5px;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
    display: inline-block;
}
.primary-menu a:hover, .primary-menu .current-menu-item > a {
    color: var(--lavender-700);
}
.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: width .2s;
}
.primary-menu a:hover::after, .primary-menu .current-menu-item > a::after { width: 100%; }

/* Submenu (dropdown) */
.has-submenu { position: relative; }
.has-submenu > a {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}
.submenu-caret { transition: transform .2s; flex-shrink: 0; }
.has-submenu:hover > a .submenu-caret,
.has-submenu.is-open > a .submenu-caret { transform: rotate(180deg); }

.submenu {
    list-style: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(-6px);
    min-width: 280px;
    background: var(--lavender-700);
    border: 1px solid var(--lavender-800);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(38, 52, 92, 0.25), 0 2px 6px rgba(38, 52, 92, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 50;
}
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu,
.has-submenu.is-open > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.submenu li { border-bottom: 0; }
.submenu li a {
    display: block !important;
    padding: 10px 14px !important;
    border-radius: var(--radius-sm);
    font-size: 14px !important;
    color: var(--white);
    white-space: normal;
    line-height: 1.4;
}
.submenu li a::after { display: none !important; }
.submenu li a:hover { background: var(--lavender-800); color: var(--yellow); }
.submenu li a.current { background: var(--lavender-800); color: var(--yellow); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lavender-100);
    color: var(--lavender-700);
    font-weight: 600;
    font-size: 14px;
    transition: background .2s, transform .15s;
}
.phone-link span { display: none; }
.phone-link:hover { background: var(--yellow); color: var(--ink); transform: translateY(-1px); }

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
    .primary-menu { gap: 18px; }
    .primary-menu a { font-size: 14px; }
    .brand-tag { display: none; }
}
@media (max-width: 1060px) {
    .header-inner { gap: 16px; }
    .header-cta .btn { padding: 12px 20px; font-size: 14px; }
}
@media (max-width: 980px) {
    .menu-toggle { display: flex; order: 3; }
    .header-inner { position: relative; justify-content: flex-end; }
    .site-brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .brand-link { align-items: center; text-align: center; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
        box-shadow: var(--shadow-md);
        order: 10;
    }
    .site-nav.is-open { max-height: 600px; }
    .primary-menu { flex-direction: column; padding: 20px; gap: 0; justify-content: flex-start; }
    .primary-menu li { border-bottom: 1px solid var(--line); width: 100%; }
    .primary-menu a { display: block; padding: 14px 0; font-size: 15px; }
    .primary-menu a::after { display: none; }
    /* Mobile: submenu collapses inline under its parent — tap caret to expand */
    .has-submenu > a { justify-content: space-between; }
    .submenu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: var(--lavender-50);
        border: 0;
        box-shadow: none;
        min-width: 0;
        margin: 0 -20px 0;
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease, padding .25s ease;
    }
    .submenu::before { display: none; }
    .has-submenu.is-open > .submenu { max-height: 500px; padding: 8px 20px; }
    .submenu li a { padding: 12px 0 !important; font-size: 14px !important; border-bottom: 1px solid var(--line); }
    .submenu li:last-child a { border-bottom: 0; }
    .header-cta { gap: 8px; }
    .phone-link { width: 36px; height: 36px; }
    .header-cta .btn { padding: 10px 16px; font-size: 13px; }
}
@media (max-width: 480px) {
    .header-cta .btn { display: none; }
    .brand-mark { font-size: 22px; }
    .brand-logo { height: 40px; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
    position: relative;
    background: linear-gradient(135deg, #C8B5E8 0%, #B8A7E0 60%, #A896D6 100%);
    padding: 80px 0 120px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-kicker {
    display: inline-block;
    font-family: var(--font-script);

    font-style: italic;
    font-size: 28px;
    color: var(--ink);
    background: var(--yellow);
    padding: 4px 20px;
    border-radius: 999px;
    transform: rotate(-3deg);
    margin-bottom: 20px;
    box-shadow: 0 4px 0 var(--yellow-dark);
}
.hero-title {
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1;
    margin-bottom: 24px;
    color: var(--white);
}
.hero-title .handwritten-big {
    color: var(--white);
    font-weight: 700;
    text-shadow: 3px 3px 0 rgba(74, 61, 124, 0.3);
}
.hero-subline {
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(32px, 4.5vw, 52px);
    color: var(--ink);
    margin-top: 4px;
}
.hero-brand {
    font-family: var(--font-logo);
    font-style: normal;
    color: var(--white);
    background: var(--lavender-700);
    padding: 0 16px;
    border-radius: 999px;
    display: inline-block;
}
.hero-lede {
    font-size: 18px;
    color: var(--ink);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.6;
}
.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-stats {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.hero-stats span { font-size: 14px; color: var(--ink); margin-top: 4px; }

.hero-right { position: relative; }
.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    max-width: 380px;
    margin-left: auto;
    border: 3px solid var(--yellow);
}
.card-kicker {
    font-family: var(--font-script);

    font-style: italic;
    font-size: 22px;
    color: var(--lavender-600);
    margin-bottom: 12px;
}
.course-pills {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.course-pills li {
    padding: 10px 16px;
    background: var(--lavender-50);
    border-radius: 999px;
    font-weight: 500;
    font-size: 14px;
    color: var(--ink);
}
.card-tag {
    font-family: var(--font-script);

    font-style: italic;
    font-size: 18px;
    color: var(--lavender-700);
    margin: 0;
    text-align: center;
    padding-top: 8px;
    border-top: 2px dashed var(--lavender-200);
}

.hero-eiffel {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    height: auto;
    opacity: 0.35;
    z-index: 1;
    stroke: var(--white);
}

.hero-decorations { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.deco { position: absolute; }
.deco-plane { top: 14%; left: 8%; width: 50px; opacity: 0.8; animation: float 6s ease-in-out infinite; }
.deco-star { top: 20%; right: 15%; width: 28px; animation: twinkle 3s ease-in-out infinite; }
.deco-star-2 { top: 65%; left: 45%; width: 20px; animation: twinkle 3s ease-in-out infinite; animation-delay: 1.5s; }
.deco-sparkle { bottom: 25%; right: 8%; width: 36px; opacity: 0.6; animation: twinkle 4s ease-in-out infinite; animation-delay: .8s; }

@keyframes float {
    0%, 100% { transform: translate(0,0) rotate(-10deg); }
    50% { transform: translate(20px,-10px) rotate(5deg); }
}
@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; display: block; }

@media (max-width: 900px) {
    .hero { padding: 60px 0 100px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-card { margin: 0 auto; }
    .hero-eiffel { display: none; }
}

/* =========================================================================
   SECTION COMMON
   ========================================================================= */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-kicker {
    font-family: var(--font-script);

    font-style: italic;
    font-size: 24px;
    color: var(--lavender-500);
    margin-bottom: 8px;
}
.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
    line-height: 1.1;
}
.section-title .handwritten {
    display: inline;
    font-size: 1.3em;
    color: var(--lavender-600);
}
.section-lede { font-size: 17px; color: var(--ink-soft); max-width: 640px; margin: 0 auto; }
.section-footer { text-align: center; margin-top: 48px; }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about-section { padding: 100px 0; background: var(--cream); }
.about-visual { position: relative; }
.about-image-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--lavender-100);
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-image-fallback {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--lavender-200), var(--lavender-100));
    gap: 16px;
}
.fallback-emoji { font-size: 80px; }
.about-sticker {
    position: absolute;
    font-family: var(--font-script);

    font-style: italic;
    font-size: 28px;
    padding: 8px 20px;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    z-index: 2;
}
.sticker-1 { top: 20px; right: -20px; background: var(--yellow); color: var(--ink); transform: rotate(8deg); }
.sticker-2 { bottom: 40px; left: -30px; background: var(--lavender-600); color: var(--white); transform: rotate(-6deg); }

.about-text .section-kicker, .about-text .section-title { text-align: left; margin-left: 0; }
.about-text .section-title { max-width: 100%; }
.about-points {
    list-style: none;
    padding: 0;
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about-points li { display: flex; gap: 16px; align-items: flex-start; }
.point-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--lavender-100);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.about-points strong { display: block; font-size: 17px; margin-bottom: 4px; }
.about-points p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* =========================================================================
   COURSES
   ========================================================================= */
.courses-section { padding: 72px 0; background: var(--white); }
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.course-grid-2col { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .course-grid-2col { grid-template-columns: 1fr; } }
.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 2px solid var(--lavender-100);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    display: flex;
    flex-direction: column;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--lavender-300);
}
.course-icon {
    width: 56px; height: 56px;
    background: var(--yellow-soft);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    margin-bottom: 20px;
}
.course-icon svg { display: block; }
.course-meta li { display: inline-flex; align-items: center; gap: 6px; }
.course-meta li svg { color: var(--lavender-600); }
.course-title { font-size: 22px; margin-bottom: 12px; }
.course-title a { color: var(--ink); }
.course-title a:hover { color: var(--lavender-600); }
.course-excerpt { color: var(--ink-soft); font-size: 15px; flex: 1; }
.course-meta { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.course-meta li {
    font-size: 13px;
    background: var(--lavender-50);
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--lavender-700);
    font-weight: 500;
}
.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 2px dashed var(--lavender-100);
    margin-top: auto;
}
.course-price { font-weight: 800; font-size: 18px; color: var(--lavender-700); }
.link-more { font-weight: 600; color: var(--lavender-600); font-size: 14px; }
.link-more:hover { color: var(--lavender-700); }

/* =========================================================================
   SCHEDULE
   ========================================================================= */
.schedule-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--lavender-50) 100%);
}
.schedule-table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
}
.schedule-table thead { background: var(--lavender-600); color: var(--white); }
.schedule-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.schedule-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    vertical-align: middle;
}
.schedule-table tbody tr:hover { background: var(--lavender-50); }
.schedule-table tbody tr:last-child td { border-bottom: 0; }

.slot-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--yellow-soft);
    color: var(--ink);
    font-weight: 600;
    font-size: 13px;
}
.slot-low { background: #FFD5D5; color: #B84545; }
.schedule-note { text-align: center; margin-top: 24px; font-size: 14px; color: var(--muted); font-style: italic; }

/* =========================================================================
   WHY
   ========================================================================= */
.why-section { padding: 100px 0; background: var(--white); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.why-card {
    background: var(--lavender-50);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform .25s, background .25s;
}
.why-card:hover { transform: translateY(-6px); background: var(--lavender-100); }
.why-card:nth-child(2) { background: var(--yellow-soft); }
.why-card:nth-child(2):hover { background: var(--yellow); }
.why-card:nth-child(4) { background: var(--yellow-soft); }
.why-card:nth-child(4):hover { background: var(--yellow); }
.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--white);
    color: var(--ink);
    margin: 0 auto 16px;
    animation: bounce 3s ease-in-out infinite;
}
.why-icon svg { display: block; }
.why-card:nth-child(2) .why-icon { background: var(--white); }
.why-card:nth-child(4) .why-icon { background: var(--white); }
.why-card:nth-child(2) .why-icon { animation-delay: .5s; }
.why-card:nth-child(3) .why-icon { animation-delay: 1s; }
.why-card:nth-child(4) .why-icon { animation-delay: 1.5s; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.why-card h3 { font-size: 20px; margin-bottom: 14px; line-height: 1.3; }
.why-card p { color: var(--ink-soft); font-size: 15px; margin: 0; line-height: 1.7; }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonials-section {
    padding: 100px 0;
    background:
        radial-gradient(circle at 10% 20%, var(--yellow-soft) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, var(--lavender-100) 0%, transparent 30%),
        var(--cream);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    margin: 0;
    position: relative;
    transition: transform .25s, box-shadow .25s;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 24px;
    font-family: var(--font-logo);
    font-size: 90px;
    color: var(--yellow);
    line-height: 1;
    opacity: 0.6;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-card blockquote {
    margin: 0 0 24px;
    font-size: 16px;
    color: var(--ink);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-style: italic;
}
.testimonial-card figcaption {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-top: 20px;
    border-top: 2px dashed var(--lavender-100);
}
.tc-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--lavender-200);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.tc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initial { font-family: var(--font-body); font-size: 22px; font-weight: 700; color: var(--lavender-700); }
.testimonial-card figcaption strong { display: block; font-size: 16px; }
.testimonial-card figcaption span { display: block; font-size: 13px; color: var(--muted); }
.tc-score { color: var(--lavender-600) !important; font-weight: 600; }

/* =========================================================================
   BLOG PREVIEW
   ========================================================================= */
.blog-preview-section { padding: 100px 0; background: var(--white); }
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--lavender-50);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    display: flex;
    flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--lavender-200); }
.post-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--lavender-100); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--yellow-soft), var(--lavender-100));
    font-size: 64px;
}
.post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post-title { font-size: 19px; margin-bottom: 10px; line-height: 1.3; }
.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--lavender-600); }
.post-excerpt { color: var(--ink-soft); font-size: 14px; flex: 1; margin-bottom: 16px; }

/* =========================================================================
   CONTACT FORM
   ========================================================================= */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--lavender-100) 0%, var(--lavender-200) 100%);
    position: relative;
    overflow: hidden;
}
.contact-decoration .deco-cloud {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 200px;
    opacity: 0.5;
}
.contact-grid { position: relative; z-index: 2; }
.contact-info .section-kicker, .contact-info .section-title { text-align: left; margin-left: 0; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: var(--white);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-sm);
}
.contact-list strong { display: block; font-size: 15px; }
.contact-list p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--yellow);
}
.contact-form h3 { font-size: 24px; margin-bottom: 20px; }
.form-row { margin-bottom: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row-2 { grid-template-columns: 1fr; } }
.contact-form label { display: block; }
.contact-form label span {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--lavender-100);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--cream);
    color: var(--ink);
    transition: border-color .2s, background .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 0;
    border-color: var(--lavender-400);
    background: var(--white);
}
.contact-form textarea { resize: vertical; font-family: var(--font-body); }

.form-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }
.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
}
.form-message.is-success { display: block; background: #D4F5E3; color: #1B6B3F; }
.form-message.is-error { display: block; background: #FFD5D5; color: #B84545; }

.btn-loader {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    display: none;
}
.btn.is-loading .btn-loader { display: inline-block; }
.btn.is-loading { opacity: 0.8; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   CONTACT FORM 7 (WordPress plugin — style để khớp design Salut)
   ========================================================================= */
.cf7-wrap .wpcf7 { padding: 0; margin: 0; }
.cf7-wrap .wpcf7-form p { margin: 0 0 16px; }
.cf7-wrap label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--ink);
}
.cf7-wrap .wpcf7-form-control {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--lavender-100);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--cream);
    color: var(--ink);
    transition: border-color .2s, background .2s;
}
.cf7-wrap .wpcf7-form-control:focus {
    outline: 0;
    border-color: var(--lavender-400);
    background: var(--white);
}
.cf7-wrap textarea.wpcf7-form-control { resize: vertical; min-height: 90px; }
.cf7-wrap select.wpcf7-form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B5B95' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* CF7 checkbox/radio groups */
.cf7-wrap .wpcf7-list-item { display: inline-flex; align-items: center; margin: 0 12px 6px 0; }
.cf7-wrap .wpcf7-list-item-label { margin-left: 6px; font-weight: 400; }

/* CF7 submit button — match btn-primary */
.cf7-wrap .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 36px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    border: 2px solid transparent;
    background: var(--lavender-600);
    color: var(--white);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .2s;
    margin-top: 8px;
}
.cf7-wrap .wpcf7-submit:hover {
    background: var(--lavender-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* CF7 status messages */
.cf7-wrap .wpcf7-response-output {
    margin: 16px 0 0 !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    border: 0 !important;
    font-size: 14px;
}
.cf7-wrap .wpcf7 form.sent .wpcf7-response-output { background: #D4F5E3; color: #1B6B3F; }
.cf7-wrap .wpcf7 form.failed .wpcf7-response-output,
.cf7-wrap .wpcf7 form.aborted .wpcf7-response-output { background: #FFD5D5; color: #B84545; }
.cf7-wrap .wpcf7 form.invalid .wpcf7-response-output,
.cf7-wrap .wpcf7 form.unaccepted .wpcf7-response-output { background: var(--yellow-soft); color: #8B6914; }
.cf7-wrap .wpcf7-not-valid-tip { color: #B84545; font-size: 13px; margin-top: 4px; }
.cf7-wrap .wpcf7-spinner { background-color: var(--lavender-600) !important; }

/* Admin tips inside form (only visible to logged-in admins) */
.contact-form .admin-tip {
    background: var(--yellow-soft);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    border-left: 3px solid var(--yellow-dark);
}
.contact-form .admin-tip-ok { background: #E8F5E9; border-left-color: #4CAF50; }
.contact-form .admin-tip a { font-weight: 600; }

/* =========================================================================
   CTA BAND (before footer)
   ========================================================================= */
.cta-band {
    background: var(--lavender-700);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255,224,102,0.2) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(255,169,184,0.2) 0%, transparent 40%);
}
.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}
.cta-kicker {
    font-family: var(--font-script);

    font-style: italic;
    font-size: 28px;
    color: var(--yellow);
    margin-bottom: 8px;
}
.cta-band h2 {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--white);
    margin-bottom: 8px;
}
.cta-band h2 .handwritten { color: var(--yellow); }
.cta-band p { margin: 0; color: rgba(255,255,255,0.85); font-size: 17px; }
@media (max-width: 820px) {
    .cta-band-inner { flex-direction: column; text-align: center; }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    background: var(--lavender-800);
    color: rgba(255,255,255,0.8);
    padding: 64px 0 0;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 28px;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.footer-logo {
    display: block;
    height: 56px;
    width: auto;
    max-width: 220px;
}
.footer-tag {
    font-family: var(--font-script);

    font-style: italic;
    font-size: 18px;
    color: var(--yellow);
    margin: 4px 0 16px;
}
.footer-desc { color: rgba(255,255,255,0.7); line-height: 1.6; }

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--yellow); }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    line-height: 1.4;
}
.footer-contact .fc-icon {
    width: 22px;
    flex-shrink: 0;
    text-align: center;
    font-size: 14px;
    opacity: 0.9;
}
.footer-contact .fc-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.08);
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: auto;
}

.footer-social-block {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255,255,255,0.12);
}
.fsb-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin: 0 0 10px;
    line-height: 1.4;
}
.fsb-label strong {
    color: var(--yellow);
    font-weight: 600;
    word-break: break-all;
}
.footer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.fchip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.fchip:hover,
.fchip:focus-visible {
    background: var(--yellow);
    color: var(--ink);
    border-color: var(--yellow);
    transform: translateY(-1px);
    text-decoration: none;
}
/* The chip lives inside .footer-col, where `.footer-col a:hover { color: var(--yellow) }`
   would normally fire. That paints the chip text yellow on a yellow background → invisible.
   This higher-specificity override forces the on-hover text/icon to ink so they stay readable. */
.site-footer .fchip:hover,
.site-footer .fchip:focus-visible { color: var(--ink); }
.fchip svg { flex-shrink: 0; }
/* SVG icons keep their inline fill/stroke attributes (fill="currentColor" for
   TikTok/Threads, fill="none" stroke="currentColor" for Instagram) — the
   currentColor reference picks up .fchip color naturally on hover. */

.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }

.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 999px;
    border: 0;
    font-family: var(--font-body);
    font-size: 14px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
}
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter input:focus { outline: 2px solid var(--yellow); background: rgba(255,255,255,0.15); }
.newsletter .btn { padding: 10px 18px; font-size: 13px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
}
.footer-bottom p { margin: 0; font-size: 13px; }

/* =========================================================================
   PAGE HEADER / SINGLE
   ========================================================================= */
.page-header {
    background: linear-gradient(135deg, var(--lavender-100) 0%, var(--lavender-200) 100%);
    padding: 80px 0 60px;
    text-align: center;
}
.page-kicker {
    font-family: var(--font-script);

    font-style: italic;
    font-size: 26px;
    color: var(--lavender-600);
    margin-bottom: 8px;
}
.page-title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 16px;
    line-height: 1.15;
    text-wrap: balance;
}
.page-lede { font-size: 18px; color: var(--ink-soft); max-width: 640px; margin: 0 auto; }

.single-post, .single-page { padding-bottom: 60px; }
.single-header { padding: 60px 0 30px; background: var(--cream-dark); }
.single-header .post-meta { text-align: center; color: var(--muted); margin-bottom: 12px; font-size: 14px; }
.single-title { font-size: clamp(28px, 4vw, 44px); text-align: center; max-width: 900px; margin: 0 auto 16px; line-height: 1.2; }
.single-lede { text-align: center; max-width: 720px; margin: 0 auto; font-size: 18px; color: var(--ink-soft); }
.single-thumb { margin: 40px auto; border-radius: var(--radius-lg); overflow: hidden; max-width: 1000px; box-shadow: var(--shadow-md); }
.single-content { max-width: 760px; padding-top: 40px; font-size: 17px; line-height: 1.8; }
.single-content h2 { font-size: 28px; margin: 1.5em 0 .6em; }
.single-content h3 { font-size: 22px; margin: 1.3em 0 .5em; }
.single-content blockquote {
    border-left: 4px solid var(--yellow);
    background: var(--yellow-soft);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}
.single-content img { border-radius: var(--radius-md); margin: 20px 0; }

/* =========================================================================
   COURSE HERO
   ========================================================================= */
.course-hero {
    background: linear-gradient(135deg, var(--lavender-100) 0%, var(--yellow-soft) 100%);
    padding: 80px 0;
}
.course-hero-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* Elective page — subtitle pill + overview + audience + notes */
.elective-subtitle {
    display: inline-block;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 999px;
    margin: 0 0 24px;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 0 var(--yellow-dark);
}
.elective-overview {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 28px 24px;
    margin: 0 auto 32px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    max-width: 760px;
}
.elective-overview h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin: 0 0 12px;
    color: var(--ink);
}
.elective-overview p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0;
}

/* =========================================================================
   EXAM PAGE (DELF, TCF) — dedicated layout
   ========================================================================= */
.exam-hero {
    background: linear-gradient(135deg, var(--lavender-700) 0%, var(--lavender-800) 100%);
    color: var(--white);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.exam-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 224, 102, 0.18) 0%, transparent 60%);
    pointer-events: none;
}
.exam-hero > .container { position: relative; }
.exam-hero-code {
    display: inline-block;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 18px;
    padding: 8px 20px;
    border-radius: 10px;
    letter-spacing: 1px;
    box-shadow: 0 4px 0 var(--yellow-dark);
    margin-bottom: 18px;
}
.exam-hero .page-kicker {
    color: var(--yellow);
    margin: 0 0 10px;
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.04em;
}
.exam-hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--white);
    margin: 0 0 12px;
    line-height: 1.15;
    text-wrap: balance;
}
.exam-hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Section 1: program */
.exam-program-section { padding: 64px 0; background: var(--white); }
.exam-program-lede {
    max-width: 820px;
    margin: 0 auto 28px;
    text-align: center;
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-soft);
}
.exam-program-info {
    list-style: none;
    padding: 0;
    margin: 0 auto 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 880px;
}
@media (max-width: 720px) { .exam-program-info { grid-template-columns: 1fr; } }
.exam-program-info li {
    background: var(--lavender-50);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--lavender-100);
}
.exam-program-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--yellow);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 0 var(--yellow-dark);
}
.exam-program-info > li > div { display: flex; flex-direction: column; gap: 2px; }
.exam-program-label {
    font-size: 11.5px;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.exam-program-info strong {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--ink);
    line-height: 1.3;
}
.exam-program-cta { text-align: center; }

/* Advantages section — 4 cards, neutralise the bouncing emoji-era styles */
.exam-advantages-grid {
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1020px) { .exam-advantages-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .exam-advantages-grid { grid-template-columns: 1fr; } }
.exam-advantages-grid .why-card { background: var(--lavender-50); }
.exam-advantages-grid .why-card:hover { background: var(--lavender-100); }
.exam-advantages-grid .why-card:nth-child(2),
.exam-advantages-grid .why-card:nth-child(4) { background: var(--lavender-50); }
.exam-advantages-grid .why-card:nth-child(2):hover,
.exam-advantages-grid .why-card:nth-child(4):hover { background: var(--lavender-100); }
.exam-advantages-grid .why-icon { animation: none; background: var(--yellow); }

/* Pathway section (DELF) */
.exam-pathway-section { padding: 64px 0; background: var(--cream); }
.exam-pathway {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
}
@media (max-width: 900px) { .exam-pathway { grid-template-columns: 1fr; } }

.pathway-group {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.pathway-group-head {
    border-bottom: 2px dashed var(--lavender-100);
    padding-bottom: 18px;
}
.pathway-level {
    display: inline-block;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.pathway-group-head h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--ink);
    margin: 0 0 4px;
}
.pathway-group-head p {
    margin: 0;
    color: var(--lavender-700);
    font-size: 14px;
    font-style: italic;
}

.pathway-courses {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pathway-course {
    border-left: 3px solid var(--lavender-300);
    padding: 4px 0 4px 16px;
}
.pathway-course header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}
.pathway-course h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}
.pathway-course-duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--lavender-50);
    color: var(--lavender-700);
    font-size: 11.5px;
    padding: 3px 8px;
    border-radius: 999px;
    flex-shrink: 0;
    white-space: nowrap;
}
.pathway-course p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.6;
}

/* Skills section (TCF) */
.exam-skills-section { padding: 64px 0; background: var(--cream); }
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}
@media (max-width: 820px) { .skills-grid { grid-template-columns: 1fr; } }

.skills-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: border-color .2s, transform .2s;
}
.skills-card:hover {
    border-color: var(--yellow);
    transform: translateY(-3px);
}
.skills-card header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 2px dashed var(--lavender-100);
}
.skills-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--yellow);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 0 var(--yellow-dark);
}
.skills-card header h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--ink);
    margin: 0 0 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.skills-card header p {
    margin: 0;
    color: var(--lavender-700);
    font-size: 13.5px;
    font-style: italic;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.skills-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink);
}
.skills-list li svg {
    color: var(--lavender-600);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Bottom CTA card */
.exam-cta-section { padding: 60px 0; background: var(--white); }
.exam-cta-card {
    background: linear-gradient(135deg, var(--lavender-600) 0%, var(--lavender-800) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}
.exam-cta-card h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(24px, 3vw, 32px);
    color: var(--white);
    margin: 0 0 12px;
}
.exam-cta-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* Audience list — numbered persona cards */
.elective-audience-section { background: var(--cream); }
.elective-audience-section .section-head { text-align: center; margin-bottom: 36px; }
.audience-list {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.audience-card {
    background: var(--white);
    border: 2px solid var(--lavender-100);
    border-radius: var(--radius-md);
    padding: 24px 24px 22px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: transform .2s, border-color .2s, box-shadow .2s;
    position: relative;
}
.audience-card:hover {
    transform: translateY(-3px);
    border-color: var(--yellow);
    box-shadow: var(--shadow-md);
}
.audience-number {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 32px;
    color: var(--lavender-300);
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}
.audience-card:hover .audience-number { color: var(--lavender-600); }
.audience-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    flex: 1;
}

/* Note callout — yellow info box */
.elective-note {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: linear-gradient(135deg, #FFF8E5 0%, #FFF1C2 100%);
    border: 1px solid var(--yellow);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    margin: 0 auto 28px;
    max-width: 880px;
    box-shadow: 0 2px 0 var(--yellow-dark);
}
.elective-note-icon {
    width: 40px; height: 40px;
    background: var(--yellow);
    color: var(--ink);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 0 var(--yellow-dark);
}
.elective-note > div { flex: 1; }
.elective-note strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.elective-note p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-soft);
}

.founder-callout {
    background: linear-gradient(135deg, var(--lavender-700) 0%, var(--lavender-800) 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    margin: 36px 0 0;
    position: relative;
    border: 0;
}
.founder-callout-label {
    display: inline-block;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.founder-callout p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--white);
    font-style: italic;
}

/* Centered variant: text + stats + CTAs all centered, no right column */
.course-hero-centered .course-hero-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.course-hero-centered.elective-hero .course-hero-text { max-width: 920px; }
.course-hero-centered .course-stats {
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}
.course-hero-centered .hero-ctas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.course-stats {
    list-style: none;
    padding: 0;
    margin: 32px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}
.course-stats li {
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.course-stats strong { display: block; font-size: 20px; color: var(--lavender-700); margin-bottom: 4px; }
.course-stats span { font-size: 13px; color: var(--muted); }

/* =========================================================================
   BLOG ARCHIVE
   ========================================================================= */
.blog-archive { padding: 60px 0 100px; }
.blog-archive .grid-2 { grid-template-columns: 2.2fr 1fr; align-items: start; }
@media (max-width: 900px) { .blog-archive .grid-2 { grid-template-columns: 1fr; } }
.blog-sidebar .widget {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.widget-title { font-size: 18px; margin-bottom: 12px; }
.widget-signup { background: var(--lavender-50); border: 2px dashed var(--lavender-300); }
.pagination { margin-top: 48px; text-align: center; }
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    background: var(--white);
    border-radius: 10px;
    color: var(--ink-soft);
    font-weight: 600;
    border: 2px solid var(--lavender-100);
}
.pagination .current { background: var(--lavender-600); color: var(--white); border-color: var(--lavender-600); }

/* =========================================================================
   404
   ========================================================================= */
.error-404 {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--lavender-100) 100%);
}
.error-emoji { font-size: 96px; margin-bottom: 16px; animation: bounce 2s ease-in-out infinite; }
.error-404 h1 { font-size: clamp(36px, 6vw, 64px); color: var(--lavender-700); margin-bottom: 16px; }
.error-404 p { font-size: 18px; color: var(--ink-soft); margin-bottom: 32px; }
.error-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   SEARCH
   ========================================================================= */
.search-form { display: flex; gap: 8px; }
.search-form input {
    flex: 1;
    padding: 12px 18px;
    border-radius: 999px;
    border: 2px solid var(--lavender-100);
    font-family: var(--font-body);
    background: var(--white);
}
.search-form input:focus { outline: 0; border-color: var(--lavender-400); }

/* =========================================================================
   PRINT / MISC
   ========================================================================= */
@media print {
    .site-header, .site-footer, .cta-band, .contact-section { display: none; }
}

/* Scrollbar polish */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--lavender-300); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--lavender-500); }

/* Focus visible */
:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
    border-radius: 4px;
}

/* =========================================================================
   MULTI-PAGE ADDITIONS
   ========================================================================= */

/* Active nav item */
.primary-menu a.current {
    color: var(--lavender-700);
    font-weight: 600;
}
.primary-menu a.current::after { width: 100%; }

/* Mode badge in schedule table (Online/Offline) */
.mode-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.mode-offline { background: var(--lavender-100); color: var(--lavender-700); }
.mode-online { background: #E0F2FE; color: #0369A1; }

/* Course detail — curriculum timeline */
.curriculum-timeline {
    position: relative;
    padding-left: 24px;
    margin: 24px 0;
    border-left: 3px dashed var(--lavender-200);
}
.curriculum-item {
    position: relative;
    padding: 12px 0 12px 20px;
}
.curriculum-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 18px;
    width: 14px;
    height: 14px;
    background: var(--yellow);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--lavender-300);
}
.curriculum-week {
    font-family: var(--font-script);

    font-style: italic;
    font-size: 20px;
    color: var(--lavender-600);
    margin-bottom: 2px;
}
.curriculum-topic {
    color: var(--ink);
    font-weight: 500;
}

/* Course hero placeholder (when no image) */
.course-hero-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--yellow-soft), var(--lavender-100));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

/* Single content section wrapper (course/blog detail) */
.single-content-section {
    padding: 60px 0;
    background: var(--white);
}
.single-content-section .single-content { padding-top: 0; }
.checklist {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}
.checklist li {
    padding: 12px 16px;
    background: var(--lavender-50);
    border-radius: var(--radius-md);
    font-size: 15px;
    border-left: 3px solid var(--yellow);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.checklist li svg {
    color: var(--lavender-600);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Team cards on About page */
.team-card .course-icon {
    font-size: 40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
}
.team-card { text-align: center; }

/* Map embed */
.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

/* Body class specific tweaks */
.page-contact-page .page-header { background: linear-gradient(135deg, var(--lavender-200) 0%, var(--yellow-soft) 100%); }
.page-about-page .page-header { background: linear-gradient(135deg, var(--yellow-soft) 0%, var(--lavender-100) 100%); }
.page-blog-archive .page-header { background: linear-gradient(135deg, var(--cream-dark) 0%, var(--lavender-100) 100%); }
.page-schedule-page .page-header { background: linear-gradient(135deg, var(--lavender-100) 0%, var(--lavender-200) 100%); }
.page-courses-archive .page-header { background: linear-gradient(135deg, var(--yellow-soft) 0%, var(--lavender-200) 100%); }
.page-blog-post .single-header {
    background: linear-gradient(135deg, var(--lavender-100) 0%, var(--yellow-soft) 100%);
    padding: 80px 0 40px;
}
.page-blog-post .single-header .post-meta { font-size: 14px; color: var(--lavender-700); }

/* =========================================================================
   FAQ PAGE
   ========================================================================= */
.faq-section {
    padding: 60px 0 100px;
    background: var(--cream);
}
.faq-group {
    margin-bottom: 48px;
}
.faq-group-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px dashed var(--lavender-200);
}
.faq-item {
    background: var(--white);
    border: 2px solid var(--lavender-100);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    transition: border-color .2s, box-shadow .2s;
    overflow: hidden;
}
.faq-item[open] {
    border-color: var(--lavender-300);
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    padding: 20px 56px 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    list-style: none;
    position: relative;
    transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--yellow);
    color: var(--ink);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    transition: transform .2s, background .2s;
}
.faq-item[open] summary::after {
    content: '−';
    background: var(--lavender-600);
    color: var(--white);
    transform: translateY(-50%) rotate(180deg);
}
.faq-item summary:hover { background: var(--lavender-50); }
.faq-body {
    padding: 0 24px 24px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}
.faq-body p { margin: 0 0 12px; }
.faq-body ul { padding-left: 20px; margin: 8px 0 12px; }
.faq-body ul li { margin-bottom: 6px; }
.faq-body a { font-weight: 500; }
.faq-cta {
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, var(--yellow-soft), var(--lavender-100));
    border-radius: var(--radius-lg);
    margin-top: 48px;
}

/* =========================================================================
   POLICY PAGE
   ========================================================================= */
.page-policy-page .single-content {
    max-width: 900px;
}
.policy-intro {
    background: var(--yellow-soft);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--yellow-dark);
    margin-bottom: 40px;
    font-size: 16px;
}
.policy-intro p { margin: 0; font-style: italic; }

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 24px 0 40px;
}
.policy-card {
    background: var(--white);
    border: 2px solid var(--lavender-100);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform .25s, box-shadow .25s;
}
.policy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.policy-card-accent {
    background: linear-gradient(135deg, var(--lavender-50), var(--yellow-soft));
    border-color: var(--lavender-200);
}
.policy-icon {
    width: 48px; height: 48px;
    background: var(--lavender-100);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
}
.policy-card-accent .policy-icon { background: var(--yellow); }
.policy-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--ink);
}
.policy-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 8px;
}
.policy-card small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.5;
}

.policy-cta {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, var(--yellow-soft), var(--lavender-100));
    border-radius: var(--radius-lg);
    margin-top: 48px;
}
.policy-cta .btn + .btn { margin-left: 8px; }

/* =========================================================================
   ADDITIONAL PAGE HEADER GRADIENTS
   ========================================================================= */
.page-faq-page .page-header { background: linear-gradient(135deg, var(--lavender-100) 0%, var(--yellow-soft) 100%); }
.page-policy-page .page-header { background: linear-gradient(135deg, var(--cream-dark) 0%, var(--lavender-100) 100%); }

/* =========================================================================
   TEACHERS MODULE
   ========================================================================= */
.teachers-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--lavender-50) 100%);
}

.teachers-quote {
    max-width: 760px;
    margin: 0 auto 64px;
    padding: 32px 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 4px solid var(--yellow);
}
.teachers-quote-mark {
    position: absolute;
    top: -10px;
    left: 24px;
    font-family: var(--font-heading);
    font-size: 80px;
    line-height: 1;
    color: var(--yellow);
}
.teachers-quote p {
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink);
    font-style: italic;
    margin: 0 0 12px;
}
.teachers-quote cite {
    display: block;
    font-style: normal;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 64px;
}
@media (max-width: 960px) { .teachers-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .teachers-grid { grid-template-columns: 1fr; } }

.teacher-card {
    background: var(--white);
    border: 2px solid var(--lavender-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    display: flex;
    flex-direction: column;
}
.teacher-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--lavender-200);
}

.teacher-photo-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--lavender-50);
    overflow: hidden;
}
.teacher-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .4s ease;
}
.teacher-card:hover .teacher-photo { transform: scale(1.04); }

.teacher-cert {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.3px;
}

.teacher-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.teacher-honorific {
    font-family: var(--font-script);

    font-style: italic;
    font-size: 20px;
    color: var(--lavender-500);
    margin: 0 0 2px;
    line-height: 1;
}
.teacher-name {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
    line-height: 1.15;
}
.teacher-role {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--lavender-200);
    line-height: 1.4;
}

.teacher-block {
    margin-bottom: 14px;
}
.teacher-block:last-child { margin-bottom: 0; }
.teacher-block-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    color: var(--lavender-700);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 6px;
}
.teacher-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.teacher-block li {
    position: relative;
    padding-left: 14px;
    font-size: 13.5px;
    color: var(--ink);
    line-height: 1.5;
    margin-bottom: 4px;
}
.teacher-block li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--lavender-400);
    font-weight: 700;
}

.teachers-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) { .teachers-stats { grid-template-columns: 1fr; } }

.teachers-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.teachers-stat strong {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}
.teachers-stat span {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.4;
}

/* =========================================================================
   HOMEPAGE V2 — HERO (text + 3 portraits)
   ========================================================================= */
.hero-v2 {
    background: linear-gradient(135deg, #E5D8FF 0%, #D9C6FF 55%, #C9B5F5 100%);
    /* Full desktop viewport — fills the screen below the sticky header (~80px).
       box-sizing: border-box keeps padding inside the height so total = viewport-height. */
    min-height: calc(100vh - 80px);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 30px 0 50px;
}
.hero-v2 .hero-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
    width: 100%;
}
.hero-v2 .hero-kicker {
    font-family: var(--font-script);
    font-style: italic;
    font-size: 14pt;
    color: var(--ink);
    margin-bottom: 18px;
}
.hero-v2 .hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--ink);
    font-size: clamp(28px, 4.2vw, 48px);
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: none;
    margin-bottom: 14px;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .hero-v2 .hero-title { white-space: normal; font-size: clamp(28px, 8vw, 40px); }
}
.hero-slogan {
    font-size: 28px;
    margin: 0 0 20px;
}
.hero-slogan .handwritten {
    font-family: var(--font-script);

    font-style: italic;
    color: var(--lavender-700);
    font-size: 36px;
}
.hero-v2 .hero-lede {
    color: var(--ink);
    max-width: 520px;
    margin-bottom: 28px;
}

.hero-stats {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 20px;
}
@media (max-width: 540px) {
    .hero-stats { grid-template-columns: 1fr 1fr; }
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
    min-width: 0;
}
.hero-stat strong {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(24px, 2.6vw, 32px);
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.hero-stat span {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
    line-height: 1.4;
    font-weight: 600;
}
.hero-v2 .hero-ctas { margin-bottom: 28px; }
.hero-v2 .hero-ctas .btn-primary {
    background: var(--lavender-600);
    color: var(--white);
    padding: 18px 32px;
    font-size: 16px;
    box-shadow: 0 6px 0 var(--lavender-800);
}
.hero-v2 .hero-ctas .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 var(--lavender-800);
    background: var(--white);
    color: var(--ink);
}

.hero-quicklinks {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 460px;
    counter-reset: ql-counter;
}
.hero-quicklinks li {
    counter-increment: ql-counter;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}
.hero-quicklinks a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
    transition: transform .2s, color .2s;
}
.hero-quicklinks a:hover { transform: translateX(4px); color: var(--lavender-700); }
.hero-quicklinks .ql-bullet {
    color: var(--yellow);
    font-size: 11px;
    line-height: 1;
}
.hero-quicklinks .ql-label { flex: 1; }
.hero-quicklinks a::after {
    content: counter(ql-counter, decimal-leading-zero);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--ink);
    letter-spacing: 0.5px;
}

/* hero portraits — 3 circular SALUT poster cards with floating name labels */
.hero-portraits {
    position: relative;
    height: 560px;
    max-width: 560px;
    margin: 0 auto;
    /* Padding-bottom gives breathing room for labels that sit below P2/P3 */
    padding-bottom: 60px;
}
.hero-portrait {
    position: absolute;
    margin: 0;
    transition: transform .3s;
}
.hero-portrait-img {
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 20px 40px rgba(38,52,92,0.25);
    aspect-ratio: 1 / 1;
    width: 100%;
}
.hero-portrait-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Floating name label beside each portrait — pill card with name + role + tag */
.hero-portrait-label {
    position: absolute;
    background: var(--white);
    border-radius: 18px;
    padding: 10px 16px 12px;
    box-shadow: 0 8px 24px rgba(38,52,92,0.18);
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 130px;
    z-index: 5;
}
.hero-portrait-label strong {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.hero-portrait-label span {
    font-size: 12px;
    color: var(--ink-soft);
    font-weight: 500;
}
.hero-portrait-label .hp-tag {
    display: inline-block;
    margin-top: 4px;
    background: var(--yellow);
    color: var(--ink);
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    align-self: flex-start;
    font-family: var(--font-heading);
    letter-spacing: 0.2px;
}

/* Portrait 1 — Founder, big center top */
.hero-portrait-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    z-index: 3;
}
.hero-portrait-1 .hero-portrait-img {
    box-shadow: 0 24px 50px rgba(38,52,92,0.3), 0 0 0 6px var(--yellow);
}
/* Label fully outside photo on the right side, sitting next to the upper portion */
.hero-portrait-1 .hero-portrait-label {
    top: 60px;
    left: calc(100% + 20px);
    transform: rotate(2deg);
}

/* Portrait 2 — Bản ngữ, bottom left.
   Label sits BELOW the photo (outside the circle), slightly tucked at the corner
   so the face is never covered. */
.hero-portrait-2 {
    bottom: 0;
    left: 0;
    width: 190px;
    z-index: 2;
}
.hero-portrait-2 .hero-portrait-img { box-shadow: 0 18px 36px rgba(38,52,92,0.22), 0 0 0 4px var(--white); }
.hero-portrait-2 .hero-portrait-label {
    bottom: -50px;
    left: -10px;
    transform: rotate(-3deg);
}

/* Portrait 3 — Chuyên môn, bottom right (mirror of P2) */
.hero-portrait-3 {
    bottom: 0;
    right: 0;
    width: 190px;
    z-index: 2;
}
.hero-portrait-3 .hero-portrait-img { box-shadow: 0 18px 36px rgba(38,52,92,0.22), 0 0 0 4px var(--white); }
.hero-portrait-3 .hero-portrait-label {
    bottom: -50px;
    right: -10px;
    transform: rotate(3deg);
}

.hero-bubble {
    position: absolute;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-script);

    font-style: italic;
    font-size: 24px;
    padding: 8px 18px;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    z-index: 4;
}
.hero-bubble-1 { top: -10px; right: -20px; transform: rotate(8deg); }
.hero-bubble-2 { top: 280px; left: -30px; background: var(--white); transform: rotate(-6deg); }

@media (max-width: 1100px) {
    .hero-portrait-1 .hero-portrait-label { left: calc(100% - 40px); }
    .hero-portrait-2 .hero-portrait-label { left: 0; }
    .hero-portrait-3 .hero-portrait-label { right: 0; }
}
@media (max-width: 960px) {
    .hero-v2 { min-height: auto; padding: 40px 0 60px; }
    .hero-v2 .hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-portraits { height: 480px; max-width: 460px; padding-bottom: 60px; }
    .hero-portrait-1 { width: 240px; }
    .hero-portrait-2, .hero-portrait-3 { width: 160px; }
    .hero-portrait-1 .hero-portrait-label { left: calc(100% - 30px); top: 40px; }
    .hero-portrait-2 .hero-portrait-label { left: 0; bottom: -50px; }
    .hero-portrait-3 .hero-portrait-label { right: 0; bottom: -50px; }
}
@media (max-width: 600px) {
    .hero-v2 .hero-ctas .btn-primary { padding: 14px 22px; font-size: 14px; width: 100%; }
    .hero-portraits { height: 380px; max-width: 360px; padding-bottom: 60px; }
    .hero-portrait-1 { width: 200px; }
    .hero-portrait-2, .hero-portrait-3 { width: 130px; }
    .hero-portrait-label { padding: 8px 12px 10px; min-width: 110px; }
    .hero-portrait-label strong { font-size: 14px; }
    .hero-portrait-label span { font-size: 11px; }
    .hero-portrait-label .hp-tag { font-size: 10px; }
    .hero-portrait-1 .hero-portrait-label { left: calc(100% - 20px); top: 30px; }
    .hero-portrait-2 .hero-portrait-label { left: 0; bottom: -45px; }
    .hero-portrait-3 .hero-portrait-label { right: 0; bottom: -45px; }
    .hero-bubble { font-size: 18px; padding: 6px 14px; }
}

/* =========================================================================
   FOUNDER SECTION
   ========================================================================= */
.founder-section {
    padding: 100px 0;
    background: var(--cream);
}
.founder-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}
@media (max-width: 960px) { .founder-grid { grid-template-columns: 1fr; gap: 50px; } }

.founder-title {
    line-height: 1.1;
    margin-bottom: 8px;
}
.founder-title .founder-name {
    display: block;
    margin-top: 6px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: inherit;
    letter-spacing: -0.015em;
}
.founder-role {
    font-family: var(--font-script);

    font-style: italic;
    font-size: 22px;
    color: var(--lavender-500);
    margin: 0 0 24px;
    line-height: 1.2;
}

.founder-quote {
    background: linear-gradient(135deg, var(--yellow-soft), var(--lavender-50));
    border-left: 4px solid var(--yellow);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin: 24px 0 36px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    font-style: italic;
}
.founder-quote .quote-mark {
    font-size: 30px;
    color: var(--lavender-500);
    font-weight: 700;
}

.values-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
}

.value-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    transition: transform .2s, color .2s;
}
.value-card:last-child { border-bottom: 0; }
.value-card:hover {
    transform: translateX(4px);
    color: var(--lavender-700);
}
.value-card .value-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
}
.value-card .value-icon svg { display: block; }
.value-card h3 {
    font-family: var(--font-heading);
    font-size: 15.5px;
    margin: 0;
    color: inherit;
    line-height: 1.3;
}
.value-card p {
    font-size: 14px;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.55;
}

/* founder portrait + card */
.founder-portrait { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 90px; align-items: center; }
.founder-photo-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 85%;
    max-width: 85%;
    background: var(--lavender-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(-1.5deg);
}
.founder-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.founder-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.founder-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--lavender-100);
}
.founder-card-label {
    font-family: var(--font-script);

    font-style: italic;
    color: var(--lavender-500);
    font-size: 18px;
    margin: 0 0 4px;
    line-height: 1;
}
.founder-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin: 0 0 4px;
    color: var(--ink);
}
.founder-card-title {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 0 0 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--lavender-200);
}
.founder-credentials {
    list-style: none;
    padding: 0;
    margin: 0;
}
.founder-credentials li {
    position: relative;
    padding-left: 22px;
    font-size: 13.5px;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1.5;
}
.founder-credentials li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lavender-500);
    font-weight: 700;
}

/* =========================================================================
   ÉQUIPE SECTION (Notre Équipe)
   ========================================================================= */
.equipe-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--lavender-50) 0%, var(--white) 100%);
}
.equipe-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}
@media (max-width: 760px) { .equipe-categories { grid-template-columns: 1fr; } }

.equipe-cat {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--white);
    border: 2px solid var(--lavender-100);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
}
.equipe-cat-icon {
    font-size: 36px;
    line-height: 1;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--yellow-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.equipe-cat h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin: 0 0 6px;
    color: var(--ink);
}
.equipe-cat p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.equipe-cat em { color: var(--lavender-600); font-style: italic; }

.equipe-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 -24px 32px;
    padding: 8px 24px 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.equipe-carousel::-webkit-scrollbar { height: 8px; }
.equipe-carousel::-webkit-scrollbar-thumb { background: var(--lavender-200); border-radius: 4px; }
.equipe-carousel::-webkit-scrollbar-track { background: transparent; }
.equipe-track {
    display: flex;
    gap: 18px;
    width: max-content;
}
.equipe-card {
    width: 220px;
    flex-shrink: 0;
    background: var(--white);
    border: 2px solid var(--lavender-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.equipe-card:hover {
    transform: translateY(-4px);
    border-color: var(--yellow);
    box-shadow: var(--shadow-md);
}
.equipe-photo { aspect-ratio: 1 / 1; background: var(--lavender-50); }
.equipe-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.equipe-info { padding: 16px 18px 20px; }
.equipe-honorific {
    font-family: var(--font-script);

    font-style: italic;
    color: var(--lavender-500);
    font-size: 16px;
    line-height: 1;
}
.equipe-info h4 {
    font-family: var(--font-heading);
    font-size: 19px;
    margin: 2px 0 6px;
    color: var(--ink);
}
.equipe-cert {
    display: inline-block;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 700;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    margin: 0 0 8px;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}
.equipe-role {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.4;
}

/* =========================================================================
   EXAM COURSES (top row, 2 large cards — DELF / TCF)
   Each spans 2 columns of the 4-col grid below.
   ========================================================================= */
.exam-courses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 720px) { .exam-courses { grid-template-columns: 1fr; } }

.exam-card {
    background: linear-gradient(135deg, var(--lavender-700) 0%, var(--lavender-800) 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.exam-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255, 224, 102, 0.18) 0%, transparent 50%);
    pointer-events: none;
}
.exam-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(38, 52, 92, 0.25);
    color: var(--white);
}
.exam-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
}
.exam-code {
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 18px;
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 0 var(--yellow-dark);
}
.exam-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
}
.exam-tagline {
    font-size: 13px;
    color: var(--yellow);
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.exam-goal {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.55;
    flex: 1;
}
.exam-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.exam-stats .level-stat {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.exam-stats .level-stat svg { color: var(--yellow); }
.exam-card .level-link {
    color: var(--yellow);
    font-weight: 800;
    margin-top: 2px;
}
.exam-card:hover .level-link { color: var(--white); transform: translateX(3px); }

/* =========================================================================
   COURSE LEVELS (4 cards, all visible — A1/A2/B1/B2)
   ========================================================================= */
.course-levels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
@media (max-width: 960px) { .course-levels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .course-levels { grid-template-columns: 1fr; } }

.level-card {
    background: var(--lavender-50);
    border: 2px solid var(--lavender-100);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--ink);
    transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
    text-decoration: none;
}
.level-card:hover {
    transform: translateY(-4px);
    border-color: var(--yellow);
    background: var(--lavender-100);
    box-shadow: var(--shadow-md);
    color: var(--ink);
}
.level-title {
    align-self: flex-start;
    background: var(--white);
    color: var(--lavender-700);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    padding: 6px 16px;
    border-radius: 999px;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.3px;
    transition: background .2s, color .2s;
}
.level-card:hover .level-title { background: var(--yellow); color: var(--ink); }
.level-goal {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.55;
    flex: 1;
}
.level-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.level-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--white);
    color: var(--ink-soft);
    font-size: 11.5px;
    padding: 4px 9px;
    border-radius: 999px;
    white-space: nowrap;
}
.level-stat svg { color: var(--lavender-600); flex-shrink: 0; }
.level-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13.5px;
    color: var(--lavender-700);
    margin-top: 4px;
    transition: color .2s, transform .2s;
    align-self: flex-start;
}
.level-card:hover .level-link {
    color: var(--ink);
    transform: translateX(3px);
}

.supplements {
    background: linear-gradient(135deg, var(--lavender-100), var(--yellow-soft));
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.supplements-label {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    font-size: 15px;
}
.supplements ul {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.supplements li {
    border-radius: 999px;
}
.supplements li a {
    background: var(--white);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    border: 1px solid var(--lavender-200);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: border-color .2s, background .2s, color .2s;
}
.supplements li a:hover {
    border-color: var(--yellow);
    background: var(--yellow-soft);
    color: var(--ink);
}

/* =========================================================================
   RESULTS / TESTIMONIALS (homepage)
   ========================================================================= */
.results-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--lavender-50) 100%);
}
/* Testimonial carousel — one slide at a time, photo left + content right */
.testimonial-carousel {
    position: relative;
    margin: 0 auto;
    max-width: 960px;
}
.testimonial-viewport {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 2px solid var(--lavender-100);
}
.testimonial-track {
    display: flex;
    transition: transform .45s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.testimonial-slide {
    flex: 0 0 100%;
    margin: 0;
    padding: 40px 48px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: center;
}
.testimonial-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--yellow);
    background: var(--lavender-100);
}
.testimonial-avatar-lg {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lavender-200) 0%, var(--lavender-300) 100%);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 800;
    border: 4px solid var(--yellow);
}
.testimonial-content {
    min-width: 0;
}
.testimonial-content .result-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 0 var(--yellow-dark);
}
.testimonial-content blockquote {
    margin: 0 0 22px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    font-style: italic;
}
.testimonial-content figcaption {
    padding-top: 16px;
    border-top: 1px dashed var(--lavender-200);
}
.testimonial-content figcaption strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 4px;
}
.testimonial-content figcaption span {
    font-size: 13.5px;
    color: var(--ink-soft);
}

/* Carousel navigation */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--white);
    color: var(--ink);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
    z-index: 2;
}
.testimonial-nav:hover { background: var(--yellow); transform: translateY(-50%) scale(1.08); }
.testimonial-prev { left: -22px; }
.testimonial-next { right: -22px; }

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}
.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: var(--lavender-200);
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.testimonial-dot:hover { background: var(--lavender-400); }
.testimonial-dot.is-active { background: var(--lavender-700); transform: scale(1.3); }

@media (max-width: 768px) {
    .testimonial-slide {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 20px;
        text-align: center;
    }
    .testimonial-photo img,
    .testimonial-avatar-lg { width: 140px; height: 140px; font-size: 56px; }
    .testimonial-content .result-score { margin-left: auto; margin-right: auto; }
    .testimonial-content blockquote { font-size: 15px; }
    .testimonial-prev { left: -8px; }
    .testimonial-next { right: -8px; }
}

/* =========================================================================
   NEWS GRID — IELTS-Workshop-style cards (banner header + body)
   ========================================================================= */
.news-section { padding: 100px 0; background: var(--cream); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
}

/* Banner header — bold designed thumbnail with text overlays */
.news-banner {
    position: relative;
    aspect-ratio: 16 / 10;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: var(--ink);
}
/* Decorative big icon in the corner */
.news-banner-icon {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 50px;
    line-height: 1;
    opacity: 0.85;
    transition: transform .3s;
}
.news-card:hover .news-banner-icon { transform: rotate(-8deg) scale(1.05); }

.news-banner-kicker {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.85;
    margin-bottom: 4px;
}
.news-banner-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(20px, 1.6vw, 26px);
    letter-spacing: -0.01em;
    line-height: 1.05;
}
.news-banner-sub {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    margin-top: 4px;
    letter-spacing: 0.5px;
    opacity: 0.85;
}
.news-banner-tag {
    position: absolute;
    top: 16px;
    left: 18px;
    background: rgba(255,255,255,0.9);
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

/* Theme variants — each card gets a distinct designed banner */
.news-card--yellow .news-banner {
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.4), transparent 60%),
        linear-gradient(135deg, var(--yellow) 0%, #F5D770 100%);
}
.news-card--lavender .news-banner {
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.3), transparent 60%),
        linear-gradient(135deg, var(--lavender-200) 0%, var(--lavender-300) 100%);
    color: var(--ink);
}
.news-card--cream .news-banner {
    background:
        radial-gradient(circle at 70% 30%, var(--yellow-soft), transparent 70%),
        linear-gradient(135deg, var(--cream-dark) 0%, #F5DFB5 100%);
}
.news-card--ink .news-banner {
    background:
        radial-gradient(circle at 30% 30%, var(--lavender-700), transparent 70%),
        linear-gradient(135deg, var(--ink) 0%, var(--lavender-800) 100%);
    color: var(--white);
}
.news-card--ink .news-banner-tag {
    background: var(--yellow);
    color: var(--ink);
}

/* Body — title + excerpt below banner */
.news-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 8px;
    color: var(--ink);
}
.news-card p {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.55;
    flex: 1;
}

