:root {
  --bg: #ffffff; --tint: #f1f6ff; --ink: #0a1636; --soft: #55658a;
  --navy: #16348a; --navy-deep: #081a47; --sky: rgba(255,255,255,.88); --rgb: 22,52,138; --drgb: 8,26,71; --ph1: #1d46b0; --ph2: #0d2566; --glow: rgba(120,160,255,.35);
  --line: rgba(var(--rgb),.14);
  --shadow: 0 18px 40px -22px rgba(var(--drgb),.4);
  --f: "Poppins", "Anek Malayalam", "Segoe UI", system-ui, sans-serif;
  --fm: "Anek Malayalam", "Noto Sans Malayalam", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(1160px, 100%); margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right)); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 600; }
.eyebrow { display: block; font: 600 13px var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.lead { color: var(--soft); max-width: 60ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 600 15px var(--f); border: 1.5px solid var(--navy); cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.go { background: var(--navy); color: #fff; }
.btn.go:hover { background: var(--navy-deep); }
.btn.ghost { background: #fff; color: var(--navy); }
section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.head .lead { margin: 14px auto 0; }

/* ticker */
.ticker { background: var(--navy-deep); color: rgba(255,255,255,.88); font-size: 13px; overflow: hidden; white-space: nowrap; }
.ticker div { display: inline-block; padding: 9px 0; animation: tick 34s linear infinite; }
.ticker span { margin: 0 28px; }
.ticker span::before { content: "\25CF"; margin-right: 10px; font-size: 8px; color: rgba(255,255,255,.7); vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand b { display: block; font: 700 21px var(--f); letter-spacing: .08em; line-height: 1; }
.brand i { display: block; font: 500 8px var(--f); letter-spacing: .55em; color: var(--soft); margin-top: 4px; font-style: normal; }
.nav { display: flex; align-items: center; gap: 28px; font: 500 14.5px var(--f); color: var(--soft); }
.nav a:hover { color: var(--navy); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; margin: 0 auto; position: relative; transition: .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .top .enq { display: none; }
}

/* hero carousel */
.hero { padding: 24px 0 0; background: linear-gradient(180deg, var(--tint), #fff 70%); }
.car { position: relative; border-radius: 28px; overflow: hidden; background: var(--navy-deep); box-shadow: var(--shadow); }
.track { display: flex; transition: transform .7s cubic-bezier(.22,.8,.3,1); }
.slide { flex: none; width: 100%; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 520px; color: #fff; }
.slide .txt { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 18px; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); position: relative; }
.slide .txt::after { content: ""; position: absolute; right: -1px; top: 0; bottom: 0; width: 70px; background: var(--navy); clip-path: ellipse(100% 62% at 100% 50%); display: none; }
.slide .tag { align-self: flex-start; font: 600 12px var(--f); letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); }
.slide h1, .slide h2.big { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; line-height: 1.15; }
.slide h1.ml { font-family: var(--fm); font-weight: 800; line-height: 1.25; letter-spacing: 0; }
.slide p { margin: 0; color: rgba(255,255,255,.82); max-width: 46ch; font-size: 16.5px; }
.slide .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.slide .btn.go { background: #fff; color: var(--navy); border-color: #fff; }
.slide .btn.go:hover { background: var(--sky); }
.slide .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.ph { position: relative; background: var(--img, none) center / cover, linear-gradient(160deg, var(--ph1), var(--ph2) 70%); min-height: 260px; overflow: hidden; }
.ph::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 25% 20%, rgba(255,255,255,.22), transparent 38%),
  radial-gradient(circle at 80% 85%, var(--glow), transparent 42%); }
.ph svg.pic { position: absolute; inset: 0; margin: auto; width: 46%; height: auto; color: rgba(255,255,255,.28); }
.ph .cap { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; justify-content: space-between; gap: 10px; align-items: center; font: 500 12.5px var(--f); }
.ph .cap span { color: #fff; padding: 7px 14px; border-radius: 999px; background: rgba(var(--drgb),.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22); }
.arrows button { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(var(--drgb),.45); backdrop-filter: blur(8px); color: #fff; font-size: 20px; cursor: pointer; z-index: 3; }
.arrows button:hover { background: rgba(var(--drgb),.75); }
.arrows .p { left: 14px; } .arrows .n { right: 14px; }
.dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: .3s; }
.dots button[aria-current="true"] { width: 28px; background: #fff; }
@media (max-width: 820px) {
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .ph { min-height: 220px; order: -1; }
  .slide .txt { padding: 26px 22px 56px; }
  .arrows button { top: 110px; width: 40px; height: 40px; }
}

/* notifications */
.notif { display: flex; justify-content: center; padding: 28px 0 0; }
.notif details { width: min(560px, 100%); }
.notif summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 999px; background: var(--navy); color: #fff; font: 600 15px var(--f); box-shadow: var(--shadow); }
.notif summary::-webkit-details-marker { display: none; }
.notif summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.notif ul { list-style: none; margin: 12px 0 0; padding: 8px 20px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.notif li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 12px; align-items: start; }
.notif li:last-child { border: 0; }
.notif li b { flex: none; font-size: 11.5px; padding: 3px 10px; border-radius: 99px; background: var(--sky); color: var(--navy); margin-top: 2px; }

/* courses */
.courses { background: var(--tint); }
.cintro { border-radius: 28px; padding: clamp(28px, 4vw, 48px); background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; text-align: center; margin-bottom: 24px; position: relative; overflow: hidden; }
.cintro::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -160px; background: rgba(255,255,255,.08); }
.cintro h3 { font-size: clamp(22px, 3vw, 32px); font-weight: 600; position: relative; }
.cintro p { margin: 10px auto 22px; color: rgba(255,255,255,.82); max-width: 52ch; position: relative; }
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ccard { background: #fff; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.ccard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ccard .art { height: 170px; display: grid; place-items: center; background: linear-gradient(160deg, var(--sky), #f4f8ff); color: var(--navy); }
.ccard .art svg { width: 86px; height: 86px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ccard .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ccard h3 { font-size: 21px; font-weight: 600; }
.ccard p { margin: 0; color: var(--soft); font-size: 15px; flex: 1; }
.pill { align-self: flex-start; font: 600 11.5px var(--f); padding: 4px 12px; border-radius: 99px; background: var(--sky); color: var(--navy); }
.pill.open { background: var(--navy); color: #fff; }
.ccard a.more { margin-top: 6px; color: var(--navy); font-weight: 600; font-size: 14.5px; }
@media (max-width: 820px) { .cgrid { grid-template-columns: 1fr; } }

/* about */
.about .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about .ph { border-radius: 28px; min-height: 380px; box-shadow: var(--shadow); }
.about p { color: var(--soft); }
.about .stats { display: flex; gap: 28px; flex-wrap: wrap; margin: 22px 0 28px; }
.about .stats b { display: block; font: 700 30px var(--f); color: var(--navy); }
.about .stats span { font-size: 13.5px; color: var(--soft); }
@media (max-width: 820px) { .about .grid { grid-template-columns: 1fr; } .about .ph { min-height: 260px; } }

/* facilities */
.fac { background: var(--tint); }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; }
.fcard .ic { width: 54px; height: 54px; border-radius: 16px; background: var(--sky); display: grid; place-items: center; color: var(--navy); margin-bottom: 16px; }
.fcard svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fcard h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.fcard p { margin: 0; color: var(--soft); font-size: 14.5px; }
@media (max-width: 960px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }

/* app */
.app .grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 6vw, 80px); align-items: center; }
.app ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 14px; }
.app li { display: flex; gap: 14px; align-items: start; color: var(--soft); }
.app li::before { content: "\2713"; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--sky); color: var(--navy); font: 700 13px/22px var(--f); text-align: center; }
.app li b { color: var(--ink); font-weight: 600; }
.phone { width: 300px; margin: 0 auto; border-radius: 40px; border: 9px solid var(--navy-deep); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.phone .bar { background: var(--navy); color: #fff; padding: 18px 18px 14px; font: 600 14px var(--f); }
.phone .bar small { display: block; font-weight: 400; opacity: .8; font-size: 11.5px; }
.phone .pb { height: 8px; background: rgba(255,255,255,.25); border-radius: 9px; margin-top: 10px; overflow: hidden; }
.phone .pb i { display: block; height: 100%; width: 38%; background: #fff; border-radius: 9px; }
.phone .body { padding: 14px; display: grid; gap: 8px; }
.phone .sub { font: 600 11px var(--f); letter-spacing: .08em; color: var(--soft); text-transform: uppercase; margin-top: 4px; }
.phone .row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; font-size: 13px; }
.phone .row i { flex: none; width: 18px; height: 18px; border-radius: 6px; border: 1.8px solid var(--navy); }
.phone .row.done { background: var(--tint); color: var(--soft); text-decoration: line-through; }
.phone .row.done i { background: var(--navy); }
.phone .row em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--navy); font-weight: 600; text-decoration: none; }
.phone .save { margin: 4px 0 2px; padding: 10px 12px; border-radius: 14px; background: var(--sky); color: var(--navy); font: 600 12px var(--f); }
@media (max-width: 900px) { .app .grid { grid-template-columns: 1fr; } }

/* achievers + testimonials */
.ach { background: var(--tint); }
.agrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.acard { background: #fff; border: 1px dashed rgba(var(--rgb),.35); border-radius: 22px; padding: 18px; text-align: center; }
.acard .face { aspect-ratio: 1; border-radius: 18px; background: linear-gradient(160deg, var(--sky), #f4f8ff); display: grid; place-items: center; color: rgba(var(--rgb),.4); margin-bottom: 14px; }
.acard .face svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.acard b { display: block; font-weight: 600; }
.acard span { font-size: 13px; color: var(--soft); }
.note { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--soft); }
@media (max-width: 960px) { .agrid { grid-template-columns: repeat(2, 1fr); } }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard { background: #fff; border: 1px dashed rgba(var(--rgb),.35); border-radius: 22px; padding: 26px; }
.tcard q { display: block; color: var(--soft); quotes: none; margin-bottom: 16px; }
.tcard b { font-weight: 600; } .tcard span { display: block; font-size: 13px; color: var(--soft); }
@media (max-width: 820px) { .tgrid { grid-template-columns: 1fr; } }

/* enquiry */
.cta { padding: 0 0 clamp(56px, 8vw, 96px); }
.ctabox { border-radius: 32px; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; box-shadow: var(--shadow); }
.ctabox h2 { font-size: clamp(26px, 3.4vw, 40px); }
.ctabox p { color: rgba(255,255,255,.82); margin: 14px 0 0; }
.ctabox .tel { display: inline-flex; margin-top: 20px; font: 600 20px var(--f); }
form { display: grid; gap: 12px; background: #fff; color: var(--ink); border-radius: 24px; padding: 24px; }
label { font: 600 13px var(--f); color: var(--soft); display: grid; gap: 6px; }
input, select { width: 100%; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--tint); font: 500 16px var(--f); color: var(--ink); }
input:focus, select:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
form .note { margin: 0; text-align: left; }
.ok { display: none; padding: 12px 14px; border-radius: 14px; background: var(--sky); color: var(--navy); font-weight: 600; font-size: 14px; }
@media (max-width: 820px) { .ctabox { grid-template-columns: 1fr; } }

/* footer */
footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 56px 0 28px; font-size: 14.5px; }
.fcols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
footer h4 { margin: 0 0 14px; color: #fff; font: 600 15px var(--f); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer a:hover { color: #fff; }
footer .brand { color: #fff; margin-bottom: 14px; }
footer .brand i { color: rgba(255,255,255,.6); }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .fcols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fcols { grid-template-columns: 1fr; } }

/* floating contact */
.float { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); display: grid; gap: 10px; z-index: 60; }
.float a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px -10px rgba(var(--drgb),.6); transition: transform .2s; }
.float a:hover { transform: scale(1.08); }
.float svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float .wa { background: #1fa855; } .float .ig { background: linear-gradient(135deg, #5b3fd1, #c2308a 60%, #e8863a); } .float .tel { background: var(--navy); }
@media (prefers-reduced-motion: reduce) { .track { transition: none; } .ticker div { animation: none; } html { scroll-behavior: auto; } }

/* ---- inner pages ---- */
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.phero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); background: linear-gradient(180deg, var(--tint), #fff); }
.phero .crumb { font-size: 13px; color: var(--soft); margin-bottom: 12px; }
.phero .crumb a { color: var(--navy); font-weight: 500; }
.phero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; color: var(--ink); }
.phero .lead { margin-top: 14px; font-size: 17px; }
.ph.has .pic, .ph.has .cap { display: none; }
.ph.has::before { display: none; }

/* results */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 28px; }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--soft); font: 600 14px var(--f); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.rgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; text-align: center; transition: transform .25s, box-shadow .25s; }
.rcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rcard .face { aspect-ratio: 1; border-radius: 16px; background: linear-gradient(160deg, var(--sky), #f4f8ff) center / cover; display: grid; place-items: center; color: rgba(var(--rgb),.4); margin-bottom: 14px; overflow: hidden; }
.rcard .face svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.rcard b { display: block; font-weight: 600; font-size: 16.5px; }
.rcard .post { display: block; font-size: 14px; color: var(--soft); margin-top: 2px; }
.rcard .meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rcard .quote { font-size: 13.5px; color: var(--soft); margin: 10px 0 0; font-style: italic; }
.rcard.slot { border-style: dashed; border-color: rgba(var(--rgb),.35); box-shadow: none; transform: none; }
.rcard.slot .face { color: rgba(var(--rgb),.35); }
.rstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 0 0 40px; }
.rstats div { background: var(--tint); border-radius: 20px; padding: 22px; text-align: center; }
.rstats b { display: block; font: 700 34px var(--f); color: var(--navy); }
.rstats span { font-size: 14px; color: var(--soft); }
.empty { text-align: center; color: var(--soft); padding: 28px 0; }
@media (max-width: 960px) { .rgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .rgrid { gap: 12px; } .rcard { padding: 12px; } }

/* courses page */
.fam { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); padding: clamp(32px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.fam:last-of-type { border: 0; }
.fam .side h2 { font-size: clamp(26px, 3vw, 34px); margin: 8px 0 10px; }
.fam .side p { color: var(--soft); margin: 0 0 18px; }
.fam .side .ic { width: 64px; height: 64px; border-radius: 20px; background: var(--sky); color: var(--navy); display: grid; place-items: center; }
.fam .side .ic svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.acc { display: grid; gap: 10px; }
.acc details { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.acc summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; min-height: 56px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sky); color: var(--navy); display: grid; place-items: center; font-weight: 700; }
.acc details[open] summary::after { content: "\2212"; }
.acc .in { padding: 0 20px 18px; color: var(--soft); font-size: 15px; }
.acc .in ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.acc .in small { display: block; margin-top: 10px; }
@media (max-width: 820px) { .fam { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 14px; }
.facts div { background: var(--tint); border-radius: 16px; padding: 14px 16px; font-size: 14px; }
.facts b { display: block; color: var(--navy); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }

/* about / team */
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .vals { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* contact */
.cgrid2 { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.cinfo { display: grid; gap: 14px; }
.cinfo .item { display: flex; gap: 14px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.cinfo .item .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--sky); color: var(--navy); display: grid; place-items: center; }
.cinfo .item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cinfo b { display: block; }
.cinfo span, .cinfo a { color: var(--soft); font-size: 15px; }
.cinfo a:hover { color: var(--navy); }
.cform { border: 1px solid var(--line); box-shadow: var(--shadow); }
textarea { width: 100%; min-height: 96px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--tint); font: 500 16px var(--f); color: var(--ink); resize: vertical; }
textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.err { display: none; color: #b3261e; font-size: 13px; font-weight: 500; }
.map { margin-top: 18px; border-radius: 22px; min-height: 220px; background: var(--tint); border: 1px dashed rgba(var(--rgb),.35); display: grid; place-items: center; color: var(--soft); font-size: 14px; text-align: center; padding: 20px; }
@media (max-width: 900px) { .cgrid2 { grid-template-columns: 1fr; } }

/* legal pages */
.prose { max-width: 760px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) 0; }
.prose h2 { font-size: 22px; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--soft); }
.prose ul { padding-left: 22px; display: grid; gap: 6px; }
.prose .draft { background: var(--tint); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; font-size: 14px; color: var(--soft); }
.prose a { color: var(--navy); text-decoration: underline; }

/* back to top / skip */
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.face.has svg { display: none; }

/* ---- mock test ---- */
.mt-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.mt-intro ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.mt-intro li { display: flex; gap: 12px; color: var(--soft); }
.mt-intro li::before { content: "\2713"; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--sky); color: var(--navy); font: 700 13px/22px var(--f); text-align: center; }
.mt-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.mt-card form { padding: 0; background: none; border-radius: 0; }
.mt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mt-check { display: flex; gap: 10px; align-items: start; font: 500 13.5px/1.5 var(--f); color: var(--soft); }
.mt-check input { flex: none; width: 22px; min-height: 22px; height: 22px; margin-top: 1px; accent-color: var(--navy); }
.mt-check a { color: var(--navy); text-decoration: underline; }
.mt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; font-weight: 600; }
.mt-timer { padding: 6px 14px; border-radius: 999px; background: var(--sky); color: var(--navy); font-variant-numeric: tabular-nums; }
.mt-timer.low { background: #fde7e5; color: #b3261e; }
.mt-bar { height: 8px; border-radius: 9px; background: var(--sky); overflow: hidden; margin-bottom: 22px; }
.mt-bar i { display: block; height: 100%; background: var(--navy); border-radius: 9px; transition: width .3s; }
.mt-q { font-size: clamp(18px, 2.4vw, 22px); font-weight: 600; line-height: 1.4; margin: 0 0 18px; }
.mt-tag { display: inline-block; margin-bottom: 10px; }
.mt-opts { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; }
.mt-opts legend { position: absolute; left: -9999px; }
.opt { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; font-weight: 500; }
.opt:hover { border-color: var(--navy); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--navy); font-size: 13px; }
.opt:has(input:checked) { border-color: var(--navy); background: var(--tint); }
.opt:has(input:checked) b { background: var(--navy); color: #fff; }
.opt:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.mt-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.mt-pal { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.mt-pal button { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 600 13px var(--f); color: var(--soft); cursor: pointer; }
.mt-pal button.done { background: var(--sky); border-color: transparent; color: var(--navy); }
.mt-pal button[aria-current="true"] { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy) inset; color: var(--navy); }
.mt-warn { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--tint); border: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; }
.mt-warn div { display: flex; gap: 10px; flex-wrap: wrap; }
.mt-score { display: grid; grid-template-columns: 180px 1fr; gap: clamp(20px, 4vw, 40px); align-items: center; }
.mt-ring { width: 180px; height: 180px; border-radius: 50%; background: conic-gradient(var(--navy) calc(var(--p) * 1%), var(--sky) 0); display: grid; place-items: center; }
.mt-ring div { width: 140px; height: 140px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; line-height: 1.1; }
.mt-ring b { font: 700 38px var(--f); color: var(--navy); display: block; }
.mt-ring span { font-size: 13px; color: var(--soft); }
.mt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mt-stats div { background: var(--tint); border-radius: 16px; padding: 12px; text-align: center; font-size: 13px; color: var(--soft); }
.mt-stats b { display: block; font: 700 22px var(--f); color: var(--ink); }
.mt-subj { margin: 20px 0 0; display: grid; gap: 8px; }
.mt-subj div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 10px 14px; border-radius: 12px; background: var(--tint); }
.mt-rev { margin-top: 26px; display: grid; gap: 12px; }
.mt-rev article { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.mt-rev h3 { font-size: 16px; font-weight: 600; margin: 0 0 10px; line-height: 1.4; }
.mt-rev .a { font-size: 14.5px; padding: 8px 12px; border-radius: 10px; margin-top: 6px; color: var(--soft); }
.mt-rev .a.ok { background: #e4f6ea; color: #14672f; font-weight: 600; }
.mt-rev .a.bad { background: #fde7e5; color: #b3261e; font-weight: 600; }
.mt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 820px) { .mt-intro { grid-template-columns: 1fr; } .mt-score { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* mock test: email status line */
.mt-mail { margin: 20px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--ice, #eef3ff); color: var(--soft, #5b6785); font: 500 14px/1.5 var(--f, 'Poppins', sans-serif); }
.mt-mail.sent { background: #e8f6ee; color: #14663a; }
.mt-mail.failed { background: #fff3e0; color: #8a4b00; }
