/* ===================================================
   DEA — Dirección de Educación de la Armada de Chile
   Stylesheet v2.0
   =================================================== */

/* ===== VARIABLES ===== */
:root {
  --navy-deep:    #0B1426;
  --navy-mid:     #132243;
  --navy-accent:  #1A3461;
  --gold:         #C9A227;
  --gold-light:   #E8C84A;
  --gold-pale:    rgba(201,162,39,.13);
  --white:        #FFFFFF;
  --off-white:    #F4F7FB;
  --text-body:    #374151;
  --text-muted:   #6B7280;
  --border-dim:   rgba(255,255,255,.08);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  --container:    1280px;
  --section-py:   clamp(64px,8vw,100px);
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:    0 10px 40px rgba(0,0,0,.18);
  --ease:         cubic-bezier(.4,0,.2,1);
  --t:            .3s;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ===== UTILITIES ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px,4vw,48px);
}

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 50px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--gold-pale); color: var(--gold);
  border: 1px solid rgba(201,162,39,.3);
}
.tag-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* Scroll-reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
[data-reveal].visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* ===== SECTION HEADERS ===== */
.sec-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.sec-label-bar { width: 28px; height: 2px; background: var(--gold); border-radius: 1px; }

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(30px,4.5vw,54px);
  font-weight: 800; line-height: 1.03;
  text-transform: uppercase; letter-spacing: -.01em;
  color: var(--navy-deep);
}
.sec-title--light { color: #fff; }

.sec-desc {
  margin-top: 14px;
  font-size: 15px; line-height: 1.75; color: var(--text-muted);
  max-width: 580px;
}
.sec-desc--light { color: rgba(255,255,255,.6); }

.sec-header { margin-bottom: clamp(36px,5vw,60px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 30px; border-radius: 50px;
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  transition: all var(--t) var(--ease);
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,.38); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.38);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn svg { flex-shrink: 0; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px,4vw,48px);
  transition: background var(--t) var(--ease), height var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.navbar.scrolled {
  height: 72px;
  background: var(--navy-deep);
  box-shadow: 0 2px 24px rgba(0,0,0,.45);
}

.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-logo {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: contain; filter: brightness(1.1);
}
.nav-brand-text { color: #fff; line-height: 1.2; }
.nav-brand-main { font-family: var(--font-display); font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.nav-brand-sub  { font-size: 11px; font-weight: 400; opacity: .65; text-transform: uppercase; letter-spacing: .08em; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  position: relative; padding: 4px 0;
  transition: color var(--t);
}
.nav-links a::after {
  content:''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold); border-radius: 1px;
  transition: width var(--t) var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta {
  background: var(--gold); color: var(--navy-deep) !important;
  padding: 8px 20px !important; border-radius: 50px; font-weight: 800 !important;
}
.nav-links .nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.nav-links .nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--t); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile overlay menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 800;
  background: var(--navy-deep);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #fff; font-family: var(--font-display); font-size: 28px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  transition: color var(--t);
}
.mobile-menu a:hover { color: var(--gold); }

/* ===== HERO ===== */
.hero {
  position: relative; height: 100svh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--navy-deep);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(11,20,38,.88) 0%, rgba(11,20,38,.62) 60%, rgba(11,20,38,.82) 100%),
    linear-gradient(to bottom, rgba(11,20,38,.5) 0%, rgba(11,20,38,.15) 40%, rgba(11,20,38,.95) 100%);
}
/* Diagonal cut at bottom */
.hero-overlay::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom-right, transparent 49.5%, var(--off-white) 50%);
}
.hero-content {
  position: relative; z-index: 2;
  color: #fff; text-align: center; max-width: 860px;
  padding: 0 20px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
  padding: 7px 20px; border-radius: 50px;
  background: rgba(201,162,39,.12);
  border: 1px solid rgba(201,162,39,.35);
  backdrop-filter: blur(8px);
  font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-light);
  animation: fadeDown .8s var(--ease) both;
}
.hero-eyebrow-line { width: 20px; height: 1px; background: var(--gold); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(46px,8vw,96px);
  font-weight: 800; line-height: .93;
  text-transform: uppercase; letter-spacing: -.01em;
  margin-bottom: 22px;
  animation: fadeUp .8s .2s var(--ease) both;
}
.hero-title .t1 { display: block; }
.hero-title .t2 { display: block; color: var(--gold); }
.hero-title .t3 { display: block; font-weight: 300; }

.hero-sub {
  font-size: clamp(14px,1.4vw,17px); font-weight: 300;
  opacity: .78; max-width: 560px; margin: 0 auto 36px;
  line-height: 1.75; letter-spacing: .02em;
  animation: fadeUp .8s .38s var(--ease) both;
}

.hero-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .8s .55s var(--ease) both;
}

/* Scroll cue */
.hero-scroll {
  position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.55);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  animation: scrollBounce 2.2s ease infinite;
}
.hero-scroll-line { width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent); }

/* ===== NEWS SECTION ===== */
.news-section { padding: var(--section-py) 0; background: var(--off-white); }

.news-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
}
.card-featured { grid-row: 1 / 4; }

.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card-img { position: relative; overflow: hidden; flex-shrink: 0; }
.card-img img {
  width: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.card-img img { aspect-ratio: 16/9; }
.card-featured .card-img img { aspect-ratio: 4/3; }
.news-card:hover .card-img img { transform: scale(1.05); }

.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-featured .card-body { padding: 30px; }

.card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-date { font-size: 12px; color: var(--text-muted); font-weight: 500; letter-spacing: .04em; }

.card-title {
  font-family: var(--font-display);
  font-size: clamp(16px,2vw,22px);
  font-weight: 700; text-transform: uppercase; line-height: 1.18;
  color: var(--navy-deep); margin-bottom: 10px;
  transition: color var(--t);
}
.card-featured .card-title { font-size: clamp(22px,3vw,34px); }
.news-card:hover .card-title { color: var(--navy-accent); }

.card-excerpt {
  font-size: 14px; color: var(--text-muted); line-height: 1.72;
  flex: 1; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-featured .card-excerpt { -webkit-line-clamp: 4; font-size: 15px; }

.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  transition: gap var(--t);
}
.card-link:hover { gap: 14px; }

/* ===== PLATFORMS ===== */
.platforms-section {
  padding: var(--section-py) 0;
  background: var(--navy-deep);
  position: relative; overflow: hidden;
}
.platforms-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(201,162,39,.06) 0%, transparent 100%),
    radial-gradient(ellipse 50% 70% at 85% 20%, rgba(26,52,97,.6) 0%, transparent 100%);
}
.platforms-inner { position: relative; }

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 16px;
}

.plat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: all var(--t) var(--ease);
}
.plat-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--t) var(--ease);
}
.plat-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(201,162,39,.28);
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(0,0,0,.35);
}
.plat-card:hover::after { transform: scaleX(1); }

.plat-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-pale);
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,.2);
}
.plat-icon svg { width: 24px; height: 24px; color: var(--gold); }

.plat-name {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; line-height: 1.25;
}
.plat-desc { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; }

.plat-cta {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); opacity: 0; margin-top: auto;
  transition: opacity var(--t);
}
.plat-card:hover .plat-cta { opacity: 1; }

/* ===== ABOUT ===== */
.about-section { padding: var(--section-py) 0; background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(40px,6vw,88px);
  align-items: start;
}

.about-img-col { position: relative; }
.about-portrait {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute; bottom: -18px; right: -18px;
  background: var(--gold); border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-lg);
}
.about-badge-role { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(11,20,38,.7); margin-bottom: 4px; }
.about-badge-name { font-family: var(--font-display); font-size: 15px; font-weight: 800; text-transform: uppercase; color: var(--navy-deep); line-height: 1.2; }

.about-content { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }

.about-bio { font-size: 15px; line-height: 1.82; color: #4B5563; }
.about-bio strong { color: var(--navy-deep); font-weight: 600; }

.vm-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--navy-deep); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.vm-card {
  position: relative;
  background: transparent; border-radius: 0; border-left: none;
  padding: 38px 34px; overflow: hidden;
}
.vm-card:first-child { border-right: 1px solid rgba(255,255,255,.07); }
.vm-card::before {
  content: attr(data-num);
  position: absolute; bottom: -10px; right: 18px;
  font-family: var(--font-display);
  font-size: 96px; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,.035);
  pointer-events: none; user-select: none;
}
.vm-card-head {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 10px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(201,162,39,.18);
}
.vm-card-head::before {
  content: ''; display: block;
  width: 22px; height: 2px;
  background: var(--gold); border-radius: 1px; flex-shrink: 0;
}
.vm-card-icon { display: none; }
.vm-card-text { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.78; }

.timeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }
.tl-item { display: flex; gap: 12px; align-items: flex-start; }
.tl-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.tl-dot {
  width: 10px; height: 10px;
  background: var(--gold); border-radius: 50%;
  flex-shrink: 0; margin-top: 7px;
  box-shadow: 0 0 0 4px rgba(201,162,39,.18);
}
.tl-icon { display: none; }
.tl-year { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--navy-deep); line-height: 1; }
.tl-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-top: 5px; }

/* ===== SCHOOLS ===== */
.schools-section { padding: var(--section-py) 0; background: var(--off-white); }

.schools-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.school-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; background: var(--navy-mid); cursor: pointer;
}
.school-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.65);
  transition: transform .55s var(--ease), filter .55s var(--ease);
}
.school-card:hover img { transform: scale(1.07); filter: brightness(.45); }

.school-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,20,38,.88) 0%, rgba(11,20,38,.15) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
}
.school-abbr {
  font-family: var(--font-display);
  font-size: clamp(22px,2.5vw,30px);
  font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  color: #fff; line-height: 1.1; margin-bottom: 5px;
}
.school-full { font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: .05em; text-transform: uppercase; }
.school-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-top: 10px;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t);
}
.school-card:hover .school-cta { opacity: 1; transform: none; }

/* ===== VIRTUAL TOURS ===== */
.tours-section {
  padding: var(--section-py) 0;
  background: var(--navy-deep);
  position: relative; overflow: hidden;
}
.tours-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 75% 50%, rgba(26,52,97,.55) 0%, transparent 100%);
}
.tours-inner { position: relative; z-index: 1; }

.tours-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.tour-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  transition: all var(--t) var(--ease);
}
.tour-card:hover {
  border-color: rgba(201,162,39,.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(0,0,0,.4);
}
.tour-img { aspect-ratio: 4/3; overflow: hidden; background: var(--navy-mid); position: relative; }
.tour-img img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .65; transition: opacity .35s, transform .55s var(--ease);
}
.tour-card:hover .tour-img img { opacity: 1; transform: scale(1.06); }

.tour-360 {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,.7); color: var(--gold);
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid rgba(201,162,39,.4); backdrop-filter: blur(4px);
}

.tour-body { padding: 18px 20px; }
.tour-name {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: #fff; margin-bottom: 6px; line-height: 1.25;
}
.tour-sub { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }
.tour-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; transition: opacity var(--t), gap var(--t);
}
.tour-card:hover .tour-link { opacity: 1; }
.tour-card:hover .tour-link:hover { gap: 12px; }

/* Placeholder card */
.tour-placeholder {
  background: rgba(255,255,255,.025);
  border: 1px dashed rgba(255,255,255,.1);
}
.tour-placeholder .tour-img {
  display: flex; align-items: center; justify-content: center;
}
.tour-placeholder-icon { color: rgba(255,255,255,.2); }

/* ===== FOOTER ===== */
.footer { background: #060C18; padding: 64px 0 0; color: rgba(255,255,255,.65); }

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; }
.footer-logo-text .main { font-family: var(--font-display); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.footer-logo-text .sub  { font-size: 9px; opacity: .55; text-transform: uppercase; letter-spacing: .1em; }
.footer-tagline { font-size: 12px; line-height: 1.75; opacity: .55; max-width: 240px; font-style: italic; }
.footer-address { display: flex; gap: 9px; font-size: 12px; line-height: 1.65; }
.footer-address svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-col-title {
  font-family: var(--font-display); font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 12px; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 8px;
  transition: color var(--t), gap var(--t);
}
.footer-links a::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); opacity: .5; flex-shrink: 0;
  transition: opacity var(--t);
}
.footer-links a:hover { color: var(--gold); gap: 12px; }
.footer-links a:hover::before { opacity: 1; }

.footer-news-list { display: flex; flex-direction: column; gap: 16px; }
.footer-news-item { display: flex; gap: 12px; }
.footer-news-img { width: 54px; height: 42px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.footer-news-title { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.7); line-height: 1.45; margin-bottom: 4px; }
.footer-news-date  { font-size: 10px; color: rgba(255,255,255,.35); }

.footer-bottom {
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 10px; opacity: .35; letter-spacing: .04em; }

.socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45);
  transition: all var(--t);
}
.social-btn:hover { background: var(--gold-pale); border-color: rgba(201,162,39,.35); color: var(--gold); }

/* ===== NEWS DETAIL PAGE ===== */
.article-hero {
  position: relative; height: 70vh; min-height: 480px;
  background: var(--navy-deep); overflow: hidden;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.article-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,20,38,.92) 0%, rgba(11,20,38,.35) 60%, rgba(11,20,38,.5) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 56px clamp(16px,4vw,80px);
}
.article-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.65); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 24px;
  transition: color var(--t), gap var(--t);
}
.article-back:hover { color: var(--gold); gap: 12px; }
.article-hero-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.article-hero-date { font-size: 12px; color: rgba(255,255,255,.65); }
.article-hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px,5vw,60px);
  font-weight: 800; text-transform: uppercase; line-height: 1.05;
  color: #fff; max-width: 900px;
}

.article-body {
  max-width: 840px; margin: 0 auto;
  padding: 60px clamp(16px,4vw,48px);
}
.article-text {
  font-size: 16px; line-height: 1.85; color: #374151;
}
.article-text p { margin-bottom: 20px; }
.article-text p:last-child { margin-bottom: 0; }
.article-text strong { color: var(--navy-deep); font-weight: 600; }
.article-text ul { margin: 16px 0 20px 0; padding-left: 0; list-style: none; }
.article-text ul li {
  padding: 6px 0 6px 22px; position: relative; font-size: 15px;
}
.article-text ul li::before {
  content: ''; position: absolute; left: 0; top: 15px;
  width: 8px; height: 2px; background: var(--gold);
}

.article-gallery-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  color: var(--navy-deep); margin-bottom: 24px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px; margin-top: 48px; margin-bottom: 60px;
}
.gallery-item {
  aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease), filter .3s;
  filter: brightness(.9);
}
.gallery-item:hover img { transform: scale(1.06); filter: brightness(1.05); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,12,24,.96); backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: fixed; top: 24px; right: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 1px solid rgba(255,255,255,.2);
  transition: background var(--t);
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 1px solid rgba(255,255,255,.2);
  transition: background var(--t);
  font-size: 20px;
}
.lightbox-prev:hover, .lightbox-next:hover { background: var(--gold-pale); border-color: rgba(201,162,39,.4); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: rgba(255,255,255,.55); font-weight: 500;
}

/* Article nav */
.article-nav {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 40px clamp(16px,4vw,80px) 60px;
  border-top: 1px solid #E5E7EB;
  max-width: 1280px; margin: 0 auto;
}
.article-nav-btn {
  display: flex; align-items: center; gap: 12px;
  color: var(--navy-deep); font-weight: 600; font-size: 13px;
  transition: color var(--t), gap var(--t);
}
.article-nav-btn:hover { color: var(--gold); }
.article-nav-btn.next { gap: 12px; flex-direction: row-reverse; }
.article-nav-btn.next:hover { gap: 18px; }
.nav-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); display: block; }
.nav-title { font-family: var(--font-display); font-size: 16px; font-weight: 800; text-transform: uppercase; line-height: 1.2; }

/* ===== KEYFRAMES ===== */
@keyframes fadeUp   { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-14px); } to { opacity:1; transform:none; } }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-9px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width:1100px) {
  .platforms-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width:1024px) {
  .news-grid { grid-template-columns: 1fr; }
  .card-featured { grid-row: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-col { max-width: 340px; }
  .tours-grid { grid-template-columns: repeat(2,1fr); }
  .platforms-grid { grid-template-columns: repeat(3,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width:768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .schools-grid { grid-template-columns: repeat(2,1fr); }
  .vm-grid { grid-template-columns: 1fr; }
  .vm-card:first-child { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .timeline-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:540px) {
  .schools-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .tours-grid { grid-template-columns: 1fr; }
  .article-nav { flex-direction: column; }
}
