
:root {
  --route-progress-color: linear-gradient(90deg, rgba(36,195,102,0.95), rgba(5,103,86,0.98));
}

body.is-route-loading #page-root {
  opacity: 0.78;
  transition: opacity 0.22s ease;
}

body.is-route-loading .page-shell {
  position: relative;
}

body.is-route-loading .page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.38) 50%, rgba(255,255,255,0) 100%);
  animation: proschoolSkeletonSweep 1.05s linear infinite;
}

.route-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 4px;
  width: 0;
  background: var(--route-progress-color);
  z-index: 1200;
  border-radius: 0 999px 999px 0;
  box-shadow: 0 8px 18px rgba(5, 103, 86, 0.25);
  opacity: 0;
  transition: opacity 0.18s ease;
}

body.is-route-loading .route-progress {
  width: 76%;
  opacity: 1;
  animation: proschoolProgressIndeterminate 1.2s ease-in-out infinite;
}

.page-hero {
  overflow: hidden;
}

.page-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  align-items: center;
}

.page-hero__copy {
  min-width: 0;
}

.page-hero__visual {
  position: relative;
  display: grid;
  gap: 0.95rem;
  justify-items: stretch;
}

.page-hero__visual-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(6, 70, 60, 0.08), rgba(11, 125, 97, 0.02));
  border: 1px solid rgba(5, 103, 86, 0.12);
  box-shadow: 0 22px 48px rgba(3, 29, 34, 0.11);
}

.page-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.page-hero__visual-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #0a5f52;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(3, 29, 34, 0.12);
  backdrop-filter: blur(8px);
}

.page-hero__visual-note {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(5, 103, 86, 0.08);
  box-shadow: 0 12px 30px rgba(3, 29, 34, 0.08);
  color: #20433d;
  font-size: 0.95rem;
}

.page-hero__visual-note strong {
  color: #093c36;
}

.page-hero__visual-note::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #36ca80, #0a7d61);
  flex: 0 0 auto;
  box-shadow: 0 0 0 6px rgba(54, 202, 128, 0.14);
}

.enhanced-hero-image {
  transition: transform 0.35s ease;
}

.page-hero__visual-frame:hover .enhanced-hero-image {
  transform: translateY(-2px) scale(1.01);
}

.home-quick-action,
.guide-card,
.download-tile,
.info-card,
.offer-card,
.commercial-feature-card {
  will-change: transform;
}

@keyframes proschoolSkeletonSweep {
  from { transform: translateX(-35%); }
  to { transform: translateX(35%); }
}

@keyframes proschoolProgressIndeterminate {
  0% { transform: translateX(-12%); width: 28%; }
  50% { transform: translateX(48%); width: 62%; }
  100% { transform: translateX(122%); width: 28%; }
}

@media (max-width: 1024px) {
  .page-hero__layout {
    grid-template-columns: 1fr;
  }

  .page-hero__visual {
    max-width: 720px;
  }
}

@media (max-width: 680px) {
  .page-hero__visual-badge {
    position: static;
    justify-self: start;
  }

  .page-hero__visual-note {
    font-size: 0.92rem;
  }
}
