/* Pramana admission test pages — shared styles */
:root {
  --navy: #20304A;
  --navy-2: #2A3A58;
  --navy-line: #3A4A68;
  --ivory: #FBF8F2;
  --sand: #F3EDE1;
  --line: #E6E0D4;
  --field: #D9D2C3;
  --muted: #55596E;
  --muted-2: #4A4E63;
  --on-dark: #C9CBDA;
  --on-dark-2: #A3A6BD;
  --gold: #E3B341;
  --green: #1F7A4D;
  --acc: #8A6414;        /* track accent on light backgrounds */
  --acc-light: #E3B341;  /* track accent on navy */
  --tint: #FBF3E0;
  --radius: 16px;
  --gutter: clamp(16px, 6vw, 120px);
  --head: 'Fraunces', 'Tiro Devanagari Hindi', Georgia, serif;
  --deva: 'Tiro Devanagari Hindi', serif;
  --body: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.t-uday  { --acc: #B4410E; --acc-light: #F2B37C; --tint: #FFF4EC; }
.t-ratna { --acc: #0F6B4F; --acc-light: #86D3B1; --tint: #EAF6F0; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--navy); font-family: var(--body); font-size: 17px; line-height: 1.6; }
html.i18n-pending body { visibility: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--acc); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; margin: 0; line-height: 1.15; }
p { margin: 0; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--acc); }
.eyebrow.rule::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--acc-light); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,248,242,0.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 48px; width: auto; }
.brand span { font-family: 'Cinzel', Georgia, serif; font-size: 22px; font-weight: 600; letter-spacing: 3px; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav a { color: var(--navy); text-decoration: none; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.nav .links { display: flex; gap: 28px; }
.lang { display: inline-flex; gap: 2px; border: 1px solid var(--field); border-radius: 999px; padding: 3px; }
.lang button { min-width: 44px; min-height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--navy); font: inherit; font-size: 15px; padding: 0 12px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-accent { background: var(--acc); color: #fff; border-radius: 12px; width: 100%; }
.btn-accent:hover { filter: brightness(0.92); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
@media (max-width: 999px) { .nav .links, .nav .nav-cta { display: none; } .brand img { height: 40px; } .brand span { font-size: 18px; letter-spacing: 2.5px; } }

/* Hero */
.hero { display: grid; }
.hero > * { grid-area: 1 / 1; }
.hero .bg { width: 100%; height: 100%; object-fit: cover; }
.t-prashast .hero .bg { object-position: center 25%; }
.t-uday .hero .bg { object-position: left center; }
.hero .wash { background: linear-gradient(90deg, rgba(251,248,242,0.92) 0%, rgba(251,248,242,0.85) 50%, rgba(251,248,242,0.58) 100%); }
@media (max-width: 999px) { .hero .wash { background: linear-gradient(180deg, rgba(251,248,242,0.6) 0%, rgba(251,248,242,0.9) 35%, var(--ivory) 70%); } }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 72px; align-items: start; padding-top: 64px; padding-bottom: 80px; }
@media (max-width: 999px) { .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 40px; } }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; }
.title .latin { font-family: 'Fraunces', Georgia, serif; font-size: clamp(54px, 8vw, 96px); line-height: 1; font-weight: 600; letter-spacing: -1.5px; }
.title .deva { font-family: var(--deva); font-size: clamp(36px, 5vw, 64px); line-height: 1; color: var(--acc); }
.hero h1 { font-size: clamp(28px, 3.4vw, 46px); max-width: 680px; }
.tagline { font-family: var(--head); font-style: italic; font-size: clamp(18px, 1.8vw, 22px); color: var(--acc); }
.lead { font-size: clamp(16px, 1.5vw, 20px); color: var(--muted-2); max-width: 640px; }
.benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 500; }
.benefits li { display: flex; gap: 12px; }
.benefits svg { flex-shrink: 0; margin-top: 3px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
@media (max-width: 999px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.fact .l { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; }
.fact .v { font-size: 17px; font-weight: 600; line-height: 1.3; }
.fact .v.free { color: var(--green); }
.fact .n { font-size: 13px; color: var(--muted); }

/* Ratna photo band */
.photo-band figure { margin: 0; }
.photo-band img { width: 100%; height: auto; max-height: 720px; object-fit: cover; object-position: center 30%; }
.photo-band figcaption { text-align: center; padding: 14px 16px 0; display: flex; flex-direction: column; gap: 2px; font-family: var(--deva); }
.photo-band .names { font-size: 18px; }
.photo-band .blessing { font-size: 16px; color: var(--acc); }

/* Form card */
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 24px 60px -30px rgba(32,48,74,0.35); }
@media (max-width: 599px) { .card { padding: 22px 18px; } }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.card-head h2 { font-size: 26px; font-weight: 600; }
.card-head > span { font-size: 14px; color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld label, .fld legend { font-size: 14px; font-weight: 600; padding: 0; }
.fld input, .fld select { min-height: 48px; border: 1px solid var(--field); border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; background: #fff; color: var(--navy); width: 100%; }
.fld input[aria-invalid="true"], .fld select[aria-invalid="true"] { border-color: #B42318; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } }
fieldset.fld { border: 0; margin: 0; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg label > span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--field); border-radius: 10px; font-weight: 500; cursor: pointer; text-align: center; padding: 4px; }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 2px; }
.radios { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.radios label, .check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; font-weight: 400; font-size: 15px; cursor: pointer; }
.radios label { align-items: center; }
.check { font-size: 14px; line-height: 1.5; color: var(--muted); min-height: 0; }
.check.strong { color: var(--navy); font-size: 15px; }
.radios input, .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.err { color: #B42318; font-size: 13px; min-height: 0; }
.err:empty { display: none; }
.note { font-size: 13px; color: var(--muted); text-align: center; }
.wa-link { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--navy); text-decoration: none; }
.otp-input { letter-spacing: 8px; font-size: 22px !important; text-align: center; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--acc); text-decoration: underline; cursor: pointer; font-size: 14px; }
.success { text-align: left; display: flex; flex-direction: column; gap: 14px; }
.success .tick { width: 56px; height: 56px; border-radius: 50%; background: #E8F3EC; display: flex; align-items: center; justify-content: center; }
[hidden] { display: none !important; }

/* Sections */
.section { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.section.tight-top { padding-top: 0; }
.on-dark { background: var(--navy); color: var(--ivory); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: end; }
.side { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 72px; align-items: start; }
@media (max-width: 999px) { .split, .side { grid-template-columns: 1fr; gap: 24px; } }
.stack { display: flex; flex-direction: column; gap: 18px; }
.h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; }
.body-muted { color: var(--muted-2); font-size: clamp(16px, 1.4vw, 19px); }
.on-dark .body-muted { color: var(--on-dark); }

.get-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 20px; margin-top: 48px; }
@media (max-width: 999px) { .get-grid { grid-template-columns: 1fr; margin-top: 28px; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.panel.dark { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.panel .kicker { font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--acc); }
.panel.dark .kicker { color: var(--acc-light); }
.panel h3 { font-size: 28px; }
.feature { display: flex; gap: 14px; }
.feature svg { flex-shrink: 0; margin-top: 3px; }
.feature strong { display: block; font-weight: 600; }
.feature span { color: var(--on-dark); }
.dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dots li { display: flex; gap: 12px; }
.dots li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); margin-top: 10px; flex-shrink: 0; }

.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--navy-line); margin-top: 48px; }
.steps4 > div { padding: 28px 28px 0; border-left: 1px solid var(--navy-line); display: flex; flex-direction: column; gap: 10px; }
.steps4 > div:first-child { border-left: 0; padding-left: 0; }
.steps4 .num { font-family: var(--head); color: var(--acc-light); }
.steps4 h3 { font-size: 28px; }
.steps4 p { color: var(--on-dark); font-size: 16px; }
@media (max-width: 999px) { .steps4 { grid-template-columns: 1fr; margin-top: 24px; } .steps4 > div { border-left: 0; border-bottom: 1px solid var(--navy-line); padding: 18px 0; } }

.sand { background: var(--sand); border-radius: 28px; padding: clamp(28px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
@media (max-width: 999px) { .sand { grid-template-columns: 1fr; gap: 24px; border-radius: 20px; } }
.sand .closing { font-family: var(--head); font-size: 24px; }
.diffs { list-style: none; margin: 0; padding: 0; }
.diffs li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid #DDD3C1; }
.diffs li:last-child { border-bottom: 0; }
.diffs strong { display: block; font-size: 19px; font-weight: 600; }
.diffs span { color: var(--muted-2); }

.inspiration { text-align: center; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }

.table { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 6px 28px; }
.table .tr { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid #EFEAE0; }
.table .tr:last-child { border-bottom: 0; }
.table .th { color: var(--muted); }
@media (max-width: 599px) { .table { padding: 4px 16px; } .table .tr { grid-template-columns: 1fr; gap: 2px; } .table .th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; } }

.flow { display: flex; flex-wrap: wrap; gap: 10px; font-weight: 500; }
.flow span:nth-child(even) { color: var(--acc-light); }
.sch { background: var(--navy-2); border-radius: 20px; padding: 8px 28px 24px; }
.sch .tr { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--navy-line); align-items: center; }
.sch .tr.head { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--on-dark); }
.sch .tr .who { color: var(--on-dark); }
.sch .tr .pct { color: var(--acc-light); font-weight: 600; }
.sch .note { color: var(--on-dark); font-size: 14px; margin-top: 14px; }
@media (max-width: 599px) { .sch { padding: 4px 16px 18px; } .sch .tr { grid-template-columns: 1fr auto; } .sch .tr .who { grid-column: 1 / -1; order: 3; font-size: 14px; margin-top: -8px; } .sch .tr.head .who { display: none; } }

.progs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
@media (max-width: 999px) { .progs { grid-template-columns: 1fr; margin-top: 24px; } }
.prog { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.prog .cls { font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--acc); }
.prog h3 { font-size: 28px; }
.prog p { color: var(--muted-2); font-size: 16px; }

details { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
details summary::-webkit-details-marker { display: none; }
details summary svg { transition: transform .2s; flex-shrink: 0; }
details[open] summary svg { transform: rotate(45deg); }
details p { padding: 0 0 20px; color: var(--muted-2); max-width: 760px; }
.faq-list { border-top: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark); padding-top: 80px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; }
@media (max-width: 999px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h2 { color: var(--ivory); font-size: clamp(30px, 3.4vw, 50px); }
.site-footer .btn-light, .site-footer .btn-light:hover { background: var(--ivory); color: var(--navy); }
.site-footer .btn-outline { border-color: #6B7094; color: var(--ivory); }
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 599px) { .contacts { grid-template-columns: 1fr; } }
.contacts .k { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--acc-light); }
.contacts a { color: var(--ivory); text-decoration: none; }
.foot-bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--on-dark-2); }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { height: 48px; width: auto; }
.foot-brand .n { font-family: 'Cinzel', Georgia, serif; font-size: 20px; font-weight: 600; letter-spacing: 3px; color: var(--ivory); }
.foot-brand .t { font-family: 'Fraunces', Georgia, serif; font-style: italic; color: var(--gold); }
.site-footer a.plain { color: var(--on-dark-2); }

/* Sticky mobile CTA */
.sticky-cta { display: none; }
@media (max-width: 999px) {
  .sticky-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(32,48,74,0.2); }
  .sticky-cta .btn { flex: 1; border-radius: 12px; min-height: 50px; }
  .sticky-cta .wa { flex: 0 0 52px; padding: 0; border-color: var(--green); color: var(--green); background: #fff; }
  body { padding-bottom: 76px; }
}

/* Privacy page */
.doc { max-width: 820px; margin: 0 auto; padding-top: 48px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--muted-2); }
.doc ul, .doc ol { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 10px 8px; }
.doc th { color: var(--navy); }
.doc .todo { background: #FFF4D6; padding: 0 4px; border-radius: 4px; }
[id] { scroll-margin-top: 88px; }
