:root{
  --bg: #0b1220;
  --panel: rgba(255, 255, 255, 0.06);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --muted2: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.10);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --shadow2: 0 10px 26px rgba(0, 0, 0, 0.28);
  --brand1: #01708b;
  --brand2: #fda607;
  --brand3: #eff9ff;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 520px at 20% 10%, rgba(1, 112, 139, 0.28), transparent 60%),
    radial-gradient(900px 520px at 85% 15%, rgba(253, 166, 7, 0.18), transparent 60%),
    radial-gradient(900px 600px at 80% 90%, rgba(239, 249, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #070b14, #0b1220 30%, #090f1c);
  overflow-x: hidden;
}
a{ color: inherit; text-decoration: none; }
button, input{ font: inherit; }

.container{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.muted{ color: var(--muted); }
.muted2{ color: var(--muted2); }
.title{
  font-weight: 850;
  letter-spacing: -0.03em;
  margin: 0;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
  user-select: none;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.btn:focus-visible{
  outline: 3px solid rgba(253, 166, 7, 0.30);
  outline-offset: 2px;
}
.btn-primary{
  background: linear-gradient(135deg, var(--brand1), #014e61);
  box-shadow: 0 14px 30px rgba(1, 112, 139, 0.26);
  color: white;
}
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 18px 40px rgba(1, 112, 139, 0.34); }
.btn-ghost{
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: rgba(255, 255, 255, 0.92);
}
.btn-ghost:hover{ transform: translateY(-1px); background: rgba(255, 255, 255, 0.10); }
.btn-success{
  background: linear-gradient(135deg, var(--brand2), #c97f05);
  box-shadow: 0 14px 30px rgba(253, 166, 7, 0.26);
  color: #1b1200;
}
.btn-success:hover{ transform: translateY(-1px); box-shadow: 0 18px 44px rgba(253, 166, 7, 0.32); }

.tag{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}

.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.show{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  .btn{ transition: none; }
}

header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 249, 255, 0.92);
  border-bottom: 1px solid rgba(11, 18, 32, 0.10);
  backdrop-filter: blur(10px);
}
.topbar{
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: auto;
}
.brand img{
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(11, 18, 32, 0.10);
  padding: 6px;
}
.brand span{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 16px;
  color: rgba(11, 18, 32, 0.92);
}
nav{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.10);
  background: rgba(255, 255, 255, 0.72);
}
.navlink{
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(11, 18, 32, 0.72);
  font-weight: 850;
  font-size: 13px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.navlink:hover{
  background: rgba(11, 18, 32, 0.06);
  color: rgba(11, 18, 32, 0.90);
  transform: translateY(-1px);
}
.navlink.active{
  background: rgba(1, 112, 139, 0.14);
  border: 1px solid rgba(1, 112, 139, 0.24);
  color: rgba(11, 18, 32, 0.92);
}
.actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 240px;
}
.hamburger{
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.70);
  cursor: pointer;
}
.hamburger svg{ width: 20px; height: 20px; fill: rgba(11, 18, 32, 0.78); }

.mobileMenu{ display: none; padding: 14px 0 18px; }
.mobileMenu.open{ display: block; }
.mobileMenu .stack{ display: grid; gap: 10px; }
.mobileMenu a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, 0.10);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  color: rgba(11, 18, 32, 0.90);
}
.mobileMenu a:hover{ background: rgba(255, 255, 255, 0.96); }

header .btn-ghost{
  background: rgba(11, 18, 32, 0.05);
  border-color: rgba(11, 18, 32, 0.14);
  color: rgba(11, 18, 32, 0.92);
}
header .btn-ghost:hover{ background: rgba(11, 18, 32, 0.08); }
.mobileMenu .row{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.section{ padding: 56px 0; }
.section h2{ font-size: clamp(22px, 3vw, 30px); margin: 0 0 10px; }

.pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.hero{ padding: 42px 0 10px; }
.heroGrid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
}
.hero h1{
  font-size: clamp(30px, 4.1vw, 48px);
  line-height: 1.06;
  margin: 14px 0 12px;
}
.hero .sub{
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
}
.heroButtons{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.heroCard{
  padding: 18px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}
.heroCard::before{
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(520px 260px at 15% 20%, rgba(1, 112, 139, 0.26), transparent 60%),
    radial-gradient(520px 260px at 75% 25%, rgba(253, 166, 7, 0.20), transparent 60%),
    radial-gradient(520px 260px at 50% 85%, rgba(239, 249, 255, 0.12), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}
.heroCardInner{
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.72), rgba(7, 11, 20, 0.38));
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}
.heroCardInner .tag{
  background: rgba(7, 11, 20, 0.62);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.90);
}
.heroArt{
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.30), rgba(7, 11, 20, 0.62)),
    url("./clasesonline.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.heroArt svg{ width: min(360px, 90%); height: auto; opacity: 0; }
.heroMiniStats{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.stat{ border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); padding: 12px; }
.stat .k{ font-weight: 950; font-size: 16px; }
.stat .l{ color: var(--muted2); font-weight: 800; font-size: 12px; margin-top: 4px; }

.cards{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.courseCard{
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  overflow: hidden;
}
.courseCard:hover{
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.30);
}
.thumb{
  width: 100%;
  height: 148px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
.thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.courseMeta{ display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 10px; }
.courseCard h3{
  margin: 10px 0 6px;
  font-size: 16px;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.courseCard .by{ margin: 0 0 10px; color: var(--muted); font-weight: 750; font-size: 13px; }
.courseBottom{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.price{ font-weight: 950; letter-spacing: -0.02em; }

.how{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.step{ padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); }
.step .icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.step .icon svg{ width: 20px; height: 20px; fill: rgba(255, 255, 255, 0.9); }
.step h3{ margin: 0 0 6px; font-size: 15px; letter-spacing: -0.02em; font-weight: 950; }
.step p{ margin: 0; color: var(--muted); line-height: 1.55; font-weight: 650; }

.testimonials{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.quote{ padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); position: relative; overflow: hidden; }
.quote::before{
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(1, 112, 139, 0.22), transparent 60%);
  pointer-events: none;
}
.quote .text{ margin: 0; color: rgba(255, 255, 255, 0.86); line-height: 1.65; font-weight: 650; }
.quote .who{ display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.avatar{ width: 40px; height: 40px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.06); display: grid; place-items: center; font-weight: 950; }
.who .name{ font-weight: 950; }
.who .role{ color: var(--muted2); font-weight: 800; font-size: 12px; margin-top: 2px; }

.cta{
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(1, 112, 139, 0.22), rgba(253, 166, 7, 0.14));
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(34, 197, 94, 0.12));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
.cta h3{ margin: 0; font-weight: 950; letter-spacing: -0.02em; }
.cta p{ margin: 6px 0 0; color: var(--muted); font-weight: 650; }

.pageHead{ padding: 24px 0 10px; }
.pageTitleRow{ display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pageTitleRow h1{ font-size: clamp(22px, 3.2vw, 34px); margin: 10px 0 8px; letter-spacing: -0.03em; }
.crumbs{ color: var(--muted2); font-weight: 800; font-size: 13px; }

.panel{
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}
.detailGrid{ display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; padding: 12px 0 44px; }
.moduleList{ margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.moduleItem{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.moduleItem .left{ display: flex; align-items: center; gap: 10px; }
.dot{ width: 10px; height: 10px; border-radius: 999px; background: rgba(1, 112, 139, 0.9); box-shadow: 0 0 0 6px rgba(1, 112, 139, 0.16); }
.moduleItem span{ font-weight: 900; color: rgba(255, 255, 255, 0.90); }
.moduleItem small{ color: var(--muted2); font-weight: 800; }

.playerGrid{ display: grid; grid-template-columns: 340px 1fr; gap: 16px; padding: 12px 0 54px; }
.lessonList{
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  height: fit-content;
  position: sticky;
  top: 92px;
}
.lessonList .top{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.bar{ height: 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.bar > div{ height: 100%; width: 0%; background: linear-gradient(90deg, var(--brand1), var(--brand2)); border-radius: 999px; transition: width 240ms ease; }
.lessonItems{ margin-top: 12px; display: grid; gap: 10px; }
.lessonBtn{
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}
.lessonBtn:hover{ transform: translateY(-1px); background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.18); }
.lessonBtn.active{ background: rgba(1, 112, 139, 0.14); border-color: rgba(1, 112, 139, 0.24); }
.lessonBtn .t{ font-weight: 950; font-size: 13px; line-height: 1.25; }
.lessonBtn .m{ color: var(--muted2); font-weight: 800; font-size: 12px; margin-top: 4px; }
.check{
  width: 26px;
  height: 26px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 2px;
}
.check svg{ width: 16px; height: 16px; fill: rgba(255, 255, 255, 0.40); }
.lessonBtn.completed .check{ background: rgba(253, 166, 7, 0.16); border-color: rgba(253, 166, 7, 0.32); }
.lessonBtn.completed .check svg{ fill: rgba(253, 166, 7, 0.95); }

.videoPanel{ border-radius: 18px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22); overflow: hidden; }
.videoFrame{ width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: rgba(0, 0, 0, 0.3); }
.videoMeta{ padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.videoMeta h2{ margin: 0; font-size: 16px; letter-spacing: -0.02em; }
.videoMeta .right{ display: flex; align-items: center; gap: 10px; }

.dashGrid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 12px 0 54px; }
.dashCard{
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: center;
}
.dashCard .thumb{ height: 100px; }
.dashCard h3{ margin: 0 0 6px; font-size: 16px; font-weight: 950; letter-spacing: -0.02em; }
.dashCard .meta{ display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pct{ color: rgba(255, 255, 255, 0.88); font-weight: 950; }

.authGrid{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 12px 0 54px; }
.form{ padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22); }
.field{ display: grid; gap: 8px; margin-top: 12px; }
.field label{ font-weight: 950; font-size: 13px; color: rgba(255, 255, 255, 0.88); }
.field input{
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
}
.field input:focus{ outline: none; border-color: rgba(1, 112, 139, 0.34); box-shadow: 0 0 0 4px rgba(1, 112, 139, 0.16); }
.form .row{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.adminKpis{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.adminKpi{
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  padding: 16px;
}
.adminKpi .k{ color: var(--muted2); font-weight: 900; font-size: 12px; letter-spacing: 0.2px; text-transform: uppercase; }
.adminKpi .v{ font-weight: 980; font-size: 26px; letter-spacing: -0.03em; margin-top: 6px; }
.adminKpi .d{ color: var(--muted); font-weight: 750; font-size: 13px; margin-top: 6px; }

.adminGrid{ display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.adminCourseList{ display: grid; gap: 10px; margin-top: 14px; }
.adminCourseRow{
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}
.adminCourseRow .thumb{ height: 68px; }
.adminBadges{ display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.badge{
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(1, 112, 139, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  font-size: 12px;
}
.badge2{
  background: rgba(253, 166, 7, 0.18);
  border-color: rgba(253, 166, 7, 0.28);
  color: rgba(253, 166, 7, 0.96);
}
.tableWrap{ margin-top: 12px; overflow-x: auto; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.12); }
.table{
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: rgba(255, 255, 255, 0.03);
}
.table th, .table td{ padding: 12px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.10); text-align: left; }
.table th{ font-size: 12px; letter-spacing: 0.2px; text-transform: uppercase; color: var(--muted2); font-weight: 950; }
.table td{ color: rgba(255, 255, 255, 0.90); font-weight: 750; }
.rowBar{ display: flex; align-items: center; gap: 10px; min-width: 220px; }

footer{
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(900px 460px at 12% 20%, rgba(1, 112, 139, 0.18), transparent 60%),
    radial-gradient(900px 460px at 85% 10%, rgba(253, 166, 7, 0.14), transparent 60%),
    rgba(7, 11, 20, 0.68);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}
footer::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
}
footer .muted{ color: rgba(255, 255, 255, 0.72); }
footer .muted2{ color: rgba(255, 255, 255, 0.55); }
footer .tag{
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
}
.footerTop{
  padding: 34px 0 18px;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr;
  gap: 22px;
  align-items: start;
}
.footerBrandBlock{
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.26);
}
.footerBrand{ display: flex; align-items: center; gap: 12px; }
.footerBrand img{
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px;
}
.footerBrandName{ font-weight: 950; letter-spacing: -0.02em; }
.footerBrandSub{ font-weight: 800; font-size: 13px; margin-top: 4px; }
.footerDesc{ margin-top: 12px; line-height: 1.6; font-weight: 650; }
.footerCol h4{
  margin: 0 0 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.80);
}
.footerLinks{ display: grid; gap: 8px; }
.footerLinks a{
  color: rgba(255, 255, 255, 0.70);
  font-weight: 850;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: 12px;
  transition: background 160ms ease, color 160ms ease;
}
.footerLinks a:hover{ color: rgba(255, 255, 255, 0.92); background: rgba(1, 112, 139, 0.16); }
.footerTagWrap{ margin-top: 14px; }
.footerTagWrap .tag svg path{ fill: rgba(255, 255, 255, 0.80); }
footer .social{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
footer .social a{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.social a:hover{ transform: translateY(-2px); background: rgba(1, 112, 139, 0.18); border-color: rgba(1, 112, 139, 0.26); }
footer .social svg{ width: 16px; height: 16px; fill: rgba(255, 255, 255, 0.88); display: block; }
.footerBottom{
  padding: 14px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.copyright{
  color: rgba(255, 255, 255, 0.55);
  font-weight: 800;
  font-size: 12px;
}
.footerMiniLinks{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footerMiniLinks a{
  color: rgba(255, 255, 255, 0.55);
  font-weight: 850;
  font-size: 12px;
}
.footerMiniLinks a:hover{ color: rgba(255, 255, 255, 0.92); }

.toastWrap{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: grid;
  gap: 10px;
}
.toast{
  width: min(360px, calc(100vw - 32px));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 12, 22, 0.75);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.35);
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: toastIn 280ms ease forwards;
}
@keyframes toastIn{
  from{ opacity: 0; transform: translateY(8px); }
  to{ opacity: 1; transform: translateY(0); }
}
.toast .ic{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.toast .ic.ok{ background: rgba(1, 112, 139, 0.14); border-color: rgba(1, 112, 139, 0.22); }
.toast .ic.err{ background: rgba(239, 68, 68, 0.16); border-color: rgba(239, 68, 68, 0.25); }
.toast .ic svg{ width: 18px; height: 18px; fill: rgba(255, 255, 255, 0.9); }
.toast h5{ margin: 0; font-weight: 950; font-size: 13px; }
.toast p{ margin: 4px 0 0; color: var(--muted); font-weight: 700; font-size: 12px; line-height: 1.5; }

@media (max-width: 980px){
  nav{ display: none; }
  .actions{ min-width: auto; }
  .actions .btn{ display: none; }
  .hamburger{ display: inline-grid; place-items: center; }
  .heroGrid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .how{ grid-template-columns: 1fr; }
  .testimonials{ grid-template-columns: 1fr; }
  .detailGrid{ grid-template-columns: 1fr; }
  .playerGrid{ display: flex; flex-direction: column; gap: 16px; }
  .lessonList{ position: static; }
  .videoPanel{ order: 1; }
  .lessonList{ order: 2; }
  .dashGrid{ grid-template-columns: 1fr; }
  .adminKpis{ grid-template-columns: repeat(2, 1fr); }
  .adminGrid{ grid-template-columns: 1fr; }
  .adminCourseRow{ grid-template-columns: 100px 1fr; }
  .adminBadges{ grid-column: 1 / -1; justify-content: flex-start; }
  .footerTop{ grid-template-columns: 1fr 1fr; }
  .authGrid{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .container{ width: min(1120px, calc(100% - 28px)); }
  .topbar{ height: 78px; gap: 10px; }
  .brand img{ width: 60px; height: 60px; }
  .hero{ padding: 28px 0 6px; }
  .section{ padding: 44px 0; }
  .pageHead{ padding: 18px 0 8px; }
  .heroCard{ padding: 12px; }
  .heroCardInner{ padding: 14px; }
  .heroArt{ aspect-ratio: 16 / 10; }
  .heroButtons{ flex-direction: column; align-items: stretch; }
  .heroButtons .btn{ width: 100%; }
  .pill{ flex-wrap: wrap; }
  .footerTop{ grid-template-columns: 1fr; padding: 26px 0 16px; }
  .footerBrandBlock{ padding: 14px; }
  footer .social{ margin-top: 10px; }
  .heroMiniStats{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .cta{ flex-direction: column; align-items: flex-start; }
  .mobileMenu .row{ grid-template-columns: 1fr; }
  .panel{ padding: 14px; }
  .videoMeta .right{ width: 100%; justify-content: space-between; }
  .dashCard{ grid-template-columns: 1fr; }
  .dashCard .thumb{ height: 160px; }
  .adminKpis{ grid-template-columns: 1fr; }
  .adminCourseRow .thumb{ height: 92px; }
}
