/* RamanTutor – public site styles */
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/lexend-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/lexend-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/lexend-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); }

:root {
  --blue: #1d4ed8;
  --blue-600: #2563eb;
  --blue-800: #1a3fae;
  --blue-900: #142c7a;
  --blue-50: #eef3ff;
  --blue-100: #dbe6ff;
  --teal: #0f8f7f;
  --teal-700: #0b7466;
  --teal-50: #e7f7f4;
  --amber: #f5a524;
  --amber-50: #fff6e5;
  --amber-ink: #8a5a00;
  --ink: #0f1b3d;
  --text: #334160;
  --muted: #5b6785;
  --line: #e3e8f2;
  --soft: #f5f8fd;
  --white: #fff;
  --danger: #c0262d;
  --ok: #0f7a4a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 61, .06), 0 2px 8px rgba(15, 27, 61, .05);
  --shadow: 0 2px 6px rgba(15, 27, 61, .05), 0 12px 32px rgba(15, 27, 61, .08);
  --shadow-lg: 0 24px 60px rgba(20, 44, 122, .16);
  --font-head: "Lexend", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --header-h: 76px;
}

*, *::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; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3, .h3 { font-size: 1.25rem; }
.h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.ic { width: 20px; height: 20px; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 12px; border: 1.5px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s; text-align: center; }
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(29, 78, 216, .25); }
.btn-primary:hover { background: var(--blue-800); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--blue-900); }
.btn-light:hover { background: var(--amber); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.04rem; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-family: var(--font-head); text-decoration: none; font-size: .95rem; }
.link-arrow .ic { width: 17px; height: 17px; transition: transform .18s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* Badges */
.tbc { display: inline-flex; align-items: center; gap: 4px; background: var(--amber-50); color: var(--amber-ink); border: 1px dashed #e1a33b; font: 600 .72rem/1 var(--font-body); padding: 4px 8px; border-radius: 999px; letter-spacing: .01em; vertical-align: middle; white-space: nowrap; font-style: normal; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .82rem/1.3 var(--font-head); color: var(--blue); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 12px; flex-wrap: wrap; }
.eyebrow .ic { width: 17px; height: 17px; }
.req { color: var(--danger); font-weight: 700; }

/* Preview bar */
.preview-bar { background: var(--amber-50); border-bottom: 1px solid #f2d39c; color: var(--amber-ink); font-size: .85rem; }
.preview-bar .wrap { display: flex; gap: 10px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.preview-bar .ic { width: 18px; height: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { text-decoration: none; display: inline-flex; flex: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 40px; }
.logo-word { font: 700 1.38rem/1 var(--font-head); color: var(--ink); letter-spacing: -.02em; }
.logo-accent { color: var(--blue); }
.brand-light .logo-word { color: #fff; }
.brand-light .logo-accent { color: #9fbaff; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font: 500 .96rem/1.2 var(--font-head); }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current] { color: var(--blue); background: var(--blue-50); }
.drop-toggle { background: none; border: 0; padding: 6px 4px; margin-left: -8px; cursor: pointer; color: var(--muted); border-radius: 8px; display: inline-flex; }
.drop-toggle .ic { width: 16px; height: 16px; transition: transform .2s; }
.drop-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 8px); left: -20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 20px 22px; min-width: 560px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.open .drop { opacity: 1; visibility: visible; transform: none; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.drop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.drop-h { font: 600 .74rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }
.drop ul { list-style: none; margin: 0; padding: 0; }
.drop li a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.drop li a:hover { color: var(--blue); }
.drop small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 600 .95rem/1 var(--font-head); white-space: nowrap; }
.header-phone .ic { width: 18px; height: 18px; color: var(--blue); }
.nav-toggle { display: none; background: var(--blue-50); border: 0; width: 46px; height: 46px; border-radius: 12px; color: var(--blue); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-mobile-cta { display: none; }
@media (max-width: 1240px) { .header-phone span { display: none; } .header-phone { width: 42px; height: 42px; justify-content: center; border-radius: 12px; border: 1px solid var(--line); } }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; margin-left:10rem;}
  .header-phone, .header-cta { display: none; }
  .main-nav { position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; background: #fff; padding: 16px 20px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden; border-top: 1px solid var(--line); margin: 0; z-index: 59; }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { flex: 1; padding: 15px 4px; font-size: 1.05rem; background: none !important; }
  .drop-toggle { margin: 0; padding: 12px; }
  .drop { position: static; min-width: 0; width: 100%; box-shadow: none; border: 0; padding: 0 4px 14px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-drop.open .drop { display: block; }
  .has-drop:hover .drop { display: none; }
  .has-drop.open:hover .drop { display: block; }
  .drop-grid { grid-template-columns: 1fr; gap: 14px; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 20px; }
  body.nav-open { overflow: hidden; }
}

/* Breadcrumbs */
.crumbs ol { list-style: none; padding: 14px 0 0; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b4bdd1; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* Sections */
.section { padding: 84px 0; }
.section-tight { padding: 48px 0; }
.section-soft { background: var(--soft); }
.section-blue { background: linear-gradient(135deg, var(--blue-900), var(--blue) 70%, #3a6cf0); color: #dfe7ff; position: relative; overflow: hidden; }
.section-blue::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .05); pointer-events: none; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.sec-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.sec-head.split h2 { margin: 0; }
.sec-head.light h2 { color: #fff; }
.sec-head.light .eyebrow { color: #ffd38a; }
.lead { font-size: clamp(1.04rem, 1.4vw, 1.16rem); color: var(--text); max-width: 640px; }

/* Hero */
.hero { padding: 56px 0 64px; background: radial-gradient(1200px 500px at 85% -10%, var(--blue-50), transparent 60%), radial-gradient(700px 400px at -10% 110%, var(--teal-50), transparent 60%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1::after { content: ""; display: block; width: 72px; height: 6px; border-radius: 6px; background: var(--amber); margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-actions.center { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 500; color: var(--ink); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .ic { color: var(--teal); width: 19px; height: 19px; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; filter: drop-shadow(0 30px 40px rgba(20, 44, 122, .12)); }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 14px; border-radius: 14px; font: 600 .86rem/1 var(--font-head); color: var(--ink); animation: bob 6s ease-in-out infinite; }
.float-chip .ic { width: 18px; height: 18px; color: var(--blue); }
.chip-a { left: -4%; top: 30%; }
.chip-b { right: -2%; top: 2%; animation-delay: -2s; }
.chip-b .ic { color: var(--teal); }
.chip-c { left: 8%; bottom: 4%; animation-delay: -4s; }
.chip-c .ic { color: var(--amber-ink); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.finder { margin-top: 44px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.finder-title { display: flex; align-items: center; gap: 10px; margin: 0 8px 12px 4px; font: 600 1.02rem/1.2 var(--font-head); color: var(--ink); flex: 1 1 180px; align-self: center; }
.finder-title .ic { width: 22px; height: 22px; color: var(--blue); background: var(--blue-50); border-radius: 10px; padding: 8px; box-sizing: content-box; }
.finder-field { flex: 1 1 170px; display: grid; gap: 6px; font: 600 .78rem/1 var(--font-head); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.finder .btn { flex: 0 0 auto; min-height: 50px; }

select, input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=search], textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfd7e6; border-radius: 12px; background: #fff; font-size: 1rem; line-height: 1.3; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 400; transition: border-color .15s, box-shadow .15s; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6785' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
textarea { min-height: 110px; resize: vertical; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 78, 216, .14); }

/* Mode cards */
.mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.mode-grid.mode-count-1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
.mode-card { --accent: var(--blue); --accent-50: var(--blue-50); background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; border-top: 5px solid var(--accent); }
.mode-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.mode-offline { --accent: var(--teal); --accent-50: var(--teal-50); }
.mode-media { background: var(--accent-50); padding: 20px 28px 0; }
.mode-media img { width: 100%; max-height: 260px; object-fit: contain; }
.mode-body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.mode-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font: 600 .82rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em; }
.mode-kicker .ic { width: 18px; height: 18px; }
.mode-body h3 { font-size: 1.55rem; }
.mode-actions { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.btn-mode { background: var(--accent); color: #fff; }
.btn-mode:hover { color: #fff; filter: brightness(.92); }
.mode-offline .link-arrow { color: var(--teal-700); }
.ticks { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { width: 20px; height: 20px; color: #fff; background: var(--accent, var(--blue)); border-radius: 50%; padding: 3px; margin-top: 2px; }
.ticks-lg { gap: 12px; margin-bottom: 36px; }

/* Stages & boards */
.stage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.stage { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stage-h { font: 600 1.02rem/1.2 var(--font-head); color: var(--ink); margin-bottom: 14px; }
.stage-links { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-links a { min-width: 44px; height: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--blue-50); color: var(--blue-800); font: 600 1rem/1 var(--font-head); text-decoration: none; transition: background .15s, color .15s; }
.stage-links a:hover { background: var(--blue); color: #fff; }
.board-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.board { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-family: var(--font-head); }
.board .ic { width: 16px; height: 16px; color: var(--blue); }
.board:hover { border-color: var(--blue); }

/* Subject cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 22px; }
.card-grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.s-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.s-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue-100); }
.s-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.s-icon { width: 52px; height: 52px; border-radius: 15px; background: var(--blue-50); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.s-icon .ic { width: 26px; height: 26px; }
.s-exam .s-icon { background: var(--amber-50); color: #b26d00; }
.s-support .s-icon { background: var(--teal-50); color: var(--teal-700); }
.s-icon.sm { width: 40px; height: 40px; border-radius: 12px; }
.s-icon.sm .ic { width: 20px; height: 20px; }
.s-icon.xl { width: 84px; height: 84px; border-radius: 24px; }
.s-icon.xl .ic { width: 40px; height: 40px; }
.s-card h3 { font-size: 1.16rem; margin-bottom: 6px; }
.s-card h3 a { color: inherit; text-decoration: none; }
.s-card h3 a:hover { color: var(--blue); }
.s-grade { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.s-grade .ic { width: 16px; height: 16px; }
.s-text { font-size: .94rem; margin-bottom: 14px; }
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .76rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: #f0f2f7; color: var(--text); }
.chip-online { background: var(--blue-50); color: var(--blue-800); }
.chip-offline { background: var(--teal-50); color: var(--teal-700); }
.s-actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Format */
.format-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.format-card { border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: linear-gradient(180deg, #fff, var(--soft)); }
.f-icon { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; margin-bottom: 18px; }
.f-icon .ic { width: 28px; height: 28px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.tutor-card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.tutor-card::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: 24px; background: var(--blue-100); z-index: -1; }
.tutor-label { font: 600 .78rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ph-block { border: 2px dashed #e1a33b; background: var(--amber-50); border-radius: 16px; padding: 18px; color: var(--amber-ink); font-size: .94rem; }
.ph-block p { margin: 10px 0 0; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.why { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.why h3 { font-size: 1.1rem; margin: 16px 0 8px; }
.why p { font-size: .95rem; margin: 0; }
.why-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.why-ic .ic { width: 24px; height: 24px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: s; position: relative; z-index: 1; }
.steps li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px; padding: 26px; position: relative; }
.steps h3 { color: #fff; font-size: 1.12rem; margin: 18px 0 8px; }
.steps p { margin: 0; font-size: .95rem; color: #d3ddff; }
.step-n { width: 46px; height: 46px; border-radius: 14px; background: var(--amber); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font: 700 1.2rem/1 var(--font-head); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -18px; width: 14px; height: 2px; background: rgba(255, 255, 255, .35); }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.form-main { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow-sm); }
.section-soft .form-main { box-shadow: var(--shadow); }
.enquire-page .form-main h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.enquiry-form { display: grid; gap: 8px; }
.f-group { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.f-group legend { font: 600 1.02rem/1.3 var(--font-head); color: var(--ink); padding: 0 0 14px; display: flex; align-items: center; gap: 10px; width: 100%; }
.f-group legend::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.f-span { grid-column: 1 / -1; }
.f-field { display: grid; gap: 6px; align-content: start; min-width: 0; margin-bottom: 4px; }
.f-group > .f-field + .f-field { margin-top: 14px; }
.f-label { font-weight: 600; font-size: .93rem; color: var(--ink); margin: 0; }
.f-label .opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.f-tag { font-size: .74rem; font-weight: 600; color: var(--teal-700); background: var(--teal-50); padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.f-help { font-size: .82rem; color: var(--muted); margin: 0; }
.f-err { font-size: .85rem; color: var(--danger); font-weight: 600; margin: 0; }
.f-err[hidden] { display: none; }
[aria-invalid="true"], .is-invalid input, .is-invalid select { border-color: var(--danger) !important; }
.f-prefix { display: flex; align-items: stretch; }
.f-prefix span { display: inline-flex; align-items: center; padding: 0 12px; border: 1.5px solid #cfd7e6; border-right: 0; border-radius: 12px 0 0 12px; background: var(--soft); font-weight: 600; color: var(--muted); }
.f-prefix input { border-radius: 0 12px 12px 0; min-width: 0; }
.f-alert { background: #fdecec; color: #8f1d22; border: 1px solid #f3c2c4; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: .93rem; }
.f-alert[hidden] { display: none; }
.f-note { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.f-note .ic { color: var(--teal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-box { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid #cfd7e6; border-radius: 14px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; flex-wrap: wrap; height: 100%; }
.choice-box > .ic { width: 28px; height: 28px; color: var(--blue); flex: none; }
.choice-offline .choice-box > .ic { color: var(--teal); }
.choice-box strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.choice-box small { color: var(--muted); font-size: .82rem; }
.choice input:checked + .choice-box { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(29, 78, 216, .14); }
.choice-offline input:checked + .choice-box { border-color: var(--teal); background: var(--teal-50); box-shadow: 0 0 0 3px rgba(15, 143, 127, .16); }
.choice input:focus-visible + .choice-box { outline: 3px solid var(--amber); outline-offset: 2px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #cfd7e6; font-weight: 600; font-size: .93rem; color: var(--ink); background: #fff; min-height: 44px; }
.pill .ic { width: 18px; height: 18px; color: var(--blue); }
.pill input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.pill input:checked + span .ic { color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.pill em.tbc { font-size: .66rem; padding: 2px 6px; }
.f-consent { margin: 4px 0 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.f-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.f-fallback { margin: 0; font-size: .88rem; color: var(--muted); flex: 1 1 240px; }

.contact-panel { background: var(--ink); color: #c9d3ee; border-radius: 24px; padding: 30px; position: sticky; top: calc(var(--header-h) + 20px); }
.contact-panel h3 { color: #fff; }
.cp-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 16px; }
.cp-list li { display: flex; gap: 14px; align-items: center; }
.cp-list small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: #8f9cc4; }
.cp-list a, .cp-list span { color: #fff; text-decoration: none; font-weight: 600; word-break: break-word; }
.cp-list a:hover { color: #ffd38a; }
.cp-ic { width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; flex: none; color: #9fbaff; }
.cp-ic .ic { width: 20px; height: 20px; }
.cp-ic.cp-wa { color: #5fe0a0; }
.cp-steps { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; }
.cp-h { color: #fff; font: 600 .95rem/1 var(--font-head); }
.cp-steps ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .92rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s; }
.faq[open] { box-shadow: var(--shadow-sm); border-color: var(--blue-100); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; cursor: pointer; font: 600 1.02rem/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { width: 22px; height: 22px; color: var(--blue); transition: transform .2s; }
.faq[open] .faq-ic { transform: rotate(45deg); }
.faq-a { padding: 0 22px 8px; color: var(--text); }
.faq-page { display: grid; gap: 40px; max-width: 860px; }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--blue-900), var(--blue)); color: #dbe5ff; padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: -80px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; background: rgba(245, 165, 36, .16); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; }
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { margin: 0; max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page hero */
.page-hero { padding: 44px 0 56px; background: linear-gradient(180deg, var(--blue-50), #fff); }
.page-hero.slim { padding-bottom: 24px; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-hero-img { width: 100%; max-height: 320px; object-fit: contain; }
.mode-hero-offline { background: linear-gradient(180deg, var(--teal-50), #fff); }
.mode-hero-offline .eyebrow { color: var(--teal-700); }
.subject-hero-grid { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.meta-row { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.meta-row li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.meta-row .ic { width: 17px; height: 17px; color: var(--blue); }

/* Tuition listing */
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.filter-bar label { display: grid; gap: 6px; flex: 1 1 200px; font: 600 .78rem/1 var(--font-head); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.filter-actions { display: flex; gap: 10px; }
.js .js-hide { display: none; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.jump a { text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--soft); color: var(--ink); font-weight: 600; font-size: .9rem; border: 1px solid var(--line); }
.jump a span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.cat-block { padding-top: 28px; }
.cat-block h2 { font-size: 1.5rem; margin-bottom: 20px; }
.empty-note { text-align: center; padding: 44px 24px; border: 2px dashed var(--line); border-radius: 22px; background: #fff; }
.empty-note p { color: var(--muted); max-width: 560px; margin: 0 auto 18px; }

/* Detail */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; }
.detail-side .side-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.detail-side .f-grid { grid-template-columns: 1fr; }
.detail-side .choice-row { grid-template-columns: 1fr; }
.prose { font-size: 1.03rem; }
.prose h2 { font-size: 1.45rem; margin-top: 0; }
.prose h3 { font-size: 1.18rem; margin-top: 1.6em; }
.prose.narrow { max-width: 780px; }
.avail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 30px; }
.avail { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.avail strong { display: block; color: var(--ink); font-family: var(--font-head); }
.avail small { color: var(--muted); font-size: .88rem; line-height: 1.5; display: block; }
.avail-offline .why-ic { background: var(--teal-50); color: var(--teal-700); }
.avail:hover { border-color: var(--blue); }
.fee-note { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: var(--amber-50); border: 1px solid #f2d39c; border-radius: 18px; padding: 22px; }
.fee-note .why-ic { background: #fff; color: #b26d00; }
.fee-note div { flex: 1 1 260px; }
.fee-note p { margin: 0; font-size: .95rem; }
.fee-note h2 { margin-bottom: 4px; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.info-card h2 { margin: 16px 0 14px; }
.mini-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.about-detail { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.profile-list { display: grid; gap: 18px; margin-top: 18px; }
.profile-item { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; }
.profile-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.profile-item p:last-child { margin-bottom: 0; }
.profile-item.is-ph { border-style: dashed; border-color: #e1a33b; background: var(--amber-50); color: var(--amber-ink); }
.approach { background: var(--soft); border-radius: 22px; padding: 30px; }
.approach-list { margin: 0; padding-left: 1.2em; display: grid; gap: 12px; }
.taught-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.taught-list a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.taught-list a > span:nth-child(2) { flex: 1; }
.taught-list small { display: block; color: var(--muted); font-size: .82rem; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.contact-card { display: grid; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--text); transition: box-shadow .2s, border-color .2s; }
.contact-card strong { color: var(--ink); font-family: var(--font-head); font-size: 1.08rem; margin-top: 10px; }
.contact-card span:last-child { word-break: break-word; }
.contact-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }

/* Thanks */
.thanks { padding: 90px 0; }
.thanks-ic { display: inline-flex; width: 84px; height: 84px; border-radius: 50%; background: #e3f6ec; color: var(--ok); align-items: center; justify-content: center; margin-bottom: 20px; }
.thanks-ic .ic { width: 44px; height: 44px; }
.thanks .lead { margin: 0 auto 24px; }
.ref { font-family: var(--font-head); background: var(--blue-50); color: var(--blue-800); padding: 2px 10px; border-radius: 8px; white-space: nowrap; }
.thanks-box { background: var(--soft); border-radius: 20px; padding: 24px; margin: 0 auto 26px; max-width: 560px; }
.thanks-box .hero-actions { margin-top: 12px; }

/* Footer */
.site-footer { background: #0b1531; color: #a9b5d6; padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.footer-brand p { margin: 18px 0; max-width: 340px; }
.footer-h { color: #fff; font: 600 .98rem/1 var(--font-head); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #a9b5d6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: 10px; align-items: center; word-break: break-word; }
.footer-contact .ic, .social .ic { width: 18px; height: 18px; color: #9fbaff; }
.social { display: inline-flex; gap: 10px; align-items: center; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: .86rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }

/* Floating */
.wa-float { position: fixed; right: 20px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(31, 168, 85, .35); z-index: 50; transition: transform .2s; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 27, 61, .08); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; border-radius: 10px; text-decoration: none; color: var(--ink); font: 600 .78rem/1.1 var(--font-head); min-height: 48px; justify-content: center; }
  .mobile-bar a .ic { width: 20px; height: 20px; color: var(--blue); }
  .mobile-bar .mobile-bar-primary { background: var(--blue); color: #fff; flex: 1.4; }
  .mobile-bar .mobile-bar-primary .ic { color: #fff; }
  body { padding-bottom: 72px; }
  .wa-float { display: none; }
}

/* Consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 18px; padding: 18px 20px; z-index: 70; font-size: .9rem; }
.consent p { margin: 0 0 12px; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 760px) { .consent { bottom: 84px; } }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .page-hero-grid, .about-grid, .about-detail, .faq-wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .page-hero-img { max-height: 360px; }
  .form-layout, .detail-layout { grid-template-columns: 1fr; }
  .contact-panel { position: static; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-side .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .section { padding: 60px 0; }
  .hero { padding-top: 32px; }
  .mode-grid, .two-col, .why-grid, .steps { grid-template-columns: 1fr; }
  .f-grid, .detail-side .f-grid { grid-template-columns: 1fr; }
  .form-main { padding: 22px 18px; border-radius: 20px; }
  .mode-body { padding: 22px; }
  .float-chip { font-size: .76rem; padding: 8px 10px; }
  .chip-a { left: 0; } .chip-b { right: 0; }
  .finder { padding: 16px; }
  .finder .btn { width: 100%; }
  .subject-hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .s-icon.xl { width: 64px; height: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-panel { padding: 24px 20px; }
  .logo-word { font-size: 1.22rem; }
  .logo-mark { width: 36px; height: 36px; }
  .f-submit .btn { width: 100%; }
}
.tutor-photo { width: 160px; height: 160px; border-radius: 24px; object-fit: cover; margin-bottom: 18px; box-shadow: var(--shadow); }
[hidden] { display: none !important; }
.about-grid { isolation: isolate; }
.cp-list a, .cp-list span { font-size: .93rem; overflow-wrap: anywhere; }

/* =====================================================================
   v2 – Hero carousel, credibility strip, programmes, 4-field form, modal
   ===================================================================== */
.ic.flip { transform: scaleX(-1); }

/* Hero */
.hero-v2 { padding: 64px 0 72px; background:
  radial-gradient(900px 480px at 92% 0%, #dfe9ff 0%, transparent 62%),
  radial-gradient(600px 420px at 0% 100%, var(--teal-50) 0%, transparent 60%),
  linear-gradient(180deg, #fbfcff, #fff); position: relative; overflow: hidden; }
.hero-v2::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(29, 78, 216, .08) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); pointer-events: none; }
.hero-v2 .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; position: relative; }
.hero-v2 .hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-h1 { font-size: clamp(2.1rem, 3.5vw, 3.05rem); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 24px; }
.hero-h1 .hl { display: block; }
.hero-h1 .hl-1 { color: var(--blue); }
.hero-h1 .hl-2 { position: relative; display: inline-block; }
.hero-h1 .hl-2::after { content: ""; position: absolute; left: 0; right: 4px; bottom: .02em; height: .16em; background: var(--amber); border-radius: 6px; z-index: -1; opacity: .85; }
.hero-v2 h1::after { display: none; }
.hero-v2 .lead { font-size: clamp(1.05rem, 1.35vw, 1.18rem); max-width: 560px; margin-bottom: 0; }
.hero-v2 .hero-actions { margin-top: 32px; }
.hero-v2 .hero-points { margin-top: 28px; }

/* Carousel */
.carousel { position: relative; }
.carousel-viewport { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: var(--blue-50); box-shadow: 0 30px 60px rgba(20, 44, 122, .18), 0 0 0 1px rgba(20, 44, 122, .06); isolation: isolate; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.035); transition: opacity .9s ease, transform 6s ease; z-index: 0; }
.slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-cap { position: absolute; left: 18px; bottom: 18px; right: 18px; display: grid; gap: 4px; justify-items: start; }
.slide-label { display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: #fff; font: 600 .76rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em; padding: 7px 11px; border-radius: 999px; }
.slide-title { background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); color: var(--ink); font: 600 1.06rem/1.3 var(--font-head); padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow-sm); max-width: 100%; }
.slide[data-slide]:nth-child(2) .slide-label { background: var(--blue-800); }
.slide[data-slide]:nth-child(3) .slide-label { background: #b26d00; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.car-btn:hover { border-color: var(--blue); color: var(--blue); }
.car-btn .ic { width: 18px; height: 18px; }
.car-pause .i-play { display: none; }
.carousel.is-paused .car-pause .i-play { display: block; }
.carousel.is-paused .car-pause .i-pause { display: none; }
.car-dots { display: flex; gap: 6px; }
.car-dot { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.car-dot::before { content: ""; width: 10px; height: 10px; border-radius: 99px; background: #c3cfe8; transition: width .3s, background .3s; }
.car-dot.is-active::before { width: 30px; background: var(--blue); }
.carousel.no-anim .slide { transition: none; transform: none; }

/* Credibility strip */
.cred { background: var(--ink); color: #c9d3ee; padding: 34px 0; position: relative; }
.cred::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 10% 0%, rgba(29, 78, 216, .45), transparent 70%), radial-gradient(400px 200px at 90% 100%, rgba(15, 143, 127, .3), transparent 70%); pointer-events: none; }
.cred-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.cred-count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cred-item { display: flex; gap: 14px; align-items: center; padding: 6px 22px; }
.cred-item + .cred-item { border-left: 1px solid rgba(255, 255, 255, .12); }
.cred-ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: #9fbaff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cred-ic .ic { width: 24px; height: 24px; }
.cred-item:nth-child(2) .cred-ic { color: #7fe0cd; } .cred-item:nth-child(3) .cred-ic { color: #ffd38a; } .cred-item:nth-child(4) .cred-ic { color: #ffb4b6; }
.cred-title { display: block; color: #fff; font: 600 1.05rem/1.25 var(--font-head); }
.cred-value { display: block; color: #fff; font: 700 1.9rem/1 var(--font-head); letter-spacing: -.02em; margin-bottom: 4px; }
.cred-label { display: block; font-size: .87rem; color: #a9b5d6; margin-top: 3px; }
.cred .tbc { background: rgba(245, 165, 36, .16); color: #ffd38a; border-color: rgba(255, 211, 138, .6); }

/* Programmes */
.prog-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.prog-grid > .prog-card { flex: 1 1 250px; max-width: calc((100% - 66px) / 4); }
@media (max-width: 1080px) { .prog-grid > .prog-card { max-width: calc((100% - 22px) / 2); } }
@media (max-width: 600px) { .prog-grid > .prog-card { max-width: 100%; } }
.prog-card { --acc: var(--blue); --acc-50: var(--blue-50); background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.prog-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--acc); }
.prog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue-100); }
.prog-jee { --acc: #b26d00; --acc-50: var(--amber-50); }
.prog-neet { --acc: var(--teal); --acc-50: var(--teal-50); }
.prog-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; min-height: 50px; }
.prog-ic { width: 50px; height: 50px; border-radius: 15px; background: var(--acc-50); color: var(--acc); display: inline-flex; align-items: center; justify-content: center; }
.prog-ic .ic { width: 26px; height: 26px; }
.prog-tag { display: block; font: 600 .72rem/1.2 var(--font-head); color: var(--acc); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.prog-actions .btn { font-size: .93rem; padding-left: 12px; padding-right: 12px; }
.prog-card h3 { font-size: 1.32rem; margin-bottom: 8px; }
.prog-text { font-size: .95rem; margin-bottom: 14px; }
.prog-meta { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.prog-meta li { display: flex; gap: 8px; align-items: flex-start; }
.prog-meta .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--acc); }
.prog-actions { margin-top: auto; display: grid; gap: 12px; justify-items: center; }
.prog-exam .btn-primary { background: var(--acc); box-shadow: none; }
.prog-exam .btn-primary:hover { filter: brightness(.92); }
.prog-exam .link-arrow { color: var(--acc); }
.prog-more { text-align: center; margin: 30px 0 0; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testi { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.testi blockquote { margin: 0 0 16px; font-size: 1.02rem; color: var(--ink); }
.testi figcaption strong { display: block; color: var(--ink); font-family: var(--font-head); }
.testi figcaption span { font-size: .88rem; color: var(--muted); }

/* Four-field enquiry form */
.f-fields { display: grid; gap: 14px 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .form-main .f-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.enquiry-form .f-field { margin: 0; }
.enquiry-form .f-submit { display: grid; gap: 10px; margin-top: 18px; }
.f-notice { font-size: .8rem; color: var(--muted); margin: 0; text-align: center; }
.f-success { text-align: center; padding: 18px 8px 6px; outline: none; }
.f-success-ic { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: #e3f6ec; color: var(--ok); align-items: center; justify-content: center; margin-bottom: 12px; }
.f-success-ic .ic { width: 34px; height: 34px; }
.f-success-h { font: 600 1.3rem/1.2 var(--font-head); color: var(--ink); margin-bottom: 6px; }
.f-success-ref { font-size: .9rem; color: var(--muted); }
.f-success-ref strong { font-family: var(--font-head); color: var(--blue-800); background: var(--blue-50); padding: 2px 8px; border-radius: 6px; }
.enquiry-form [data-submit][disabled] { cursor: progress; }

/* Enquiry modal */
.enq-modal { border: 0; padding: 0; width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 24px; background: #fff; color: var(--text); box-shadow: 0 40px 80px rgba(11, 21, 49, .35); overflow: auto; overscroll-behavior: contain; }
.enq-modal::backdrop { background: rgba(11, 21, 49, .5); backdrop-filter: blur(2px); }
.enq-modal[open] { animation: modal-in .32s cubic-bezier(.2, .8, .2, 1); }
.enq-modal[open]::backdrop { animation: fade-in .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .enq-modal[open], .enq-modal[open]::backdrop { animation: none; } }
.enq-modal-inner { position: relative; padding: 30px 26px 24px; }
.enq-modal-inner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--blue), var(--teal) 60%, var(--amber)); }
.enq-close { position: absolute; right: 14px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.enq-close:hover { background: var(--blue-50); color: var(--blue); }
.enq-modal-head { margin-bottom: 18px; padding-right: 36px; }
.enq-badge { display: inline-flex; align-items: center; gap: 6px; font: 600 .74rem/1 var(--font-head); color: var(--teal-700); background: var(--teal-50); padding: 6px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.enq-badge .ic { width: 14px; height: 14px; }
.enq-modal h2 { font-size: 1.4rem; margin-bottom: 6px; outline: none; }
.enq-modal-head p { font-size: .94rem; color: var(--muted); margin: 0; }
.enq-context { display: flex; gap: 8px; align-items: center; margin-top: 12px !important; background: var(--blue-50); color: var(--blue-800) !important; padding: 8px 12px; border-radius: 12px; font-size: .88rem !important; }
.enq-context .ic { width: 16px; height: 16px; }
.enq-modal .f-field input, .enq-modal .f-field select { min-height: 48px; }
.enq-modal-done { margin-top: 12px; }
body.modal-open { overflow: hidden; }

@media (max-width: 1080px) {
  .hero-v2 .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-v2 .hero-visual { max-width: 640px; width: 100%; margin: 0 auto; }
  .cred-grid, .cred-count-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .cred-item:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .hero-v2 { padding: 36px 0 48px; }
  .hero-v2 .hero-actions .btn { width: 100%; }
  .slide-cap { left: 12px; right: 12px; bottom: 12px; }
  .slide-title { font-size: .92rem; padding: 8px 11px; }
  .carousel-viewport { border-radius: 20px; }
  .cred { padding: 26px 0; }
  .cred-grid, .cred-count-3 { grid-template-columns: 1fr; gap: 14px; }
  .cred-item { padding: 0 4px; border-left: 0 !important; }
  .enq-modal-inner { padding: 26px 18px 18px; }
  .enq-modal h2 { font-size: 1.22rem; }
}
@media (max-width: 600px) { .prog-board .prog-meta li:nth-child(2) { display: none; } .prog-card { padding: 20px; } .prog-text { margin-bottom: 10px; } }

/* =====================================================================
   v3 – Video gallery and mobile hero order
   ===================================================================== */
.videos { background: #fff; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.video-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.video-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--blue-900), var(--blue) 70%, #3a6cf0); border-radius: 22px 22px 0 0; overflow: hidden; }
.gallery-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; display: block; }
.video-frame.is-playing .gallery-video { object-fit: contain; background: #000; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 12px 30px rgba(11, 21, 49, .35); transition: transform .2s; z-index: 2; }
.video-play svg { width: 32px; height: 32px; margin-left: 4px; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.video-play:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.video-error, .video-missing { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px; text-align: center; color: #dbe5ff; z-index: 3; }
.video-error { background: rgba(11, 21, 49, .92); }
.video-error .ic, .video-missing .ic { width: 32px; height: 32px; color: #ffd38a; }
.video-error p, .video-missing p { margin: 0; color: #fff; font-weight: 600; }
.video-error a { color: #ffd38a; }
.video-missing small { color: #a9b5d6; }
.video-msg { color: #fff; padding: 16px; }
.video-body { padding: 18px 22px 22px; flex: 1; }
.video-body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.video-body p { font-size: .94rem; color: var(--muted); margin: 0; }
@media (max-width: 1080px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid.video-count-3 > .video-card:last-child { grid-column: 1 / -1; width: calc((100% - 26px) / 2); justify-self: center; }
}
@media (max-width: 680px) {
  .video-grid { grid-template-columns: 1fr; gap: 20px; }
  .video-grid.video-count-3 > .video-card:last-child { width: auto; justify-self: stretch; }
}

/* Mobile/tablet hero: carousel first, then headline, description and CTAs */
@media (max-width: 1080px) {
  .hero-v2 { padding: 20px 0 44px; }
  .hero-v2 .hero-grid { gap: 26px; }
  .hero-v2 .hero-visual { order: -1; }
  .hero-v2 .hero-copy > .eyebrow { display: none; }
  .hero-v2 .carousel-controls { margin-top: 12px; }
}
@media (max-width: 560px) {
  .hero-v2 { padding-top: 14px; }
  .hero-h1 { font-size: clamp(1.85rem, 8.4vw, 2.3rem); margin-bottom: 14px; }
  .hero-v2 .lead { font-size: 1rem; }
  .hero-v2 .hero-actions { margin-top: 20px; gap: 10px; }
  .hero-v2 .hero-actions .btn { min-height: 52px; }
  .hero-v2 .hero-points { margin-top: 18px; }
  .hero-v2 .carousel-viewport { aspect-ratio: 4 / 3; }
  .slide img { object-position: center 40%; }
  .car-btn { width: 40px; height: 40px; }
}

/* =====================================================================
   v4 – Our Services, Explore Our Courses, navigation dropdowns,
        enquiry form restyle (Get Started layout)
   ===================================================================== */
.videos { background: var(--soft); }
.why-section { background: #fff; }

/* ---- Our Services ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .22s, transform .22s, border-color .22s; scroll-margin-top: calc(var(--header-h) + 24px); }
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--blue-100); }
.svc-card:focus-within { border-color: var(--blue-100); box-shadow: var(--shadow); }
.svc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-50); }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transition: transform .5s ease; }
.svc-card:hover .svc-media img { transform: scale(1.04); }
.svc-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(11, 21, 49, .45), transparent); pointer-events: none; }
.svc-kicker { position: absolute; left: 16px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .95); color: var(--ink); font: 600 .8rem/1 var(--font-head); padding: 8px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.svc-kicker .ic { width: 16px; height: 16px; color: var(--blue); }
.svc-group .svc-kicker .ic { color: #6d3fd6; }
.svc-offline .svc-kicker .ic { color: var(--teal); }
.svc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.24rem; margin-bottom: 8px; }
.svc-body p { font-size: .96rem; color: var(--text); margin: 0 0 20px; }
.svc-actions { margin-top: auto; display: grid; gap: 12px; justify-items: center; }
.svc-actions .btn { font-size: .95rem; }

/* ---- Explore Our Courses ---- */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.course-card { --acc: var(--blue); --acc-50: var(--blue-50); position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; overflow: hidden; transition: box-shadow .22s, transform .22s, border-color .22s; scroll-margin-top: calc(var(--header-h) + 24px); }
.course-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--acc); }
.course-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 25%, var(--line)); }
.course-card:focus-within { box-shadow: var(--shadow); }
.tone-teal { --acc: var(--teal); --acc-50: var(--teal-50); }
.tone-violet { --acc: #6d3fd6; --acc-50: #f1ebff; }
.tone-sky { --acc: #0a7bb8; --acc-50: #e6f4fc; }
.tone-rose { --acc: #c2416b; --acc-50: #fdedf2; }
.tone-amber { --acc: #b26d00; --acc-50: var(--amber-50); }
.course-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.course-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--acc-50); color: var(--acc); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.course-ic .ic { width: 28px; height: 28px; }
.course-tag { font: 600 .72rem/1.2 var(--font-head); color: var(--acc); text-transform: uppercase; letter-spacing: .08em; text-align: right; }
.course-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.course-text { font-size: .95rem; margin: 0 0 18px; }
.course-subs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 18px; }
.course-subs-h { font-size: .85rem; color: var(--muted); font-weight: 600; margin-right: 2px; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; min-width: 64px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--acc) 45%, #fff); background: var(--acc-50); color: var(--acc); font: 600 .88rem/1 var(--font-head); text-decoration: none; transition: background .18s, color .18s, transform .18s; }
.chip:hover { background: var(--acc); color: #fff; transform: translateY(-1px); }
.course-actions { margin-top: auto; display: grid; gap: 12px; justify-items: center; }
.btn-course { background: var(--acc); color: #fff; font-size: .95rem; box-shadow: 0 6px 16px color-mix(in srgb, var(--acc) 28%, transparent); }
.btn-course:hover { color: #fff; filter: brightness(.92); }
.course-actions .link-arrow { color: var(--acc); }
.svc-card:target, .course-card:target { box-shadow: 0 0 0 3px var(--amber), var(--shadow); }

@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid > .svc-card:last-child { grid-column: 1 / -1; width: calc((100% - 26px) / 2); justify-self: center; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .svc-grid, .course-grid { grid-template-columns: 1fr; gap: 18px; }
  .svc-grid > .svc-card:last-child { width: auto; justify-self: stretch; }
  .svc-body, .course-card { padding: 20px; }
}

/* ---- Navigation: simple dropdowns for Our Services / Courses ---- */
.drop-simple .drop { min-width: 356px; padding: 12px; }
.drop-simple #drop-courses { min-width: 460px; }
.drop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.drop-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.drop-list li a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; }
.drop-list li a:hover, .drop-list li a:focus-visible { background: var(--blue-50); }
.drop-list li a > span:last-child { display: grid; line-height: 1.25; }
.drop-list small { margin: 2px 0 0; font-size: .78rem; }
.drop-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.drop-ic .ic { width: 18px; height: 18px; }
.drop-list li a:hover .drop-ic { background: #fff; }
.drop-foot { margin: 8px 0 0; padding: 10px 10px 2px; border-top: 1px solid var(--line); }
.drop-foot a { display: inline-flex; align-items: center; gap: 6px; font: 600 .9rem/1.2 var(--font-head); text-decoration: none; }
.drop-foot .ic { width: 16px; height: 16px; }
@media (max-width: 1080px) {
  .drop-simple .drop, .drop-simple #drop-courses { min-width: 0; padding: 0 0 12px; }
  .drop-cols { grid-template-columns: 1fr; }
  .drop-list li a { padding: 8px 6px; }
}

/* ---- Enquiry form: "Get Started" layout ---- */
.sisya-form .f-fields { gap: 16px 18px; }
.sisya-form .f-label { font: 600 .95rem/1.3 var(--font-head); color: #2a2f45; }
.sisya-form .f-label .req { color: #e5484d; font-weight: 600; margin-left: 1px; }
.sisya-form .f-label .opt { font: 500 .8rem/1 var(--font-body); color: #8a93a8; margin-left: 2px; }
.sisya-form input[type=text], .sisya-form input[type=email], .sisya-form input[type=tel], .sisya-form select, .sisya-form textarea {
  min-height: 52px; border: 1px solid #d5dae5; border-radius: 10px; background-color: #f8f9fc; padding: 13px 16px; font-size: 1rem; color: var(--ink);
}
.sisya-form textarea { min-height: 104px; }
.sisya-form ::placeholder { color: #8b93a7; opacity: 1; }
.sisya-form select.is-empty { color: #5f6880; }
.sisya-form select option { color: var(--ink); }
.sisya-form select { padding-right: 44px; background-position: right 16px center; }
.sisya-form input:hover, .sisya-form select:hover, .sisya-form textarea:hover { border-color: #b9c2d6; }
.sisya-form input:focus, .sisya-form select:focus, .sisya-form textarea:focus { background-color: #fff; border-color: #1f8fe5; box-shadow: 0 0 0 4px rgba(31, 143, 229, .15); }
.sisya-form [aria-invalid="true"] { border-color: var(--danger) !important; background-color: #fff8f8; }
.sisya-form .f-prefix { border: 1px solid #d5dae5; border-radius: 10px; background: #f8f9fc; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.sisya-form .f-prefix:hover { border-color: #b9c2d6; }
.sisya-form .f-prefix:focus-within { border-color: #1f8fe5; box-shadow: 0 0 0 4px rgba(31, 143, 229, .15); background: #fff; }
.sisya-form .f-prefix span { border: 0; border-right: 1px solid #d5dae5; border-radius: 0; background: #eef1f6; color: #2a2f45; padding: 0 18px; font-weight: 600; }
.sisya-form .f-prefix input { border: 0 !important; border-radius: 0; background: transparent; box-shadow: none !important; }
.sisya-form .f-prefix:has([aria-invalid="true"]) { border-color: var(--danger); }
.btn-sisya { background: linear-gradient(90deg, #1cb5e0 0%, #1f8fe5 45%, #1d5fd8 100%); color: #fff; border: 0; border-radius: 10px; box-shadow: 0 10px 22px rgba(31, 120, 229, .28); font-weight: 600; letter-spacing: .005em; }
.btn-sisya:hover { color: #fff; filter: brightness(1.05) saturate(1.05); box-shadow: 0 12px 26px rgba(31, 120, 229, .34); }
.btn-sisya:active { transform: translateY(0); }
@media (min-width: 760px) {
  .form-main .sisya-form .f-message, .form-main .sisya-form .f-name { grid-column: 1 / -1; }
}

/* Modal head (round icon, two-tone title) */
.enq-modal { width: min(520px, calc(100vw - 24px)); border-radius: 22px; background: #f4f6fb; scrollbar-width: thin; }
.enq-modal-inner { padding: 30px 30px 26px; }
.enq-modal-inner::before { display: none; }
.enq-close { right: 16px; top: 16px; background: transparent; color: #2a2f45; width: 40px; height: 40px; }
.enq-close:hover { background: #e6eaf3; color: var(--ink); }
.enq-modal-head { text-align: center; padding: 0 12px; margin-bottom: 22px; }
.enq-bubble { width: 76px; height: 76px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin: 4px auto 18px; color: #fff; background: radial-gradient(circle at 30% 25%, #3b82f6, var(--blue-900) 75%); box-shadow: 0 10px 24px rgba(20, 44, 122, .28); }
.enq-bubble .ic { width: 34px; height: 34px; }
.enq-modal h2 { font-size: clamp(1.45rem, 4.6vw, 1.85rem); font-weight: 700; color: #2a2f45; margin-bottom: 8px; letter-spacing: -.02em; }
.enq-brand { background: linear-gradient(90deg, var(--blue), #1f8fe5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.enq-modal-head p { font-size: 1rem; color: #3b4258; }
.enq-context { justify-content: center; text-align: left; }
.enq-modal .sisya-form .f-field input, .enq-modal .sisya-form .f-field select { min-height: 54px; background-color: #fff; }
.enq-modal .sisya-form textarea { background-color: #fff; }
.enq-modal .sisya-form .f-prefix { background: #fff; }
.enq-modal .sisya-form .f-submit { margin-top: 22px; }
@media (max-width: 560px) {
  .enq-modal-inner { padding: 26px 18px 18px; }
  .enq-bubble { width: 64px; height: 64px; margin-bottom: 14px; }
  .enq-bubble .ic { width: 28px; height: 28px; }
  .enq-modal-head { padding: 0 6px; }
}
.sisya-form .f-prefix input { min-height: 50px; }
.enq-modal .sisya-form .f-prefix input { min-height: 52px; }

/* =====================================================================
   v5 – Raman Tutor brand theme (from the client's reference pages)
   Navy ink #142155 · forest green #19532d · gold #e6ac20 · cream #fcfaf3
   Headings: Georgia (serif) · Text & UI: Arial
   ===================================================================== */
:root {
  --blue: #19532d; --blue-600: #1f6638; --blue-800: #123f22; --blue-900: #142155; --blue-50: #edf3e8; --blue-100: #d6dfce;
  --teal: #19532d; --teal-700: #123f22; --teal-50: #edf3e8;
  --amber: #e6ac20; --amber-50: #fff4d5; --amber-ink: #785500;
  --gold: #e6ac20; --gold-hover: #f0bd3f; --gold-text: #e5a519;
  --ink: #142155; --text: #4b5a6b; --muted: #5a6a79; --line: #dce3e8; --soft: #fcfaf3; --tint: #f2f5ed;
  --radius: 12px; --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(20, 33, 85, .05), 0 4px 14px rgba(20, 33, 85, .04);
  --shadow: 0 10px 35px rgba(20, 33, 85, .07);
  --shadow-lg: 0 20px 50px rgba(20, 33, 85, .12);
  --font-display: Georgia, "Times New Roman", serif;
  --font-head: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --wrap: 1180px;
  --header-h: 90px;
}
body { color: var(--ink); line-height: 1.65; }
p { color: var(--muted); }
a { color: var(--blue); }
:focus-visible { outline-color: var(--gold); }
h1, h2, .h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -1px; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 4.3vw, 3.9rem); line-height: 1.08; letter-spacing: -2px; }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.18; }
h3, .h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.wrap { padding: 0 36px; }
@media (max-width: 760px) { .wrap { padding: 0 22px; } }

/* Buttons: gold with navy text, 6px corners */
.btn { border-radius: 6px; font-family: var(--font-body); font-weight: 700; font-size: .9rem; letter-spacing: 0; }
.btn-primary, .btn-light, .btn-sisya { background: var(--gold); color: var(--ink); box-shadow: none; border: 0; }
.btn-primary:hover, .btn-light:hover, .btn-sisya:hover { background: var(--gold-hover); color: var(--ink); filter: none; box-shadow: none; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid #c9d7cc; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); }
.btn-primary .ic, .btn-light .ic { color: currentColor; }
.link-arrow { font-family: var(--font-body); font-weight: 700; color: var(--blue); }

/* Eyebrows */
.eyebrow { font: 700 .72rem/1.3 var(--font-body); letter-spacing: .19em; color: var(--blue); }
.sec-head.light .eyebrow, .section-blue .eyebrow, .cta-band .eyebrow { color: #f1bc3c; }
.sec-head p:last-child { color: var(--muted); font-size: 1rem; }

/* Header + logo */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-row { min-height: var(--header-h); }
.logo-text { display: inline-grid; gap: 2px; line-height: 1; }
.logo-word { font: 700 1.6rem/1 var(--font-body); letter-spacing: -1px; color: var(--ink); }
.logo-accent { color: var(--gold-text); }
.logo-tag { font: 500 .6rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.logo-img { display: block; width: 200px; height: 70px; overflow: hidden; }
.logo-img img { width: 222px; max-width: none; transform: translate(-9px, -16px); }
.brand-light .logo-word { color: #fff; }
.brand-light .logo-accent { color: var(--gold-text); }
.brand-light .logo-tag { color: #aab4c8; }
.brand-light .logo-img { background: #fff; border-radius: 8px; }
.main-nav > ul > li > a { font: 400 .92rem/1.2 var(--font-body); color: var(--ink); }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current] { color: var(--blue); background: var(--blue-50); }
.header-phone { font-family: var(--font-body); color: var(--ink); }
.header-cta::after { content: "↗"; font-weight: 700; }
.drop { border-radius: 10px; }
.drop-ic { border-radius: 8px; }
.preview-bar { font-family: var(--font-body); }
@media (max-width: 760px) { .logo-word { font-size: 1.35rem; } .logo-img { width: 165px; height: 58px; } .logo-img img { width: 185px; transform: translate(-7px, -13px); } }

/* Home hero: cream band, serif headline, arched photo */
.hero, .hero-v2 { background: var(--soft); }
.hero h1::after { display: none; }
.hero-h1 .hl-1, .hero-h1 .hl-2 { color: var(--blue); }
.hero-v2 .eyebrow { background: var(--blue-50); padding: 7px 12px; border-radius: 4px; }
.hero-points .ic { color: var(--blue); }
.carousel-viewport { border-radius: 120px 12px 12px 12px; box-shadow: 0 20px 50px rgba(20, 33, 85, .1); }
.slide-label { background: var(--blue) !important; font-family: var(--font-body); }
.slide[data-slide]:nth-child(3) .slide-label { background: var(--gold) !important; color: var(--ink); }
.slide-title { font-family: var(--font-display); font-weight: 400; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; }
.car-dot.is-active::before { background: var(--blue); }
@media (max-width: 760px) { .carousel-viewport { border-radius: 70px 12px 12px 12px; } }

/* Credibility band and dark sections in navy */
.cred { background: var(--ink); }
.cred-ic { background: rgba(255, 255, 255, .08); color: var(--gold) !important; border-radius: 50%; }
.cred-value, .cred-title { font-family: var(--font-body); }
.section-soft { background: var(--soft); }
.section-blue { background: var(--ink); }
.section-blue::after { border-color: rgba(230, 172, 32, .07); }
.section-blue h2 { color: #fff; }
.step-n { background: var(--gold) !important; color: var(--ink) !important; font-family: var(--font-display); }
.cta-band { background: var(--ink); }
.cta-band::before { background: rgba(230, 172, 32, .12); }
.cta-band h2 { color: #fff; }
.site-footer { background: #0f1a45; }

/* Cards */
.svc-card, .course-card, .why, .prog-card, .video-card, .info-card, .mode-card { border-radius: 12px; box-shadow: none; }
.svc-card:hover, .course-card:hover { box-shadow: 0 14px 34px rgba(20, 33, 85, .09); }
.svc-media { border-radius: 0; }
.svc-card { border-top: 4px solid var(--blue); }
.svc-card:nth-child(2) { border-top-color: var(--gold); }
.svc-kicker { font-family: var(--font-body); color: var(--ink); }
.svc-kicker .ic { color: var(--blue) !important; }
.svc-body h3, .course-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; letter-spacing: -.5px; }
.svc-body p, .course-text { color: var(--muted); font-size: .92rem; }
.course-card, .course-card.tone-blue, .course-card.tone-teal, .course-card.tone-violet, .course-card.tone-sky, .course-card.tone-rose, .course-card.tone-amber { --acc: var(--blue); --acc-50: var(--blue-50); }
.course-card:nth-child(even) { --acc: #b8860b; --acc-50: var(--amber-50); }
.course-card::before { height: 4px; }
.course-tag { font-family: var(--font-body); letter-spacing: .14em; }
.btn-course { box-shadow: none; }
.course-card:nth-child(even) .btn-course { background: var(--gold); color: var(--ink); }
.course-card:nth-child(even) .btn-course:hover { background: var(--gold-hover); filter: none; }
.chip { font-family: var(--font-body); }
.why { border-top: 3px solid var(--gold); background: #fff; }
.why h3 { font-size: 1.05rem; }
.why-ic { background: var(--blue-50); color: var(--blue); border-radius: 50%; }

/* FAQ like the reference: cream cards */
.faq details { background: #fcfaf7; border: 1px solid #e3e7dd; border-radius: 8px; margin: 12px 0; }
.faq details[open] { border-color: #b5c7ad; }
.faq summary { font: 700 .98rem/1.4 var(--font-body); }

/* Enquiry popup in the brand colours */
.enq-modal { background: var(--soft); border-radius: 12px; }
.enq-bubble { background: var(--ink); color: var(--gold); box-shadow: 0 10px 24px rgba(20, 33, 85, .25); }
.enq-modal h2 { font-family: var(--font-display); font-weight: 400; color: var(--ink); letter-spacing: -1px; }
.enq-brand { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--blue); }
.enq-modal-head p { color: var(--muted); }
.enq-context { background: var(--blue-50); color: var(--blue) !important; border-radius: 6px; }
.enq-close:hover { background: #ece8dc; }
.sisya-form .f-label { font: 700 .86rem/1.3 var(--font-body); color: var(--ink); }
.sisya-form input[type=text], .sisya-form input[type=email], .sisya-form input[type=tel], .sisya-form select, .sisya-form textarea { border: 1px solid #c3cfda; border-radius: 6px; background-color: #fff; }
.sisya-form .f-prefix { border: 1px solid #c3cfda; border-radius: 6px; background: #fff; }
.sisya-form .f-prefix span { background: var(--soft); border-right-color: #c3cfda; color: var(--ink); }
.sisya-form input:focus, .sisya-form select:focus, .sisya-form textarea:focus, .sisya-form .f-prefix:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(25, 83, 45, .15); }
.btn-sisya { border-radius: 6px; font-size: 1rem; }
.f-success-ref strong { background: var(--blue-50); color: var(--blue); font-family: var(--font-body); }

/* Real enquiry form placed in the navy enquiry panel of course/service pages */
.rt-page .r-enquiry .enquiry-form { display: grid; gap: 8px; }
.rt-page .r-enquiry .f-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.rt-page .r-enquiry .f-name, .ref .r-enquiry .f-message { grid-column: 1 / -1; }
.rt-page .r-enquiry .f-label { color: #e1e6ee; font-weight: 400; font-size: .8rem; }
.rt-page .r-enquiry .f-label .opt { color: #aab4c8; }
.rt-page .r-enquiry .f-label .req { color: #f1bc3c; }
.rt-page .r-enquiry .f-err { color: #ffb4b6; }
.rt-page .r-enquiry .f-notice { color: #c5cede; }
.rt-page .r-enquiry .f-notice a { color: #f1bc3c; }
.rt-page .r-enquiry .f-alert { background: #fff1f1; }
.rt-page .r-enquiry .f-success { background: #fff; border-radius: 8px; padding: 22px; }
.rt-page .r-enquiry .f-success p { color: var(--muted); }
.rt-page .r-enquiry .sisya-form input, .ref .r-enquiry .sisya-form select, .ref .r-enquiry .sisya-form textarea { min-height: 46px; border-color: #90a2b6; padding: 10px 12px; }
.rt-page .r-enquiry .sisya-form textarea { min-height: 84px; }
@media (max-width: 760px) { .ref .r-enquiry .f-fields { grid-template-columns: 1fr; } }
.rt-page .r-course-strip a { color: var(--muted); }
.rt-page .r-photo img { aspect-ratio: auto; }
.rt-page .crumbs, .crumbs { font-family: var(--font-body); }
body.page-course .crumbs, body.page-service .crumbs { display: none; }

.rt-page h1, .rt-page h2, .rt-page h3, .rt-page h4 { color: inherit; }
.rt-page .r-section.r-wrap { padding-left: 36px; padding-right: 36px; }
@media (max-width: 760px) { .rt-page .r-section.r-wrap { padding-left: 22px; padding-right: 22px; } }
.rt-page .r-enquiry .btn-sisya { width: 100%; }
.cta-band p, .section-blue p { color: #d8dfed; }
.video-frame { background: linear-gradient(135deg, var(--ink), #1d3a6b 70%, var(--blue)); }
@media (max-width: 1080px) { .nav-toggle { margin-left: 0 !important; } .header-actions { margin-left: auto; } }
.mobile-bar-primary { background: var(--gold) !important; color: var(--ink) !important; }
.mobile-bar a { font-family: var(--font-body); }
.cred::before { background: radial-gradient(500px 200px at 10% 0%, rgba(230, 172, 32, .10), transparent 70%), radial-gradient(400px 200px at 90% 100%, rgba(25, 83, 45, .35), transparent 70%); }

/* =====================================================================
   v6 – Logo, polish and motion
   ===================================================================== */
/* Logo */
.logo-img { width: auto; height: auto; overflow: visible; display: inline-flex; }
.logo-img img { width: auto; height: 62px; max-width: none; transform: none; display: block; }
.brand-light .logo-img { background: #fff; border-radius: 12px; padding: 10px 14px; }
.brand-light .logo-img img { height: 56px; }
.site-header .logo-img img { transition: height .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(20, 33, 85, .08); }
.site-header.is-scrolled .logo-img img { height: 50px; }
.site-header.is-scrolled .header-row { min-height: 72px; }
.header-row { transition: min-height .25s ease; }
@media (max-width: 760px) { .logo-img img { height: 48px; } .site-header.is-scrolled .logo-img img { height: 42px; } }
.footer-tag { font: 400 1.15rem/1.4 var(--font-display); color: #fff !important; margin-top: 18px; }

/* Leaf motifs from the logo */
.leaf { position: absolute; width: 120px; height: 72px; border-radius: 0 100% 0 100%; z-index: 0; pointer-events: none; }
.leaf::after { content: ""; position: absolute; left: 14%; right: 14%; top: 50%; height: 3px; background: rgba(255, 255, 255, .75); border-radius: 3px; transform: rotate(-26deg); }
.leaf-gold { background: var(--gold); top: -26px; right: -18px; transform: rotate(-18deg); opacity: .95; }
.leaf-green { background: #4f6b2c; bottom: 70px; left: -44px; width: 104px; height: 62px; transform: rotate(150deg); opacity: .9; }
.hero-visual { position: relative; }
.hero-visual .carousel { position: relative; z-index: 1; }
.hero-note { position: absolute; z-index: 2; left: -34px; bottom: 92px; max-width: 290px; background: #fff; border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; padding: 16px 20px; box-shadow: 0 18px 40px rgba(20, 33, 85, .14); display: grid; gap: 4px; animation: floaty 7s ease-in-out infinite; }
.hero-note strong { font: 400 1.12rem/1.3 var(--font-display); color: var(--ink); }
.hero-note span { font-size: .8rem; color: var(--muted); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.carousel-viewport::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(20, 33, 85, .06); pointer-events: none; }
@media (max-width: 1080px) { .hero-note { display: none; } .leaf-green { display: none; } .leaf-gold { width: 80px; height: 48px; top: -14px; right: -6px; } }
.hero-v2 { position: relative; overflow: hidden; }
.hero-v2::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(20, 33, 85, .07) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%); mask-image: linear-gradient(90deg, transparent 40%, #000 100%); pointer-events: none; }
.hero-v2 .wrap { position: relative; }
.hero-h1 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); }

/* Ribbon */
.ribbon { background: var(--gold); color: var(--ink); overflow: hidden; border-block: 1px solid #d49b12; }
.ribbon-track { display: flex; width: max-content; animation: ribbon 38s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ribbon li { display: inline-flex; align-items: center; gap: 22px; padding: 14px 0 14px 22px; font: 700 .82rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ribbon li::after { content: ""; width: 7px; height: 7px; background: var(--ink); transform: rotate(45deg); }
@keyframes ribbon { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon-track { animation: none; flex-wrap: wrap; width: auto; } .ribbon ul[aria-hidden] { display: none; } }

/* Section headings: gold accent bar */
.sec-head h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); border-radius: 3px; margin-top: 16px; }
.sec-head.center h2::after { margin-left: auto; margin-right: auto; }
.sec-head h2 em, .hero-h1 em { font-style: normal; color: var(--blue); }

/* Buttons: arrow nudge + soft gold glow */
.btn-primary, .btn-sisya, .btn-light { box-shadow: 0 8px 20px rgba(230, 172, 32, .28); }
.btn-primary:hover, .btn-sisya:hover, .btn-light:hover { box-shadow: 0 12px 26px rgba(230, 172, 32, .38); transform: translateY(-2px); }
.btn .ic { transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.rt-page .r-button { transition: background .18s, transform .18s, box-shadow .18s; box-shadow: 0 8px 20px rgba(230, 172, 32, .22); }
.rt-page .r-button:hover { transform: translateY(-2px); }
.rt-page .r-prep-cta, .rt-page .r-exam-cta { box-shadow: none; }

/* Service cards: numbered, richer hover */
.svc-grid { counter-reset: svc; }
.svc-card { counter-increment: svc; position: relative; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.svc-card::after { content: "0" counter(svc); position: absolute; top: 14px; right: 16px; z-index: 2; font: 400 1.6rem/1 var(--font-display); color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(20, 33, 85, .14); }
.svc-media::after { background: linear-gradient(to top, rgba(20, 33, 85, .55), transparent 60%); }

/* Course cards: bolder icon, lift */
.course-card { transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; }
.course-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(20, 33, 85, .12); }
.course-ic { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 0 0 6px color-mix(in srgb, var(--acc-50) 55%, transparent); transition: transform .3s; }
.course-card:hover .course-ic { transform: rotate(-8deg) scale(1.06); }

/* Why cards */
.why { transition: transform .3s, box-shadow .3s; }
.why:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20, 33, 85, .1); }

/* How it works: gold connectors */
.steps li { transition: transform .3s; }
.steps li:hover { transform: translateY(-4px); }

/* Reference pages: leaf accents on the hero photo */
.rt-page .r-hero .r-photo { position: relative; }
.rt-page .r-hero .r-hero-grid > div:last-child { position: relative; }
.rt-page .r-hero .r-hero-grid > div:last-child::before { content: ""; position: absolute; width: 96px; height: 58px; top: -22px; right: -14px; border-radius: 0 100% 0 100%; background: var(--gold); transform: rotate(-18deg); z-index: 0; }
.rt-page .r-hero .r-photo, .rt-page .r-hero .r-photo-note, .rt-page .r-pathway-panel { position: relative; z-index: 1; }
@media (max-width: 760px) { .rt-page .r-hero .r-hero-grid > div:last-child::before { width: 64px; height: 40px; top: -12px; right: -4px; } }

/* Scroll reveal (added by JS only, so content is always visible without it) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .hero-note { animation: none; } }
.hero-h1 { font-size: clamp(2.3rem, 3.6vw, 3.4rem); }
.hero-h1 .hl { display: block; }
@media (min-width: 1081px) { .hero-v2 .hero-grid { grid-template-columns: 1.08fr .92fr; } }
.hero-note { top: 36px; bottom: auto; left: -40px; }
.leaf-green { bottom: 40px; }
.logo-img img { height: 66px; }
.hero-v2 .hero-copy > .eyebrow { width: fit-content; }
.logo-img img { height: 74px; }
.site-header.is-scrolled .logo-img img { height: 56px; }
@media (max-width: 760px) { .logo-img img { height: 54px; } .site-header.is-scrolled .logo-img img { height: 46px; } }
.rt-page .r-hero .r-hero-grid > div:last-child::before { top: -30px; right: -24px; }
.rt-page { overflow-x: clip; }

/* =====================================================================
   v7 – Professional enquiry panel on course/service pages, popup logo, mobile fixes
   ===================================================================== */
/* Popup header with the logo */
.enq-logo { display: block; height: 78px; width: auto; margin: 0 auto 10px; }
.enq-modal h2 { font-size: clamp(1.35rem, 4.4vw, 1.7rem); margin-bottom: 6px; }
.enq-modal-head { margin-bottom: 18px; }
@media (max-width: 560px) { .enq-logo { height: 62px; } }

/* Navy enquiry panel */
.rt-page #enquire { padding-top: 10px; padding-bottom: 10px; }
.rt-page .r-enquiry { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; padding: 56px; border-radius: 18px; align-items: start; position: relative; overflow: hidden;
  background: radial-gradient(520px 260px at 0% 0%, rgba(230, 172, 32, .14), transparent 70%), radial-gradient(420px 260px at 100% 100%, rgba(25, 83, 45, .45), transparent 70%), var(--ink); box-shadow: 0 30px 60px rgba(20, 33, 85, .18); }
.rt-page .r-enquiry > div:first-child { position: relative; padding-top: 6px; }
.rt-page .r-enquiry h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.15; margin: 12px 0 16px; }
.rt-page .r-enquiry > div:first-child > p { font-size: .95rem; line-height: 1.7; color: #d6dcea; }
.rt-page .r-enquiry-checks { margin-top: 24px; }
.rt-page .r-enquiry-checks span { font-size: .9rem; padding: 12px 0; }
.enq-steps { list-style: none; counter-reset: st; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.enq-steps li { counter-increment: st; display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; align-items: start; padding: 14px 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; }
.enq-steps li::before { content: counter(st); grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font: 400 1.1rem/1 var(--font-display); }
.enq-steps b { color: #fff; font-size: .95rem; }
.enq-steps span { color: #c5cede; font-size: .85rem; line-height: 1.55; }

/* White form card */
.enq-card { container-type: inline-size; background: #fff; border-radius: 14px; padding: 30px 30px 26px; border-top: 4px solid var(--gold); box-shadow: 0 24px 50px rgba(0, 0, 0, .25); color: var(--ink); }
.enq-card-head { text-align: center; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.enq-card-head img { height: 64px; width: auto; margin: 0 auto 10px; display: block; }
.rt-page .enq-card-title { font: 400 1.55rem/1.2 var(--font-display); color: var(--ink); margin: 0 0 4px; }
.rt-page .enq-card-sub { font-size: .9rem; color: var(--muted); margin: 0; }
.rt-page .r-enquiry .enq-card .f-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; }
.rt-page .r-enquiry .enq-card .f-name, .rt-page .r-enquiry .enq-card .f-message { grid-column: 1 / -1; }
.rt-page .r-enquiry .enq-card .f-field { display: grid; gap: 6px; min-width: 0; }
.rt-page .r-enquiry .enq-card .f-label { color: var(--ink); font: 700 .84rem/1.3 var(--font-body); margin: 0; }
.rt-page .r-enquiry .enq-card .f-label .opt { color: #8a93a8; font-weight: 400; }
.rt-page .r-enquiry .enq-card .f-label .req { color: #e5484d; }
.rt-page .r-enquiry .enq-card input, .rt-page .r-enquiry .enq-card select, .rt-page .r-enquiry .enq-card textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c3cfda; border-radius: 8px; background-color: #fbfbf8; font-size: 1rem; color: var(--ink); margin: 0; }
.rt-page .r-enquiry .enq-card select { padding-right: 40px; }
.rt-page .r-enquiry .enq-card textarea { min-height: 96px; }
.rt-page .r-enquiry .enq-card .f-prefix { border: 1px solid #c3cfda; border-radius: 8px; background: #fbfbf8; display: flex; overflow: hidden; }
.rt-page .r-enquiry .enq-card .f-prefix input { border: 0 !important; background: transparent; min-height: 48px; }
.rt-page .r-enquiry .enq-card .f-prefix span { padding: 0 14px; background: var(--soft); border-right: 1px solid #c3cfda; display: inline-flex; align-items: center; font-weight: 700; color: var(--ink); }
.rt-page .r-enquiry .enq-card input:focus, .rt-page .r-enquiry .enq-card select:focus, .rt-page .r-enquiry .enq-card textarea:focus, .rt-page .r-enquiry .enq-card .f-prefix:focus-within { border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 3px rgba(25, 83, 45, .14); outline: none; }
.rt-page .r-enquiry .enq-card .f-err { color: var(--danger); font-size: .8rem; }
.rt-page .r-enquiry .enq-card .f-submit { margin-top: 22px; display: grid; gap: 12px; }
.rt-page .r-enquiry .enq-card .btn-sisya { min-height: 54px; font-size: 1rem; width: 100%; }
.rt-page .r-enquiry .enq-card .f-notice { color: var(--muted); font-size: .78rem; text-align: center; margin: 0; }
.rt-page .r-enquiry .enq-card .f-notice a { color: var(--blue); }
.rt-page .r-enquiry .enq-card .f-success { background: none; padding: 10px 0; }
.rt-page .r-enquiry .enq-card .f-success p { color: var(--muted); }
.rt-page .r-enquiry .enq-card .f-success .f-success-h { color: var(--ink); }
@container (max-width: 480px) {
  .rt-page .r-enquiry .enq-card .f-fields { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .rt-page .r-enquiry { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
}
@media (max-width: 760px) {
  .rt-page #enquire.r-wrap { padding: 0 14px; }
  .rt-page .r-enquiry { padding: 30px 18px 18px; gap: 24px; border-radius: 16px; }
  .rt-page .r-enquiry h2 { font-size: 1.85rem; }
  .enq-steps { margin-top: 20px; gap: 10px; }
  .enq-steps li { padding: 12px; }
  .enq-card { padding: 22px 18px 20px; border-radius: 12px; }
  .enq-card-head img { height: 54px; }
  .rt-page .enq-card-title { font-size: 1.35rem; }
}
.rt-page .r-enquiry .enq-card .enq-card-title { font: 400 1.6rem/1.2 var(--font-display); color: var(--ink); margin: 0 0 4px; }
.rt-page .r-enquiry .enq-card .enq-card-sub { font-size: .92rem; color: var(--muted); margin: 0; }
.enq-card-head img { height: 72px; }
/* Mobile refinements */
@media (max-width: 560px) {
  .rt-page .r-benefits { grid-template-columns: 1fr !important; }
  .rt-page .r-benefits li { padding: 20px 0 18px; }
  .rt-page h1 { font-size: 2.45rem !important; letter-spacing: -1px; }
  .rt-page h2 { font-size: 1.9rem; }
  .rt-page .r-hero { padding: 34px 0 44px; }
  .rt-page .r-section { padding: 48px 0; }
  body .rt-page .r-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  body .rt-page .r-tab { flex: none; }
  .rt-page .r-band .r-wrap { display: grid; gap: 8px; }
}
@media (max-width: 760px) {
  body .rt-page .r-course-strip .r-wrap { flex-wrap: nowrap; overflow-x: auto; gap: 18px; scrollbar-width: none; white-space: nowrap; }
  .rt-page .r-course-strip .r-wrap::-webkit-scrollbar { display: none; }
}
/* FAQ markers */
.rt-page #faq summary { list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.rt-page #faq summary::-webkit-details-marker { display: none; }
.rt-page #faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font: 400 1.2rem/1 var(--font-body); transition: transform .2s; }
.rt-page #faq details[open] summary::after { content: "–"; background: var(--blue); color: #fff; }
/* Contrast on navy panels */
.contact-panel p, .contact-panel small { color: #c5cede; }
.site-footer p { color: #b9c2d6; }
.about-offer h2 { margin-bottom: 22px; }
.about-offer-list { display: grid; gap: 12px; }
.about-offer-item { display: grid; grid-template-columns: 48px 1fr 20px; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; background: #fff; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.about-offer-item:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 33, 85, .08); color: var(--ink); }
.about-offer-item strong { display: block; font-size: 1rem; }
.about-offer-item small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.5; margin-top: 2px; }
.about-offer-item > .ic { color: var(--blue); }
.about-boards { margin-top: 18px; font-size: .92rem; }
.about-boards a { font-weight: 700; }
.form-logo { display: block; height: 64px; width: auto; margin: 0 0 14px; }
.form-main { border-top: 4px solid var(--gold); }

/* =====================================================================
   v8 – Editorial redesign (client document, Nov 2026)
   Ivory & cream backgrounds · deep forest green · muted gold accents · serif headings
   ===================================================================== */
:root {
  --forest: #1b4235; --forest-dark: #12302a; --forest-soft: #e7ede8;
  --gold: #8a6a2f; --gold-hover: #75592a; --gold-text: #8a6a2f; --gold-line: #a88a4f;
  --ivory: #f9f7f1; --cream: #f2efe6; --card: #fdfcf8; --rule: #ddd7ca;
  --blue: #1b4235; --blue-600: #24543f; --blue-800: #12302a; --blue-900: #12302a; --blue-50: #e7ede8; --blue-100: #d3ddd5;
  --teal: #1b4235; --teal-700: #12302a; --teal-50: #e7ede8;
  --amber: #8a6a2f; --amber-50: #f6efe0; --amber-ink: #6b5222;
  --ink: #1b4235; --text: #3b4540; --muted: #5d6762; --line: #ddd7ca; --soft: #f2efe6; --tint: #f2efe6;
  --font-display: Georgia, "Times New Roman", serif;
  --font-head: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --radius: 6px; --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(27, 66, 53, .05);
  --shadow: 0 8px 24px rgba(27, 66, 53, .07);
  --shadow-lg: 0 18px 40px rgba(27, 66, 53, .12);
}
body { background: var(--ivory); color: var(--text); font-family: var(--font-body); }
p { color: var(--text); }
a { color: var(--forest); }
h1, h2, .h2 { font-family: var(--font-display); font-weight: 400; color: var(--forest); letter-spacing: -.5px; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -1px; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.15; }
h3 { color: var(--forest); }
:focus-visible { outline-color: var(--gold); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* Buttons */
.btn { border-radius: 4px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; transform: none !important; box-shadow: none !important; }
.btn-demo, .btn-primary, .btn-light, .btn-sisya, .btn-course { background: var(--forest) !important; color: #fff !important; border: 1px solid var(--forest); }
.btn-demo:hover, .btn-primary:hover, .btn-light:hover, .btn-sisya:hover, .btn-course:hover { background: var(--forest-dark) !important; color: #fff !important; }
.cta-band .btn-light, .demo-panel .btn-light { background: #fff !important; color: var(--forest) !important; }
.btn-ghost { background: transparent; border: 1px solid var(--rule); color: var(--forest); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); }
.btn-lg { min-height: 54px; padding: 14px 32px; font-size: 1.05rem; }
.header-cta::after { content: none; }
.ed-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.ed-link:hover { color: var(--gold-hover); text-decoration-color: var(--gold-hover); }
.ed-eyebrow, .eyebrow { font: 700 .78rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; background: none !important; padding: 0 !important; }
.ed-eyebrow.light { color: #d9c08a; }

/* Header */
.site-header { background: var(--ivory); border-bottom: 1px solid var(--rule); box-shadow: none; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(27, 66, 53, .06); }
.header-row { min-height: 78px; gap: 28px; }
.logo-img img { height: 60px; }
.site-header.is-scrolled .logo-img img { height: 50px; }
.main-nav { margin-left: auto; margin-right: auto; }
.main-nav > ul { gap: 6px; }
.main-nav > ul > li > a { font: 400 .98rem/1.2 var(--font-body); color: var(--forest); padding: 10px 12px; background: none !important; border-radius: 0; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current] { color: var(--forest); background: none; text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 8px; }
.drop-toggle { color: var(--forest); }
.drop { background: var(--card); border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 18px 40px rgba(27, 66, 53, .12); }
.drop-ic { background: var(--forest-soft); color: var(--forest); border-radius: 50%; }
.drop-list li a:hover { background: var(--cream); }
.drop-list li a > span:last-child { color: var(--forest); }
.drop-two { min-width: 460px; padding: 20px 22px; }
.drop-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.drop-h { font: 700 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.drop-plain { list-style: none; margin: 0; padding: 0; }
.drop-plain a { display: block; padding: 8px 0; color: var(--forest); text-decoration: none; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.drop-plain li:last-child a { border-bottom: 0; }
.drop-plain a:hover { color: var(--gold); }
.header-cta { padding: 12px 22px; min-height: 46px; font-size: .95rem; }
@media (max-width: 1080px) {
  .header-cta { display: inline-flex !important; padding: 8px 12px; min-height: 40px; font-size: .82rem; }
  .main-nav { background: var(--ivory); }
  .drop-two { min-width: 0; padding: 0 4px 12px; }
  .drop-grid2 { grid-template-columns: 1fr; gap: 12px; }
  .main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current] { text-decoration: none; }
  .header-row { min-height: 70px; gap: 10px; }
  .logo-img img { height: 48px; }
}
@media (max-width: 400px) { .header-cta { padding: 8px 10px; font-size: .76rem; } .logo-img img { height: 42px; } }

/* Home hero */
.home-hero { background: var(--ivory); padding: 56px 0 72px; }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.home-hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); margin: 0 0 22px; }
.home-hero h1 em { display: block; font-style: italic; }
.home-lead { font-size: clamp(1.05rem, 1.5vw, 1.32rem); line-height: 1.55; color: var(--forest); margin-bottom: 26px; }
.hero-modes { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; }
.hero-modes li { padding: 0 22px; border-left: 1px solid var(--rule); }
.hero-modes li:first-child { padding-left: 0; border-left: 0; }
.hero-modes a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); font-size: .95rem; line-height: 1.3; }
.hero-modes .ic { width: 32px; height: 32px; color: var(--gold); stroke-width: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.home-hero-visual .carousel-viewport { border-radius: 6px 6px 0 0; aspect-ratio: 1.44; box-shadow: none; }
.home-hero-visual .slide-cap { display: none; }
.hero-caption { margin: 0; background: var(--forest); color: #f1ede2; padding: 12px 18px; font-size: .95rem; border-radius: 0 0 6px 6px; }
.home-hero-visual .carousel-viewport:only-child, .home-hero-visual .carousel:last-child .carousel-viewport { border-radius: 6px; }
.carousel-controls { margin-top: 14px; }
.car-btn { border-color: var(--rule); background: transparent; color: var(--forest); }
.car-dot::before { background: #cfc8b8; }
.car-dot.is-active::before { background: var(--forest); }
.home-hero-visual { display: flex; flex-direction: column; }
.home-hero-visual .carousel { order: 0; }
.home-hero-visual .hero-caption { order: 1; }
.home-hero-visual .carousel .carousel-controls { order: 2; }
@media (max-width: 1080px) {
  .home-hero { padding: 18px 0 48px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-hero-visual { order: -1; }
  .home-hero-copy > .ed-eyebrow { margin-top: 4px; }
}
@media (max-width: 560px) {
  .home-hero h1 { font-size: 2.45rem; }
  .hero-modes { display: grid; gap: 12px; margin-bottom: 26px; }
  .hero-modes li { padding: 0; border: 0; }
  .hero-cta .btn { width: 100%; }
  .hero-caption { font-size: .85rem; }
}

/* Section scaffolding */
.ed-section { padding: 88px 0; background: var(--ivory); }
.ed-tint { background: var(--cream); }
.ed-head { max-width: 760px; margin-bottom: 40px; }
.ed-head h2 { margin: 0 0 12px; }
.ed-head h2::after { display: none; }
.ed-head p:last-child { margin-bottom: 0; }
.section-soft { background: var(--cream); }
@media (max-width: 760px) { .ed-section { padding: 56px 0; } .ed-head { margin-bottom: 28px; } }

/* What is your child preparing for? */
.prep-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.prep-col-h { font: 400 1.75rem/1.2 var(--font-display); color: var(--forest); margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.prep-list { list-style: none; margin: 0; padding: 0; }
.prep-list li { border-bottom: 1px solid var(--rule); }
.prep-list a { display: grid; grid-template-columns: 1fr 22px; gap: 6px 16px; padding: 18px 0; text-decoration: none; }
.prep-t { font: 700 1.12rem/1.3 var(--font-body); color: var(--forest); text-decoration: underline; text-decoration-color: var(--forest); text-underline-offset: 4px; text-decoration-thickness: 1px; grid-column: 1; }
.prep-d { color: var(--text); font-size: .98rem; grid-column: 1; }
.prep-arrow { width: 22px; height: 22px; color: var(--gold); grid-column: 2; grid-row: 1; align-self: center; transition: transform .2s; }
.prep-list a:hover .prep-arrow { transform: translate(3px, -3px); }
.prep-list a:hover .prep-t { color: var(--gold) ; text-decoration-color: var(--gold); }
.prep-list li.is-current a { background: var(--forest-soft); padding-left: 12px; padding-right: 12px; }
@media (max-width: 860px) { .prep-cols { grid-template-columns: 1fr; gap: 40px; } }

/* How would your child like to learn? */
.opt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.opt-grid.opt-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
.opt-card { background: var(--card); border: 1px solid var(--rule); display: flex; flex-direction: column; transition: box-shadow .25s, border-color .25s; }
.opt-card:hover { border-color: #e6ac20; box-shadow: 0 14px 34px rgba(27, 66, 53, .08); }
.opt-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.opt-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.opt-card:hover .opt-media img { transform: scale(1.03); }
.opt-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.opt-body h3 { font: 400 1.65rem/1.2 var(--font-display); margin: 0 0 14px; }
.opt-body h3 a { color: var(--forest); text-decoration: none; }
.opt-body p { font-size: 1rem; line-height: 1.65; margin: 0 0 20px; }
.opt-body .ed-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .opt-grid, .opt-grid.opt-count-2 { grid-template-columns: 1fr; max-width: 560px; } }

/* Why list */
.why-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.why-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--rule); }
.why-item .why-ic { width: 44px; height: 44px; border-radius: 50%; background: transparent; border: 1px solid var(--gold-line); color: var(--gold); }
.why-item h3 { font: 600 1.05rem/1.35 var(--font-body); margin: 0 0 6px; }
.why-item p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 960px) { .why-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .why-list { grid-template-columns: 1fr; } }

/* Connected step path (How it works, approach) */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); position: relative; }
.path-4 { --n: 4; } .path-5 { --n: 5; } .path-3 { --n: 3; }
.path::before { content: ""; position: absolute; left: 22px; right: calc(100% / var(--n) - 22px); top: 22px; height: 2px; background: var(--gold-line); }
.path li { position: relative; padding-right: 26px; }
.path-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--forest); color: #fff; font: 400 1.15rem/1 var(--font-display); border: 4px solid var(--ivory); box-shadow: 0 0 0 1px var(--gold-line); margin-bottom: 18px; }
.ed-tint .path-dot { border-color: var(--cream); }
.path li:last-child .path-dot { background: var(--gold); }
.path h3 { font: 600 1.08rem/1.35 var(--font-body); margin: 0 0 8px; }
.path p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) {
  .path { grid-template-columns: 1fr; }
  .path::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .path li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 0 0 28px; }
  .path li:last-child { padding-bottom: 0; }
  .path-dot { margin: 0; }
  .path h3 { margin-top: 10px; }
}

/* Testimonials */
.testi-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.testi-card { margin: 0; background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--gold-line); padding: 30px 28px; }
.testi-n { display: block; color: var(--gold); font-size: .9rem; letter-spacing: .06em; margin-bottom: 12px; }
.testi-card h3 { font: 400 1.5rem/1.25 var(--font-display); margin: 0 0 10px; }
.testi-card p, .testi-card blockquote { color: var(--muted); margin: 0; }
.testi-card blockquote p { color: var(--text); font: italic 400 1.1rem/1.6 var(--font-display); }
.testi-card figcaption { margin-top: 16px; display: grid; }
.testi-card figcaption strong { color: var(--forest); }
@media (max-width: 860px) { .testi-cards { grid-template-columns: 1fr; } }

/* FAQs */
.faq-narrow { max-width: 860px; }
.faq details, .ed-faq details { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; margin: 0 0 10px; }
.faq details[open] { border-color: #c9c0ad; box-shadow: none; }
.faq summary, .ed-faq summary { font: 600 1.02rem/1.45 var(--font-body); color: var(--forest); padding: 18px 22px; list-style: none; display: flex; justify-content: space-between; gap: 16px; cursor: pointer; }
.ed-faq summary::-webkit-details-marker { display: none; }
.ed-faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.ed-faq details[open] summary::after { content: "–"; }
.ed-faq details p { padding: 0 22px 20px; margin: 0; color: var(--text); }
.faq .ic { color: var(--gold); }

/* Book a free demo panel */
.demo-section { background: var(--ivory); }
.demo-panel { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; background: var(--forest); color: #e9efe9; padding: 56px; border-radius: 6px; align-items: start; }
.demo-copy h2 { color: #fff; margin: 0 0 14px; }
.demo-copy > p { color: #d7e1da; font-size: 1.05rem; }
.demo-steps { list-style: none; counter-reset: ds; margin: 26px 0; padding: 0; display: grid; gap: 0; }
.demo-steps li { counter-increment: ds; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.demo-steps li::before { content: counter(ds); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #d9c08a; color: #d9c08a; display: grid; place-items: center; font: 400 1.05rem/1 var(--font-display); }
.demo-steps b { color: #fff; font-weight: 600; }
.demo-steps span { color: #c3d0c7; font-size: .9rem; }
.demo-contact { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; }
.demo-contact a { color: #fff; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 600; }
.demo-contact .ic { color: #d9c08a; width: 18px; height: 18px; }
.demo-card { background: var(--card); border-radius: 4px; padding: 30px; border-top: 3px solid var(--gold-line); box-shadow: 0 24px 50px rgba(0, 0, 0, .18); container-type: inline-size; }
.demo-card-head { text-align: center; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); }
.demo-card-head img { height: 64px; width: auto; margin: 0 auto; display: block; }
.demo-for { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
.demo-for strong { color: var(--forest); }
@media (max-width: 960px) { .demo-panel { grid-template-columns: 1fr; gap: 30px; padding: 40px 32px; } }
@media (max-width: 560px) { .demo-panel { padding: 30px 18px 18px; margin: 0 -8px; } .demo-card { padding: 22px 18px; } .demo-card-head img { height: 54px; } }

/* The four-field form (popup, demo card, enquire page) */
.demo-form .f-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-card .demo-form .f-fields, .enq-modal .demo-form .f-fields { grid-template-columns: 1fr 1fr; }
@container (max-width: 460px) { .demo-form .f-fields { grid-template-columns: 1fr !important; } }
@media (max-width: 560px) { .demo-form .f-fields { grid-template-columns: 1fr !important; } }
.demo-form .f-field { display: grid; gap: 6px; min-width: 0; margin: 0; }
.demo-form .f-label { font: 600 .88rem/1.3 var(--font-body); color: var(--forest); margin: 0; }
.demo-form .f-label .req { color: #b4442f; }
.demo-form input[type=text], .demo-form input[type=tel], .demo-form select { min-height: 50px; border: 1px solid #cfc7b6; border-radius: 4px; background-color: #fff; color: var(--forest); font-size: 1rem; padding: 12px 14px; }
.demo-form select { padding-right: 40px; }
.demo-form .f-prefix { display: flex; border: 1px solid #cfc7b6; border-radius: 4px; background: #fff; overflow: hidden; }
.demo-form .f-prefix span { display: inline-flex; align-items: center; padding: 0 14px; background: var(--cream); border: 0; border-right: 1px solid #cfc7b6; border-radius: 0; color: var(--forest); font-weight: 600; }
.demo-form .f-prefix input { border: 0 !important; border-radius: 0; min-height: 48px; box-shadow: none !important; }
.demo-form input:focus, .demo-form select:focus, .demo-form .f-prefix:focus-within { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(27, 66, 53, .14); outline: none; }
.demo-form [aria-invalid="true"] { border-color: #b4442f !important; }
.demo-form .f-submit { margin-top: 20px; display: grid; gap: 10px; }
.demo-form .btn-demo { width: 100%; min-height: 54px; font-size: 1.05rem; }
.demo-form .f-notice { color: var(--muted); font-size: .78rem; text-align: center; margin: 0; }
.demo-form .f-notice a { color: var(--forest); }
.demo-form .f-err { color: #b4442f; font-size: .82rem; }
.form-main .demo-form .f-fields { grid-template-columns: 1fr 1fr; }
.form-main { border-top: 3px solid var(--gold-line); border-radius: 4px; background: var(--card); }

/* Popup */
.enq-modal { background: var(--ivory); border-radius: 6px; width: min(540px, calc(100vw - 24px)); }
.enq-logo { height: 66px; }
.enq-modal h2 { font: 400 clamp(1.6rem, 4.6vw, 2rem)/1.2 var(--font-display); color: var(--forest); margin: 4px 0 6px; letter-spacing: -.5px; }
.enq-modal-head p { color: var(--muted); }
.enq-context { background: var(--forest-soft); color: var(--forest) !important; border-radius: 4px; }

/* Topic pages (tuition options, boards, exams) */
.topic-hero { background: var(--ivory); padding: 56px 0 64px; }
.topic-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.topic-hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); margin: 0 0 20px; }
.topic-lead { font-size: 1.15rem; line-height: 1.6; color: var(--forest); margin-bottom: 22px; }
.tick-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.tick-list .ic { color: var(--gold); width: 20px; height: 20px; margin-top: 3px; }
.topic-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 8px; }
.topic-photo { margin: 0; }
.topic-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px 72px 6px 6px; }
.facts-strip { background: var(--forest); color: #e9efe9; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.facts > div { padding: 22px 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font: 700 .72rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #d9c08a; margin-bottom: 6px; }
.facts dd { margin: 0; font: 400 1.15rem/1.35 var(--font-display); color: #fff; }
.intro-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.intro-split h2 { margin: 0; }
.intro-split p { font-size: 1.12rem; line-height: 1.75; margin: 0; }
.learn-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.learn-grid li { border-top: 1px solid var(--rule); padding: 24px 0 28px; }
.learn-n { color: var(--gold); font-size: .85rem; letter-spacing: .08em; }
.learn-grid h3 { font: 600 1.1rem/1.35 var(--font-body); margin: 10px 0 8px; }
.learn-grid p { margin: 0; font-size: .96rem; color: var(--muted); }
.res-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.res-list { list-style: none; margin: 0; padding: 0; }
.res-list li { border-top: 1px solid var(--rule); }
.res-list li:last-child { border-bottom: 1px solid var(--rule); }
.res-list a { display: grid; gap: 4px; padding: 18px 0; text-decoration: none; }
.res-list strong { color: var(--forest); }
.res-list span { color: var(--muted); font-size: .92rem; }
.res-list a:hover strong { color: var(--gold); }
body.page-course .crumbs, body.page-service .crumbs { display: none; }
@media (max-width: 960px) {
  .topic-hero-grid, .intro-split, .res-split { grid-template-columns: 1fr; gap: 28px; }
  .topic-photo { order: -1; }
  .learn-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .topic-hero { padding: 20px 0 44px; }
  .topic-hero h1 { font-size: 2.2rem; }
  .topic-photo img { border-radius: 6px 44px 6px 6px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .facts > div:first-child { border-top: 0; }
  .learn-grid { grid-template-columns: 1fr; }
  .topic-actions .btn { width: 100%; }
}

/* About */
.about-hero { padding: 56px 0 72px; background: var(--ivory); }
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); margin: 0 0 22px; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 1.38; object-fit: cover; border-radius: 6px 80px 6px 6px; }
.about-figs { display: flex; flex-wrap: wrap; gap: 26px 44px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); align-items: end; }
.about-figs dt { font: 400 2.2rem/1 var(--font-display); color: var(--forest); }
.about-figs dd { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.mv-band { background: var(--forest); color: #e9efe9; padding: 56px 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; }
.mv-grid > div { padding-right: 56px; }
.mv-grid > div + div { padding: 0 0 0 56px; border-left: 1px solid rgba(255, 255, 255, .22); }
.mv-grid h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 0 0 14px; }
.mv-grid p { color: #dbe4dd; font-size: 1.05rem; line-height: 1.7; margin: 0; max-width: 520px; }
.journey-box { position: relative; background: var(--cream); border-radius: 8px; padding: 40px 34px 34px; }
.journey-curve { position: absolute; left: 34px; right: 34px; top: 30px; width: calc(100% - 68px); height: 210px; color: var(--gold-line); }
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; align-items: start; }
.journey li { text-align: center; }
.journey li.j-1 { margin-top: 160px; } .journey li.j-2 { margin-top: 148px; } .journey li.j-3 { margin-top: 118px; } .journey li.j-4 { margin-top: 74px; } .journey li.j-5 { margin-top: 0; }
.j-dot { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: var(--forest); color: #fff; border: 4px solid var(--cream); box-shadow: 0 0 0 1px var(--gold-line); position: relative; z-index: 1; }
.j-dot .ic { width: 22px; height: 22px; }
.journey li.j-last .j-dot { background: var(--gold); }
.journey h3 { font: 600 1.05rem/1.3 var(--font-body); margin: 0 0 6px; }
.journey p { font-size: .88rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) {
  .about-hero-grid, .mv-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-photo { order: -1; }
  .mv-grid > div { padding: 0; }
  .mv-grid > div + div { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
  .journey-curve { display: none; }
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: var(--gold-line); }
  .journey li { text-align: left; display: grid; grid-template-columns: 52px 1fr; gap: 16px; margin-top: 0 !important; padding-bottom: 22px; }
  .journey li:last-child { padding-bottom: 0; }
  .j-dot { margin: 0; }
  .journey h3 { margin-top: 12px; }
}
@media (max-width: 560px) { .about-hero { padding: 20px 0 48px; } .about-hero h1 { font-size: 2.3rem; } .about-photo img { border-radius: 6px 48px 6px 6px; } .journey-box { padding: 26px 18px; } }

/* Contact */
.contact-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.contact-brand { background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--gold-line); padding: 30px; border-radius: 4px; }
.contact-brand > img { height: 76px; width: auto; display: block; margin-bottom: 18px; }
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); }
.contact-lines .why-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--forest-soft); color: var(--forest); }
.contact-lines small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.contact-lines a, .contact-lines span { color: var(--forest); font-weight: 600; text-decoration: none; word-break: break-word; }
@media (max-width: 960px) { .contact-hero-grid { grid-template-columns: 1fr; gap: 30px; } }

/* Video gallery and general pages in the new palette */
.videos { background: var(--ivory); }
.video-card { border-radius: 4px; border-color: var(--rule); background: var(--card); box-shadow: none; }
.video-frame { border-radius: 4px 4px 0 0; background: linear-gradient(135deg, var(--forest-dark), var(--forest)); }
.sec-head h2::after { background: var(--gold-line); height: 2px; }
.page-hero { background: var(--ivory); }
.cta-band { background: var(--forest); }
.cta-band::before { display: none; }
.site-footer { background: var(--forest-dark); }
.site-footer a:hover { color: #d9c08a; }
.footer-tag { font-family: var(--font-display); }
.mobile-bar-primary { background: var(--forest) !important; color: #fff !important; }
.tbc { background: #f6efe0; color: #6b5222; border-color: #c8a96a; }
.why-ic { background: var(--forest-soft); color: var(--forest); }
.js .reveal { transform: translateY(16px); }
.home-hero h1 { font-size: clamp(2.5rem, 4.2vw, 3.85rem); }
.hero-modes { flex-wrap: nowrap; }
.hero-modes li { padding: 0 16px; }
.hero-modes a { font-size: .9rem; gap: 10px; }
.hero-modes .ic { width: 28px; height: 28px; }
.home-hero-visual .carousel-viewport { border-radius: 6px 6px 0 0; }
.home-hero-visual .carousel:not(:has(.hero-caption)) .carousel-viewport { border-radius: 6px; }
@media (max-width: 560px) { .hero-modes { flex-wrap: wrap; } }
.drop-two { min-width: 520px; } .drop-plain a { white-space: nowrap; }
@media (max-width: 1080px) { .drop-two { min-width: 0; } .drop-plain a { white-space: normal; } }

@media (min-width: 1081px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
@media (max-width: 1080px) { .main-nav { margin: 0 !important; } }
@media (max-width: 560px) {
  .hero-modes li, .hero-modes li:first-child { padding: 0; border: 0; }
  .contact-lines a, .contact-lines span { font-size: .92rem; }
  .demo-panel { margin: 0; }
}
@media (max-width: 1080px) {
  .drop, .drop-two, .drop-simple .drop { background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 0 4px 12px 12px; }
  .drop-plain a { padding: 10px 0; }
}
.contact-panel { border-radius: 6px; background: var(--forest); }

/* =====================================================================
   v9 – Keep the new layout, restore the earlier RamanTutor theme
   Navy #142155 · forest green #19532d · gold #e6ac20 buttons · cream #fcfaf3 · Georgia + Arial
   ===================================================================== */
:root {
  --forest: #142155; --forest-dark: #0f1a45; --forest-soft: #edf3e8;
  --gold: #e6ac20; --gold-hover: #e6ac20; --gold-text: #e6ac20; --gold-line: #e6ac20;
  --ivory: #ffffff; --cream: #fcfaf3; --card: #ffffff; --rule: #dce3e8;
  --ink: #142155; --text: #3c4a5a; --muted: #5a6a79; --line: #dce3e8; --soft: #fcfaf3; --tint: #fcfaf3;
  --font-display: Georgia, "Times New Roman", serif;
  --font-head: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}
body { background: #fff; }
.btn-demo, .btn-primary, .btn-light, .btn-sisya, .btn-course { background: #e6ac20 !important; color: #142155 !important; border-color: #e6ac20 !important; font-weight: 700; border-radius: 6px; }
.btn-demo:hover, .btn-primary:hover, .btn-light:hover, .btn-sisya:hover, .btn-course:hover { background: #f0bd3f !important; color: #142155 !important; }
.btn-demo::after { content: " ↗"; font-weight: 700; }
.demo-form .btn-demo::after, .mobile-bar-primary::after { content: none; }
.home-hero, .topic-hero, .about-hero { background: #fcfaf3; }
.home-hero h1 em, .topic-hero h1 em { color: #19532d; }
.home-lead, .topic-lead { color: #3c4a5a; }
.hero-modes .ic, .tick-list .ic { color: #19532d; }
.ed-eyebrow, .eyebrow { color: #19532d; }
.ed-eyebrow.light, .facts dt, .demo-steps li::before { color: #f1bc3c; }
.demo-steps li::before { border-color: #f1bc3c; }
.ed-link { color: #19532d; text-decoration-color: #e6ac20; }
.ed-link:hover { color: #123f22; }
.hero-caption, .facts-strip, .mv-band, .demo-panel { background: #142155; }
.contact-panel { background: #142155; }
.site-footer { background: #0f1a45; }
.site-header { background: #fff; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current] { color: #19532d; text-decoration-color: #e6ac20; }
.prep-t { color: #142155; text-decoration-color: #142155; }
.prep-list a:hover .prep-t { color: #e6ac20; text-decoration-color: #e6ac20; }
.prep-arrow { color: #e6ac20; }
.opt-card, .testi-card, .demo-card, .contact-brand { border-radius: 10px; overflow: hidden; }
.opt-card { border-top: 4px solid #e6ac20; }
.opt-card:nth-child(2) { border-top-color: #e6ac20; }
.testi-card, .demo-card, .contact-brand, .form-main { border-top-color: #e6ac20; }
.why-item .why-ic { border-color: #e6ac20; color: #19532d; }
.path-dot, .j-dot { background: #19532d; }
.path li:last-child .path-dot, .journey li.j-last .j-dot { background: #e6ac20; color: #142155; }
.path::before, .journey::before { background: #d0dccb; }
.journey-curve { color: #e6ac20; }
.journey-box { background: #fcfaf3; border: 1px solid #e3e7dd; }
.learn-n, .testi-n { color: #19532d; }
.ed-faq summary::after { color: #19532d; }
.faq details, .ed-faq details { background: #fcfaf7; border-color: #e3e7dd; border-radius: 8px; }
.drop-h { color: #19532d; }
.drop-plain a:hover { color: #19532d; }
.mobile-bar-primary { background: #e6ac20 !important; color: #142155 !important; }
.car-dot.is-active::before { background: #19532d; }
.topic-photo img { border-radius: 120px 12px 12px 12px; }
.about-photo img { border-radius: 120px 12px 12px 12px; }
@media (max-width: 620px) { .topic-photo img, .about-photo img { border-radius: 70px 12px 12px 12px; } }
.res-list a:hover strong { color: #19532d; }
.tbc { background: #fff4d5; color: #785500; border-color: #e1a33b; }

/* =====================================================================
   v10 – Larger logo, call button in header, 6-field form, social footer
   ===================================================================== */
.logo-img img { height: 84px; }
.site-header .header-row { min-height: 96px; }
.site-header.is-scrolled .logo-img img { height: 64px; }
.site-header.is-scrolled .header-row { min-height: 78px; }
.header-call { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; min-height: 46px; border: 1.5px solid #19532d; border-radius: 8px; color: #19532d; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; background: #fff; transition: background .2s, color .2s; }
.header-call .ic { width: 18px; height: 18px; flex: none; }
.header-call:hover, .header-call:focus-visible { background: #19532d; color: #fff; }
.header-actions { gap: 10px; }
@media (min-width: 1081px) and (max-width: 1320px) {
  .main-nav > ul { gap: 2px; }
  .main-nav > ul > li > a { padding-left: 8px; padding-right: 8px; font-size: .92rem; }
  .logo-img img { height: 72px; }
  .header-call-n { display: none; }
  .header-call { padding: 10px 12px; }
}
@media (max-width: 1080px) {
  .logo-img img { height: 66px; }
  .site-header .header-row { min-height: 80px; }
  .site-header.is-scrolled .logo-img img { height: 56px; }
}
@media (max-width: 760px) {
  .logo-img img { height: 58px; }
  .site-header .header-row { min-height: 74px; }
  .site-header.is-scrolled .logo-img img { height: 50px; }
  .site-header.is-scrolled .header-row { min-height: 66px; }
  .header-call { padding: 0; width: 40px; min-height: 40px; justify-content: center; }
  .header-call-n { display: none; }
}
@media (max-width: 380px) { .logo-img img { height: 50px; } .header-cta { padding: 8px 10px !important; font-size: .78rem !important; } }

/* Hero carousel: no controls below the photo */
.carousel-controls { display: none !important; }

/* Enquiry form – six fields, single column like the reference */
.demo-form .f-fields, .demo-card .demo-form .f-fields, .enq-modal .demo-form .f-fields, .form-main .demo-form .f-fields { display: grid; grid-template-columns: 1fr !important; gap: 16px; }
.demo-form .f-field { grid-column: auto !important; }
.demo-form .f-label { font-weight: 600; }
.f-opt { color: #8a96a3; font-weight: 400; font-size: .85em; }
.demo-form textarea { width: 100%; min-height: 96px; resize: vertical; padding: 12px 14px; border: 1px solid #cfd8e0; border-radius: 8px; font: inherit; color: #142155; background: #fff; }
.demo-form textarea:focus { outline: 2px solid #19532d; outline-offset: 1px; border-color: #19532d; }
.demo-form input::placeholder, .demo-form textarea::placeholder { color: #8a96a3; }
.enq-modal .enq-modal-inner { max-height: calc(100dvh - 32px); overflow-y: auto; }
@media (min-width: 640px) { .enq-modal { width: min(520px, calc(100vw - 32px)); } }

/* Footer social buttons */
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22); transition: background .2s, transform .2s; }
.footer-social a svg { width: 20px; height: 20px; }
.footer-social a:hover, .footer-social a:focus-visible { background: #e6ac20; color: #142155; border-color: #e6ac20; transform: translateY(-2px); }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 20px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.22); transition: transform .2s; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.06); }
@media (max-width: 1080px) { .wa-float { bottom: 84px; right: 14px; width: 52px; height: 52px; } }
.about-hero h2.about-h { font-family: var(--font-display); font-weight: 400; color: #142155; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.12; margin: 0 0 22px; }
@media (max-width: 560px) { .about-hero h2.about-h { font-size: 2rem; } }

/* How it works / approach steps – centred columns, line through the dot centres */
@media (min-width: 861px) {
  .path { gap: 0 28px; align-items: start; }
  .path::before { left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); top: 27px; height: 2px; }
  .path li { padding: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .path-dot { width: 56px; height: 56px; font-size: 1.3rem; margin: 0 0 20px; }
  .path li > div { max-width: 260px; }
  .path h3 { font-size: 1.1rem; line-height: 1.35; margin: 0 0 8px; min-height: 1.35em; }
  .path p { font-size: .95rem; line-height: 1.6; }
}
.path li.reveal, .path li[data-reveal] { transform: none !important; }
@media (max-width: 860px) {
  .path::before { left: 22px; }
  .path li { align-items: start; }
  .path h3 { margin-top: 11px; }
}
/* Header nav – keep each item on one line */
.main-nav > ul > li > a { white-space: nowrap; }
@media (min-width: 1081px) { .main-nav > ul { flex-wrap: nowrap; } .header-cta { white-space: nowrap; } }
@media (min-width: 1081px) and (max-width: 1500px) { .main-nav > ul > li > a { font-size: .93rem; padding-left: 8px; padding-right: 8px; } .logo-img img { height: 74px; } .header-row { gap: 18px !important; } .header-call { padding: 10px 12px; font-size: .9rem; } }
.demo-form input[type=email], .demo-form textarea { min-height: 50px; border: 1px solid #cfc7b6; border-radius: 4px; background-color: #fff; color: var(--forest); font-size: 1rem; padding: 12px 14px; }
.demo-form textarea { min-height: 100px; }
.footer-brand { padding-bottom: 28px; }
@media (max-width: 760px) {
  .logo-img img { height: 50px; }
  .site-header.is-scrolled .logo-img img { height: 46px; }
  .header-actions { gap: 8px; }
  .header-cta { white-space: nowrap; padding: 8px 11px !important; font-size: .8rem !important; min-height: 40px; }
  .header-cta::after { content: none !important; }
}
@media (max-width: 1080px) { .wa-float { display: none !important; } } /* mobile bar already has WhatsApp */
@media (max-width: 360px) { .logo-img img { height: 42px; } }

/* =====================================================================
   v11 – Client doc 3: credibility line, About Us copy, tuition option cards,
         teaching-approach curve, parent feedback
   ===================================================================== */
/* Hero: carousel + fixed credibility line (desktop: right column; mobile: carousel, copy, line) */
.home-hero-grid { grid-template-areas: "copy visual" "copy cred"; grid-template-rows: auto auto; row-gap: 18px; }
.home-hero-copy { grid-area: copy; }
.home-hero-visual { grid-area: visual; align-self: end; }
.hero-cred { grid-area: cred; align-self: start; margin: 0; text-align: center; color: #142155; font: 400 1.18rem/1.45 var(--font-display); padding: 14px 18px; border-top: 1px solid #e6ac20; border-bottom: 1px solid #e6ac20; background: #fff; border-radius: 4px; }
.home-hero-visual .carousel-viewport { border-radius: 10px !important; }
@media (max-width: 960px) {
  .home-hero-grid { grid-template-areas: "visual" "copy" "cred"; grid-template-columns: 1fr; row-gap: 26px; }
  .hero-cred { font-size: 1.05rem; padding: 14px 12px; }
}

/* About Us introduction */
.about-intro .about-h { font-family: var(--font-display); font-weight: 400; color: #142155; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.15; margin: 0 0 22px; }
.about-intro .about-p { font-size: 1.04rem; line-height: 1.75; color: #3c4a5a; margin: 0 0 16px; max-width: 62ch; }
.about-intro .about-p strong { color: #19532d; font-weight: 700; }
.about-intro .about-lead { font-size: 1.12rem; color: #142155; }
.about-intro .about-aim { margin-top: 22px; padding: 14px 0 0 18px; border-left: 3px solid #e6ac20; font-family: var(--font-display); font-size: 1.15rem; color: #142155; }
.about-intro .about-hero-grid { align-items: start; }
.about-side { display: flex; flex-direction: column; gap: 20px; }
.about-keys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-keys li { background: #fff; border: 1px solid #e3e7dd; border-top: 3px solid #19532d; border-radius: 6px; padding: 14px 16px; }
.about-keys li:nth-child(2), .about-keys li:nth-child(3) { border-top-color: #e6ac20; }
.about-keys strong { display: block; font: 400 1.35rem/1.2 var(--font-display); color: #142155; }
.about-keys span { display: block; margin-top: 4px; font-size: .86rem; color: #5a6a79; }
@media (max-width: 960px) { .about-intro .about-side { order: -1; } .about-intro .about-photo { order: 0; } }
@media (max-width: 420px) { .about-keys { grid-template-columns: 1fr; } }

/* Tuition option cards – client format */
.opt-copy { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.opt-copy p { margin: 0 !important; }
.opt-tag { font-weight: 700; color: #142155; font-size: 1.05rem; line-height: 1.4; }
.opt-intro, .opt-outro { color: #3c4a5a; font-size: .98rem; line-height: 1.6; }
.opt-outro:first-of-type { margin-top: 4px !important; }
.opt-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.opt-ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: #142155; font-size: .98rem; line-height: 1.5; }
.opt-ticks .ic { width: 18px; height: 18px; color: #19532d; stroke-width: 2.6; margin-top: 2px; }
.opt-body .btn-opt { margin-top: auto; display: flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 18px; border-radius: 6px; background: #19532d; color: #fff; font-weight: 700; text-decoration: none; text-align: center; transition: background .2s; }
.opt-body .btn-opt:hover, .opt-body .btn-opt:focus-visible { background: #123f22; color: #fff; }
.opt-copy-lead .opt-tag { font-size: 1.2rem; }
.opt-copy-lead .opt-intro, .opt-copy-lead .opt-outro, .opt-copy-lead .opt-ticks li { font-size: 1.05rem; }
.topic-hero-copy .opt-copy { margin: 0 0 26px; max-width: 560px; }

/* Teaching approach: curve drawn through the dot centres */
.journey-track { position: relative; }
.journey-line { display: none; }
@media (min-width: 961px) {
  .journey-box .journey-curve { display: none; }
  .journey-line { display: block; position: absolute; left: 0; top: 0; width: 100%; height: var(--jh); color: #e6ac20; pointer-events: none; z-index: 0; overflow: visible; }
  .journey.journey-v2 { gap: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; z-index: 1; }
  .journey.journey-v2 li { margin-top: var(--jm) !important; padding: 0 10px; text-align: center; transform: none !important; }
  .journey-v2 .j-dot { width: 56px; height: 56px; margin: 0 auto 14px; box-sizing: border-box; }
  .journey-v2 h3 { font-size: 1.02rem; }
}
@media (max-width: 960px) { .journey.journey-v2 li { transform: none !important; } .journey-v2::before { left: 25px; } }

/* Parent feedback + figures */
.testi-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.testi-layout.no-quotes { grid-template-columns: 1fr; }
.fb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fb-card { position: relative; margin: 0; background: #fff; border: 1px solid #e3e7dd; border-radius: 10px; padding: 34px 26px 22px; display: flex; flex-direction: column; box-shadow: 0 10px 28px rgba(20, 33, 85, .05); }
.fb-mark { position: absolute; top: -18px; right: 22px; font: 700 4.6rem/1 Georgia, serif; color: #e6ac20; }
.fb-card blockquote { margin: 0 0 22px; color: #142155; font-size: 1rem; line-height: 1.7; flex: 1; }
.fb-card blockquote p { margin: 0; }
.fb-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid #eef0ea; }
.fb-card figcaption img, .fb-initial { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #e6ac20; }
.fb-initial { display: grid; place-items: center; background: #19532d; color: #fff; font: 400 1.4rem/1 var(--font-display); }
.fb-card figcaption strong { display: block; color: #142155; font-size: 1.02rem; }
.fb-card figcaption small { display: block; color: #5a6a79; }
.fb-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; position: sticky; top: 110px; }
.fb-stats li { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid #e3e7dd; border-radius: 10px; padding: 16px 18px; }
.fb-stat-ic { width: 64px; height: 64px; flex: none; border-radius: 10px; background: #e6ac20; color: #142155; display: grid; place-items: center; }
.fb-stat-ic .ic { width: 30px; height: 30px; }
.fb-stats strong { display: block; font: 700 1.9rem/1.1 var(--font-body); color: #142155; }
.fb-stats li > span:last-child { color: #3c4a5a; font-size: 1rem; }
@media (max-width: 1080px) { .testi-layout { grid-template-columns: 1fr; } .fb-stats { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .fb-grid { grid-template-columns: 1fr; } .fb-stats { grid-template-columns: 1fr; } .fb-card { padding: 30px 20px 18px; } }
/* Mobile timelines: the line runs from the first dot to the last dot only */
@media (max-width: 960px) {
  .journey.journey-v2::before { display: none; }
  .journey.journey-v2 li { position: relative; }
  .journey.journey-v2 li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 26px; bottom: -26px; width: 2px; background: #d0dccb; z-index: 0; }
  .journey-v2 .j-dot { position: relative; z-index: 1; }
}
@media (max-width: 860px) {
  .path::before { display: none; }
  .path li { position: relative; }
  .path li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 23px; bottom: -23px; width: 2px; background: #d0dccb; z-index: 0; }
  .path-dot { position: relative; z-index: 1; }
}
/* Credibility line as a caption bar joined to the bottom of the carousel photo */
.home-hero-grid { grid-template-areas: "copy visual"; grid-template-rows: auto; }
.home-hero-visual { align-self: center; }
.home-hero-visual .carousel-viewport { border-radius: 10px 10px 0 0 !important; }
.hero-caption.hero-cred-bar { display: block; margin: 0; background: #173f2a !important; color: #fff; padding: 14px 20px; font: 400 1rem/1.45 Arial, Helvetica, sans-serif; text-align: left; border-radius: 0 0 10px 10px; }
@media (max-width: 960px) { .home-hero-grid { grid-template-areas: "visual" "copy"; } .hero-caption.hero-cred-bar { font-size: .92rem; padding: 12px 16px; } }
/* Credibility bar on one line: site.js shrinks the text to fit the photo width (wraps only on narrow phones) */
.hero-caption.hero-cred-bar { white-space: nowrap; font-size: 16px; padding: 14px 18px; text-align: center; overflow: hidden; }
.hero-caption.hero-cred-bar.is-wrap { white-space: normal; }
@media (max-width: 520px) { .hero-caption.hero-cred-bar { white-space: normal; font-size: 13.5px !important; padding: 12px 14px; } }

/* About Us – figures panel (client graphic) on the right */
.about-stats-side { align-self: center; }
.about-stats { list-style: none; margin: 0; padding: 26px; display: grid; gap: 22px; border-radius: 14px;
  background-color: #eef2f7; background-image: radial-gradient(#dfe5ee 2.2px, transparent 2.6px); background-size: 22px 22px; }
.about-stats li { display: flex; align-items: center; gap: 26px; background: #fff; border-radius: 12px; padding: 18px 22px; box-shadow: 0 10px 26px rgba(20, 33, 85, .07); }
.as-ic { width: 88px; height: 88px; flex: none; border-radius: 12px; background: #f6c700; color: #142155; display: grid; place-items: center; }
.as-ic svg { width: 66px; height: 66px; }
.about-stats strong { display: block; font: 800 2.3rem/1.1 Arial, Helvetica, sans-serif; color: #142155; letter-spacing: -.01em; margin-bottom: 4px; }
.about-stats li > span:last-child { color: #142155; font-size: 1.2rem; }
@media (max-width: 960px) { .about-intro .about-stats-side { order: 0; } }
@media (max-width: 520px) {
  .about-stats { padding: 16px; gap: 14px; }
  .about-stats li { gap: 16px; padding: 14px 16px; }
  .as-ic { width: 64px; height: 64px; } .as-ic svg { width: 42px; height: 42px; }
  .about-stats strong { font-size: 1.8rem; } .about-stats li > span:last-child { font-size: 1.02rem; }
}
