:root{--teal:#27847f;--teal-dark:#1f625f;--teal-pale:#e9f5f2;--ink:#203b38;--body:#687572;--purple:#6546a0;--orange:#f5a33e;--paper:#fff;--line:#e8efed;--shadow:0 18px 55px rgba(32,59,56,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,sans-serif;line-height:1.7}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}
.wrap{width:min(1160px,calc(100% - 48px));margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav{height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}.logo{display:flex;align-items:center;min-width:180px}.logo img{width:180px;max-height:66px;object-fit:contain;object-position:left center}
.nav-links{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:650}.nav-links a:hover{color:var(--teal)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 25px;border-radius:999px;background:var(--teal);color:white;font-weight:700;box-shadow:0 10px 24px rgba(39,132,127,.18);transition:.2s}.btn:hover{background:var(--teal-dark);transform:translateY(-1px)}
.menu-toggle{display:none;border:0;background:transparent;color:var(--ink);font-size:29px;line-height:1;cursor:pointer}.hero{padding:94px 0 76px;background:linear-gradient(180deg,#fbfdfc 0%,#fff 100%);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:54px;align-items:center}
.eyebrow{color:var(--purple);font-size:14px;letter-spacing:.17em;text-transform:uppercase;font-weight:800;margin-bottom:24px}h1,h2,h3{line-height:1.12;letter-spacing:-.035em;margin:0;color:var(--ink)}h1{font-size:clamp(42px,6vw,76px);font-weight:800;margin-bottom:25px}h1 em{font-style:normal;color:var(--teal)}
.lead{font-size:20px;line-height:1.75;color:var(--body);max-width:650px;margin:0 0 32px}.actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.text-link{font-weight:750}.text-link:hover{color:var(--teal)}
.hero-art{min-height:360px;border-radius:34px;background:linear-gradient(135deg,#e7f5f1 0 52%,#fff0d9 52% 100%);position:relative;display:flex;align-items:center;justify-content:center;padding:42px;overflow:hidden}.art-inner{width:100%;min-height:260px;border:1px solid rgba(39,132,127,.14);border-radius:26px;background:rgba(255,255,255,.75);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:28px}.art-inner strong{font-size:clamp(28px,4vw,44px);line-height:1.1}.art-inner span{color:var(--teal);font-weight:800;letter-spacing:.16em;font-size:12px;margin-top:18px}.blob{position:absolute;border-radius:50%;width:82px;height:82px;background:var(--orange);top:22px;right:25px;opacity:.9}.blob.two{width:48px;height:48px;background:#49aaa5;top:auto;right:auto;left:25px;bottom:28px}
.section{padding:82px 0}.section-soft{background:#f5faf8}.section-head{max-width:720px;margin-bottom:38px}.section-head h2{font-size:clamp(32px,4.5vw,50px);margin-bottom:14px}.section-head p{color:var(--body);font-size:17px;margin:0}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{border:1px solid var(--line);border-radius:24px;padding:28px;background:#fff;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:flex-start;min-height:260px}.card-icon{width:52px;height:52px;border-radius:17px;background:var(--teal-pale);display:grid;place-items:center;font-size:25px;margin-bottom:21px}.card h3{font-size:25px;margin-bottom:12px}.card p{color:var(--body);font-size:15px;margin:0 0 22px}.card .text-link{margin-top:auto;color:var(--teal-dark)}
.promo{border-radius:30px;background:var(--teal-dark);color:white;padding:38px 42px;display:flex;justify-content:space-between;align-items:center;gap:28px}.promo h2{color:white;font-size:clamp(28px,4vw,42px);margin-bottom:9px}.promo p{color:#dcecea;margin:0}.promo-badge{background:#fff;color:var(--teal-dark);border-radius:22px;padding:18px 25px;font-size:34px;font-weight:850;white-space:nowrap}
.features{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.feature{background:white;border:1px solid var(--line);padding:20px 22px;border-radius:18px;font-weight:650}.feature b{color:var(--teal);margin-right:9px}.faq{max-width:850px}details{padding:20px 22px;border:1px solid var(--line);border-radius:16px;margin:12px 0;background:white}summary{font-weight:750;cursor:pointer}details p{color:var(--body);margin-bottom:0}
.page-hero{padding:76px 0 64px;background:linear-gradient(180deg,#f5faf8,#fff)}.breadcrumb{font-size:13px;color:var(--body);margin-bottom:25px}.breadcrumb a{color:var(--teal-dark);font-weight:700}.page-hero h1{max-width:900px}.page-hero .lead{max-width:820px}
.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:var(--shadow)}.panel h2{font-size:30px;margin-bottom:15px}.panel p,.panel li{color:var(--body)}.panel ul{padding-left:20px}
.cta-band{text-align:center;padding:75px 0;background:var(--teal-pale)}.cta-band h2{font-size:clamp(32px,4vw,48px);margin-bottom:14px}.cta-band p{color:var(--body);max-width:650px;margin:0 auto 25px}footer{padding:32px 0;background:#203b38;color:white}.footer-row{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer-row p{margin:4px 0 0;color:#c6d8d5;font-size:13px}.footer-row a{color:white}
.floating-wa{position:fixed;right:22px;bottom:22px;z-index:15;background:#168b60;color:white;padding:14px 22px;border-radius:999px;font-weight:750;box-shadow:0 10px 25px rgba(0,0,0,.16)}
@media(max-width:850px){.nav{height:76px}.logo img{width:154px}.menu-toggle{display:block}.nav-links{display:none;position:absolute;top:76px;left:0;right:0;background:white;padding:20px 24px 26px;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:18px}.nav-links.open{display:flex}.nav>.nav-cta{display:none}.hero{padding:62px 0 54px}.hero-grid,.content-grid{grid-template-columns:1fr;gap:32px}.hero-art{min-height:270px}.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.wrap{width:min(100% - 36px,1160px)}.hero{padding-top:54px}.lead{font-size:17px}.cards,.features{grid-template-columns:1fr}.section{padding:62px 0}.promo{padding:28px;display:block}.promo-badge{display:inline-block;margin-top:20px}.page-hero{padding:52px 0}.floating-wa{right:14px;bottom:14px;padding:12px 18px}}

/* Homepage visual refresh: stronger colour, clearer hierarchy and tighter mobile spacing */
.hero{background:radial-gradient(circle at 88% 12%,rgba(245,163,62,.15),transparent 24%),linear-gradient(180deg,#f4fbf9 0%,#ffffff 100%);padding:76px 0 64px}
.hero-grid{gap:42px}
.hero-art{min-height:390px;border-radius:34px;background:linear-gradient(135deg,#dff2ed 0%,#eaf7f4 48%,#fff0d9 48%,#ffe8c5 100%);box-shadow:0 24px 60px rgba(32,59,56,.10);border:1px solid rgba(39,132,127,.10)}
.art-inner{position:relative;min-height:300px;border:0;border-radius:28px;background:rgba(255,255,255,.88);box-shadow:0 16px 40px rgba(32,59,56,.09);padding:32px 24px}
.art-inner strong{font-size:clamp(30px,4vw,48px);color:var(--ink);max-width:360px}
.art-inner span{display:inline-block;background:#f1eafb;color:var(--purple);padding:8px 15px;border-radius:999px;letter-spacing:.12em;margin-top:22px}
.art-inner:before{content:"A B C";position:absolute;top:18px;right:20px;border-radius:18px;background:#fff0d9;color:#9a5a19;font-weight:900;font-size:20px;padding:10px 14px;transform:rotate(7deg)}
.art-inner:after{content:"Speak • Read • Grow";position:absolute;bottom:17px;left:50%;transform:translateX(-50%);white-space:nowrap;color:var(--teal-dark);font-size:13px;font-weight:800;letter-spacing:.06em}
.hero .actions{gap:22px}
.hero .actions .btn{padding:17px 28px;font-size:16px}
.hero .text-link{font-size:16px}
.card{transition:transform .2s ease,box-shadow .2s ease}
.card:hover{transform:translateY(-5px);box-shadow:0 22px 48px rgba(32,59,56,.13)}
@media(max-width:850px){
 .hero{padding:50px 0 48px}
 .hero-grid{gap:30px}
 .hero-art{min-height:280px;padding:24px}
 .art-inner{min-height:230px}
}
@media(max-width:560px){
 .hero{padding:42px 0 42px}
 .hero-grid{gap:26px}
 .hero-art{min-height:255px;padding:18px;border-radius:25px}
 .art-inner{min-height:215px;padding:24px 16px}
 .art-inner strong{font-size:31px}
 .hero .actions{align-items:stretch;flex-direction:column;gap:18px}
 .hero .actions .btn{width:100%}
 .hero .text-link{align-self:flex-start}
}


/* FUN ENGLISH INSTITUTE — warm, playful brand direction */
:root{
 --teal:#f0a77f;--teal-dark:#3b190d;--teal-pale:#fff0e4;
 --ink:#3b190d;--body:#55392d;--purple:#6542a0;--orange:#f4a43f;
 --paper:#f0a77f;--line:rgba(59,25,13,.13);
 --shadow:0 9px 0 rgba(105,48,25,.12);
}
body{background:#f0a77f;color:#3b190d;font-family:'Nunito',Arial,sans-serif;line-height:1.7}
.site-header{position:relative;background:#f0a77f;border:0;backdrop-filter:none}
.nav{height:104px}
.logo img{width:190px;max-height:78px}
.nav-links a{color:#3b190d;font-weight:800}
.nav-links a:hover,.text-link:hover{color:#fff5e9}
.btn{background:#3b190d;color:#fff6e9;border-radius:999px;padding:17px 29px;box-shadow:0 8px 0 rgba(105,48,25,.25);font-family:'Nunito',Arial,sans-serif;font-weight:900}
.btn:hover{background:#542716;transform:translateY(-2px)}
.menu-toggle{color:#3b190d}
.hero{background:#f0a77f;padding:70px 0 82px}
.hero-grid{grid-template-columns:1fr .72fr;gap:38px}
.eyebrow{display:inline-block;background:#3b190d;color:#fff4e8;border-radius:999px;padding:13px 25px;margin-bottom:34px;font-size:14px;letter-spacing:.03em;font-weight:900}
h1,h2,h3{font-family:'Fredoka','Nunito',Arial,sans-serif;color:#3b190d;letter-spacing:-.025em}
h1{font-size:clamp(46px,6.4vw,78px);font-weight:700;line-height:1.03;margin-bottom:30px}
h1 em{color:#fff2e5;text-shadow:0 5px 0 rgba(105,48,25,.30)}
.lead{font-size:20px;color:#3b190d;line-height:1.8}
.actions{gap:20px}
.text-link{font-weight:900;color:#3b190d}
.hero-art{background:#fff2e5;border:0;border-radius:36px;box-shadow:0 10px 0 rgba(105,48,25,.12);min-height:340px}
.art-inner{background:#f8d8bf;border:0;box-shadow:none}
.art-inner strong{font-family:'Fredoka',sans-serif;color:#3b190d}
.art-inner span{background:#fff2e5;color:#6542a0}
.art-inner:before{background:#6542a0;color:#fff}
.art-inner:after{color:#3b190d}
.section{background:#fff8f1}
.section-soft{background:#fff0e4}
.section-head h2,.card h3,.panel h2,.cta-band h2{font-family:'Fredoka',sans-serif;color:#3b190d}
.section-head .eyebrow{background:transparent;color:#6542a0;padding:0;margin:0 0 14px;border-radius:0;letter-spacing:.12em}
.section-head p,.card p,.panel p,.panel li{color:#72594d}
.cards{gap:20px}
.card,.panel,details,.feature{background:#fff;border:1px solid rgba(59,25,13,.10);border-radius:26px;box-shadow:0 7px 0 rgba(105,48,25,.08)}
.card-icon{background:#fff0e4}
.card .text-link{color:#3b190d}
.promo{background:#3b190d;color:#fff4e8}
.promo h2{color:#fff4e8}
.promo p{color:#f7d9c5}
.promo-badge{color:#3b190d;background:#fff2e5}
.feature b{color:#d77b38}
.page-hero{background:#f0a77f}
.page-hero .eyebrow{background:#3b190d;color:#fff4e8}
.breadcrumb{color:#6c4230}
.breadcrumb a{color:#3b190d}
.content-grid .eyebrow{background:transparent;color:#6542a0;padding:0;border-radius:0}
.cta-band{background:#fff0e4}
.cta-band p{color:#72594d}
footer{background:#3b190d;color:#fff4e8}
.footer-row p{color:#f3d4c0}
.floating-wa{background:#3b190d;color:#fff4e8;box-shadow:0 7px 0 rgba(105,48,25,.22)}
details p{color:#72594d}
@media(max-width:850px){
 .nav{height:90px}
 .logo img{width:158px;max-height:68px}
 .nav-links{top:90px;background:#fff2e5;border:0;box-shadow:0 12px 20px rgba(59,25,13,.10)}
 .hero{padding:55px 0 65px}
 .hero-grid{grid-template-columns:1fr;gap:32px}
 .hero-art{min-height:270px}
}
@media(max-width:560px){
 .wrap{width:min(100% - 44px,1160px)}
 .hero{padding:38px 0 60px}
 .eyebrow{font-size:13px;line-height:1.6;padding:14px 20px;margin-bottom:30px}
 h1{font-size:clamp(43px,12vw,58px);line-height:1.05;margin-bottom:28px}
 .lead{font-size:17px;line-height:1.85}
 .actions{align-items:flex-start;flex-direction:column;gap:24px}
 .btn{padding:17px 27px}
 .hero-art{margin-top:4px}
 .section{padding:62px 0}
 .page-hero{padding:45px 0 52px}
 .floating-wa{right:14px;bottom:14px}
}


/* FUN ENGLISH INSTITUTE — official logo palette */
:root{
 --teal:#36aaa5;
 --teal-dark:#207f7c;
 --teal-pale:#e6f6f3;
 --ink:#173d38;
 --body:#64736f;
 --purple:#6540a0;
 --orange:#f5a33e;
 --paper:#fffdf8;
 --line:#e9eee9;
 --shadow:0 14px 36px rgba(23,61,56,.09);
}
body{background:var(--paper);color:var(--ink);font-family:'Nunito',Arial,sans-serif}
.site-header{background:rgba(255,253,248,.96);border-color:#e9eee9}
.nav-links a:hover,.text-link:hover{color:var(--purple)}
.btn{background:var(--teal);color:#fff;border-radius:999px;box-shadow:0 8px 0 rgba(32,127,124,.16)}
.btn:hover{background:var(--teal-dark)}
.hero{background:linear-gradient(135deg,#fffdf8 0%,#f1fbf8 58%,#fff4e6 100%);padding:76px 0 80px}
.hero-grid{grid-template-columns:1fr 1fr;gap:42px}
.eyebrow{color:var(--purple)}
h1,h2,h3{font-family:'Fredoka','Nunito',Arial,sans-serif;color:var(--ink)}
h1 em{color:var(--teal)}
.lead{color:#5e706b}
.hero-art.hero-motion{min-height:390px;padding:0;border-radius:34px;background:#f9ead8;position:relative;overflow:visible;box-shadow:0 18px 44px rgba(23,61,56,.13)}
.hero-photo{display:block;width:100%;height:390px;object-fit:cover;border-radius:34px}
.motion-bubble{position:absolute;display:grid;place-items:center;width:62px;height:62px;border-radius:22px;font-size:29px;box-shadow:0 8px 22px rgba(23,61,56,.16);animation:float-bubble 3.4s ease-in-out infinite}
.bubble-book{top:-22px;right:13%;background:#6540a0;color:white;animation-delay:.2s}
.bubble-bulb{top:22%;left:-22px;background:#ffd45c;animation-delay:1s}
.bubble-chat{right:-18px;top:48%;background:#36aaa5;color:white;animation-delay:.6s}
.bubble-star{bottom:-20px;left:20%;background:#f5a33e;color:white;animation-delay:1.4s}
@keyframes float-bubble{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-13px) rotate(4deg)}}
.section{background:#fffdf8}
.section-soft{background:#eef8f5}
.section-head .eyebrow{color:var(--purple)}
.card{border-color:#e9eee9;background:#fff;box-shadow:0 9px 28px rgba(23,61,56,.06)}
.card-icon{background:#fff1dd}
.card .text-link{color:var(--teal-dark)}
.promo{background:linear-gradient(110deg,#6540a0,#4c2d83);color:#fff}
.promo h2{color:#fff}
.promo-badge{background:#ffd45c;color:#173d38}
.feature b{color:var(--orange)}
.page-hero{background:linear-gradient(135deg,#e9f7f4,#fff8ed)}
.breadcrumb a{color:var(--purple)}
.cta-band{background:#e6f6f3}
footer{background:#173d38;color:#fff}
.floating-wa{background:#36aaa5;color:#fff}
@media(max-width:850px){
 .hero{padding:52px 0 62px}
 .hero-grid{grid-template-columns:1fr;gap:42px}
 .hero-art.hero-motion{min-height:270px;margin:0 8px}
 .hero-photo{height:270px}
 .bubble-book{right:8%;top:-17px}
 .bubble-chat{right:-13px}
}
@media(max-width:560px){
 .hero{padding:38px 0 56px}
 h1{font-size:clamp(43px,11.5vw,58px)}
 .hero-art.hero-motion{border-radius:25px}
 .hero-photo{height:250px;border-radius:25px}
 .motion-bubble{width:49px;height:49px;border-radius:17px;font-size:23px}
 .bubble-bulb{left:-13px}
 .bubble-chat{right:-12px}
}
@media(prefers-reduced-motion:reduce){
 .motion-bubble{animation:none}
}


/* v5 layout fix: keep hero copy and photo in separate, non-overlapping columns */
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0, .94fr) minmax(0, 1.06fr);
  align-items:center;
  gap:clamp(28px,4vw,58px);
}
.hero-copy{position:relative;z-index:2;min-width:0;max-width:100%}
.hero-copy h1,.hero-copy .lead{overflow-wrap:break-word}
.hero-art.hero-motion{position:relative;z-index:1;min-width:0;width:100%;max-width:100%;margin:0}
.hero-photo{width:100%;max-width:100%;height:clamp(320px,38vw,460px);object-fit:cover}
@media(max-width:900px){
  .hero-grid{grid-template-columns:minmax(0,1fr);gap:38px}
  .hero-copy{max-width:720px}
  .hero-art.hero-motion{width:100%;max-width:680px;justify-self:center}
  .hero-photo{height:clamp(250px,58vw,390px)}
}
@media(max-width:560px){
  .hero-grid{gap:34px}
  .hero-copy{width:100%}
  .hero-art.hero-motion{width:calc(100% - 12px);margin:0 auto}
  .hero-photo{height:250px}
}


/* Typography update: clean, bold geometric headings and readable body text,
   matching the supplied reference design. */
body{font-family:'Open Sans',Arial,sans-serif;font-weight:400}
h1,h2,h3{font-family:'Montserrat',Arial,sans-serif;font-weight:800;letter-spacing:-.035em}
h1{font-weight:800;line-height:1.12}
h1 em{font-weight:800}
.section-head h2,.card h3,.panel h2,.cta-band h2,.promo h2{font-family:'Montserrat',Arial,sans-serif;font-weight:800}
.nav-links,.btn,.text-link,.eyebrow,.feature,summary,.floating-wa{font-family:'Open Sans',Arial,sans-serif}
.btn,.nav-links,.text-link{font-weight:700}
.lead{font-family:'Open Sans',Arial,sans-serif;font-weight:400;line-height:1.7}
