* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: Arial, Helvetica, sans-serif; color: #222; }
body { background: #f5f7fa; }
body.dialog-open { overflow: hidden; }
button, a { font: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #24aaff; outline-offset: 3px; }
.hero { position: relative; overflow: hidden; background: #0687df; }
.hero.is-ready { animation: hero-arrive 850ms cubic-bezier(.2,.75,.25,1) both; }
.hero img { display: block; width: 100%; height: auto; }
.hotspot { position: absolute; display: block; background: transparent; border: 0; padding: 0; border-radius: 6px; transition: background 180ms ease, box-shadow 200ms ease; }
.hotspot-about { left: 56.5%; top: 6.5%; width: 5.2%; height: 4.2%; }
.hotspot-program-nav { left: 64%; top: 6.5%; width: 10.7%; height: 4.2%; }
.hotspot-contact { left: 77.4%; top: 6.5%; width: 5.4%; height: 4.2%; }
.hotspot-instagram { left: 87.8%; top: 6.2%; width: 3.2%; height: 5%; }
.hotspot-facebook { left: 92.3%; top: 6.2%; width: 3.2%; height: 5%; }
.social-hotspot { border-radius: 50%; }
.hotspot:not(.hero-link):not(.social-hotspot)::after { content: ''; position: absolute; bottom: 0; left: 15%; width: 70%; height: 2px; border-radius: 2px; background: #058bd4; transform: scaleX(0); transition: transform 180ms ease; }
.hero-link { left: 5.7%; top: 49.1%; width: 22.7%; height: 8.1%; border-radius: 100px; overflow: hidden; }
.hero-link::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 20%, #ffffff25 48%, transparent 75%); transform: translateX(-140%); transition: transform 650ms ease; }
.hotspot:active { background: #ffffff22; }
.mobile-controls { display: none; }
.footer { display: flex; align-items: center; justify-content: space-between; padding: 22px 7%; font-size: 12px; color: #697380; background: white; }
.footer a { color: #0754a2; text-decoration: none; text-underline-offset: 4px; }
.footer a:hover { text-decoration: underline; }
dialog { border: 1px solid #ffffffb3; border-radius: 16px; box-shadow: 0 24px 80px #001d3a55; padding: 0; width: min(480px, calc(100% - 36px)); max-height: calc(100dvh - 40px); color: #202b38; }
dialog[open] { animation: dialog-in 260ms cubic-bezier(.2,.75,.25,1) both; }
dialog.is-closing { animation: dialog-out 180ms ease both; pointer-events: none; }
dialog::backdrop { background: #061e359e; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: backdrop-in 260ms ease both; }
dialog.is-closing::backdrop { animation: backdrop-out 180ms ease both; }
.dialog-inner { padding: 38px; }
.dialog-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.eyebrow { color: #0879cc; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 700; margin: 0 0 14px; }
h2 { font-size: 30px; letter-spacing: -.04em; margin: 0 0 24px; }
.close { flex-shrink: 0; border: 0; background: #eef3f7; border-radius: 50%; width: 44px; height: 44px; font-size: 26px; line-height: 1; color: #34495a; transition: background 180ms ease, color 180ms ease; }
.close:hover { background: #def0ff; color: #075eb1; }
dialog p { line-height: 1.7; color: #536475; }
dialog a { color: #075eb1; text-decoration: none; font-weight: 700; overflow-wrap: anywhere; }
dialog a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-row { margin: 18px 0; }
.contact-row small { display: block; font-size: 11px; color: #7a8895; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 7px; }
@media (hover: hover) and (pointer: fine) {
  .hotspot:hover { background: #ffffff12; }
  .hotspot:hover::after { transform: scaleX(1); }
  .social-hotspot:hover { background: #d9f3ff38; box-shadow: 0 0 0 2px #038ed43b, 0 0 20px #00b9ff42; }
  .hero-link:hover { background: #ffffff0a; box-shadow: 0 0 0 1px #8deaff80, 0 0 32px #00c5ff80; }
  .hero-link:hover::before { transform: translateX(140%); }
}
@media (max-width: 650px) {
  .mobile-controls { display: block; padding: 14px 16px 18px; background: white; border-bottom: 1px solid #e7eef5; }
  .mobile-nav { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 4px; margin-bottom: 12px; }
  .mobile-nav button { min-height: 46px; padding: 8px 4px; border: 0; border-radius: 8px; background: #f0f6fb; color: #174567; font-size: 12px; font-weight: 600; }
  .mobile-actions { display: flex; gap: 8px; align-items: center; }
  .program-button { flex: 1; min-height: 46px; padding: 10px 12px; border: 0; border-radius: 24px; background: linear-gradient(110deg, #00a5eb, #0035f6); color: white; font-size: 12px; font-weight: 600; }
  .program-button span { margin-left: 6px; }
  .social-button { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #dce9f3; border-radius: 50%; background: white; color: #174567; }
  .social-button svg { width: 21px; height: 21px; }
  .mobile-nav button:active, .social-button:active { background: #def0ff; }
  .program-button:active { filter: brightness(.92); }
  .footer { gap: 10px; align-items: flex-start; flex-direction: column; padding: 20px 6%; }
  .dialog-inner { padding: 28px; }
}
@keyframes hero-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes dialog-out { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(8px) scale(.99); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
