:root {
  color-scheme: light;
  --bg: #fbfdf6;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --surface-soft: #f0f8dc;
  --text: #142018;
  --muted: #607156;
  --line: rgba(61, 118, 33, 0.16);
  --brand: #68b82d;
  --brand-2: #2f7f28;
  --brand-3: #0f4f25;
  --accent: #f1d20b;
  --accent-2: #c99b12;
  --ink: #101411;
  --danger: #c24135;
  --shadow: 0 18px 45px rgba(48, 100, 32, 0.16);
  --shadow-soft: 0 10px 25px rgba(48, 100, 32, 0.1);
  --radius: 18px;
  --radius-sm: 12px;
  --container: min(1160px, calc(100% - 32px));
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #071009;
  --surface: rgba(16, 28, 13, 0.86);
  --surface-solid: #101b0d;
  --surface-soft: #172611;
  --text: #f5f8ef;
  --muted: #bacab0;
  --line: rgba(213, 241, 180, 0.15);
  --brand: #8dd74f;
  --brand-2: #6fbe36;
  --brand-3: #b6ec78;
  --accent: #f6d718;
  --accent-2: #dfb915;
  --ink: #f5f8ef;
  --danger: #f87171;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(circle at 8% 0%, rgba(241, 210, 11, 0.16), transparent 27rem),
    radial-gradient(circle at 92% 10%, rgba(104, 184, 45, 0.2), transparent 32rem),
    linear-gradient(180deg, var(--bg), var(--surface-soft));
  color: var(--text);
  transition: background 240ms ease, color 240ms ease;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid rgba(214, 166, 69, 0.7); outline-offset: 3px; }
.container { width: var(--container); margin-inline: auto; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 14px;
  border-radius: 999px; background: var(--brand); color: #fff; transition: top 180ms ease;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 253, 246, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}
[data-theme="dark"] .site-header { background: rgba(7, 16, 9, 0.78); }
.site-header.is-scrolled { box-shadow: var(--shadow-soft); border-color: var(--line); }
.topbar {
  display: grid; grid-template-columns: 44px 48px 1fr 44px 44px; gap: 8px; align-items: center;
  min-height: 66px; width: var(--container); margin: 0 auto;
}
.icon-btn {
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--text); display: grid; place-items: center;
  cursor: pointer; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.icon-btn:hover { transform: translateY(-2px); border-color: rgba(104, 184, 45, 0.46); color: var(--brand-2); }
.brand-logo {
  width: 56px; height: 56px; display: grid; place-items: center; color: #fff;
  overflow: hidden;
  font-weight: 900;
}
.brand-logo img { width: 86%; height: 86%; object-fit: contain; transform: none; }
@media (min-width: 760px) {
  .desktop-brand .brand-logo {
    width: 76px;
    height: 76px;
  }
  .desktop-brand .brand-logo img {
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 759px) {
  .topbar .brand-logo {
    width: 48px;
    height: 48px;
  }
  .topbar .brand-logo img {
    width: 90%;
    height: 90%;
  }
}
.brand-title { min-width: 0; }
.brand-title strong { display: block; font-size: 0.95rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-title span { display: block; color: var(--muted); font-size: 0.74rem; margin-top: 2px; }
.mobile-nav {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; width: var(--container); margin: 0 auto;
  padding: 0 0 12px;
}
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-mega {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: var(--container); margin: -4px auto 12px;
  max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-6px); transition: 200ms ease;
}
.mobile-mega.open { max-height: 260px; opacity: 1; transform: translateY(0); }
.mobile-mega a { padding: 13px; border-radius: 15px; background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow-soft); font-weight: 800; }
.nav-pill, .desktop-nav a, .desktop-nav button {
  border: 0; background: transparent; color: var(--text); cursor: pointer;
}
.nav-pill {
  flex: 0 0 auto; padding: 9px 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-weight: 700; font-size: 0.88rem;
}
.nav-pill.active, .nav-pill:hover { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-color: transparent; box-shadow: 0 10px 22px rgba(104, 184, 45, .24); }
.desktop-row { display: none; width: var(--container); margin: 0 auto; min-height: 74px; align-items: center; justify-content: space-between; }
.desktop-brand { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.desktop-brand small { display: block; margin-top: 2px; color: var(--muted); font-size: .73rem; letter-spacing: .18em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 6px; }
.desktop-nav a, .desktop-nav button { padding: 12px 13px; border-radius: 12px; font-weight: 750; }
.desktop-nav a:hover, .desktop-nav button:hover { background: linear-gradient(135deg, rgba(104, 184, 45, .12), rgba(241, 210, 11, .12)); color: var(--brand-2); }
.desktop-nav a.active { color: var(--brand-2); background: rgba(104, 184, 45, .11); }
.desktop-school-header {
  min-height: 0; padding: 12px 0 9px; display: none; flex-direction: column; gap: 9px;
}
.desktop-topline {
  width: 100%; display: grid; grid-template-columns: minmax(260px, 1fr) minmax(360px, 500px) minmax(230px, 1fr);
  gap: 20px; align-items: center;
}
.desktop-search {
  min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 16px;
  border: 1px solid rgba(20, 32, 24, .14); border-radius: 999px; background: rgba(255,255,255,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 9px 24px rgba(48,100,32,.07);
}
[data-theme="dark"] .desktop-search { background: rgba(255,255,255,.06); border-color: var(--line); }
.desktop-search i { color: var(--muted); }
.desktop-search input {
  width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-weight: 650;
}
.desktop-search input::placeholder { color: color-mix(in srgb, var(--muted), transparent 18%); }
.desktop-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; }
.desktop-actions a {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(16,20,17,.09); color: var(--ink); transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
[data-theme="dark"] .desktop-actions a { background: rgba(255,255,255,.1); color: var(--text); }
.desktop-actions a:hover { transform: translateY(-2px); background: rgba(104,184,45,.18); color: var(--brand-2); }
.desktop-nav-main {
  width: 100%; justify-content: center; gap: 3px; padding-top: 5px; border-top: 1px solid var(--line);
  flex-wrap: nowrap;
  background: rgba(255,255,255,.86); border-radius: 999px; padding: 7px 10px;
  box-shadow: 0 10px 26px rgba(48,100,32,.08), inset 0 1px 0 rgba(255,255,255,.8);
}
[data-theme="dark"] .desktop-nav-main { background: rgba(255,255,255,.08); }
.desktop-nav-main a, .desktop-nav-main button {
  font-size: clamp(.82rem, .92vw, .96rem); padding: 10px clamp(7px, .72vw, 12px); white-space: nowrap;
}
.desktop-nav-main i, .desktop-nav-main .dropdown-toggle i { color: #d33d28; font-size: .68rem; margin-left: 3px; }
.running-text {
  width: 100%; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px;
  min-height: 34px; border: 1px solid rgba(104,184,45,.16); border-radius: 999px;
  background: linear-gradient(135deg, rgba(104,184,45,.08), rgba(241,210,11,.08)); overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.mobile-running {
  width: var(--container); margin: -4px auto 10px; min-height: 31px; border-radius: 12px;
}
.mobile-running .ticker-label { padding: 0 10px; font-size: .78rem; }
.mobile-running .ticker-track { font-size: .82rem; animation-duration: 24s; }
.ticker-label {
  height: 100%; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px;
  background: linear-gradient(135deg, rgba(47,127,40,.95), rgba(20,78,26,.95)); color: #fff; font-weight: 850;
}
.ticker-viewport { overflow: hidden; white-space: nowrap; }
.ticker-track {
  display: inline-flex; gap: 34px; padding-right: 34px; color: var(--muted); font-weight: 750;
  animation: ticker-move 32s linear infinite;
}
.ticker-track span::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2); margin-right: 12px; vertical-align: middle;
}
.running-text:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-move {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}
.dropdown-wrap { position: relative; }
.mega-menu {
  position: absolute; top: calc(100% + 12px); left: 0; width: min(520px, calc(100vw - 32px));
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: 180ms ease;
}
.mega-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mega-menu a { padding: 14px; border-radius: 14px; background: var(--surface-soft); display: grid; gap: 5px; }
.mega-menu small { color: var(--muted); }
.mobile-drawer {
  position: fixed; inset: 0 auto 0 0; width: min(330px, 86vw); z-index: 150; background: var(--surface-solid);
  transform: translateX(-105%); transition: transform 220ms ease; box-shadow: var(--shadow); padding: 18px;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.38); z-index: 140; opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-links { display: grid; gap: 8px; }
.drawer-links a { padding: 13px 12px; border-radius: 14px; background: var(--surface-soft); font-weight: 750; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.mini-grid a { font-size: 0.9rem; background: var(--surface); border: 1px solid var(--line); }

.hero {
  min-height: clamp(520px, 72vh, 650px); position: relative; display: grid; align-items: end; overflow: hidden;
  background: #0a2410;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slider::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(241, 210, 11, .38), transparent 24rem),
    linear-gradient(115deg, rgba(7, 43, 18, .9) 0%, rgba(47, 127, 40, .66) 48%, rgba(104, 184, 45, .35) 100%);
}
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.04); transition: opacity 900ms ease, transform 6500ms linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 140px; z-index: 1;
  background: linear-gradient(0deg, var(--bg), transparent);
}
.hero-dots {
  position: absolute; z-index: 3; right: max(16px, calc((100vw - 1160px) / 2)); bottom: 36px;
  display: flex; gap: 8px;
}
.hero-dots button {
  width: 10px; height: 10px; border: 0; border-radius: 999px; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.52); transition: width 220ms ease, background 220ms ease;
}
.hero-dots button.active { width: 30px; background: var(--accent); }
.hero-arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  background: rgba(12, 24, 14, .48); color: rgba(255,255,255,.88); backdrop-filter: blur(10px);
  display: grid; place-items: center; cursor: pointer; transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.hero-arrow:hover { background: rgba(12, 24, 14, .66); border-color: rgba(241,210,11,.32); transform: translateY(-50%) scale(1.04); }
.hero-arrow-left { left: max(14px, calc((100vw - 1160px) / 2)); }
.hero-arrow-right { right: max(14px, calc((100vw - 1160px) / 2)); }
.hero-inner {
  position: relative; z-index: 2; width: var(--container); margin: 0 auto; padding: 210px 0 64px;
  display: grid; gap: 22px; color: #fff;
}

@media (max-width: 759px) {
  .hero-arrow { width: 38px; height: 38px; top: auto; bottom: 86px; }
  .hero-arrow-left { left: 16px; }
  .hero-arrow-right { right: 16px; }
  .hero-dots { right: 50%; transform: translateX(50%); bottom: 42px; }
  .hero { min-height: 560px; }
  .hero-inner { padding: 190px 0 96px; }
}

@media (min-width: 760px) and (max-width: 979px) {
  .topbar { display: grid !important; }
  .mobile-nav { display: flex !important; }
  .mobile-running { display: grid !important; }
  .desktop-row { display: none !important; }
}
.hero-kicker { display: inline-flex; width: fit-content; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(12px); font-weight: 800; }
.hero h1 {   font-size: clamp(2rem, 6vw, 4.2rem); line-height: .98; margin: 0; letter-spacing: 0; max-width: 900px; }
.hero p { max-width: 650px; font-size: clamp(1rem, 2.2vw, 1.25rem); line-height: 1.7; margin: 0; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 18px;
  border-radius: 15px; border: 1px solid transparent; font-weight: 850; cursor: pointer; transition: 180ms ease;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 12px 30px rgba(104, 184, 45, .3); }
.btn-primary:hover, .btn-ghost:hover { transform: translateY(-2px); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.hero-card {
  width: min(100%, 430px); padding: 16px; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius);
  background: rgba(255,255,255,.14); backdrop-filter: blur(16px); box-shadow: 0 18px 45px rgba(0,0,0,.18);
}
.hero-card strong { display: block; margin-bottom: 8px; }

.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 24px; }
.eyebrow { color: var(--brand-2); font-weight: 900; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
h2 { font-size: clamp(1.65rem, 4vw, 2.9rem); line-height: 1.06; margin: 8px 0 0; letter-spacing: 0; }
.lead { color: var(--muted); line-height: 1.7; max-width: 640px; }
.grid { display: grid; gap: 16px; }
.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: 18px; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat strong { font-size: clamp(1.8rem, 6vw, 3.2rem); color: var(--brand-2); text-shadow: 0 8px 22px rgba(104, 184, 45, .18); }
.stat span { display: block; color: var(--muted); margin-top: 4px; }
.menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.menu-card { position: relative; overflow: hidden; min-height: 124px; display: grid; align-content: space-between; }
.menu-card i { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, rgba(104,184,45,.16), rgba(241,210,11,.2)); color: var(--brand-2); display: grid; place-items: center; font-size: 1.1rem; }
.menu-card::after { content: ""; position: absolute; width: 40px; height: 40px; border-radius: 50%; background: rgba(241,210,11,.18); right: -8px; bottom: -8px; transform: scale(0); transition: transform 250ms ease; }
.menu-card:active::after { transform: scale(5); }
.split { display: grid; gap: 20px; }
.principal { display: grid; gap: 18px; align-items: center; }
.principal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.news-grid { grid-template-columns: 1fr; }
.news-card img, .gallery-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; }
.meta { color: var(--muted); font-size: .86rem; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.badge { color: var(--brand-2); background: linear-gradient(135deg, rgba(104,184,45,.14), rgba(241,210,11,.16)); padding: 5px 9px; border-radius: 999px; font-weight: 800; }
.list { display: grid; gap: 12px; }
.list-item { display: flex; gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.datebox { width: 54px; min-width: 54px; border-radius: 14px; background: linear-gradient(150deg, var(--brand), var(--brand-2)); color: #fff; text-align: center; padding: 8px 5px; font-weight: 900; box-shadow: 0 10px 18px rgba(104,184,45,.22); }
.datebox small { display: block; font-size: .7rem; font-weight: 700; opacity: .9; }
.gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-shell { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #0b1d15; box-shadow: var(--shadow); }
.video-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.partners { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.partner { flex: 0 0 160px; height: 74px; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; display: grid; place-items: center; font-weight: 900; color: var(--muted); }

.site-footer { padding: 52px 0 28px; background: linear-gradient(135deg, #0a2410, #17440f 58%, #2f5f12); color: #f4f8ef; }
.footer-grid { display: grid; gap: 24px; }
.footer-grid a { color: #d7efe5; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.copyright { margin-top: 28px; color: rgba(234,248,241,.72); font-size: .9rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }

.page-hero { padding: 92px 0 44px; background: linear-gradient(135deg, rgba(15,138,95,.16), rgba(214,166,69,.14)); border-bottom: 1px solid var(--line); }
.form-grid { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 800; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: var(--surface-solid); color: var(--text); border-radius: 14px; padding: 12px 13px;
}
.field textarea { min-height: 120px; resize: vertical; }
.alert { padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); }
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); display: none; place-items: center; padding: 16px; z-index: 200;
}
.modal.open { display: grid; }
.modal-card { width: min(460px, 100%); background: var(--surface-solid); color: var(--text); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.search-panel {
  position: fixed; inset: 74px 16px auto; z-index: 160; background: var(--surface-solid); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: none;
}
.search-panel.open { display: block; }

.auth-shell, .dashboard-shell { min-height: 100vh; }
.auth-shell { display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(430px, 100%); }
.tabs { display: flex; gap: 8px; padding: 6px; background: var(--surface-soft); border-radius: 15px; margin-bottom: 16px; }
.tab { flex: 1; border: 0; border-radius: 12px; padding: 11px; background: transparent; color: var(--text); font-weight: 900; cursor: pointer; }
.tab.active { background: var(--surface-solid); box-shadow: var(--shadow-soft); }
.dashboard-shell { display: grid; grid-template-columns: 1fr; }
.sidebar { background: var(--surface-solid); border-bottom: 1px solid var(--line); padding: 14px; position: sticky; top: 0; z-index: 20; }
.side-nav { display: flex; gap: 8px; overflow-x: auto; }
.side-nav button { white-space: nowrap; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 10px 12px; border-radius: 13px; cursor: pointer; font-weight: 800; }
.side-nav button.active { background: var(--brand); color: #fff; }
.dash-main { padding: 18px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: .82rem; text-transform: uppercase; }
.skeleton { position: relative; overflow: hidden; background: var(--surface-soft); min-height: 120px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.36), transparent); animation: shimmer 1.5s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (min-width: 760px) {
  .mobile-only { display: none !important; }
  .topbar, .mobile-nav, .mobile-running { display: none; }
  .desktop-row { display: flex; }
  .hero-inner { grid-template-columns: minmax(0, 820px); align-items: end; }
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split, .principal { grid-template-columns: 1.05fr .95fr; }
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr .8fr .8fr 1fr; }
  .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-shell { grid-template-columns: 260px 1fr; }
  .sidebar { min-height: 100vh; border-right: 1px solid var(--line); border-bottom: 0; }
  .side-nav { display: grid; overflow: visible; }
  .dash-main { padding: 28px; }
}
