/* =====================================================================
   Paras — public website
   ===================================================================== */

/* --- Header ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: var(--s6); min-height: 84px; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: var(--s6); list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a {
  color: var(--ink-700); text-decoration: none; font-size: var(--label-m); font-weight: 600;
  padding: var(--s2) 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--blue-700); border-bottom-color: var(--gold-400); }

.site-header__cta { display: flex; gap: var(--s3); align-items: center; }
.nav-toggle { display: none; background: none; border: 0; padding: var(--s2); color: var(--ink-900); cursor: pointer; }

@media (max-width: 1080px) {
  .site-nav, .site-header__cta .btn--ghost { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-header__inner { min-height: 64px; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--white);
  padding: var(--s6); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: var(--s7) 0 0; padding: 0; }
.mobile-menu li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-menu a { display: block; padding: var(--s5) 0; font-size: 19px; font-weight: 600; color: var(--ink-900); text-decoration: none; }

/* --- Hero ------------------------------------------------------------ */
.hero { position: relative; background: var(--blue-50); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -160px; top: -160px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(243,181,65,.28), rgba(243,181,65,0) 62%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s10); align-items: center; padding-block: var(--s12); }
.hero__title { margin-bottom: var(--s5); }
.hero__lead { font-size: var(--body-l); line-height: var(--body-l-lh); color: var(--ink-700); max-width: 52ch; margin-bottom: var(--s7); }
.hero__actions { display: flex; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s8); }
.hero__proof { display: flex; gap: var(--s8); flex-wrap: wrap; }
.hero__art {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--white); aspect-ratio: 4 / 5;
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; } .hero__art { aspect-ratio: 16/10; } }

/* --- Stat ------------------------------------------------------------- */
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__value { font-family: var(--font-display); font-size: var(--stat-m); line-height: var(--stat-m-lh); color: var(--blue-700); font-weight: 600; }
.stat__label { font-size: var(--label-s); color: var(--ink-500); font-weight: 600; }

/* --- Section heading --------------------------------------------------- */
.section-head { max-width: 46rem; margin-bottom: var(--s9); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .overline { display: block; margin-bottom: var(--s3); }
.section-head p { color: var(--ink-500); font-size: var(--body-l); line-height: var(--body-l-lh); margin-top: var(--s4); margin-bottom: 0; }

/* --- Course card -------------------------------------------------------- */
.course-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.course-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--blue-100); }
.course-card__media { aspect-ratio: 3/2; background: var(--blue-50); }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; }
.course-card__body { padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.course-card__meta { display: flex; gap: var(--s4); flex-wrap: wrap; font-size: var(--label-s); color: var(--ink-500); margin-top: auto; padding-top: var(--s4); border-top: 1px solid var(--line); }
.course-card__meta span { display: inline-flex; align-items: center; gap: 6px; }

/* --- Faculty card -------------------------------------------------------- */
.faculty-card { text-align: center; }
.faculty-card__photo {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden;
  background: var(--blue-50); margin-bottom: var(--s4);
}
.faculty-card__photo img { width: 100%; height: 100%; object-fit: cover; }

/* --- Result card ---------------------------------------------------------- */
.result-card { text-align: center; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); background: var(--white); }
.result-card__photo { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; margin: 0 auto var(--s4); background: var(--blue-50); }
.result-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.result-card__rank {
  display: inline-block; margin-bottom: var(--s3);
  background: var(--gold-100); color: var(--gold-700);
  padding: 4px var(--s3); border-radius: var(--r-pill);
  font-size: var(--label-s); font-weight: 700;
}

/* --- Testimonial ---------------------------------------------------------- */
.quote-card { background: var(--canvas); border-radius: var(--r-lg); padding: var(--s7); border: 1px solid var(--line); }
.quote-card__mark { color: var(--gold-400); margin-bottom: var(--s4); }
.quote-card__text { font-family: var(--font-display); font-size: 21px; line-height: 32px; color: var(--ink-900); margin-bottom: var(--s5); }
.quote-card__author { font-weight: 700; font-size: var(--label-m); }
.quote-card__role { color: var(--ink-500); font-size: var(--label-s); }

/* --- Accordion (FAQ) ------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: var(--s5) 0; font-family: var(--font-body); font-size: var(--h5); font-weight: 700; color: var(--ink-900);
}
.accordion__btn svg { transition: transform .2s var(--ease); flex: none; color: var(--ink-500); }
.accordion__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.accordion__panel { padding-bottom: var(--s5); color: var(--ink-700); max-width: 62ch; }
.accordion__panel[hidden] { display: none; }

/* --- CTA band ---------------------------------------------------------------- */
.cta-band { background: var(--ink-900); color: #fff; border-radius: var(--r-xl); padding: var(--s11) var(--s9); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; left: -80px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,98,214,.42), rgba(42,98,214,0) 66%);
}
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s9); align-items: center; }
.cta-band .h2, .cta-band .display-m { color: #fff; }
.cta-band p { color: #c9d3e4; }
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band { padding: var(--s9) var(--s6); } }

.cta-form { background: var(--white); border-radius: var(--r-lg); padding: var(--s7); }
.cta-form .field:last-of-type { margin-bottom: var(--s5); }

/* --- Footer -------------------------------------------------------------------- */
.site-footer { background: var(--canvas); border-top: 1px solid var(--line); padding-block: var(--s11) var(--s7); margin-top: var(--s12); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s8); }
.site-footer h4 { font-size: var(--label-m); margin-bottom: var(--s4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 var(--s3); }
.site-footer a { color: var(--ink-700); text-decoration: none; font-size: var(--body-s); }
.site-footer a:hover { color: var(--blue-700); text-decoration: underline; }
.site-footer__bottom { margin-top: var(--s9); padding-top: var(--s6); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; font-size: var(--label-s); color: var(--ink-500); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* --- Floating enquiry --------------------------------------------------------- */
.float-cta {
  position: fixed; right: var(--s5); bottom: var(--s5); z-index: 40;
  display: inline-flex; align-items: center; gap: var(--s2);
  background: #25d366; color: #073b22; font-weight: 700; font-size: var(--label-m);
  padding: 13px var(--s5); border-radius: var(--r-pill); text-decoration: none;
  box-shadow: var(--shadow-lg);
}
.float-cta:hover { color: #073b22; }

/* --- Mobile sticky bar --------------------------------------------------------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; gap: var(--s3); padding: var(--s3) var(--s4);
  background: var(--white); border-top: 1px solid var(--line);
}
.sticky-bar .btn { flex: 1; }
@media (max-width: 720px) {
  .sticky-bar { display: flex; }
  .float-cta { bottom: 84px; }
  body { padding-bottom: 72px; }
}

/* --- Prose (blog) ---------------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { font-family: var(--font-display); font-size: var(--h3); line-height: var(--h3-lh); margin: var(--s9) 0 var(--s4); }
.prose h3 { font-size: var(--h4); line-height: var(--h4-lh); margin: var(--s7) 0 var(--s3); font-family: var(--font-body); font-weight: 700; }
.prose p, .prose li { font-size: var(--body-l); line-height: var(--body-l-lh); color: var(--ink-700); }
.prose img { border-radius: var(--r-lg); margin-block: var(--s7); }
.prose blockquote {
  margin: var(--s7) 0; padding: var(--s5) var(--s6);
  border-left: 3px solid var(--gold-400); background: var(--gold-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.prose blockquote p:last-child { margin-bottom: 0; }

/* --- Utility bar (Header/Desktop) ------------------------------------- */
.utility-bar {
  background: var(--ink-900); color: #c4d0e4;
  font-size: var(--label-s); padding: 7px 0;
}
.utility-bar a { color: #fff; text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; color: #fff; }
.utility-bar .row { gap: var(--s5); }
@media (max-width: 720px) { .utility-bar { display: none; } }

/* --- Page hero (Section/Page hero) ------------------------------------ */
.page-hero { background: var(--blue-50); padding-block: var(--s9) var(--s11); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(243,181,65,.22), transparent 62%);
  pointer-events: none;
}
.page-hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s9); align-items: center; }
@media (max-width: 980px) { .page-hero__inner { grid-template-columns: 1fr; } }

.breadcrumb { font-size: var(--label-s); color: var(--ink-500); margin-bottom: var(--s6); display: flex; gap: var(--s2); align-items: center; }
.breadcrumb a { color: var(--ink-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue-700); text-decoration: underline; }

/* --- Filter rail (Study material, Results, Branches) -------------------- */
.filter-rail { position: sticky; top: 110px; align-self: start; }
.filter-group { border-bottom: 1px solid var(--line); padding-bottom: var(--s5); margin-bottom: var(--s5); }
.filter-group h3 { font-size: var(--label-s); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); margin-bottom: var(--s3); }
.filter-row { display: flex; justify-content: space-between; gap: var(--s3); font-size: var(--body-s); padding: 5px 0; }
.filter-row span { color: var(--ink-300); }

.with-rail { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s9); }
@media (max-width: 980px) { .with-rail { grid-template-columns: 1fr; } .filter-rail { position: static; } }

/* --- Sticky filter bar (Results) ---------------------------------------- */
.filter-bar {
  position: sticky; top: 84px; z-index: 30;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); padding-block: var(--s4);
}
.filter-bar .row { gap: var(--s3); }

/* --- Timeline (About story) ---------------------------------------------- */
.timeline { position: relative; padding-left: var(--s8); }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding-bottom: var(--s8); }
.timeline__item::before {
  content: ""; position: absolute; left: calc(var(--s8) * -1 + 5px); top: 6px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--blue-600); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-100);
}
.timeline__year { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--blue-700); }

/* --- Comparison table ------------------------------------------------------ */
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: var(--s4); border-bottom: 1px solid var(--line); text-align: left; font-size: var(--body-s); vertical-align: top; }
.compare thead th { background: var(--canvas); font-size: var(--label-s); }
.compare th:first-child { width: 30%; color: var(--ink-500); font-weight: 600; }
.compare .yes { color: var(--green-600); }
.compare .no { color: var(--ink-300); }

/* --- Download row (Study material) -------------------------------------------- */
.dl-row { display: flex; gap: var(--s4); align-items: center; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); margin-bottom: var(--s4); }
.dl-row__body { flex: 1; min-width: 0; }
.dl-row__meta { font-size: var(--label-s); color: var(--ink-500); margin-top: 4px; }
@media (max-width: 620px) { .dl-row { flex-wrap: wrap; } }

/* --- Article ------------------------------------------------------------------- */
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s9); }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } .article-toc { display: none; } }
.article-toc { position: sticky; top: 110px; align-self: start; font-size: var(--body-s); }
.article-toc ol { list-style: none; padding: 0; margin: var(--s3) 0 0; }
.article-toc li { margin-bottom: var(--s2); }
.article-toc a { color: var(--ink-500); text-decoration: none; }
.article-toc a:hover { color: var(--blue-700); }
