/* Ambition India School — /admission */

/* anchors clear the fixed header + sticky subnav */
.page-hero ~ section[id], .adm-block { scroll-margin-top: calc(var(--header-h) + 64px); }
.ps[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

/* ---------- hero status */
.adm-status { margin: 0 0 1.4rem; }
.adm-status-closed { display: inline-block; padding-left: 1em; border-left: 1px solid var(--gold); color: #C9D2E3; font-size: .95rem; }
.adm-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }

/* ---------- subnav */
.adm-subnav .container { max-width: var(--max); }
.adm-subnav li { flex: none; }
.adm-subnav .chip { min-height: 40px; padding: .6em 1.1em; border-radius: 2px; border-color: var(--line); }
.adm-subnav .chip.is-active { background: transparent; color: var(--navy); border-color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }

/* ---------- classes */
.adm-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(24px, 3vw, 44px); }
.adm-stage { border-top: 1px solid var(--gold); padding-top: 16px; }
.adm-stage .tag { margin-bottom: 12px; }
.adm-classes { list-style: none; margin: 0; padding: 0; }
.adm-classes li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.adm-class-name { font: 600 1.12rem/1.3 var(--serif); color: var(--navy); }
.adm-mark { font: 700 .68rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); white-space: nowrap; display: inline-flex; align-items: center; gap: .55em; }
.adm-mark::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.adm-classes .is-closed .adm-mark { color: var(--mute); }
.adm-classes .is-closed .adm-mark::before { background: var(--line-2); }
.adm-classes .is-closed .adm-class-name { color: var(--slate); }

/* ---------- fees */
.adm-fees { background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); overflow-x: auto; }
.adm-fee-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.adm-fee-table th, .adm-fee-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.adm-fee-table thead th { font: 700 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); background: var(--ivory); white-space: nowrap; }
.adm-fee-table tbody th { font: 600 1.1rem/1.3 var(--serif); color: var(--navy); white-space: nowrap; }
.adm-fee-table tbody tr:last-child th, .adm-fee-table tbody tr:last-child td { border-bottom: 0; }
.adm-fee-table tbody tr:hover { background: var(--gold-wash); }
.adm-fee-table td small { display: block; color: var(--slate); font-size: .8rem; margin-top: 2px; }
.adm-fee-table .is-empty { color: var(--mute); }
.adm-amt { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--navy); }
.adm-fee-note { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; color: var(--slate); font-size: .92rem; max-width: 70ch; }
.adm-fee-note .icon { width: 18px; height: 18px; color: var(--gold-2); flex: none; margin-top: 3px; }
@media (max-width: 760px) {
  .adm-fees { border: 0; background: transparent; overflow: visible; }
  .adm-fee-table, .adm-fee-table tbody, .adm-fee-table tr, .adm-fee-table th, .adm-fee-table td { display: block; width: 100%; }
  .adm-fee-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .adm-fee-table tbody tr { background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); margin-bottom: 14px; padding: 6px 0 8px; }
  .adm-fee-table tbody tr:hover { background: var(--paper); }
  .adm-fee-table tbody th { border: 0; padding: 12px 18px 8px; font-size: 1.25rem; }
  .adm-fee-table td { display: flex; justify-content: space-between; gap: 16px; padding: 9px 18px; border: 0; border-top: 1px solid var(--line); text-align: right; }
  .adm-fee-table td::before { content: attr(data-label); font: 700 .7rem/1.6 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); text-align: left; flex: none; }
  .adm-fee-table td.is-empty { display: none; }
  .adm-fee-table td small { margin-top: 0; }
}

.adm-onrequest { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.adm-arch { width: 112px; height: 140px; border: 1px solid var(--gold); border-radius: 999px 999px 0 0; display: grid; place-items: center; color: var(--gold-2); }
.adm-arch .icon { width: 36px; height: 36px; }
@media (max-width: 640px) { .adm-onrequest { grid-template-columns: 1fr; } .adm-arch { width: 72px; height: 90px; } }
.adm-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.4rem; }

/* ---------- dates */
.adm-dates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gold); }
.adm-dates li { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 8px 28px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.adm-date-when { font: 600 1.25rem/1.3 var(--serif); color: var(--navy); }
.adm-date-what { color: var(--slate); }
@media (max-width: 560px) { .adm-dates li { grid-template-columns: 1fr; padding: 16px 0; } }

/* ---------- downloads */
.adm-downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--gold); }
.adm-downloads li { border-bottom: 1px solid var(--line); }
.adm-downloads a { display: flex; align-items: center; gap: 16px; padding: 18px 4px; min-height: 64px; text-decoration: none; color: var(--navy); font-weight: 700; transition: padding .3s var(--ease), color .2s; }
.adm-downloads a:hover { padding-left: 14px; color: var(--gold-2); }
.adm-downloads .icon { width: 26px; height: 26px; color: var(--gold-2); flex: none; }
.adm-downloads a span { flex: 1; }
.adm-downloads small { font: 600 .78rem/1 var(--sans); color: var(--slate); letter-spacing: .06em; }
.adm-downloads-inline { margin-top: 28px; max-width: 640px; }

/* ---------- enquiry */
.adm-enquire { position: relative; overflow: hidden; }
.adm-enquire::before { content: ""; position: absolute; right: -120px; bottom: -40px; width: 520px; height: 640px; border: 1px solid rgba(201,164,76,.22); border-radius: 999px 999px 0 0; pointer-events: none; }
.adm-enquire-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; position: relative; }
.adm-enquire .h2 { color: #fff; }
.adm-enquire .lead { color: #B8C2D6; }
.adm-promise { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 10px; }
.adm-promise li { display: flex; gap: 12px; align-items: flex-start; color: #D5DCE9; }
.adm-promise .icon { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 5px; }
.adm-form-card { background: var(--paper); color: var(--ink); padding: clamp(22px, 3.4vw, 42px); border-top: 2px solid var(--gold); position: relative; box-shadow: var(--shadow-lg); }
.adm-form .field label, .adm-form .label { color: var(--navy); }
.adm-form input, .adm-form select, .adm-form textarea { min-height: 56px; font-size: 1rem; }
.adm-form textarea { min-height: 120px; }
.adm-form .form-note a { color: var(--navy); }
.adm-form .btn-block { min-height: 58px; font-size: 1.02rem; }
.adm-form input.is-synced { background: var(--ivory); color: var(--slate); }
.adm-check { display: flex !important; align-items: center; gap: 10px; margin: 10px 0 0 !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; font-size: .92rem !important; min-height: 44px; cursor: pointer; }
.adm-check input { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--navy); appearance: auto; -webkit-appearance: checkbox; flex: none; }
.adm-alert { padding: 14px 18px; border: 1px solid #F5C2BC; background: #FDF0EE; border-radius: var(--r); font-size: .95rem; }
.adm-alert ul { margin: 8px 0 0; padding-left: 1.2em; }
.adm-alert a { color: var(--err); font-weight: 600; }
.adm-alert:focus { outline: 2px solid var(--err); outline-offset: 2px; }
.adm-form .btn.is-loading { opacity: .7; pointer-events: none; }
.adm-closed-panel { padding: 12px 0; }
.adm-form .field.has-error input, .adm-form .field.has-error select, .adm-form .field.has-error textarea { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
@media (max-width: 900px) {
  .adm-enquire-grid { grid-template-columns: 1fr; }
  .adm-enquire::before { display: none; }
}
@media (max-width: 640px) {
  .adm-form-card { margin-inline: calc(var(--gutter) * -0.5); padding: 24px 18px 28px; }
  .adm-form input, .adm-form select { font-size: 16px; } /* no iOS zoom */
}

/* ---------- thank you */
.adm-ref { text-align: center; padding: clamp(28px, 5vw, 56px) 20px; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); margin-bottom: clamp(36px, 5vw, 64px); }
.adm-ref-no { font: 600 clamp(2rem, 1.2rem + 4.2vw, 3.8rem)/1.1 var(--serif); color: var(--navy); letter-spacing: .02em; margin: .3em 0 .6em; word-break: break-word; }
.adm-next-title { margin-bottom: 1.6rem; }
.adm-next { margin-bottom: 2.4rem; }
.adm-thanks .adm-actions { margin-top: 0; }
