/* ============================================================
   NAVBAR — floating liquid glass
   ============================================================ */
.navbar-wrap {
  position: fixed; top: var(--sp-4); left: 0; right: 0; z-index: var(--z-nav);
  display: flex; justify-content: center; padding: 0 var(--sp-4);
  pointer-events: none;
}
.navbar {
  pointer-events: auto;
  width: 100%; max-width: 1120px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 18px;
  border-radius: var(--radius-pill);
  transition: box-shadow var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out);
}
.navbar-wrap.scrolled .navbar { box-shadow: 0 10px 34px rgba(16,34,74,0.16); }

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { font-family: var(--font-en); font-weight: 700; font-size: 1rem; color: var(--ink-navy); line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-bn); font-weight: 500; font-size: 0.72rem; color: var(--grey-500); }

.nav-links { display: none; gap: var(--sp-2); align-items: center; }
.nav-links a {
  padding: 9px 15px; border-radius: var(--radius-pill); font-size: 0.92rem; font-weight: 600;
  color: var(--grey-700); position: relative; transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--royal); background: rgba(30,79,216,0.08); }
.nav-links a.active { color: var(--royal); }
@media (min-width: 1080px) { .nav-links { display: flex; } }

.nav-actions { display: flex; align-items: center; gap: var(--sp-2); }
.nav-actions .btn-ghost { display: none; }
@media (min-width: 640px) { .nav-actions .btn-ghost { display: inline-flex; } }
/* The standalone প্রোফাইল link sits in the mobile drawer below 640px, so hide
   the desktop-navbar copy there to avoid a cramped row. */
.nav-actions .nav-profile-link { display: none; }
@media (min-width: 760px) { .nav-actions .nav-profile-link { display: inline-flex; } }

/* ---- Account menu — swapped in for the লগইন button once signed in
   (see js/nav-auth.js) — reused inside .nav-actions and .mobile-drawer-actions ---- */
.nav-account { position: relative; }
.nav-account-trigger {
  display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px;
  border-radius: var(--radius-pill); background: rgba(30,79,216,0.08);
  color: var(--ink-navy); font-weight: 600; font-size: 0.9rem;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav-account-trigger:hover { background: rgba(30,79,216,0.14); }
.nav-account-trigger svg { color: var(--grey-500); flex-shrink: 0; }
.nav-account-avatar {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  background: var(--grad-brand);
}
.nav-account-avatar-fallback {
  display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.8rem; font-weight: 700;
}
.nav-account-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) { .nav-account-name { display: none; } }
.nav-account-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px; z-index: var(--z-nav);
  border-radius: var(--radius-md); padding: 8px; background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-card-hi);
  display: none; flex-direction: column; gap: 2px;
}
.nav-account.open .nav-account-menu { display: flex; }
.nav-account-menu a, .nav-account-menu button {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; color: var(--grey-700);
}
.nav-account-menu a:hover, .nav-account-menu button:hover { background: rgba(30,79,216,0.08); color: var(--royal); }
.nav-account-menu .nav-account-logout { color: #D93636; }
/* Inside the mobile drawer the trigger should look like the surrounding links, not a pill */
.mobile-drawer-actions .nav-account { width: 100%; }
.mobile-drawer-actions .nav-account-trigger { width: 100%; justify-content: flex-start; background: rgba(30,79,216,0.06); }
.mobile-drawer-actions .nav-account-menu { position: static; box-shadow: none; border: none; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 4px 0 0; }

.menu-toggle {
  display: flex; width: 42px; height: 42px; border-radius: 50%; border: none;
  background: rgba(30,79,216,0.08); align-items: center; justify-content: center;
}
@media (min-width: 1080px) { .menu-toggle { display: none; } }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1);
  background: rgba(10,20,40,0.42);
  opacity: 0; pointer-events: none; transition: opacity var(--dur-med) var(--ease-out);
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer-panel {
  position: absolute; top: 96px; left: var(--sp-4); right: var(--sp-4);
  border-radius: var(--radius-lg); padding: var(--sp-5);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  transform: translateY(-16px); opacity: 0; transition: all var(--dur-med) var(--ease-spring);
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-drawer.open .mobile-drawer-panel { transform: translateY(0); opacity: 1; }
.mobile-drawer-panel a { padding: 14px 16px; border-radius: var(--radius-md); font-weight: 600; font-size: 1.02rem; }
.mobile-drawer-panel a:hover, .mobile-drawer-panel a:focus-visible { background: rgba(30,79,216,0.08); }
.mobile-drawer-actions { display: flex; gap: var(--sp-3); margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--grey-100); }
.mobile-drawer-actions .btn { flex: 1; }

/* Mobile bottom glass nav */
.mobile-bottom-nav {
  position: fixed; bottom: var(--sp-4); left: var(--sp-4); right: var(--sp-4); z-index: var(--z-nav);
  border-radius: var(--radius-pill); padding: 8px;
  display: flex; justify-content: space-around;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
@media (min-width: 640px) { .mobile-bottom-nav { display: none; } }
.mobile-bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 0.65rem; font-weight: 600; color: var(--grey-500); padding: 8px 10px; border-radius: var(--radius-md);
  min-width: 56px; min-height: 48px; justify-content: center;
}
.mobile-bottom-nav a.active { color: var(--royal); background: rgba(30,79,216,0.1); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero);
  padding: 150px 0 var(--sp-9);
  color: var(--white);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(70px);
  background: var(--grad-glow-spot); pointer-events: none;
}
.hero-blob.b1 { width: 520px; height: 520px; top: -180px; right: -120px; }
.hero-blob.b2 { width: 380px; height: 380px; bottom: -140px; left: -100px; background: radial-gradient(circle, rgba(30,79,216,0.4) 0%, rgba(30,79,216,0) 70%); }
.hero-grid-fade {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, black 0%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  display: grid; grid-template-columns: minmax(0,1fr); gap: var(--sp-8);
  align-items: center; position: relative; z-index: 1;
}
@media (min-width: 980px) { .hero-inner { grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr); } }

.hero-copy .badge { margin-bottom: var(--sp-5); }
.hero-headline { font-size: var(--fs-hero); margin-bottom: var(--sp-5); }
.hero-headline .bn-line { font-family: var(--font-bn); font-weight: 700; }
.hero-headline .en-line {
  font-family: var(--font-en); font-weight: 500; font-size: 0.42em; color: var(--sky-ice);
  margin-top: var(--sp-3); letter-spacing: 0.01em;
}
.hero-sub { font-size: var(--fs-body-lg); color: rgba(255,255,255,0.82); max-width: 540px; margin-bottom: var(--sp-6); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-7); }
.hero-microtrust { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.hero-microtrust .mt-item { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: rgba(255,255,255,0.75); }
.hero-microtrust strong { font-family: var(--font-data); color: var(--white); font-size: 1rem; }

/* ============================================================
   HERO SLIDER — auto-sliding course showcase, admin-editable
   (replaces the old static "device dashboard" mockup)
   ============================================================ */
.hero-visual { position: relative; }
.hero-slider {
  position: relative; border-radius: 28px; overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 30px 80px rgba(3,10,26,0.55), 0 1.5px 0 rgba(255,255,255,0.18) inset;
}
.hero-slider-track {
  display: flex; transition: transform var(--dur-slow) var(--ease-out);
}
.hero-slide {
  flex: 0 0 100%; width: 100%; min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; padding: var(--sp-6);
}
.hero-slide-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,14,32,0.88) 0%, rgba(6,14,32,0.35) 55%, rgba(6,14,32,0.05) 100%);
}
.hero-slide-icon {
  position: relative; z-index: 1; font-size: 2.6rem; margin-bottom: var(--sp-4);
  width: 68px; height: 68px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.24);
}
.hero-slide-info { position: relative; z-index: 1; color: var(--white); }
.hero-slide-info .badge { margin-bottom: var(--sp-3); }
.hero-slide-info h3 { font-size: 1.5rem; margin-bottom: 8px; }
.hero-slide-info p { font-size: var(--fs-sm); color: rgba(255,255,255,0.82); max-width: 420px; margin-bottom: var(--sp-4); }

.hero-slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; padding: 0;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-spring);
}
.hero-slider-arrow:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.08); }
.hero-slider-arrow.prev { left: var(--sp-3); }
.hero-slider-arrow.next { right: var(--sp-3); }

.hero-slider-dots {
  position: absolute; bottom: var(--sp-4); left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; gap: 8px;
}
.hero-slider-dots button {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; border: none;
  background: rgba(255,255,255,0.35); transition: all var(--dur-fast) var(--ease-out);
}
.hero-slider-dots button[aria-current="true"] { background: var(--white); width: 22px; border-radius: var(--radius-pill); }

@media (max-width: 640px) {
  .hero-slide { min-height: 320px; padding: var(--sp-5); }
  .hero-slider-arrow { width: 36px; height: 36px; }
}

/* ============================================================
   QUICK CATEGORY PICKER — homepage, right under the hero
   ============================================================ */
.quick-cat-row {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: var(--sp-6) 0 var(--sp-6);
}
.quick-cat-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px;
  border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-card); font-size: var(--fs-sm); font-weight: 700; color: var(--grey-700);
  transition: all var(--dur-fast) var(--ease-out);
}
.quick-cat-chip:hover { color: var(--royal); border-color: rgba(30,79,216,0.25); transform: translateY(-2px); box-shadow: var(--shadow-card-hi); }
.quick-cat-chip-all { background: var(--grad-brand); color: var(--white); border-color: transparent; }
.quick-cat-chip-all:hover { color: var(--white); opacity: 0.92; }

/* ============================================================
   STATS
   ============================================================ */
.stats-strip {
  margin-top: -56px; position: relative; z-index: 2;
}
.stats-card {
  border-radius: var(--radius-xl); padding: var(--sp-6) var(--sp-5);
  display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-6);
}
@media (min-width: 720px) { .stats-card { grid-template-columns: repeat(5,1fr); } }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-data); font-weight: 700; font-size: clamp(1.5rem,3vw,2.1rem); color: var(--ink-navy); }
.stat-num sup { font-size: 0.5em; color: var(--royal); }
.stat-label { font-size: var(--fs-xs); color: var(--grey-500); margin-top: 4px; font-weight: 600; }

/* ============================================================
   FLAGSHIP COURSE
   ============================================================ */
.flagship {
  border-radius: var(--radius-xl); overflow: hidden; position: relative;
  background: var(--grad-hero); color: var(--white);
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 900px) { .flagship { grid-template-columns: 1.1fr 0.9fr; } }
.flagship-copy { padding: var(--sp-8); position: relative; z-index: 1; }
.flagship-copy h3 { font-size: var(--fs-h1); margin: var(--sp-3) 0 var(--sp-4); }
.flagship-copy p { color: rgba(255,255,255,0.8); max-width: 480px; margin-bottom: var(--sp-6); }
.flagship-cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

.flagship-stats {
  padding: var(--sp-7) var(--sp-6);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4);
  position: relative; z-index: 1;
}
.fs-item {
  border-radius: var(--radius-md); padding: var(--sp-4);
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.fs-item .fs-num { font-family: var(--font-data); font-weight: 700; font-size: 1.5rem; }
.fs-item .fs-lab { font-size: 0.72rem; color: rgba(255,255,255,0.7); margin-top: 2px; }

/* ============================================================
   HOW LEARNING WORKS — numbered sequence (real order)
   ============================================================ */
.flow-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-4);
}
@media (min-width: 640px) { .flow-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1040px) { .flow-grid { grid-template-columns: repeat(4,1fr); } }
.flow-step {
  border-radius: var(--radius-lg); padding: var(--sp-5); background: var(--grad-card);
  box-shadow: var(--shadow-card); position: relative;
}
.flow-step .fs-index {
  font-family: var(--font-data); font-weight: 700; color: var(--royal);
  font-size: 0.78rem; letter-spacing: 0.05em;
}
.flow-step h4 { margin: var(--sp-3) 0 6px; font-size: 1.02rem; }
.flow-step p { font-size: var(--fs-sm); color: var(--grey-500); }
.flow-connector {
  display: none;
}
@media (min-width: 1040px) {
  .flow-step:not(:last-child)::after {
    content: ""; position: absolute; top: 30px; right: -22px; width: 20px; height: 1px;
    background: repeating-linear-gradient(90deg, var(--grey-300) 0 6px, transparent 6px 10px);
  }
}

/* ============================================================
   SMART-7 SYSTEM — horizontal glass stepper
   ============================================================ */
.smart7-wrap { position: relative; }
.smart7-track {
  display: flex; gap: var(--sp-4); overflow-x: auto; padding: var(--sp-2) var(--sp-1) var(--sp-5);
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.smart7-card {
  scroll-snap-align: start;
  min-width: 220px; flex: 0 0 auto;
  border-radius: var(--radius-lg); padding: var(--sp-5);
  background: var(--glass-fill-light);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.smart7-card .s7-letter {
  width: 42px; height: 42px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  background: var(--grad-brand); color: var(--white); font-family: var(--font-data); font-weight: 700; margin-bottom: var(--sp-4);
}
.smart7-card h4 { font-size: 1rem; margin-bottom: 6px; }
.smart7-card p { font-size: var(--fs-sm); color: var(--grey-500); }

/* ============================================================
   COURSE CARDS
   ============================================================ */
.course-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 680px) { .course-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1040px) { .course-grid { grid-template-columns: repeat(3,1fr); } }

.course-card { overflow: hidden; }
.course-thumb {
  height: 160px; background: var(--grad-hero); position: relative; display: flex; align-items: flex-end; padding: var(--sp-4);
  overflow: hidden; /* clips the zoom effect below */
}
.course-thumb .badge { position: absolute; top: var(--sp-3); left: var(--sp-3); z-index: 1; }
.course-thumb .badge-discount { left: auto; right: var(--sp-3); }
.course-thumb-icon {
  color: rgba(255,255,255,0.9); font-family: var(--font-data); font-weight: 700; font-size: 1.6rem;
  transition: transform var(--dur-med) var(--ease-out);
}
.course-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-med) var(--ease-out);
}
/* Thumbnail zoom on hover — the icon/gradient (or an admin-added image) scales up
   while the card itself stays put, clipped by .course-thumb's overflow:hidden. */
.course-card:hover .course-thumb-icon,
.course-card:hover .course-thumb img { transform: scale(1.14); }

.course-body { padding: var(--sp-5); }
.course-body h4 { font-size: 1.05rem; margin-bottom: 6px; }
.course-body .course-desc { font-size: var(--fs-sm); color: var(--grey-500); margin-bottom: var(--sp-4); }
.course-meta { display: flex; gap: var(--sp-4); font-size: var(--fs-xs); color: var(--grey-500); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.course-meta span { display: flex; align-items: center; gap: 5px; }
.course-foot { display: flex; align-items: center; justify-content: space-between; padding-top: var(--sp-4); border-top: 1px solid var(--grey-100); }
.course-price { font-family: var(--font-data); font-weight: 700; color: var(--royal); font-size: 1.08rem; }
.course-price .old { text-decoration: line-through; color: var(--grey-300); font-weight: 500; font-size: 0.72em; margin-right: 6px; }

/* ============================================================
   WHY / FEATURES
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1040px) { .feat-grid { grid-template-columns: repeat(3,1fr); } }
.feat-card { padding: var(--sp-5); border-radius: var(--radius-lg); }
.feat-card .feat-icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm); margin-bottom: var(--sp-4);
  background: rgba(30,79,216,0.1); color: var(--royal); display: flex; align-items: center; justify-content: center;
}
.feat-card h4 { font-size: 1.02rem; margin-bottom: 6px; }
.feat-card p { font-size: var(--fs-sm); color: var(--grey-500); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-track { display: flex; gap: var(--sp-5); overflow-x: auto; padding: var(--sp-2) var(--sp-1) var(--sp-5); scroll-snap-type: x proximity; }
.testi-card {
  scroll-snap-align: start; min-width: 300px; max-width: 340px; flex: 0 0 auto;
  padding: var(--sp-6); border-radius: var(--radius-lg); background: var(--grad-card); box-shadow: var(--shadow-card);
}
.testi-quote { font-size: var(--fs-body); color: var(--grey-700); margin-bottom: var(--sp-5); }
.testi-person { display: flex; align-items: center; gap: var(--sp-3); }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-brand); flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: var(--fs-sm); }
.testi-role { font-size: var(--fs-xs); color: var(--grey-500); }

/* ============================================================
   FUTURE SKILLS
   ============================================================ */
.chip-cloud { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.skill-chip {
  padding: 12px 22px; border-radius: var(--radius-pill); font-size: var(--fs-sm); font-weight: 600;
  background: var(--grad-card); box-shadow: var(--shadow-card); color: var(--grey-700);
  transition: all var(--dur-fast) var(--ease-out);
}
.skill-chip:hover { color: var(--royal); box-shadow: var(--shadow-card-hi); transform: translateY(-2px); }

/* ============================================================
   YOUTUBE VIDEOS
   ============================================================ */
.video-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1040px) { .video-grid { grid-template-columns: repeat(3,1fr); } }
.video-card {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--grad-card);
  box-shadow: var(--shadow-card); display: block; position: relative;
}
.video-thumb {
  height: 180px; position: relative; display: flex; align-items: center; justify-content: center;
  background: var(--grad-hero); overflow: hidden;
}
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-med) var(--ease-out); }
.video-thumb-emoji { position: absolute; font-size: 3.4rem; opacity: 0.5; transition: transform var(--dur-med) var(--ease-out); }
.video-card:hover .video-thumb img,
.video-card:hover .video-thumb-emoji { transform: scale(1.1); }
.video-play {
  position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,0,0,0.92); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 0 rgba(255,0,0,0.55);
  animation: play-blink 1.8s ease-in-out infinite;
}
.video-play svg { margin-left: 3px; }
@keyframes play-blink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,0,0,0.55); }
  50% { box-shadow: 0 0 0 14px rgba(255,0,0,0); }
}
.video-body { padding: var(--sp-4) var(--sp-5); }
.video-body h4 { font-size: 0.98rem; margin-bottom: 4px; }
.video-body p { font-size: var(--fs-xs); color: var(--grey-500); }

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-card); background: var(--grad-card);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-med) var(--ease-out); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sp-3);
  background: linear-gradient(0deg, rgba(6,14,32,0.82) 0%, rgba(6,14,32,0) 100%);
  color: var(--white); font-size: var(--fs-xs); font-weight: 600;
}
.gallery-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--grey-500); font-size: var(--fs-xs); font-weight: 600; background: var(--cloud); border: 1.5px dashed var(--grey-300);
}
.gallery-placeholder span { font-size: 2rem; opacity: 0.6; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  border-radius: var(--radius-xl); padding: var(--sp-9) var(--sp-6); text-align: center;
  background: var(--grad-hero); color: var(--white); position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: var(--fs-h1); margin-bottom: var(--sp-4); }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto var(--sp-6); }
.cta-row { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-card {
  border-radius: var(--radius-xl); padding: var(--sp-7) var(--sp-6);
  display: grid; grid-template-columns: 1fr; gap: var(--sp-6); align-items: center;
}
@media (min-width: 780px) { .newsletter-card { grid-template-columns: 1fr 1fr; } }
.newsletter-form { display: flex; flex-direction: column; gap: var(--sp-3); }
.field-row { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.field-row input {
  flex: 1; min-width: 200px; padding: 14px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--grey-100); font-size: var(--fs-body); font-family: var(--font-en);
  background: var(--white); transition: border-color var(--dur-fast) var(--ease-out);
}
.field-row input:focus { border-color: var(--royal); outline: none; }
.field-error { color: #D93636; font-size: var(--fs-xs); font-weight: 600; min-height: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink-navy); color: rgba(255,255,255,0.72); padding-top: var(--sp-9); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-7); padding-bottom: var(--sp-7); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: var(--sp-4); font-size: var(--fs-sm); max-width: 300px; color: rgba(255,255,255,0.55); }
.footer-col h5 { color: var(--white); font-size: var(--fs-sm); margin-bottom: var(--sp-4); letter-spacing: 0.02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: var(--fs-sm); transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover { color: var(--cyan-spark); }
.footer-socials { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); transition: background var(--dur-fast) var(--ease-out);
}
.footer-socials a:hover { background: rgba(255,255,255,0.18); }
.footer-socials a.whatsapp-link:hover { background: #25D366; }

.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: var(--sp-4); }
.footer-contact a { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: rgba(255,255,255,0.72); }
.footer-contact a:hover { color: var(--cyan-spark); }
.footer-contact svg { flex-shrink: 0; color: var(--cyan-spark); }

/* ---- Floating WhatsApp button — fixed, site-wide direct contact ---- */
.whatsapp-float {
  position: fixed; right: var(--sp-5); bottom: 100px; z-index: var(--z-nav);
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform var(--dur-fast) var(--ease-spring);
}
.whatsapp-float:hover { transform: scale(1.08); }
@media (min-width: 640px) { .whatsapp-float { bottom: var(--sp-5); } }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: var(--sp-5) 0 128px;
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; font-size: var(--fs-xs);
}
@media (min-width: 640px) { .footer-bottom { padding-bottom: var(--sp-6); } }

/* ============================================================
   MISC: page-load, empty state, phase note
   ============================================================ */
.phase-note {
  background: rgba(30,79,216,0.06); border: 1px dashed rgba(30,79,216,0.35);
  border-radius: var(--radius-md); padding: var(--sp-3) var(--sp-4); font-size: var(--fs-xs);
  color: var(--royal); display: inline-flex; align-items: center; gap: 8px; margin-top: var(--sp-3);
}

.load-fade { animation: load-fade var(--dur-slow) var(--ease-out) both; }
.load-fade-1 { animation-delay: 60ms; }
.load-fade-2 { animation-delay: 160ms; }
.load-fade-3 { animation-delay: 260ms; }
@keyframes load-fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   MODAL — generic overlay + box (used by the photo cropper and
   any future confirm/edit dialogs)
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10, 20, 40, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-4); z-index: 200;
}
.modal-box {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hi); padding: var(--sp-6);
  width: 100%; max-width: 420px; max-height: 90vh; overflow-y: auto;
}
.modal-box h3 { font-size: 1.1rem; margin-bottom: var(--sp-2); }
.modal-box .modal-hint { font-size: var(--fs-xs); color: var(--grey-500); margin-bottom: var(--sp-4); }
.modal-actions { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.modal-actions .btn { flex: 1; }

/* ---- Photo cropper ---- */
.cropper-frame {
  width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-md);
  overflow: hidden; background: var(--grey-900);
  touch-action: none; cursor: grab; position: relative;
  box-shadow: 0 0 0 3px var(--sky-ice);
}
.cropper-frame:active { cursor: grabbing; }
.cropper-frame canvas { display: block; width: 100%; height: 100%; }
.cropper-zoom-row { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-5); }
.cropper-zoom-row svg { flex-shrink: 0; color: var(--grey-500); }
.cropper-zoom-row input[type="range"] {
  flex: 1; accent-color: var(--royal); height: 4px;
}

/* Image-only admin hero slides */
.hero-slide.image-only{padding:0;min-height:360px;background:#0d1b36}.hero-slide.image-only .hero-slide-bg{position:absolute;inset:0}.hero-slide.image-only .hero-slide-bg::after{display:none}.hero-slide.image-only .hero-slide-bg img{object-fit:cover;width:100%;height:100%}
@media(max-width:720px){.hero-slide.image-only{min-height:240px}}

/* PHASE 5 — public-site mobile loading/layout refinements */
.hero-slide-bg img,.gallery-card img,.video-thumb img{content-visibility:auto}
@media(max-width:600px){
  .navbar-inner{min-height:64px}
  .brand img{max-height:38px}
  .hero{padding-top:22px}
  .hero-inner{gap:18px}
  .hero-copy h1{font-size:clamp(1.9rem,9vw,2.7rem)}
  .hero-copy p{font-size:.9rem}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:9px}
  .hero-actions .btn{width:100%;justify-content:center}
  .hero-slide.image-only{min-height:190px;border-radius:16px}
  .section{padding-block:42px}
  .section-head{margin-bottom:20px}
  .footer-grid{gap:22px}
  .whatsapp-float{width:50px;height:50px;right:14px;bottom:82px}
}
