:root {
  --purple: #6b52ed;
  --purple-dark: #5c45d1;
  --purple-soft: #8b78f3;
  --indigo: #2a1a5e;
  --navy: #1a1d2e;
  --teal: #26d0ce;
  --teal-deep: #1fb8c9;
  --orange: #f58e33;
  --orange-soft: #f3a762;
  --lavender: #f4f1ff;
  --lavender-2: #eef2ff;
  --beige: #fef9f6;
  --peach: #fff4ec;
  --text: #3d4160;
  --muted: #7a7e9a;
  --line: #ece8f8;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(42, 26, 94, 0.08);
  --shadow-lg: 0 22px 50px rgba(42, 26, 94, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin-bottom: 0.9rem; }
h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  color: var(--indigo);
  font-weight: 700;
  line-height: 1.25;
}

.container-site {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.section { padding: 90px 0; }
.section-sm { padding: 70px 0; }
.section-label {
  display: inline-block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(28px, 3.2vw, 42px);
  margin-bottom: 16px;
}
.section-title span,
.accent {
  color: var(--purple);
}
.underline-mark {
  position: relative;
  display: inline-block;
}
.underline-mark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'><path d='M2 8 C30 2 90 2 118 8' stroke='%23F58E33' stroke-width='4' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
}
.text-muted-site { color: var(--muted); }

/* Buttons */
.btn-purple,
.btn-orange,
.btn-outline,
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: 0.25s ease;
  line-height: 1;
}
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: var(--purple-dark); color: #fff; transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; width: 100%; justify-content: center; border-radius: 6px; }
.btn-orange:hover { background: #e57b1d; color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline:hover { background: var(--purple); color: #fff; }
.btn-white { background: #fff; color: var(--purple); }
.btn-white:hover { background: var(--lavender); color: var(--purple); }
.btn-pill { border-radius: 999px; }

/* Top bar */
.topbar {
  background: var(--navy);
  color: #d9dcec;
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar a { color: #d9dcec; }
.topbar a:hover { color: #fff; }
.topbar-social { display: flex; gap: 14px; font-size: 14px; }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 1040; box-shadow: 0 4px 18px rgba(42, 26, 94, 0.06); }
.navbar-site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 18px;
  position: relative;
}
.brand-logo { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.brand-logo img.logo-mark { width: 46px; height: 46px; object-fit: contain; }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word strong { color: var(--indigo); font-size: 20px; font-weight: 700; }
.brand-word span { color: var(--purple); font-size: 12px; font-weight: 600; letter-spacing: 0.4px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin: 0; }
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--indigo);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--purple); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 42%;
  bottom: -8px;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--indigo);
  font-size: 18px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--purple);
  color: #fff;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu-toggle { display: none; border: 0; background: transparent; font-size: 26px; color: var(--indigo); }

/* Page hero */
.page-hero {
  background: linear-gradient(180deg, #eef1ff 0%, #f7f4ff 100%);
  padding: 70px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.page-hero::before {
  width: 180px; height: 180px; background: rgba(107, 82, 237, 0.08); left: 6%; top: 20px;
}
.page-hero::after {
  width: 140px; height: 140px; background: rgba(245, 142, 51, 0.12); right: 8%; bottom: 10px;
}
.breadcrumb-site { color: var(--orange); font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.breadcrumb-site a { color: var(--orange); }
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); margin: 0; }

/* Blobs */
.blob-wrap { position: relative; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
  pointer-events: none;
  z-index: 0;
}
.blob.b1 { width: 280px; height: 280px; background: #efe7ff; top: -80px; left: -70px; }
.blob.b2 { width: 220px; height: 220px; background: #e7fbfa; right: 8%; top: 80px; }
.blob.b3 { width: 180px; height: 180px; background: #ffeede; left: 40%; bottom: -50px; }

/* Hero home */
.home-hero {
  background: var(--beige);
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-copy h1 { font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 18px; }
.hero-copy h1 .grad {
  background: linear-gradient(90deg, var(--purple), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-kicker { color: var(--orange); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; margin-bottom: 10px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--indigo);
  font-weight: 600;
}
.play-btn i {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--purple);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.hex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  transform: rotate(0deg);
  position: relative;
  z-index: 1;
}
.hex {
  aspect-ratio: 1;
  overflow: hidden;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  background: #ddd;
}
.hex img { width: 100%; height: 100%; object-fit: cover; }
.hex.offset { transform: translateY(36px); }
.student-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  box-shadow: var(--shadow);
  margin-top: 28px;
  font-weight: 600;
  color: var(--indigo);
  font-size: 14px;
}
.student-badge .faces { display: flex; }
.student-badge .faces img {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -8px;
}
.student-badge .faces img:first-child { margin-left: 0; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  border-radius: 14px;
  padding: 28px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  transition: 0.25s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card h4 { font-size: 16px; margin: 8px 0 0; }
.cat-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; background: #fff;
}
.cat-card.c1 { background: #e8fbf4; color: #1aa37a; }
.cat-card.c2 { background: #fdeef4; color: #d45386; }
.cat-card.c3 { background: #eef3ff; color: #4d6dff; }
.cat-card.c4 { background: #fff3e6; color: #e0892e; }
.cat-card.c5 { background: #eefbfb; color: #1aa8b5; }
.cat-card.c6 { background: #f3eefe; color: #6b52ed; }
.cat-card.c7 { background: #fff0f0; color: #e35d5d; }
.cat-card.c8 { background: #eef7ff; color: #2f7ad1; }
.cat-card .bi-arrow-right { color: var(--muted); }

/* About split */
.about-photos { position: relative; min-height: 460px; }
.about-photos img {
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: var(--shadow);
  position: absolute;
}
.about-photos .p1 { width: 270px; height: 270px; left: 20px; top: 20px; }
.about-photos .p2 { width: 180px; height: 180px; right: 20px; top: 0; }
.about-photos .p3 { width: 160px; height: 160px; left: 80px; bottom: 10px; }
.check-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text);
}
.check-list i { color: var(--purple); margin-top: 4px; }

/* Course cards */
.course-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.25s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card .thumb { position: relative; height: 200px; overflow: hidden; }
.course-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.course-tags { display: flex; gap: 8px; margin-bottom: 8px; }
.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
}
.tag-teal { background: var(--teal); }
.tag-purple { background: var(--purple); }
.stars { color: var(--orange); font-size: 13px; margin-bottom: 8px; }
.course-card h3 { font-size: 17px; margin-bottom: 10px; min-height: 48px; }
.course-meta {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
}
.course-meta i { color: var(--purple); }
.price-btn { margin-top: auto; }

/* Stats */
.stats-band {
  background: var(--purple);
  color: #fff;
  padding: 54px 0 48px;
  position: relative;
  margin-top: 20px;
}
.stats-band::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 0; right: 0;
  height: 40px;
  background: var(--purple);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.stat-item { text-align: center; color: #fff; }
.stat-item i { font-size: 32px; display: block; margin-bottom: 8px; }
.stat-item strong { font-size: 32px; display: block; }
.stat-item span { opacity: 0.9; font-size: 14px; }
.stat-circles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-circle .icon {
  width: 90px; height: 90px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 30px; color: #fff; margin-bottom: 12px;
}
.stat-circle h3 { margin: 0; font-size: 28px; }
.bg-teal { background: var(--teal); }
.bg-orange { background: var(--orange); }
.bg-sky { background: #5aa6ff; }
.bg-pink { background: #f17aa8; }

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  font-weight: 600;
  color: var(--indigo);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item .faq-body { display: none; padding: 0 18px 16px; color: var(--muted); }
.faq-item.open { border-color: var(--purple); }
.faq-item.open .faq-body { display: block; }
.faq-photo {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 420px;
}
.faq-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.faq-photo::after {
  content: "";
  position: absolute;
  inset: auto -20px -20px auto;
  width: 55%;
  height: 55%;
  background: var(--teal);
  border-radius: 40px 0 0 0;
  z-index: -1;
}

/* Instructors */
.instructor-card { text-align: center; }
.hex-frame {
  width: 180px;
  height: 200px;
  margin: 0 auto 14px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  background: #eee;
}
.hex-frame img { width: 100%; height: 100%; object-fit: cover; }
.instructor-card h4 { margin: 0; font-size: 18px; }
.instructor-card span { color: var(--muted); font-size: 13px; }
.instructor-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 280px;
}
.instructor-tile img { width: 100%; height: 100%; object-fit: cover; }
.share-fab {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.instructor-tile h4, .instructor-tile p { margin: 10px 0 0; }

/* Testimonials */
.t-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  height: 100%;
}
.t-card .quote { font-size: 42px; color: var(--orange); line-height: 1; }
.t-user { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.t-user img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }

/* CTA */
.cert-cta {
  background: linear-gradient(90deg, var(--teal), var(--teal-deep));
  color: #fff;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.cert-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.cta-people {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255,255,255,0.35);
}

/* Blog */
.blog-card { background: #fff; }
.blog-card .thumb { position: relative; border-radius: 14px; overflow: hidden; height: 220px; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.date-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--purple);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1.1;
  font-size: 14px;
}
.date-badge small { font-size: 11px; font-weight: 600; }
.text-purple { color: var(--purple); }
.nav-cta-mobile { display: none; }
.blog-card h3 { font-size: 20px; margin: 12px 0; }
.blog-meta { color: var(--muted); font-size: 13px; display: flex; gap: 14px; margin-top: 10px; }
.read-more { color: var(--purple); font-weight: 600; }

/* Partners */
.partners { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; opacity: 0.55; filter: grayscale(1); padding: 20px 0 10px; }
.partner-mark { font-weight: 800; letter-spacing: 1px; color: var(--navy); font-size: 20px; }

/* Footer */
.site-footer { position: relative; margin-top: 80px; }
.footer-bg {
  background: linear-gradient(90deg, #eef6ff, #f3eeff);
  padding: 120px 0 20px;
  position: relative;
}
.footer-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(107,82,237,0.05) 0 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.newsletter-bar {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 16px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -48px;
  width: min(var(--container), calc(100% - 32px));
  z-index: 2;
}
.newsletter-bar form { display: flex; gap: 10px; align-items: flex-start; }
.newsletter-bar input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 30px; }
.footer-grid h5 { margin-bottom: 16px; }
.footer-grid p { color: var(--muted); font-size: 14px; }
.footer-grid a { color: var(--text); font-size: 14px; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--purple); }
.footer-grid a i { color: var(--purple); margin-right: 6px; }
.gallery-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-mini img { width: 100%; height: 64px; object-fit: cover; border-radius: 6px; }
.footer-bottom {
  border-top: 1px solid #e4e8f5;
  margin-top: 36px;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--purple); }
.social-row { display: flex; gap: 10px; margin-top: 12px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--purple);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(42,26,94,0.08);
}

/* Forms */
.form-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 32px;
}
.form-control-site,
.form-select-site,
textarea.form-control-site {
  width: 100%;
  background: #f6f4fb;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 14px;
  margin-bottom: 4px;
  outline: none;
  font-family: inherit;
  color: var(--text);
}
.form-control-site:focus,
textarea.form-control-site:focus { border-color: var(--purple); background: #fff; }
.field-error { color: #d64545; font-size: 12px; min-height: 18px; margin-bottom: 8px; display: block; }
.form-success {
  background: #e8fbf4;
  color: #157a58;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: none;
}
.form-success.show { display: block; }

/* Pricing */
.plan-toggle {
  display: inline-flex;
  background: #efeafc;
  border-radius: 999px;
  padding: 6px;
  margin: 18px auto 36px;
}
.plan-toggle button {
  border: 0;
  background: transparent;
  padding: 10px 26px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--indigo);
}
.plan-toggle button.active { background: var(--purple); color: #fff; }
.price-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--lavender);
  height: 100%;
  box-shadow: var(--shadow);
  position: relative;
}
.price-card.featured { background: var(--indigo); color: #fff; }
.price-card.featured h3,
.price-card.featured li,
.price-card.featured .price { color: #fff; }
.price-card .inner { padding: 28px; }
.price { font-size: 36px; font-weight: 700; color: var(--indigo); margin: 8px 0 18px; }
.price small { font-size: 14px; font-weight: 500; }
.price-card li { margin-bottom: 10px; display: flex; gap: 8px; }
.price-card li i { color: var(--purple); }
.price-card.featured li i { color: #b9a8ff; }
.popular-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-photo { width: 42%; object-fit: cover; min-height: 100%; }

/* Sidebar */
.side-widget {
  background: #f6f5fb;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 22px;
}
.side-widget h5 { margin-bottom: 14px; }
.side-post { display: flex; gap: 12px; margin-bottom: 14px; }
.side-post img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.tag-cloud a {
  display: inline-block;
  background: #fff;
  padding: 6px 10px;
  margin: 0 6px 8px 0;
  border-radius: 4px;
  font-size: 13px;
}
.tag-cloud a:hover { background: var(--purple); color: #fff; }

/* Course details */
.course-hero-img { position: relative; border-radius: 16px; overflow: hidden; }
.course-hero-img img { width: 100%; height: 420px; object-fit: cover; }
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-overlay span {
  width: 74px; height: 74px; border-radius: 50%;
  background: #fff; color: var(--purple);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: var(--shadow);
}
.tech-tag {
  position: absolute; left: 16px; top: 16px;
  background: var(--purple); color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 13px;
}
.include-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.include-box li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tabs-site { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin: 24px 0 16px; }
.tabs-site button { border: 0; background: none; padding: 8px 0; font-weight: 600; color: var(--muted); }
.tabs-site button.active { color: var(--purple); border-bottom: 2px solid var(--purple); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; }
.cart-table th, .cart-table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.qty-input { width: 64px; padding: 6px; border: 1px solid var(--line); border-radius: 6px; }
.remove-item { border: 0; background: transparent; color: #d64545; }

/* Contact */
.contact-wrap { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.contact-info-col { padding: 36px; background: linear-gradient(180deg, #fff, #f8f6ff); }
.info-row { display: flex; gap: 14px; margin-bottom: 18px; }
.info-row .ico {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--purple); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Legal */
.legal-content h3 { margin-top: 28px; font-size: 22px; }
.legal-content p, .legal-content li { color: var(--text); }
.legal-content ol, .legal-content ul { padding-left: 18px; margin-bottom: 12px; }
.legal-content li { list-style: disc; margin-bottom: 8px; }
.legal-content ol li { list-style: decimal; }

/* Search modal */
.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 29, 46, 0.55);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}
.search-modal.show { display: flex; }
.search-box {
  width: min(640px, calc(100% - 32px));
  background: #fff;
  border-radius: 14px;
  padding: 22px;
}
.search-results a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }

.pagination-site { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination-site a, .pagination-site span {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #f3f0fb; color: var(--indigo); font-weight: 600;
}
.pagination-site .active { background: var(--purple); color: #fff; }

.why-item { display: flex; gap: 14px; margin-bottom: 22px; }
.why-item .ico {
  width: 54px; height: 54px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}

@media (max-width: 991px) {
  .menu-toggle { display: inline-flex; }
  .nav-actions .btn-purple { display: none; }
  .nav-cta-mobile { display: block; font-weight: 600; color: var(--purple) !important; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 22px;
    box-shadow: var(--shadow);
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid, .newsletter-bar, .stat-circles { grid-template-columns: 1fr 1fr; }
  .newsletter-bar { position: relative; top: 0; transform: none; width: 100%; margin-bottom: 30px; }
  .site-footer { margin-top: 30px; }
  .footer-bg { padding-top: 40px; }
  .about-photos { min-height: 360px; }
  .hex.offset { transform: none; }
}
@media (max-width: 767px) {
  .topbar-inner { flex-direction: column; }
  .cat-grid, .footer-grid, .newsletter-bar, .stat-circles { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .about-photos .p1 { width: 180px; height: 180px; }
  .cta-people { display: none; }
  .course-hero-img img { height: 240px; }
  .brand-word span { display: none; }
}
