/* One application form for all entry points. */
.contact-choice{border:0;padding:0;margin:0 0 20px;min-width:0}
.contact-choice legend{font-size:14px;font-weight:600;color:#604e5b;margin-bottom:12px;padding:0}
.contact-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#apply .contact-methods label{position:relative;margin:0;cursor:pointer}
.contact-methods input[type=radio]{position:absolute!important;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
.contact-methods span{display:flex;justify-content:center;align-items:center;gap:9px;min-height:50px;border:1px solid #dfcad5;border-radius:14px;background:#fffaf7;color:#765567;font-weight:600;font-size:14px;transition:background .15s,border-color .15s,box-shadow .15s}
.contact-methods input:checked+span{background:#f8e4ef;border-color:#bf5684;color:#a03665;box-shadow:inset 0 0 0 1px #bf5684}
.contact-methods input:focus-visible+span{outline:3px solid #bd5a80;outline-offset:3px}
.contact-fields[hidden],#contact-availability[hidden]{display:none!important}
.contact-fields{padding:16px 16px 4px;background:#fcf5f8;border:1px solid #efdde5;border-radius:16px;margin-bottom:20px}
#apply .contact-hint{font-size:11px!important;line-height:1.7!important;color:#8e7685!important;margin:0 0 14px!important}
#apply #contact-availability:not([hidden]){padding:12px;background:#faf0e8;border-radius:10px;color:#785947!important}
#apply .child-options{padding:0;margin:0 0 18px;border-top:1px solid #eadce3;border-bottom:1px solid #eadce3}
#apply .child-options summary{font-size:12px;min-height:44px;align-items:center;gap:8px;color:#735667}
#apply .child-options summary>span{font-size:10px;color:#a28a98;margin-left:auto}
#apply .child-options .form-two{padding-top:12px;margin-bottom:4px}
#apply .apply-form{overflow-wrap:anywhere}
@media(max-width:600px){
 body{padding-bottom:calc(58px + env(safe-area-inset-bottom))}
 .hero-shell{height:calc(100svh - 58px - env(safe-area-inset-bottom))}
 .mobile-dock{min-height:58px;padding:6px 14px calc(6px + env(safe-area-inset-bottom));gap:8px;grid-template-columns:1fr 1fr 1.4fr}
 .mobile-dock>a,.mobile-dock>button{min-height:44px;gap:3px;border-radius:12px;font-size:9px}
 .mobile-dock .dock-trial{font-size:11px;gap:6px}
 .mobile-dock svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
 .mobile-dock .dock-trial svg{width:17px;height:17px}
 .mobile-question{background:none}
 .mobile-dock .mobile-question{color:#a34d76}
 #apply .apply-intro h2{font-size:28px;letter-spacing:-.7px}
 #apply .apply-form{padding-top:14px}
 #apply .apply-subtitle{margin-bottom:16px;font-size:12px}
 #apply .contact-choice legend{font-size:13px;margin-bottom:10px}
 #apply .contact-choice{margin-bottom:16px}
 .contact-methods span{min-height:44px;font-size:13px;border-radius:12px}
 .contact-fields{padding:14px 12px 0;margin-bottom:16px;border-radius:14px}
 #apply .contact-fields label{margin-bottom:13px}
 #apply .child-options .form-two{grid-template-columns:1fr}
 #apply .child-options summary{font-size:12px}
 #apply .contact-hint{font-size:11px!important}
 #apply input:not([type=radio]):not([type=checkbox]),#apply select{min-height:44px}
 #chatWidgetContainer .prefix_chat-widget{bottom:calc(70px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 94px - env(safe-area-inset-bottom))!important}
 .consult-status{bottom:calc(74px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.contact-methods span{transition:none}}
@media(max-width:600px){.mobile-dock .dock-trial>span{font-size:11px}}
#apply .contact-retry{border:1px solid #d9b5c8;background:#fff7fa;color:#9c416b;border-radius:12px;padding:10px 16px;font-size:12px;margin:0 0 12px}
#apply .contact-retry[hidden]{display:none}
@media(min-width:601px){.floating-apply{right:max(24px,env(safe-area-inset-right));bottom:108px;z-index:39}}
@media(max-width:600px){html[lang=uz] #apply .apply-intro h2{font-size:24px;line-height:1.15}#apply{scrollbar-width:none}#apply::-webkit-scrollbar{display:none}}

/* Child information is primary and remains visible for every contact method. */
#apply .child-primary{border:0;border-bottom:1px solid #eadce3;padding:0 0 18px;margin:0 0 20px;min-width:0}
#apply .child-primary legend{font-size:14px;font-weight:600;color:#604e5b;margin-bottom:12px;padding:0}
#apply .child-primary .form-two{margin:0;gap:12px}
#apply .child-primary label{margin-bottom:0}
@media(max-width:600px){#apply .child-primary{padding-bottom:16px;margin-bottom:16px}#apply .child-primary legend{font-size:13px;margin-bottom:10px}#apply .child-primary .form-two{grid-template-columns:1fr;gap:12px}#apply .child-primary select{width:100%;font-size:16px!important}}

/* Compact application: keep the complete form and submit action in view. */
#apply{max-width:940px;max-height:calc(100dvh - 24px)}
#apply .apply-grid{grid-template-columns:.8fr 1.2fr}
#apply .apply-intro{padding:30px 26px}
#apply .apply-intro h2{font-size:38px;line-height:1.08;margin:18px 0}
#apply .apply-intro>p{font-size:13px;line-height:1.6}
#apply .apply-scene{max-height:160px;width:100%;object-fit:cover;border-radius:14px}
#apply .apply-form{padding:28px 26px 22px}
#apply .apply-form>h3{font-size:23px;margin:0 40px 12px 0}
#apply .apply-subtitle{display:none}
#apply .child-primary{margin:0 0 12px;padding:0 0 12px}
#apply .child-primary legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#apply .child-primary .form-two{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:10px}
#apply #native-lead-form label{font-size:12px;margin-bottom:10px}
#apply #native-lead-form input:not([type=radio]):not([type=checkbox]),#apply #native-lead-form select{min-width:0;min-height:44px;margin-top:5px;padding:10px;font-size:14px}
#apply .child-primary label{margin-bottom:0!important}
#apply .contact-choice{margin-bottom:12px}
#apply .contact-choice legend{font-size:12px;margin-bottom:7px}
#apply .contact-methods span{min-height:44px}
#apply .contact-fields{padding:10px 12px 0;margin-bottom:12px}
#apply #phone-contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:10px}
#apply #phone-contact .contact-hint{grid-column:1/-1}
#apply .contact-hint{font-size:10px!important;line-height:1.4!important;margin:0 0 8px!important}
#apply .consent-row{font-size:10px!important;line-height:1.4;gap:8px}
#apply .consent-row input{width:16px;height:16px;min-height:16px;margin:0;flex-shrink:0}
#apply .native-submit{min-height:46px;padding:12px 18px;font-size:14px}
#apply #native-form-status:empty{display:none}
#apply #native-form-status{font-size:11px;line-height:1.4;margin:8px 0}
#apply .form-note{font-size:10px!important;line-height:1.4!important;margin:8px 0 0!important}
@media(max-width:700px){
 #apply .apply-grid{display:block}
 #apply .apply-intro{padding:20px 22px 0;background:#fffaf6}
 #apply .apply-intro>img,#apply .apply-intro>.eyebrow,#apply .apply-intro>p{display:none!important}
 #apply .apply-intro h2{font-size:26px!important;line-height:1.1;margin:0;padding-right:38px;letter-spacing:-.7px}
 #apply .apply-intro h2 br{display:none}
 #apply .apply-form{padding:16px 22px 20px}
 #apply .apply-form>h3{display:none}
 #apply .apply-close{position:absolute;float:none;right:12px;top:14px;margin:0;width:36px;height:36px;font-size:23px}
 #apply #native-lead-form input:not([type=radio]):not([type=checkbox]),#apply #native-lead-form select{font-size:16px!important}
 #apply .child-primary{margin-bottom:10px;padding-bottom:10px}
 #apply .contact-choice{margin-bottom:10px}
 #apply .contact-fields{padding:10px 10px 0;margin-bottom:10px}
 #apply .contact-hint{font-size:10px!important}
 #apply .form-note{display:none}
}
@media(max-width:600px){
 #apply{inset:auto 0 0;width:100%;max-height:calc(100dvh - 12px);border-radius:22px 22px 0 0}
 #apply:before{margin:8px auto 0;height:3px}
 #apply .apply-intro{padding-top:12px}
 #apply .apply-form{padding-bottom:calc(16px + env(safe-area-inset-bottom))}
 html[lang=uz] #apply .apply-intro h2{font-size:23px!important}
}
@media(max-width:700px) and (max-height:650px){
 #apply .apply-intro{padding:10px 16px 0}
 #apply .apply-intro h2{font-size:23px!important}
 #apply .apply-form{padding:12px 16px}
 #apply #native-lead-form label{margin-bottom:8px}
 #apply .child-primary{padding-bottom:8px;margin-bottom:8px}
 #apply .contact-choice{margin-bottom:8px}
 #apply .contact-fields{margin-bottom:8px}
 #apply #phone-contact .contact-hint{display:none}
}
@media(max-width:700px){
 #apply .child-primary .form-two{grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr)}
 #apply #phone-contact{grid-template-columns:minmax(0,1fr)}
 #apply #phone-contact .contact-hint{display:none}
 #apply .apply-intro h2{font-size:25px!important}
}
@media(max-width:700px) and (max-height:650px){
 #apply .apply-intro h2,html[lang=uz] #apply .apply-intro h2{font-size:21px!important}
 #apply #native-lead-form input:not([type=radio]):not([type=checkbox]),#apply #native-lead-form select{min-height:40px;padding:8px;margin-top:3px}
 #apply .contact-methods span{min-height:42px}
 #apply .contact-fields{padding-top:8px}
 #apply .contact-choice legend{margin-bottom:5px}
 #apply #native-lead-form label{margin-bottom:7px}
}
@media(max-width:700px){#apply .child-primary .form-two{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}}
/* An inviting final step, with a generated artistic image. */
#apply .apply-intro{isolation:isolate;background:#faf0e9}
#apply .apply-intro>.apply-child-mobile{display:none}
#apply .apply-intro>.apply-scene{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center bottom;border-radius:0;z-index:-2;opacity:1}
#apply .apply-intro:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#fff8ef 0%,#fff8eff5 27%,#fff8efb5 45%,#fff8ef00 67%);pointer-events:none}
#apply .apply-intro>img:first-child{width:65px;height:65px;object-fit:contain}
#apply .apply-intro>.eyebrow{margin-top:12px;font-size:9px}
#apply .apply-intro h2{font-size:33px;margin:14px 0 12px}
#apply .apply-intro>p{font-size:12px;line-height:1.6;max-width:265px}
@media(max-width:700px){
 #apply .apply-intro{min-height:88px;padding:14px 52px 10px 92px;background:#fffaf6}
 #apply .apply-intro:after{display:none}
 #apply .apply-intro>.apply-child-mobile{display:block!important;position:absolute;left:20px;top:12px;width:60px;height:72px;object-fit:cover;object-position:center 62%;border-radius:16px}
 #apply .apply-intro h2,html[lang=uz] #apply .apply-intro h2{font-size:23px!important;line-height:1.07;padding:0;margin:0;letter-spacing:-.5px}
 #apply .apply-form{padding-top:8px}
}
@media(max-width:700px) and (max-height:650px){
 #apply .apply-intro{min-height:72px;padding:10px 42px 6px 78px}
 #apply .apply-intro>.apply-child-mobile{left:16px;top:8px;width:50px;height:60px;border-radius:13px}
 #apply .apply-intro h2,html[lang=uz] #apply .apply-intro h2{font-size:20px!important;line-height:1.05}
 #apply .apply-form{padding:6px 16px 10px}
 #apply .child-primary{padding-bottom:6px;margin-bottom:6px}
 #apply #native-lead-form label{margin-bottom:5px}
 #apply .contact-choice{margin-bottom:6px}
 #apply .contact-fields{margin-bottom:6px;padding-top:6px}
}
@media(min-width:701px){
 #apply .apply-intro>.apply-scene{inset:auto 0 0;height:66%;object-fit:contain;object-position:center bottom}
 #apply .apply-intro:after{background:linear-gradient(180deg,#fff8ef 0%,#fff8ef 25%,#fff8efc0 43%,#fff8ef00 62%)}
}
@media(max-width:700px) and (max-height:650px){#apply .apply-form{padding-bottom:6px}}
/* Portrait composition: image and form are equal parts of one window. */
#apply{max-width:980px}
#apply .apply-grid{grid-template-columns:43% 57%;align-items:stretch}
#apply .apply-intro{padding:24px;min-height:0;background:#faeee4}
#apply .apply-intro>.apply-scene{inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:50% 52%;z-index:-2;border-radius:0}
#apply .apply-intro:after{display:block;background:linear-gradient(180deg,#fff8efb0 0%,#fff8ef00 30%)}
#apply .apply-intro>.eyebrow{display:none}
#apply .apply-intro>img:first-child{position:relative;z-index:1;width:62px;height:62px}
#apply .apply-form{padding:24px 26px 20px}
#apply .apply-form>h3{display:none}
#apply .apply-heading{position:relative;margin:0 0 18px}
#apply .apply-heading h2{font-size:32px;line-height:1.04;letter-spacing:-1px;margin:0 20px 10px 0;padding:0}
#apply .apply-heading h2 em{color:#ba5682}
#apply .apply-heading>p{font-size:12px;line-height:1.5;color:#8a7480;margin:0;max-width:390px}
#apply .apply-heading>.apply-child-mobile{display:none}
@media(max-width:700px){
 #apply .apply-grid{display:block}
 #apply .apply-intro{display:none}
 #apply .apply-form{padding:0 20px calc(12px + env(safe-area-inset-bottom))}
 #apply .apply-heading{min-height:130px;margin:0 -20px 12px;padding:22px 142px 12px 20px;isolation:isolate;background:#fcf2e9;overflow:hidden}
 #apply .apply-heading>.apply-child-mobile{display:block;position:absolute;right:0;top:0;width:138px;height:100%;object-fit:cover;object-position:center 40%;z-index:-2}
 #apply .apply-heading:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#fcf2e9 0%,#fcf2e9 52%,#fcf2e900 82%);pointer-events:none}
 #apply .apply-heading h2{font-size:25px;line-height:1.06;letter-spacing:-.5px;margin:0;padding:0;max-width:220px}
 #apply .apply-heading>p{display:none}
 #apply .apply-close{right:8px;top:12px;background:#fff8efeb}
 #apply .child-primary{padding-bottom:8px;margin-bottom:8px}
 #apply #native-lead-form label{margin-bottom:6px}
 #apply .contact-choice{margin-bottom:8px}
 #apply .contact-fields{padding-top:8px;margin-bottom:8px}
 #apply .contact-choice legend{margin-bottom:6px}
}
@media(max-width:700px) and (max-height:650px){
 #apply .apply-form{padding:0 16px 6px}
 #apply .apply-heading{min-height:112px;margin:0 -16px 6px;padding:16px 119px 10px 16px}
 #apply .apply-heading>.apply-child-mobile{width:120px}
 #apply .apply-heading h2{font-size:21px;line-height:1.03}
 #apply .child-primary{padding-bottom:4px;margin-bottom:4px}
 #apply #native-lead-form label{margin-bottom:4px}
 #apply .contact-choice{margin-bottom:4px}
 #apply .contact-fields{margin-bottom:4px;padding-top:4px}
}
@media(max-width:700px) and (max-height:650px){
 #apply .apply-heading{min-height:106px}
 #apply #native-lead-form label:has(input[name=parentName]){font-size:0;line-height:0}
 #apply #native-lead-form label:has(input[name=parentName]) input{margin-top:0;line-height:normal}
}
@media(min-width:701px){#apply .apply-grid{min-height:600px}}
/* Keep the invitation visible at every size. */
@media(max-width:700px){
 #apply .apply-heading{padding-right:118px}
 #apply .apply-heading h2{font-size:23px;max-width:none}
 #apply .apply-heading>p{display:block;font-size:11px;line-height:1.35;margin:7px 0 0;max-width:none;color:#806672}
 #apply .apply-heading:after{background:linear-gradient(90deg,#fcf2e9 0%,#fcf2e9 55%,#fcf2e900 84%)}
}
@media(max-width:700px) and (max-height:650px){
 #apply .apply-heading{padding:10px 90px 8px 16px}
 #apply .apply-heading h2{font-size:18px;line-height:1.05}
 #apply .apply-heading>p{font-size:11px;line-height:1.25;margin-top:5px}
}
@media(max-width:700px) and (max-height:650px){#apply .apply-heading{padding-top:6px;padding-bottom:4px}#apply .apply-heading>p{margin-top:2px}}
/* Approved compact composition: caption belongs to the picture. */
@media(min-width:701px){
 #apply{width:calc(100% - 32px);max-width:820px;border-radius:20px}
 #apply .apply-grid{grid-template-columns:46% 54%;min-height:640px}
 #apply .apply-intro{padding:24px;min-width:0;background:#fff5eb}
 #apply .apply-intro>.apply-scene{height:79%;object-fit:cover;object-position:center 42%;inset:0 0 auto}
 #apply .apply-intro:after{inset:0;background:linear-gradient(180deg,#fff8ef40 0%,#fff8ef00 42%,#fff8ef12 58%,#fff8efe8 77%,#fff8ef 91%)}
 #apply .apply-intro>.apply-heading{position:absolute;left:24px;right:24px;bottom:24px;margin:0;z-index:2}
 #apply .apply-heading h2{font-size:38px;line-height:1.02;letter-spacing:-1.1px;max-width:280px;margin:0 0 10px}
 #apply .apply-heading h2 em{display:block;font-size:44px}
 #apply .apply-heading>p{font-size:12px;line-height:1.6;color:#7e6471;max-width:none;margin:0}
 #apply .apply-form{display:flex;flex-direction:column;justify-content:center;padding:34px 26px 24px}
 #apply .apply-form>h3{display:block;font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:31px;line-height:1.1;letter-spacing:-.7px;margin:0 25px 24px 0;color:#402c39}
 #apply .form-note{font-size:10px!important}
 #apply .apply-close{right:12px;top:12px}
}
@media(max-width:700px){
 #apply .apply-intro{display:block;padding:0;min-height:0;background:#fcf2e9}
 #apply .apply-intro>img,#apply .apply-intro>.eyebrow,#apply .apply-intro>.direction-choice{display:none!important}
 #apply .apply-intro:after{display:none}
 #apply .apply-intro>.apply-heading{margin-left:0;margin-right:0;margin-bottom:12px}
 #apply .apply-intro .apply-heading h2{font-size:23px!important;line-height:1.06;padding:0;margin:0;letter-spacing:-.5px}
 #apply .apply-intro .apply-heading>p{display:block;font-size:11px;line-height:1.35;margin:7px 0 0;max-width:none;color:#806672}
}
@media(max-width:700px) and (max-height:650px){
 #apply .apply-intro>.apply-heading{margin-bottom:6px}
 #apply .apply-intro .apply-heading h2,html[lang=uz] #apply .apply-intro .apply-heading h2{font-size:18px!important;line-height:1.05}
 #apply .apply-intro .apply-heading>p{line-height:1.25;margin-top:2px}
}
#apply .caption-break{display:none}
#apply .contact-methods svg{width:16px;height:16px;flex:none}
@media(min-width:701px){#apply .caption-break{display:block}}
