/* =========================================================
   BESSA — Biportal Endoscopic Spine Surgery Academy
   Stylesheet
   ========================================================= */

:root{
  --navy-950: #060f26;
  --navy-900: #0a1a3d;
  --navy-800: #0e2350;
  --navy-700: #14306b;
  --navy-600: #1c4290;
  --red-600: #d31f2a;
  --red-500: #e6353b;
  --red-400: #ef5257;
  --orange-500: #f0642f;
  --green-700: #1f6b45;
  --ink-900: #101623;
  --ink-700: #3b4252;
  --ink-500: #6b7386;
  --paper-0: #ffffff;
  --paper-50: #f6f7fb;
  --paper-100: #eef0f7;
  --line: #e3e6ef;

  --grad-navy: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  --grad-red: linear-gradient(135deg, var(--red-600) 0%, var(--orange-500) 100%);

  --shadow-sm: 0 2px 8px rgba(10, 26, 61, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 26, 61, 0.12);
  --shadow-lg: 0 24px 64px rgba(10, 26, 61, 0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --container: 1240px;
  --header-h: 84px;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; width: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, video { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; }

body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink-900);
  background: var(--paper-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

/* ---------- Utility ---------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red-600);
  display: inline-block;
}
.eyebrow.on-dark{ color: #ffb4b1; }
.eyebrow.on-dark::before{ background: #ffb4b1; }

.section-head{
  max-width: 680px;
  margin-bottom: 52px;
}
.section-head.center{ margin-inline: auto; text-align: center; }
.section-head h2{ font-size: clamp(28px, 3.6vw, 42px); }
.section-head p{ color: var(--ink-500); font-size: 17px; margin-top: 14px; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--grad-red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(211, 31, 42, 0.32);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 32px rgba(211, 31, 42, 0.4); }
.btn-outline{
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover{ background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-navy{
  background: var(--navy-900);
  color: #fff;
}
.btn-navy:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm{ padding: 11px 22px; font-size: 14px; }
.btn svg{ width: 18px; height: 18px; }

.pill-link{
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy-900); font-size: 15px;
  border-bottom: 2px solid var(--red-500);
  padding-bottom: 3px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.pill-link:hover{ gap: 12px; color: var(--red-600); }

/* ---------- Reveal animation ---------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Top bar ---------- */
.topbar{
  background: var(--navy-950);
  color: rgba(255,255,255,0.85);
  font-size: 13.5px;
}
.topbar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.topbar-links{ display: flex; gap: 26px; }
.topbar-links a{ display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar-links a:hover{ color: #fff; }
.topbar-tag{ letter-spacing: .06em; text-transform: uppercase; font-weight: 600; font-size: 12px; color: #ffb4b1; }
.topbar svg{ width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(6, 15, 38, 0.0);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.site-header.is-solid{
  background: rgba(6, 15, 38, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(6,15,38,0.18);
  height: 74px;
}

.brand{ display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.brand-mark{ height: 78px; width: auto; flex-shrink: 0; display: block; transition: height .35s var(--ease); }
.site-header.is-solid .brand-mark{ height: 60px; }
.brand-text{ line-height: 1.2; }
.brand-text .b1{
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: .01em; color: #fff;
  display: block;
}
.brand-text .b1 span{ color: var(--red-500); }
.brand-text .b2{ font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.55); display: block; margin-top: 3px; }

.nav-desktop{ display: flex; align-items: center; gap: 36px; }
.nav-desktop a{
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.85);
  position: relative; padding: 6px 0; transition: color .25s;
}
.nav-desktop a::after{
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--red-500); transition: width .3s var(--ease);
}
.nav-desktop a:hover, .nav-desktop a.active{ color: #fff; }
.nav-desktop a:hover::after, .nav-desktop a.active::after{ width: 100%; }

.header-actions{ display: flex; align-items: center; gap: 14px; }
.hamburger{
  display: none;
  width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.hamburger span, .hamburger::before, .hamburger::after{
  content: ""; display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.hamburger::before{ transform: translateY(-6px); }
.hamburger::after{ transform: translateY(6px); }
.hamburger.is-open::before{ transform: translateY(0) rotate(45deg); }
.hamburger.is-open::after{ transform: translateY(0) rotate(-45deg); }
.hamburger.is-open span{ opacity: 0; }

.mobile-nav{
  position: fixed; inset: 74px 0 0 0; z-index: 190;
  background: var(--navy-950);
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open{ transform: translateX(0); }
.mobile-nav .container{ padding-block: 30px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a{
  font-size: 20px; font-weight: 600; color: #fff; padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav .btn{ margin-top: 20px; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--navy-950);
}
.hero-bg{
  position: absolute; inset: 0;
  background-image: url('../img/hero/hero-or-suite.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.06);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom{ from{ transform: scale(1.06); } to{ transform: scale(1); } }
.hero-overlay{
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 80% 10%, rgba(211,31,42,0.18), transparent 60%),
    linear-gradient(100deg, rgba(6,15,38,0.97) 12%, rgba(6,15,38,0.86) 45%, rgba(10,26,61,0.55) 100%);
}
.hero-spine{
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: 46%; max-width: 620px; opacity: 0.16; pointer-events: none;
}
.hero .container{ position: relative; z-index: 2; padding-block: 90px 60px; }
.hero-content{ max-width: 720px; }
.hero-badge{
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 9px 18px 9px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 26px;
}
.hero-badge .dot-icon{
  width: 26px; height: 26px; border-radius: 50%; background: var(--grad-red);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-badge .dot-icon svg{ width: 13px; height: 13px; color: #fff; }
.hero h1{
  color: #fff;
  font-size: clamp(36px, 5.4vw, 66px);
  font-weight: 700;
  line-height: 1.08;
}
.hero h1 em{
  font-style: normal;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub{
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  max-width: 560px;
  margin-top: 22px;
}
.hero-cta{ display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-stats{
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 40px;
}
.hero-stats .stat b{
  display: block; font-family: 'Poppins', sans-serif; font-size: 32px; font-weight: 700; color: #fff;
}
.hero-stats .stat span{ font-size: 13.5px; color: rgba(255,255,255,0.6); }

.hero-scroll{
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.55); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  z-index: 2;
}
.hero-scroll .line{ width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine{ 0%{ transform: scaleY(0); transform-origin: top; } 50%{ transform: scaleY(1); transform-origin: top; } 51%{ transform-origin: bottom; } 100%{ transform: scaleY(0); transform-origin: bottom; } }

@media (max-height: 780px){
  .hero-scroll{ display: none; }
}

/* ---------- Marquee ---------- */
.marquee-strip{
  background: var(--grad-red);
  overflow: hidden;
  padding-block: 14px;
}
.marquee-track{
  display: flex; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span{
  display: inline-flex; align-items: center;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  color: #fff; text-transform: uppercase; letter-spacing: .08em;
  padding-inline: 26px;
  white-space: nowrap;
}
.marquee-track span::after{ content: "•"; margin-left: 26px; opacity: .6; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ---------- About ---------- */
.about{ padding-block: 110px; background: var(--paper-0); }
.about-grid{
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 70px;
  align-items: center;
}
.about-media{ position: relative; }
.about-media .frame-main{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
}
.about-media .frame-main img{ width: 100%; height: 100%; object-fit: cover; }
.about-media .frame-tag{
  position: absolute; left: -28px; bottom: -28px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  display: flex; align-items: center; gap: 16px;
  max-width: 280px;
}
.about-media .frame-tag .ic{
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-900); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.about-media .frame-tag .ic svg{ width: 22px; height: 22px; color: #ffb4b1; }
.about-media .frame-tag b{ font-family: 'Poppins'; font-size: 15px; color: var(--navy-900); display: block; }
.about-media .frame-tag span{ font-size: 13px; color: var(--ink-500); }
.about-media .frame-dot{
  position: absolute; top: -30px; right: -30px; width: 130px; height: 130px;
  border-radius: 50%; border: 2px dashed var(--line); z-index: -1;
}

.about-body p{ color: var(--ink-500); font-size: 16.5px; margin-top: 18px; }
.about-list{ margin-top: 30px; display: grid; gap: 16px; }
.about-list li{ display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--ink-700); font-weight: 500; }
.about-list .tick{
  width: 26px; height: 26px; border-radius: 50%; background: rgba(211,31,42,0.1);
  color: var(--red-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.about-list .tick svg{ width: 13px; height: 13px; }
.about-motto{
  margin-top: 34px; font-family: 'Poppins'; font-weight: 600; font-size: 19px; color: var(--navy-900);
  display: flex; gap: 10px; flex-wrap: wrap;
}
.about-motto span{ color: var(--red-600); }

/* ---------- Why choose (features) ---------- */
.features{ padding-block: 110px; background: var(--paper-50); }
.feature-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.feature-card{
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.feature-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card .ic{
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background .35s var(--ease);
}
.feature-card .ic svg{ width: 25px; height: 25px; color: #ffb4b1; }
.feature-card:hover .ic{ background: var(--grad-red); }
.feature-card:hover .ic svg{ color: #fff; }
.feature-card h3{ font-size: 18px; margin-bottom: 10px; }
.feature-card p{ font-size: 14.5px; color: var(--ink-500); }

/* ---------- Academic highlights ---------- */
.highlights{
  padding-block: 110px;
  background: var(--grad-navy);
  position: relative;
  overflow: hidden;
}
.highlights::before{
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 50% at 90% 20%, rgba(211,31,42,0.25), transparent 60%);
}
.highlights .container{ position: relative; z-index: 1; }
.highlights .section-head h2, .highlights .section-head p{ color: #fff; }
.highlights .section-head p{ color: rgba(255,255,255,0.65); }

.highlight-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.highlight-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  backdrop-filter: blur(6px);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.highlight-card:hover{ transform: translateY(-6px); background: rgba(255,255,255,0.1); }
.highlight-card .ic{
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--grad-red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.highlight-card .ic svg{ width: 23px; height: 23px; color: #fff; }
.highlight-card h3{ color: #fff; font-size: 17px; margin-bottom: 8px; }
.highlight-card p{ color: rgba(255,255,255,0.62); font-size: 14px; }

/* ---------- Programs ---------- */
.programs{ padding-block: 110px; }
.program-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.program-card{
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
.program-card::before{ content: ""; position: absolute; inset: 0; z-index: 0; }
.program-card.p1::before{ background: var(--grad-navy); }
.program-card.p2::before{ background: var(--grad-red); }
.program-card > *{ position: relative; z-index: 1; }
.program-card .tag{ font-size: 13px; text-transform: uppercase; letter-spacing: .1em; opacity: .75; margin-bottom: 14px; font-weight: 600; }
.program-card h3{ color: #fff; font-size: 26px; margin-bottom: 12px; }
.program-card p{ color: rgba(255,255,255,0.78); font-size: 15px; margin-bottom: 24px; max-width: 420px; }
.program-card .num{
  position: absolute; top: 30px; right: 34px; font-family: 'Poppins'; font-size: 70px; font-weight: 700;
  color: rgba(255,255,255,0.1);
}

/* ---------- Faculty ---------- */
.faculty{ padding-block: 110px; background: var(--paper-50); }
.faculty-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.faculty-card{
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.faculty-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.faculty-photo{ aspect-ratio: 3/3.6; overflow: hidden; position: relative; }
.faculty-photo img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.faculty-card:hover .faculty-photo img{ transform: scale(1.07); }
.faculty-photo::after{
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(to top, rgba(6,15,38,0.75), transparent);
}
.faculty-info{ padding: 18px 16px 22px; text-align: center; }
.faculty-info h3{ font-size: 15.5px; margin-bottom: 4px; }
.faculty-info span{ font-size: 12.5px; color: var(--red-600); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Launch / Inauguration ---------- */
.launch{ padding-block: 110px; background: var(--paper-0); }
.launch-video{ max-width: 960px; margin-inline: auto; }
.launch-video .video-card{
  aspect-ratio: 16/9; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.launch-video .video-play .btn-circle{ width: 84px; height: 84px; }
.launch-video .video-play svg{ width: 28px; height: 28px; }

/* ---------- Gallery ---------- */
.gallery{ padding-block: 110px; }
.gallery-tabs{ display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.gallery-tab{
  padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--paper-100); color: var(--ink-700);
  transition: background .25s, color .25s;
}
.gallery-tab.active, .gallery-tab:hover{ background: var(--navy-900); color: #fff; }

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}
.gallery-item{
  position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer;
}
.gallery-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img{ transform: scale(1.09); }
.gallery-item .ov{
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,15,38,0.82), transparent 55%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery-item:hover .ov{ opacity: 1; }
.gallery-item .ov span{ color: #fff; font-size: 13.5px; font-weight: 600; }
.gallery-item .zoom-ic{
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.16); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(-6px); transition: all .3s var(--ease);
}
.gallery-item:hover .zoom-ic{ opacity: 1; transform: translateY(0); }
.gallery-item .zoom-ic svg{ width: 16px; height: 16px; color: #fff; }

.gallery-item.gi-1{ grid-column: span 2; grid-row: span 2; }
.gallery-item.gi-4{ grid-column: span 2; }
.gallery-item.gi-6{ grid-row: span 2; }

.video-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.video-grid .video-card:last-child:nth-child(odd){ grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 586px; }
.video-card{
  position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--navy-950);
  aspect-ratio: 16/10.5;
}
.video-card video{ width: 100%; height: 100%; object-fit: cover; }
.video-play{
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(6,15,38,0.35); transition: background .3s;
}
.video-play:hover{ background: rgba(6,15,38,0.5); }
.video-play .btn-circle{
  width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.16);
  border: 1.5px solid rgba(255,255,255,0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease);
}
.video-play:hover .btn-circle{ transform: scale(1.08); background: var(--grad-red); border-color: transparent; }
.video-play svg{ width: 24px; height: 24px; color: #fff; margin-left: 3px; }
.video-card.is-playing .video-play{ display: none; }

/* Lightbox */
.lightbox{
  position: fixed; inset: 0; z-index: 500;
  background: rgba(6,10,24,0.94);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.is-open{ display: flex; }
.lightbox img{ max-width: min(920px, 92vw); max-height: 84vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close, .lightbox-prev, .lightbox-next{
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background .25s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover{ background: var(--red-600); }
.lightbox-close{ top: 26px; right: 26px; }
.lightbox-prev{ left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next{ right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg{ width: 20px; height: 20px; }
.lightbox-caption{
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 14px;
}

/* ---------- CTA band ---------- */
#feedback{ margin-top: 64px; margin-bottom: 0; }

.cta-band{
  margin: 0 24px;
  max-width: calc(var(--container) - 48px);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  background: var(--grad-red);
  padding: 60px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after{
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; border: 40px solid rgba(255,255,255,0.08);
}
.cta-band h2{ color: #fff; font-size: clamp(24px, 3vw, 32px); max-width: 480px; }
.cta-band p{ color: rgba(255,255,255,0.85); margin-top: 10px; font-size: 15px; }
.cta-actions{ display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- FAQ ---------- */
.faq{ padding-block: 110px; background: var(--paper-50); }
.faq-list{ max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item{
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 6px 26px; transition: border-color .25s, box-shadow .25s;
}
.faq-item[open]{ border-color: transparent; box-shadow: var(--shadow-sm); }
.faq-item summary{
  list-style: none; cursor: pointer; padding-block: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16.5px; color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-toggle{
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-100);
  color: var(--navy-900); display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 400; transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.faq-item[open] .faq-toggle{ transform: rotate(45deg); background: var(--grad-red); color: #fff; }
.faq-item p{ color: var(--ink-500); font-size: 15px; padding-bottom: 22px; padding-right: 46px; }

/* ---------- Newsletter ---------- */
.newsletter-band{
  margin: 70px 24px 90px;
  max-width: calc(var(--container) - 48px);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  background: var(--grad-navy);
  padding: 56px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.newsletter-band::after{
  content: ""; position: absolute; left: -70px; bottom: -70px; width: 260px; height: 260px;
  border-radius: 50%; border: 40px solid rgba(255,255,255,0.06);
}
.newsletter-copy{ max-width: 460px; position: relative; z-index: 1; }
.newsletter-copy h2{ color: #fff; font-size: clamp(24px, 3vw, 32px); }
.newsletter-copy p{ color: rgba(255,255,255,0.65); margin-top: 10px; font-size: 15px; }

.newsletter-form{ flex: 1 1 380px; max-width: 460px; position: relative; z-index: 1; }
.newsletter-input-row{
  display: flex; gap: 6px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: var(--shadow-md);
}
.newsletter-input-row input[type="email"]{
  flex: 1; min-width: 0; border: none; background: transparent; padding: 14px 20px; font-size: 15px; outline: none;
}
.newsletter-input-row .btn{ flex-shrink: 0; }
.newsletter-form .form-msg{ margin-top: 14px; }
.newsletter-form .form-msg.ok{ background: rgba(255,255,255,0.1); color: #fff; }
.hp-field{ position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 540px){
  .newsletter-band{ padding: 40px 28px; margin: 50px 18px 70px; }
  .newsletter-input-row{ flex-direction: column; border-radius: 16px; }
  .newsletter-input-row .btn{ width: 100%; }
}

/* ---------- Contact ---------- */
.contact{ padding-block: 110px; background: var(--paper-50); }
.contact-grid{ display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
.contact-info-card{
  background: var(--grad-navy); border-radius: var(--radius-lg); padding: 44px 38px; color: #fff; height: 100%;
}
.contact-info-card h3{ color: #fff; font-size: 24px; margin-bottom: 12px; }
.contact-info-card > p{ color: rgba(255,255,255,0.65); font-size: 15px; margin-bottom: 34px; }
.contact-item{ display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.contact-item .ic{
  width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item .ic svg{ width: 20px; height: 20px; color: #ffb4b1; }
.contact-item b{ display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,0.5); margin-bottom: 3px; font-weight: 600; }
.contact-item a, .contact-item span{ font-size: 16px; font-weight: 500; }
.contact-social{ display: flex; gap: 12px; margin-top: 36px; }
.contact-social a{
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; transition: background .25s;
}
.contact-social a:hover{ background: var(--red-500); }
.contact-social svg{ width: 18px; height: 18px; }

.contact-form{ background: #fff; border-radius: var(--radius-lg); padding: 44px 40px; border: 1px solid var(--line); }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field{ margin-bottom: 20px; }
.field label{ display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-700); margin-bottom: 8px; }
.field input, .field select, .field textarea{
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--paper-50); font-size: 14.5px; transition: border-color .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--red-500); background: #fff;
}
.field textarea{ resize: vertical; min-height: 120px; }
.form-note{ font-size: 12.5px; color: var(--ink-500); margin-top: -8px; margin-bottom: 20px; }
.form-msg{ font-size: 14px; margin-top: 16px; display: none; padding: 12px 16px; border-radius: 10px; }
.form-msg.ok{ display: block; background: #e8f7ee; color: var(--green-700); }
.form-msg.err{ display: block; background: #fdecec; color: var(--red-600); }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy-950); color: rgba(255,255,255,0.6); padding-top: 80px; }
.footer-top{ display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .brand{ margin-bottom: 18px; }
.footer-brand p{ font-size: 14.5px; line-height: 1.75; max-width: 320px; }
.footer-col h4{ color: #fff; font-size: 15px; margin-bottom: 22px; }
.footer-col ul{ display: grid; gap: 13px; }
.footer-col a{ font-size: 14.5px; transition: color .2s, padding-left .2s; }
.footer-col a:hover{ color: #fff; padding-left: 4px; }
.footer-social{ display: flex; gap: 10px; margin-top: 22px; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; transition: background .25s;
}
.footer-social a:hover{ background: var(--red-500); }
.footer-social svg{ width: 16px; height: 16px; color: #fff; }
.footer-bottom{
  display: flex; align-items: center; justify-content: space-between; padding-block: 26px; font-size: 13.5px; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a{ color: rgba(255,255,255,0.7); }
.footer-bottom a:hover{ color: #fff; }

/* ---------- Floating buttons ---------- */
.float-stack{ position: fixed; right: 26px; bottom: 26px; display: flex; flex-direction: column; gap: 14px; z-index: 150; }
.float-btn{
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: transform .3s var(--ease);
}
.float-btn:hover{ transform: translateY(-4px) scale(1.05); }
.float-btn.wa{ background: #25d366; }
.float-btn.wa svg{ width: 26px; height: 26px; color: #fff; }
.float-btn.top{
  background: #fff; border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(10px);
}
.float-btn.top.show{ opacity: 1; pointer-events: auto; transform: translateY(0); }
.float-btn.top svg{ width: 20px; height: 20px; color: var(--navy-900); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px){
  .faculty-grid{ grid-template-columns: repeat(3, 1fr); }
  .feature-grid{ grid-template-columns: repeat(3, 1fr); }
  .highlight-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
  .gallery-item.gi-1{ grid-column: span 3; grid-row: span 1; aspect-ratio: 16/8; }
}

@media (max-width: 960px){
  :root{ --header-h: 74px; }
  .brand-mark, .site-header.is-solid .brand-mark{ height: 52px; }
  .brand-text .b1{ font-size: 21px; }
  .nav-desktop{ display: none; }
  .hamburger{ display: flex; }
  .header-actions .btn-sm.desktop-only{ display: none; }
  .about-grid{ grid-template-columns: 1fr; }
  .about-media{ max-width: 460px; margin-inline: auto; }
  .program-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .topbar .topbar-tag{ display: none; }
}

@media (max-width: 760px){
  .feature-grid{ grid-template-columns: 1fr 1fr; }
  .faculty-grid{ grid-template-columns: repeat(2, 1fr); }
  .highlight-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery-item.gi-1{ grid-column: span 2; }
  .video-grid{ grid-template-columns: 1fr; }
  .hero-stats{ grid-template-columns: repeat(2, 1fr); row-gap: 26px; margin-top: 40px; }
  .hero-scroll{ display: none; }
  .hero .container{ padding-block: 90px 40px; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; gap: 36px; }
  .cta-band{ flex-direction: column; align-items: flex-start; padding: 40px 30px; }
  #feedback{ margin-top: 40px; margin-bottom: 0; }
}

@media (max-width: 540px){
  .brand-mark, .site-header.is-solid .brand-mark{ height: 44px; }
  .brand-text .b1{ font-size: 18px; }
  .brand-text .b2{ display: none; }
  .feature-grid{ grid-template-columns: 1fr; }
  .faculty-grid{ grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
  .container{ padding-inline: 18px; }
  .contact-form{ padding: 30px 22px; }
  .contact-info-card{ padding: 34px 26px; }
  .hero h1{ font-size: 34px; }
  .about-media .frame-tag{ left: 0; right: 0; margin-inline: auto; bottom: -20px; }
}
