.motion-header {
  position: sticky;
  top: var(--safe-area-inset-top, 0px);
  z-index: 50;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 10px 32px rgb(18 55 97 / 7%);
  animation: header-enter .58s cubic-bezier(.22,.61,.36,1) both;
}
.motion-header .motion-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 3vw, 36px);
  min-height: 76px;
}
.motion-brand { display: inline-flex; flex: 0 0 auto; padding: 4px 0; }
.motion-brand img { width: clamp(102px, 13vw, 142px); height: auto !important; }
.motion-header .motion-desktop-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; }
.motion-desktop-nav a {
  padding: 10px 9px;
  color: #264663;
  font-size: .82rem;
  font-weight: 750;
  border-radius: 10px;
  white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.motion-desktop-nav a:is(:hover,[aria-current="page"]) { color: #075d7a; background: #e9f6fa; }
.motion-header-actions { display: flex; gap: 9px; align-items: center; flex-shrink: 0; }
.motion-scan-link, .motion-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.motion-scan-link { padding: 0 14px; color: white; background: linear-gradient(135deg,#0a2a6b,#007893); box-shadow: 0 6px 17px #164c8227; font-size: .86rem; }
.motion-scan-link:hover { color: white; transform: translateY(-2px); box-shadow: 0 9px 22px #164c823b; }
.motion-menu-button { width: 46px; cursor: pointer; color: #123761; background: #edf6fa; border: 1px solid #dcecf2; }
.motion-menu-button:hover { background: #dceff7; }
.motion-header :focus-visible, .qr-scanner :focus-visible, .contact-info :focus-visible { outline: 3px solid #017a9e; outline-offset: 3px; }
.motion-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 440px);
  max-width: 100%;
  max-height: none;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: #f9fdff;
  box-shadow: -22px 0 70px #061b3a35;
}
.motion-drawer[open] { animation: drawer-enter .44s cubic-bezier(.22,.72,.22,1) both; }
.motion-drawer::backdrop { background: #051a3c95; }
.motion-drawer[open]::backdrop { animation: backdrop-enter .34s ease-out both; }
html:has(.motion-drawer[open]) { overflow: hidden; }
.motion-drawer-body { min-height: 100%; padding: clamp(20px, 6vw, 36px); }
.motion-drawer-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.motion-drawer-heading h2 { font-size: clamp(1.65rem, 5vw, 2.2rem); }
.motion-header .motion-drawer-links { display: grid !important; gap: 5px !important; }
.motion-drawer-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 14px; border-radius: 12px; color: #14365d; font-weight: 760;
  transition: color .2s, background-color .2s, padding-left .2s;
}
.motion-drawer-links a:is(:hover,[aria-current="page"]) { background: #e6f5fa; color: #045b77; padding-left: 19px; }
.motion-drawer-contact { display: grid; gap: 15px; margin-top: 25px; padding-top: 22px; border-top: 1px solid #d9eaf1; }
.motion-drawer-contact > a:last-child { display: flex; align-items: center; gap: 9px; color: #385670; font-size: .9rem; }
.motion-drawer-contact > a:last-child:hover { color: #076581; text-decoration: underline; }

.verify-intro { background: radial-gradient(ellipse at 90% 20%,#e2f5f7 0%,transparent 50%),linear-gradient(132deg,#f6fbff,#e9f4fb); }
.verify-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(28px,6vw,88px); }
.verify-copy h1, .page-contact h1 { font-size: clamp(2.3rem,5.5vw,4.5rem); line-height: 1.04; margin: 12px 0 16px; }
.verify-copy p { color: #375672; font-size: clamp(1rem,2vw,1.15rem); max-width: 37ch; margin-bottom: 22px; }
#verify-steps { scroll-margin-top: 88px; }
.qr-scanner { padding: clamp(16px,3vw,25px); border: 1px solid #dcecf4; border-radius: 24px; background: white; box-shadow: 0 22px 60px #0b305d15; min-width: 0; }
.qr-scanner-title { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.qr-scanner-title h2 { font-size: clamp(1.15rem,2.6vw,1.45rem); }
.qr-scanner-title p { color: #49647d; font-size: .88rem; margin-top: 2px; }
.qr-scanner-icon, .contact-info-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; color: #076f87; background: #e6f6f9; }
.qr-viewfinder { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 17px; overflow: hidden; background: radial-gradient(ellipse at center,#173d61,#0a203b); }
.qr-viewfinder video { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(100%, 56.25%); height: 100%; opacity: 0; object-fit: cover; }
.qr-viewfinder.is-scanning video { opacity: 1; }
.qr-frame { position: relative; width: min(48%, 145px); aspect-ratio: 1; display: grid; place-items: center; color: #c6f3ff; background: #e5fcff0c; border: 2px solid #90dfec; border-radius: 18px; overflow: hidden; }
.qr-frame span { display: none; }
.is-scanning .qr-frame span { position: absolute; display: block; inset: 12% 7% auto; height: 2px; background: #a8ffdf; box-shadow: 0 0 9px #74ffcd; animation: camera-sweep 2s ease-in-out infinite alternate; }
.qr-scanner-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.qr-photo-button { position: relative; cursor: pointer; }
.qr-photo-button input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.qr-photo-button:focus-within { outline: 3px solid #017a9e; outline-offset: 3px; }
.qr-scanner-status { font-size: .87rem; color: #3e5d73; line-height: 1.45; margin-top: 12px; }
.qr-scan-result { padding: 13px; margin-top: 12px; overflow-wrap: anywhere; background: #edf8ee; border-radius: 13px; color: #154d36; }
.qr-scan-result .btn { margin-top: 8px; }
.contact-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(18px,4vw,42px); align-items: start; }
.contact-info { padding: clamp(22px,4vw,39px); border: 1px solid #dcecf4; border-radius: 23px; background: linear-gradient(145deg,#eef8ff,#f3fbf9); }
.contact-info h2 { font-size: clamp(1.35rem,3vw,1.8rem); margin: 12px 0 6px; }
.contact-info h3 { font-size: 1.06rem; margin-bottom: 6px; }
.contact-info address { font-style: normal; color: #264663; }
.contact-info p { color: #3d576d; }
.contact-info a { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #075d7a; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.contact-info-line { height: 1px; background: #d8eaf1; margin: 19px 0; }
.contact-form { min-width: 0; scroll-margin-top: 94px; }
.contact-status { margin-top: 10px; color: #3d576d; font-size: .87rem; }

.motion-reveal:not(.motion-visible):not(:focus-within) { opacity: 0; transform: translate3d(0,24px,0); }
.motion-reveal { transition: opacity .62s cubic-bezier(.22,.61,.36,1), transform .62s cubic-bezier(.22,.61,.36,1); }
.motion-reveal.motion-visible > .container > .card, .motion-visible .motion-reveal.motion-visible {
  transition-delay: .05s;
}
@keyframes header-enter { from { transform: translateY(-105%); } to { transform: translateY(0); } }
@keyframes drawer-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes camera-sweep { from { top: 13%; } to { top: 87%; } }
@media (max-width: 1100px) {
  .motion-header .motion-desktop-nav { display: none; }
}
@media (max-width: 750px) {
  .verify-layout, .contact-layout { grid-template-columns: 1fr; }
  .motion-header .motion-header-row { min-height: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-header, .motion-drawer[open], .motion-drawer[open]::backdrop, .is-scanning .qr-frame span { animation: none; }
  .motion-reveal, .motion-reveal:not(.motion-visible):not(:focus-within) { opacity: 1; transform: none; transition: none; }
  .motion-header *, .motion-scan-link { transition: none; }
  .motion-scan-link:hover { transform: none; }
}
.verify-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.motion-drawer-contact .motion-report-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #075d7a;
  font-weight: 800;
}
.motion-report-link:hover { text-decoration: underline; }
