/* ==========================================================================
   ADMISSION  (Figma: Admission page — Desktop 1440)
   ========================================================================== */

.section--tight-top { padding-top: clamp(64px, 8.34vw, 120px); padding-bottom: clamp(64px, 8.34vw, 120px); }
.section-head__title--full { flex: 1 1 auto; width: auto; }
.req { color: var(--terracotta); }

/* Hero */
.adm-hero { min-height: 100svh; }
.adm-hero .hero__content { max-width: 900px; }

/* Why choose */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 16px; }
.why-card {
    border-radius: 28px; padding: 26px; min-height: 233px; display: flex; flex-direction: column;
    justify-content: space-between; gap: 24px; overflow: hidden;
}
.why-card__n { font-size: 15px; font-weight: 500; line-height: 1.3; }
.why-card__body { display: flex; flex-direction: column; gap: 10px; }
.why-card .body-s { color: rgba(18, 19, 16, .75); }
.why-card--ochre { background: var(--ochre); }
.why-card--paper { background: var(--paper); border: 1px solid var(--line); }
.why-card--sage { background: var(--sage-soft); }
.why-card--terra { background: var(--terracotta-soft); }
.why-card--ink { background: var(--ink); color: var(--cream); }
.why-card--ink .why-card__n { color: var(--ochre); }
.why-card--ink .body-s { color: rgba(245, 241, 232, .75); }

/* Computerized learning */
.adm-learning__row { display: flex; align-items: center; justify-content: space-between; gap: 72px; }
.adm-learning__text { max-width: 668px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.adm-learning__tag { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.3; letter-spacing: -0.3px; }
.adm-learning__img { width: 460px; height: 420px; flex: none; object-fit: cover; border-radius: 40px; }

/* Departments */
.dept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.dept-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.dept-card__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dept-card__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.3; letter-spacing: -0.3px; }
.dept-card__count {
    min-width: 61px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--ochre-soft);
    display: inline-grid; place-items: center; font-size: 14px; font-weight: 600;
}
.dept-card__list { display: flex; flex-direction: column; gap: 16px; }
.dept-card__list li {
    display: flex; align-items: flex-start; gap: 12px; padding: 11px 14px; border-radius: 16px; background: var(--cream);
    font-size: 15px; font-weight: 500; line-height: 1.3;
}
.dept-card__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); flex: none; margin-top: 5px; }
.dept-card--pg { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.dept-card--pg .dept-card__count { background: var(--ochre); color: var(--ink); }
.dept-card--pg .dept-card__list li { background: rgba(245, 241, 232, .08); }
.dept-card--ochre { background: var(--ochre); border-color: var(--ochre); }
.dept-card--ochre .dept-card__count { background: var(--ink); color: var(--cream); }
.dept-card--ochre .dept-card__list li { background: rgba(255, 255, 255, .45); }
.dept-card--ochre .dept-card__dot { background: var(--ink); }

/* Programme groups (from ADMISSION.docx) */
.prog-group + .prog-group { margin-top: 48px; }
.prog-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.prog-group__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.23vw, 32px); line-height: 1.18; letter-spacing: -0.025em; }
.prog-group__meta { font-size: 14px; font-weight: 500; color: var(--muted); }
.adm-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ochre); }

/* Admission assistance contact */
.adm-help { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.adm-help .overline { color: var(--terracotta); }
.adm-help__item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: var(--cream); transition: transform .3s var(--ease); }
.adm-help__item:hover { transform: translateX(4px); }
.adm-help__ico { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--ochre); display: grid; place-items: center; flex: none; }
.adm-help__ico .icon { width: 18px; height: 18px; }
.adm-help__item small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.adm-help__item strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.4; }

/* Enquiry form */
.adm-form-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.phone-input { display: flex; }
.phone-input__cc {
    display: grid; place-items: center; padding: 0 16px; height: 52px; flex: none; border: 1px solid var(--line); border-right: 0;
    border-radius: 16px 0 0 16px; background: var(--cream-2); font-size: 16px; font-weight: 600;
}
.phone-input input { border-radius: 0 16px 16px 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ochre); cursor: pointer; }
.consent.has-error, .was-validated .consent:has(input:invalid) { color: var(--terracotta); }

/* Bus route */
.adm-bus-shell { padding: clamp(48px, 6.67vw, 96px) var(--gutter); }
.bus-card { background: var(--sage-soft); border-radius: 32px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.bus-card__head { display: flex; align-items: center; gap: 12px; }
.bus-card__disc { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--ochre); display: grid; place-items: center; flex: none; }
.bus-card__disc .icon { width: 18px; height: 18px; }
.bus-card__media { border-radius: 22px; overflow: hidden; max-height: 340px; }
.bus-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bus-card__routes .chip { padding-top: 8px; padding-bottom: 8px; }

/* Certifications */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-card { border-radius: 28px; padding: 28px; min-height: 205px; display: flex; flex-direction: column; gap: 12px; }
.cert-card__disc { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; background: var(--ink); color: var(--ochre); }
.cert-card__disc .icon { width: 18px; height: 18px; }
.cert-card__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.3; letter-spacing: -0.3px; }
.cert-card--ochre { background: var(--ochre); }
.cert-card--ochre .body-s { color: rgba(18, 19, 16, .75); }
.cert-card--ink { background: var(--ink); color: var(--cream); }
.cert-card--ink .cert-card__disc { background: var(--ochre); color: var(--ink); }
.cert-card--ink .body-s { color: rgba(245, 241, 232, .75); }
.cert-card--sage { background: var(--sage-soft); }
.cert-card--sage .body-s { color: var(--muted); }
.accred { margin-top: 48px; background: var(--cream); border-radius: 32px; padding: 24px; }
.accred img { width: 100%; height: 400px; object-fit: contain; border-radius: 16px; }

/* MBA */
.mba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.mba-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.mba-card--ink { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* Admission form */
#admission-form { scroll-margin-top: 40px; }
.adm-form-row { display: flex; gap: 64px; align-items: flex-start; }
.adm-intro { width: 400px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; position: sticky; top: 100px; }
.adm-intro__img { width: 100%; height: 456px; object-fit: cover; border-radius: 28px; }
.adm-form-card { flex: 1; min-width: 0; background: var(--cream); border-radius: 36px; padding: 44px; display: flex; flex-direction: column; gap: 20px; }
.adm-form { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.adm-form fieldset { border: 0; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 20px; }
.adm-form legend { padding: 0; margin-bottom: 20px; color: var(--muted); }
.form-row { display: flex; gap: 16px; width: 100%; }
.form-row > .field { flex: 1; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.field__label { font-size: 15px; font-weight: 500; line-height: 1.3; }
.field input, .field select {
    width: 100%; height: 52px; font: inherit; font-size: 16px; color: var(--ink);
    background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 0 18px;
    transition: border-color .2s, box-shadow .2s;
}
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
    content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
    border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--ochre); box-shadow: 0 0 0 4px rgba(203, 157, 6, .18); }
.field.has-error input, .field.has-error select,
.was-validated .field input:invalid, .was-validated .field select:invalid { border-color: var(--terracotta); }
.field__error { font-size: 13px; color: var(--terracotta); }

.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill {
    display: inline-flex; align-items: center; gap: 10px; height: 47px; padding: 0 20px 0 16px; border-radius: 999px;
    background: var(--paper); border: 1px solid var(--line); font-size: 15px; font-weight: 500; cursor: pointer;
    transition: border-color .2s, background-color .2s;
}
.radio-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-pill__disc { width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid var(--line); background: var(--paper); transition: border .2s; }
.radio-pill:has(input:checked) { border-color: var(--ink); }
.radio-pill input:checked + .radio-pill__disc { border: 5px solid var(--ochre); }
.radio-pill input:focus-visible + .radio-pill__disc { outline: 2px solid var(--ochre); outline-offset: 3px; }
.was-validated .radio-row:has(input:invalid) .radio-pill { border-color: var(--terracotta); }

.adm-form button.btn { border: 0; cursor: pointer; font-family: inherit; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: flex; gap: 10px; align-items: flex-start; border-radius: 16px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.form-alert .icon { width: 20px; height: 20px; flex: none; }
.form-alert--ok { background: var(--sage-soft); }
.form-alert--err { background: var(--terracotta-soft); }

/* Responsive */
@media (max-width: 1200px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
    .adm-learning__row { flex-direction: column; align-items: flex-start; gap: 40px; }
    .adm-learning__img { width: 100%; height: 420px; }
    .adm-form-row { flex-direction: column; gap: 40px; }
    .adm-intro { width: 100%; position: static; }
    .adm-intro__img { height: 360px; }
    .adm-form-card { width: 100%; }
}
@media (max-width: 900px) {
    .dept-grid, .mba-grid, .cert-grid { grid-template-columns: 1fr; }
    .accred img { height: auto; }
}
@media (max-width: 640px) {
    .adm-hero { min-height: 760px; }
    .why-grid { grid-template-columns: 1fr; }
    .why-card { min-height: 0; }
    .adm-learning__img { height: 300px; border-radius: 28px; }
    .bus-card, .dept-card, .cert-card, .mba-card { padding: 22px; border-radius: 24px; }
    .page-admission main .chip { white-space: normal; }
    .adm-form-card { padding: 28px 20px; border-radius: 28px; }
    .form-row { flex-direction: column; gap: 20px; }
}
