/* ════════════════════════════════════════════
   Skillmount Education — custom business page
════════════════════════════════════════════ */
#biz.skillmount-biz {
  --sm-primary: #c9a227;
  --sm-bg: #111111;
  --sm-card-bg: #1a1a1a;
  --sm-text: #f0ede6;
  --sm-text-muted: #999;
  --sm-gap: clamp(16px, 3vw, 32px);
  --sm-radius: 24px;
  --sm-nav-height: 80px;
  background: var(--sm-bg);
  color: var(--sm-text);
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.sm-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--sm-bg);
}

/* ── Background accents ── */
.sm-bg-accent {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  overflow: hidden;
}
.sm-bg-cover {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 80%;
  height: 80%;
  background: center/contain no-repeat;
}
.sm-bg-line {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: center/contain no-repeat;
  filter: blur(2px);
}

/* ── Header (overlays hero; top safe area from #biz.sview global padding) ── */
#biz.skillmount-biz .sm-header {
  top: 0;
  height: var(--sm-nav-height);
  margin-bottom: calc(-1 * var(--sm-nav-height));
  padding: 0 clamp(20px, 5vw, 80px);
  padding-left: max(clamp(20px, 5vw, 80px), var(--safe-left, env(safe-area-inset-left, 0px)));
  padding-right: max(clamp(20px, 5vw, 80px), var(--safe-right, env(safe-area-inset-right, 0px)));
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  width: 100%;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.94) 0%,
    rgba(17, 17, 17, 0.5) 70%,
    transparent 100%
  );
}
#biz.skillmount-biz .sm-header.scrolled {
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sm-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.sm-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--sm-text);
  cursor: pointer;
  flex-shrink: 0;
  transition: 0.2s;
}
.sm-back:hover { border-color: var(--sm-primary); color: var(--sm-primary); }
.sm-logo {
  height: 32px;
  cursor: pointer;
  min-width: 0;
  flex-shrink: 1;
}
.sm-logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  filter: brightness(0) invert(1);
  display: block;
}
.sm-nav { display: flex; gap: 40px; align-items: center; }
.sm-nav a {
  color: var(--sm-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.7;
  transition: 0.2s;
  cursor: pointer;
}
.sm-nav a:hover { opacity: 1; color: var(--sm-primary); }
.sm-nav-cta {
  background: var(--sm-primary);
  color: #111 !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  opacity: 1 !important;
}
.sm-header-mobile { display: none; align-items: center; gap: 10px; }
.sm-mobile-icon-btn,
.sm-nav-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--sm-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
}
.sm-mobile-icon-btn:hover,
.sm-nav-toggle:hover { border-color: var(--sm-primary); color: var(--sm-primary); }
.sm-mobile-enroll {
  background: var(--sm-primary);
  color: #111;
  padding: 10px 16px;
  border-radius: 50px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 10px;
  text-decoration: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.sm-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 300;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: calc(var(--sm-nav-height) + var(--safe-top, env(safe-area-inset-top, 0px)) + 16px) 24px max(32px, var(--safe-bottom, env(safe-area-inset-bottom, 0px)));
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.sm-mobile-nav.open { opacity: 1; pointer-events: all; }
.sm-mobile-nav a {
  color: var(--sm-text);
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.85;
  cursor: pointer;
}
.sm-mobile-nav .sm-mobile-nav-cta {
  margin-top: 24px;
  text-align: center;
  background: var(--sm-primary);
  color: #111;
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px 24px;
  opacity: 1;
}
.sm-mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: var(--sm-text);
  font-size: 24px;
  cursor: pointer;
  opacity: 0.6;
}

/* ── Hero ── */
.sm-hero {
  position: relative;
  z-index: 1;
  min-height: min(100vh, 900px);
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  padding: calc(var(--sm-nav-height) + 48px) clamp(20px, 5vw, 80px) 80px;
  padding-left: max(clamp(20px, 5vw, 80px), var(--safe-left, env(safe-area-inset-left, 0px)));
  padding-right: max(clamp(20px, 5vw, 80px), var(--safe-right, env(safe-area-inset-right, 0px)));
  background: left/cover no-repeat;
  cursor: pointer;
}
.sm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.98) 20%, rgba(17, 17, 17, 0.6) 100%);
}
.sm-hero-content { position: relative; z-index: 10; max-width: 850px; }
.sm-hero-scroll {
  display: none;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sm-text-muted);
  opacity: 0.6;
}
.sm-hero-tag {
  color: var(--sm-primary);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 11px;
  margin-bottom: 20px;
  display: block;
}
.sm-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 9vw, 92px);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 28px;
  letter-spacing: -1px;
  color: var(--sm-text);
}
.sm-hero p {
  font-size: clamp(16px, 2.2vw, 22px);
  opacity: 0.7;
  margin-bottom: 40px;
  max-width: 600px;
  font-weight: 400;
}
.sm-hero-accent { color: var(--sm-primary); font-style: italic; }

/* ── Sections ── */
.sm-section { padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 80px); position: relative; z-index: 1; }
.sm-section-hd { margin-bottom: clamp(40px, 8vw, 80px); }
.sm-section-hd span {
  color: var(--sm-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
}
.sm-section-hd h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 6vw, 64px);
  margin-top: 10px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--sm-text);
}
.sm-section-sub {
  margin-top: 16px;
  max-width: 640px;
  color: var(--sm-text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Courses ── */
.sm-courses-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(28px, 5vw, 48px);
}
.sm-offering-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 600;
  color: var(--sm-text-muted);
}
.sm-offering-pill strong { color: var(--sm-primary); }
.sm-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
.sm-course-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--sm-radius);
  padding: clamp(24px, 4vw, 32px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.sm-course-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(201, 162, 39, 0.25);
  transform: translateY(-4px);
}
.sm-course-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  filter: grayscale(1) brightness(2);
}
.sm-course-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 24px);
  margin-bottom: 10px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--sm-text);
}
.sm-course-card p {
  font-size: 14px;
  color: var(--sm-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.sm-course-meta {
  color: var(--sm-primary);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.sm-course-btn {
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--sm-primary);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.2s;
  font-family: 'Inter', sans-serif;
}
.sm-course-btn:hover {
  background: var(--sm-primary);
  color: #111;
  border-color: var(--sm-primary);
}

/* ── Highlights ── */
.sm-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.sm-highlight-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--sm-radius);
  overflow: hidden;
  transition: 0.4s;
}
.sm-highlight-card:hover {
  border-color: var(--sm-primary);
  transform: translateY(-6px);
}
.sm-highlight-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.sm-highlight-caption {
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sm-text-muted);
}
.sm-highlight-caption strong {
  color: var(--sm-primary);
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Certificate row ── */
.sm-cert-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(40px, 8vw, 80px);
  padding: clamp(28px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--sm-radius);
}
.sm-cert-copy span {
  color: var(--sm-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
}
.sm-cert-copy h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 40px);
  margin: 12px 0 16px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--sm-text);
}
.sm-cert-copy p { color: var(--sm-text-muted); font-size: 15px; }
.sm-cert-img {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.sm-cert-img img { width: 100%; display: block; }

/* ── About ── */
.sm-about-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
  cursor: pointer;
}
.sm-about-images {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
}
.sm-about-img {
  border-radius: var(--sm-radius);
  overflow: hidden;
  position: relative;
  min-height: 220px;
}
.sm-about-img.main { min-height: 360px; }
.sm-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
  display: block;
}
.sm-about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.75), transparent 55%);
  pointer-events: none;
}
.sm-about-img-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sm-primary);
}
.sm-about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 56px);
  margin-bottom: 24px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--sm-text);
}
.sm-about-content > span {
  color: var(--sm-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
}
.sm-about-content p { font-size: 16px; color: var(--sm-text-muted); margin-bottom: 20px; }

/* ── Buttons ── */
.sm-btn,
.sm-course-btn,
.sm-back,
.sm-mobile-icon-btn,
.sm-nav-toggle {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sm-primary);
  color: #111;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  text-align: center;
  font-family: 'Inter', sans-serif;
}
.sm-btn:hover { transform: scale(1.03); background: #fff; }
.sm-btn--outline {
  background: transparent;
  border: 1px solid var(--sm-primary);
  color: var(--sm-primary);
}
.sm-btn--outline:hover { background: var(--sm-primary); color: #111; }

/* ── Footer ── */
.sm-footer {
  padding: 60px clamp(20px, 5vw, 80px);
  padding-bottom: max(60px, calc(24px + env(safe-area-inset-bottom, 0px)));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--sm-text-muted);
  font-size: 12px;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  #biz.skillmount-biz { --sm-nav-height: 64px; }
  #biz.skillmount-biz .sm-header {
    padding-left: max(12px, var(--safe-left, env(safe-area-inset-left, 0px)));
    padding-right: max(12px, var(--safe-right, env(safe-area-inset-right, 0px)));
    gap: 8px;
  }
  .sm-header-left { gap: 8px; }
  .sm-logo { height: 26px; }
  .sm-nav { display: none; }
  .sm-header-mobile {
    display: flex;
    flex-shrink: 0;
    gap: 6px;
  }
  .sm-section {
    padding: 48px 16px;
  }
  .sm-section-hd {
    margin-bottom: 32px;
  }
  .sm-section-hd h2 {
    font-size: clamp(28px, 8vw, 42px);
  }
  .sm-section-sub {
    font-size: 14px;
  }
  .sm-about-wrap { grid-template-columns: 1fr; gap: 32px; }
  .sm-about-images { grid-template-columns: 1fr; }
  .sm-about-img { min-height: 200px; }
  .sm-about-img.main { min-height: 260px; }
  .sm-about-content h2 {
    font-size: clamp(26px, 7vw, 36px);
  }
  .sm-about-content .sm-btn {
    width: 100%;
  }
  .sm-cert-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
  .sm-cert-copy h3 {
    font-size: clamp(22px, 6vw, 30px);
  }
  .sm-courses-grid,
  .sm-highlights-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sm-highlight-caption {
    padding: 16px 18px;
    font-size: 13px;
  }
  .sm-course-card {
    padding: 20px;
  }
  .sm-course-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
  }
  .sm-course-card:hover,
  .sm-highlight-card:hover {
    transform: none;
  }
  .sm-hero {
    align-items: flex-end;
    justify-content: center;
    min-height: max(520px, 88svh);
    padding: calc(var(--sm-nav-height) + 20px) max(20px, var(--safe-right, env(safe-area-inset-right, 0px))) max(52px, var(--safe-bottom, env(safe-area-inset-bottom, 0px))) max(20px, var(--safe-left, env(safe-area-inset-left, 0px)));
    background-position: 70% center;
  }
  .sm-hero::before {
    background: linear-gradient(
      to top,
      rgba(17, 17, 17, 0.98) 0%,
      rgba(17, 17, 17, 0.88) 38%,
      rgba(17, 17, 17, 0.45) 72%,
      rgba(17, 17, 17, 0.25) 100%
    );
  }
  .sm-hero-content { width: 100%; max-width: 100%; }
  .sm-hero-tag { font-size: 10px; letter-spacing: 2px; margin-bottom: 14px; }
  .sm-hero h1 {
    font-size: clamp(34px, 9.5vw, 52px);
    line-height: 1.08;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    word-break: break-word;
  }
  .sm-hero p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 100%;
  }
  .sm-hero .sm-btn {
    width: 100%;
    padding: 18px 20px;
    font-size: 12px;
    min-height: 48px;
  }
  .sm-hero-scroll { display: block; }
  .sm-footer {
    padding: 40px 16px;
    font-size: 11px;
  }
  .sm-bg-cover,
  .sm-bg-line {
    opacity: 0.25;
  }
}

@media (max-width: 480px) {
  #biz.skillmount-biz .sm-header {
    padding-left: max(10px, var(--safe-left, env(safe-area-inset-left, 0px)));
    padding-right: max(10px, var(--safe-right, env(safe-area-inset-right, 0px)));
  }
  .sm-header-left { gap: 6px; }
  .sm-back {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
  .sm-logo { height: 24px; }
  .sm-mobile-icon-btn,
  .sm-nav-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
  .sm-mobile-enroll {
    padding: 9px 10px;
    font-size: 9px;
    letter-spacing: 0.3px;
  }
  .sm-section {
    padding: 40px 14px;
  }
  .sm-hero {
    min-height: max(460px, 82svh);
    padding: calc(var(--sm-nav-height) + 16px) 14px 44px;
    background-position: 25% center;
  }
  .sm-hero h1 { font-size: 32px; }
  .sm-hero p { font-size: 14px; margin-bottom: 22px; }
  .sm-hero .sm-btn {
    font-size: 11px;
    letter-spacing: 0.6px;
    padding: 16px 18px;
  }
  .sm-courses-bar {
    gap: 8px;
  }
  .sm-offering-pill {
    font-size: 10px;
    padding: 8px 10px;
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
    text-align: center;
  }
  .sm-course-card h3 { font-size: 19px; }
  .sm-cert-row { padding: 16px; }
  .sm-about-img.main { min-height: 220px; }
  .sm-mobile-nav a {
    font-size: 20px;
    padding: 16px 0;
  }
}

@media (max-width: 360px) {
  .sm-mobile-enroll {
    padding: 8px 8px;
    font-size: 8px;
  }
  .sm-hero h1 { font-size: 28px; }
  .sm-offering-pill {
    flex: 1 1 100%;
  }
}
