

:root {
  --blue:       #0088cc;
  --blue-dark:  #006699;
  --blue-light: #00aaff;
  --blue-glow:  rgba(0,136,204,0.25);
  --red:        #B22222;
  --red-dark:   #8B0000;
  --purple:     #7B2FBE;
  --teal:       #00b4a0;
  --dark:       #080c12;
  --dark-2:     #0d1117;
  --dark-3:     #161b22;
  --dark-4:     #1e2530;
  --glass:      rgba(255,255,255,0.04);
  --glass-b:    rgba(255,255,255,0.08);
  --text:       #e0e8f0;
  --text-muted: #7a8a9a;
  --text-light: #a0b0c0;
  --ann-h:      38px;
  --nav-h:      68px;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 20px 60px rgba(0,0,0,0.6);
  --tr:         0.3s cubic-bezier(0.4,0,0.2,1);
  --font-d:     'Orbitron', sans-serif;
  --font-m:     'Montserrat', sans-serif;
  --font-b:     'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }
body { background: var(--dark); color: var(--text); font-family: var(--font-b); line-height: 1.6; overflow-x: hidden; max-width: 100%; position: relative; }
canvas, video, img { max-width: 100%; }
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, textarea, button { font-family: inherit; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

#loader {
  position: fixed; inset: 0; background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity 0.8s, visibility 0.8s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loader-logo-wrap {
  position: relative; width: 130px; height: 130px;
  display: flex; align-items: center; justify-content: center;
}
.loader-logo-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--blue);
  border-right-color: var(--blue-light);
  animation: spin 1.2s linear infinite;
}
.loader-logo-ring.ring2 {
  inset: 12px;
  border-top-color: transparent;
  border-bottom-color: var(--red);
  animation: spin 1.8s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-logo-img {
  width: 80px; height: 80px; object-fit: contain;
  animation: loader-pulse 2s ease-in-out infinite;
}
@keyframes loader-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.loader-svg-fallback { display: none; animation: loader-pulse 2s ease-in-out infinite; }
.loader-title {
  font-family: var(--font-d); font-size: 13px; font-weight: 700;
  color: var(--text-muted); letter-spacing: 2px; text-align: center;
  text-transform: uppercase; line-height: 1.6;
}
.loader-bar {
  width: 220px; height: 3px; background: var(--dark-4);
  border-radius: 2px; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--blue-light));
  border-radius: 2px;
  animation: loader-progress 2.5s ease forwards;
}
@keyframes loader-progress { to { width: 100%; } }
.loader-pct { font-family: var(--font-d); font-size: 12px; color: var(--blue); }

.cursor-dot, .cursor-ring {
  position: fixed; border-radius: 50%; pointer-events: none; z-index: 9998;
}
.cursor-dot {
  width: 8px; height: 8px; background: var(--blue);
  transform: translate(-50%,-50%);
}
.cursor-ring {
  width: 36px; height: 36px; border: 1.5px solid rgba(0,136,204,0.5);
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, border-color .3s;
}
.cursor-ring.hovered { width: 52px; height: 52px; border-color: var(--blue); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.announcement-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  height: var(--ann-h); background: var(--red-dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; overflow: hidden;
  transform: translateY(0); transition: transform .35s ease;
}
.announcement-bar.hidden-on-scroll { transform: translateY(-100%); }
.announcement-content { display: flex; align-items: center; gap: 10px; flex: 1; overflow: hidden; }
.ann-icon { flex-shrink: 0; font-size: 13px; }
.ann-ticker {
  display: flex; gap: 24px; align-items: center;
  font-family: var(--font-m); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.3px; white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ann-sep { color: rgba(255,255,255,0.35); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ann-cta {
  flex-shrink: 0; font-family: var(--font-m); font-size: 11px; font-weight: 700;
  letter-spacing: 1px; color: white; padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 4px;
  transition: background var(--tr);
}
.ann-cta:hover { background: rgba(255,255,255,0.15); }

#navbar {
  position: fixed; top: var(--ann-h); left: 0; right: 0; z-index: 1000;
  background: transparent; transition: background .4s, box-shadow .4s, top .4s;
}
#navbar.scrolled {
  background: rgba(8,12,18,0.94); backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--glass-b); top: 0;
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: var(--nav-h); display: flex; align-items: center; gap: 24px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 42px; width: auto; }
.logo-fallback { display: flex; align-items: center; gap: 10px; }
.logo-text { display: flex; flex-direction: column; }
.logo-univ { font-family: var(--font-m); font-size: 9px; font-weight: 600; letter-spacing: 1.5px; color: var(--text-muted); line-height: 1.2; }
.logo-name { font-family: var(--font-d); font-size: 12px; font-weight: 700; color: white; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav-link {
  padding: 7px 11px; font-family: var(--font-m); font-size: 12px; font-weight: 500;
  color: var(--text-light); letter-spacing: 0.3px; border-radius: 6px;
  transition: color var(--tr), background var(--tr); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 3px; left: 11px; right: 11px;
  height: 2px; background: var(--blue); transform: scaleX(0);
  transition: transform .3s; border-radius: 1px;
}
.nav-link:hover, .nav-link.active { color: white; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta {
  padding: 8px 16px; background: var(--blue); color: white;
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  border-radius: 6px; transition: background var(--tr), transform var(--tr); white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }
.nav-social { display: flex; gap: 8px; flex-shrink: 0; }
.nav-social a {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); border-radius: 6px; transition: color var(--tr), background var(--tr);
}
.nav-social a:hover { color: white; background: var(--glass); }
.nav-progress {
  height: 2px; background: linear-gradient(90deg, var(--red), var(--blue), var(--blue-light));
  width: 0; transition: width .1s;
}
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 1px; transition: var(--tr); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative; height: 100vh; min-height: 680px;
  margin-top: calc(var(--nav-h) + var(--ann-h)); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
#particleCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,136,204,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,136,204,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-move 25s linear infinite; opacity: 0.6;
}
@keyframes grid-move { to { background-position: 60px 60px; } }
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.1;
  animation: glow-pulse 8s ease-in-out infinite;
}
.hero-glow-1 { width: 700px; height: 700px; background: var(--blue); top: -250px; left: -150px; }
.hero-glow-2 { width: 500px; height: 500px; background: var(--red); bottom: -200px; right: -100px; animation-delay: -4s; }
@keyframes glow-pulse { 0%,100% { opacity: 0.1; } 50% { opacity: 0.18; } }

.hero-swiper { width: 100%; height: 100%; }
.swiper-slide { position: relative; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 8s ease; }
.swiper-slide-active .slide-bg img { transform: scale(1); }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,12,18,0.92) 30%, rgba(8,12,18,0.4) 100%);
}
.slide-content {
  position: relative; z-index: 2; max-width: 1280px; margin: 0 auto;
  padding: 0 24px; height: 100%; display: flex; flex-direction: column;
  justify-content: center; padding-top: 30px;
}

.hero-logo-anim {
  margin-bottom: 20px;
  opacity: 0;
  transform: scale(0.3) rotate(-20deg);
  animation: hero-logo-in 1.2s cubic-bezier(0.34,1.56,0.64,1) 0.3s forwards;
}
.hero-logo-anim img { width: 80px; height: 80px; object-fit: contain; }
@keyframes hero-logo-in {
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.slide-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,136,204,0.12); border: 1px solid rgba(0,136,204,0.3);
  color: var(--blue-light); padding: 5px 14px; border-radius: 100px;
  font-family: var(--font-m); font-size: 11px; font-weight: 600; letter-spacing: 1px;
  margin-bottom: 20px; width: fit-content;
}

.hero-title { margin-bottom: 20px; }
.title-line {
  display: block; font-family: var(--font-d); font-weight: 900;
  font-size: clamp(32px, 5.5vw, 68px); line-height: 1.05;
  letter-spacing: -0.5px; text-transform: uppercase; color: white;
  opacity: 0; transform: translateY(50px);
}
.title-line.t1 { animation: line-in .7s cubic-bezier(0.4,0,0.2,1) 0.6s forwards; }
.title-line.t2 { animation: line-in .7s cubic-bezier(0.4,0,0.2,1) 0.8s forwards; }
.title-line.t3 { animation: line-in .7s cubic-bezier(0.4,0,0.2,1) 1.0s forwards; }
.title-line.t4 { animation: line-in .7s cubic-bezier(0.4,0,0.2,1) 1.2s forwards; }
@keyframes line-in { to { opacity: 1; transform: translateY(0); } }
.text-blue { color: var(--blue-light); }
.text-white { color: white; }

.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%;
}
.glitch::before {
  color: var(--red); clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  animation: glitch-top 4s infinite linear alternate-reverse;
}
.glitch::after {
  color: var(--teal); clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  animation: glitch-bot 3s infinite linear alternate-reverse;
}
@keyframes glitch-top { 0%,92%,100% { transform: translate(0); opacity: 0; } 94% { transform: translate(-3px,-1px); opacity: 0.7; } }
@keyframes glitch-bot { 0%,92%,100% { transform: translate(0); opacity: 0; } 95% { transform: translate(3px,1px); opacity: 0.7; } }

.hero-sub {
  max-width: 520px; color: var(--text-light); font-size: 15px; line-height: 1.75;
  margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: white; padding: 13px 26px;
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; border-radius: 8px; text-transform: uppercase;
  border: none; cursor: pointer; position: relative; overflow: hidden;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .6s;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,136,204,0.4); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white; padding: 13px 26px;
  font-family: var(--font-m); font-size: 12px; font-weight: 600;
  letter-spacing: 1px; border-radius: 8px; text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: border-color var(--tr), background var(--tr), transform var(--tr);
}
.btn-ghost:hover { border-color: var(--blue); background: rgba(0,136,204,0.1); transform: translateY(-2px); }

.btn-outline-blue {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--blue); padding: 12px 24px;
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; border-radius: 8px; text-transform: uppercase;
  border: 1.5px solid var(--blue); cursor: pointer;
  transition: background var(--tr), color var(--tr);
}
.btn-outline-blue:hover { background: var(--blue); color: white; }
.full-width { width: 100%; margin-top: 16px; }

.hero-stats { display: flex; align-items: center; }
.stat { text-align: center; padding: 0 20px; }
.stat:first-child { padding-left: 0; }
.stat-num { display: block; font-family: var(--font-d); font-size: 30px; font-weight: 900; color: white; line-height: 1; }
.stat-plus { font-family: var(--font-d); font-size: 18px; color: var(--blue); font-weight: 700; }
.stat-label { display: block; font-size: 10px; color: var(--text-muted); letter-spacing: 0.5px; margin-top: 3px; font-family: var(--font-m); text-transform: uppercase; }
.stat-divider { width: 1px; height: 36px; background: var(--glass-b); }

.hero-prev, .hero-next {
  width: 42px !important; height: 42px !important;
  background: var(--glass) !important; border: 1px solid var(--glass-b) !important;
  backdrop-filter: blur(10px); border-radius: 50% !important; color: white !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  transition: background var(--tr) !important;
}
.hero-prev:hover, .hero-next:hover { background: var(--blue) !important; border-color: var(--blue) !important; }
.hero-prev::after, .hero-next::after { display: none !important; }
.hero-pagination { bottom: 20px !important; }
.hero-pagination .swiper-pagination-bullet { width: 20px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.35); opacity: 1; transition: all .3s; }
.hero-pagination .swiper-pagination-bullet-active { width: 44px; background: var(--blue); }

.scroll-indicator {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-muted); font-size: 10px; font-family: var(--font-m);
  letter-spacing: 1px; text-transform: uppercase;
  animation: scroll-bounce 2.5s ease-in-out infinite;
}
.scroll-mouse { width: 20px; height: 32px; border: 1.5px solid rgba(255,255,255,0.25); border-radius: 10px; display: flex; justify-content: center; padding-top: 5px; }
.scroll-wheel { width: 3px; height: 5px; background: var(--blue); border-radius: 2px; animation: scroll-w 2s ease-in-out infinite; }
@keyframes scroll-w { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
@keyframes scroll-bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(5px); } }

.quick-links { background: var(--dark-2); border-top: 1px solid var(--glass-b); padding: 40px 0; }
.ql-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; }
.ql-card {
  display: flex; align-items: center; gap: 14px; padding: 22px 20px;
  background: var(--dark-3); transition: background var(--tr), transform var(--tr);
  position: relative; overflow: hidden;
}
.ql-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--blue); transform: scaleX(0);
  transition: transform .3s; transform-origin: left;
}
.ql-card:hover { background: var(--dark-4); transform: translateY(-2px); }
.ql-card:hover::before { transform: scaleX(1); }
.ql-icon { font-size: 28px; flex-shrink: 0; }
.ql-text h3 { font-family: var(--font-m); font-size: 13px; font-weight: 700; color: white; margin-bottom: 3px; }
.ql-text p { font-size: 11px; color: var(--text-muted); line-height: 1.4; }
.ql-arrow { color: var(--blue); font-size: 16px; margin-left: auto; flex-shrink: 0; transition: transform .3s; }
.ql-card:hover .ql-arrow { transform: translateX(4px); }

section { padding: 80px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-family: var(--font-m); font-size: 11px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.section-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--blue); }
.section-title {
  font-family: var(--font-d); font-weight: 900;
  font-size: clamp(26px, 3.5vw, 44px); line-height: 1.1;
  color: white; letter-spacing: -0.3px; margin-bottom: 12px;
}
.section-sub { color: var(--text-muted); font-size: 15px; max-width: 580px; }
.section-header { margin-bottom: 44px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-label { justify-content: center; }
.section-header.centered .section-label::before { display: none; }
.section-header.centered .section-sub { margin: 0 auto; }
.text-blue { color: var(--blue-light); }
.link-blue { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 1px; transition: color .3s; }
.link-blue:hover { color: var(--blue-light); }

.about-section { background: var(--dark); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.about-img-wrap img, .about-img-wrap video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; display: block; }
.about-img-wrap:hover img, .about-img-wrap:hover video { transform: scale(1.04); }
.about-badge {
  position: absolute; bottom: -14px; right: -14px;
  background: var(--dark-3); border: 1px solid var(--glass-b);
  border-radius: var(--radius); padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow);
}
.badge-num { display: block; font-family: var(--font-d); font-size: 22px; font-weight: 900; color: var(--blue); line-height: 1; }
.badge-label { display: block; font-size: 10px; color: var(--text-muted); max-width: 110px; line-height: 1.3; }
.about-floating-card {
  position: absolute; top: 20px; right: -18px;
  background: var(--glass); border: 1px solid var(--glass-b);
  backdrop-filter: blur(20px); padding: 10px 14px; border-radius: 10px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.afc-icon { font-size: 22px; }
.afc-text strong { display: block; font-size: 12px; font-weight: 700; color: white; }
.afc-text span { font-size: 10px; color: var(--text-muted); }
@media (max-width: 480px) {
  .about-floating-card {
    top: auto; bottom: 12px; right: 12px;
    padding: 7px 10px; gap: 7px; border-radius: 8px;
    max-width: 62%;
  }
  .afc-icon { font-size: 16px; }
  .afc-text strong { font-size: 10px; }
  .afc-text span { font-size: 8.5px; }
}
.about-content { padding-left: 12px; }
.about-desc { color: var(--text-light); font-size: 15px; line-height: 1.8; margin-bottom: 28px; }
.about-pillars { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.pillar { display: flex; align-items: flex-start; gap: 14px; }
.pillar-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.pillar-icon.blue { background: rgba(0,136,204,0.15); }
.pillar-icon.purple { background: rgba(123,47,190,0.15); }
.pillar-icon.teal { background: rgba(0,180,160,0.15); }
.pillar h4 { font-size: 13px; font-weight: 700; color: white; margin-bottom: 3px; font-family: var(--font-m); }
.pillar p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.specialties-section { background: var(--dark-2); position: relative; overflow: hidden; }
.section-bg-pattern {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,136,204,0.04) 0%, transparent 70%);
}
.spec-swiper { padding: 20px 8px 48px !important; }
.spec-card {
  background: var(--dark-3); border: 1px solid var(--glass-b);
  border-radius: var(--radius-lg); padding: 32px 24px;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
  height: 100%; position: relative; overflow: hidden;
}
.spec-card:hover { transform: translateY(-8px); border-color: rgba(0,136,204,0.35); box-shadow: 0 20px 50px rgba(0,136,204,0.15); }
.spec-num { font-family: var(--font-d); font-size: 44px; font-weight: 900; color: rgba(0,136,204,0.12); line-height: 1; margin-bottom: 12px; position: absolute; top: 16px; right: 20px; }
.spec-icon { font-size: 36px; margin-bottom: 12px; }
.spec-card h3 { font-family: var(--font-m); font-size: 17px; font-weight: 700; color: white; margin-bottom: 10px; }
.spec-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.spec-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.spec-tags span { padding: 3px 10px; background: var(--glass); border: 1px solid var(--glass-b); border-radius: 100px; font-size: 10px; color: var(--text-light); }
.spec-pagination .swiper-pagination-bullet { background: var(--text-muted); }
.spec-pagination .swiper-pagination-bullet-active { background: var(--blue); }
.spec-prev, .spec-next { color: var(--text-muted) !important; transition: color .3s !important; }
.spec-prev:hover, .spec-next:hover { color: var(--blue) !important; }
.spec-prev::after, .spec-next::after { font-size: 14px !important; }

.mvo-section { background: var(--dark); }
.mvo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.mvo-card {
  background: var(--dark-3); border: 1px solid var(--glass-b);
  border-radius: var(--radius-lg); padding: 32px 26px;
  transition: transform var(--tr), box-shadow var(--tr);
}
.mvo-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.mvo-featured { border-color: rgba(0,136,204,0.25); background: linear-gradient(135deg, var(--dark-3) 60%, rgba(0,136,204,0.06)); }
.mvo-icon-wrap { position: relative; width: 60px; height: 60px; margin-bottom: 18px; }
.mvo-icon-bg { position: absolute; inset: 0; border-radius: 14px; }
.mvo-icon-bg.red { background: rgba(178,34,34,0.15); }
.mvo-icon-bg.blue { background: rgba(0,136,204,0.15); }
.mvo-icon-bg.purple { background: rgba(123,47,190,0.15); }
.mvo-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.mvo-tag {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-family: var(--font-m); font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.mvo-tag.red-tag { background: rgba(178,34,34,0.15); color: #e05050; }
.mvo-tag.blue-tag { background: rgba(0,136,204,0.15); color: var(--blue-light); }
.mvo-tag.purple-tag { background: rgba(123,47,190,0.2); color: #b57bee; }
.mvo-card h3 { font-family: var(--font-m); font-size: 15px; font-weight: 700; color: white; margin-bottom: 10px; }
.mvo-card p { font-size: 13px; color: var(--text-muted); line-height: 1.75; }
.mvo-divider { height: 1px; background: var(--glass-b); margin: 18px 0; }
.mvo-keywords { display: flex; flex-wrap: wrap; gap: 6px; }
.mvo-keywords span { padding: 3px 10px; background: var(--glass); border: 1px solid var(--glass-b); border-radius: 100px; font-size: 10px; color: var(--text-light); }
.mvo-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.mvo-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.mvo-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 5px; }

.malla-section { background: var(--dark-2); position: relative; overflow: hidden; }
.perfil-card {
  display: flex; align-items: flex-start; gap: 20px;
  background: linear-gradient(135deg, rgba(0,136,204,0.08), rgba(178,34,34,0.06));
  border: 1px solid rgba(0,136,204,0.2); border-radius: var(--radius-lg);
  padding: 24px 28px; margin-bottom: 36px;
}
.perfil-icon { font-size: 44px; flex-shrink: 0; }
.perfil-content h3 { font-family: var(--font-m); font-size: 16px; font-weight: 700; color: white; margin-bottom: 8px; }
.perfil-content p { font-size: 13px; color: var(--text-light); line-height: 1.75; }
.malla-tab-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.malla-tab-btn {
  padding: 9px 16px; background: var(--dark-3); border: 1px solid var(--glass-b);
  border-radius: 8px; color: var(--text-muted); font-family: var(--font-m);
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all var(--tr);
}
.malla-tab-btn:hover { border-color: rgba(0,136,204,0.4); color: var(--text-light); }
.malla-tab-btn.active { background: var(--blue); border-color: var(--blue); color: white; }
.malla-panel { display: none; animation: panel-in .35s ease; }
.malla-panel.active { display: block; }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.malla-sem-header {
  display: flex; align-items: center; gap: 18px; margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--glass-b);
}
.sem-num { font-family: var(--font-d); font-size: 44px; font-weight: 900; color: rgba(0,136,204,0.2); line-height: 1; flex-shrink: 0; }
.malla-sem-header h3 { font-family: var(--font-m); font-size: 18px; font-weight: 700; color: white; margin-bottom: 3px; }
.malla-sem-header p { font-size: 12px; color: var(--text-muted); }
.malla-subjects { display: flex; flex-direction: column; gap: 9px; }
.subject-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--dark-3); border: 1px solid var(--glass-b);
  border-radius: 10px; padding: 13px 18px; cursor: pointer;
  transition: border-color var(--tr), transform var(--tr), background var(--tr);
}
.subject-card:hover { border-color: rgba(0,136,204,0.3); transform: translateX(4px); background: var(--dark-4); }
.highlight-card { border-color: rgba(0,136,204,0.3) !important; background: linear-gradient(90deg, rgba(0,136,204,0.08), var(--dark-3)) !important; }
.subj-code { font-family: var(--font-d); font-size: 10px; font-weight: 700; color: var(--text-muted); min-width: 70px; letter-spacing: 0.3px; }
.subj-info { flex: 1; }
.subj-info h4 { font-family: var(--font-m); font-size: 13px; font-weight: 600; color: white; margin-bottom: 2px; }
.subj-info span { font-size: 11px; color: var(--text-muted); }
.subj-area { padding: 3px 10px; border-radius: 100px; font-size: 10px; font-weight: 700; font-family: var(--font-m); flex-shrink: 0; }
.subj-area.design  { background: rgba(178,34,34,0.15); color: #e07070; }
.subj-area.prog    { background: rgba(0,136,204,0.15); color: var(--blue-light); }
.subj-area.media   { background: rgba(123,47,190,0.2);  color: #b57bee; }
.subj-area.data    { background: rgba(34,197,94,0.15);  color: #4ade80; }
.subj-area.math    { background: rgba(251,191,36,0.15); color: #fbbf24; }
.subj-area.gestion { background: rgba(156,163,175,0.15);color: #9ca3af; }
.subj-area.taller  { background: rgba(249,115,22,0.15); color: #fb923c; }
.subj-click { font-size: 10px; color: var(--blue); font-family: var(--font-m); font-weight: 600; flex-shrink: 0; white-space: nowrap; }
.malla-legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 24px; padding: 14px 18px;
  background: var(--dark-3); border-radius: 10px; border: 1px solid var(--glass-b);
}
.legend-title { font-family: var(--font-m); font-size: 11px; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.legend-item { padding: 2px 9px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.legend-item.design  { background: rgba(178,34,34,0.15); color: #e07070; }
.legend-item.prog    { background: rgba(0,136,204,0.15); color: var(--blue-light); }
.legend-item.media   { background: rgba(123,47,190,0.2); color: #b57bee; }
.legend-item.data    { background: rgba(34,197,94,0.15); color: #4ade80; }
.legend-item.math    { background: rgba(251,191,36,0.15);color: #fbbf24; }
.legend-item.gestion { background: rgba(156,163,175,0.15);color:#9ca3af; }
.legend-item.taller  { background: rgba(249,115,22,0.15);color: #fb923c; }

.materia-modal {
  display: none; position: fixed; inset: 0; z-index: 5000;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
}
.materia-modal.open { display: flex; }
.materia-modal-inner {
  background: var(--dark-3); border: 1px solid rgba(0,136,204,0.3);
  border-radius: var(--radius-lg); padding: 36px; max-width: 560px; width: 90%;
  position: relative; animation: modal-in .3s ease;
}
@keyframes modal-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--glass); border: 1px solid var(--glass-b); border-radius: 6px;
  color: var(--text-muted); width: 30px; height: 30px; cursor: pointer;
  font-size: 14px; transition: all .3s;
}
.modal-close:hover { background: var(--blue); color: white; border-color: var(--blue); }
.modal-code { font-family: var(--font-d); font-size: 11px; color: var(--blue); letter-spacing: 1px; margin-bottom: 6px; }
#modalTitle { font-family: var(--font-m); font-size: 20px; font-weight: 700; color: white; margin-bottom: 14px; }
#modalDesc { font-size: 14px; color: var(--text-light); line-height: 1.75; margin-bottom: 20px; }
.modal-gallery-hint { font-size: 12px; color: var(--text-muted); }
.modal-gallery-hint code { background: var(--dark-4); padding: 2px 6px; border-radius: 4px; color: var(--blue-light); }

.jobs-section { background: var(--dark); }
.jobs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.jobs-content p { color: var(--text-light); font-size: 15px; line-height: 1.75; margin-bottom: 24px; }
.jobs-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.job-item {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-m); font-size: 13px; color: var(--text-light);
  padding: 11px 16px; background: var(--dark-3); border-radius: 8px;
  border-left: 2px solid transparent; transition: border-color var(--tr), background var(--tr);
}
.job-item:hover { border-color: var(--blue); background: var(--dark-4); color: white; }
.job-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.jobs-visual { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.jobs-donut-wrap { position: relative; display: inline-flex; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-pct { font-family: var(--font-d); font-size: 38px; font-weight: 900; color: white; line-height: 1; }
.donut-label { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.jobs-mini-stats { display: flex; gap: 28px; }
.mini-stat { text-align: center; }
.ms-num { display: block; font-family: var(--font-d); font-size: 18px; font-weight: 700; color: var(--blue-light); }
.ms-label { display: block; font-size: 11px; color: var(--text-muted); margin-top: 3px; }

.news-section { background: var(--dark-2); }
.news-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; margin-bottom: 36px; }
.news-card {
  background: var(--dark-3); border: 1px solid var(--glass-b);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/9; background: var(--dark-4); }
.news-img-wrap.no-img::before { content: '📰'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 44px; }
.news-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-img-wrap img { transform: scale(1.07); }
.news-date-badge { position: absolute; top: 10px; left: 10px; background: var(--blue); color: white; padding: 5px 9px; border-radius: 6px; text-align: center; min-width: 42px; }
.ndb-day { display: block; font-family: var(--font-d); font-size: 16px; font-weight: 900; line-height: 1; }
.ndb-mon { display: block; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.news-category { position: absolute; bottom: 10px; right: 10px; background: rgba(8,12,18,0.8); backdrop-filter: blur(10px); color: var(--text-light); padding: 3px 9px; border-radius: 100px; font-size: 10px; font-family: var(--font-m); font-weight: 600; }
.news-body { padding: 18px; }
.news-body h3 { font-family: var(--font-m); font-size: 15px; font-weight: 700; color: white; margin-bottom: 7px; line-height: 1.4; }
.news-featured .news-body h3 { font-size: 18px; }
.news-body p { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.news-link { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: 1px; transition: color .3s; }
.news-link:hover { color: var(--blue-light); }
.events-panel { background: var(--dark-3); border: 1px solid var(--glass-b); border-radius: var(--radius-lg); padding: 26px; }
.events-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.events-header h3 { font-family: var(--font-m); font-size: 17px; font-weight: 700; color: white; }
.events-list { display: flex; flex-direction: column; gap: 14px; }
.event-item { display: flex; gap: 14px; align-items: flex-start; }
.event-date { min-width: 44px; background: var(--blue); border-radius: 8px; padding: 7px; text-align: center; flex-shrink: 0; }
.event-date span:first-child { display: block; font-family: var(--font-d); font-size: 16px; font-weight: 900; line-height: 1; color: white; }
.event-date span:last-child { display: block; font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.8); letter-spacing: 1px; }
.event-info h4 { font-size: 13px; font-weight: 700; color: white; font-family: var(--font-m); margin-bottom: 5px; }
.event-meta { display: flex; gap: 14px; font-size: 11px; color: var(--text-muted); }

.gallery-section { background: var(--dark); }
.gallery-link { float: right; margin-top: 6px; }
.section-header.centered .gallery-link {
  float: none; display: inline-block; margin-top: 18px;
  padding: 8px 18px; border: 1px solid var(--glass-b); border-radius: 8px;
  transition: var(--tr);
}
.section-header.centered .gallery-link:hover { border-color: var(--blue); background: var(--blue-glow); }
.gallery-swiper { max-width: 780px; height: 460px; padding: 10px 0 50px !important; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.gallery-swiper .swiper-slide { border-radius: var(--radius-lg); overflow: hidden; }
.gal-item.portfolio-item { aspect-ratio: unset; border-radius: var(--radius-lg); cursor: pointer; height: 100%; border: none; }
.gal-item.portfolio-item:hover { transform: none; }
.gal-item .portfolio-overlay { opacity: 1; background: linear-gradient(to top, rgba(4,6,10,0.92) 0%, rgba(4,6,10,0.15) 55%, transparent 80%); padding: 28px; }
.gal-item .portfolio-title { font-size: 1.25rem; }
.gal-item.gal-placeholder::before { content: '🖼️'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 44px; color: var(--text-muted); z-index: 1; }
.gallery-pagination { bottom: 16px !important; }
.gallery-pagination .swiper-pagination-bullet { background: rgba(255,255,255,0.5); width: 8px; height: 8px; opacity: 1; }
.gallery-pagination .swiper-pagination-bullet-active { background: var(--blue); width: 26px; border-radius: 4px; }
.gallery-prev, .gallery-next { width: 42px !important; height: 42px !important; background: rgba(8,12,18,0.65) !important; backdrop-filter: blur(6px); border: 1px solid var(--glass-b) !important; border-radius: 50% !important; color: white !important; top: 45% !important; }
.gallery-prev:hover, .gallery-next:hover { background: var(--blue) !important; border-color: var(--blue) !important; }
.gallery-prev::after, .gallery-next::after { font-size: 15px !important; }
.gallery-prev { left: 14px !important; }
.gallery-next { right: 14px !important; }
@media (max-width: 768px) {
  .gallery-swiper { max-width: 100%; height: 340px; }
}
@media (max-width: 480px) {
  .gallery-swiper { height: 260px; }
  .gallery-prev, .gallery-next { display: none !important; }
}

.cta-banner { padding: 72px 0; background: var(--dark-2); position: relative; overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,136,204,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(178,34,34,0.06) 0%, transparent 60%);
}
.cta-inner {
  position: relative; display: flex; align-items: center; gap: 28px;
  background: var(--dark-3); border: 1px solid var(--glass-b);
  border-radius: var(--radius-lg); padding: 36px 44px; flex-wrap: wrap;
}
.cta-icon { font-size: 52px; }
.cta-text { flex: 1; min-width: 180px; }
.cta-text h2 { font-family: var(--font-d); font-size: 26px; font-weight: 900; color: white; margin-bottom: 6px; }
.cta-text p { color: var(--text-muted); font-size: 15px; }
.cta-btn { margin-left: auto; }

.contact-section { background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon { font-size: 18px; margin-top: 2px; }
.contact-item strong { display: block; font-size: 12px; font-weight: 700; color: white; margin-bottom: 3px; letter-spacing: 0.5px; text-transform: uppercase; }
.contact-item p { font-size: 13px; color: var(--text-muted); }
.contact-social { display: flex; gap: 10px; margin-top: 6px; }
.social-btn { width: 38px; height: 38px; background: var(--dark-3); border: 1px solid var(--glass-b); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all .3s; }
.fb-btn:hover { background: #1877F2 !important; border-color: #1877F2 !important; color: white !important; }
.yt-btn:hover { background: #FF0000 !important; border-color: #FF0000 !important; color: white !important; }
.wa-btn:hover { background: #25D366 !important; border-color: #25D366 !important; color: white !important; }
.tg-btn:hover { background: #0088cc !important; border-color: #0088cc !important; color: white !important; }
.em-btn:hover { background: var(--blue) !important; border-color: var(--blue) !important; color: white !important; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 11px; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.form-group input, .form-group textarea { background: var(--dark-3); border: 1px solid var(--glass-b); border-radius: 8px; padding: 13px 15px; color: white; font-size: 13px; transition: border-color var(--tr), box-shadow var(--tr); resize: none; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,136,204,0.15); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }

.footer { background: var(--dark-2); border-top: 1px solid var(--glass-b); position: relative; }
.footer-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo-img { height: 48px; width: auto; }
.footer-logo-fallback strong { display: block; font-size: 11px; color: var(--text-muted); letter-spacing: 1px; }
.footer-logo-fallback span { display: block; font-family: var(--font-d); font-size: 13px; color: white; font-weight: 700; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 260px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px; background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all .3s;
}
.footer-social a.fb:hover { background: #1877F2; border-color: #1877F2; color: white; }
.footer-social a.yt:hover { background: #FF0000; border-color: #FF0000; color: white; }
.footer-social a.wa:hover { background: #25D366; border-color: #25D366; color: white; }
.footer-social a.tg:hover { background: #0088cc; border-color: #0088cc; color: white; }
.footer-social a.em:hover { background: var(--blue); border-color: var(--blue); color: white; }
.footer-col h4 { font-family: var(--font-m); font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--text-light); text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 13px; color: var(--text-muted); transition: color .3s; }
.footer-col ul li a:hover { color: white; }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-contact-list li { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.footer-badge {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: 10px; padding: 10px 14px;
}
.fb-badge-icon { font-size: 22px; }
.footer-badge strong { display: block; font-size: 12px; color: white; font-family: var(--font-m); }
.footer-badge span { font-size: 10px; color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--glass-b); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 16px; align-items: center; }
.footer-bottom-links a { font-size: 12px; color: var(--text-muted); transition: color .3s; }
.footer-bottom-links a:hover { color: white; }
.footer-bottom-links span { color: var(--text-muted); }

.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 42px; height: 42px; background: var(--blue); color: white;
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,136,204,0.4);
  opacity: 0; transform: translateY(20px); transition: all .3s;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

@media (max-width: 1024px) {
  .ql-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-content { padding-left: 0; }
  .jobs-grid { grid-template-columns: 1fr; gap: 44px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-featured { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .mvo-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 58px; --ann-h: 34px; }
  .nav-links {
    position: fixed; top: calc(var(--nav-h) + var(--ann-h)); left: 0; right: 0;
    background: rgba(8,12,18,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 20px; gap: 6px;
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: transform .4s, opacity .4s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-social { display: none; }
  .hamburger { display: flex; }
  .hero-stats { display: none; }
  .ql-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-featured { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; padding: 24px 20px; }
  .cta-btn { margin-left: 0; }
  section { padding: 56px 0; }
  .malla-tab-btn { padding: 7px 11px; font-size: 11px; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .title-line { font-size: 28px; }
}

:root {
  --blue:       #1a90ff;
  --blue-dark:  #0066cc;
  --blue-light: #4db8ff;
  --blue-glow:  rgba(26,144,255,0.3);
}

.hero-img-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-img-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: hero-bg-zoom 20s ease-in-out infinite alternate;
}
@keyframes hero-bg-zoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-overlay-grad {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,12,18,0.95) 0%,
    rgba(8,12,18,0.85) 40%,
    rgba(8,12,18,0.3) 100%
  );
}

.hero-content-wrap {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center; gap: 40px;
}

.hero-3d-wrap {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  height: 400px;
}
.hero-3d-scene {
  perspective: 600px;
  width: 180px; height: 180px;
}
.hero-3d-cube {
  width: 180px; height: 180px;
  position: relative; transform-style: preserve-3d;
  animation: cube-spin 8s linear infinite;
}
@keyframes cube-spin {
  0%   { transform: rotateX(10deg) rotateY(0deg); }
  100% { transform: rotateX(10deg) rotateY(360deg); }
}

.hero-3d-wrap:hover .hero-3d-cube {
  animation-duration: 2s;
}
.cube-face {
  position: absolute; width: 180px; height: 180px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(26,144,255,0.4);
  border-radius: 12px; overflow: hidden;
  backdrop-filter: blur(4px);
  background: rgba(8,12,18,0.7);
}
.cube-face img { width: 120px; height: 120px; object-fit: contain; }
.cube-letter {
  font-family: 'Orbitron', sans-serif; font-size: 28px; font-weight: 900;
  color: white; text-shadow: 0 0 20px rgba(26,144,255,0.8);
}
.cube-front  { transform: translateZ(90px); background: rgba(26,144,255,0.1); border-color: rgba(26,144,255,0.6); }
.cube-back   { transform: rotateY(180deg) translateZ(90px); background: rgba(123,47,190,0.1); border-color: rgba(123,47,190,0.5); }
.cube-left   { transform: rotateY(-90deg) translateZ(90px); background: rgba(0,180,160,0.08); }
.cube-right  { transform: rotateY(90deg) translateZ(90px); background: rgba(26,144,255,0.08); }
.cube-top    { transform: rotateX(90deg) translateZ(90px); background: rgba(255,255,255,0.05); }
.cube-bottom { transform: rotateX(-90deg) translateZ(90px); background: rgba(26,144,255,0.05); }

.hero-orbit {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(26,144,255,0.25);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.orbit-1 { width: 260px; height: 260px; animation: orbit-spin 6s linear infinite; }
.orbit-2 { width: 320px; height: 320px; animation: orbit-spin 10s linear infinite reverse; border-color: rgba(123,47,190,0.2); border-style: dashed; }
.orbit-3 { width: 380px; height: 380px; animation: orbit-spin 14s linear infinite; border-color: rgba(26,144,255,0.1); }
@keyframes orbit-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-float-dot {
  position: absolute; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 10px var(--blue);
}
.fd1 { width: 8px; height: 8px; top: 15%; left: 15%; animation: float-dot 4s ease-in-out infinite; }
.fd2 { width: 5px; height: 5px; top: 20%; right: 10%; animation: float-dot 5s ease-in-out infinite 1s; background: #7B2FBE; box-shadow: 0 0 10px #7B2FBE; }
.fd3 { width: 6px; height: 6px; bottom: 20%; left: 10%; animation: float-dot 3.5s ease-in-out infinite 0.5s; }
.fd4 { width: 4px; height: 4px; bottom: 15%; right: 15%; animation: float-dot 6s ease-in-out infinite 2s; background: #00b4a0; box-shadow: 0 0 8px #00b4a0; }
.fd5 { width: 7px; height: 7px; top: 50%; right: 5%; animation: float-dot 4.5s ease-in-out infinite 0.8s; }
@keyframes float-dot {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-20px) scale(1.3); }
}

.hero-text-wrap {
  display: flex; flex-direction: column; gap: 0;
  padding-top: 20px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(26,144,255,0.12); border: 1px solid rgba(26,144,255,0.35);
  color: var(--blue-light); padding: 5px 14px; border-radius: 100px;
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 1px;
  margin-bottom: 18px; width: fit-content;
  opacity: 0; animation: fade-up 0.6s 0.3s forwards;
}

.hero-title-3d { margin-bottom: 16px; }
.hero-word-row {
  display: block; overflow: hidden; line-height: 1.05;
  margin-bottom: 4px;
}
.hero-word-static {
  display: block;
  font-family: 'Orbitron', sans-serif; font-weight: 900;
  font-size: clamp(28px, 4.5vw, 60px);
  text-transform: uppercase; color: white;
  opacity: 0; transform: translateY(60px) skewY(3deg);
  transition: none;
}
.hero-word-row.row-blue .hero-word-static { color: var(--blue-light); }

.hero-word-static.line-visible {
  animation: letter-reveal 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes letter-reveal {
  to { opacity: 1; transform: translateY(0) skewY(0deg); }
}

.hero-letter {
  display: inline-block;
  opacity: 0; transform: translateY(80px) rotateX(90deg);
  transition: opacity 0.4s, transform 0.4s;
}
.hero-letter.visible {
  opacity: 1; transform: translateY(0) rotateX(0deg);
}

.hero-sub-3d {
  max-width: 480px; color: var(--text-light); font-size: 14px; line-height: 1.75;
  margin-bottom: 24px;
  opacity: 0; animation: fade-up 0.6s 1.6s forwards;
}
.hero-btns-3d {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px;
  opacity: 0; animation: fade-up 0.6s 1.9s forwards;
}
.hero-stats {
  opacity: 0; animation: fade-up 0.6s 2.2s forwards;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-word-row.row-blue .hero-word-static {
  position: relative;
}
.hero-word-row.row-blue .hero-word-static::before,
.hero-word-row.row-blue .hero-word-static::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  width: 100%; overflow: hidden;
}
.hero-word-row.row-blue .hero-word-static::before {
  color: rgba(123,47,190,0.7);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
  animation: glitch-h 5s infinite linear alternate-reverse;
}
.hero-word-row.row-blue .hero-word-static::after {
  color: rgba(0,180,160,0.6);
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
  animation: glitch-h 4s infinite linear alternate;
}
@keyframes glitch-h {
  0%,92%,100% { transform: translate(0); opacity: 0; }
  94% { transform: translate(-4px,-1px); opacity: 0.9; }
  97% { transform: translate(4px,1px); opacity: 0.9; }
}

@media (max-width: 900px) {
  .hero-content-wrap {
    grid-template-columns: 1fr;
    justify-items: center; padding-top: 60px;
  }
  .hero-3d-wrap { height: 280px; order: -1; }
  .hero-3d-scene { width: 130px; height: 130px; }
  .hero-3d-cube  { width: 130px; height: 130px; }
  .cube-face     { width: 130px; height: 130px; }
  .cube-front  { transform: translateZ(65px); }
  .cube-back   { transform: rotateY(180deg) translateZ(65px); }
  .cube-left   { transform: rotateY(-90deg) translateZ(65px); }
  .cube-right  { transform: rotateY(90deg) translateZ(65px); }
  .cube-top    { transform: rotateX(90deg) translateZ(65px); }
  .cube-bottom { transform: rotateX(-90deg) translateZ(65px); }
  .orbit-1 { width: 180px; height: 180px; }
  .orbit-2 { width: 220px; height: 220px; }
  .orbit-3 { display: none; }
  .hero-text-wrap { text-align: center; align-items: center; }
  .hero-sub-3d { max-width: 90%; }
}
@media (max-width: 600px) {
  .hero-word-static { font-size: 26px; }
  .hero-content-wrap { grid-template-columns: 1fr; }
  .hero-3d-wrap { height: 200px; }
  .hero-3d-scene { width: 100px; height: 100px; }
  .hero-3d-cube  { width: 100px; height: 100px; }
  .cube-face     { width: 100px; height: 100px; }
  .cube-front  { transform: translateZ(50px); }
  .cube-back   { transform: rotateY(180deg) translateZ(50px); }
  .cube-left   { transform: rotateY(-90deg) translateZ(50px); }
  .cube-right  { transform: rotateY(90deg) translateZ(50px); }
  .cube-top    { transform: rotateX(90deg) translateZ(50px); }
  .cube-bottom { transform: rotateX(-90deg) translateZ(50px); }
  .orbit-1 { width: 140px; height: 140px; }
  .orbit-2 { display: none; }
}

.nav-link {
  transition: color 0.2s, transform 0.2s !important;
  display: inline-block;
}
.nav-link:hover {
  transform: scale(1.12) !important;
  color: white !important;
}
.nav-link::after { display: none !important; }

.spec-card h3 {
  transition: transform 0.2s, color 0.2s;
}
.spec-card:hover h3 {
  transform: scale(1.06);
  color: var(--blue-light);
}

.mvo-card {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s;
}
.mvo-card.mvo-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mvo-card.mvo-featured {
  transform: translateY(60px) rotateX(8deg) scale(0.95);
}
.mvo-card.mvo-featured.mvo-visible {
  transform: translateY(0) rotateX(0deg) scale(1);
}

.materia-modal {
  display: none;
  position: fixed; inset: 0; z-index: 5000;
  background: var(--dark-2);
  overflow-y: auto;
}
.materia-modal.open { display: block; }
.materia-modal-inner {
  max-width: 900px; margin: 0 auto;
  padding: 48px 32px 80px;
  background: var(--dark-2);
  min-height: 100vh;
  position: relative;
}
.modal-close {
  position: fixed; top: 20px; right: 20px;
  background: var(--blue); border: none; border-radius: 8px;
  color: white; width: 44px; height: 44px; cursor: pointer;
  font-size: 18px; font-weight: 700; z-index: 10;
  transition: background 0.3s, transform 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--blue-dark); transform: scale(1.1); }
.modal-back-bar {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 36px; padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-b);
}
.modal-back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-size: 13px; font-weight: 700;
  cursor: pointer; background: none; border: none;
  font-family: 'Montserrat', sans-serif; letter-spacing: 0.5px;
  transition: color 0.2s;
}
.modal-back-btn:hover { color: var(--blue-light); }
.modal-breadcrumb { font-size: 12px; color: var(--text-muted); }
.modal-hero {
  display: flex; align-items: flex-start; gap: 24px;
  margin-bottom: 36px;
}
.modal-icon-big {
  width: 80px; height: 80px; background: rgba(26,144,255,0.12);
  border: 2px solid rgba(26,144,255,0.3); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; flex-shrink: 0;
}
.modal-title-group { flex: 1; }
.modal-code-badge {
  display: inline-block; padding: 3px 12px;
  background: rgba(26,144,255,0.15); border: 1px solid rgba(26,144,255,0.3);
  border-radius: 100px; font-family: 'Orbitron', sans-serif;
  font-size: 11px; color: var(--blue-light); margin-bottom: 8px;
  letter-spacing: 1px;
}
#modalTitle {
  font-family: 'Orbitron', sans-serif; font-size: 26px;
  font-weight: 900; color: white; margin-bottom: 8px; line-height: 1.2;
}
.modal-area-tag {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700; font-family: 'Montserrat', sans-serif;
}
.modal-desc-section { margin-bottom: 36px; }
.modal-desc-section h4 {
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--blue); letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
#modalDesc {
  font-size: 15px; color: var(--text-light); line-height: 1.8;
}
.modal-gallery-section h4 {
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--blue); letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 16px;
}
.modal-gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.modal-gallery-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--glass-b);
  transition: transform 0.3s; cursor: pointer;
}
.modal-gallery-grid img:hover { transform: scale(1.03); }
.modal-gallery-hint {
  background: var(--dark-3); border: 1px dashed var(--glass-b);
  border-radius: 12px; padding: 24px; text-align: center;
  color: var(--text-muted); font-size: 13px; line-height: 1.7;
}
.modal-gallery-hint code {
  background: var(--dark-4); padding: 2px 8px; border-radius: 4px;
  color: var(--blue-light); font-size: 12px;
}

.calendario-modal {
  display: none; position: fixed; inset: 0; z-index: 5000;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(10px);
  align-items: center; justify-content: center;
}
.calendario-modal.open { display: flex; }
.calendario-inner {
  background: var(--dark-3); border: 1px solid rgba(26,144,255,0.3);
  border-radius: 20px; padding: 40px; max-width: 700px; width: 92%;
  max-height: 85vh; overflow-y: auto; position: relative;
  animation: modal-in 0.3s ease;
}
@keyframes modal-in { from { opacity:0; transform:scale(0.92); } to { opacity:1; transform:scale(1); } }
.calendario-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: 8px; color: var(--text-muted); width: 36px; height: 36px;
  cursor: pointer; font-size: 16px; transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.calendario-close:hover { background: var(--blue); color: white; border-color: var(--blue); }
.calendario-inner h2 {
  font-family: 'Orbitron', sans-serif; font-size: 22px; font-weight: 900;
  color: white; margin-bottom: 8px;
}
.calendario-inner .cal-sub {
  font-size: 13px; color: var(--text-muted); margin-bottom: 28px;
}
.cal-month { margin-bottom: 28px; }
.cal-month-title {
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--blue); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--glass-b);
}
.cal-event {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cal-event:last-child { border-bottom: none; }
.cal-date {
  min-width: 50px; background: var(--blue); border-radius: 8px;
  padding: 6px 8px; text-align: center; flex-shrink: 0;
}
.cal-date .cd { display: block; font-family: 'Orbitron', sans-serif; font-size: 16px; font-weight: 900; color: white; line-height: 1; }
.cal-date .cm { display: block; font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.8); letter-spacing: 1px; }
.cal-info h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 3px; }
.cal-info p { font-size: 12px; color: var(--text-muted); }
.cal-info .cal-meta { display: flex; gap: 12px; font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.contact-section .section-header,
.contact-section .contact-grid,
.cta-banner .cta-inner {
  transition-delay: 0s !important;
}

#nosotros { scroll-margin-top: 110px; }
#mision   { scroll-margin-top: 110px; }
#carrera  { scroll-margin-top: 110px; }
#malla    { scroll-margin-top: 110px; }
#salidas  { scroll-margin-top: 110px; }
#noticias { scroll-margin-top: 110px; }
#galeria  { scroll-margin-top: 110px; }
#contacto { scroll-margin-top: 110px; }
