/* ============================================================
   English Mithra — shared stylesheet
   Design system: "Your English friend"
   Built around the speech-bubble brand mark + Kerala warmth.
   No frameworks, no dependencies.
   ============================================================ */

:root{
  /* palette */
  --ink:        #0d1f17;   /* deep forest near-black */
  --ink-soft:   #2b3a32;
  --emerald:    #0a7c4a;   /* primary brand green */
  --leaf:       #16b66a;   /* brighter green */
  --mint:       #e7f6ee;   /* pale wash */
  --paper:      #f6f8f5;   /* soft off-white (faint green, not cream) */
  --card:       #ffffff;
  --line:       #e2e8e3;
  --muted:      #5a6b62;
  --wa:         #25d366;   /* WhatsApp */
  --wa-dark:    #1da851;
  --highlight:  #c8f56b;   /* marker accent for emphasis */

  /* type */
  --display:'Bricolage Grotesque', system-ui, sans-serif;
  --body:'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* scale */
  --wrap: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 6px 24px rgba(13,31,23,.07);
  --shadow-lg: 0 18px 50px rgba(13,31,23,.12);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  font-size:17px;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}

h1,h2,h3,h4{font-family:var(--display);line-height:1.08;font-weight:700;letter-spacing:-.02em}
h1{font-size:clamp(2.4rem,6vw,4.4rem)}
h2{font-size:clamp(1.9rem,4vw,3rem)}
h3{font-size:clamp(1.2rem,2vw,1.5rem)}
.eyebrow{
  font-family:var(--body);font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;font-size:.78rem;color:var(--emerald);
  display:inline-flex;align-items:center;gap:.5rem;
}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--leaf);display:inline-block}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gap)}
.section{padding:clamp(3.5rem,8vw,6.5rem) 0}
.center{text-align:center}
.lead{font-size:1.12rem;color:var(--muted);max-width:60ch}
.center .lead{margin-inline:auto}

/* highlighted word — speech emphasis */
.mark{position:relative;white-space:nowrap}
.mark::after{
  content:"";position:absolute;left:-.05em;right:-.05em;bottom:.08em;height:.42em;
  background:var(--highlight);z-index:-1;border-radius:3px;transform:skewX(-4deg);
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  font-family:var(--body);font-weight:700;font-size:1rem;
  padding:.95rem 1.6rem;border-radius:999px;cursor:pointer;border:2px solid transparent;
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px)}
.btn-wa{background:var(--wa);color:#fff}
.btn-wa:hover{background:var(--wa-dark);box-shadow:0 10px 26px rgba(37,211,102,.35)}
.btn-solid{background:var(--ink);color:#fff}
.btn-solid:hover{box-shadow:var(--shadow-lg)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn-ghost:hover{background:var(--ink);color:#fff}
.btn svg{width:20px;height:20px;flex:none}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(246,248,245,.85);
  backdrop-filter:saturate(160%) blur(12px);border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:74px}
.brand{display:flex;align-items:center;gap:.6rem;font-family:var(--display);font-weight:800;font-size:1.3rem;letter-spacing:-.02em}
.brand .bubble{
  width:38px;height:38px;border-radius:11px 11px 11px 4px;background:var(--emerald);
  display:grid;place-items:center;flex:none;position:relative;
}
.brand .bubble::after{content:"";position:absolute;top:7px;right:7px;width:8px;height:8px;border-radius:50%;background:var(--highlight)}
.brand .bubble svg{width:20px;height:20px}
.brand span small{display:block;font-family:var(--body);font-weight:600;font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-top:-2px}

.menu{display:flex;align-items:center;gap:.35rem}
.menu a{
  font-weight:600;font-size:.97rem;padding:.5rem .8rem;border-radius:9px;color:var(--ink-soft);
  transition:color .15s, background .15s;
}
.menu a:hover{color:var(--emerald);background:var(--mint)}
.menu a.active{color:var(--emerald)}
.nav-cta{display:flex;align-items:center;gap:.6rem}
.menu-toggle{display:none;background:none;border:0;cursor:pointer;padding:.4rem;color:var(--ink)}
.menu-toggle svg{width:28px;height:28px}

/* ---------- hero ---------- */
.hero{position:relative;padding:clamp(2.5rem,6vw,4.5rem) 0 clamp(3rem,7vw,5rem)}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.hero h1{margin:.6rem 0 1rem}
.hero .lead{margin-bottom:1.8rem}
.hero-cta{display:flex;flex-wrap:wrap;gap:.8rem}
.hero-proof{display:flex;align-items:center;gap:1.1rem;margin-top:1.8rem;flex-wrap:wrap}
.stars{color:#f5a623;font-size:1.1rem;letter-spacing:1px}
.hero-proof b{font-family:var(--display)}
.hero-proof .divider{width:1px;height:34px;background:var(--line)}

.hero-media{position:relative}
.hero-media .frame{
  border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);
  border:6px solid #fff;position:relative;background:var(--mint);line-height:0;
}
.hero-media .frame img{width:100%;height:auto;display:block}
.hero-media .play{
  position:absolute;inset:0;display:grid;place-items:center;
}
.hero-media .play span{
  width:74px;height:74px;border-radius:50%;background:rgba(255,255,255,.92);
  display:grid;place-items:center;box-shadow:var(--shadow-lg);transition:transform .2s;
}
.hero-media .play span:hover{transform:scale(1.08)}
.hero-media .play svg{width:26px;height:26px;color:var(--emerald);margin-left:3px}
.hero-badge{
  position:absolute;left:-14px;bottom:24px;background:#fff;border-radius:16px;
  padding:.8rem 1.1rem;box-shadow:var(--shadow-lg);display:flex;align-items:center;gap:.7rem;
}
.hero-badge .g{font-family:var(--display);font-weight:800;font-size:1.5rem;color:var(--emerald);line-height:1}
.hero-badge small{font-size:.72rem;color:var(--muted);display:block}

/* floating chat bubbles accent */
.blob{position:absolute;border-radius:30% 70% 70% 30%/30% 30% 70% 70%;opacity:.5;filter:blur(6px);z-index:-1}

/* ---------- trust strip ---------- */
.trust{background:var(--ink);color:#fff}
.trust .wrap{display:flex;flex-wrap:wrap;gap:1.4rem 2.5rem;justify-content:space-between;align-items:center;padding-block:1.4rem}
.trust .item{display:flex;align-items:center;gap:.7rem;font-weight:600;font-size:.95rem}
.trust .item b{font-family:var(--display);font-size:1.5rem;color:var(--highlight);line-height:1}
.trust .item span{color:rgba(255,255,255,.75);font-weight:500}

/* ---------- section heading ---------- */
.head{max-width:62ch}
.head.center{margin-inline:auto}
.head h2{margin:.5rem 0 .7rem}

/* ---------- course cards ---------- */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.4rem;margin-top:2.5rem}
.course{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;transition:transform .2s, box-shadow .2s;
}
.course:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.course .thumb{aspect-ratio:16/11;overflow:hidden;background:var(--mint)}
.course .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.course:hover .thumb img{transform:scale(1.05)}
.course .body{padding:1.3rem 1.3rem 1.5rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.course h3{font-size:1.22rem}
.course p{color:var(--muted);font-size:.95rem;flex:1}
.course .more{font-weight:700;color:var(--emerald);display:inline-flex;align-items:center;gap:.35rem;margin-top:.4rem}
.course .more svg{width:16px;height:16px;transition:transform .2s}
.course:hover .more svg{transform:translateX(4px)}

/* ---------- features ---------- */
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.3rem;margin-top:2.5rem}
.feature{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.7rem;
  transition:border-color .2s, transform .2s;
}
.feature:hover{border-color:var(--leaf);transform:translateY(-3px)}
.feature .ico{
  width:52px;height:52px;border-radius:14px;background:var(--mint);color:var(--emerald);
  display:grid;place-items:center;margin-bottom:1rem;
}
.feature .ico svg{width:26px;height:26px}
.feature h3{font-size:1.18rem;margin-bottom:.4rem}
.feature p{color:var(--muted);font-size:.96rem}

/* ---------- band / cta ---------- */
.band{
  background:linear-gradient(135deg,var(--emerald),var(--leaf));color:#fff;border-radius:var(--radius-lg);
  padding:clamp(2.2rem,5vw,3.6rem);text-align:center;position:relative;overflow:hidden;
}
.band h2{color:#fff}
.band p{color:rgba(255,255,255,.9);max-width:55ch;margin:.8rem auto 1.8rem}
.band .btn-wa{background:#fff;color:var(--emerald)}
.band .btn-wa:hover{background:var(--ink);color:#fff}
.band .btn-ghost{border-color:rgba(255,255,255,.6);color:#fff}
.band .btn-ghost:hover{background:#fff;color:var(--emerald)}
.band-cta{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap}
.band::before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;background:rgba(255,255,255,.08);top:-120px;right:-80px}
.band::after{content:"";position:absolute;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.07);bottom:-100px;left:-50px}

/* ---------- promoters ---------- */
.promoters{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1rem;margin-top:2.5rem}
.promoter{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;text-align:center;padding-bottom:1rem;transition:transform .2s}
.promoter:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.promoter .ph{aspect-ratio:1;overflow:hidden;background:var(--mint)}
.promoter .ph img{width:100%;height:100%;object-fit:cover}
.promoter b{display:block;font-family:var(--display);font-size:.98rem;margin-top:.7rem}

/* ---------- reviews ---------- */
.reviews{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1.3rem;margin-top:2.5rem}
.review{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem}
.review .stars{margin-bottom:.7rem}
.review p{font-size:1rem}
.review .who{display:flex;align-items:center;gap:.7rem;margin-top:1.1rem}
.review .who .av{width:42px;height:42px;border-radius:50%;background:var(--emerald);color:#fff;display:grid;place-items:center;font-family:var(--display);font-weight:700}
.review .who b{font-size:.97rem}
.review .who small{color:var(--muted);display:block}

/* ---------- faq ---------- */
.faq{max-width:780px;margin:2.5rem auto 0;display:flex;flex-direction:column;gap:.8rem}
.faq details{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:0 1.3rem;transition:border-color .2s}
.faq details[open]{border-color:var(--leaf)}
.faq summary{
  list-style:none;cursor:pointer;padding:1.1rem 0;font-family:var(--display);font-weight:600;
  font-size:1.05rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary .pm{flex:none;width:24px;height:24px;border-radius:50%;background:var(--mint);color:var(--emerald);display:grid;place-items:center;font-size:1.2rem;transition:transform .2s}
.faq details[open] summary .pm{transform:rotate(45deg)}
.faq details p{padding:0 0 1.2rem;color:var(--muted)}

/* ---------- page hero (inner pages) ---------- */
.page-hero{background:var(--ink);color:#fff;padding:clamp(2.6rem,6vw,4rem) 0}
.page-hero .crumb{color:rgba(255,255,255,.6);font-size:.85rem;font-weight:600;letter-spacing:.04em;margin-bottom:.6rem}
.page-hero .crumb a:hover{color:var(--highlight)}
.page-hero h1{font-size:clamp(2rem,5vw,3.3rem)}
.page-hero p{color:rgba(255,255,255,.8);max-width:60ch;margin-top:.8rem}
.page-hero .eyebrow{color:var(--highlight)}
.page-hero .eyebrow::before{background:var(--highlight)}

/* ---------- contact ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.2rem;margin-top:2.5rem}
.contact-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.7rem;display:flex;gap:1rem;align-items:flex-start}
.contact-card .ico{width:48px;height:48px;border-radius:13px;background:var(--mint);color:var(--emerald);display:grid;place-items:center;flex:none}
.contact-card .ico svg{width:24px;height:24px}
.contact-card h3{font-size:1.1rem;margin-bottom:.25rem}
.contact-card p,.contact-card a{color:var(--muted);font-size:.97rem}
.contact-card a:hover{color:var(--emerald)}
.contact-list{display:flex;flex-direction:column;gap:1rem}
.map{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);min-height:340px}
.map iframe{width:100%;height:100%;min-height:340px;border:0;display:block}

/* ---------- footer ---------- */
.site-footer{background:var(--ink);color:rgba(255,255,255,.75);padding:clamp(3rem,6vw,4.5rem) 0 2rem}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:2rem}
.site-footer .brand{color:#fff;margin-bottom:1rem}
.site-footer .brand span small{color:rgba(255,255,255,.6)}
.foot-about p{font-size:.95rem;max-width:34ch}
.foot-col h4{color:#fff;font-family:var(--display);font-size:1.05rem;margin-bottom:1rem}
.foot-col a{display:block;padding:.32rem 0;font-size:.95rem;transition:color .15s}
.foot-col a:hover{color:var(--highlight)}
.foot-contact p{font-size:.95rem;margin-bottom:.7rem;line-height:1.5}
.foot-contact b{color:#fff;display:block;font-family:var(--display);font-weight:600}
.socials{display:flex;gap:.6rem;margin-top:1rem}
.socials a{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.08);display:grid;place-items:center;transition:background .2s,transform .2s}
.socials a:hover{background:var(--leaf);transform:translateY(-3px)}
.socials svg{width:18px;height:18px;color:#fff}
.foot-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:2.5rem;padding-top:1.6rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;font-size:.85rem}

/* ---------- floating whatsapp ---------- */
.wa-float{
  position:fixed;right:20px;bottom:20px;z-index:60;width:60px;height:60px;border-radius:50%;
  background:var(--wa);display:grid;place-items:center;box-shadow:0 8px 24px rgba(37,211,102,.45);
  transition:transform .2s;animation:wapulse 2.4s infinite;
}
.wa-float:hover{transform:scale(1.08)}
.wa-float svg{width:32px;height:32px;color:#fff}
@keyframes wapulse{0%{box-shadow:0 8px 24px rgba(37,211,102,.45),0 0 0 0 rgba(37,211,102,.5)}70%{box-shadow:0 8px 24px rgba(37,211,102,.45),0 0 0 16px rgba(37,211,102,0)}100%{box-shadow:0 8px 24px rgba(37,211,102,.45),0 0 0 0 rgba(37,211,102,0)}}

/* ---------- reveal animation ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease, transform .6s ease}
.reveal.in{opacity:1;transform:none}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .hero-media{order:-1}
  .contact-grid{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .menu,.nav-cta{display:none}
  .menu-toggle{display:block}
  .menu.open{
    display:flex;flex-direction:column;position:absolute;top:74px;left:0;right:0;
    background:var(--paper);border-bottom:1px solid var(--line);padding:1rem var(--gap) 1.4rem;gap:.2rem;
  }
  .menu.open a{padding:.8rem .6rem;border-radius:10px}
  .trust .wrap{justify-content:flex-start;gap:1rem 1.8rem}
  .foot-grid{grid-template-columns:1fr;gap:2rem}
  .foot-bottom{flex-direction:column;text-align:left}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
}

/* ============================================================
   PREMIUM LAYER — refinements for a more elevated feel
   ============================================================ */
:root{
  --gold:#b88a3e;            /* restrained brass accent */
  --gold-soft:#e9d9b8;
  --forest:#06371f;          /* deepest green for premium dark */
  --shadow:0 4px 14px rgba(13,31,23,.06), 0 1px 3px rgba(13,31,23,.04);
  --shadow-lg:0 28px 70px -18px rgba(6,55,31,.28);
  --radius:20px;
  --radius-lg:30px;
}

/* refined body rhythm */
body{font-size:17.5px;letter-spacing:-.005em}
h1,h2,h3,h4{letter-spacing:-.025em}

/* real logo sizing */
.brand-logo{height:42px;width:auto;display:block}
.brand-logo--foot{height:46px;filter:brightness(0) invert(1)}  /* white on dark footer */
.brand{gap:.7rem}
.brand span{line-height:1.05}

/* premium glass header */
.site-header{
  background:rgba(247,249,245,.72);
  -webkit-backdrop-filter:saturate(180%) blur(18px);
  backdrop-filter:saturate(180%) blur(18px);
  border-bottom:1px solid rgba(13,31,23,.07);
  transition:box-shadow .3s;
}
.site-header:hover{box-shadow:0 10px 40px -20px rgba(6,55,31,.25)}
.menu a{font-weight:600;letter-spacing:-.01em}

/* buttons — more refined */
.btn{border-radius:999px;font-weight:700;letter-spacing:-.01em;padding:.95rem 1.7rem;transition:transform .18s cubic-bezier(.2,.7,.3,1),box-shadow .25s,background .25s,color .2s}
.btn-solid{background:var(--forest)}
.btn-solid:hover{background:var(--emerald)}
.btn-wa{box-shadow:0 10px 28px -8px rgba(37,211,102,.5)}

/* eyebrow with gold tick */
.eyebrow{color:var(--emerald);letter-spacing:.18em;font-size:.74rem}
.eyebrow::before{background:var(--gold);width:26px;height:2px}

/* hero — richer */
.hero h1{font-size:clamp(2.6rem,6.2vw,4.7rem);font-weight:800;line-height:1.02}
.hero .lead{font-size:1.18rem;color:var(--ink-soft)}
.mark::after{background:var(--gold-soft);height:.5em;bottom:.04em;opacity:.85}
.hero-media .frame{border:8px solid #fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}
.hero-badge{box-shadow:var(--shadow-lg);border:1px solid var(--line);border-radius:16px}
.hero-badge .g{color:var(--gold)}

/* premium course cards */
.course{border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid rgba(13,31,23,.06);transition:transform .28s cubic-bezier(.2,.7,.3,1),box-shadow .3s}
.course:hover{transform:translateY(-7px);box-shadow:var(--shadow-lg)}
.course .body{padding:1.4rem 1.4rem 1.6rem}
.course h3{letter-spacing:-.02em}

/* trust strip — premium dark with gold numerals */
.trust{background:var(--forest);position:relative}
.trust .item b{color:var(--gold-soft)}
.trust::after{content:"";position:absolute;inset:0;background:radial-gradient(120% 100% at 80% 0,rgba(184,138,62,.10),transparent 60%);pointer-events:none}

/* feature cards */
.feature{border-radius:var(--radius);box-shadow:var(--shadow)}
.feature:hover{border-color:var(--gold);box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.feature .ico{background:linear-gradient(135deg,var(--mint),#dcefe3)}

/* band — deep premium gradient + gold ring */
.band{background:linear-gradient(135deg,var(--forest),var(--emerald));border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}
.band::before{background:rgba(184,138,62,.12)}
.band .btn-wa{background:var(--gold);color:#1a1205}
.band .btn-wa:hover{background:#fff;color:var(--forest)}

/* reviews / promoters */
.review{border-radius:var(--radius);box-shadow:var(--shadow)}
.review .who .av{background:var(--forest)}
.promoter{border-radius:var(--radius);box-shadow:var(--shadow)}

/* page hero (inner) — premium dark with subtle gold glow */
.page-hero{background:var(--forest);position:relative;overflow:hidden}
.page-hero::after{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(184,138,62,.18),transparent 65%);top:-220px;right:-120px;pointer-events:none}
.page-hero .crumb a{color:var(--gold-soft)}
.page-hero .eyebrow{color:var(--gold-soft)}
.page-hero .eyebrow::before{background:var(--gold-soft)}
.page-hero h1{font-weight:800}

/* faq refinement */
.faq details{border-radius:16px;box-shadow:var(--shadow)}
.faq details[open]{border-color:var(--gold)}
.faq summary .pm{background:var(--mint)}

/* scroll reveal */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.3,1)}
.reveal.in{opacity:1;transform:none}

/* WhatsApp float — premium ring */
.wa-float{box-shadow:0 14px 36px -8px rgba(37,211,102,.55);border:3px solid rgba(255,255,255,.85)}

/* selection */
::selection{background:var(--gold-soft);color:var(--forest)}

@media(max-width:680px){
  .brand span small{display:none}
}

/* ============================================================
   MALAYALAM + MOBILE OPTIMISATION LAYER
   ============================================================ */

/* Malayalam text styling — clear, readable, slightly lighter weight */
.malayalam-line{
  font-family:'Hanken Grotesk','Noto Sans Malayalam',sans-serif;
  font-weight:600;color:var(--emerald);font-size:1.05rem;line-height:1.5;
  margin-bottom:.6rem;letter-spacing:0;
}
.hero .malayalam-line{font-size:1.12rem}

/* ---- Hero media: never crop the news clip ---- */
/* ============================================================
   MOBILE — thorough optimisation (<=720px and <=480px)
   ============================================================ */
@media (max-width:720px){
  html{font-size:15.5px}
  .wrap{padding-inline:18px}
  .section{padding:clamp(2.4rem,9vw,3.4rem) 0}

  /* hero stacks cleanly, image full-width and uncropped */
  .hero{padding:1.6rem 0 2.2rem}
  .hero-grid{gap:1.6rem}
  .hero-media{order:-1;margin-bottom:.4rem}
  .hero-media .frame{border-width:5px;border-radius:20px}
  .hero h1{font-size:clamp(2.1rem,8.5vw,2.9rem);line-height:1.06}
  .hero .lead{font-size:1.02rem}
  .hero .malayalam-line{font-size:1.04rem}

  /* badge sits inside, not hanging off the edge (was causing side overflow) */
  .hero-badge{left:auto;right:10px;bottom:10px;padding:.55rem .75rem;border-radius:13px}
  .hero-badge .g{font-size:1.2rem}
  .hero-badge small{font-size:.66rem}

  /* full-width tap-friendly CTAs */
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%;justify-content:center}
  .band-cta{flex-direction:column;align-items:stretch}
  .band-cta .btn{width:100%;justify-content:center}

  /* proof row wraps nicely */
  .hero-proof{gap:.7rem 1rem}
  .hero-proof .divider{display:none}

  /* cards single column, comfortable */
  .cards{grid-template-columns:1fr;gap:1rem}
  .feature-grid{grid-template-columns:1fr;gap:1rem}
  .reviews{grid-template-columns:1fr}
  .promoters{grid-template-columns:repeat(2,1fr)}

  /* trust strip: 2-up grid instead of cramped row */
  .trust .wrap{display:grid;grid-template-columns:repeat(2,1fr);gap:1.1rem 1.4rem;padding-block:1.3rem}
  .trust .item{justify-content:flex-start}

  /* bands & sections breathe */
  .band{padding:1.8rem 1.3rem;border-radius:22px}
  .page-hero{padding:2rem 0}

  /* headings don't overflow */
  h1,h2{word-break:normal;overflow-wrap:anywhere}

  /* floating WA button slightly smaller, clear of edge */
  .wa-float{right:14px;bottom:14px;width:54px;height:54px}
}

@media (max-width:480px){
  .promoters{grid-template-columns:repeat(2,1fr)}
  .hero-proof{font-size:.85rem}
  .map iframe,.map{min-height:280px}
  /* prevent any horizontal scroll */
  html,body{max-width:100%;overflow-x:hidden}
  .hero-badge{position:static;margin-top:.6rem;display:inline-flex;box-shadow:var(--shadow)}
}

/* guarantee no element forces horizontal scroll on phones */
@media (max-width:720px){
  img,iframe{max-width:100%}
  .hero-media{overflow:visible}
}

/* ============================================================
   HEADER REBALANCE — logo leads; CTAs are secondary (desktop)
   ============================================================ */
.brand-logo{height:50px}                 /* prominent logo */
.nav .brand{margin-right:auto;gap:.6rem}

/* desktop: WhatsApp is a quiet outline button; level test is primary */
.site-header .nav-cta .btn-wa{
  background:transparent;color:var(--emerald);border:1.5px solid var(--emerald);
  box-shadow:none;font-weight:600;padding:.7rem 1.15rem;
}
.site-header .nav-cta .btn-wa svg{width:18px;height:18px}
.site-header .nav-cta .btn-wa:hover{background:var(--emerald);color:#fff;box-shadow:none}
.site-header .nav-cta .btn-ghost{background:var(--emerald);color:#fff;border-color:var(--emerald);font-weight:700}
.site-header .nav-cta .btn-ghost:hover{background:var(--forest);border-color:var(--forest);color:#fff}

/* in-menu CTA links: desktop hidden, shown only in mobile dropdown */
.menu-cta-test,.menu-cta-wa{display:none}
@media(max-width:720px){
  .menu.open .menu-cta-test,.menu.open .menu-cta-wa{
    display:block;text-align:center;margin-top:.5rem;padding:.9rem 1rem;border-radius:999px;font-weight:700;
  }
  .menu.open .menu-cta-test{background:var(--emerald);color:#fff}
  .menu.open .menu-cta-wa{background:transparent;color:var(--emerald);border:1.5px solid var(--emerald)}
}

@media(max-width:720px){ .brand-logo{height:44px} }

/* ============================================================
   COURSE DETAIL — price/duration meta on cards
   ============================================================ */
.course .meta{display:flex;flex-wrap:wrap;gap:.5rem;margin:.2rem 0 .1rem}
.course .tag{
  font-size:.76rem;font-weight:600;color:var(--emerald);background:var(--mint);
  padding:.25rem .6rem;border-radius:999px;letter-spacing:-.01em;
}
.course .tag.price{color:var(--gold);background:#f6efe0}

/* ============================================================
   BLOG ARTICLE READABILITY
   ============================================================ */
.article-body{font-size:1.12rem;line-height:1.75;color:var(--ink-soft)}
.article-body h2{font-size:1.5rem;margin:2rem 0 .7rem;color:var(--ink);letter-spacing:-.02em}
.article-body p{margin-bottom:1.1rem}
.article-body strong{color:var(--ink)}
.article-body em{color:var(--emerald);font-style:italic}
@media(max-width:720px){.article-body{font-size:1.04rem}.article-body h2{font-size:1.3rem}}

/* footer popular SEO links */
.foot-popular{border-top:1px solid rgba(255,255,255,.1);margin-top:2rem;padding-top:1.2rem;font-size:.82rem;line-height:2;color:#8ea399}
.foot-popular b{color:#c7d4cd;font-weight:600}
.foot-popular a{color:#8ea399}
.foot-popular a:hover{color:#fff}
