
/* ==========================================
   GLOBAL RESPONSIVE BODY & OVERFLOW SHIELD
   ========================================== */
html {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  width: 100%;
}

img, video, iframe {
  max-width: 100%;
}

.table-responsive {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  max-width: 100% !important;
}

/* ==========================================
   SewaManado.my.id - Modern Design System
   Ocean Blue & Amber Theme for Rental Directory
   ========================================== */

:root {
  --primary: #0284c7; /* Ocean Sky Blue */
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --primary-subtle: #bae6fd;
  --secondary: #0f172a; /* Slate Dark */
  --secondary-light: #1e293b;
  --accent-amber: #f59e0b;
  --accent-amber-dark: #d97706;
  --text-dark: #0f172a;
  --text-main: #334155;
  --text-muted: #475569;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
  --whatsapp: #22c55e;
  --whatsapp-dark: #16a34a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: var(--secondary);
  color: #cbd5e1;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Navbar */
.navbar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
}

.logo-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item,
.nav-dropdown-toggle {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
  border: none;
}

.nav-item:hover,
.nav-dropdown-toggle:hover,
.nav-item.active,
.nav-dropdown-toggle.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -10px;
  background: #ffffff;
  min-width: 280px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(226, 232, 240, 0.9);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.show .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  transform: translateX(4px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-pesan-sewa {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  transition: var(--transition);
}

.btn-pesan-sewa:hover {
  background: linear-gradient(135deg, var(--whatsapp-dark), #15803d);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
}

.nav-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  color: var(--text-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0369a1 0%, #0f172a 100%);
  color: white;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.35) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(2, 132, 199, 0.5);
  color: #bae6fd;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  background: linear-gradient(135deg, #38bdf8, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 32px;
}

/* Hero Search Box */
.hero-search-box {
  background: #ffffff;
  padding: 6px 6px 6px 18px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto 36px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent;
}

.hero-search-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(2, 132, 199, 0.35);
  border-color: var(--primary);
}

.hero-search-input-mock {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.94rem;
  user-select: none;
  min-width: 0;
}

.hero-search-input-mock i {
  color: var(--primary);
  font-size: 1.1rem;
}

.hero-search-input-mock span {
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-hero-search {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff !important;
  border: none;
  padding: 10px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn-hero-search:hover {
  background: linear-gradient(135deg, var(--primary-dark), #0c4a6e);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
}

.stat-label {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* Category Grid */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}

.section-header .tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.category-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.category-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.category-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, #0369a1, #0f172a);
  color: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.cta-box h3 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.cta-box p {
  color: #cbd5e1;
  margin-bottom: 24px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.btn-wa-cta {
  background: var(--whatsapp);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
  transition: var(--transition);
}

.btn-wa-cta:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}

/* Article / Vendor Pages */
.page-banner {
  background: linear-gradient(135deg, #0369a1, #0f172a);
  color: white;
  padding: 45px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.breadcrumb a:hover {
  color: white;
}

.page-title {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.page-subtitle {
  color: #cbd5e1;
  font-size: 1.05rem;
}

.article-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  margin: 40px 0 60px;
}

.article-content {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.intro-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 30px;
}

.intro-box p {
  color: #0369a1;
  font-size: 0.96rem;
}

/* Vendor Cards */
.vendor-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  transition: var(--transition);
  background: #ffffff;
}

.vendor-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.vendor-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.vendor-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vendor-number {
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vendor-header h3 {
  font-size: 1.25rem;
}

.vendor-rating {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fef3c7;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vendor-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 20px;
  width: 100%;
}

.vendor-details li {
  position: relative;
  padding-left: 28px;
  font-size: 0.93rem;
  color: #334155;
  line-height: 1.55;
  width: 100%;
}

.vendor-details li i {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  color: var(--primary);
  text-align: center;
  font-size: 0.95rem;
}

.vendor-details li strong {
  color: var(--text-dark);
  font-weight: 600;
  margin-right: 4px;
}

.vendor-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-contact-wa {
  background: var(--whatsapp);
  color: white !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-contact-wa:hover {
  background: var(--whatsapp-dark);
}

.btn-contact-tel {
  background: #f1f5f9;
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.btn-contact-tel:hover {
  background: #e2e8f0;
}

/* Sidebar */
.sidebar-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-box h3,
.sidebar-box .sidebar-title,
.sidebar-box h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}

/* Footer */
.footer {
  background: var(--secondary);
  color: #cbd5e1;
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4,
.footer-col .footer-title {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

/* Search Modal */
.search-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 16px;
}

.search-modal-backdrop.active {
  display: flex;
}

.search-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 650px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.search-modal-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  gap: 14px;
}

.search-modal-header input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-family: inherit;
  color: var(--text-dark);
}

.search-modal-actions button {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
}

.search-modal-filters {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.search-filter-chip {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}

.search-filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.search-modal-body {
  padding: 12px 16px;
  overflow-y: auto;
  max-height: 52vh;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
  margin-bottom: 8px;
  transition: var(--transition);
}

.search-result-item:hover {
  background: #f8fafc;
  border-color: var(--primary);
  transform: translateX(4px);
}

.search-result-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 18px 24px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid var(--border-color);
    gap: 8px;
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-item, .nav-dropdown-toggle {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
  }

  .nav-dropdown.show .nav-dropdown-menu {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .article-container {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .top-bar-left, .top-bar-right {
    justify-content: center;
    width: 100%;
  }

  .hero-search-box {
    padding: 5px 5px 5px 14px;
    gap: 8px;
  }

  .btn-hero-search {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

/* MOBILE HEADER FIX */
@media (max-width: 640px) {
  .nav-actions > a, 
  .nav-actions > .btn, 
  .nav-actions > .btn-ajukan-dana, 
  .nav-actions > .btn-pesan-sewa, 
  .nav-actions > .btn-daftar-kursus, 
  .nav-actions > .btn-pesan-jasa {
    display: none !important;
  }
  .logo {
    font-size: 1.1rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70vw;
  }
}

/* ==========================================
   INTERACTIVE LIVE SEARCH BOX (INDEX.HTML)
   ========================================== */
.live-search-wrapper {
  max-width: 720px;
  margin: 24px auto 0 auto;
  position: relative;
}

.live-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #38bdf8;
  border-radius: var(--radius-full);
  padding: 8px 14px 8px 20px;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.25);
  transition: var(--transition);
}

.live-search-box:focus-within {
  border-color: #0284c7;
  box-shadow: 0 12px 30px -4px rgba(2, 132, 199, 0.4);
}

.live-search-box i.search-icon {
  color: #0284c7;
  font-size: 1.25rem;
  margin-right: 12px;
}

.live-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background: transparent;
}

.live-search-box input::placeholder {
  color: #94a3b8;
  font-size: 0.95rem;
}

.clear-search-btn {
  background: #e2e8f0;
  border: none;
  color: #64748b;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.clear-search-btn:hover {
  background: #cbd5e1;
  color: var(--text-dark);
}

.search-results-feedback {
  text-align: center;
  margin-top: 14px;
  font-size: 0.92rem;
  color: #e0f2fe;
  font-weight: 500;
}

/* ==========================================
   RELATED SERVICES CROSS-LINKING SECTION
   ========================================== */
.related-services-section {
  padding: 60px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
}

.related-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px auto;
}

.related-section-header .section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.related-section-header h2 {
  font-size: 1.85rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.related-section-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.related-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.related-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.related-card h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.related-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.related-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.related-card:hover .related-card-link {
  color: var(--primary-dark);
  gap: 10px;
}

/* ==========================================
   PARTNER / VENDOR ACQUISITION CTA SECTION
   ========================================== */
.partner-cta-section {
  padding: 60px 0;
  background: #ffffff;
}

.partner-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: center;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.4);
  border: 1px solid #334155;
  position: relative;
  overflow: hidden;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.partner-content h3 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.partner-content p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.partner-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.partner-benefits li {
  font-size: 0.92rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.partner-benefits li i {
  color: #10b981;
  font-size: 1rem;
}

.partner-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-partner-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
  transition: var(--transition);
}

.btn-partner-wa:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  color: #ffffff;
}

.partner-action small {
  color: #cbd5e1;
  font-size: 0.8rem;
}

/* Nav partner button */
.btn-nav-partner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f59e0b;
  color: #0f172a !important;
  font-weight: 800 !important;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-nav-partner:hover {
  background: #d97706;
  color: #0f172a !important;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .partner-card {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
}

/* ==========================================
   MOBILE UNNESTED CARDS & RESPONSIVE ENGINE
   ========================================== */
@media (max-width: 768px) {
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .article-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin: 16px 0 40px !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .article-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .intro-box {
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    padding: 16px 18px;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .vendor-card {
    padding: 20px 16px !important;
    margin-bottom: 18px !important;
    border-radius: var(--radius-md) !important;
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .vendor-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
  }

  .vendor-title-wrap {
    width: 100% !important;
    gap: 12px !important;
  }

  .vendor-header h2,
  .vendor-header h3 {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
  }

  .vendor-rating {
    align-self: flex-start !important;
    margin-left: 46px !important;
  }

  .vendor-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .btn-contact-wa,
  .btn-contact-tel {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    font-size: 0.95rem !important;
    border-radius: var(--radius-full) !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .sidebar {
    padding: 0 !important;
    width: 100% !important;
  }

  .sidebar-box {
    border-radius: var(--radius-md) !important;
    padding: 20px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .table-responsive, .seo-table-wrap, .spec-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
  }
}

