/* =================================================================
   LANGUAGE TREE — pages.css
   Page-specific sections & rich components
   ================================================================= */

/* -----------------------------------------------------------------
   HOMEPAGE HERO
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(8rem, 14vh, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 12% 18%, rgba(154,196,58,.16), transparent 60%),
    radial-gradient(45% 55% at 88% 28%, rgba(199,154,62,.12), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  position: relative;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem .5rem .5rem .9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .85rem; font-weight: 500; color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.hero__badge b { color: var(--ink); }
.hero__badge .pill {
  background: var(--grad-leaf); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .25rem .65rem; border-radius: 100px; letter-spacing: .02em;
}
.hero h1 {
  font-size: var(--fs-hero);
  margin: 1rem 0 1rem;
  letter-spacing: -0.03em;
}
.hero h1 .serif { display: inline; }
.hero__lead { font-size: var(--fs-lead); color: var(--muted); max-width: 46ch; }
.hero__cta { margin-top: 2rem; align-items: center; }
.hero__play {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.hero__play .play-ring {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, background .3s, color .3s;
}
.hero__play:hover .play-ring { background: var(--leaf); color: #fff; transform: scale(1.08); }
.hero__play svg { width: 18px; height: 18px; }

.hero__trust { display: flex; align-items: center; gap: 1.6rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero__trust .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.hero__trust .t-num { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.3rem; }
.hero__trust small { color: var(--muted); font-size: .82rem; display: block; }
.hero__trust .div { width: 1px; height: 34px; background: var(--line-strong); }

/* Hero visual — the "language tree" signature */
.hero__visual { position: relative; }
.hero__photo-wrap { position: relative; aspect-ratio: 1/1.05; }
.hero__photo {
  position: absolute; inset: 8% 6% 0 6%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__slides { position: relative; width: 100%; height: 100%; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; z-index: 1;
  transition: opacity 1.1s var(--ease);
}
.hero__slide.is-active { opacity: 1; z-index: 2; }
.hero__slide-arrow {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 4;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--ink);
  display: grid; place-items: center; border: none; cursor: pointer;
  transition: background .25s, transform .25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.hero__slide-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero__slide-arrow svg { width: 18px; height: 18px; }
.hero__slide-arrow.prev { left: .7rem; }
.hero__slide-arrow.next { right: .7rem; }
.hero__slidenav {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; gap: .35rem; padding: .8rem .8rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(12,24,19,.62) 55%);
  overflow-x: auto; scrollbar-width: none;
}
.hero__slidenav::-webkit-scrollbar { display: none; }
.hero__slidenav-btn {
  flex: 1 0 auto; white-space: nowrap;
  background: rgba(255,255,255,.16); color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  font-size: .74rem; font-weight: 700; letter-spacing: .01em;
  padding: .42rem .8rem; border-radius: 999px;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.hero__slidenav-btn:hover { background: rgba(255,255,255,.28); }
.hero__slidenav-btn.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(180deg, transparent 55%, rgba(12,24,19,.35));
  pointer-events: none;
}
/* floating language "leaves" */
.leaf-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem;
  background: var(--card);
  border-radius: 100px;
  box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  border: 1px solid var(--line);
  z-index: 3;
  animation: floaty 6s ease-in-out infinite;
}
.leaf-chip .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.leaf-chip .dot img { width: 100%; height: 100%; object-fit: cover; }
.leaf-chip.c1 { top: 4%;  left: -4%;  animation-delay: 0s; }
.leaf-chip.c2 { top: 30%; right: -8%; animation-delay: 1.2s; }
.leaf-chip.c3 { bottom: 20%; left: -8%; animation-delay: .6s; }
.leaf-chip.c4 { bottom: 12%; right: -8%; animation-delay: 1.8s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero__statcard {
  position: relative; margin-top: 1.2rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow); z-index: 4;
  display: flex; align-items: center; gap: .9rem;
  text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.hero__statcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--leaf); }
.hero__statcard .av { display: flex; }
.hero__statcard .av span {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff;
  margin-left: -10px; background-size: cover; background-position: center;
  box-shadow: var(--shadow-sm);
}
.hero__statcard .av span:first-child { margin-left: 0; }
.hero__statcard b { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }
.hero__statcard small { color: var(--muted); font-size: .78rem; }
.hero__statcard-arrow {
  margin-left: auto; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: color-mix(in srgb, var(--leaf) 12%, white); color: var(--leaf-deep);
  display: grid; place-items: center;
  transition: background .3s, color .3s, transform .3s;
}
.hero__statcard-arrow svg { width: 15px; height: 15px; }
.hero__statcard:hover .hero__statcard-arrow { background: var(--leaf); color: #fff; transform: translateX(3px); }

/* -----------------------------------------------------------------
   MARQUEE / TRUSTED BY
   ----------------------------------------------------------------- */
.trusted { padding-block: clamp(2.5rem,5vw,3.5rem); border-block: 1px solid var(--line); background: var(--card); }
.trusted__label { text-align: center; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.8rem; font-family: var(--font-head); font-weight: 600; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: scrollx 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--charcoal); white-space: nowrap; display: flex; align-items: center; gap: .6rem; }
.marquee__item svg { width: 22px; height: 22px; color: var(--leaf); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* -----------------------------------------------------------------
   COURSE CARDS
   ----------------------------------------------------------------- */
.course-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
  display: flex; flex-direction: column;
}
.course-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent, var(--leaf));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.course-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.course-card:hover::before { transform: scaleX(1); }
.course-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.course-card__flag {
  width: 60px; height: 60px; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.9rem;
  background: color-mix(in srgb, var(--accent, var(--leaf)) 12%, white);
  transition: transform .5s var(--ease);
  overflow: hidden;
}
.course-card__flag img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-card:hover .course-card__flag { transform: rotate(-8deg) scale(1.06); }
.course-card__level {
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 100px;
  background: var(--paper-2); color: var(--muted);
}
.course-card h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.course-card p { color: var(--muted); font-size: .94rem; margin-bottom: 1.2rem; flex: 1; }
.course-card__meta { display: flex; gap: 1.2rem; margin-bottom: 1.3rem; font-size: .85rem; color: var(--muted); }
.course-card__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.course-card__meta svg { width: 15px; height: 15px; color: var(--accent, var(--leaf)); }
.course-card .link-arrow { color: var(--accent, var(--leaf-deep)); }
.course-card .link-arrow::after { background: var(--accent, var(--leaf)); }
.course-divider { border: none; border-top: 1px solid var(--line); margin: 3rem 0 0; }
/* -----------------------------------------------------------------
   PROCESS TIMELINE
   ----------------------------------------------------------------- */
.process { position: relative; }
.process__line {
  position: absolute; top: 46px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
}
.process__line span { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--grad-leaf); transition: width 1.4s var(--ease); }
.process__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; position: relative; }
.process__step { text-align: center; }
.process__num {
  width: 78px; height: 78px; margin: 0 auto 1.3rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--card); border: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.7rem; color: var(--leaf-deep);
  box-shadow: var(--shadow-sm);
  position: relative; z-index: 2;
  transition: transform .4s, background .4s, color .4s, box-shadow .4s;
}
.process__step:hover .process__num { background: var(--grad-leaf); color: #fff; transform: scale(1.08); box-shadow: var(--shadow); }
.process__step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.process__step p { color: var(--muted); font-size: .92rem; }

/* -----------------------------------------------------------------
   STATS / COUNTERS
   ----------------------------------------------------------------- */
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1.5rem,3vw,3rem); }
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 15%; height: 70%; width: 1px; background: rgba(255,255,255,.14); }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem,5vw,4rem); line-height: 1; color: #fff; letter-spacing: -0.03em; }
.stat__num .suf { color: var(--leaf-soft); }
.stat__label { margin-top: .7rem; color: #aebcb0; font-size: .95rem; }

/* -----------------------------------------------------------------
   TESTIMONIALS CAROUSEL
   ----------------------------------------------------------------- */
.tcarousel { position: relative; }
.tcarousel__viewport { overflow: hidden; }
.tcarousel__track { display: flex; transition: transform .7s var(--ease); }
.tslide { min-width: 100%; padding: 0 .5rem; }
@media (min-width: 880px) { .tslide { min-width: 50%; } }
.tcard {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem;
  height: 100%; display: flex; flex-direction: column;
}
.tcard__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 1rem; }
.tcard__quote { font-size: 1.05rem; line-height: 1.7; color: var(--charcoal-text); flex: 1; }
.tcard__quote::before { content: "“"; font-family: var(--font-display); font-size: 3rem; color: var(--leaf); line-height: 0; vertical-align: -0.4em; margin-right: .2rem; }
.tcard__person { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.tcard__av { width: 50px; height: 50px; border-radius: 50%; background: var(--grad-leaf); display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; overflow: hidden; flex-shrink: 0;}
.tcard__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard__person b { display: block; font-family: var(--font-head); color: var(--ink); }
.tcard__person small { color: var(--muted); }
.tcarousel__nav { display: flex; gap: .6rem; justify-content: center; margin-top: 2rem; }
.tcarousel__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: var(--ink); transition: all .3s; }
.tcarousel__nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tcarousel__nav svg { width: 18px; height: 18px; }
.tcarousel__dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.3rem; }
.tcarousel__dots button { width: 8px; height: 8px; border-radius: 100px; background: var(--line-strong); transition: width .3s, background .3s; }
.tcarousel__dots button.active { width: 26px; background: var(--leaf); }

/* -----------------------------------------------------------------
   GALLERY
   ----------------------------------------------------------------- */
.gallery__filter { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.gallery__filter button {
  padding: .6rem 1.3rem; border-radius: 100px; font-family: var(--font-head); font-weight: 500;
  font-size: .92rem; color: var(--muted); border: 1.5px solid var(--line); transition: all .3s;
}
.gallery__filter button.active, .gallery__filter button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery__grid { columns: 3; column-gap: 1.1rem; }
.gallery__item {
  break-inside: avoid; margin-bottom: 1.1rem; border-radius: var(--radius-sm);
  overflow: hidden; position: relative; cursor: pointer; display: block;
}
.gallery__item img { width: 100%; display: block; transition: transform .7s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12,24,19,.6)); opacity: 0; transition: opacity .4s; }
.gallery__item .cap { position: absolute; left: 1rem; bottom: 1rem; color: #fff; font-family: var(--font-head); font-weight: 600; opacity: 0; transform: translateY(10px); transition: all .4s; z-index: 2; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after, .gallery__item:hover .cap { opacity: 1; transform: none; }
.gallery__item.hide { display: none; }
@media (max-width: 880px) { .gallery__grid { columns: 2; } }
@media (max-width: 560px) { .gallery__grid { columns: 1; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 980; background: rgba(8,16,12,.92); display: grid; place-items: center; padding: 2rem; opacity: 0; visibility: hidden; transition: opacity .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 1.4rem; right: 1.4rem; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); color: #fff; display: grid; place-items: center; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lightbox__nav:hover { background: var(--leaf); }
.lightbox__nav.prev { left: 1.4rem; } .lightbox__nav.next { right: 1.4rem; }
.lightbox svg { width: 22px; height: 22px; }

/* -----------------------------------------------------------------
   BLOG CARDS
   ----------------------------------------------------------------- */
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-card__img { aspect-ratio: 16/10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.07); }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__tag { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-deep); margin-bottom: .7rem; }
.post-card h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: .6rem; }
.post-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; font-size: .82rem; color: var(--muted); }

/* -----------------------------------------------------------------
   FAQ ACCORDION
   ----------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.faq__q .ic { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; transition: all .35s var(--ease); position: relative; }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), background .35s; }
.faq__q .ic::before { width: 13px; height: 1.8px; }
.faq__q .ic::after { width: 1.8px; height: 13px; }
.faq__item.open .faq__q .ic { background: var(--leaf); border-color: var(--leaf); }
.faq__item.open .faq__q .ic::before, .faq__item.open .faq__q .ic::after { background: #fff; }
.faq__item.open .faq__q .ic::after { transform: rotate(90deg) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__a p { padding: 0 0 1.5rem; color: var(--muted); max-width: 64ch; }

/* -----------------------------------------------------------------
   CTA BANNER
   ----------------------------------------------------------------- */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--grad-ink); padding: clamp(3rem,6vw,5.5rem); text-align: center; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(111,174,47,.22), transparent 60%); }
.cta-banner__leaves { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.cta-banner h2 { color: #fff; font-size: var(--fs-h2); position: relative; max-width: 18ch; margin-inline: auto; }
.cta-banner p { color: #c2cec5; position: relative; margin: 1.2rem auto 2rem; max-width: 50ch; }
.cta-banner .btn-row { justify-content: center; position: relative; }

/* -----------------------------------------------------------------
   WHY-CHOOSE SPLIT
   ----------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,4rem); align-items: center; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__badge { position: absolute; bottom: 1.4rem; left: 1.4rem; right: 1.4rem; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-radius: var(--radius); padding: 1.2rem 1.4rem; display: flex; align-items: center; gap: 1rem; }
.split__badge .ring { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-leaf); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.split__badge svg { width: 24px; height: 24px; }
.split__badge b { display: block; font-family: var(--font-head); color: var(--ink); }
.split__badge small { color: var(--muted); font-size: .84rem; }
.split__list { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.split__list li { display: flex; gap: .9rem; align-items: flex-start; }
.split__list .chk { width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--leaf) 15%, white); color: var(--leaf-deep); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.split__list svg { width: 16px; height: 16px; }
.split__list b { font-family: var(--font-head); color: var(--ink); display: block; }
.split__list span { color: var(--muted); font-size: .92rem; }

/* -----------------------------------------------------------------
   INNER PAGE HERO
   ----------------------------------------------------------------- */
.page-hero { position: relative; padding-top: clamp(9rem, 16vh, 12rem); padding-bottom: clamp(3rem,6vw,4.5rem); overflow: hidden; background: var(--paper-2); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 80% 0%, rgba(111,174,47,.14), transparent 60%); }
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero h1 { font-size: var(--fs-h1); margin: 1.1rem 0 1.1rem; letter-spacing: -0.03em; }
.page-hero p { font-size: var(--fs-lead); color: var(--muted); max-width: 56ch; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--leaf-deep); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }

/* -----------------------------------------------------------------
   TABS (courses page)
   ----------------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.6rem; }
.tab { padding: .7rem 1.4rem; border-radius: 100px; font-family: var(--font-head); font-weight: 600; font-size: .94rem; color: var(--muted); border: 1.5px solid var(--line); transition: all .3s; }
.tab.active, .tab:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* pricing-style course detail */
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pcard.featured { border-color: var(--leaf); box-shadow: 0 30px 70px -30px rgba(77,138,31,.4); }
.pcard__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-leaf); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .35rem 1rem; border-radius: 100px; }
.pcard h3 { font-size: 1.5rem; }
.pcard__price { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--ink); margin: .8rem 0; }
.pcard__price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.pcard__feats { display: grid; gap: .75rem; margin: 1.4rem 0; flex: 1; }
.pcard__feats li { display: flex; gap: .7rem; align-items: flex-start; font-size: .94rem; color: var(--charcoal-text); }
.pcard__feats .chk { width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--leaf) 15%, white); color: var(--leaf-deep); display: grid; place-items: center; flex-shrink: 0; }
.pcard__feats svg { width: 13px; height: 13px; }

/* -----------------------------------------------------------------
   CONTACT
   ----------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.field { margin-bottom: 1.2rem; position: relative; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .5rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .95rem 1.1rem; border-radius: var(--radius-xs);
  border: 1.5px solid var(--line); background: var(--card); transition: border-color .3s, box-shadow .3s;
  font-size: .96rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(111,174,47,.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; transition: transform .4s var(--ease), box-shadow .4s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-card .ic { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, rgba(111,174,47,.16), rgba(111,174,47,.06)); color: var(--leaf-deep); display: grid; place-items: center; flex-shrink: 0; }
.contact-card svg { width: 22px; height: 22px; }
.contact-card h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.contact-card a, .contact-card p { color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.contact-card a:hover { color: var(--leaf-deep); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/7; background: var(--paper-2); position: relative; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }

/* form success/error states */
.form-msg { padding: 1rem 1.2rem; border-radius: var(--radius-xs); font-size: .92rem; display: none; margin-bottom: 1.2rem; }
.form-msg.ok { display: block; background: color-mix(in srgb, var(--leaf) 12%, white); color: var(--leaf-deep); border: 1px solid color-mix(in srgb, var(--leaf) 30%, white); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #d9544d; }
.field .err { display: none; color: #d9544d; font-size: .8rem; margin-top: .35rem; }
.field.invalid .err { display: block; }

/* -----------------------------------------------------------------
   VALUE / MISSION cards (about)
   ----------------------------------------------------------------- */
.timeline-v { position: relative; padding-left: 2.2rem; }
.timeline-v::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--leaf), var(--line)); }
.tl-item { position: relative; padding-bottom: 2.4rem; }
.tl-item::before { content: ""; position: absolute; left: -2.2rem; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 3px solid var(--leaf); }
.tl-year { font-family: var(--font-head); font-weight: 700; color: var(--leaf-deep); font-size: .9rem; letter-spacing: .05em; }
.tl-item h3 { font-size: 1.25rem; margin: .3rem 0 .5rem; }
.tl-item p { color: var(--muted); }

.trainer { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.trainer:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.trainer__img { aspect-ratio: 1/1; overflow: hidden; }
.trainer__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.trainer:hover .trainer__img img { transform: scale(1.06); }
.trainer__body { padding: 1.3rem; }
.trainer__body h3 { font-size: 1.2rem; }
.trainer__role { color: var(--leaf-deep); font-weight: 600; font-size: .9rem; font-family: var(--font-head); }
.trainer__langs { display: flex; gap: .4rem; margin-top: .8rem; flex-wrap: wrap; }
.trainer__langs span { font-size: .76rem; padding: .25rem .6rem; border-radius: 100px; background: var(--paper-2); color: var(--muted); }

/* dashboard mock (online learning) */
.dash { background: var(--ink-2); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.dash__bar { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; }
.dash__bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dash__bar i:nth-child(1){background:#ff5f57;} .dash__bar i:nth-child(2){background:#febc2e;} .dash__bar i:nth-child(3){background:#28c840;}
.dash__bar span { margin-left: auto; color: #8ba093; font-size: .8rem; }
.dash__panels { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.dash__panel { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 1.1rem; }
.dash__panel.wide { grid-column: 1 / -1; }
.dash__panel h5 { color: #fff; font-family: var(--font-head); font-size: .92rem; margin-bottom: .8rem; display: flex; justify-content: space-between; }
.dash__panel h5 small { color: var(--leaf-soft); font-weight: 600; }
.dash__progress { height: 8px; background: rgba(255,255,255,.1); border-radius: 100px; overflow: hidden; margin-bottom: .7rem; }
.dash__progress i { display: block; height: 100%; background: var(--grad-leaf); border-radius: 100px; }
.dash__lesson { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; color: #c2cec5; font-size: .86rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.dash__lesson .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--leaf); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.dash__lesson .ck svg { width: 12px; height: 12px; }
.dash__lesson.todo .ck { background: rgba(255,255,255,.12); }

/* country cards (study abroad) */
.country-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow); cursor: pointer; }
.country-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.country-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12,24,19,.85)); }
.country-card:hover img { transform: scale(1.08); }
.country-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; z-index: 2; color: #fff; }
.country-card__flag { font-size: 1.8rem; margin-bottom: .5rem; }
.country-card__body h3 { color: #fff; font-size: 1.3rem; }
.country-card__body p { color: rgba(255,255,255,.82); font-size: .88rem; margin-top: .3rem; }
.country-card__langs { margin-top: .8rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.country-card__langs span { font-size: .72rem; padding: .25rem .6rem; border-radius: 100px; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); }

/* -----------------------------------------------------------------
   PAGE-LEVEL RESPONSIVE
   ----------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; margin: 1rem auto 0; }
  .split, .contact__grid { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 16/11; max-height: 460px; }
  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 2.5rem 1rem; }
  .stat:nth-child(2)::after { display: none; }
  .process__grid { grid-template-columns: repeat(2,1fr); gap: 2.5rem 1rem; }
  .process__line { display: none; }
}
@media (max-width: 560px) {
  .stats__grid, .process__grid { grid-template-columns: 1fr; }
  .stat::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .leaf-chip.c1, .leaf-chip.c3 { left: 0; }
  .leaf-chip.c2, .leaf-chip.c4 { right: 0; }
}

/* -----------------------------------------------------------------
   DEMO MODAL
   ----------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 970; display: grid; place-items: center; padding: 1.5rem; background: rgba(8,16,12,.6); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s; }
.modal.open { opacity: 1; visibility: visible; }
.modal__box { background: var(--card); border-radius: var(--radius-lg); width: min(520px, 100%); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.97); transition: transform .45s var(--ease); position: relative; }
.modal.open .modal__box { transform: none; }
.modal__head { padding: 2rem 2rem 0; }
.modal__head .eyebrow { margin-bottom: .6rem; }
.modal__head h3 { font-size: 1.7rem; }
.modal__head p { color: var(--muted); margin-top: .5rem; }
.modal__body { padding: 1.5rem 2rem 2rem; }
.modal__close { position: absolute; top: 1.2rem; right: 1.2rem; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); display: grid; place-items: center; transition: all .3s; }
.modal__close:hover { background: var(--ink); color: #fff; }
.modal__close svg { width: 18px; height: 18px; }

/* -----------------------------------------------------------------
   COURSES PAGE — About [language] intro + detailed level dropdowns
   ----------------------------------------------------------------- */
.course-about { max-width: 800px; margin-bottom: 2.8rem; }
.course-about h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--ink); }
.exam-list { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1.5rem; list-style: none; padding: 0; }
.exam-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; color: var(--charcoal-text); line-height: 1.4; }
.exam-list .chk { width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--leaf) 15%, white); color: var(--leaf-deep); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.exam-list .chk svg { width: 13px; height: 13px; }
@media (max-width: 640px) { .exam-list { grid-template-columns: 1fr; } }

.level-acc { max-width: 900px; margin-inline: auto; border-top: 1px solid var(--line); }
.level-acc .faq__q { font-size: 1rem; }
.level-acc .faq__a p { max-width: none; }
.level-acc .faq__a p b { color: var(--ink); }
.level-acc .faq__a a { color: var(--leaf-deep); font-weight: 600; }
.outcome-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .55rem; }
.outcome-list li { position: relative; padding-left: 1.4rem; font-size: .92rem; color: var(--muted); line-height: 1.55; }
.outcome-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.course-motto { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--leaf-deep); margin: .35rem 0 0; }

/* -----------------------------------------------------------------
   COURSES PAGE — About [language] split layout with image
   ----------------------------------------------------------------- */
.course-about-wrap { display: grid; grid-template-columns: 1.25fr .95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; margin-bottom: 2.8rem; }
.course-about-wrap .course-about { max-width: none; margin-bottom: 0; }
.course-about-wrap .split__media { position: sticky; top: 100px; aspect-ratio: 3/4; }
@media (max-width: 960px) {
  .course-about-wrap { grid-template-columns: 1fr; }
  .course-about-wrap .split__media { position: static; aspect-ratio: 16/9; margin-bottom: 1.6rem; }
}

/* -----------------------------------------------------------------
   TESTIMONIALS PAGE — Google review cards (premium)
   ----------------------------------------------------------------- */
.rgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; align-items: start; }
.rcard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.rcard::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-leaf);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.rcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.rcard:hover::before { transform: scaleX(1); }

.rcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.rcard__avatar {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--grad-leaf); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--leaf) 60%, transparent);
}
.rcard__avatar svg { width: 26px; height: 26px; }
.rcard__verified {
  display: flex; align-items: center; gap: .35rem;
  font-size: .74rem; font-weight: 600; color: var(--muted);
  background: color-mix(in srgb, var(--leaf) 8%, white);
  border: 1px solid var(--line);
  padding: .35rem .7rem; border-radius: 999px;
}
.rcard__verified svg { width: 13px; height: 13px; color: var(--leaf-deep); }

.rcard__lang {
  display: inline-block; font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--leaf-deep);
  background: color-mix(in srgb, var(--leaf) 12%, white);
  border: 1px solid color-mix(in srgb, var(--leaf) 25%, white);
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem;
}
.rcard__stars { color: var(--gold); letter-spacing: 3px; font-size: .95rem; margin-bottom: 1.2rem; }
.rcard__quote {
  position: relative;
  font-size: .98rem; line-height: 1.8; color: var(--charcoal-text);
  margin-bottom: 1.6rem; padding-left: 1.6rem;
}
.rcard__quote::before {
  content: "\201C";
  position: absolute; left: -.3rem; top: -.6rem;
  font-family: var(--font-display); font-size: 3.4rem; font-style: italic;
  color: color-mix(in srgb, var(--leaf) 45%, white); line-height: 1;
}
.rcard__name {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
  padding-top: 1.3rem; border-top: 1px solid var(--line);
}
.rcard__name a {
  width: 30px; height: 30px; border-radius: 50%;
  background: color-mix(in srgb, var(--leaf) 10%, white);
  color: var(--leaf-deep); display: grid; place-items: center;
  transition: background .25s, color .25s, transform .25s;
}
.rcard__name a:hover { background: var(--leaf); color: #fff; transform: scale(1.08); }
.rcard__name svg { width: 14px; height: 14px; }
@media (max-width: 760px) { .rgrid { grid-template-columns: 1fr; } }
