/* =================================================================
   LANGUAGE TREE — Premium Foreign Language Institute
   style.css  ·  Core design system, layout & components
   -----------------------------------------------------------------
   Palette grows from the logo: charcoal trunk, two leaf greens,
   a deep forest-ink base, and a restrained gold for premium accent.
   ================================================================= */

/* -----------------------------------------------------------------
   1. DESIGN TOKENS
   ----------------------------------------------------------------- */
:root {
  /* Brand — derived from the Language Tree mark */
  --ink:            #11231b;   /* deep forest ink (primary text/dark) */
  --ink-2:          #1c3327;   /* raised dark surfaces                */
  --charcoal:       #3f4347;   /* logo trunk grey                     */
  --leaf:           #6fae2f;   /* logo green (primary brand)          */
  --leaf-deep:      #4d8a1f;   /* deeper leaf for gradients           */
  --leaf-soft:      #9ac43a;   /* light logo green                    */
  --gold:           #c79a3e;   /* premium accent                      */
  --gold-soft:      #e7cf9b;

  /* Neutrals */
  --paper:          #f8f7f2;   /* warm white background               */
  --paper-2:        #f1efe7;   /* alt section background              */
  --card:           #ffffff;
  --charcoal-text:  #232a26;   /* dark charcoal body text             */
  --muted:          #5d6661;
  --line:           #e4e2d8;
  --line-strong:    #d4d2c6;

  /* Functional gradients */
  --grad-leaf: linear-gradient(135deg, var(--leaf) 0%, var(--leaf-deep) 100%);
  --grad-ink:  linear-gradient(160deg, #16291f 0%, #0c1813 100%);
  --grad-glow: radial-gradient(60% 60% at 50% 0%, rgba(111,174,47,.18), transparent 70%);

  /* Typography */
  --font-display: "Fraunces", "Outfit", Georgia, serif;
  --font-head:    "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body:    "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;

  /* Fluid type scale */
  --fs-hero:  clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem);
  --fs-h1:    clamp(2.1rem, 1.3rem + 3.4vw, 4rem);
  --fs-h2:    clamp(1.8rem, 1.2rem + 2.4vw, 3rem);
  --fs-h3:    clamp(1.25rem, 1rem + 1vw, 1.6rem);
  --fs-lead:  clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem);
  --fs-body:  1rem;
  --fs-sm:    0.875rem;
  --fs-eyebrow: 0.78rem;

  /* Spacing & shape */
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius:    22px;
  --radius-lg: 34px;
  --shadow-sm: 0 2px 8px rgba(17,35,27,.05);
  --shadow:    0 18px 50px -22px rgba(17,35,27,.22);
  --shadow-lg: 0 40px 90px -30px rgba(17,35,27,.32);
  --ring:      0 0 0 4px rgba(111,174,47,.22);

  --container: 1240px;
  --gutter: clamp(1.2rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 8vw, 9rem);

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* -----------------------------------------------------------------
   2. RESET & BASE
   ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--charcoal-text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

::selection { background: var(--leaf); color: #fff; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

/* -----------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1440px; }

.section { padding-block: var(--section-y); position: relative; }
.section--paper2 { background: var(--paper-2); }
.section--ink {
  background: var(--grad-ink);
  color: #dfe7e0;
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--leaf-deep);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--leaf);
}
.section--ink .eyebrow { color: var(--leaf-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 {
  font-size: var(--fs-h2);
  margin-top: 1rem;
}
.section-head p {
  font-size: var(--fs-lead);
  color: var(--muted);
  margin-top: 1.1rem;
  max-width: 56ch;
}
.section-head.center p { margin-inline: auto; }

.lead { font-size: var(--fs-lead); color: var(--muted); }

/* Display serif accent — used sparingly for personality */
.serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}

/* -----------------------------------------------------------------
   4. BUTTONS
   ----------------------------------------------------------------- */
.btn {
  --btn-bg: var(--leaf);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -0.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: 100px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  box-shadow: 0 12px 28px -12px rgba(77,138,31,.6);
  isolation: isolate;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(77,138,31,.7); }
.btn:active { transform: translateY(-1px); }

.btn--primary { background: var(--grad-leaf); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, #b3852f 100%);
  box-shadow: 0 12px 28px -12px rgba(199,154,62,.6);
}
.btn--gold:hover { box-shadow: 0 20px 40px -14px rgba(199,154,62,.7); }

.btn--dark { background: var(--ink); box-shadow: 0 12px 28px -14px rgba(17,35,27,.7); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--leaf); color: var(--leaf-deep); box-shadow: none; }

.btn--light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 34px -16px rgba(0,0,0,.4);
}
.btn--on-dark.btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.btn--on-dark.btn--ghost:hover { border-color: var(--leaf-soft); color: var(--leaf-soft); }

.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,.45);
  animation: ripple .65s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* text link with animated underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--leaf-deep);
  position: relative;
}
.link-arrow::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1.5px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
 
/* -----------------------------------------------------------------
   5. PRELOADER
   ----------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark {
  width: 64px; height: 64px;
  position: relative;
}
.preloader__mark svg { width: 100%; height: 100%; }
.preloader__trunk {
  stroke: var(--charcoal);
  stroke-width: 6;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw 1.6s var(--ease) infinite alternate;
}
.preloader__heart {
  stroke: var(--charcoal);
  stroke-width: 6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw 1.6s var(--ease) infinite alternate;
  animation-delay: .25s;
}
.preloader__canopy {
  stroke: var(--leaf);
  stroke-width: 6;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw 1.6s var(--ease) infinite alternate;
  animation-delay: .5s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* -----------------------------------------------------------------
   6. HEADER / NAV
   ----------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  transition: transform .45s var(--ease), background .4s, box-shadow .4s, padding .4s;
  padding-block: 1.1rem;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-header.scrolled {
  background: rgba(248,247,242,.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
  padding-block: .7rem;
  box-shadow: 0 8px 30px -20px rgba(17,35,27,.35);
}
.site-header.hide { transform: translateY(-110%); }

.brand { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img { height: 60px; width: auto; transition: height .4s var(--ease); }
.scrolled .brand img { height: 50px; }

.nav { display: flex; align-items: center; gap: .2rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .6rem .9rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink);
  border-radius: 100px;
  transition: color .25s, background .25s;
}
.nav__link:hover { color: var(--leaf-deep); }
.nav__link .chev { width: 15px; height: 15px; transition: transform .3s; }
.nav__item:hover .chev { transform: rotate(180deg); }
.nav__link[aria-current="page"] { color: var(--leaf-deep); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--leaf); transform: translateX(-50%);
}

/* Mega dropdown */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(620px, 86vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
}
.mega::before {
  content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px;
}
.nav__item:hover .mega,
.nav__item:focus-within .mega {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega__link {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .7rem .8rem;
  border-radius: var(--radius-xs);
  transition: background .25s;
}
.mega__link:hover { background: var(--paper-2); }
.mega__flag {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--paper-2);
  font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
}
.mega__flag img { width: 100%; height: 100%; object-fit: cover; }
.mega__t { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.mega__d { font-size: .8rem; color: var(--muted);    margin-left: 5px; }

.header__cta { display: flex; align-items: center; gap: .7rem; }
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  transition: border-color .25s, color .25s, transform .25s;
}
.icon-btn:hover { border-color: var(--leaf); color: var(--leaf-deep); transform: rotate(-8deg); }
.icon-btn svg { width: 19px; height: 19px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  position: relative;
}
.burger span {
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 1.8px; background: var(--ink);
  transform: translate(-50%,-50%);
  transition: transform .35s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { transform: translate(-50%,-6px); }
.burger span:nth-child(3) { transform: translate(-50%,6px); }
.burger.open span:nth-child(1) { transform: translate(-50%,0) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translate(-50%,0) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--grad-ink);
  color: #fff;
  padding: 6rem var(--gutter) 2rem;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer__close {
  position: absolute; top: 1.4rem; right: var(--gutter);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
}
.drawer__nav { display: flex; flex-direction: column; gap: .2rem; margin-top: 1rem; }
.drawer__nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.5rem;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  color: #fff;
  opacity: 0; transform: translateY(14px);
}
.drawer.open .drawer__nav a { animation: drawerIn .5s var(--ease) forwards; }
.drawer.open .drawer__nav a:nth-child(1) { animation-delay: .08s; }
.drawer.open .drawer__nav a:nth-child(2) { animation-delay: .14s; }
.drawer.open .drawer__nav a:nth-child(3) { animation-delay: .20s; }
.drawer.open .drawer__nav a:nth-child(4) { animation-delay: .26s; }
.drawer.open .drawer__nav a:nth-child(5) { animation-delay: .32s; }
.drawer.open .drawer__nav a:nth-child(6) { animation-delay: .38s; }
.drawer.open .drawer__nav a:nth-child(7) { animation-delay: .44s; }
@keyframes drawerIn { to { opacity: 1; transform: translateY(0); } }
.drawer__sub { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 1rem; }
.drawer__sub a {
  font-size: .9rem !important; font-weight: 500 !important;
  padding: .4rem .9rem !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 100px; opacity: 1 !important; transform: none !important;
  animation: none !important;
}
.drawer__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .8rem; }


/* -----------------------------------------------------------------
   7. SCROLL PROGRESS & BACK-TO-TOP
   ----------------------------------------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--grad-leaf);
  z-index: 999;
  transition: width .1s linear;
}
.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow);
  z-index: 800;
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8);
  transition: all .4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--leaf-deep); transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

.wa-float {
  position: fixed; left: 1.5rem; bottom: 1.5rem;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.6);
  z-index: 800;
  animation: waPulse 2.6s infinite;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 14px 30px -10px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 14px 30px -10px rgba(37,211,102,.6), 0 0 0 14px rgba(37,211,102,0); }
}

/* -----------------------------------------------------------------
   8. REVEAL ANIMATIONS
   ----------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }

/* word-by-word headline reveal */
.reveal-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-words .word-inner { display: inline-block; overflow: hidden; }
.reveal-words.in .word { opacity: 1; transform: none; }

/* -----------------------------------------------------------------
   9. CARDS — shared
   ----------------------------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }

.feature {
  display: flex; flex-direction: column; gap: .9rem;
  padding: 1.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feature::after {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-glow); opacity: 0; transition: opacity .5s;
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature:hover::after { opacity: 1; }
.feature__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(111,174,47,.16), rgba(111,174,47,.06));
  color: var(--leaf-deep);
  position: relative; z-index: 1;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; position: relative; z-index: 1; }
.feature p { color: var(--muted); font-size: .96rem; position: relative; z-index: 1; }

/* -----------------------------------------------------------------
   10. FOOTER
   ----------------------------------------------------------------- */
.footer {
  background: var(--grad-ink);
  color: #b9c5bd;
  padding-top: clamp(4rem, 7vw, 6.5rem);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 85% 0%, rgba(111,174,47,.12), transparent 60%);
  pointer-events: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  position: relative;
}
.footer__brand img { height: 52px; filter: brightness(0) invert(1); margin-bottom: 1.1rem; }
.footer__tag { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: #e6ede7; max-width: 30ch; line-height: 1.4; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer__social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.16); color: #fff;
  transition: background .3s, transform .3s, border-color .3s;
}
.footer__social a:hover { background: var(--leaf); border-color: var(--leaf); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer h4 {
  color: #fff; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 1.2rem; font-family: var(--font-head); font-weight: 600;
}
.footer__links { display: grid; gap: .7rem; }
.footer__links a { color: #b9c5bd; font-size: .96rem; transition: color .25s, padding .25s; }
.footer__links a:hover { color: var(--leaf-soft); padding-left: 5px; }
.footer__contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .94rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--leaf-soft); flex-shrink: 0; margin-top: 3px; }
.footer__contact a:hover { color: var(--leaf-soft); }
.newsletter { display: flex; gap: .5rem; margin-top: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 100px; padding: .35rem .35rem .35rem 1.1rem; }
.newsletter input { flex: 1; background: none; border: none; color: #fff; font-size: .92rem; }
.newsletter input::placeholder { color: #8ba093; }
.newsletter input:focus { outline: none; }
.newsletter button { width: 42px; height: 42px; border-radius: 50%; background: var(--leaf); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: transform .3s; }
.newsletter button:hover { transform: scale(1.08); }
.newsletter svg { width: 18px; height: 18px; }
.footer__bottom {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.6rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap;
  font-size: .86rem; color: #8ba093;
  position: relative;
}
.footer__bottom a { color: var(--leaf-soft); }

/* -----------------------------------------------------------------
   11. UTILITIES
   ----------------------------------------------------------------- */
.text-leaf { color: var(--leaf-deep); }
.text-gold { color: var(--gold); }
.grad-text {
  background: var(--grad-leaf);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* generic responsive grids used across pages */
.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* -----------------------------------------------------------------
   12. RESPONSIVE
   ----------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav, .header__search { display: none; }
  .burger { display: block; }
  .header__cta .btn:not(.btn--enroll) { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .header__cta .btn--enroll { padding: .8rem 1.2rem; font-size: .9rem; }
  .wa-float { width: 50px; height: 50px; }
  .wa-float svg { width: 24px; height: 24px; }
}
@media (min-width: 1700px) {
  :root { --container: 1340px; }
}

/* -----------------------------------------------------------------
   ABOUT PAGE — institute intro, founder spotlight, mission quote, why-us
   ----------------------------------------------------------------- */
.about-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  max-width: 1040px; margin: 0 auto;
}
.about-intro p {
  font-size: 1.03rem; line-height: 1.85; color: var(--muted);
  padding-left: 1.3rem; border-left: 2px solid var(--leaf-soft);
}
@media (max-width: 760px) { .about-intro { grid-template-columns: 1fr; } }

.founder__creds { display: flex; flex-wrap: wrap; gap: .6rem; }
.founder__creds span {
  font-size: .78rem; font-weight: 600; letter-spacing: .01em;
  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: .45rem .95rem; border-radius: 999px;
}
.founder__quote {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.3rem; line-height: 1.5; color: var(--ink);
  border-left: 3px solid var(--gold); padding-left: 1.2rem; margin: 0;
}

.mission-quote { max-width: 880px; margin: 0 auto; text-align: center; }
.mission-quote h2 { color: #fff; }
.mission-quote p { color: #c2cec5; font-size: 1.05rem; line-height: 1.9; margin-top: 1.2rem; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.why-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.6rem; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.why-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--leaf); }
.why-item__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-leaf); color: #fff; display: grid; place-items: center;
}
.why-item__icon svg { width: 20px; height: 20px; }
.why-item p { font-size: .93rem; line-height: 1.6; color: var(--muted); margin: 0; }
.why-item p b { color: var(--charcoal-text); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
