.page-hero { min-height: 540px; position: relative; display: flex; align-items: end; overflow: hidden; color: white; }
.page-hero > img, .page-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero > img { object-fit: cover; object-position: center 54%; }
.page-hero-shade { background: linear-gradient(90deg, rgba(5,15,90,.96), rgba(5,15,90,.64) 58%, rgba(5,15,90,.12)); }
.page-hero-content { position: relative; z-index: 1; padding-block: 120px 82px; }
.page-hero h1 { max-width: 900px; margin: 22px 0 18px; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; }
.page-hero h1 em { color: var(--cyan); font-family: Georgia, serif; font-weight: 400; }
.page-hero-content > p:last-child { max-width: 610px; margin: 0; color: #e1e8ff; font-size: 18px; line-height: 1.7; }
.admission-hero > img { object-position: center 38%; }

.form-section { padding: 100px 0 120px; background: linear-gradient(180deg, #f2f5ff, #fff 52%); }
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.contact-panel { position: sticky; top: 142px; padding: 8px 0; }
.contact-panel h2 { margin: 20px 0 18px; font-size: clamp(38px, 4vw, 54px); line-height: 1.05; letter-spacing: -.05em; }
.contact-panel > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.contact-list { margin: 40px 0 28px; border-top: 1px solid #ccd4ea; }
.contact-list div { display: grid; grid-template-columns: 105px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid #ccd4ea; }
.contact-list dt { color: var(--blue); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.contact-list dd { margin: 0; color: #343b52; font-size: 14px; line-height: 1.65; }
.contact-list a { font-weight: 800; }
.whatsapp-link { display: inline-flex; align-items: center; gap: 18px; color: var(--blue); font-size: 14px; font-weight: 900; }

.form-card { padding: 44px; background: white; border: 1px solid #dfe4f3; box-shadow: 0 28px 80px rgba(10,28,111,.11); }
.form-card-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; padding-bottom: 22px; border-bottom: 1px solid #e2e6f1; }
.form-card-head span { color: var(--blue); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.form-card-head strong { color: var(--muted); font-size: 12px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 9px; color: #242b45; font-size: 12px; font-weight: 900; }
.field label span { color: #d12b52; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cdd4e6; border-radius: 0; background: #fbfcff; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input, .field select { min-height: 52px; padding: 0 15px; }
.field textarea { min-height: 128px; padding: 15px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); background: white; box-shadow: 0 0 0 4px rgba(16,41,199,.09); }
.field-help { margin: -12px 0 22px; color: var(--muted); font-size: 11px; }
.privacy-note { margin: 3px 0 24px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.consent-field { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 3px 0 24px; color: var(--muted); font-size: 11px; line-height: 1.6; cursor: pointer; }
.consent-field input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.consent-field b { color: #d12b52; }
.form-submit { width: 100%; border: 0; cursor: pointer; }
.form-submit[disabled] { opacity: .68; cursor: wait; transform: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error-box, .form-alert { margin-bottom: 28px; padding: 18px 20px; border-left: 4px solid #d12b52; background: #fff1f4; color: #7d1930; font-size: 13px; line-height: 1.6; }
.error-box strong, .form-alert strong { display: block; margin-bottom: 6px; }
.error-box ul, .form-alert ul { margin: 0; padding-left: 18px; }
fieldset { min-width: 0; margin: 0 0 28px; padding: 28px 0 0; border: 0; border-top: 1px solid #e2e6f1; }
fieldset legend { padding-right: 20px; color: var(--deep); font-size: 15px; font-weight: 900; }
.steps-list { margin: 36px 0; padding: 0; list-style: none; border-top: 1px solid #ccd4ea; }
.steps-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid #ccd4ea; }
.steps-list li > span { color: var(--blue); font: 700 23px Georgia, serif; }
.steps-list strong { font-size: 14px; }
.steps-list p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.class-size-note { display: inline-flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--yellow); color: var(--ink); }
.class-size-note strong { font-size: 40px; letter-spacing: -.06em; }
.class-size-note span { font-size: 12px; font-weight: 900; line-height: 1.35; text-transform: uppercase; }

@media (max-width: 920px) {
  .form-layout { grid-template-columns: 1fr; gap: 52px; }
  .contact-panel { position: static; }
  .contact-panel h2 { max-width: 680px; }
  .contact-list { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-list div:nth-child(odd) { padding-right: 24px; }
  .contact-list div:nth-child(even) { padding-left: 24px; border-left: 1px solid #ccd4ea; }
}

@media (max-width: 640px) {
  .page-hero { min-height: 510px; }
  .page-hero > img { object-position: 62% center; }
  .admission-hero > img { object-position: 56% center; }
  .page-hero-shade { background: linear-gradient(90deg, rgba(5,15,90,.94), rgba(5,15,90,.58)); }
  .page-hero-content { padding-block: 95px 60px; }
  .page-hero h1 { font-size: 44px; }
  .page-hero-content > p:last-child { font-size: 15px; }
  .form-section { padding: 70px 0 86px; }
  .form-layout { gap: 40px; }
  .contact-list { display: block; }
  .contact-list div { padding-inline: 0 !important; border-left: 0 !important; }
  .form-card { width: calc(100% + 30px); margin-left: -15px; padding: 30px 22px; box-shadow: none; }
  .form-card-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
}
