/* Isolasi box-sizing khusus komponen LP */
.stv-header,
.stv-header *,
.stv-footer,
.stv-footer *,
.stv-wa-float,
.stv-wa-float * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==================== HEADER NAVIGATION ==================== */
.stv-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.stv-nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stv-nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.stv-nav-logo-img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

/* Menu Desktop */
.stv-nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}

.stv-nav-menu > li {
  position: relative;
  display: flex;
  align-items: center;
}

.stv-nav-menu > li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background-color: #cbd5e1;
}

.stv-nav-menu > li > a {
  color: #1e293b;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.stv-nav-menu > li > a:hover { color: #2563eb; }
.stv-nav-menu > li.current-menu-item > a { color: #ff7a1a; }

/* Dropdown bawaan WP (.sub-menu) */
.stv-nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.stv-nav-menu .menu-item-has-children:hover > .sub-menu,
.stv-nav-menu .menu-item-has-children.stv-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.stv-nav-menu .sub-menu a {
  display: block;
  padding: 10px 16px;
  color: #334155;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.stv-nav-menu .sub-menu a:hover {
  background-color: #f1f5f9;
  color: #2563eb;
}

/* Tombol Hamburger (Sembunyi di Desktop) */
.stv-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 6px 4px;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.stv-nav-toggle:hover {
  color: #2563eb;
}

.stv-nav-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Tampilan Mobile */
@media (max-width: 900px) {
  .stv-nav-toggle {
    display: inline-flex;
  }

  .stv-nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    display: none;
  }

  .stv-nav-menu.stv-active {
    display: flex;
  }

  .stv-nav-menu > li { display: block; }
  .stv-nav-menu > li:not(:last-child)::after { display: none; }

  .stv-nav-menu > li > a {
    padding: 12px 0;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
  }

  .stv-nav-menu .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    background-color: #f8fafc;
    border-radius: 8px;
    margin-top: 4px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .stv-nav-menu .menu-item-has-children.stv-open > .sub-menu {
    display: block;
  }
}
/* ==================== FOOTER ==================== */
.stv-footer {
  background-color: #040812;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 52px 0 96px;
  color: #cbd5e1;
  font-size: 0.92rem;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.stv-footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.stv-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: left;
}

.stv-footer-col h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid #38bdf8;
  line-height: 1.2;
}

.stv-footer-col p {
  color: #cbd5e1;
  font-size: 0.84rem;
  line-height: 1.6;
}

.stv-footer-company {
  font-weight: 700;
  font-style: italic;
  color: #f8fafc !important;
}

.stv-footer-link-accent {
  display: inline-block;
  color: #f87171;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.stv-footer-link-accent:hover {
  color: #ff7a1a;
  text-decoration: underline;
}

.stv-footer-tel {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 600;
}

.stv-footer-tel:hover {
  color: #38bdf8;
}

.stv-footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stv-footer-copyright {
  color: #cbd5e1;
  font-size: 0.86rem;
  letter-spacing: 0.2px;
}

.stv-footer-copyright strong {
  color: #f8fafc;
  font-weight: 600;
}

.stv-footer-legal {
  color: #94a3b8;
  font-size: 0.76rem;
  line-height: 1.6;
  max-width: 680px;
  opacity: 0.85;
}

.stv-footer-legal span {
  color: #cbd5e1;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stv-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==================== FLOATING WHATSAPP ==================== */
.stv-wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  text-decoration: none;
}

.stv-wa-label {
  background: #0f172a;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
  border: 1px solid rgba(56, 189, 248, 0.3);
  transition: transform 0.25s ease, background-color 0.25s ease;
  white-space: nowrap;
}

.stv-wa-btn {
  background-color: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease;
}

.stv-wa-float:hover .stv-wa-btn {
  transform: scale(1.08);
}

.stv-wa-float:hover .stv-wa-label {
  transform: translateX(-4px);
  background: #1e293b;
}

.stv-wa-btn svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
  display: block;
}

@media (max-width: 480px) {
  .stv-wa-label {
    display: none;
  }
  .stv-wa-float {
    bottom: 15px;
    right: 15px;
  }
}

/* Sembunyikan tombol Scroll to Top bawaan PBF khusus di halaman LP */
.stv-lp-body .scrolltop,
.stv-lp-body a.scrolltop {
  display: none !important;
}
