:root {
  --navy: #37457c;
  --red: #c4161c;
  --text: #212121;
  --muted: #5d5d61;
  --pill: #5d5d61;
  --band: #e1e2ea;
  --nav: #b8ccd8;
  --border: #c9cbe0;
  --green: #2ecc71;
  --blue: #4a9bd6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 300; color: var(--text); background: #fff; font-size: 15px; line-height: 1.55; letter-spacing: .02em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1000px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

/* Fixed social */
.social-fixed { position: fixed; left: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 40; }
.social-fixed img { width: 30px; height: 30px; object-fit: contain; transition: transform .2s; }
.social-fixed a:hover img { transform: scale(1.12); }

/* Header */
.header { background: #fff; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 10px; gap: 20px; }
.logo img { height: 74px; width: auto; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.header-row { display: flex; align-items: center; gap: 10px; }
.lang-pill { display: flex; align-items: center; gap: 2px; border: 1px solid var(--border); border-radius: 30px; padding: 3px; background: #fff; font-size: 11px; cursor: pointer; font-family: inherit; color: var(--muted); }
.lang { border: 0; background: transparent; border-radius: 20px; padding: 3px 8px; display: flex; align-items: center; gap: 4px; font-size: 11px; cursor: pointer; color: var(--muted); font-family: inherit; }
.lang.active { background: var(--band); color: var(--navy); }
.lang-cn { padding: 6px 10px; gap: 5px; }
.lang-cn img { width: 16px; height: 16px; border-radius: 50%; }
.flag { width: 16px; height: 16px; border-radius: 50%; display: inline-block; flex: none; }
.flag-ch { background: #d52b1e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M13 6h6v7h7v6h-7v7h-6v-7H6v-6h7z'/%3E%3C/svg%3E") center/80% no-repeat; }
.flag-en { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23012169'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23C8102E' stroke-width='2'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E") center/cover; }
.pill { display: inline-block; border: 1px solid var(--navy); color: var(--navy); border-radius: 30px; padding: 6px 22px; font-size: 13px; transition: .2s; background: #fff; }
.pill:hover { background: var(--navy); color: #fff; }
.pill-sm { padding: 1px 14px; font-size: 11px; }
.pill-dark { background: var(--pill); border-color: var(--pill); color: #fff; font-family: Poppins, sans-serif; font-weight: 400; font-size: 15px; letter-spacing: .06em; padding: 8px 22px; }
.pill-dark:hover { background: #3c3c40; border-color: #3c3c40; }
.phone { font-size: 12px; color: var(--muted); }
.h-social { display: flex; gap: 6px; }
.h-social img { width: 15px; height: 15px; }
.search { display: flex; align-items: center; gap: 4px; border: 1px solid var(--border); border-radius: 30px; padding: 3px 10px; color: var(--navy); }
.search input { border: 0; outline: 0; font: inherit; font-size: 12px; width: 110px; background: transparent; }
.eacademy { display: flex; flex-direction: column; gap: 3px; }
.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { width: 26px; height: 2px; background: var(--navy); display: block; }

.red-strip { background: var(--red); color: #fff; text-align: center; font-size: 13px; padding: 7px 16px; line-height: 1.5; }

/* Nav */
.nav { background: var(--nav); position: sticky; top: 0; z-index: 30; }
.nav-inner { display: flex; justify-content: center; gap: 4px; list-style: none; }
.nav li { position: relative; }
.nav .top { display: block; font-family: Poppins, sans-serif; font-size: 14px; font-weight: 400; color: var(--navy); padding: 8px 12px; transition: color .2s; }
.nav .top:hover, .nav .top.active { color: #fff; }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.15); display: none; flex-direction: column; padding: 6px 0; z-index: 50; max-height: 70vh; overflow-y: auto; }
.nav .has-sub:hover .sub { display: flex; }
.nav .sub a { padding: 7px 18px; font-size: 13px; color: var(--navy); font-family: Poppins, sans-serif; }
.nav .sub a:hover { background: var(--band); }

/* Hero */
.hero { position: relative; height: 520px; overflow: hidden; background: #222; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s; }
.hero-slide.active { opacity: 1; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 54px; font-weight: 200; cursor: pointer; padding: 10px 20px; opacity: .85; z-index: 2; }
.hero-arrow.prev { left: 50px; } .hero-arrow.next { right: 50px; }
.hero-caption { position: absolute; left: max(16px, calc((100% - 1000px) / 2)); bottom: 50px; z-index: 2; }
.hero-caption h4 { display: inline-block; font-family: Poppins, sans-serif; font-weight: 400; color: #fff; font-size: 28px; background: rgba(0,0,0,.45); padding: 2px 10px; margin-bottom: 12px; }
.btn-white { display: table; background: #fff; color: var(--navy); font-family: Poppins, sans-serif; font-weight: 500; padding: 9px 24px; border-radius: 30px; font-size: 14px; transition: .2s; }
.btn-white:hover { background: var(--navy); color: #fff; }
.hero-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.hero-dots button.active { background: #fff; }

/* Titles */
.title { font-family: Poppins, sans-serif; font-weight: 400; font-size: 26px; color: #000; margin-bottom: 8px; letter-spacing: 0; }
.title.center, .band > .title, .programmes > .title { text-align: center; }

/* Programmes */
.programmes { padding: 10px 0 0; }
.prog-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.prog-col { background: var(--band); padding: 30px 50px 30px; font-size: 13px; font-weight: 400; }
.prog-pill { display: block; text-align: center; border: 1px solid var(--navy); border-radius: 30px; padding: 6px 12px; font-size: 13px; color: var(--navy); margin: 0 auto 18px; max-width: 260px; transition: .2s; }
.prog-col ul + .prog-pill { margin-top: 18px; }
.prog-pill:hover { background: var(--navy); color: #fff; }
.prog-label { color: var(--muted); font-weight: 300; }
.prog-col ul { padding-left: 18px; margin-bottom: 14px; }
.prog-col li { line-height: 1.6; }

/* Split rows */
.split { display: grid; grid-template-columns: 200px 1fr; gap: 16px; width: min(900px, 100% - 32px); margin: 0 auto; padding: 16px 0; }
.split-left { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.split-left img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.split-left .spaced { margin-top: 70px; }
.split-left.stack { gap: 40px; }
.split-right p { text-align: justify; margin-bottom: 16px; font-size: 14px; }
.split-right .title { margin-top: 4px; }
.split-right ol { padding-left: 22px; margin-bottom: 18px; font-size: 14px; }
.split-right ol li { padding: 1px 0; }
.dots { padding-left: 20px; margin-bottom: 18px; font-size: 14px; }
.dots li { padding: 1px 0; }
.u { text-decoration: underline; }
#pourquoi .split-right { padding-right: 60px; }

/* Bands */
.band { background: var(--band); padding: 18px 0 14px; }
.band-intro { text-align: center; width: min(900px, 100% - 32px); margin: 0 auto 18px; font-size: 14px; }
.band-left { padding: 10px 0; }
.band-left > .split-right.only { width: min(900px, 100% - 32px); margin: 0 auto; padding-left: 216px; }
.band .center { margin-top: 10px; }

/* Sliders */
.slider { position: relative; width: min(940px, 100% - 32px); margin: 0 auto; overflow: hidden; }
.slider-track { display: flex; gap: 8px; transition: transform .6s ease; }
.slide { flex: 0 0 calc((100% - 24px) / 4); aspect-ratio: 16/9; position: relative; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; padding: 22px 10px 8px; font-size: 12px; opacity: 0; transition: .3s; white-space: pre-line; }
.slide:hover figcaption { opacity: 1; }
.sl-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 44px; font-weight: 200; cursor: pointer; text-shadow: 0 1px 4px rgba(0,0,0,.6); padding: 0 16px; }
.sl-arrow.prev { left: 0; } .sl-arrow.next { right: 0; }

/* Admission circles */
.circles { gap: 4px; padding-top: 0; }
.circle { width: 125px; height: 125px; border-radius: 50%; background: var(--pill); color: #fff; display: grid; place-items: center; font-family: "Playfair Display", serif; font-style: italic; font-weight: 700; font-size: 16px; text-align: center; transition: .25s; }
.circle:hover { background: var(--navy); transform: scale(1.05); }
#admission { padding-top: 22px; }

/* Stats */
.stats { background: #f7f7f7; display: flex; justify-content: center; gap: 40px; padding: 20px 16px 70px; flex-wrap: wrap; }
.stat { position: relative; width: 196px; height: 196px; }
.stat svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.stat circle { fill: none; stroke-width: 5; }
.stat .track { stroke: #dcdcdc; fill: #f0f0f0; }
.stat .bar { stroke: var(--green); stroke-linecap: butt; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1.6s ease; }
.stat-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: Poppins, sans-serif; text-align: center; padding: 0 30px; }
.stat-in .ico { font-size: 22px; line-height: 1; color: #555; }
.stat-in .num { font-size: 34px; font-weight: 400; line-height: 1.4; }
.stat-in small { font-size: 14px; font-weight: 300; color: #444; line-height: 1.3; }

/* Events / news */
.events { text-align: center; padding: 80px 16px 100px; font-family: Poppins, sans-serif; font-size: 18px; color: var(--navy); border-bottom: 6px solid; border-image: repeating-linear-gradient(135deg, #555 0 4px, transparent 4px 8px) 6; }
.news { padding: 6px 16px 30px; border-bottom: 4px solid #5d5d61; }
.news-title { text-align: center; font-family: Poppins, sans-serif; font-weight: 400; font-size: 20px; margin-bottom: 14px; }
.news-title a { text-decoration: underline; }
.news-grid { width: min(700px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { border: 1px solid var(--border); background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s; }
.news-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-card div { padding: 18px 22px 26px; text-align: center; }
.news-card time { font-size: 9px; color: #333; display: block; margin-bottom: 18px; }
.news-card h3 { font-family: Poppins, sans-serif; font-weight: 300; font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Partners */
.partners { overflow: hidden; padding: 6px 0; border-bottom: 4px solid #5d5d61; }
.marquee { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee img { height: 70px; width: auto; }
.partners:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* RDV form */
.rdv { padding: 20px 16px 30px; border-bottom: 4px solid #5d5d61; }
.rdv h2 { text-align: center; font-family: Poppins, sans-serif; font-weight: 400; font-size: 20px; margin-bottom: 18px; }
.rdv-form { width: min(690px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; }
.rdv-form label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--navy); font-weight: 400; }
.rdv-form input:not([type=checkbox]), .rdv-form select, .tel { height: 32px; border: 1px solid #8f93b8; background: #fff; font: inherit; font-size: 13px; padding: 0 8px; width: 100%; }
.rdv-form input:focus, .rdv-form select:focus { outline: 1px solid var(--navy); }
.tel { display: flex; align-items: center; gap: 6px; }
.tel .flag { border-radius: 2px; width: 18px; height: 12px; }
.tel input { border: 0 !important; height: 28px !important; padding: 0 !important; outline: 0 !important; }
.rdv-form .check { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 8px; font-size: 12px; }
.rdv-form button { grid-column: 1 / -1; background: var(--blue); color: #fff; border: 0; height: 30px; font: inherit; font-size: 13px; cursor: pointer; transition: .2s; }
.rdv-form button:hover { background: #2f80bd; }
.form-msg { grid-column: 1 / -1; text-align: center; color: #1d8a4a; font-size: 13px; }

/* Footer */
.footer { padding: 18px 16px 50px; border-bottom: 4px solid #5d5d61; text-align: center; }
.footer h3 { font-family: Poppins, sans-serif; font-weight: 400; font-size: 17px; letter-spacing: .06em; }
.footer .sub { font-family: Poppins, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .08em; margin-bottom: 4px; }
.footer-cols { width: min(700px, 100%); margin: 0 auto; display: flex; justify-content: space-between; text-align: left; gap: 30px; font-size: 13px; letter-spacing: .06em; }
.footer h4 { font-family: Poppins, sans-serif; font-weight: 400; font-size: 18px; text-decoration: underline; margin-bottom: 4px; letter-spacing: 0; }
.footer p { margin-bottom: 18px; }
.footer a { text-decoration: underline; }
.copyright { background: var(--band); text-align: center; font-size: 10px; padding: 9px 16px; margin-top: 8px; }


/* Inner pages */
.page-hero { height: 260px; background: var(--navy) center/cover no-repeat; position: relative; display: flex; align-items: flex-end; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(20,25,50,.75)); }
.page-hero.plain { height: 140px; background: var(--band); }
.page-hero.plain::before { display: none; }
.page-hero h1 { position: relative; width: min(900px, 100% - 32px); margin: 0 auto 22px; font-family: Poppins, sans-serif; font-weight: 400; font-size: clamp(22px, 3.2vw, 34px); color: #fff; line-height: 1.25; }
.page-hero.plain h1 { color: #000; }
.page-body { width: min(900px, 100% - 32px); margin: 0 auto; padding: 30px 0 50px; font-size: 14.5px; }
.page-body h2 { font-family: Poppins, sans-serif; font-weight: 400; font-size: 24px; margin: 26px 0 10px; }
.page-body h3 { font-family: Poppins, sans-serif; font-weight: 500; font-size: 17px; margin: 20px 0 8px; color: var(--navy); }
.page-body p { margin-bottom: 12px; }
.page-body .lead { font-size: 16px; color: var(--muted); border-left: 3px solid var(--red); padding-left: 14px; margin-bottom: 22px; }
.media-one { margin: 16px 0; }
.media-one img { max-height: 340px; width: auto; max-width: 100%; margin: 0 auto; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 16px 0; }
.media-grid figure { background: #fff; }
.media-grid img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #f6f6f8; }
.media-grid figcaption { font-size: 12px; text-align: center; padding: 6px 4px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-top: 26px; }
.card { border: 1px solid var(--border); background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.12); transform: translateY(-3px); }
.card img, .card .noimg { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card .noimg { background: var(--band); display: grid; place-items: center; font-family: Poppins, sans-serif; color: var(--navy); }
.card div { padding: 14px 16px 18px; }
.card h3 { font-family: Poppins, sans-serif; font-weight: 400; font-size: 14.5px; color: var(--text); margin: 0; line-height: 1.4; }
.page-actions, .related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.related { padding-top: 20px; border-top: 1px solid var(--border); }

/* Responsive */
@media (max-width: 900px) {
  .social-fixed { display: none; }
  .header-right { display: none; }
  .burger { display: flex; }
  .logo img { height: 56px; }
  .nav-inner { flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height .35s; }
  .nav.open .nav-inner { max-height: 400px; }
  .nav .top { text-align: center; border-top: 1px solid rgba(255,255,255,.4); }
  .nav.open .nav-inner { max-height: 80vh; overflow-y: auto; }
  .nav .sub { position: static; box-shadow: none; min-width: 0; max-height: none; background: #eef2f6; }
  .nav .has-sub:hover .sub { display: none; }
  .nav .has-sub.open .sub { display: flex; }
  .nav .sub a { text-align: center; }
  .hide-sm { display: none; }
  .hero { height: 360px; }
  .hero-arrow.prev { left: 0; } .hero-arrow.next { right: 0; }
  .hero-caption h4 { font-size: 19px; }
  .prog-cols { grid-template-columns: 1fr; }
  .prog-col { padding: 24px; }
  .split { grid-template-columns: 1fr; }
  .split-left img { max-width: 420px; }
  .split-left .spaced { margin-top: 0; }
  .split-left.stack { flex-direction: row; gap: 10px; }
  .split-left.stack img { width: 50%; }
  #pourquoi { display: flex; flex-direction: column-reverse; }
  #pourquoi .split-right { padding-right: 0; }
  .circles { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .circle { width: 100px; height: 100px; font-size: 13px; }
  .band-left > .split-right.only { padding-left: 0; }
  .slide { flex-basis: calc((100% - 8px) / 2); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .rdv-form { grid-template-columns: 1fr 1fr; }
  .footer-cols { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 560px) {
  .slide { flex-basis: 100%; }
  .news-grid, .rdv-form { grid-template-columns: 1fr; }
  .stat { width: 160px; height: 160px; }
  .stat-in .num { font-size: 28px; }
  .stat-in small { font-size: 12px; }
}
