:root {
  --blue-950: #06163a;
  --blue-900: #08275f;
  --blue-800: #0b3d89;
  --blue-700: #1557b0;
  --blue-100: #eaf3ff;
  --blue-50: #f5f9ff;
  --gold: #d99a20;
  --gold-2: #f7bd3f;
  --green: #2f8f57;
  --text: #1c2536;
  --muted: #657186;
  --white: #ffffff;
  --bg: #f7fbff;
  --border: rgba(8, 40, 93, .12);
  --shadow: 0 18px 45px rgba(8, 40, 93, .12);
  --shadow-soft: 0 12px 30px rgba(8, 40, 93, .08);
  --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }

.topbar {
  background: linear-gradient(90deg, var(--blue-950), var(--blue-800));
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 700;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
}
.topbar .container {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar-list {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar i { color: var(--gold-2); margin-right: 6px; }

.site-header {
  position: fixed;
  inset: 36px 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(8, 40, 93, .08);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 12px 34px rgba(8, 40, 93, .10);
}
.nav-wrap {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 305px;
}
.logo-img {
  width: 60px;
  height: 74px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 12px rgba(8, 40, 93, .20));
}
.brand h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1;
  color: var(--blue-950);
  letter-spacing: -.4px;
}
.brand p {
  margin-top: 5px;
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 23px;
  font-weight: 800;
  color: var(--blue-950);
}
.nav-links a {
  position: relative;
  padding: 10px 0;
  opacity: .82;
  transition: opacity .25s ease, color .25s ease;
  white-space: nowrap;
  font-size: 14px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--gold-2);
  transition: width .25s ease;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--blue-700); }
.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-2), #df8f13);
  color: #fff;
  font-weight: 900;
  padding: 14px 18px;
  box-shadow: 0 12px 24px rgba(217, 154, 32, .28);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(217, 154, 32, .34); }
.menu-btn { display: none; }
section { scroll-margin-top: 132px; }

.hero {
  position: relative;
  min-height: 820px;
  padding-top: 155px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 25%, rgba(21,87,176,.14), transparent 34%),
    linear-gradient(120deg, #ffffff 0%, #f4f9ff 48%, #eaf4ff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto auto 80px -90px;
  width: 250px;
  height: 250px;
  background-image: radial-gradient(rgba(21, 87, 176, .18) 2px, transparent 2px);
  background-size: 22px 22px;
  opacity: .8;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 44px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.badge, .official-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
}
.badge {
  border: 1px solid rgba(217, 154, 32, .32);
  background: #fff8e6;
  color: #9c6512;
}
.official-badge {
  margin-left: 8px;
  border: 1px solid rgba(47, 143, 87, .28);
  background: #edfdf4;
  color: #216b41;
}
.hero h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  color: var(--blue-950);
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}
.hero h2 span { color: var(--blue-700); }
.hero p.lead {
  color: #31405a;
  max-width: 640px;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.68;
  margin-bottom: 26px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.primary-btn, .outline-btn, .light-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 900;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.primary-btn {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-950));
  color: #fff;
  box-shadow: 0 16px 28px rgba(8, 40, 93, .23);
}
.outline-btn {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--blue-900);
}
.light-btn {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
}
.primary-btn:hover, .outline-btn:hover, .light-btn:hover { transform: translateY(-2px); }
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 665px;
}
.mini-feature {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(8,40,93,.09);
  border-radius: 18px;
  padding: 13px;
  box-shadow: 0 12px 24px rgba(8,40,93,.07);
}
.mini-feature i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--blue-700);
  flex: 0 0 auto;
}
.mini-feature:nth-child(2) i { background: var(--gold); }
.mini-feature:nth-child(3) i { background: var(--green); }
.mini-feature strong { display: block; font-size: 13px; color: var(--blue-950); }

.hero-visual {
  position: relative;
  height: 560px;
  border-radius: 42px 0 0 42px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(var(--parallax-y, 0px));
  will-change: transform;
  background: var(--blue-900);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: linear-gradient(var(--gold-2), var(--gold));
  z-index: 4;
}
.flash-slider, .slide { position: absolute; inset: 0; }
.slide {
  opacity: 0;
  transform: scale(1.06);
  filter: brightness(.94) saturate(.98);
  transition: opacity 2.4s ease, transform 8.5s ease, filter 2.4s ease;
}
.slide.active {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1.05) saturate(1.05);
  z-index: 2;
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,27,69,.26), transparent 55%), linear-gradient(0deg, rgba(7,27,69,.18), transparent 42%);
}
.flash-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.0) 36%, rgba(255,255,255,.42) 46%, rgba(255,255,255,.0) 58%, transparent 100%);
  transform: translateX(-120%);
  animation: flashSweep 8s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes flashSweep {
  0%, 48% { transform: translateX(-120%); opacity: 0; }
  55% { opacity: .85; }
  70%, 100% { transform: translateX(120%); opacity: 0; }
}
.hero-caption {
  position: absolute;
  left: 34px;
  bottom: 30px;
  z-index: 5;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 20px;
  padding: 15px 18px;
  max-width: 370px;
  box-shadow: 0 18px 35px rgba(0,0,0,.14);
}
.hero-caption strong { color: var(--blue-950); display: block; margin-bottom: 4px; }
.hero-caption span { color: var(--muted); font-size: 14px; line-height: 1.4; }

.section-pad { padding: 90px 0; }
.section-title { margin-bottom: 34px; }
.section-title small {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.section-title h3 {
  margin-top: 8px;
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--blue-950);
  line-height: 1.1;
}
.section-title p {
  margin-top: 12px;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

.trust-strip { margin-top: -42px; position: relative; z-index: 10; }
.trust-grid {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: 0; }
.trust-item i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-100);
  color: var(--blue-800);
  flex: 0 0 auto;
}
.trust-item strong { display: block; color: var(--blue-950); font-size: 14px; }
.trust-item span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }

.about-grid {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 30px;
  align-items: stretch;
}
.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.75);
  min-height: 430px;
  background: var(--blue-100);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.75);
  color: var(--blue-950);
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(0,0,0,.12);
}
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.info-card p { color: var(--muted); line-height: 1.85; margin: 14px 0 22px; }
.official-list { display: grid; gap: 12px; margin: 22px 0 24px; }
.official-list li { list-style: none; display: flex; gap: 12px; color: #34425d; line-height: 1.6; }
.official-list i { color: var(--green); margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.stat { padding: 18px; background: var(--blue-100); border-radius: 18px; text-align: center; }
.stat strong { font-size: 28px; color: var(--blue-800); display: block; }
.stat span { color: var(--muted); font-weight: 800; font-size: 13px; }

.levels { background: #fff; border-block: 1px solid var(--border); }
.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.level-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  min-height: 305px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #fff, #edf6ff);
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.level-card:nth-child(2) { background: linear-gradient(145deg, #fff, #fff7e6); }
.level-card:nth-child(3) { background: linear-gradient(145deg, #fff, #eefbf4); }
.level-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.level-icon {
  width: 66px;
  height: 66px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue-700);
  font-size: 26px;
  margin-bottom: 18px;
}
.level-card:nth-child(2) .level-icon { background: var(--gold); }
.level-card:nth-child(3) .level-icon { background: var(--green); }
.level-card h4 { color: var(--blue-950); font-size: 24px; margin-bottom: 12px; }
.level-card p { color: var(--muted); line-height: 1.72; margin-bottom: 18px; }
.level-card a { color: var(--blue-800); font-weight: 900; }

.admin-section {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.admin-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -120px;
  border-radius: 50%;
  background: rgba(247, 189, 63, .15);
}
.admin-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
}
.admin-section .section-title h3,
.admin-section .section-title small { color: #fff; }
.admin-section .section-title small { color: var(--gold-2); }
.admin-section .section-title p { color: rgba(255,255,255,.78); }
.admin-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.admin-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(10px);
}
.admin-card i { color: var(--gold-2); font-size: 24px; margin-bottom: 12px; }
.admin-card h4 { margin-bottom: 8px; }
.admin-card p { color: rgba(255,255,255,.76); line-height: 1.6; font-size: 14px; }

.gallery-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gallery-item {
  position: relative;
  min-height: 205px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(8, 40, 93, .11);
  transform: translateY(18px);
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
  background: var(--blue-100);
}
.gallery-item.reveal-visible { opacity: 1; transform: translateY(0); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,27,69,.78), transparent 62%);
}
.gallery-item span {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.values { display: grid; gap: 16px; }
.value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.value i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: var(--blue-700);
  flex: 0 0 auto;
  font-size: 20px;
}
.value:nth-child(2) i { background: var(--gold); }
.value:nth-child(3) i { background: var(--green); }
.value h4 { color: var(--blue-950); margin-bottom: 6px; }
.value p { color: var(--muted); line-height: 1.6; }

.contact-panel { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 28px; }
.contact-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.contact-box i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-100);
  color: var(--blue-800);
  margin-bottom: 12px;
}
.contact-box h4 { color: var(--blue-950); margin-bottom: 6px; }
.contact-box p { color: var(--muted); line-height: 1.55; font-weight: 700; }

.contact {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(247, 189, 63, .15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.1fr .9fr .9fr;
  gap: 34px;
  position: relative;
  z-index: 2;
}
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-logo { width: 66px; height: 82px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0,0,0,.20)); }
.footer-brand h3 { font-family: "Playfair Display", serif; font-size: 26px; line-height: 1.05; }
.footer-brand p, .footer-col p, .footer-col a { color: rgba(255,255,255,.78); line-height: 1.7; }
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col i { color: var(--gold-2); margin-right: 8px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  color: #fff;
  transition: transform .25s ease, background .25s ease;
}
.socials a:hover { transform: translateY(-3px); background: var(--gold); }
.copyright {
  position: relative;
  z-index: 2;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.16);
  text-align: center;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.reveal { transform: translateY(24px); opacity: 0; transition: opacity .85s ease, transform .85s ease; }
.reveal.reveal-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .brand { min-width: 285px; }
}
@media (max-width: 1020px) {
  .topbar .container { justify-content: center; padding: 8px 0; }
  .site-header { inset: 50px 0 auto 0; }
  .menu-btn {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: var(--blue-100);
    color: var(--blue-900);
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  .nav-links {
    position: fixed;
    top: 86px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 16px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 14px; }
  .nav-wrap > .cta { display: none; }
  .hero-grid, .about-grid, .why-grid, .admin-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 165px; min-height: auto; padding-bottom: 60px; }
  .hero-visual { height: 430px; border-radius: 32px; }
  .level-grid { grid-template-columns: 1fr; }
  .gallery-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item { border-bottom: 1px solid var(--border); }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-bottom: 0; }
  .contact-panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar { display: none; }
  .site-header { inset: 0 0 auto 0; }
  .nav-wrap { height: 78px; }
  .brand { min-width: auto; }
  .brand h1 { font-size: 17px; }
  .brand p { font-size: 11px; }
  .logo-img { width: 46px; height: 58px; }
  .hero { padding-top: 116px; }
  .hero-features, .stats, .gallery-row, .footer-grid, .trust-grid, .admin-cards { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: 0; }
  .hero-visual { height: 330px; }
  .hero-caption { left: 16px; right: 16px; bottom: 16px; }
  .section-pad { padding: 62px 0; }
  .official-badge { margin-left: 0; margin-top: 8px; }
}
