:root {
  --ink: #1a202c;
  --body: #4a5568;
  --muted: #64748b;
  --blue: #3f5d9c;
  --navy: #040075;
  --pale: #f7fafc;
  --bright: #295cff;
}
* { box-sizing: border-box; }
html { color: var(--ink); background: white; }
body { margin: 0; font: 17px/1.65 Arial, Helvetica, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .15em; }
a:hover { color: #233d73; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 30px; line-height: 1.04; font-weight: 600; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #295cff; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 48px), 1242px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 8px 18px; background: white; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 13px 30px; background: var(--blue); border: 0; border-radius: 5px; color: #fff; font: 500 15px/1.4 Arial, Helvetica, sans-serif; text-decoration: none; transition: background .16s; }
.button:hover, .button:focus-visible { background: #2e4984; color: white; }
.button:disabled { opacity: .7; cursor: wait; }

/* Navigation */
.site-header { position: relative; z-index: 5; background: white; }
.header-inner { min-height: 130px; display: flex; align-items: center; gap: 0; }
.brand { display: flex; align-items: center; align-self: stretch; margin-right: auto; flex: 0 0 auto; }
.brand img { display: block; width: 250px; height: 130px; object-fit: contain; }
.desktop-nav { margin-right: 36px; }
.menu-list, .submenu { list-style: none; padding: 0; margin: 0; }
.desktop-nav .menu-list { display: flex; align-items: center; }
.menu-list > li { position: relative; }
.menu-row { display: flex; align-items: center; }
.menu-list a { text-decoration: none; color: #2d3748; }
.desktop-nav .menu-row { padding-inline: 18px; }
.desktop-nav .menu-row > a { font-size: 16px; font-weight: 600; white-space: nowrap; padding-block: 8px; }
.menu-list a:hover { color: var(--blue); }
.menu-arrow { display: grid; width: 20px; height: 32px; place-content: center; background: transparent; padding: 0; border: 0; color: #2d3748; }
.menu-arrow span { width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); }
.menu-arrow[aria-expanded=true] span { transform: translateY(2px) rotate(225deg); }
.submenu { display: none; background: #fff; }
.desktop-nav .submenu { position: absolute; left: 0; top: 100%; min-width: 234px; box-shadow: 0 4px 18px #21324a25; border-top: 2px solid var(--blue); }
.submenu a { display: block; padding: 9px 16px; font-size: 15px; line-height: 1.45; }
.submenu a:hover, .submenu a:focus-visible { background: #f3f6f9; }
.has-sub.is-open > .submenu { display: block; }
.header-phone { min-width: 140px; text-align: center; font-size: 16px; white-space: nowrap; font-weight: 700; color: #223f71; text-decoration: none; margin-right: 78px; }
.header-cta { min-width: 181px; background: #5975ad; }
.menu-toggle { display: none; border: 1px solid var(--blue); border-radius: 5px; background: white; padding: 8px; width: 38px; height: 38px; }
.menu-toggle span { display: block; height: 1px; background: var(--blue); width: 20px; margin: 4px 0; }
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgb(10 19 34 / .56); }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(350px, 90vw); height: 100%; max-height: 100%; max-width: 100%; margin: 0; padding: 66px 26px 30px; }
.drawer .menu-row { border-bottom: 1px solid #e2e8f0; justify-content: space-between; }
.drawer .menu-row > a { flex: 1; padding: 10px 0; }
.drawer .menu-arrow { width: 42px; height: 44px; }
.drawer-phone { display: block; margin: 24px 0 12px; color: #203d6b; font-weight: bold; text-decoration: none; }
.close-x { position: absolute; top: 7px; right: 10px; height: 42px; width: 42px; border: none; background: transparent; font-size: 30px; line-height: 1; color: #435570; }

/* Home */
.hero { overflow: hidden; position: relative; isolation: isolate; background: linear-gradient(280deg, var(--pale), #fff); }
.hero::after { position: absolute; content: ''; inset: auto 0 -1px; height: 10%; background: #fff; clip-path: polygon(0 100%,100% 32%,100% 100%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; padding-top: 48px; }
.hero-copy { padding: 0 10px; transform: translateY(-12px); }
.eyebrow { font-size: 15px; font-weight: 400; line-height: 1; letter-spacing: 1px; color: #718096; text-transform: uppercase; }
.hero h1 { margin-top: 27px; font-size: 56px; line-height: 1; letter-spacing: 0; }
.hero-lead { margin: 23px 40px 0 0; color: var(--navy); font-size: 20px; line-height: 27px; font-weight: 500; }
.fees { margin: 44px 40px 0 0; }
.fees h2 { font-size: 18px; line-height: 1.8; margin-bottom: 12px; color: var(--navy); font-weight: 600; }
.fee-row { display: flex; flex-wrap: wrap; gap: 16px; }
.fee { flex: 1 1 200px; padding: 14px 20px; border-radius: 8px; border-left: 4px solid var(--bright); background: #fff; box-shadow: 0 0 50px #00000014; }
.fee span { display: block; font-size: 16px; line-height: 1.3; font-weight: 500; color: var(--navy); }
.fee strong { display: block; font-size: 28px; line-height: 1.3; margin-top: 4px; color: var(--bright); }
.hero-art { position: relative; }
.shield-art { display: block; width: calc(100% + 7px); max-width: none; transform: translateX(50px); }
.employers { position: absolute; top: 36%; left: -5px; width: 283px; }
.employers-panel { min-height: 98px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: #fff; border-radius: 8px; box-shadow: 0 0 50px #0000000d; padding: 19px 40px; }
.employers strong { font-size: 22px; line-height: 1.05; margin-top: 8px; }
.employers i { position: absolute; top: -26px; right: -37px; width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; font: bold 20px/1 Arial; background: var(--blue); color: #fff; }
.qualifications { padding-top: 10px; padding-bottom: 78px; }
.qual-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 509px; align-items: start; }
.qual-picture { padding: 65px 10px 0; }
.qual-picture img { width: 82%; display: block; }
.qual-text { padding: 0 10px 0 45px; }
.call-hours { background: var(--pale); padding: 14px 20px; border-left: 4px solid var(--bright); border-radius: 8px; color: var(--navy); box-shadow: 0 0 50px #0000000d; font-size: 18px; font-weight: 500; line-height: 1.4; margin: 0 0 48px; }
.qual-text h2 { max-width: 550px; margin-bottom: 26px; }
.qualification { display: flex; align-items: center; gap: 16px; padding: 4px 10px; min-height: 118px; }
.qualification + .qualification { margin-top: 10px; }
.qualification img { width: 100px; height: 100px; flex: none; }
.qualification p { color: var(--ink); font-size: 18px; line-height: 1.36; font-weight: 500; }
.validity { text-align: center; margin: -46px 0 0; font-size: 24px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.angled { position: relative; isolation: isolate; }
.angled::before { content: ''; position: absolute; inset: 0; background: var(--pale); clip-path: polygon(0 0,100% 7.5%,100% 100%,0 92.5%); z-index: -1; }
.exam { text-align: center; padding: 150px 0 120px; }
.section-intro { color: var(--muted); margin: 13px 0 36px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; margin: 0; }
.steps li { min-height: 266px; padding: 46px clamp(20px,3vw,50px); border-right: 1px solid #e9eef3; border-bottom: 1px solid #e9eef3; }
.steps li:nth-child(3n+1) { border-left: 1px solid #e9eef3; }
.steps img { width: 50px; height: 50px; margin-bottom: 13px; }
.steps h3 { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.steps p, .practice p { color: var(--muted); line-height: 1.55; }
.faq { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 50px; padding: 110px 0 130px; }
.faq-text { padding-inline: 10px 18px; }
.faq-text h2 { margin: 0 0 17px; }
.faq-list { margin-bottom: 22px; }
.faq-list details { margin: 0; }
.faq-list summary { cursor: pointer; list-style: none; color: var(--ink); font: 700 18px/1.4 Arial, sans-serif; padding: 15px 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: '+'; color: #b8c2ce; font-size: 25px; line-height: 18px; font-weight: 600; display: inline-block; vertical-align: -1px; margin-right: 16px; }
.faq-list details[open] summary::before { content: '−'; }
.answer { padding: 0 4px 16px 31px; font-size: 16px; color: var(--body); }
.questions-art { width: 100%; align-self: center; }
.practice { text-align: center; padding: 125px 20px; }
.practice::before { clip-path: polygon(0 14%,100% 0,100% 86%,0 100%); }
.narrow { max-width: 580px; margin: auto; }
.practice p { margin: 22px 0; }
.venue { padding: 60px 0 72px; }
.venue h2 { text-align: center; max-width: 1040px; margin: 0 auto 34px; }
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.venue-details { max-width: 500px; justify-self: center; }
.venue-details ul { list-style: none; margin: 0; padding: 0; }
.venue-details li { display: flex; align-items: center; gap: 16px; margin-bottom: 13px; line-height: 1.42; color: var(--body); }
.venue-details img { width: 40px; flex: none; }
.venue-details a, .footer-grid a { text-decoration: none; }
.venue-details a:hover, .footer-grid a:hover { text-decoration: underline; }
.address-label { display: block; font-weight: 600; color: var(--ink); }
.inn { margin-left: 56px; }
.venue-map { width: 100%; position: relative; overflow: hidden; min-height: 300px; background: #edf3f7; border-radius: 6px; }
.venue-map iframe { display: block; width: 100%; height: 350px; border: none; }
.map-placeholder { min-height: 350px; display: grid; gap: 16px; place-content: center; justify-items: center; padding: 20px; text-align: center; background: linear-gradient(145deg,#eff5f9,#e2eaf2); }
.map-placeholder::before { content: ''; width: 42px; height: 42px; background: url('/assets/contact-address.svg') center/contain no-repeat; }
.map-link { display: inline-block; margin-top: 8px; font-size: 15px; }
.site-footer { padding: 45px 0 38px; font-size: 15px; background: #f0f7fa; color: var(--body); }
.footer-grid { display: grid; grid-template-columns: 1fr minmax(240px,1.8fr) 1fr; align-items: start; gap: 18px; }
.footer-grid a { color: var(--body); }
.footer-center { text-align: center; }
.footer-center nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-bottom: 10px; }
.foot-actions { display: flex; gap: 8px; justify-content: end; }
.foot-actions a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #51637a; border-radius: 50%; }
.copyright { text-align: center; padding-inline: 18px; margin-top: 58px; }

/* Contact form and map consent */
.callback { width: min(450px, calc(100% - 28px)); max-height: calc(100dvh - 28px); overflow: auto; padding: 35px 30px 28px; border-radius: 6px; box-shadow: 0 14px 60px #10233d33; }
.callback h2 { margin: 0 28px 20px 0; font-size: 27px; }
.callback label { display: block; margin: 12px 0 0; font-size: 16px; color: var(--ink); }
.callback input:not([type=checkbox]), .callback textarea { display: block; width: 100%; padding: 9px 12px; border: 1px solid #b8c4d2; background: #fff; color: var(--ink); border-radius: 4px; }
.callback textarea { resize: vertical; }
.callback .consent { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.45; margin: 18px 0; }
.consent input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--blue); }
.trap { position: absolute; left: -9999px; width: 1px; overflow: hidden; }
.form-help, .form-status { font-size: 14px; color: var(--body); margin: 12px 0 0; }
.form-status:empty { display: none; }
.cookie-panel { position: fixed; z-index: 9; bottom: 16px; left: 50%; transform: translateX(-50%); width: min(760px, calc(100% - 24px)); max-height: 75dvh; overflow-y: auto; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; padding: 16px 20px; box-shadow: 0 7px 30px #1723382e; color: #253345; }
.cookie-panel p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; }
.cookie-panel > div { display: flex; gap: 10px; }
.cookie-panel button { flex: 1; min-height: 44px; padding: 6px 12px; border: 2px solid #355781; border-radius: 5px; background: #355781; color: white; font-size: 16px; font-weight: 600; }
.cookie-panel button:last-child { background: #fff; color: #355781; }
.cookie-panel .cookie-options { flex-wrap: wrap; column-gap: 22px; margin-bottom: 12px; }
.cookie-options label { display: inline-flex; gap: 7px; align-items: center; cursor: pointer; font-size: 15px; }
.cookie-options input { width: 17px; height: 17px; accent-color: #355781; }
.cookie-actions { flex-wrap: wrap; }
.cookie-actions button { min-width: 128px; }
.cookie-panel [data-cookie-action="none"] { background: #fff; color: #355781; }
.cookie-settings { display: block; margin: 8px auto 0; padding: 2px 6px; border: 0; background: transparent; color: inherit; text-decoration: underline; font: inherit; }

@media (min-width:1025px) and (max-width:1220px) {
  .header-phone { margin-right: 28px; }
  .desktop-nav { margin-right: 18px; }
  .desktop-nav .menu-row { padding-inline: 12px; }
  .hero h1 { font-size: 49px; }
  .employers { width: 245px; left: 0; }
}
@media (max-width:1024px) {
  .header-inner { justify-content: space-between; }
  .desktop-nav, .header-cta, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .wrap { width: min(calc(100% - 40px), 720px); }
  .hero-grid { display: block; padding-top: 48px; }
  .hero-copy { transform: none; text-align: center; }
  .hero h1 { font-size: 46px; }
  .hero-lead { margin: 20px auto 0; max-width: 560px; }
  .fees { text-align: left; }
  .hero-art { padding: 75px 0 30px; }
  .shield-art { width: min(98%,580px); margin-inline: auto; transform: none; }
  .employers { inset: 38px 0 auto; width: min(100%, 350px); }
  .employers i { right: 16px; top: -18px; width: 35px; height: 35px; }
  .qual-grid, .faq { display: block; }
  .qual-picture { padding: 30px 10px 0; text-align: center; }
  .qual-picture img { margin: auto; }
  .qual-text { padding: 30px 10px 0; }
  .call-hours { margin-bottom: 30px; }
  .validity { margin: 22px 0 0; }
  .qualifications { padding-bottom: 38px; }
  .exam { padding: 70px 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 210px; padding: 38px 19px; }
  .faq { padding: 72px 0; }
  .questions-art { display: block; max-width: 530px; margin: 30px auto 0; }
  .venue-grid { grid-template-columns: 1fr; }
  .venue-details { max-width: 100%; justify-self: start; }
  .practice { padding: 85px 20px; }
}
@media (max-width:767px) {
  .header-inner { min-height: 153px; }
  .brand img { width: min(250px, 60vw); height: 145px; }
  .menu-toggle { margin-right: 2px; }
  .hero h1 { font-size: 39px; line-height: 1; }
  .hero-lead { margin-right: 32px; margin-left: 32px; line-height: 24px; }
  .fees { margin-right: 40px; }
  .fee-row { align-items: stretch; }
  .hero-art { padding-top: 81px; }
  .shield-art { margin-left: 0; }
  .employers { top: 50px; }
  .qual-text h2, .faq h2, .practice h2, .venue h2 { font-size: 26px; }
  .qualification { flex-direction: column; text-align: center; gap: 5px; padding: 10px; }
  .qualification p { font-size: 17px; line-height: 1.5; }
  .validity { font-size: 18px; }
  .exam { padding: 46px 0 60px; }
  .angled::before { clip-path: polygon(0 0,100% 20px,100% 100%,0 calc(100% - 20px)); }
  .exam h2 { font-size: 24px; }
  .section-intro { font-size: 16px; margin: 14px 10px 20px; line-height: 1.35; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; border: 0; border-bottom: 1px solid #e3eaf0; padding: 30px 15px; }
  .steps li:nth-child(3n+1) { border-left: 0; }
  .steps h3 { font-size: 22px; }
  .faq { padding: 75px 0 60px; }
  .faq-text { padding: 0; }
  .practice { padding: 60px 22px 46px; }
  .practice::before { clip-path: polygon(0 20px,100% 0,100% calc(100% - 20px),0 100%); }
  .venue { padding: 55px 0 42px; }
  .venue-grid { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .foot-actions { justify-content: center; }
  .copyright { margin-top: 30px; }
  .cookie-panel { width: calc(100% - 16px); bottom: 8px; padding: 15px 16px; }
}
@media (max-width:360px) {
  .hero h1 { font-size: 34px; }
  .hero-lead { margin-inline: 6px; }
  .fees { margin-right: 0; }
  .qual-text { padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; } }

/* Elements stay visible until the scroll observer has attached. */
@media screen and (prefers-reduced-motion: no-preference) {
  [data-enter="fade"] { --entry-name: enter-fade; }
  [data-enter="zoom"] { --entry-name: enter-zoom; }
  [data-enter="from-right"] { --entry-name: enter-from-right; }
  [data-enter="bounce"] {
    --entry-name: enter-bounce;
    --entry-duration: .75s;
    --entry-easing: cubic-bezier(.215,.61,.355,1);
  }
  [data-enter].is-waiting { opacity: 0; }
  [data-enter].is-entering { animation: var(--entry-name) var(--entry-duration, 1s) var(--entry-easing, ease) var(--entry-delay, 0s) backwards; }
  .employers-panel { --entry-delay: .8s; }
  .employers-panel[data-enter] { --entry-duration: 2s; }
  .steps li:nth-child(2) { --entry-delay: .3s; }
  .steps li:nth-child(3) { --entry-delay: .6s; }
  .steps li:nth-child(4) { --entry-delay: .8s; }
  .steps li:nth-child(5) { --entry-delay: 1s; }
  .steps li:nth-child(6) { --entry-delay: 1.2s; }
  #main:has(.qualifications) { overflow-x: clip; }
}
@media screen and (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .qual-picture.has-parallax { padding-bottom: 30px; padding-top: 0; }
  .qual-picture.has-parallax img { translate: 0 var(--travel, 0px); }
}
@media screen and (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  .qual-picture.has-parallax { padding-bottom: 65px; }
}
@media screen and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .employers-panel { transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
}
@keyframes enter-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes enter-zoom {
  from { opacity: 0; scale: .3; }
  50% { opacity: 1; }
  to { scale: 1; }
}
@keyframes enter-from-right {
  from { opacity: 0; translate: 100% 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes enter-bounce {
  from { opacity: 0; scale: .3; }
  20% { scale: 1.1; }
  40% { scale: .9; }
  60% { opacity: 1; scale: 1.03; }
  80% { scale: .97; }
  to { opacity: 1; scale: 1; }
}
