:root {
  color-scheme: light;
  --navy: #172e58;
  --navy-dark: #102343;
  --gold: #b39b61;
  --text: #263752;
  --muted: #7d8490;
  --line: #eaecf0;
  --field: #fafbfc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: #fff; color: var(--text); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
button { color: inherit; }
.container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 14px 20px; z-index: 50; color: #fff; background: var(--navy); }
.skip-link:focus { top: 12px; }
.site-header { position: relative; border-top: 3px solid var(--gold); background: #fff; z-index: 2; }
.utility-bar { height: 44px; display: flex; justify-content: space-between; align-items: center; color: #82858c; font-size: 10px; letter-spacing: .15px; }
.utility-note, .utility-actions, .language, .text-button { display: flex; align-items: center; }
.utility-note { gap: 8px; }
.gold-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.utility-actions { gap: 20px; }
.text-button { border: 0; background: none; padding: 0; gap: 6px; font-size: inherit; }
.text-button:hover { color: var(--gold); }
.text-button .icon { width: 13px; height: 13px; }
.utility-divider { height: 13px; width: 1px; background: #e7e8eb; }
.language { gap: 7px; color: #4b5260; }
.spanish-flag { display: inline-block; width: 15px; height: 10px; background: linear-gradient(#ba3038 25%, #f1c658 25%, #f1c658 75%, #ba3038 75%); border-radius: 1px; }
.language-code { font-size: 9px; color: #92969e; margin-left: 4px; }
.navigation { height: 79px; position: relative; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f0f0f2; }
.nav-group { display: flex; align-items: center; gap: 29px; font-size: 11px; }
.nav-group > a:not(.nav-cta), .nav-group > button { transition: color .18s; white-space: nowrap; }
.nav-group > a:hover, .nav-group > button:hover { color: var(--gold); }
.nav-group > button { background: none; border: 0; padding: 0; font-size: inherit; }
.nav-right { gap: 25px; }
.nav-cta { height: 37px; padding: 0 16px; display: flex; align-items: center; gap: 16px; border-radius: 3px; background: var(--navy); color: #fff; }
.nav-cta:hover { background: var(--navy-dark); color: #fff !important; }
.nav-cta .icon { width: 15px; height: 15px; }
.brand { position: absolute; left: 50%; top: -40px; transform: translateX(-50%); z-index: 3; display: flex; width: 204px; height: 137px; flex-direction: column; align-items: center; justify-content: center; background: #fff; border-radius: 0 0 50% 50% / 0 0 15% 15%; }
.brand-mark { width: 62px; height: 39px; margin: -3px 0 1px; }
.brand-arabic { font-size: 16px; line-height: 22px; color: var(--gold); }
.brand-name { font-family: Georgia, 'Times New Roman', serif; font-size: 15px; letter-spacing: 1.8px; line-height: 25px; color: var(--navy); }
.brand-caption { color: #8b8d93; font-size: 6px; letter-spacing: 1.3px; }
.hero { position: relative; isolation: isolate; min-height: 209px; color: #fff; background: var(--navy) url('assets/dubai-skyline.jpg') center 54% / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 35, 73, .94) 0%, rgba(17, 46, 86, .79) 35%, rgba(10, 36, 68, .23) 100%); }
.hero-content { padding-top: 40px; padding-bottom: 38px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; font-size: 10px; color: #d1d8e2; letter-spacing: .15px; }
.breadcrumbs a { color: #e7e0ce; }
.breadcrumbs .icon { width: 9px; height: 9px; }
h1 { margin: 23px 0 11px; font-size: 36px; font-weight: 500; letter-spacing: -.8px; }
.hero-content > p { margin: 0; font-size: 12px; color: #e2e6ed; font-weight: 400; letter-spacing: .25px; }
.hero-accent { position: absolute; bottom: -2px; left: max(40px, calc((100% - 1160px) / 2)); width: 49px; height: 4px; background: var(--gold); }
.application-section { display: grid; grid-template-columns: 370px minmax(0, 1fr); gap: 84px; padding-top: 68px; padding-bottom: 43px; align-items: start; }
.consultant-panel { padding-top: 21px; }
.portrait-composition { position: relative; width: 310px; height: 293px; margin: 0 auto; }
.portrait-shape { position: absolute; width: 285px; height: 263px; left: 8px; top: 11px; background: var(--navy); border-radius: 37% 23% 39% 21%; transform: rotate(-13deg); }
.portrait-outline { position: absolute; width: 280px; height: 259px; left: 15px; top: 2px; border: 1px solid #c1aa75; border-radius: 28% 39% 28% 37%; transform: rotate(12deg); }
.consultant-photo { position: absolute; width: 260px; height: 272px; top: 0; left: 28px; object-fit: cover; object-position: center 38%; border-radius: 31% 38% 29% 38%; background: #f2f1ed; }
.portrait-sparkle { position: absolute; right: 5px; top: 6px; color: var(--gold); font-size: 29px; }
.portrait-badge { position: absolute; bottom: 2px; right: -9px; display: flex; gap: 11px; align-items: center; min-width: 216px; padding: 14px 20px 14px 13px; box-shadow: 0 5px 27px #152e5510; background: #fff; border: 1px solid #eeece7; border-radius: 6px; font-size: 10px; color: #8b8d94; }
.badge-icon { display: grid; place-items: center; width: 36px; height: 36px; background: #f7f4ed; color: var(--gold); border-radius: 50%; }
.badge-icon .icon { width: 20px; height: 20px; }
.portrait-badge strong { display: block; color: var(--navy); font-size: 12px; font-weight: 500; margin-top: 5px; }
.consultant-copy { padding: 29px 0 0 24px; }
.eyebrow { font-size: 9px; font-weight: 500; letter-spacing: 1.8px; color: var(--gold); }
.consultant-copy .eyebrow { margin: 0 0 13px; }
.consultant-copy h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 28px; font-weight: 400; line-height: 1.3; letter-spacing: -.45px; margin: 0 0 14px; color: var(--navy); }
.consultant-copy > p:last-child { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 0; }
.form-panel { min-width: 0; }
.form-heading { display: flex; justify-content: space-between; align-items: center; }
.step-number { font-size: 10px; letter-spacing: 1px; color: #babec7; }
.step-number > span { color: var(--gold); }
.form-panel > h2 { font-weight: 500; color: var(--navy); font-size: 27px; letter-spacing: -.55px; margin: 12px 0 14px; }
.gold-rule { display: block; width: 62px; height: 2px; background: var(--gold); }
.form-intro { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 16px 0 20px; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 17px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.form-row:first-of-type { padding-top: 0; }
.form-row label { font-size: 12px; line-height: 1.6; font-weight: 500; }
.form-row label > span { color: var(--gold); margin-left: 3px; }
.input-group { min-width: 0; }
input { display: block; width: 100%; min-width: 0; height: 45px; padding: 0 13px; color: var(--navy); background: var(--field); border: 1px solid #e1e5eb; border-radius: 4px; outline: none; font-size: 12px; transition: background .18s, border-color .18s, box-shadow .18s; }
input::placeholder { color: #a0a5ad; opacity: 1; font-size: 11px; }
input:hover:not(:disabled) { border-color: #bac2d0; }
input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px #b39b6118; background: #fff; }
.date-picker { position: relative; }
.date-input { position: relative; }
.date-input input { padding-right: 44px; }
.date-toggle { position: absolute; inset: 0 0 0 auto; width: 43px; display: grid; place-items: center; border: 0; background: transparent; color: #7d8490; border-radius: 0 4px 4px 0; }
.date-toggle:hover { color: var(--navy); }
.date-toggle .icon { width: 17px; height: 17px; }
.date-calendar[hidden] { display: none; }
.date-calendar { position: absolute; top: 51px; right: 0; z-index: 10; width: 288px; max-width: 100%; padding: 14px; color: var(--navy); background: #fff; border: 1px solid #e1e5eb; border-radius: 6px; box-shadow: 0 8px 30px #172e5826; }
.date-calendar-header { display: flex; align-items: center; gap: 5px; padding-bottom: 12px; }
.date-calendar select { min-width: 0; height: 32px; padding: 0 3px; border: 1px solid #e1e5eb; border-radius: 4px; color: var(--navy); background: var(--field); font: inherit; font-size: 12px; }
#date-month { flex: 1; }
#date-year { width: 66px; }
.date-navigation { flex-shrink: 0; width: 26px; height: 32px; padding: 0; color: var(--navy); border: 0; background: transparent; font-size: 23px; }
.date-navigation:disabled { opacity: .25; cursor: default; }
.date-weekdays, .date-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.date-weekdays { padding-bottom: 6px; color: #7d8490; font-size: 10px; text-align: center; }
.date-week { margin-top: 2px; }
.date-day { width: 100%; height: 30px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--navy); font-size: 11px; }
.date-day:not(:disabled):hover { background: #f0ece2; }
.date-day[aria-current='date'] { box-shadow: inset 0 0 0 1px var(--gold); }
.date-day.is-selected { background: var(--navy); color: #fff; }
.date-day.is-selected:hover { background: #223f70; }
.date-day:disabled { color: #c8ccd2; cursor: default; }
.date-calendar-footer { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.date-calendar-footer button { border: 0; padding: 4px; background: transparent; color: var(--navy); font-size: 11px; }
.date-calendar-footer button:hover { color: #8d743c; }
@media (max-width: 480px) { .date-calendar select { font-size: 16px; } #date-year { width: 76px; } .date-calendar-header { gap: 3px; } }
.amount-input { position: relative; }
.amount-input input { padding-right: 66px; appearance: textfield; -moz-appearance: textfield; }
.amount-input input::-webkit-inner-spin-button, .amount-input input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.amount-input > span { position: absolute; right: 0; top: 11px; bottom: 11px; padding: 3px 13px 0 12px; font-size: 10px; font-weight: 500; color: #6f7785; border-left: 1px solid #e1e5eb; pointer-events: none; }
.amount-row { padding-bottom: 18px; }
.form-bottom { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.required-note { color: #959aa3; font-size: 9px; line-height: 1.5; }
.required-note > span { color: var(--gold); margin-right: 4px; }
.save-button { display: flex; justify-content: center; align-items: center; gap: 30px; min-width: 153px; height: 46px; border: none; border-radius: 4px; background: var(--navy); color: #fff; padding: 0 21px; font-size: 12px; transition: background .18s, transform .18s; }
.save-button:not(:disabled):hover { background: #223f70; transform: translateY(-1px); }
.save-button .icon { width: 17px; height: 17px; }
.button-spinner { display: none; width: 16px; height: 16px; border: 2px solid #ffffff45; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.save-button.is-loading { gap: 10px; cursor: wait; }
.is-loading .button-spinner { display: block; }
.is-loading .button-arrow { display: none; }
fieldset:disabled { opacity: .65; }
fieldset:disabled input { cursor: default; }
.field-error { display: block; color: #b34542; font-size: 10px; line-height: 1.5; }
.field-error:not(:empty) { margin-top: 6px; }
input[aria-invalid='true'] { border-color: #be625e; background: #fffafa; }
.save-status { min-height: 17px; color: var(--muted); font-size: 11px; margin: 12px 0 0; text-align: right; line-height: 1.6; }
.reassurance { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 37px; color: #999da5; font-size: 10px; }
.reassurance > .icon { color: var(--gold); width: 16px; height: 16px; }
.reassurance-line { flex: 1; height: 1px; background: #eeeff2; }
.reassurance-line:first-child { margin-right: 10px; }
.reassurance-line:last-child { margin-left: 10px; }
.site-footer { border-top: 1px solid #ecedf0; background: #fbfbfc; }
.footer-content { min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 15px; color: #9297a0; font-size: 10px; }
.footer-dot { color: var(--gold); margin: 0 8px; }
.footer-content .text-button { color: #68748a; gap: 12px; }
dialog { position: fixed; width: min(490px, calc(100% - 36px)); max-height: calc(100% - 48px); margin: auto; padding: 38px; border: 1px solid #eae5d9; border-radius: 10px; color: var(--text); box-shadow: 0 20px 100px #10234330; }
dialog::backdrop { background: #10234388; backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: #f4f5f7; border-radius: 50%; }
dialog h2 { color: var(--navy); font-size: 24px; font-weight: 500; margin-bottom: 22px; }
dialog ol { padding-left: 18px; }
dialog li, dialog > p:last-of-type { font-size: 13px; line-height: 1.8; color: #77808d; }
dialog li { margin-bottom: 8px; padding-left: 5px; }
.dialog-action { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; height: 44px; margin-top: 24px; color: #fff; background: var(--navy); border: 0; border-radius: 4px; font-size: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 1500px) { .hero { min-height: 234px; } .hero-content { padding-top: 50px; } .application-section { padding-top: 80px; padding-bottom: 60px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .nav-group { gap: 20px; font-size: 10px; }
  .brand { width: 178px; }
  .nav-right { gap: 16px; }
  .nav-right > a:first-child { display: none; }
  .application-section { grid-template-columns: 290px minmax(0, 1fr); gap: 45px; }
  .portrait-composition { transform: scale(.88); transform-origin: top center; width: 290px; margin-bottom: -35px; }
  .consultant-copy { padding-left: 11px; }
  .consultant-copy h2 { font-size: 25px; }
  .form-row { grid-template-columns: 149px minmax(0, 1fr); gap: 12px; }
  .form-row label { font-size: 11px; }
  .form-bottom { gap: 8px; }
  .save-button { min-width: 130px; gap: 20px; }
  .required-note { font-size: 8px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .utility-bar { height: 37px; }
  .utility-note { display: none; }
  .utility-actions { gap: 12px; width: 100%; justify-content: space-between; }
  .utility-divider { display: none; }
  .brand { height: 124px; width: 178px; top: -36px; }
  .brand-caption { font-size: 5px; }
  .navigation { height: 76px; }
  .nav-left > a:not(:first-child), .nav-left > button { display: none; }
  .nav-cta { padding: 0 12px; font-size: 10px; gap: 8px; }
  .nav-cta .icon { display: none; }
  .hero { min-height: 192px; background-position: 62% 51%; }
  .hero-content { padding-top: 35px; }
  h1 { font-size: 31px; }
  .hero-accent { left: 20px; }
  .application-section { grid-template-columns: minmax(0, 1fr); padding-top: 42px; padding-bottom: 27px; gap: 0; max-width: 610px; }
  .consultant-panel { display: none; }
  .form-row { grid-template-columns: 175px minmax(0, 1fr); padding-block: 14px; }
  .form-row label { font-size: 12px; }
  .form-intro { margin-bottom: 24px; }
  .required-note { font-size: 9px; }
  .save-button { min-width: 145px; }
  .reassurance { font-size: 9px; gap: 8px; margin-bottom: 30px; }
  .footer-content { min-height: 72px; font-size: 9px; }
}
@media (max-width: 480px) {
  .utility-note { font-size: 8px; letter-spacing: 0; }
  .utility-actions { gap: 10px; font-size: 9px; }
  .utility-divider, .language-code { display: none; }
  .brand { width: 148px; }
  .brand-name { font-size: 12px; letter-spacing: 1.1px; }
  .brand-caption { font-size: 4.8px; letter-spacing: .6px; }
  .brand-arabic { font-size: 14px; }
  .nav-cta { font-size: 9px; padding: 0 9px; height: 33px; }
  .hero { min-height: 185px; }
  .hero::before { background: linear-gradient(90deg, #0d2349ed, #112e5670); }
  h1 { font-size: 30px; }
  .hero-content > p { font-size: 11px; }
  .application-section { padding-top: 34px; }
  .form-panel > h2 { font-size: 26px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  .form-intro { font-size: 11px; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 13px 0; }
  .form-row label { font-size: 11px; }
  .desktop-break { display: none; }
  input { height: 46px; font-size: 16px; }
  input::placeholder { font-size: 12px; }
  .form-bottom { margin-top: 20px; align-items: flex-start; flex-direction: column; gap: 17px; }
  .save-button { width: 100%; gap: 20px; height: 48px; }
  .required-note { font-size: 9px; }
  .save-status { text-align: center; font-size: 10px; }
  .reassurance-line:first-child { margin-right: 0; }
  .reassurance-line:last-child { margin-left: 0; }
  .reassurance { gap: 7px; font-size: 8px; }
  .reassurance > .icon { width: 13px; }
  .footer-content { flex-direction: column; justify-content: center; gap: 13px; padding-block: 20px; }
  dialog { padding: 32px 25px; }
  dialog h2 { font-size: 21px; }
}
@media (max-width: 360px) {
  .brand { width: 122px; }
  .brand-name { font-size: 10px; letter-spacing: .8px; }
  .brand-caption { font-size: 4px; letter-spacing: .3px; }
  .nav-cta { font-size: 8px; padding-inline: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button-spinner { animation-duration: 2s; }
}
