* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  background: #f5f5f5;
  line-height: 1.5;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 12px 16px;
  background: #1a365d;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; outline: 2px solid #2b6cb0; outline-offset: 2px; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #1a365d;
  color: #fff;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg { width: 100%; height: 100%; }
.logo-main { font-size: 1.05rem; font-weight: 700; }
.logo:hover .logo-main { color: #90cdf4; }
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}
.nav-link {
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,0.12); }
.nav-btn {
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  transition: all 0.2s;
  background: transparent;
  color: #fff;
  font-family: inherit;
}
.nav-btn-login { border: 1px solid rgba(255,255,255,0.5); }
.nav-btn-login:hover { background: rgba(255,255,255,0.1); }
.nav-btn-register { background: #2b6cb0; margin-left: 4px; }
.nav-btn-register:hover { background: #2c5282; }
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
  color: #fff;
}
.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: all 0.2s;
}
.burger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none;
  background: #1a365d;
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  padding: 10px 0;
  display: block;
}
.mobile-btn {
  margin-top: 8px;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}
.mobile-btn-login { background: rgba(255,255,255,0.15); color: #fff; }
.mobile-btn-register { background: #2b6cb0; color: #fff; }
@media (max-width: 991px) {
  .desktop-nav { display: none !important; }
  .burger-btn { display: flex !important; }
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
  position: relative;
  color: #1a202c;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #718096;
  line-height: 1;
}
.modal-close:hover { color: #1a202c; }
.modal-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }
.modal-form .form-group { margin-bottom: 14px; }
.modal-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.modal-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
}
.modal-submit {
  width: 100%;
  padding: 12px;
  background: #2b6cb0;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  font-family: inherit;
}
.modal-submit:hover { background: #2c5282; }
.modal-success {
  display: none;
  margin-top: 12px;
  font-size: 14px;
  color: #2b6cb0;
  font-weight: 500;
}
.modal-success.show { display: block; }
.modal-switch { font-size: 14px; color: #718096; margin-top: 16px; }
.modal-switch-btn { background: none; border: none; color: #2b6cb0; cursor: pointer; text-decoration: underline; font-size: 14px; font-family: inherit; }

/* Main */
main { padding-top: 64px; min-height: 100vh; }

/* Home */
.home-page .hero {
  position: relative;
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
  color: #fff;
  padding: 80px 24px 100px;
  text-align: center;
  overflow: hidden;
}
.hero-snow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-snow .snowflake {
  position: absolute;
  top: -8px;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  animation: snow-fall linear infinite;
  will-change: transform;
}
.hero-snow .snowflake:nth-child(1) { left: 4%; animation-duration: 9s; animation-delay: 0s; }
.hero-snow .snowflake:nth-child(2) { left: 12%; animation-duration: 11s; animation-delay: 0.5s; }
.hero-snow .snowflake:nth-child(3) { left: 20%; animation-duration: 8s; animation-delay: 1s; }
.hero-snow .snowflake:nth-child(4) { left: 28%; animation-duration: 10s; animation-delay: 0.2s; }
.hero-snow .snowflake:nth-child(5) { left: 36%; animation-duration: 12s; animation-delay: 1.5s; }
.hero-snow .snowflake:nth-child(6) { left: 44%; animation-duration: 9s; animation-delay: 0.8s; }
.hero-snow .snowflake:nth-child(7) { left: 52%; animation-duration: 11s; animation-delay: 0s; }
.hero-snow .snowflake:nth-child(8) { left: 60%; animation-duration: 8s; animation-delay: 1.2s; }
.hero-snow .snowflake:nth-child(9) { left: 68%; animation-duration: 10s; animation-delay: 0.3s; }
.hero-snow .snowflake:nth-child(10) { left: 76%; animation-duration: 13s; animation-delay: 0.7s; }
.hero-snow .snowflake:nth-child(11) { left: 84%; animation-duration: 9s; animation-delay: 1.8s; }
.hero-snow .snowflake:nth-child(12) { left: 92%; animation-duration: 10s; animation-delay: 0.4s; }
@keyframes snow-fall {
  0% { transform: translateY(0) translateX(0); opacity: 0.6; }
  100% { transform: translateY(100vh) translateX(15px); opacity: 0.25; }
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero-sub { font-size: 1.05rem; opacity: 0.9; line-height: 1.6; margin-bottom: 28px; }
.hero-cta {
  display: inline-block;
  background: #2b6cb0;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s;
}
.hero-cta:hover { background: #2c5282; color: #fff; }
.section { padding: 64px 24px; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #2b6cb0;
  margin-bottom: 10px;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: #1a365d; margin-bottom: 12px; }
.section-sub { font-size: 1rem; color: #4a5568; line-height: 1.65; margin-bottom: 32px; }
.why-section { background: #f7fafc; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: #1a365d; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: #4a5568; line-height: 1.6; margin: 0; }
.how-section { background: #fff; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.step-card {
  background: #f7fafc;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid #2b6cb0;
}
.step-num { display: block; font-size: 12px; font-weight: 800; color: #2b6cb0; margin-bottom: 10px; }
.step-card h3 { font-size: 1rem; font-weight: 700; color: #1a365d; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: #4a5568; line-height: 1.55; margin: 0; }
.safety-section { background: #edf2f7; }
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.safety-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.safety-icon { font-size: 28px; margin-bottom: 12px; }
.safety-card h3 { font-size: 1.1rem; font-weight: 700; color: #1a365d; margin-bottom: 8px; }
.safety-card p { font-size: 0.9rem; color: #4a5568; line-height: 1.6; margin: 0; }
.cta-section {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  color: #fff;
  text-align: center;
}
.cta-section .section-tag { color: rgba(255,255,255,0.8); }
.cta-section .section-title { color: #fff; }
.cta-section .section-sub { color: rgba(255,255,255,0.85); }
.cta-section .hero-cta { background: #fff; color: #1a365d; }
.cta-section .hero-cta:hover { background: #e2e8f0; color: #1a365d; }
.responsible-section { background: #f7fafc; }
.responsible-list { margin: 16px 0 20px 20px; padding: 0; color: #4a5568; line-height: 1.8; }
.responsible-link { font-size: 14px; }
.responsible-link a { color: #2b6cb0; }

/* Sub pages */
.sub-page .sub-hero {
  background: #1a365d;
  color: #fff;
  padding: 48px 20px;
  text-align: center;
}
.sub-title { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; margin: 0; }
.sub-content { max-width: 720px; margin: 0 auto; padding: 40px 20px 48px; }
.sub-text-block {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.sub-h2 { font-size: 1.15rem; color: #1a365d; margin: 24px 0 10px; }
.sub-h2:first-child { margin-top: 0; }
.sub-text-block p { font-size: 1rem; color: #4a5568; line-height: 1.7; margin: 0 0 16px; }
.sub-lead { font-weight: 600; color: #1a365d; margin-bottom: 16px; }
.sub-ul { margin: 8px 0 16px 24px; color: #4a5568; line-height: 1.7; }
.sub-text-block a { color: #2b6cb0; }

/* Policy pages */
.policy-page .policy-hero {
  background: #1a365d;
  color: #fff;
  padding: 36px 20px;
  text-align: center;
}
.policy-title { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; margin: 0 0 8px; }
.policy-updated { font-size: 0.95rem; opacity: 0.9; margin: 0; }
.policy-content {
  max-width: 720px;
  margin: 24px auto 48px;
  padding: 40px 20px 48px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.policy-intro { font-size: 1rem; color: #4a5568; line-height: 1.7; margin-bottom: 24px; }
.policy-h2 { font-size: 1.2rem; color: #1a365d; margin: 28px 0 10px; padding-bottom: 6px; border-bottom: 2px solid #e2e8f0; }
.policy-h2:first-of-type { margin-top: 0; }
.policy-h3 { font-size: 1.05rem; color: #2d3748; margin: 16px 0 6px; }
.policy-p { font-size: 1rem; color: #4a5568; line-height: 1.7; margin: 0 0 14px; }
.policy-link { color: #2b6cb0; text-decoration: none; }
.policy-link:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  background: #1a365d;
  color: #e2e8f0;
  padding: 40px 20px 32px;
  margin-top: 0;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-nav-link { color: #90cdf4; text-decoration: none; font-size: 14px; font-weight: 500; }
.footer-nav-link:hover { color: #fff; text-decoration: underline; }
.centers-grid {
  margin-bottom: 28px;
  padding: 24px;
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
}
.centers-title { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 16px; text-align: center; }
.centers-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px 24px;
  align-items: center;
  justify-items: center;
}
.center-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #90cdf4;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}
.center-link:hover { color: #fff; }
.center-logo { height: 32px; width: auto; max-width: 120px; object-fit: contain; }
.center-name-fallback { display: none; font-size: 11px; text-align: center; }
.center-name-fallback.show { display: block; }
.footer-disclaimer { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.8); }
.footer-disclaimer p { margin: 0 0 12px; }
.footer-copy { font-weight: 600; color: #fff; }
.footer-org, .footer-licence { font-size: 12px; color: rgba(255,255,255,0.7); }
.footer-note, .footer-18, .footer-charity { color: rgba(255,255,255,0.85); }
.footer-legal a { color: #90cdf4; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
.footer-responsible { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 12px; color: rgba(255,255,255,0.75); }
.footer-responsible a { color: #90cdf4; }
@media (max-width: 768px) {
  .centers-logos { gap: 12px; }
  .center-link { max-width: 120px; }
  .center-logo { height: 36px; max-width: 120px; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: auto;
  max-width: 380px;
  background: #1a365d;
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  z-index: 9998;
  display: none;
  flex-direction: column;
  gap: 12px;
}
.cookie-banner.show { display: flex; }
.cookie-text { font-size: 14px; line-height: 1.5; margin: 0; color: #e2e8f0; }
.cookie-link { color: #90cdf4; text-decoration: none; }
.cookie-link:hover { text-decoration: underline; }
.cookie-btn {
  align-self: flex-start;
  padding: 8px 20px;
  background: #2b6cb0;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.cookie-btn:hover { background: #2c5282; }
@media (max-width: 480px) {
  .cookie-banner { right: 12px; left: 12px; bottom: 12px; max-width: none; }
}

@media (max-width: 768px) {
  .hero { padding: 60px 20px 80px; }
  .section { padding: 48px 20px; }
}
