/* Timex Tutorial website - brand v4 (see /brand/). Mobile first. */

@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans Devanagari"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/noto-devanagari.woff2") format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF;
}

:root {
  --red-50: #FEF4F0; --red-100: #FDE6DD; --red-200: #FBCDBB; --red-400: #F07D5C;
  --red-500: #EA5936; --red-600: #D4441F; --red-700: #B23618; --red-800: #8F2D17;
  --slate-50: #F8FAFC; --slate-100: #F1F5F9; --slate-200: #E2E8F0; --slate-300: #CBD5E1; --slate-400: #94A3B8;
  --slate-500: #64748B; --slate-600: #475569; --slate-700: #334155; --slate-800: #1E293B; --slate-900: #0F172A;

  --bg: #FFFFFF; --surface: var(--slate-50); --fg: var(--slate-900); --body: var(--slate-600); --muted: var(--slate-500);
  --border: var(--slate-200); --input: var(--slate-300); --ink: var(--slate-900);
  --primary: var(--red-600); --primary-hover: var(--red-700); --link: var(--red-700);
  --tint: var(--red-50); --tint-text: var(--red-700); --logo-red: var(--red-500); --cream: #FEF2B3;
  --whatsapp: #0F7A3F; --success: #15803D; --success-bg: #F0FDF4; --danger: #B91C1C;

  --radius: 0.6rem; --radius-lg: 0.85rem;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-lg: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px rgba(15, 23, 42, .08);
  --font: "Inter", "Noto Sans Devanagari", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-hi: "Noto Sans Devanagari", "Inter", "Nirmala UI", ui-sans-serif, system-ui, sans-serif;
  --header-h: 68px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--fg); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "cv11" 1;
  padding-bottom: 64px; /* mobile action bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
:lang(hi) { font-family: var(--font-hi); }
html[lang="hi"] body { line-height: 1.75; }
h1, h2, h3 { margin: 0; color: var(--fg); letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { letter-spacing: 0; line-height: 1.4; }
p { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.i { width: 20px; height: 20px; flex: none; }
.i.wa { color: var(--whatsapp); }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--fg); color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.preview-strip { background: var(--cream); color: var(--fg); font-size: 13px; text-align: center; padding: 6px 16px; border-bottom: 1px solid #F5E08A; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: var(--radius); border: 1px solid transparent; font-size: 15px; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s;
}
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: #fff; color: var(--fg); border-color: var(--input); }
.btn-outline:hover { background: var(--slate-100); border-color: var(--slate-400); }
.btn-ghost-ink { background: transparent; color: #fff; border-color: var(--slate-700); }
.btn-ghost-ink:hover { background: var(--slate-800); }
.btn-ghost-ink .i.wa { color: #4ADE80; }
.btn-link { color: var(--fg); padding: 0 6px; font-weight: 600; }
.btn-link:hover { color: var(--link); }
.btn-link .i { color: var(--muted); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 50px; padding: 0 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btns.center { justify-content: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--border); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.brand img { width: 44px; height: 44px; flex: none; }
.brand b { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.brand small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.menu-btn { margin-left: auto; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; cursor: pointer; }
.menu-btn .shut, .menu-btn[aria-expanded="true"] .open { display: none; }
.menu-btn[aria-expanded="true"] .shut { display: block; }
.nav { display: none; }
.nav a { color: var(--slate-600); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: var(--radius); }
.nav a:hover { color: var(--fg); background: var(--slate-100); }
.nav a[aria-current="page"] { background: var(--tint); color: var(--tint-text); }
.nav .lang { display: inline-flex; align-items: center; gap: 6px; }
.nav .lang .i { width: 18px; height: 18px; color: var(--muted); }
.nav .btn { color: var(--fg); }
.nav .btn:hover { background: var(--slate-100); }

/* mobile menu (open) */
.nav.open {
  display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 8px 16px 16px;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav.open > a { padding: 12px 12px; font-size: 16px; }
.nav.open .nav-extra { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; }
.nav.open .nav-extra .lang { padding: 8px 12px; }

@media (min-width: 1080px) {
  .menu-btn { display: none; }
  .nav, .nav.open { display: flex; flex-direction: row; align-items: center; gap: 2px; margin-left: auto; position: static; padding: 0; box-shadow: none; border: 0; max-height: none; overflow: visible; background: transparent; }
  .nav > a { padding: 8px 12px; }
  .nav .nav-extra, .nav.open .nav-extra { display: flex; flex-direction: row; align-items: center; gap: 8px; margin: 0 0 0 10px; padding: 0 0 0 12px; border: 0; border-left: 1px solid var(--border); }
  .nav .lang { padding: 8px 10px; }
}

/* ---------- sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section.alt + .section.alt { border-top: 0; }
.sec-head { max-width: 680px; margin-bottom: 32px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
.sec-head .lead { margin-top: 12px; }
.sec-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.sec-row .sec-head { margin-bottom: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tint-text); margin-bottom: 10px; }
:lang(hi) .eyebrow { letter-spacing: 0; font-size: 14px; }
.lead { font-size: 17px; color: var(--body); }
@media (min-width: 900px) { .lead { font-size: 18px; } }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .g2, .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid { gap: 20px; } }
.icon-tile { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--tint); color: var(--logo-red); flex: none; }
.icon-tile .i { width: 22px; height: 22px; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--tint-text); background: var(--tint); padding: 3px 10px; border-radius: 999px; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 48px; background:
  radial-gradient(900px 400px at 100% 0%, var(--red-50), transparent 60%),
  linear-gradient(#fff, #fff); }
@media (min-width: 900px) { .hero { padding: 72px 0 80px; } }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); gap: 56px; } }
.since { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; background: var(--cream); color: var(--fg); padding: 6px 12px; border-radius: 999px; }
.since .i { width: 16px; height: 16px; color: var(--red-700); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; margin: 18px 0 10px; }
.hero h1 em { font-style: normal; color: var(--primary); }
:lang(hi) .hero h1, .hero h1:lang(hi) { letter-spacing: 0; line-height: 1.3; }
.hero-alt { font-size: 18px; font-weight: 600; color: var(--slate-700); margin-bottom: 16px; }
.hero-alt:lang(hi) { font-family: var(--font-hi); }
.hero .lead { max-width: 560px; }
.hero .btns { margin-top: 28px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 24px 0 0; font-size: 14px; color: var(--body); font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .i { width: 16px; height: 16px; color: var(--success); }
.hero-form .enquiry { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px; }
@media (min-width: 640px) { .hero-form .enquiry { padding: 28px; } }

/* ---------- ink band ---------- */
.ink-band { background: var(--ink); color: #fff; padding: 36px 0; }
@media (min-width: 900px) { .ink-band { padding: 44px 0; } }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stat + .stat { border-left: 1px solid var(--slate-800); padding-left: 28px; } }
.stat b { display: block; font-size: clamp(30px, 4vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; font-family: var(--font); }
.stat b.hl { color: var(--red-400); }
.stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--slate-400); }

/* ---------- cards ---------- */
.card, .feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.feature h3 { font-size: 17px; font-weight: 600; margin: 16px 0 6px; }
.feature p { font-size: 15px; color: var(--body); }
.feature.center { text-align: center; }
.feature.center .icon-tile { margin: 0 auto; }
.course { display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, box-shadow .15s; }
.course:hover { border-color: var(--slate-300); box-shadow: var(--shadow-lg); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.course h3 { font-size: 19px; font-weight: 700; }
.course .subjects { font-size: 14px; font-weight: 600; color: var(--fg); }
.course p { font-size: 15px; color: var(--body); }
.card-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--link); text-decoration: none; }
.card-link .i { width: 16px; height: 16px; transition: transform .15s; }
.card-link:hover .i { transform: translateX(3px); }
.batches { margin: 6px 0 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.batches div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 14px; }
.batches div + div { border-top: 1px solid var(--border); }
.batches dt { font-weight: 600; }
.batches dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.batches dd span { display: block; font-size: 12.5px; color: var(--muted); }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--body); }
.course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-meta .i { width: 16px; height: 16px; color: var(--muted); }

/* toppers */
.topper { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto auto; column-gap: 16px; align-items: center; }
.topper .avatar { grid-row: 1 / 4; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--logo-red); box-shadow: inset 0 0 0 2px var(--red-200); }
.topper .avatar .i { width: 24px; height: 24px; }
.topper .score { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-family: var(--font); }
.topper h3 { font-size: 15px; font-weight: 600; }
.topper p { font-size: 13.5px; color: var(--muted); }

/* director */
.director { display: grid; gap: 28px; align-items: center; }
@media (min-width: 800px) { .director { grid-template-columns: 220px 1fr; gap: 48px; } .director.full { align-items: start; } }
.director-photo { width: 180px; aspect-ratio: 1; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--logo-red); margin: 8px; }
@media (min-width: 800px) { .director-photo { width: 200px; } }
.director-photo { overflow: hidden; }
.director-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 800px) { .director.full { grid-template-columns: 340px 1fr; } }
.director-portrait { width: 100%; max-width: 360px; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.story-photo { margin: 0; align-self: center; }
.story-photo img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.story-photo figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.director blockquote { margin: 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; line-height: 1.45; color: var(--fg); letter-spacing: -0.01em; }
.director blockquote:lang(hi), html[lang="hi"] .director blockquote { line-height: 1.7; letter-spacing: 0; }
.director-text { font-size: 17px; color: var(--body); margin-bottom: 14px; }
.eyebrow + .director-text { font-size: 20px; color: var(--fg); font-weight: 500; }
.sign { margin: 20px 0 14px; padding-left: 14px; border-left: 3px solid var(--logo-red); }
.sign b { display: block; font-size: 16px; }
.sign span { font-size: 14px; color: var(--muted); }

/* parent app */
.app-panel { display: grid; gap: 36px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px 22px; }
@media (min-width: 900px) { .app-panel { grid-template-columns: 1.2fr 1fr; padding: 48px 56px; gap: 56px; } }
.app-panel h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 12px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.ticks .i { width: 20px; height: 20px; color: var(--logo-red); }
.phone-mock { justify-self: center; width: 100%; max-width: 320px; background: #fff; border: 8px solid var(--ink); border-radius: 30px; padding: 18px 14px 22px; box-shadow: var(--shadow-lg); }
.pm-top { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 2px 4px 14px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.pm-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 11px 6px; font-size: 13.5px; border-bottom: 1px solid var(--slate-100); }
.pm-row:last-child { border-bottom: 0; }
.pm-row span { color: var(--body); }
.pm-row b { font-weight: 600; text-align: right; }
.pm-row b.ok { color: var(--success); background: var(--success-bg); padding: 2px 8px; border-radius: 999px; font-size: 12.5px; }

/* testimonials */
.quote { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.quote .q { width: 28px; height: 28px; color: var(--red-200); fill: var(--red-100); }
.quote blockquote { margin: 0; font-size: 16px; color: var(--fg); flex: 1; }
.quote figcaption b { display: block; font-size: 15px; }
.quote figcaption span { font-size: 13.5px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; padding: 48px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
.cta-band p { color: var(--slate-400); margin-top: 6px; font-size: 17px; }

/* ---------- inner pages ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 36px 0 40px; }
@media (min-width: 900px) { .page-hero { padding: 56px 0; } }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 700; letter-spacing: -0.03em; margin: 10px 0 12px; }
.page-hero .lead { max-width: 680px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--link); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 600; }
.chips a span { font-weight: 400; color: var(--muted); }
.chips a:hover { border-color: var(--slate-400); background: var(--slate-50); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-family: var(--font); }
.steps h3 { font-size: 17px; margin: 14px 0 4px; }
.steps p { color: var(--body); font-size: 15px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.faq details + details { margin-top: 10px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 18px 18px; color: var(--body); }

.year-block + .year-block { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--border); }
.year-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 24px; }
.year-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
.year-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.year-stats div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 14px; }
.year-stats b { font-size: 18px; font-weight: 700; margin-right: 6px; font-family: var(--font); }
.year-stats span { font-size: 13.5px; color: var(--muted); }

.teacher { display: flex; align-items: center; gap: 16px; }
.teacher-photo { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--slate-100); color: var(--slate-400); flex: none; }
.teacher h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.teacher-meta { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

.story { display: grid; gap: 40px; }
@media (min-width: 900px) { .story { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.story p:not(.eyebrow) { color: var(--body); font-size: 17px; margin-bottom: 14px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 2px solid var(--border); display: grid; gap: 26px; align-self: center; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--logo-red); }
.timeline b { font-size: 18px; font-family: var(--font); }
.timeline p { color: var(--body); margin: 2px 0 0; font-size: 15.5px; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.gallery figure { margin: 0; }
.ph { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); border: 1px dashed var(--slate-300); background: repeating-linear-gradient(135deg, var(--slate-50), var(--slate-50) 12px, var(--slate-100) 12px, var(--slate-100) 24px); display: grid; place-items: center; align-content: center; gap: 6px; color: var(--slate-400); font-size: 14px; }
.ph .i { width: 32px; height: 32px; }
.gallery figcaption { font-size: 14px; font-weight: 500; margin-top: 8px; }

.contact-grid { display: grid; gap: 36px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.contact-form > h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; }
.contact-form > .lead { margin: 8px 0 22px; font-size: 16px; }
.contact-form .enquiry { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .contact-form .enquiry { padding: 28px; } }
.contact-side { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px 16px; background: #fff; }
.contact-card h3 { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.contact-card a, .contact-card p { font-size: 15.5px; font-weight: 600; color: var(--fg); text-decoration: none; }
.contact-card a:hover { color: var(--link); text-decoration: underline; }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-lg); }
.not-found { padding: 96px 0; }
.not-found h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 12px; }
.not-found .btns { margin-top: 24px; }

/* ---------- enquiry form ---------- */
.form-title { font-size: 21px; font-weight: 700; }
.form-sub { color: var(--body); font-size: 15px; margin: 4px 0 18px; }
.field-grid { display: grid; gap: 14px; margin-bottom: 18px; }
@media (min-width: 640px) { .field-grid.two { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--input); border-radius: var(--radius); background: #fff; font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--red-100); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px #FEE2E2; }
.phone-input { display: flex; }
.phone-input span { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--input); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: var(--slate-50); color: var(--body); font-weight: 500; font-size: 15px; }
.phone-input input { border-radius: 0 var(--radius) var(--radius) 0; }
.err { color: var(--danger); font-size: 13.5px; margin-top: 6px; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.form-note .i { width: 15px; height: 15px; }
.form-fail { margin-top: 12px; padding: 10px 14px; border-radius: var(--radius); background: #FEF2F2; color: var(--danger); font-size: 14px; font-weight: 500; }
.enquiry-done { text-align: center; padding: 18px 4px; }
.enquiry-done:focus { outline: none; }
.done-icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--success-bg); color: var(--success); }
.done-icon .i { width: 28px; height: 28px; }
.enquiry-done h3 { font-size: 20px; margin-bottom: 6px; }
.enquiry-done p { color: var(--body); margin-bottom: 16px; }
.done-preview { font-size: 13px; color: var(--muted) !important; background: var(--cream); padding: 6px 10px; border-radius: var(--radius); }
.enquiry button[disabled] { opacity: .7; cursor: progress; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--slate-400); padding: 56px 0 0; border-top: 1px solid var(--slate-800); }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr .8fr 1.2fr 1fr; gap: 40px; } }
.brand-ink b { color: #fff; }
.brand-ink small { color: var(--slate-400); }
.brand-ink img { width: 48px; height: 48px; }
.foot-text { font-size: 14.5px; margin: 16px 0; max-width: 320px; }
.site-footer h3 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
:lang(hi) .site-footer h3, html[lang="hi"] .site-footer h3 { letter-spacing: 0; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.site-footer a { color: var(--slate-300); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .i { width: 18px; height: 18px; color: var(--red-400); margin-top: 2px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--slate-800); padding-top: 18px; padding-bottom: 20px; font-size: 13.5px; }

/* ---------- mobile action bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(15, 23, 42, .06); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border: 1px solid var(--input); border-radius: var(--radius); color: var(--fg); text-decoration: none; font-weight: 600; font-size: 14.5px; background: #fff; }
.mobile-bar a .i { width: 18px; height: 18px; }
.mobile-bar a.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

@media print { .site-header, .mobile-bar, .preview-strip, .cta-band, .site-footer { display: none; } body { padding: 0; } }

/* ---------- content from the ERP (Website tab) ---------- */
[hidden] { display: none !important; }
.notice-bar { background: var(--primary); color: #fff; text-align: center; font-size: 14.5px; font-weight: 600; padding: 9px 16px; line-height: 1.45; }
.topper img.avatar-photo { object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red-200); }
@media (min-width: 640px) { .topper { grid-template-columns: 72px 1fr; } .topper .avatar { width: 72px; height: 72px; } }
img.teacher-photo { object-fit: cover; }
.gallery-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--slate-100); }
.results-empty { color: var(--body); font-size: 17px; padding: 8px 0 24px; max-width: 620px; }
.topper.has-photo { grid-template-columns: 84px 1fr; }
.topper.has-photo .avatar { width: 84px; height: 84px; }
@media (min-width: 640px) { .topper.has-photo { grid-template-columns: 104px 1fr; } .topper.has-photo .avatar { width: 104px; height: 104px; } }
